
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Light surfaces with the original navy and gold brand accents. */
  --navy:       #0E1D3E;
  --surface:    #F7F8FA;
  --surface-alt: #EEF0F3;
  --surface-hover: #E7EBF0;
  --gold:       #F2A31D;
  --gold-ink:   #905C08;
  --gold-dim:   rgba(242,163,29,0.18);
  --gold-hover: #F7BC4E;
  --white:      #FFFFFF;
  --gray:       #5C6573;
  --rule:       rgba(14,29,62,0.13);
  --serif: 'Noto Serif TC', serif;
  --sans:  'Noto Sans TC', sans-serif;
}

html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

a:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 68px;
  background: rgba(247,248,250,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--navy);
}

/* ── LOGO ── */
.nav-logo-horizontal {
  height: 34px; width: auto; flex-shrink: 0;
  border-radius: 6px; object-fit: cover;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--gray); text-decoration: none;
  letter-spacing: 0.08em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 22px; font-size: 12px !important;
  font-weight: 700 !important; letter-spacing: 0.12em !important;
  border-radius: 0 !important;
}
.nav-cta:hover { background: var(--gold-hover) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 56px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 50%, rgba(242,163,29,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 5% 80%, rgba(14,29,62,0.045) 0%, transparent 60%);
}
.hero-bg::after {
  content: '8';
  position: absolute; right: -4%; bottom: -12%;
  font-family: var(--sans); font-size: 58vw; font-weight: 900;
  color: rgba(14,29,62,0.035);
  line-height: 1; pointer-events: none; user-select: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(38px, 6vw, 76px);
  font-weight: 900; line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-h1 em { font-style: normal; color: var(--gold-ink); }
.hero-sub {
  font-size: 17px; color: var(--gray); font-weight: 300;
  line-height: 1.9; max-width: 500px; margin-bottom: 52px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 34px;
  font-size: 13px; letter-spacing: 0.12em;
  text-decoration: none; font-weight: 500;
  transition: all 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { border: 1px solid rgba(14,29,62,0.25); color: var(--navy); }
.btn-outline:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

.scroll-hint {
  position: absolute; bottom: 40px; left: 56px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.25em; color: var(--gray);
  text-transform: uppercase;
}
.scroll-hint::before {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(242,163,29,0.5));
  animation: scrollline 2s ease-in-out infinite;
}
@keyframes scrollline { 0%,100%{opacity:0.3}50%{opacity:1} }

/* ── SECTION COMMONS ── */
section { padding: 100px 56px; }
.sec-label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.sec-title {
  font-family: var(--serif); font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700; line-height: 1.3; margin-bottom: 56px;
}
.sec-divider { border: none; border-top: 1px solid var(--rule); margin: 0 56px; }

/* ── SERVICES ── */
.services { background: var(--surface-alt); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
}
.svc { background: var(--surface-alt); padding: 44px 36px; transition: background 0.2s; }
.svc:hover { background: var(--surface-hover); }
.svc-icon {
  width: 44px; height: 44px; margin-bottom: 24px;
  border: 1px solid var(--gold-dim); display: flex;
  align-items: center; justify-content: center;
}
.svc-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.svc-name { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.svc-en { font-size: 10px; letter-spacing: 0.2em; color: var(--gold-ink); text-transform: uppercase; margin-bottom: 16px; }
.svc-desc { font-size: 14px; color: var(--gray); line-height: 1.85; font-weight: 300; }

/* ── MEDIA ── */
.media { background: var(--surface); }
.media-intro { font-size: 16px; color: var(--gray); font-weight: 300; line-height: 1.9; max-width: 580px; margin-bottom: 56px; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-card {
  border: 1px solid var(--rule); padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.media-card:hover { border-color: var(--gold-ink); background: var(--gold-dim); }
.media-icon {
  width: 40px; height: 40px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-ink); background: var(--gold-dim);
  border: 1px solid rgba(242,163,29,0.3);
}
.media-icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.media-platform { font-size: 13px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.05em; }
.media-type { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; line-height: 1.7; }

/* ── CASES ── */
.cases { background: var(--surface-alt); }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.case-video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: var(--navy); margin-bottom: 24px; overflow: hidden;
}
.case-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.case-video-wrap--reel { max-width: 400px; height: 710px; padding-bottom: 0; }
.case-source { display: inline-block; margin-top: 16px; color: var(--gold-ink); font-size: 13px; text-underline-offset: 4px; }
.case-source:hover { color: var(--navy); }
.case-tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-ink); border: 1px solid var(--gold-dim);
  padding: 4px 12px; margin-bottom: 12px;
}
.case-title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.case-desc { font-size: 14px; color: var(--gray); line-height: 1.85; font-weight: 300; max-width: 720px; }

/* ── PARTNERS ── */
.partners { background: var(--surface-alt); }
.partners-intro { font-size: 16px; color: var(--gray); font-weight: 300; line-height: 1.9; max-width: 580px; margin-bottom: 56px; }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-card {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  border: 1px solid var(--rule); padding: 40px 24px;
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.partner-card:hover { border-color: var(--gold-ink); background: var(--gold-dim); }
.partner-logo-box {
  width: 140px; height: 100px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 8px; padding: 14px;
}
.partner-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-name { font-size: 13px; color: var(--navy); letter-spacing: 0.05em; text-align: center; }

/* ── CONTACT ── */
.contact { background: var(--surface); text-align: center; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-tagline { font-size: 17px; color: var(--gray); font-weight: 300; line-height: 1.9; margin-bottom: 48px; }
.contact-email-block {
  display: inline-flex; flex-direction: column; align-items: center; gap: 20px;
}
.contact-email-label { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold-ink); }
.contact-email-addr {
  font-family: var(--serif); font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700; color: var(--navy); text-decoration: none;
  letter-spacing: 0.04em; transition: color 0.2s;
}
.contact-email-addr:hover { color: var(--gold-ink); }
.contact-cta-btn {
  display: inline-block; margin-top: 8px;
  background: var(--gold); color: var(--navy);
  padding: 16px 44px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-decoration: none;
  transition: background 0.2s;
}
.contact-cta-btn:hover { background: var(--gold-hover); }
.contact-note { margin-top: 24px; font-size: 12px; color: var(--gray); letter-spacing: 0.08em; }

/* ── FOOTER ── */
footer {
  background: #E8EBEF; padding: 32px 56px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--rule);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-svg { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
.footer-name { font-size: 14px; color: var(--gray); }
.footer-name strong { font-family: var(--sans); font-weight: 700; color: var(--navy); }
.footer-copy { font-size: 11px; color: var(--gray); letter-spacing: 0.08em; text-align: right; line-height: 1.8; }
.footer-legal { color: var(--gray); }

/* ── REVEAL ── */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .sec-divider { margin: 0 24px; }
  .hero { padding: 100px 24px 72px; }
  .scroll-hint { left: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }

  footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  .footer-copy { text-align: center; }
}
@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 36px; }
  .nav-logo-horizontal { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

section[id] { scroll-margin-top: 100px; }
.hero-tagline { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); line-height: 1.6; margin-bottom: 24px; }
.hero-sub { max-width: 700px; margin-bottom: 32px; }
.section-copy { max-width: 760px; color: var(--gray); line-height: 1.95; margin-bottom: 24px; }
.section-subtitle { font-size: 21px; font-family: var(--serif); margin-bottom: 20px; }
.podcast-feature { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(180px, 1fr); gap: 64px; align-items: center; }
.podcast-art { width: 100%; max-width: 310px; justify-self: center; border-radius: 8px; }
.podcast .sec-title, .media .sec-title { margin-bottom: 24px; }
.nav-toggle { display: none; border: 1px solid var(--rule); background: var(--white); color: var(--navy); padding: 9px 14px; font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.case-video-wrap--reel { width: 100%; height: auto; aspect-ratio: 400 / 710; }
.contact-email-addr { overflow-wrap: anywhere; }
.contact-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--white); color: var(--navy); padding: 12px; }
.skip-link:focus { top: 8px; }
.detail-hero { min-height: auto; padding-bottom: 64px; }
.detail-content { max-width: 1000px; margin: auto; }
.detail-content section { padding: 48px 56px; }
.detail-content h2 { margin-bottom: 28px; }
.detail-content h3 { font-family: var(--serif); font-size: 22px; margin: 28px 0 12px; }
.detail-content p, .detail-content li { color: var(--gray); line-height: 1.95; }
.detail-content ul { padding-left: 24px; margin-bottom: 20px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); padding: 20px 24px; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--rule); max-height: calc(100dvh - 68px); overflow-y: auto; }
  .nav-links[hidden] { display: none; }
  .nav-links a { display: block; padding: 8px 0; }
  .nav-links .nav-cta { padding: 12px 22px; }
  .podcast-feature { grid-template-columns: 1fr; gap: 28px; }
  .podcast-art { max-width: 220px; }
  .detail-content section { padding: 40px 24px; }
  .hero { min-height: auto; padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.podcast .media-grid { grid-template-columns: 1fr; margin: 24px 0; max-width: 420px; }
.media .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services > .media-grid { margin-top: 32px; }
@media (max-width: 600px) { .media .media-grid { grid-template-columns: 1fr; } }
