/* ============================================================
   PT Liceo Global Indonesia — Premium Corporate Design System
   Palette: Navy + Gold Accent | Inspired by McKinsey / Accenture
   ============================================================ */

:root {
  /* Brand — Navy */
  --navy-950: #050B1A;
  --navy-900: #0A1530;
  --navy-800: #0F1E42;
  --navy-700: #142755;
  --navy-600: #1B3470;
  --navy-500: #234390;
  --navy-400: #3D62B5;

  /* Accent — Gold */
  --gold-700: #8A6A22;
  --gold-600: #B58A2D;
  --gold-500: #D4A73E;
  --gold-400: #E0BC5E;
  --gold-300: #ECD18A;
  --gold-200: #F4E2B2;
  --gold-100: #FAF1D7;

  /* Neutrals */
  --ink-950: #04060C;
  --ink-900: #0C111D;
  --ink-800: #1A2236;
  --ink-700: #2D3548;
  --ink-600: #4A5470;
  --ink-500: #6A7490;
  --ink-400: #98A2BC;
  --ink-300: #C5CCDB;
  --ink-200: #E1E5EE;
  --ink-100: #EEF1F7;
  --ink-50:  #F7F8FC;
  --paper:   #FCFCFB;
  --white:   #FFFFFF;

  /* Semantic */
  --bg: var(--paper);
  --bg-alt: var(--ink-50);
  --bg-dark: var(--navy-900);
  --bg-darker: var(--navy-950);
  --surface: var(--white);
  --surface-alt: var(--ink-50);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-500);
  --line: var(--ink-200);
  --line-strong: var(--ink-300);
  --accent: var(--gold-600);
  --accent-strong: var(--gold-700);
  --link: var(--navy-700);
  --link-hover: var(--gold-600);

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(10, 21, 48, 0.04);
  --shadow-sm: 0 2px 6px rgba(10, 21, 48, 0.06);
  --shadow-md: 0 8px 20px rgba(10, 21, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 21, 48, 0.10);
  --shadow-xl: 0 30px 60px rgba(10, 21, 48, 0.14);
  --shadow-gold: 0 12px 30px rgba(181, 138, 45, 0.25);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:  'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Scale */
  --t-12: 0.75rem;
  --t-13: 0.8125rem;
  --t-14: 0.875rem;
  --t-15: 0.9375rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-20: 1.25rem;
  --t-22: 1.375rem;
  --t-24: 1.5rem;
  --t-28: 1.75rem;
  --t-32: 2rem;
  --t-36: 2.25rem;
  --t-44: 2.75rem;
  --t-52: 3.25rem;
  --t-64: 4rem;
  --t-72: 4.5rem;
  --t-88: 5.5rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;
  --s-40: 10rem;

  /* Radius */
  --r-2: 2px;
  --r-4: 4px;
  --r-6: 6px;
  --r-8: 8px;
  --r-12: 12px;
  --r-16: 16px;
  --r-24: 24px;
  --r-full: 9999px;

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --nav-h: 80px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 180ms;
  --d-base: 320ms;
  --d-slow: 600ms;
}

/* Dark mode override */
body.theme-dark {
  --bg: var(--navy-950);
  --bg-alt: var(--navy-900);
  --bg-dark: #02050D;
  --bg-darker: #000206;
  --surface: var(--navy-900);
  --surface-alt: var(--navy-800);
  --text: #F1F4FC;
  --text-muted: #B6C0D8;
  --text-faint: #8B95B0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --link: var(--gold-400);
  --link-hover: var(--gold-300);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ============================================================ Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-16);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out);
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--d-fast) var(--ease-out); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--s-8) 0; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ============================================================ Type */
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
.mono  { font-family: var(--font-mono); }

h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--t-44), 6vw, var(--t-72));
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--t-32), 4.2vw, var(--t-52));
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
}
h3, .h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--t-24), 2.4vw, var(--t-32));
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--t-20);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
}
h5 { font-family: var(--font-sans); font-weight: 600; font-size: var(--t-16); line-height: 1.4; }
p { color: var(--text-muted); line-height: 1.75; }
small { font-size: var(--t-14); color: var(--text-faint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-12);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: var(--t-20);
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 60ch;
}
.lede-lg {
  font-size: var(--t-22);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 65ch;
}

/* ============================================================ Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--pad-x); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-lg { padding: clamp(5rem, 12vw, 10rem) 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); }
.gap-6 { gap: var(--s-6); } .gap-8 { gap: var(--s-8); } .gap-10 { gap: var(--s-10); }

/* ============================================================ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.95rem 1.6rem;
  font-size: var(--t-14);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--d-base) var(--ease-out);
  position: relative;
  white-space: nowrap;
  line-height: 1;
}
.btn i { font-size: 0.95em; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold-600);
  color: var(--navy-900);
  border-color: var(--gold-600);
}
.btn-gold:hover { background: var(--gold-500); border-color: var(--gold-500); box-shadow: var(--shadow-gold); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }
body.theme-dark .btn-ghost:hover { color: var(--gold-400); border-color: var(--gold-400); }

.btn-light {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}
.btn-light:hover { background: var(--gold-100); border-color: var(--gold-100); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn-link {
  background: none;
  border: 0;
  padding: 0.2rem 0;
  color: var(--link);
  font-weight: 600;
  font-size: var(--t-14);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--link);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  transition: gap var(--d-base) var(--ease-out), color var(--d-fast) var(--ease-out);
}
.btn-link:hover { gap: var(--s-4); color: var(--link-hover); border-color: var(--link-hover); }

.btn-sm { padding: 0.65rem 1.1rem; font-size: var(--t-12); }
.btn-lg { padding: 1.15rem 2rem; font-size: var(--t-15); }

/* ============================================================ Top Bar */
.topbar {
  background: var(--navy-950);
  color: var(--ink-300);
  font-size: var(--t-12);
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); }
.topbar a { color: var(--ink-300); }
.topbar a:hover { color: var(--gold-400); }
.topbar .group { display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap; }
.topbar .group i { color: var(--gold-500); margin-right: 0.4em; }
@media (max-width: 720px) { .topbar { display: none; } }

/* ============================================================ Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all var(--d-base) var(--ease-out);
}
body.theme-dark .site-header { background: rgba(5,11,26,0.85); border-bottom-color: rgba(255,255,255,0.06); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: var(--t-18); color: var(--text); letter-spacing: -0.005em; }
.brand-tag { font-size: var(--t-12); color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: var(--s-2); }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.9rem;
  font-size: var(--t-14);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.menu > li > a:hover { color: var(--accent); }
.menu > li.has-sub > a::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7em; opacity: 0.6; margin-left: 0.3em; }

.menu .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -10px;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-8);
  box-shadow: var(--shadow-lg);
  padding: var(--s-3);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--d-base) var(--ease-out);
}
.menu .dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.menu li.has-sub:hover > .dropdown,
.menu li.has-sub:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: column;
  padding: var(--s-3);
  border-radius: var(--r-6);
  font-size: var(--t-14);
  color: var(--text);
}
.dropdown a:hover { background: var(--surface-alt); color: var(--accent); }
.dropdown a .dd-title { font-weight: 600; }
.dropdown a .dd-desc { font-size: var(--t-12); color: var(--text-faint); margin-top: 0.15rem; }

.nav-tools { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  color: var(--text-muted);
  transition: all var(--d-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--surface-alt); color: var(--accent); }
.lang-btn {
  font-size: var(--t-12); font-weight: 600; letter-spacing: 0.08em;
  padding: 0.4rem 0.6rem; border-radius: var(--r-4); color: var(--text);
}
.lang-btn:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--text);
}

@media (max-width: 1100px) {
  .menu { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform var(--d-base) var(--ease-out);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-5) var(--pad-x); border-bottom: 1px solid var(--line); }
.mobile-drawer-body { padding: var(--s-6) var(--pad-x); flex: 1; }
.mobile-drawer-body a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-18); font-weight: 500; }
.mobile-drawer-body a:hover { color: var(--accent); }
.mobile-drawer-body .submenu { padding-left: var(--s-4); }
.mobile-drawer-body .submenu a { font-size: var(--t-15); font-weight: 400; color: var(--text-muted); padding: 0.6rem 0; }

/* ============================================================ Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 167, 62, 0.08), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(35, 67, 144, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 21, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 21, 48, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--gold-300);
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: var(--r-full);
  font-size: var(--t-12);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-6);
}
body.theme-dark .hero-badge { background: rgba(212, 167, 62, 0.08); color: var(--gold-300); border-color: rgba(212, 167, 62, 0.3); }

.hero h1 .accent { color: var(--gold-600); font-style: italic; }
body.theme-dark .hero h1 .accent { color: var(--gold-400); }

.hero-lede { margin-top: var(--s-6); margin-bottom: var(--s-8); font-size: clamp(var(--t-18), 1.6vw, var(--t-22)); line-height: 1.7; color: var(--text-muted); max-width: 58ch; }

.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-10); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
}
.hero-stats .stat { padding-right: var(--s-4); border-right: 1px solid var(--line); padding-left: var(--s-4); }
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-serif); font-weight: 500; font-size: clamp(var(--t-32), 3.2vw, var(--t-44)); line-height: 1; color: var(--navy-800); }
body.theme-dark .stat-num { color: var(--gold-300); }
.stat-num .plus { color: var(--gold-600); }
.stat-label { font-size: var(--t-12); color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.5rem; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } .hero-stats .stat { border-right: 0; border-top: 1px solid var(--line); padding-top: var(--s-4); padding-left: 0; } .hero-stats .stat:first-child, .hero-stats .stat:nth-child(2) { border-top: 0; padding-top: 0; } }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.hero-visual .frame {
  position: absolute;
  inset: 0;
  border-radius: var(--r-24);
  background:
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-visual .frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(212, 167, 62, 0.25), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(35, 67, 144, 0.4), transparent 55%);
  z-index: 1;
}
.hero-visual .frame::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}
.hero-visual .frame-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
}
.frame-top { display: flex; justify-content: space-between; align-items: flex-start; }
.frame-watermark { font-family: var(--font-serif); font-size: var(--t-28); color: rgba(255,255,255,0.95); letter-spacing: -0.01em; line-height: 1.05; }
.frame-watermark span { color: var(--gold-400); }
.frame-emblem { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--r-full); display: grid; place-items: center; color: var(--gold-400); font-size: 1.5rem; }

.frame-orbit { position: absolute; inset: 15%; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; z-index: 1; }
.frame-orbit::before { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(212, 167, 62, 0.15); border-radius: 50%; }
.frame-dot { position: absolute; width: 8px; height: 8px; background: var(--gold-400); border-radius: 50%; box-shadow: 0 0 16px var(--gold-500); z-index: 2; }
.frame-dot.d1 { top: 18%; left: 20%; }
.frame-dot.d2 { bottom: 22%; right: 18%; background: #6FB1FC; box-shadow: 0 0 12px #6FB1FC; }
.frame-dot.d3 { top: 55%; left: 8%; background: #fff; }

.frame-bottom { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); }
.frame-tag-list { display: flex; flex-direction: column; gap: var(--s-2); }
.frame-tag-list .tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--t-12); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.frame-tag-list .tag::before { content: ""; width: 10px; height: 1px; background: var(--gold-400); }
.frame-num { text-align: right; }
.frame-num .big { font-family: var(--font-serif); font-size: var(--t-52); line-height: 1; color: var(--gold-400); }
.frame-num .sub { font-size: var(--t-12); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }

/* ============================================================ Marquee logos */
.marquee {
  padding: var(--s-12) 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee-head { text-align: center; margin-bottom: var(--s-8); }
.marquee-head .label { font-size: var(--t-12); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
.marquee-track {
  display: flex; gap: clamp(2rem, 4vw, 3.5rem);
  animation: marquee 60s linear infinite;
  width: max-content;
  align-items: center;
  will-change: transform;
}
/* No pause on hover/click — logos keep flowing continuously */
.marquee-item {
  flex: 0 0 auto;
  height: 40px;
  display: grid; place-items: center;
  opacity: 0.95;
  pointer-events: none; /* prevent any click from triggering hover state on touch */
}
.marquee-item img { max-height: 100%; max-width: 140px; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================ Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-8);
  padding: var(--s-8);
  transition: all var(--d-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: var(--r-4);
  font-size: 1.4rem;
  margin-bottom: var(--s-5);
}
body.theme-dark .card-icon { background: rgba(212, 167, 62, 0.12); color: var(--gold-400); }
.card h3 { margin-bottom: var(--s-3); }
.card p { margin-bottom: var(--s-5); }
.card-list { margin: var(--s-5) 0; }
.card-list li {
  display: flex; gap: var(--s-3);
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-14);
  color: var(--text-muted);
}
.card-list li i { color: var(--gold-600); margin-top: 0.25rem; }
.card-foot { padding-top: var(--s-5); border-top: 1px solid var(--line); }

.card-bordered { border: 1px solid var(--line); border-radius: var(--r-8); padding: var(--s-6); }

.feature-row {
  display: grid; grid-template-columns: 60px 1fr;
  gap: var(--s-5); padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row .num { font-family: var(--font-serif); font-size: var(--t-32); line-height: 1; color: var(--accent); }
.feature-row h4 { margin-bottom: var(--s-2); }

/* ============================================================ Pillar (alternating) */
.pillar {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: var(--s-10) 0;
}
.pillar.alt { direction: rtl; }
.pillar.alt > * { direction: ltr; }
@media (max-width: 880px) { .pillar { grid-template-columns: 1fr; } }
.pillar-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-16);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-lg);
}
.pillar-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(212, 167, 62, 0.25), transparent 55%),
    linear-gradient(0deg, rgba(5, 11, 26, 0.4), transparent);
}
.pillar-media .badge-emblem {
  position: absolute; top: var(--s-5); left: var(--s-5);
  font-family: var(--font-serif); color: var(--gold-300); font-size: var(--t-32); z-index: 2; letter-spacing: -0.01em;
}
.pillar-media .badge-num {
  position: absolute; bottom: var(--s-5); right: var(--s-5);
  font-family: var(--font-serif); color: rgba(255,255,255,0.15); font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.85; z-index: 2;
}

/* ============================================================ Quote / Testimonial */
.quote-block {
  background: var(--bg-dark);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--r-16);
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "\201C";
  position: absolute; top: -2rem; left: 1rem;
  font-family: var(--font-serif);
  font-size: 14rem;
  color: var(--gold-500);
  opacity: 0.15;
  line-height: 1;
}
.quote-block .quote-text {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-22), 2.4vw, var(--t-32));
  line-height: 1.4;
  color: var(--white);
  position: relative;
  z-index: 1;
  max-width: 50ch;
}
.quote-block .quote-by {
  margin-top: var(--s-6);
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-300);
  position: relative;
  z-index: 1;
}

/* ============================================================ Process timeline */
.process {
  counter-reset: step;
}
.process-item {
  position: relative;
  padding: var(--s-6) 0 var(--s-6) var(--s-12);
  border-left: 1px solid var(--line);
}
.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.5rem;
  top: var(--s-6);
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: var(--t-18);
  color: var(--accent);
}
.process-item h3 { margin-bottom: var(--s-2); }

/* ============================================================ Industries / Sector grid */
.sector-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 880px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }
.sector {
  padding: var(--s-8);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--d-base) var(--ease-out);
  cursor: default;
  position: relative;
}
.sector:hover { background: var(--surface-alt); }
.sector .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--gold-700);
  font-size: 1.5rem;
  margin-bottom: var(--s-5);
}
.sector h4 { font-family: var(--font-serif); font-weight: 500; font-size: var(--t-22); margin-bottom: var(--s-2); }
.sector p { font-size: var(--t-14); color: var(--text-muted); }

/* ============================================================ Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: var(--s-8); }
.tab-btn {
  padding: 0.9rem 1.4rem;
  font-size: var(--t-14);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--d-fast) var(--ease-out);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================ FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0;
  font-family: var(--font-serif);
  font-size: var(--t-20);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.faq-q .ico {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: transform var(--d-base) var(--ease-out);
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--d-base) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 0 var(--s-6); color: var(--text-muted); line-height: 1.75; max-width: 65ch; }

/* ============================================================ Form */
.form-grid { display: grid; gap: var(--s-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: var(--t-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: var(--t-15);
  transition: all var(--d-fast) var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 167, 62, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .help { font-size: var(--t-12); color: var(--text-faint); }
.field .err { font-size: var(--t-12); color: #C53D3D; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #C53D3D; }
.field.invalid .err { display: block; }

.check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-14); color: var(--text-muted); }
.check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold-600); flex: 0 0 auto; margin-top: 2px; }

/* ============================================================ CTA banner */
.cta-banner {
  position: relative;
  border-radius: var(--r-16);
  background:
    radial-gradient(circle at 80% 0%, rgba(212, 167, 62, 0.15), transparent 50%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-8); align-items: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at right, transparent 30%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse at right, transparent 30%, black 80%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--s-4); }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 60ch; }
.cta-banner .actions { display: flex; flex-direction: column; gap: var(--s-3); justify-self: end; }
@media (max-width: 880px) { .cta-banner { grid-template-columns: 1fr; } .cta-banner .actions { justify-self: stretch; flex-direction: row; flex-wrap: wrap; } }

/* ============================================================ Page hero */
.page-hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(35, 67, 144, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(212, 167, 62, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: var(--s-2); align-items: center; font-size: var(--t-13); color: var(--text-faint); margin-bottom: var(--s-5); flex-wrap: wrap; }
.crumbs a { color: var(--text-faint); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: 0.7em; opacity: 0.6; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: var(--s-5); }

/* ============================================================ Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--ink-300);
  padding: var(--s-16) 0 var(--s-6);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(212, 167, 62, 0.06), transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--white); font-size: var(--t-20); }
.footer-brand .brand-tag { color: var(--ink-400); }
.footer-desc { color: var(--ink-400); font-size: var(--t-14); line-height: 1.75; margin-top: var(--s-4); max-width: 30ch; }

.footer-col h5 {
  color: var(--white);
  font-size: var(--t-12);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.footer-col ul li { margin-bottom: var(--s-2); }
.footer-col ul a { color: var(--ink-300); font-size: var(--t-14); }
.footer-col ul a:hover { color: var(--gold-400); }

.footer-contact-item { display: flex; gap: var(--s-3); margin-bottom: var(--s-3); font-size: var(--t-13); color: var(--ink-300); line-height: 1.6; }
.footer-contact-item i { color: var(--gold-500); margin-top: 0.25rem; flex: 0 0 auto; }

.newsletter { margin-top: var(--s-5); display: flex; gap: 0; max-width: 320px; }
.newsletter input { flex: 1; padding: 0.7rem 0.9rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-right: 0; color: var(--white); border-radius: var(--r-2) 0 0 var(--r-2); font-size: var(--t-13); }
.newsletter input:focus { outline: 0; border-color: var(--gold-500); }
.newsletter button { background: var(--gold-600); color: var(--navy-900); padding: 0 1rem; border-radius: 0 var(--r-2) var(--r-2) 0; font-size: var(--t-12); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.newsletter button:hover { background: var(--gold-500); }

.footer-base {
  padding-top: var(--s-6);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: var(--t-12);
  color: var(--ink-500);
}
.footer-base a { color: var(--ink-400); }
.footer-base a:hover { color: var(--gold-400); }
.footer-base .legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer-base .social { display: flex; gap: var(--s-3); }
.footer-base .social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--ink-300);
}
.footer-base .social a:hover { background: var(--gold-600); color: var(--navy-900); border-color: var(--gold-600); }

/* ============================================================ Utilities */
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: var(--ink-100); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: var(--ink-300); }
.bg-dark .eyebrow { color: var(--gold-400); }

.text-center { text-align: center; }
.text-gold { color: var(--gold-600); }
.text-navy { color: var(--navy-800); }
.text-muted { color: var(--text-muted); }

.divider { width: 64px; height: 1px; background: var(--gold-600); margin: var(--s-4) 0; }
.divider.center { margin-left: auto; margin-right: auto; }

.tag-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: var(--t-12);
  color: var(--text-muted);
  background: var(--surface);
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-d="100"] { transition-delay: 100ms; }
[data-reveal-d="200"] { transition-delay: 200ms; }
[data-reveal-d="300"] { transition-delay: 300ms; }
[data-reveal-d="400"] { transition-delay: 400ms; }

/* Floating back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--d-base) var(--ease-out);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-600); color: var(--navy-900); }

/* ============================================================
   Language switch — bulletproof bilingual display
   Default: Indonesian visible, English hidden.
   When body.lang-en: swap.
   Uses !important to override any element-level display rules.
   ============================================================ */
[lang-en] { display: none !important; }
[lang-id] { display: revert; }

body.lang-en [lang-en] { display: revert !important; }
body.lang-en [lang-id] { display: none !important; }

/* No-FOUC: hide [lang-en] elements before stylesheet loads */
html { visibility: visible; }

/* Indonesian text is typically 20-40% longer than English — make buttons & tags accommodate */
.btn, .btn-link {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.btn { min-height: 2.75rem; }
.btn-link { line-height: 1.4; }

/* Buttons stack content vertically when in narrow containers */
@media (max-width: 880px) {
  .btn { padding: 0.85rem 1.1rem; }
  .btn-sm { padding: 0.55rem 0.85rem; }
}

/* Section heads — Indonesian text wrapping */
.section-head h2, .section-head .h2 { max-width: 22ch; }
.section-head.center h2, .section-head.center .h2 { margin-left: auto; margin-right: auto; }
body.lang-id .section-head h2, body.lang-id .section-head .h2 { max-width: 26ch; }

/* Hero title - ID often longer */
.hero h1 { max-width: 18ch; }
body.lang-id .hero h1 { max-width: 22ch; }

/* Nav menu items — ID labels can be longer, prevent wrap */
.menu > li > a { white-space: nowrap; }
body.lang-id .menu > li > a { letter-spacing: 0; }

/* When ID is active and menu is too crowded, switch to mobile menu earlier */
@media (max-width: 1280px) {
  body.lang-id .menu > li > a { font-size: 0.82rem; padding: 0.7rem 0.6rem; }
}

/* ============================================================
   ONBOARDING TIP — first-visit awareness for theme/lang
   ============================================================ */
.onboard-tip {
  position: fixed;
  bottom: 16px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy-900);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-full);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  max-width: calc(100% - 2rem);
  font-size: 0.85rem;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  border: 1px solid rgba(212, 167, 62, 0.25);
}
.onboard-tip.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.onboard-tip .ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(212, 167, 62, 0.15);
  color: var(--gold-400);
  border-radius: 50%;
  flex: 0 0 auto;
}
.onboard-tip .text { line-height: 1.4; flex: 1; min-width: 0; }
.onboard-tip .text strong { color: var(--gold-400); font-weight: 600; }
.onboard-tip .close {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.onboard-tip .close:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 480px) {
  .onboard-tip { font-size: 0.78rem; padding: 0.7rem 0.85rem; bottom: 12px; }
  .onboard-tip .ico { width: 28px; height: 28px; }
  .onboard-tip .close { width: 26px; height: 26px; }
}

/* Pulsing attention ring on theme button — first visit */
.icon-btn.pulse-attention,
.lang-btn.pulse-attention {
  position: relative;
  animation: subtle-pulse 2.4s ease-in-out 3;
}
.icon-btn.pulse-attention::after,
.lang-btn.pulse-attention::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--gold-500);
  border-radius: inherit;
  opacity: 0;
  animation: ring-pulse 2.4s ease-out 3;
  pointer-events: none;
}
@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 167, 62, 0); }
  50% { box-shadow: 0 0 0 6px rgba(212, 167, 62, 0.18); }
}
@keyframes ring-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Tooltip below header buttons */
.header-tooltip {
  position: relative;
}
.header-tooltip::before,
.header-tooltip::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
  z-index: 50;
}
.header-tooltip::before {
  content: attr(data-tip);
  background: var(--navy-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-4);
  white-space: nowrap;
}
.header-tooltip::after {
  content: "";
  top: calc(100% + 2px);
  border: 6px solid transparent;
  border-bottom-color: var(--navy-900);
}
.header-tooltip:hover::before,
.header-tooltip:hover::after,
.header-tooltip:focus-visible::before,
.header-tooltip:focus-visible::after {
  opacity: 1;
}
/* Hide tooltip entirely on tablet/mobile/touch — rely on onboarding popover at bottom */
@media (max-width: 1100px),
       (hover: none),
       (pointer: coarse) {
  .header-tooltip::before, .header-tooltip::after { display: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .back-to-top, .marquee, .topbar { display: none; }
  body { background: white; color: black; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE — fold / phone / tablet / desktop
   ============================================================ */

/* ===== Ultra-narrow (folded phones, Galaxy Z Fold cover) — <380px ===== */
@media (max-width: 380px) {
  :root {
    --pad-x: 0.875rem;
    --nav-h: 60px;
    --t-72: 2.25rem;
    --t-64: 2rem;
    --t-52: 1.875rem;
    --t-44: 1.625rem;
    --t-36: 1.5rem;
    --t-32: 1.375rem;
    --t-28: 1.25rem;
    --t-24: 1.125rem;
    --t-22: 1.0625rem;
    --t-20: 1rem;
  }
  body { font-size: 0.92rem; line-height: 1.6; }
  .section { padding: 2.5rem 0; }
  .container, .container-wide, .container-narrow { padding-left: 0.875rem; padding-right: 0.875rem; }

  .btn { padding: 0.75rem 1rem; font-size: 0.72rem; letter-spacing: 0.02em; text-transform: none; gap: 0.4rem; }
  .btn-lg { padding: 0.9rem 1.15rem; font-size: 0.78rem; }
  .btn-sm { padding: 0.5rem 0.75rem; font-size: 0.68rem; }
  .btn i { font-size: 0.85em; }

  .hero-cta .btn, .cta-buttons .btn, .cta-banner .btn { width: 100%; }
  .hero-cta, .cta-buttons, .cta-banner .actions { flex-direction: column; align-items: stretch; }

  .topbar { display: none; }
  .brand-tag { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 36px; height: 36px; }

  .lede, .lede-lg { font-size: 0.95rem; line-height: 1.65; }
  .hero-lede { font-size: 0.95rem !important; }

  .hero-badge, .tag-chip { font-size: 0.65rem; padding: 0.25rem 0.55rem; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.15em; }
  .eyebrow::before { width: 18px; }

  /* Director-mini compact on very small screens */
  .director-mini { padding: 1rem; gap: 0.6rem; }
  .director-mini .name { font-size: 1.05rem; }
  .director-mini .blurb { font-size: 0.78rem; }

  /* Make all visible card content compact */
  .card { padding: 1.25rem; }
  .card h3, .card .h3 { font-size: 1.1rem; line-height: 1.3; }
  .card p { font-size: 0.88rem; }
  .card-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Hero stats labels compact */
  .stat-label { font-size: 0.65rem; letter-spacing: 0.04em; }
  .stat-num { font-size: 1.625rem !important; }

  /* Process item compact */
  .process-item { padding-left: 2.5rem; }
  .process-item::before { left: -1.25rem; top: 1.25rem; width: 2.25rem; height: 2.25rem; font-size: 0.85rem; }

  /* CTA banner radius */
  .cta-banner { border-radius: var(--r-8); padding: 1.5rem 1rem; }

  /* Page hero compact */
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero { padding: 2rem 0 1.5rem; }

  /* Fix marquee item sizing */
  .marquee-item { height: 28px; }
  .marquee-item img { max-width: 90px; max-height: 28px; }

  /* Mobile drawer items */
  .mobile-drawer-body a { font-size: 1rem; padding: 0.7rem 0; }
  .mobile-drawer-body .submenu a { font-size: 0.85rem; }

  /* Frame visual smaller */
  .hero-visual { max-width: 260px; }
  .hero-visual::after { width: 260px !important; height: 260px !important; }
  .frame-watermark { font-size: 1.25rem; }
  .frame-num .big { font-size: 2.25rem; }
}

/* ===== Standard phones — 381px–640px ===== */
@media (max-width: 640px) {
  /* Grid stacking — force any 2/3/4 col grid to single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 1rem; }
  /* But preserve some 2-col layouts that look fine on phones */
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }

  /* Cards, padding */
  .card { padding: 1.5rem; }
  .card-bordered { padding: 1.25rem; }

  /* Director showcase (compact mode handles itself, but stack just in case) */
  [data-director] { grid-template-columns: 1fr !important; text-align: center; }
  [data-director] [data-director-avatar] { margin: 0 auto 1.25rem !important; }

  /* Hero visual smaller */
  .hero-visual { max-width: 320px; }
  .hero-visual::after { width: 320px !important; height: 320px !important; }

  /* Pillars / about content */
  .pillar { grid-template-columns: 1fr !important; gap: 2rem; }
  .pillar.alt { direction: ltr; }

  /* Process two-column → one */
  .process-columns-2 { grid-template-columns: 1fr !important; }

  /* Tabs scroll horizontally */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { height: 4px; }
  .tab-btn { white-space: nowrap; flex: 0 0 auto; padding: 0.75rem 1rem; font-size: 0.78rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr !important; }

  /* CTA banner */
  .cta-banner { grid-template-columns: 1fr !important; padding: 2rem 1.5rem; text-align: center; }
  .cta-banner .actions { justify-self: stretch; flex-direction: column; align-items: stretch; }

  /* Page hero compact */
  .page-hero { padding: 2.5rem 0 2rem; }

  /* Footer base */
  .footer-base { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-base .legal { gap: 1rem; }

  /* Headings tighter */
  h1, .h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  h2, .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Hero stats border behaviour */
  .hero-stats .stat { padding: 0.85rem; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .hero-stats .stat:last-child { border-bottom: 0; }

  /* Sticky highlights in about — disable sticky on mobile */
  .about-highlights { position: static !important; }

  /* Page hero crumbs wrap */
  .crumbs { font-size: 0.72rem; }

  /* Section spacing */
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }

  /* Marquee items slightly smaller */
  .marquee-item { height: 32px; }
  .marquee-item img { max-width: 110px; }

  /* Tag chips smaller */
  .tag-chip { font-size: 0.7rem; padding: 0.25rem 0.55rem; }

  /* FAQ */
  .faq-q { font-size: 1.05rem; padding: 1rem 0; }

  /* Back to top smaller */
  .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
}

/* ===== Phones — 641px–768px (Z Fold opened, small tablets portrait) ===== */
@media (min-width: 641px) and (max-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pillar { grid-template-columns: 1fr; gap: 2rem; }
  .pillar.alt { direction: ltr; }
}

/* ===== Tablets portrait — 769px–980px ===== */
@media (min-width: 769px) and (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillar { grid-template-columns: 1fr; }
  .pillar.alt { direction: ltr; }
  .menu { display: none; }
  .menu-toggle { display: inline-flex; }
  .cta-banner { grid-template-columns: 1fr; text-align: left; }
}

/* ===== Tablets landscape / small laptops — 981px–1100px ===== */
@media (min-width: 981px) and (max-width: 1100px) {
  .menu { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Laptop & desktop — 1101px–1440px is default ===== */

/* ===== Ultra-wide displays — >1600px ===== */
@media (min-width: 1601px) {
  :root { --container: 1320px; }
}
@media (min-width: 1920px) {
  :root { --container: 1440px; --container-wide: 1560px; }
  body { font-size: 17px; }
}

/* ===== Landscape phones — short height ===== */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 3rem 0; }
  .hero-visual { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* ===== Foldable inner display (e.g., Z Fold open) — 700–840px wide ===== */
@media (min-width: 700px) and (max-width: 840px) and (min-height: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Touch-friendly tap targets ===== */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-link, .mobile-nav-link, .dropdown a, .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .icon-btn, .lang-btn { min-width: 44px; min-height: 44px; }
  .faq-q { min-height: 56px; }
}

/* ===== Image safety — prevent overflow anywhere ===== */
img, svg, video, iframe { max-width: 100%; height: auto; }
iframe { display: block; }

/* ===== Long words / URLs don't overflow ===== */
.card p, .lede, p { overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { overflow-wrap: break-word; }

/* ===== Partner logo grid (homepage regional groupings) ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  height: 84px;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}
.partner-card img {
  max-height: 38px;
  max-width: 120px;
  object-fit: contain;
}
body.theme-dark .partner-card { background: #fff; border-color: rgba(255,255,255,0.1); }
@media (max-width: 640px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .partner-card { height: 64px; padding: 0.6rem; }
  .partner-card img { max-height: 28px; max-width: 90px; }
}
@media (max-width: 380px) {
  .partner-grid { gap: 0.5rem; }
  .partner-card { height: 56px; padding: 0.5rem; }
  .partner-card img { max-height: 24px; max-width: 80px; }
}

/* ===== Job row (careers page) ===== */
.job-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 80px 70px;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.job-loc, .job-cat, .job-exp { font-size: 0.85rem; }
.job-exp { color: var(--text-faint); }
.job-apply { text-align: right; }
@media (max-width: 980px) {
  .job-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "loc cat"
      "exp apply";
    row-gap: 0.6rem;
    column-gap: 1rem;
  }
  .job-main { grid-area: main; }
  .job-loc { grid-area: loc; }
  .job-cat { grid-area: cat; }
  .job-exp { grid-area: exp; }
  .job-apply { grid-area: apply; text-align: right; }
}
@media (max-width: 480px) {
  .job-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "loc"
      "cat"
      "exp"
      "apply";
    text-align: left;
  }
  .job-apply { text-align: left; }
  .job-cat .tag-chip { display: inline-block; }
}

/* ===== Contact form grid ===== */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ===== Compact director card (used on homepage) ===== */
.director-mini {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--r-8);
  max-width: 920px;
  margin: 0 auto;
  transition: border-color var(--d-base), box-shadow var(--d-base);
}
.director-mini:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); border-left-color: var(--gold-600); }
.director-mini .initial {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  flex: 0 0 auto;
}
.director-mini .info { min-width: 0; }
.director-mini .role-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.director-mini .name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--text); line-height: 1.2; margin-bottom: 0.15rem; }
.director-mini .blurb { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.director-mini .link-action { color: var(--gold-700); font-size: 0.8rem; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.director-mini .link-action i { transition: transform var(--d-base); }
.director-mini:hover .link-action i { transform: translateX(4px); }

@media (max-width: 640px) {
  .director-mini { grid-template-columns: 1fr; text-align: center; gap: 0.75rem; padding: 1.5rem 1.25rem; border-left: 4px solid var(--gold-600); }
  .director-mini .initial { margin: 0 auto; }
  .director-mini .link-action { justify-self: center; }
}
