:root {
  color-scheme: light;
  --ink: #10243c;
  --muted: #5e6f82;
  --line: #d8e3ef;
  --panel: #f5f8fc;
  --white: #ffffff;
  --accent: #0060a0;
  --accent-strong: #004090;
  --logo-green: #509020;
  --gold: #f0a000;
  --graphite: #10243c;
  --shadow: 0 18px 50px rgba(0, 64, 144, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 64, 144, 0.1);
  overflow: hidden;
  padding: 5px;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark strong,
.brand-mark small {
  display: block;
  line-height: 1.25;
}

.brand-mark strong {
  font-size: 15px;
}

.brand-mark small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--accent-strong);
  background: #edf5fb;
}

.language-switch {
  grid-column: 2;
  grid-row: 1;
  display: inline-grid;
  grid-template-columns: repeat(2, 40px);
  gap: 4px;
  justify-self: end;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-button,
.filter-button,
.button {
  cursor: pointer;
  border: 0;
  font: inherit;
  font-weight: 800;
}

.lang-button {
  min-height: 34px;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--accent-strong);
}

.hero-section {
  display: grid;
  min-height: calc(100vh - 104px);
  background: #081b35;
}

.hero-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 27, 53, 0.05), rgba(8, 27, 53, 0.88));
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.hero-content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px 20px 34px;
  color: var(--white);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(36px, 8vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 8px;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.linkedin-button {
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  justify-content: center;
  color: var(--white);
  background: #0a66c2;
  border-color: rgba(255, 255, 255, 0.38);
}

.linkedin-button:hover,
.linkedin-button:focus-visible {
  background: #07549e;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  color: #0a66c2;
  background: var(--white);
  font-size: 1.18rem;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  letter-spacing: 0;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 760px;
  margin: 8px 0 0;
}

.event-facts div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.event-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.event-facts dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 900;
}

.event-facts .map-link {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.48);
  text-underline-offset: 3px;
}

.event-facts .map-link:hover,
.event-facts .map-link:focus-visible {
  color: #ffffff;
  text-decoration-color: var(--semicon-yellow);
}

.section {
  padding: 64px 20px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto 28px;
}

.section-heading.split {
  grid-template-columns: 1fr;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.company-grid,
.booth-layout,
.resource-grid,
.contact-panel {
  max-width: 1080px;
  margin: 0 auto;
}

.company-grid {
  display: grid;
  gap: 24px;
}

.company-grid > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.metric-row {
  display: grid;
  gap: 10px;
}

.metric-row div {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 22px;
}

.metric-row span {
  color: var(--muted);
}

.products-section,
.core-products-section,
.media-section {
  background: var(--panel);
}

.core-products-section {
  background: linear-gradient(180deg, #f5f8fc, #ffffff);
}

.booth-design-section {
  background: var(--white);
}

.filter-bar {
  display: flex;
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto 22px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--accent-strong);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.product-grid {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 33, 43, 0.06);
}

.product-card:hover {
  border-color: rgba(0, 96, 160, 0.35);
  box-shadow: var(--shadow);
}

.core-products-list {
  display: grid;
  gap: 34px;
  max-width: 1080px;
  margin: 0 auto;
}

.core-category {
  display: grid;
  gap: 16px;
}

.core-category-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.core-category-heading h3 {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
}

.core-category-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  color: var(--white);
  background: var(--accent-strong);
  border-radius: 999px;
  font-weight: 900;
}

.core-product-card h3 {
  overflow-wrap: anywhere;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7fafc;
}

.product-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background-image: url("assets/brand/asc%20logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(42%, 170px) auto;
  opacity: 0.09;
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.product-media.media-carousel {
  overflow: hidden;
  background: #ffffff;
}

.product-media.is-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 64, 144, 0.12), rgba(80, 144, 32, 0.16)),
    #eef4fa;
}

.product-placeholder {
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 20px;
  color: var(--accent-strong);
  text-align: center;
}

.product-placeholder strong {
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1;
}

.product-placeholder span {
  color: var(--muted);
  font-weight: 850;
}

.media-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.media-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start;
  background: #ffffff;
}

.media-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16, 36, 60, 0.16);
  transform: translateY(-50%);
}

.media-nav.prev {
  left: 10px;
}

.media-nav.next {
  right: 10px;
}

.media-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.media-dots span {
  width: 7px;
  height: 7px;
  background: rgba(0, 64, 144, 0.28);
  border-radius: 50%;
}

.media-dots span.is-active {
  background: var(--accent-strong);
}

.product-media > span {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--logo-green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  padding: 18px;
}

.category-label {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body p {
  color: var(--muted);
}

.booth-layout {
  display: grid;
  gap: 22px;
}

.booth-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booth-showcase {
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booth-showcase img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #eef4fa;
}

.booth-showcase figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item span {
  color: var(--accent);
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-grid {
  display: grid;
  gap: 14px;
}

.resource-grid article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-grid span {
  color: var(--logo-green);
  font-weight: 900;
}

.resource-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.sessions-section {
  background: var(--white);
}

.highlights-section {
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
}

.session-list {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.session-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 33, 43, 0.05);
}

.session-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--logo-green);
  border-radius: 999px;
  font-weight: 900;
}

.session-card h3 {
  margin-bottom: 12px;
}

.session-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.session-card dt {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.session-card dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.highlight-gallery {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.highlight-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 33, 43, 0.06);
}

.highlight-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d8e8f2;
}

.highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.highlight-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(0, 64, 144, 0.64);
  background:
    linear-gradient(135deg, rgba(0, 64, 144, 0.14), rgba(49, 95, 34, 0.12)),
    #d8e8f2;
  text-align: center;
}

.highlight-placeholder strong {
  display: block;
  color: var(--accent-strong);
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1;
}

.highlight-placeholder span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}

.highlight-card p {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

.highlight-actions {
  display: flex;
  justify-content: center;
  max-width: 1080px;
  margin: 22px auto 0;
}

.gallery-more-button {
  color: var(--accent-strong);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-section {
  background: var(--graphite);
}

.contact-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, #08214a, #004090 62%, #315f22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-info {
  flex-direction: column;
  align-items: flex-start;
  min-height: 52px;
  max-width: 100%;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.contact-actions > .button {
  min-height: 52px;
}

.contact-info span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-info strong {
  color: var(--white);
  font-size: clamp(0.95rem, 3.8vw, 1.08rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 20px;
  color: var(--white);
  background: #081b35;
}

.site-footer p {
  margin: 0;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 14px 28px;
  }

  .site-nav {
    grid-column: auto;
    justify-content: center;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
    min-height: calc(100vh - 75px);
  }

  .hero-media {
    min-height: 620px;
    order: 2;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(8, 27, 53, 0.82), rgba(8, 27, 53, 0.06));
  }

  .hero-content {
    padding: 60px 44px;
  }

  .section {
    padding: 88px 32px;
  }

  .section-heading.split,
  .company-grid,
  .booth-layout,
  .contact-panel {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .metric-row,
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .session-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 1080px) {
  .highlight-gallery,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .event-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}
