/* ============================================================
   Santos Law Premium V5 — Editorial Premium
   ============================================================ */

:root {
  /* Surface */
  --bg: #EFE9DC;
  --bg-2: #E5DDC9;
  --bg-3: #F6F2E7;
  --surface: #FBF8EF;
  --ink-surface: #0B0F18;
  --ink-surface-2: #11151E;

  /* Ink */
  --ink: #0B0F18;
  --ink-2: #1A1F2B;
  --ink-3: #5B5E68;
  --ink-4: #8A8B87;

  /* Borders */
  --line: #D6CFBE;
  --line-soft: #E3DCC9;
  --line-dark: #1F2330;

  /* Accent */
  --accent: #B27B36;          /* brass */
  --accent-2: #C48F4B;        /* warm brass hover */
  --accent-ink: #6A4615;      /* deep brass */
  --note: #EFD37A;            /* sticky note */
  --note-ink: #5A461C;

  /* Type */
  --serif: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', monospace;

  /* Layout */
  --page-max: 1320px;
  --gutter: 32px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 110px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* ============================================================
   Type
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(178, 123, 54, 0.14);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.6); }
.eyebrow.on-dark::before { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(196, 143, 75, 0.18); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--accent-ink);
}
.h1 { font-size: clamp(48px, 6.4vw, 92px); }
.h2 { font-size: clamp(40px, 4.6vw, 64px); }
.h3 { font-size: clamp(28px, 2.4vw, 36px); }

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 56ch;
  margin: 0;
}
.body-text { color: var(--ink-3); font-size: 16px; line-height: 1.6; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #FBF8EF;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-primary .arrow {
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--accent); display: inline-flex;
  align-items: center; justify-content: center;
  color: #FBF8EF;
  margin-left: 2px;
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: transparent; padding: 14px 4px;
}
.btn-ghost:hover { color: var(--accent-ink); }
.btn-ghost .arrow {
  width: 22px; height: 22px; border-radius: 99px;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.btn-ghost:hover .arrow { background: var(--ink); color: var(--bg); }
.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }
.btn-on-dark { background: var(--bg-3); color: var(--ink); border-color: var(--bg-3); }
.btn-on-dark:hover { background: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 233, 220, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(214, 207, 190, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo svg { height: 22px; width: auto; }
.nav-logo-img { height: 20px; width: auto; display: block; filter: brightness(0); }
.nav-logo-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  border-radius: 7px;
  font-family: var(--serif); font-size: 18px;
  font-style: italic;
  line-height: 1;
  padding-bottom: 2px;
}
.nav-logo-text {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo-text .accent { color: var(--accent-ink); font-style: italic; font-family: var(--serif); font-weight: 400; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 14px; color: var(--ink-2);
  font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.hero-left {
  display: flex; flex-direction: column;
  gap: 32px;
}
.hero-h1 .underline {
  display: inline;
  background-image: linear-gradient(180deg, transparent 70%, rgba(178, 123, 54, 0.28) 70%, rgba(178, 123, 54, 0.28) 92%, transparent 92%);
  padding: 0 2px;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hero-meta {
  display: flex; align-items: center; gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.hero-avatars {
  display: flex; align-items: center;
}
.hero-avatars img {
  width: 38px; height: 38px;
  border-radius: 99px;
  border: 2px solid var(--bg);
  object-fit: cover;
  margin-left: -10px;
}
.hero-avatars img:first-child { margin-left: 0; }
.hero-meta-text {
  font-size: 13px; color: var(--ink-3); line-height: 1.4;
}
.hero-meta-text strong { color: var(--ink); font-weight: 600; }

.hero-stars { display: inline-flex; gap: 2px; color: var(--accent); }

/* Hero image stage */
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 40px 60px -30px rgba(11, 15, 24, 0.35),
    0 18px 30px -20px rgba(11, 15, 24, 0.2);
}
.hero-stage::after {
  /* subtle vignette to make glass cards pop */
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,24,0) 35%, rgba(11,15,24,0.4) 100%),
    linear-gradient(220deg, rgba(11,15,24,0.05) 0%, rgba(11,15,24,0.25) 100%);
  pointer-events: none;
}
.hero-stage img.hero-photo {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

/* Frosted glass cards over hero */
.glass {
  background: rgba(15, 19, 28, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #FBF8EF;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.4);
}
.glass-light {
  background: rgba(251, 248, 239, 0.86);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.hero-badge {
  position: absolute;
  top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: #6ED28A;
  box-shadow: 0 0 0 4px rgba(110, 210, 138, 0.22);
}

.hero-cards-stack {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-card {
  padding: 16px 18px;
}
.hero-card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.hero-card-title em { font-style: italic; color: var(--accent-2); }
.hero-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: #FBF8EF;
}

.hero-floating {
  position: absolute;
  top: 24px; right: 24px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 14px;
  max-width: 240px;
}
.hero-floating-num {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-style: italic;
  color: var(--accent-ink);
}
.hero-floating-text {
  font-size: 12px; color: var(--ink-3); line-height: 1.35;
}

/* Hero side rail with marquee firm list */
.firm-rail {
  margin-top: 88px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 4fr;
  gap: 40px;
  align-items: center;
}
.firm-rail-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.firm-rail-list {
  display: flex; flex-wrap: wrap;
  gap: 16px 36px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.firm-rail-list span { display: inline-flex; align-items: center; gap: 36px; }
.firm-rail-list span::after {
  content: '·';
  color: var(--ink-4);
  margin-left: -10px;
}
.firm-rail-list span:last-child::after { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .display { max-width: 18ch; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-card {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.2s ease;
  display: flex; flex-direction: column;
  min-height: 260px;
  position: relative;
}
.svc-card:hover { background: var(--bg-3); }
.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.svc-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  margin: 28px 0 28px;
}
.svc-icon-accent { background: var(--accent); color: #FBF8EF; }
.svc-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 12px 0;
}
.svc-title em { font-style: italic; color: var(--accent-ink); }
.svc-body {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.svc-card .svc-meta {
  margin-top: auto;
  padding-top: 24px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg); }
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.process-steps {
  display: flex; flex-direction: column;
  gap: 18px;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 28px;
  align-items: start;
  transition: all 0.25s ease;
  position: relative;
}
.process-step:hover {
  border-color: var(--accent);
  transform: translateX(-2px);
  box-shadow: 0 18px 40px -28px rgba(178, 123, 54, 0.35);
}
.process-step-marker {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  font-style: italic;
  color: var(--accent-ink);
}
.process-step-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.process-step-body p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  max-width: 52ch;
}
.process-step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
}
.process-step-meta {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 9px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 99px;
}

.sticky-aside {
  position: sticky; top: 110px;
  display: flex; flex-direction: column;
  gap: 24px;
}
.note {
  background: var(--note);
  color: var(--note-ink);
  padding: 24px 24px;
  border-radius: 4px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
  font-style: italic;
  letter-spacing: -0.005em;
  transform: rotate(-1.6deg);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04) inset,
    0 22px 40px -22px rgba(90, 70, 28, 0.45),
    0 10px 20px -12px rgba(90, 70, 28, 0.25);
  position: relative;
}
.note::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 14px;
  background: rgba(90, 70, 28, 0.16);
  border-radius: 2px;
}
.note .note-label {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}
.note p { margin: 0; }

.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
.aside-card .h-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.aside-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.aside-card .stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-num em { font-style: italic; color: var(--accent-ink); }
.stat-label {
  font-size: 12px; color: var(--ink-3);
  margin-top: 4px;
}

/* Free-guide lead form (replaces the aside CTA button) */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.guide-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 12px 0 20px;
}
.guide-title em { font-style: italic; color: var(--accent-ink); }
.guide-form { display: flex; flex-direction: column; gap: 16px; }
.guide-field { display: flex; flex-direction: column; gap: 8px; }
.guide-field label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.guide-field input {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.guide-field input::placeholder { color: var(--ink-4); }
.guide-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178,123,54,0.14);
}
.guide-submit { width: 100%; margin-top: 4px; }
.guide-note {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--ink-4); text-align: center;
}
.guide-success {
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
}

/* ============================================================
   PREMIUM / TEAM FOLD (hover-law bg + glass cards)
   ============================================================ */
.premium-fold {
  position: relative;
  padding: 0;
  background: var(--ink-surface);
  color: #FBF8EF;
  overflow: hidden;
}
.premium-fold-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hover-law.png');
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.05);
}
.premium-fold-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,24,0.55) 0%, rgba(11,15,24,0.5) 40%, rgba(11,15,24,0.85) 100%);
}
.premium-fold-inner {
  position: relative;
  padding: 130px 0 110px;
}
.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.premium-fold .display { color: #FBF8EF; }
.premium-fold .display em { color: var(--accent-2); }
.premium-fold .lead { color: rgba(251, 248, 239, 0.72); }
.premium-fold .eyebrow { color: rgba(251, 248, 239, 0.6); }

.premium-glass-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.premium-glass {
  padding: 26px 22px 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: all 0.25s ease;
}
.premium-glass:hover {
  background: rgba(15, 19, 28, 0.6);
  border-color: rgba(196, 143, 75, 0.45);
}
.premium-glass-head {
  display: flex; align-items: center; justify-content: space-between;
}
.premium-glass-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(251, 248, 239, 0.5);
}
.premium-glass-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.premium-glass h4 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.premium-glass p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(251, 248, 239, 0.65);
  line-height: 1.5;
}

.premium-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 32px;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases { background: var(--bg); }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}
.case + .case { margin-top: 28px; }
.case.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.case.reverse .case-shot { order: 2; }
.case.reverse .case-body { order: 1; padding: 56px 24px 56px 56px; }

.case-shot {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1A1A22;
  overflow: hidden;
}
.case-shot-frame {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
}
.case-browser-bar {
  display: flex; align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #14171F;
  border-bottom: 1px solid #2A2E3A;
}
.case-browser-bar .dot {
  width: 11px; height: 11px; border-radius: 99px; background: #3A3E4A;
}
.case-browser-bar .url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: #8A8B87;
  background: #0B0F18;
  padding: 4px 12px;
  border-radius: 99px;
  flex: 1; max-width: 360px;
}

/* DJURIC mock site */
.mock-djuric {
  flex: 1;
  background: linear-gradient(180deg, #F4EFE6 0%, #E5DDC9 100%);
  color: #0B0F18;
  padding: 22px 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.mock-djuric .mock-nav {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px;
}
.mock-djuric .mock-logo {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.mock-djuric .mock-logo em { font-style: italic; color: var(--accent-ink); }
.mock-djuric .mock-links {
  display: flex; gap: 12px; color: var(--ink-3);
  font-size: 9px;
}
.mock-djuric .mock-hero {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.mock-djuric .mock-hero em { font-style: italic; color: var(--accent-ink); }
.mock-djuric .mock-sub {
  font-size: 9.5px;
  color: var(--ink-3);
  line-height: 1.45;
  max-width: 32ch;
}
.mock-djuric .mock-btn-row {
  display: flex; gap: 8px;
}
.mock-djuric .mock-btn {
  font-size: 9px;
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
}
.mock-djuric .mock-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mock-djuric .mock-pills {
  position: absolute;
  right: 18px; top: 36%;
  display: flex; flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.mock-pill {
  font-family: var(--mono);
  font-size: 8.5px;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(11,15,24,0.06);
  border: 1px solid rgba(11,15,24,0.08);
  color: var(--ink-2);
  letter-spacing: 0.06em;
}
.mock-pill.accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mock-djuric .mock-strip {
  margin-top: auto;
  border-top: 1px solid rgba(11,15,24,0.1);
  padding-top: 10px;
  display: flex; gap: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* LAWTAEM mock site (dark variant) */
.mock-lawtaem {
  flex: 1;
  background: #0E1119;
  color: #FBF8EF;
  padding: 22px 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.mock-lawtaem .mock-nav {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px;
}
.mock-lawtaem .mock-logo {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.mock-lawtaem .mock-logo em { font-style: italic; color: var(--accent-2); }
.mock-lawtaem .mock-links { display: flex; gap: 12px; color: rgba(251,248,239,0.5); font-size: 9px; }
.mock-lawtaem .mock-hero {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.0;
}
.mock-lawtaem .mock-hero em { font-style: italic; color: var(--accent-2); }
.mock-lawtaem .mock-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-top: 8px;
}
.mock-lawtaem .mock-grid > div {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 9px;
  font-size: 8px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: rgba(251,248,239,0.7);
  min-height: 44px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mock-lawtaem .mock-grid > div strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--accent-2);
}
.mock-lawtaem .mock-strip {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(251,248,239,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-body { padding: 56px 56px 56px 24px; }
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.case-tag .pill {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 10px;
}
.case-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 14px 0;
}
.case-title em { font-style: italic; color: var(--accent-ink); }
.case-desc { color: var(--ink-3); margin: 0 0 26px 0; line-height: 1.55; }

.outcome-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px 0;
  display: flex; align-items: center; gap: 8px;
}
.outcome-head::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--accent);
}
.outcome-list { list-style: none; padding: 0; margin: 0 0 28px; }
.outcome-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.outcome-list li:last-child { border-bottom: none; }
.outcome-arrow {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 99px;
  background: rgba(178, 123, 54, 0.12);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.case-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-ink);
  font-size: 16px;
}
.case-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg); }
.testimonials-head {
  text-align: center;
  margin-bottom: 56px;
}
.testimonials-head .display {
  max-width: 22ch; margin: 16px auto 0;
}
.testimonials-head .eyebrow { justify-content: center; }
.tslider { margin-top: 4px; }
.tslider-viewport { overflow: hidden; }
.tslider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.15, 1);
  will-change: transform;
}
.tslider-track .tcard {
  flex: 0 0 calc((100% - 24px) / 2);
  min-height: 300px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: flex; flex-direction: column;
  gap: 24px;
  position: relative;
}
.tcard::after {
  content: '\201D';
  position: absolute;
  top: 30px; right: 34px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  pointer-events: none;
}
.tcard-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 80px;
  line-height: 0.7;
  color: var(--accent);
  height: 30px;
}
.tcard-quote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.tcard-quote em { font-style: italic; color: var(--accent-ink); }
.tcard-attrib {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tcard-avatar {
  width: 44px; height: 44px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tcard-attrib-text strong { font-size: 15px; letter-spacing: -0.005em; display: block; }
.tcard-attrib-text .role { font-size: 12.5px; color: var(--ink-3); }
.tcard-stars {
  position: static;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
}
.tslider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.tslider-arrow {
  width: 52px; height: 52px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.tslider-arrow:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tslider-arrow:disabled {
  opacity: 0.32;
  cursor: default;
}
.tslider-arrow:disabled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.tslider-dots {
  display: flex; align-items: center; gap: 8px;
}
.tslider-dot {
  width: 8px; height: 8px;
  padding: 0; border: none;
  border-radius: 99px;
  background: var(--ink-4);
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}
.tslider-dot.active {
  width: 30px;
  background: var(--accent);
}
.tslider-count {
  text-align: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.testimonials-clutch {
  display: flex; align-items: center; gap: 10px;
  width: fit-content;
  margin: 52px auto 0;
  font-size: 14px; color: var(--ink-3);
}
.testimonials-clutch strong { color: var(--ink); font-size: 15px; }
.testimonials-clutch .tc-stars { display: inline-flex; gap: 2px; color: var(--accent); }
.testimonials-clutch .tc-dot { width: 4px; height: 4px; border-radius: 99px; background: var(--ink-3); opacity: 0.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 72px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--accent-ink); }
.faq-q-left {
  display: flex; align-items: center; gap: 24px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq-num {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  width: 32px;
}
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 99px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.faq-toggle svg { transition: transform 0.25s ease; }
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 28px 56px;
  color: var(--ink-3);
  max-width: 64ch;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg); }
.team-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.team-head .display { max-width: 22ch; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.25s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 32px -20px rgba(178, 123, 54, 0.3);
}
.team-photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info {
  padding: 16px 18px 18px;
}
.team-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 4px;
}
.team-role {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-feature {
  margin-top: 12px;
  background: var(--ink-surface);
  color: #FBF8EF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.team-feature-img {
  background: #0B0F18;
  overflow: hidden;
}
.team-feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
}
.team-feature-body {
  padding: 56px 48px;
  display: flex; flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.team-feature h3 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.team-feature h3 em { font-style: italic; color: var(--accent-2); }
.team-feature p {
  color: rgba(251, 248, 239, 0.72);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
}
.team-feature .meta-row {
  display: flex; gap: 36px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.team-feature .meta-row .stat {
  display: flex; flex-direction: column; gap: 4px;
}
.team-feature .meta-row .num {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  color: var(--accent-2);
  line-height: 1;
}
.team-feature .meta-row .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 239, 0.5);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--bg);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.final-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.final-row-photos {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.final-row-photos img {
  width: 60px; height: 60px;
  border-radius: 99px;
  border: 3px solid var(--bg);
  object-fit: cover;
  margin-left: -14px;
  box-shadow: 0 6px 16px -6px rgba(11,15,24,0.25);
}
.final-row-photos img:first-child { margin-left: 0; }
.final-row-photos .more {
  width: 60px; height: 60px;
  border-radius: 99px;
  border: 3px solid var(--bg);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono); font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: -14px;
}
.final-cta .display { max-width: 22ch; margin: 0 auto; }
.final-cta .lead { margin: 24px auto 36px; text-align: center; }

/* Booking widget — tabs + Calendly + form */
.book-widget {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 64px -34px rgba(11,15,24,0.32);
}
.book-tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.book-tab {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 16px;
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 11px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.book-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.book-tab:hover { color: var(--ink); }
.book-tab.active { background: var(--ink); color: var(--bg-3); }
.book-panel { display: none; }
.book-panel.active { display: block; }
.calendly-inline-widget { min-width: 320px; height: 640px; background: var(--surface); }
.book-calendly { width: 100%; height: 640px; border: 0; display: block; background: var(--surface); }

.book-form { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.book-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-field { display: flex; flex-direction: column; gap: 8px; }
.book-field label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.book-field input, .book-field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.book-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.book-field input::placeholder, .book-field textarea::placeholder { color: var(--ink-4); }
.book-field input:focus, .book-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178,123,54,0.14);
}
.book-submit { justify-content: center; margin-top: 4px; }
.book-form-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3); text-align: center;
}
.book-success { padding: 56px 32px; text-align: center; }
.book-success .display { margin: 0 auto 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-surface);
  color: rgba(251,248,239,0.7);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex; flex-direction: column; gap: 20px;
}
.footer-logo { color: #FBF8EF; display: flex; align-items: center; gap: 12px; }
.footer-logo svg { height: 24px; width: auto; fill: #FBF8EF; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  color: #FBF8EF;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.footer-tagline em { font-style: italic; color: var(--accent-2); }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251,248,239,0.4);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(251,248,239,0.78);
  font-size: 15px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(251,248,239,0.5);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .links { display: flex; gap: 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid, .premium-grid, .section-head, .process-layout, .faq-layout, .team-head, .team-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .case, .case.reverse { grid-template-columns: 1fr; }
  .case-body, .case.reverse .case-body { padding: 40px; order: 2; }
  .case-shot, .case.reverse .case-shot { order: 1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testimonials-clutch { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 0; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .h1 { font-size: 44px; }
  .h2 { font-size: 36px; }
  .firm-rail { grid-template-columns: 1fr; }
  .tslider-track .tcard { flex: 0 0 100%; min-height: 0; }
  /* Let the secondary CTA group wrap instead of overflowing */
  .premium-cta { display: flex; flex-wrap: wrap; }
  .book-field-row { grid-template-columns: 1fr; }

  /* Nav: compact CTA so the bar breathes */
  .nav .btn-primary { font-size: 13px; padding: 10px 15px; }
  .nav .btn-primary .arrow { width: 18px; height: 18px; }

  /* Hero meta: stack so avatars never overlap the rating text */
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Hero image: drop the 4 inner glass cards, keep the badge (top) and the
     stat (moved to a clean full-width bottom bar) so nothing collides/clips */
  .hero-stage { aspect-ratio: 4 / 5; }
  .hero-cards-stack { display: none; }
  .hero-badge { top: 16px; left: 16px; padding: 7px 12px; font-size: 10px; }
  .hero-floating { top: auto; bottom: 16px; left: 16px; right: 16px; max-width: none; }

  /* Process: marker beside body, no empty trailing column */
  .process-step { grid-template-columns: 46px 1fr; padding: 24px; gap: 16px; }
  .process-step > .process-step-num { display: none; }
  .process-step-marker { font-size: 38px; }
  .process-step-body h3 { font-size: 24px; }

  /* Premium value cards: single column so serif titles get room */
  .premium-glass-stack { grid-template-columns: 1fr; }
  .premium-glass { min-height: 0; }
  .premium-fold-inner { padding: 80px 0; }

  /* Testimonials: hide the 17-dot rail (too many at this width); keep arrows + counter */
  .tslider-dots { display: none; }

  /* Team feature card: tighter padding, smaller heading */
  .team-feature-body { padding: 36px 28px; }
  .team-feature h3 { font-size: 30px; }
  .team-feature-img img { min-width: 0; }
}
/* ============================================================
   GSAP / ScrollTrigger — motion states
   ============================================================ */
/* Pre-hide above-the-fold elements so the hero intro can play without a
   flash. Active only while .js-anim is set (inline head script; skipped
   under prefers-reduced-motion). .anim-failed is a safety net: if the
   engine never loads, content is revealed after a short timeout. */
.js-anim .hero-left > *,
.js-anim .hero-stage { opacity: 0; }
.js-anim.anim-failed .hero-left > *,
.js-anim.anim-failed .hero-stage { opacity: 1; }

/* Subtle nav lift once the page is scrolled (toggled by ScrollTrigger) */
.nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
.nav.scrolled {
  box-shadow: 0 12px 30px -24px rgba(11, 15, 24, 0.55);
  background: rgba(239, 233, 220, 0.92);
}

/* Hint the compositor for smoother parallax */
.hero-photo, .premium-fold-bg { will-change: transform; }

/* Very small phones (≤400px): tighten gutters and keep buttons in-bounds */
@media (max-width: 400px) {
  :root { --gutter: 20px; }
  .btn { max-width: 100%; }
  .h2 { font-size: 32px; }
  .nav .btn-primary { font-size: 12px; padding: 9px 13px; }
  .nav-logo-img { height: 18px; }
  .process-step { grid-template-columns: 1fr; gap: 6px; }
  .process-step-marker { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; }
}
