/* =========================================================================
   GLA Thailand — Galaxy Advertising
   Design system. Signature: the red<->blue "duality meridian" (events<->digital).
   Multilingual type: IBM Plex superfamily (Latin/Thai/SC) + Space Grotesk display.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  /* palette — from the brand orb: deep space + red/blue rim light */
  --ink: #080B14;
  --space: #0C1120;
  --nebula: #131A2E;
  --nebula-2: #1B2440;
  --signal: #3B74FF;      /* blue rim — digital line */
  --signal-soft: #6E9BFF;
  --ember: #F23B4C;       /* red rim — event line */
  --ember-soft: #FF6675;
  --mist: #F4F6FB;
  --mist-2: #EAEEF7;
  --paper: #FFFFFF;
  --steel: #6A7590;
  --steel-dk: #47506A;
  --line: #E2E7F1;
  --line-dk: rgba(255,255,255,.10);
  --ink-text: #12172A;

  /* type */
  --display: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
  --body: 'IBM Plex Sans', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 4px;
  --radius-lg: 10px;
}

html[lang="th"] { --body: 'IBM Plex Sans Thai', 'IBM Plex Sans', system-ui, sans-serif; }
html[lang="zh"] { --body: 'IBM Plex Sans SC', 'IBM Plex Sans', system-ui, sans-serif;
                  --display: 'Space Grotesk', 'IBM Plex Sans SC', system-ui, sans-serif; }
html[lang="th"] .display-face,
html[lang="zh"] .display-face { letter-spacing: 0; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), var(--signal));
}
.eyebrow.on-dark { color: var(--signal-soft); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; }
.h-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
.h-lg { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--steel-dk); line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .04em;
  font-weight: 500; padding: .85rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--ember), var(--signal)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink-text); background: #fff; }
.btn-ghost.on-dark { border-color: var(--line-dk); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--signal); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,11,20,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dk);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; flex-shrink: 0; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 50%; position: relative; flex-shrink: 0;
  background: radial-gradient(circle at 50% 42%, rgba(59,116,255,.35) 0, transparent 60%), var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.brand .mark::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--ember), transparent 25%, transparent 62%, var(--signal));
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%);
  mask: radial-gradient(circle, transparent 55%, #000 57%);
}
.brand b { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; }
.brand span { color: var(--steel); font-size: .72rem; font-family: var(--mono); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .navtop {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #C7CEDE; font-size: .92rem; padding: .55rem .8rem; border-radius: var(--radius);
  transition: color .15s ease, background .15s ease; cursor: pointer;
}
.nav-links a:hover, .nav-links .navtop:hover, .nav-links li:hover .navtop { color: #fff; background: rgba(255,255,255,.06); }
.nav-links .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 620px;
  background: var(--nebula); border: 1px solid var(--line-dk); border-radius: var(--radius-lg);
  padding: 1rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); display: grid; grid-template-columns: 1fr 1fr; gap: .3rem;
}
.nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.single { grid-template-columns: 1fr; min-width: 300px; }
.dd-item { display: block; padding: .7rem .8rem; border-radius: var(--radius); }
.dd-item:hover { background: rgba(255,255,255,.05); }
.dd-item .tt { color: #fff; font-weight: 500; font-size: .92rem; display: flex; align-items: center; gap: .5rem; }
.dd-item .ds { color: var(--steel); font-size: .78rem; margin-top: .15rem; }
.dd-item .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.event { background: var(--ember); } .dot.digital { background: var(--signal); }

.lang-switch { display: flex; gap: .1rem; margin-left: .8rem; padding: .2rem; border: 1px solid var(--line-dk); border-radius: 30px; }
.lang-switch a { padding: .28rem .6rem; font-family: var(--mono); font-size: .74rem; color: var(--steel); border-radius: 20px; }
.lang-switch a[aria-current="true"] { background: linear-gradient(100deg, var(--ember), var(--signal)); color: #fff; }

.nav-cta { margin-left: .6rem; }
.hamburger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dk); border-radius: var(--radius); width: 42px; height: 40px; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.hamburger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem); }
.hero::before { /* starfield */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 65% 15%, #cdd6ff, transparent),
    radial-gradient(1px 1px at 80% 55%, #fff, transparent),
    radial-gradient(1px 1px at 35% 70%, #ffd9dd, transparent),
    radial-gradient(1.5px 1.5px at 50% 45%, #fff, transparent),
    radial-gradient(1px 1px at 12% 80%, #cdd6ff, transparent);
}
.hero::after { /* nebula glow */
  content: ""; position: absolute; top: -30%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(59,116,255,.22), transparent 60%), radial-gradient(circle at 70% 70%, rgba(242,59,76,.16), transparent 55%);
  filter: blur(20px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; margin-top: 1.1rem; }
.hero .grad { background: linear-gradient(100deg, var(--ember-soft), var(--signal-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #AEB8D0; max-width: 54ch; margin-top: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* the signature: duality meridian */
.meridian { position: relative; z-index: 2; margin-top: clamp(2.5rem, 6vw, 4rem); }
.meridian .line { height: 1px; background: linear-gradient(90deg, var(--ember) 0%, rgba(255,255,255,.25) 50%, var(--signal) 100%); }
.meridian .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: start; margin-top: 1.3rem; }
.meridian .pole { display: flex; flex-direction: column; gap: .3rem; }
.meridian .pole.right { text-align: right; align-items: flex-end; }
.meridian .pole .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.meridian .pole.left .k { color: var(--ember-soft); }
.meridian .pole.right .k { color: var(--signal-soft); }
.meridian .pole .v { color: #D6DCEC; font-size: .95rem; max-width: 30ch; }
.meridian .core { width: 46px; height: 46px; border-radius: 50%; position: relative; align-self: center;
  background: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 30px rgba(59,116,255,.4); }
.meridian .core::before { content:""; position:absolute; inset:-3px; border-radius:50%;
  background: conic-gradient(from 200deg, var(--ember), transparent 30%, transparent 60%, var(--signal));
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section.dark { background: var(--space); color: #fff; }
.section.mist { background: var(--mist); }
.section-head { max-width: 62ch; }
.section-head .lead { margin-top: 1rem; }
.section.dark .lead { color: #AEB8D0; }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem; }
.section.dark .stat-strip { background: var(--line-dk); border-color: var(--line-dk); }
.stat { background: var(--paper); padding: 1.5rem 1.3rem; }
.section.dark .stat { background: var(--nebula); }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem,3vw,2.3rem);
  background: linear-gradient(100deg, var(--ember), var(--signal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: .82rem; color: var(--steel); margin-top: .3rem; }

/* two business lines */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.5rem; }
.line-card { position: relative; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line-dk); overflow: hidden; background: var(--nebula); }
.line-card.event { background: linear-gradient(160deg, rgba(242,59,76,.14), var(--nebula) 60%); }
.line-card.digital { background: linear-gradient(160deg, rgba(59,116,255,.14), var(--nebula) 60%); }
.line-card .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.line-card.event .tag { color: var(--ember-soft); } .line-card.digital .tag { color: var(--signal-soft); }
.line-card h3 { color: #fff; margin: .7rem 0 .5rem; }
.line-card p { color: #B9C1D6; font-size: .95rem; }
.line-card ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.line-card li { color: #D6DCEC; font-size: .9rem; padding-left: 1.4rem; position: relative; }
.line-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; }
.line-card.event li::before { background: var(--ember); } .line-card.digital li::before { background: var(--signal); }

/* service / generic card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 2.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,23,42,.08); border-color: transparent; }
.card .kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); display: flex; align-items: center; gap: .5rem; }
.card .kicker .dot { width: 7px; height: 7px; border-radius: 50%; }
.card h3 { font-size: 1.18rem; margin: .8rem 0 .5rem; color: var(--ink-text); }
.card p { color: var(--steel-dk); font-size: .93rem; flex-grow: 1; }
.card .more { margin-top: 1.1rem; font-family: var(--mono); font-size: .8rem; color: var(--signal); display: inline-flex; align-items: center; gap: .4rem; }
.card:hover .more .arw { transform: translateX(3px); }
.card .arw { transition: transform .18s ease; }
.card.event:hover { border-top: 2px solid var(--ember); }
.card.digital:hover { border-top: 2px solid var(--signal); }

/* case cards */
.case-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,23,42,.1); }
.case-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--nebula), var(--nebula-2)); position: relative; display: flex; align-items: flex-end; padding: 1rem; }
.case-card .thumb::after { content:""; position:absolute; inset:0; background-image: radial-gradient(1px 1px at 30% 40%,#fff,transparent),radial-gradient(1px 1px at 70% 60%,#cdd6ff,transparent); opacity:.6; }
.case-card .thumb .badge { position: relative; z-index: 1; font-family: var(--mono); font-size: .68rem; letter-spacing:.1em; text-transform: uppercase; color:#fff; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); padding:.3rem .6rem; border-radius: 30px; }
.case-card .body { padding: 1.4rem; }
.case-card .meta { font-family: var(--mono); font-size: .72rem; color: var(--steel); letter-spacing: .04em; }
.case-card h3 { font-size: 1.1rem; margin: .5rem 0; }
.case-card p { font-size: .9rem; color: var(--steel-dk); }
.case-card .svc { margin-top: .9rem; font-size: .8rem; color: var(--signal); font-family: var(--mono); }

/* =========================================================================
   SERVICE / CONTENT PAGE
   ========================================================================= */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: clamp(3rem,7vw,5rem) 0 clamp(2.5rem,5vw,3.5rem); }
.page-hero::after { content:""; position:absolute; top:-40%; right:-15%; width:60vw; height:60vw; max-width:700px; max-height:700px; background: radial-gradient(circle, rgba(59,116,255,.18), transparent 60%); filter: blur(10px); }
.page-hero.event::after { background: radial-gradient(circle, rgba(242,59,76,.2), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--mono); font-size: .74rem; color: var(--steel); margin-bottom: 1rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; margin: 0 .4rem; }
.page-hero h1 { max-width: 20ch; margin: .6rem 0 1rem; }
.page-hero .lead { color: #AEB8D0; max-width: 58ch; }
.line-flag { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.line-flag .dot { width: 8px; height: 8px; border-radius: 50%; }
.line-flag.event { color: var(--ember-soft); } .line-flag.event .dot { background: var(--ember); }
.line-flag.digital { color: var(--signal-soft); } .line-flag.digital .dot { background: var(--signal); }

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1rem; color: var(--steel-dk); }
.prose h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 2.5rem 0 1rem; }
.offer-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.offer-list li { padding: 1.1rem 1.3rem; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: .9rem; font-size: .98rem; }
.offer-list li:last-child { border-bottom: none; }
.offer-list li .num { font-family: var(--mono); font-size: .78rem; color: var(--signal); flex-shrink: 0; padding-top: .1rem; }
.page-hero.event ~ * .offer-list li .num, .offer-list.event li .num { color: var(--ember); }

/* FAQ */
.faq-cat { margin-top: 2.5rem; }
.faq-cat > h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.faq-cat > h2 .dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(100deg,var(--ember),var(--signal)); }
details.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; background: #fff; overflow: hidden; }
details.faq-item summary { padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 500; font-family: var(--display); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--signal); font-size: 1.3rem; flex-shrink: 0; transition: transform .2s ease; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .ans { padding: 0 1.3rem 1.2rem; color: var(--steel-dk); font-size: .96rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); margin-top: 2.5rem; }
.field { display: block; margin-bottom: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--body); font-size: .95rem; background: #fff; color: var(--ink-text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.contact-detail { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-detail .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.contact-detail .v { font-size: 1.05rem; margin-top: .2rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(242,59,76,.12), transparent 40%, transparent 60%, rgba(59,116,255,.12)); }
.cta-band .wrap { position: relative; z-index: 2; text-align: center; padding: clamp(3rem,6vw,4.5rem) var(--gap); }
.cta-band h2 { max-width: 22ch; margin: 0 auto 1rem; }
.cta-band .lead { color: #AEB8D0; max-width: 50ch; margin: 0 auto 1.8rem; }
.cta-band .hero-cta { justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink); color: #C7CEDE; padding: clamp(3rem,6vw,4.5rem) 0 2rem; border-top: 1px solid var(--line-dk); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .brand { margin-bottom: 1rem; }
.foot-brand p { font-size: .9rem; color: var(--steel); max-width: 34ch; }
.foot-col h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.foot-col a { display: block; font-size: .9rem; padding: .3rem 0; color: #A9B2C8; }
.foot-col a:hover { color: #fff; }
.foot-social { display: flex; gap: .5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.foot-social a { font-family: var(--mono); font-size: .74rem; padding: .35rem .7rem; border: 1px solid var(--line-dk); border-radius: 30px; color: #A9B2C8; }
.foot-social a:hover { border-color: var(--signal); color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dk); font-size: .8rem; color: var(--steel); }
.foot-bottom .legal-name { color: #A9B2C8; }
.foot-nap { font-size: .82rem; color: var(--steel); line-height: 1.8; margin-top: .8rem; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 940px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .lines, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .lang-switch.desktop, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--nebula); border-bottom: 1px solid var(--line-dk); padding: 1rem; gap: .2rem; margin: 0;
  }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none; grid-template-columns: 1fr; background: transparent; border: none; padding: .3rem 0 .3rem 1rem; }
  .meridian .row { grid-template-columns: 1fr; }
  .meridian .pole.right { text-align: left; align-items: flex-start; }
  .meridian .core { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .foot-top, .stat-strip { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--signal); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- FAQ hub cards + category sub-pages ---------- */
.faq-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; margin-top:1.4rem; }
.faq-card { display:flex; flex-direction:column; gap:.5rem; padding:1.3rem 1.4rem; border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; text-decoration:none; color:var(--ink-text); transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.faq-card:hover { border-color:var(--signal); transform:translateY(-2px); box-shadow:0 8px 24px rgba(59,116,255,.10); }
.faq-card h3 { font-size:1.06rem; }
.faq-card p { font-size:.9rem; color:var(--steel-dk); line-height:1.5; margin:0; flex:1; }
.faq-count { font-family:var(--mono); font-size:.72rem; color:var(--signal); letter-spacing:.02em; }
.faq-hub-h2 { font-size:1.4rem; margin-bottom:.2rem; }
.faq-back { margin-top:2rem; font-family:var(--mono); font-size:.82rem; }
.faq-others { margin-top:2.4rem; padding-top:1.6rem; border-top:1px solid var(--line); }
.faq-others h3 { font-size:1rem; margin-bottom:.8rem; }
.faq-others ul { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.5rem; }
.faq-others li a { display:inline-block; padding:.4rem .85rem; border:1px solid var(--line); border-radius:100px; font-size:.85rem; text-decoration:none; color:var(--steel-dk); }
.faq-others li a:hover { border-color:var(--signal); color:var(--ink-text); }
