/* ==========================================================================
   Srisuk Holdings — Brand Design System
   Colors: navy #101C2C / midnight #0B1422 / gold #B89A62 / warm white #F7F6F2
   Type: Cormorant Garamond (display) / Inter (body)
   ========================================================================== */

:root {
  --navy: #101C2C;
  --navy-soft: #16263a;
  --midnight: #0B1422;
  --gold: #B89A62;
  --gold-light: #d3b884;
  --gold-soft: rgba(184, 154, 98, 0.14);
  --warm: #F7F6F2;
  --warm-2: #f0eee7;
  --body: #222832;
  --muted: #667085;
  --muted-2: #98a1ad;
  --line: #e5e2da;
  --line-dark: rgba(255,255,255,0.10);
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.container { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 16px 0 18px; }
.lede { font-size: 1.08rem; color: var(--muted); line-height: 1.8; }
.lede strong { color: var(--body); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #a8894e; border-color: #a8894e; color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline { background: transparent; color: var(--navy); border-color: rgba(16,28,44,0.28); }
.btn-outline:hover { border-color: var(--gold); color: #8a7040; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px var(--gutter);
}
.site-header.solid {
  background: rgba(16, 28, 44, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: 14px var(--gutter);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; stroke: var(--gold); }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: 0.02em; line-height: 1; }
.brand-name span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 13px;
  border-radius: 3px;
  transition: color 0.25s;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column; gap: 6px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 24px; height: 1.6px; background: #fff; display: block; transition: all 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 120px var(--gutter) 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(184,154,98,0.16), transparent 55%),
    radial-gradient(900px 700px at -10% 110%, rgba(11,20,34,0.9), transparent 60%),
    linear-gradient(160deg, #16263a 0%, #101C2C 45%, #0B1422 100%);
}
.hero-skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  opacity: 0.16;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-content { max-width: 780px; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  color: #fff;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-metrics {
  position: relative;
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  max-width: 780px;
}
.hero-metrics .metric {
  background: rgba(11,20,34,0.55);
  padding: 26px 28px;
}
.hero-metrics .metric .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}
.hero-metrics .metric .lbl {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ---------- Generic sections ---------- */
.alt { background: #fff; }
.dark { background: var(--midnight); color: rgba(255,255,255,0.8); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lede { color: rgba(255,255,255,0.6); }

/* ---------- Intro / two-col ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split .split-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 16px 0 20px; }
.split .split-text p { color: var(--muted); margin-bottom: 16px; }
.split .split-text p strong { color: var(--body); }

.split-visual {
  position: relative;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
}
.split-visual .panel {
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 320px at 80% 0%, rgba(184,154,98,0.22), transparent 55%),
    linear-gradient(200deg, #1a2c42, #0B1422);
  display: flex; align-items: flex-end; padding: 40px;
}
.split-visual .panel .quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: #fff;
  line-height: 1.4;
}
.split-visual .panel .attr { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-top: 14px; }
.split-visual .rule { position: absolute; top: 0; left: 40px; width: 1px; height: 100%; background: linear-gradient(var(--gold), transparent); opacity: 0.6; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -22px rgba(16,28,44,0.28); border-color: var(--gold); }
.card .icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.card .card-link {
  margin-top: auto; padding-top: 18px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.card .card-link svg { width: 13px; height: 13px; }

.dark .card { background: rgba(255,255,255,0.04); border-color: var(--line-dark); }
.dark .card h3 { color: #fff; }
.dark .card p { color: rgba(255,255,255,0.62); }

/* ---------- Featured case ---------- */
.feature-case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}
.feature-case .fc-visual {
  min-height: 360px;
  background:
    radial-gradient(420px 300px at 20% 20%, rgba(184,154,98,0.2), transparent 55%),
    linear-gradient(160deg, #1a2c42, #0B1422);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.feature-case .fc-visual .tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(184,154,98,0.9); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 7px 14px; border-radius: 2px;
}
.feature-case .fc-body { padding: clamp(30px, 4vw, 52px); }
.feature-case .fc-body h3 { font-size: 1.7rem; margin: 12px 0 16px; }
.feature-case .fc-body p { color: var(--muted); margin-bottom: 18px; }
.fc-meta { display: flex; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; }
.fc-meta .k { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fc-meta .v { font-size: 0.92rem; color: var(--navy); font-weight: 500; margin-top: 3px; }

/* ---------- Process / timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--line);
  background: #fff;
}
.process .step {
  padding: 38px 30px;
  border-right: 1px solid var(--line);
  position: relative;
  counter-increment: step;
}
.process .step:last-child { border-right: none; }
.process .step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.process .step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.process .step p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.leader {
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
}
.leader .avatar {
  height: 300px;
  background: linear-gradient(160deg, #1a2c42, #0B1422);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: rgba(255,255,255,0.22);
  position: relative;
}
.leader .avatar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(240px 200px at 50% 30%, rgba(184,154,98,0.16), transparent 60%);
}
.leader .l-body { padding: 26px 26px 30px; }
.leader .l-body h3 { font-size: 1.4rem; margin-bottom: 4px; }
.leader .l-body .role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.leader .l-body p { font-size: 0.92rem; color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* ---------- Insights ---------- */
.insight-card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.insight-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -22px rgba(16,28,44,0.28); }
.insight-card .thumb {
  height: 200px;
  background: linear-gradient(160deg, #1a2c42, #0B1422);
  position: relative;
}
.insight-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(280px 200px at 70% 20%, rgba(184,154,98,0.2), transparent 60%);
}
.insight-card .i-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.insight-card .i-body .date { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; }
.insight-card .i-body h3 { font-size: 1.3rem; margin: 10px 0 12px; line-height: 1.3; }
.insight-card .i-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.insight-card .i-body .read { margin-top: auto; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Filter chips ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Case detail ---------- */
.article-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(140px, 16vw, 200px) var(--gutter) 80px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 80% 0%, rgba(184,154,98,0.15), transparent 55%);
}
.article-hero .container { position: relative; }
.article-hero .tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.article-hero .tags span {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25); color: var(--gold-light); padding: 6px 13px; border-radius: 2px;
}
.article-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; }
.article-hero .byline { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 18px; }

.article-body { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gutter); }
.article-body h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.35rem; margin: 30px 0 12px; }
.article-body p { color: #3a4352; margin-bottom: 18px; line-height: 1.85; }
.article-body ul { list-style: none; margin: 0 0 18px; }
.article-body ul li { padding-left: 26px; position: relative; margin-bottom: 10px; color: #3a4352; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--gold); }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 10px 0 10px 24px;
  margin: 26px 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}
.callout {
  background: var(--gold-soft);
  border: 1px solid rgba(184,154,98,0.35);
  padding: 22px 24px;
  border-radius: 3px;
  margin: 26px 0;
  font-size: 0.92rem;
  color: #5d5338;
}
.callout strong { display: block; margin-bottom: 4px; color: #4a3f26; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 5vw, 64px); }
.contact-info .item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:first-child { padding-top: 0; }
.contact-info .item .ic { width: 42px; height: 42px; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .item .ic svg { width: 19px; height: 19px; }
.contact-info .item h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-info .item p { color: var(--navy); margin-top: 4px; font-size: 0.98rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: clamp(28px, 4vw, 44px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--body);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--warm);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: #fff;
}
.form .field { margin-bottom: 18px; }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none;
  background: #eef7ef; border: 1px solid #b9dcbf; color: #2a6b3a;
  padding: 16px 18px; border-radius: 3px; margin-bottom: 18px; font-size: 0.94rem;
}
.form-error {
  display: none;
  background: #fdf0ef; border: 1px solid #eec6c1; color: #9c3a30;
  padding: 14px 16px; border-radius: 3px; margin-bottom: 14px; font-size: 0.88rem;
}
.form-error.show, .form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--midnight);
  color: rgba(255,255,255,0.62);
  padding: clamp(60px, 7vw, 90px) var(--gutter) 40px;
}
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 18px; max-width: 300px; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.9rem; padding: 6px 0; color: rgba(255,255,255,0.62); transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255,255,255,0.42);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(150px, 18vw, 210px) var(--gutter) clamp(60px, 7vw, 90px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 460px at 80% 0%, rgba(184,154,98,0.15), transparent 55%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); max-width: 820px; margin: 20px 0 0; }
.page-hero .lede { color: rgba(255,255,255,0.7); margin-top: 20px; max-width: 660px; }

/* ---------- Legal ---------- */
.legal-body { max-width: 780px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gutter); }
.legal-body h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.legal-body h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.legal-body p { color: #3a4352; margin-bottom: 16px; line-height: 1.85; }
.legal-body ul { list-style: disc; margin: 0 0 16px 20px; }
.legal-body ul li { margin-bottom: 8px; color: #3a4352; }
.legal-body .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .step:nth-child(2) { border-right: none; }
  .process .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .feature-case { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-metrics { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 84vw); height: 100vh;
    background: var(--midnight);
    flex-direction: column; align-items: flex-start;
    padding: 90px 32px 40px;
    gap: 4px;
    transition: right 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 1.05rem; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-2, .leader-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process .step { border-right: none; border-bottom: 1px solid var(--line); }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-metrics .metric { padding: 18px 16px; }
  .hero-metrics .metric .num { font-size: 1.5rem; }
}

/* ---------- Misc utilities ---------- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
