/* ═════════════════════════════════════════════════════════════
   EJT DIGITAL — main.css
   Built from Brand System V1.1
   ═════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@200;300;400;500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black: #000000;
  --dark:  #3A3A3A;
  --mid:   #9A9A9A;
  --line:  #D8D8D6;
  --off:   #F4F4F2;
  --paper: #FFFFFF;
  --champ: #C7B89A;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Advent Pro', 'Helvetica Neue', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --wrap-narrow: 960px;
  --gutter: 32px;
  --nav-h: 96px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;   /* Global overflow guard */
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* Global overflow guard */
  min-width: 320px;     /* Never let layout collapse below smallest phone */
}
/* All media scales fluidly — never bleed off screen */
img, svg, video, canvas, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ── TYPE SCALE ─────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.005em; }
h1 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(42px, 6vw, 84px); }
h2 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 4vw, 56px); }
h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.5vw, 32px); }
h4 { font-family: var(--display); font-weight: 300; font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
}
.eyebrow.champ { color: var(--champ); }

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--dark);
  max-width: 60ch;
}

p { max-width: 65ch; }

.highlight {
  background: linear-gradient(to bottom, transparent 65%, rgba(199,184,154,0.4) 65%, rgba(199,184,154,0.4) 92%, transparent 92%);
  padding: 0 4px;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 96px 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.rule.champ { border-top: 1.5px solid var(--champ); width: 60px; margin: 24px 0; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  border-bottom: 0.5px solid rgba(255,255,255,0);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), -webkit-backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease), height 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(199,184,154,0.15);
  height: calc(var(--nav-h) - 12px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Nav mark — monogram + divider + stacked "EJT / DIGITAL" text */
.nav-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
.nav-mark:hover { opacity: 0.8; }
.nav-mark .nav-mono {
  display: block;
  height: 48px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.nav-mark .nav-divider {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.28);
  transition: height 0.3s var(--ease);
}
.nav-mark .nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--display);
  font-weight: 300;
  color: var(--off);
  line-height: 1;
  letter-spacing: 0.32em;
}
.nav-mark .nav-brand-text .nav-brand-line {
  display: block;
  font-size: 12px;
  color: var(--off);
}
.nav-mark .nav-brand-text .nav-brand-line:last-child {
  font-size: 10px;
  color: var(--champ);
  letter-spacing: 0.28em;
}

/* Scrolled state — nav compresses, monogram + divider shrink proportionally */
.nav.scrolled .nav-mark .nav-mono { height: 40px; }
.nav.scrolled .nav-mark .nav-divider { height: 30px; }
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--champ); }
.nav-cta {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--off);
  padding: 12px 22px;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover { background: var(--champ); }

/* ── MOBILE NAV — slide-out drawer + overlay ─────────────── */
.nav-toggle {
  display: none;
  color: var(--off);
  font-size: 28px;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  background: rgba(255,255,255,0.06);
  color: var(--champ);
}
.nav-toggle:focus-visible { outline: 2px solid var(--champ); outline-offset: 2px; }

/* Dark overlay backdrop — sits under drawer, above content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 98;
  pointer-events: none;
  transition: background 0.35s var(--ease);
}
body.menu-open::before {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
}

/* Slide-out drawer — right side, always in DOM for smooth animation */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86vw;
  max-width: 340px;
  background: var(--black);
  z-index: 99;
  padding: 104px 28px 40px;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateX(0);
  visibility: visible;
}

/* Drawer links — big tap targets, editorial serif */
.mobile-menu a {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--off);
  padding: 18px 4px;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
  line-height: 1.2;
}
.mobile-menu a:hover, .mobile-menu a:focus-visible {
  color: var(--champ);
  padding-left: 12px;
  outline: none;
}
.mobile-menu a.active { color: var(--champ); }
.mobile-menu a:last-child {
  margin-top: 20px;
  background: var(--off);
  color: var(--black);
  padding: 18px 24px;
  border: 0;
  border-radius: 2px;
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  justify-content: center;
}
.mobile-menu a:last-child:hover {
  background: var(--champ);
  color: var(--black);
  padding-left: 24px;
}

/* Lock body scroll when drawer is open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ── HERO (Home) ────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: var(--off);
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ══ EDITORIAL HERO (Figma design) ═════════════════════════ */
.hero.hero-editorial {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/architecture.png') center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
  filter: contrast(1.05) brightness(0.9);
  animation: heroBgDrift 24s ease-in-out infinite alternate;
}
@keyframes heroBgDrift {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
}
.hero-editorial-wrap {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  padding: 0 var(--gutter);
}
.hero-editorial-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--off);
  font-size: clamp(44px, 7.6vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0 auto;
}
.highlight-champ {
  position: relative;
  display: inline-block;
  z-index: 1;
  padding: 0 6px;
}
.highlight-champ::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.14em;
  height: 0.42em;
  background: rgba(199,184,154,0.55);
  z-index: -1;
  border-radius: 1px;
}
.hero-editorial-sub {
  font-family: var(--body);
  font-weight: 400;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.55;
  max-width: 46ch;
  margin: 40px auto 0;
}
.hero-editorial-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.btn-ghost-underline {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--off);
  padding: 0 0 6px;
  border-bottom: 1.5px solid var(--champ);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-ghost-underline:hover {
  color: var(--champ);
}

/* Proof strip immediately after editorial hero */
.hero-proof-strip {
  background: var(--black);
  color: var(--off);
  padding: 48px 0 96px;
}
.hero-proof-strip .hero-proof {
  max-width: 720px;
  margin: 0 auto;
}

/* Case-hero editorial data-viz was reverted per client review. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-title {
  color: var(--off);
  margin-top: 24px;
}
.hero-sub {
  color: var(--mid);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 32px;
  max-width: 42ch;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 32px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--off); color: var(--black); }
.btn-primary:hover { background: var(--champ); }
.btn-secondary { color: var(--off); border-bottom: 0.5px solid rgba(255,255,255,0.4); padding: 0 0 4px; letter-spacing: 0.3em; }
.btn-secondary:hover { color: var(--champ); border-color: var(--champ); }
.btn-dark { background: var(--black); color: var(--off); }
.btn-dark:hover { background: var(--dark); }

/* Case study proof card in hero */
.hero-proof {
  padding: 40px;
  border: 0.5px solid rgba(255,255,255,0.12);
  background: rgba(199,184,154,0.03);
  position: relative;
}
.hero-proof::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 60px;
  border-top: 1.5px solid var(--champ);
}
.hero-proof-eyebrow {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--champ);
  margin-bottom: 24px;
}
.hero-proof-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.3;
  color: var(--off);
}
.hero-proof-attr {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hero-proof-name { font-size: 14px; color: var(--off); font-weight: 500; }
.hero-proof-role { display: block; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mid); margin-top: 4px; font-weight: 400; }
.hero-proof-stat {
  text-align: right;
}
.hero-proof-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--champ);
  line-height: 1;
  display: inline-block;
  position: relative;
  z-index: 2;
  transform-origin: right center;
}

/* Champagne pulse ring behind the number */
.hero-proof-num::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translate(0, -50%) scale(0);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,184,154,0.35) 0%, rgba(199,184,154,0.12) 40%, transparent 70%);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

/* Champagne underline that sweeps in after counter completes */
.hero-proof-num::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 100%;
  width: 0;
  height: 1.5px;
  background: var(--champ);
  transition: width 0.6s var(--ease), left 0.6s var(--ease);
}

/* When the number finishes counting: scale pop + underline sweep only. No shine, no ring. */
.hero-proof-num.counted {
  animation: statPop 0.9s var(--ease) forwards;
}
.hero-proof-num.counted::before {
  /* Ring pulse removed — was reading as a shine effect */
  animation: none;
}
.hero-proof-num.counted::after {
  width: 100%;
  left: 0;
  transition-delay: 0.4s;
}

@keyframes statPop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.14); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* Reduced motion — no pop either */
@media (prefers-reduced-motion: reduce) {
  .hero-proof-num.counted { animation: none; }
}
.hero-proof-lbl {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  max-width: calc(var(--wrap) - var(--gutter) * 2);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
}
.hero-scroll .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--champ);
  letter-spacing: 0;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section-light { background: var(--paper); color: var(--black); }
.section-off { background: var(--off); color: var(--black); }
.section-dark { background: var(--black); color: var(--off); }
.section-dark .lead, .section-dark p { color: var(--mid); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--off); }

.section-head { max-width: 900px; margin-bottom: 48px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }

/* ── PROBLEM SECTION ────────────────────────────────────── */
.problem-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.problem-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  color: var(--black);
}

/* ── THREE-LAYER CARDS ──────────────────────────────────── */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.layer-card {
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.layer-card:hover { transform: translateY(-4px); border-color: var(--champ); }
.layer-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px;
  border-top: 1.5px solid var(--champ);
}
.layer-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--champ);
  line-height: 1;
}
.layer-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin: 24px 0 12px;
}
.layer-desc { font-size: 14px; line-height: 1.6; color: var(--dark); }

/* ── FEATURED CASE STUDY ────────────────────────────────── */
.case-featured {
  padding: 80px;
  background: var(--black);
  color: var(--off);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.case-featured .eyebrow { color: var(--champ); margin-bottom: 24px; }
.case-featured h2 { color: var(--off); }
.case-featured .stat {
  font-family: var(--serif);
  font-style: italic;
  font-size: 96px;
  color: var(--champ);
  line-height: 1;
}
.case-featured .stat-label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 12px;
}
.case-featured .cta-link {
  color: var(--off);
  border-bottom: 0.5px solid var(--champ);
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 32px;
  display: inline-block;
}

/* ── HOW IT WORKS (3 STEPS) ─────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 48px; }
.step { }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--champ);
  line-height: 1;
}
.step-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  margin: 20px 0 12px;
}
.step-desc { font-size: 14px; line-height: 1.6; color: var(--dark); }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--black);
  color: var(--off);
  padding: 128px 0;
  text-align: center;
}
.cta-band h2 { color: var(--off); max-width: 20ch; margin: 0 auto 40px; }
.cta-band .btn-primary { margin-top: 32px; }

/* ── SERVICES / PACKAGES ────────────────────────────────── */
.package-hero-title { margin-top: 24px; max-width: 20ch; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pkg-card {
  padding: 48px 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg-card.featured {
  background: var(--black);
  color: var(--off);
  border-color: var(--black);
}
.pkg-card.featured .pkg-price, .pkg-card.featured .pkg-name { color: var(--off); }
.pkg-card.featured .pkg-desc, .pkg-card.featured .pkg-features li { color: var(--mid); }
.pkg-card.featured .pkg-features li strong { color: var(--off); }
.pkg-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--champ);
  color: var(--black);
  padding: 4px 12px;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}
.pkg-eyebrow { font-family: var(--body); font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--mid); }
.pkg-name { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--black); margin-top: 8px; }
.pkg-price { font-family: var(--display); font-weight: 300; font-size: 28px; color: var(--black); margin-top: 16px; letter-spacing: 0.02em; }
.pkg-price small { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); display: block; margin-top: 4px; font-family: var(--body); font-weight: 400; }
.pkg-desc { font-size: 13px; color: var(--dark); margin: 20px 0 24px; line-height: 1.5; }
.pkg-features { flex: 1; }
.pkg-features li {
  font-size: 13px;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pkg-features li::before { content: "+"; color: var(--champ); flex-shrink: 0; font-family: var(--serif); font-style: italic; font-size: 16px; }
.pkg-card.featured .pkg-features li { border-color: rgba(255,255,255,0.08); }
.pkg-features li.excluded { color: var(--mid); text-decoration: line-through; opacity: 0.5; }
.pkg-features li.excluded::before { content: "×"; color: var(--mid); }
.pkg-cta { margin-top: 32px; }

/* Simple pricing tables for retainers + maintenance */
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.pricing-table th, .pricing-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing-table th { font-family: var(--body); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); font-weight: 500; }
.pricing-table td.tier { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--black); }
.pricing-table td.price { font-family: var(--display); font-weight: 300; font-size: 20px; color: var(--black); white-space: nowrap; }
.pricing-table td.desc { font-size: 13px; color: var(--dark); }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 128px;
}
.about-lead { margin-top: 32px; max-width: 32ch; font-size: 24px; }
.about-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  margin-top: 96px;
  align-items: start;
}
.about-label { font-family: var(--body); font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--mid); }
.about-body p { font-size: 17px; line-height: 1.7; color: var(--dark); margin-bottom: 24px; }
.about-body p strong { color: var(--black); font-weight: 500; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }

/* ── WORK / CASE STUDIES INDEX ──────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.work-card {
  padding: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: block;
}
.work-card:hover { border-color: var(--champ); transform: translateY(-4px); }
.work-card .eyebrow.champ { margin-bottom: 24px; display: block; }
.work-card h3 { color: var(--black); margin-bottom: 24px; }
.work-card .meta { display: flex; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mid); flex-wrap: wrap; }

/* Linked work card (clickable) */
.work-card--linked {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.work-card-inner { position: relative; z-index: 2; }
.work-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  filter: grayscale(20%);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.work-card--mukoti .work-card-bg {
  background-image: url('../images/mukoticleaninglogo.png');
  background-size: 60% auto;
  background-position: right center;
}
.work-card--linked:hover .work-card-bg {
  opacity: 0.11;
  transform: scale(1.04);
}
.work-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--champ);
  padding-bottom: 6px;
  transition: gap 0.25s var(--ease);
}
.work-card-cta .arrow {
  font-family: var(--serif);
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}
.work-card--linked:hover .work-card-cta { gap: 18px; }
.work-card--linked:hover .work-card-cta .arrow { transform: translateX(4px); }

/* ══ CASE STUDY DETAIL PAGE ═══════════════════════════════ */
.case-page-hero {
  background: var(--black);
  color: var(--off);
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
  position: relative;
}
.case-backlink {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s var(--ease);
  display: inline-block;
}
.case-backlink:hover { color: var(--champ); }
.case-page-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--off);
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 24px 0 32px;
  max-width: 18ch;
}
.case-page-title em {
  color: var(--champ);
  font-style: italic;
  font-weight: 400;
}
.case-page-sub {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mid);
  max-width: 60ch;
  margin-bottom: 56px;
}
.case-page-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 0.5px solid rgba(255,255,255,0.12);
}
.case-page-meta-item { display: flex; flex-direction: column; gap: 8px; }
.case-page-meta-lbl {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
}
.case-page-meta-val {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--off);
  font-size: 18px;
  line-height: 1.3;
}

/* Deliverables gallery */
.case-deliverable {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
}
.case-deliverable:first-of-type { margin-top: 56px; }
.case-deliverable--reverse { direction: rtl; }
.case-deliverable--reverse > * { direction: ltr; }
.case-deliverable-image {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-deliverable-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.case-deliverable-image--dark {
  background: var(--black);
  padding: 48px;
}
.case-deliverable-image--dark img {
  object-fit: contain;
  padding: 24px;
}
.case-deliverable-caption {
  padding: 0 24px;
}
.case-deliverable-caption .eyebrow { margin-bottom: 16px; display: block; }
.case-deliverable-caption h3 {
  color: var(--black);
  margin-bottom: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
}
.case-deliverable-caption p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}

/* Results grid */
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 56px;
}
.case-result {
  text-align: left;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.case-result-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1;
  color: var(--black);
  display: inline-block;
  margin-bottom: 20px;
}
.case-result-num--word {
  color: var(--champ);
  font-size: clamp(38px, 4.4vw, 56px);
}
.case-result-suffix {
  font-size: 0.5em;
  color: var(--champ);
  margin-left: 4px;
}
.case-result-lbl {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--dark);
  max-width: 32ch;
}

/* Case page — mobile */
@media (max-width: 768px) {
  .case-page-hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 64px; }
  .case-page-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 32px; }
  .case-deliverable {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }
  .case-deliverable--reverse { direction: ltr; }
  .case-deliverable-image { aspect-ratio: 16 / 10; }
  .case-deliverable-image--dark { padding: 24px; }
  .case-deliverable-caption { padding: 0; }
  .case-results-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 40px; }
  .case-result { padding: 24px 0; }
  .work-card--mukoti .work-card-bg {
    background-size: 80% auto;
    background-position: center right -20px;
    opacity: 0.05;
  }
}

.coming-soon {
  padding: 96px;
  background: var(--off);
  text-align: center;
  border: 1px dashed var(--mid);
  margin-top: 48px;
}
.coming-soon h3 { color: var(--black); margin-bottom: 16px; }
.coming-soon p { color: var(--dark); margin: 0 auto; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  margin-top: 64px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form label {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--body);
  font-size: 16px;
  color: var(--black);
  transition: border-color 0.2s var(--ease);
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--champ);
}
.contact-form textarea { resize: vertical; min-height: 120px; padding: 16px 0; }
.contact-form button { align-self: flex-start; margin-top: 24px; }

/* Consent checkbox */
.form-consent {
  margin-top: 8px;
  padding: 16px 20px;
  background: rgba(199,184,154,0.04);
  border-left: 2px solid var(--champ);
}
.form-consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--dark);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.55;
  margin-bottom: 0;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--champ);
}
.form-consent a { color: var(--black); border-bottom: 0.5px solid var(--champ); }
.form-consent a:hover { color: var(--champ); }

/* Form status messages */
.form-status {
  min-height: 24px;
  margin-top: 16px;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  padding: 0;
  transition: opacity 0.3s var(--ease);
}
.form-status:empty { display: none; }
.form-status--success {
  color: #2E7D5A;
  padding: 14px 18px;
  background: rgba(46,125,90,0.06);
  border-left: 2px solid #2E7D5A;
}
.form-status--error {
  color: #B85450;
  padding: 14px 18px;
  background: rgba(184,84,80,0.06);
  border-left: 2px solid #B85450;
}

.contact-side { padding-left: 32px; border-left: 1px solid var(--line); }
.contact-side .item { margin-bottom: 32px; }
.contact-side .item .label { font-family: var(--body); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.contact-side .item .value { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--black); }
.contact-side .item .value a { border-bottom: 0.5px solid var(--champ); }

/* WhatsApp float button — uses custom EJT brand icon */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--off);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.10);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.whatsapp-float img {
  width: 34px;
  height: 34px;
  display: block;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--champ);
  box-shadow: 0 8px 32px rgba(199,184,154,0.35), 0 2px 8px rgba(0,0,0,0.10);
}
.whatsapp-float:hover img { transform: rotate(-8deg); }

/* Custom WhatsApp icon variant — icon has its own visual container, so no wrapper needed */
.whatsapp-float--custom {
  background: transparent;
  width: 68px;
  height: 68px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float--custom img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float--custom:hover {
  background: transparent;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 36px rgba(199,184,154,0.35), 0 4px 12px rgba(0,0,0,0.15);
}
.whatsapp-float--custom:hover img { transform: none; }

/* Founder headshot (About page) — circular editorial crop */
.founder-portrait {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--off);
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(199,184,154,0.4);
  pointer-events: none;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.15) contrast(1.02);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.founder-portrait:hover img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.05);
}
.founder-block {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 32px 0;
}
.founder-caption {
  padding-top: 16px;
}
.founder-caption .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--black);
  margin-bottom: 4px;
}
.founder-caption .role {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mid);
  text-transform: uppercase;
}

/* ═════════════════════════════════════════════
   ANIMATIONS — restrained editorial motion
   ═════════════════════════════════════════════ */

/* Fade-in-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Stat counter — champagne underline sweep + subtle scale on reveal */
.stat, .hero-proof-num, .layer-num, .step-num {
  display: inline-block;
  position: relative;
}
.stat[data-count],
.hero-proof-num[data-count] {
  transition: transform 0.4s var(--ease);
}
/* .stat numbers — glow pulse removed. Count animation still runs; the number just settles cleanly. */
.stat.counted {
  animation: none;
}
/* .hero-proof-num.counted uses the richer statPop + ringPulse combo — defined below */

/* Champagne underline sweep on H2 headlines when in view */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  height: 1.5px;
  width: 0;
  background: var(--champ);
  transition: width 1.2s var(--ease) 0.3s;
}
.section-head.in-view h2::after { width: 60px; }

/* Hover lift for cards */
.layer-card, .work-card, .pkg-card, .step {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.layer-card:hover, .work-card:hover, .pkg-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.step:hover .step-num { color: var(--champ); transition: color 0.3s var(--ease); }

/* Button micro-interactions */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199,184,154,0.25), transparent);
  transition: left 0.7s var(--ease);
}
.btn:hover::before { left: 100%; }

/* Nav-mark subtle brightness on hover */
.nav-mark { transition: opacity 0.3s var(--ease); }
.nav-mark:hover { opacity: 0.75; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1; transform: none; transition: none; }
  .section-head h2::after { transition: none; width: 60px; }
  .btn::before { display: none; }
  .stat.counted, .hero-proof-num.counted { animation: none; }
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--off);
  padding: 96px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--off);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--mid); max-width: 40ch; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champ);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a { font-size: 13px; color: var(--off); transition: color 0.2s var(--ease); }
.footer-col ul li a:hover { color: var(--champ); }
.footer-meta {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--mid);
  border-bottom: 0.5px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal a:hover {
  color: var(--champ);
  border-bottom-color: var(--champ);
}

/* ── UTILITY ────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet + Mobile
   Breakpoints:
     ≤ 900px  → Tablet + collapsed grids, drawer nav on
     ≤ 767px  → Full mobile treatment
     ≤ 480px  → Phone-specific (320-480px range) — the focus
   ═══════════════════════════════════════════════════════════ */

/* ── TABLET + collapsed grids ── */
@media (max-width: 900px) {
  :root { --gutter: 20px; --nav-h: 76px; }

  .nav-mark { gap: 10px; }
  .nav-mark .nav-mono { height: 40px; }
  .nav-mark .nav-divider { height: 30px; }
  .nav-mark .nav-brand-text .nav-brand-line { font-size: 10px; letter-spacing: 0.28em; }
  .nav-mark .nav-brand-text .nav-brand-line:last-child { font-size: 8px; }
  .nav.scrolled .nav-mark .nav-mono { height: 34px; }
  .nav.scrolled .nav-mark .nav-divider { height: 26px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  section { padding: 64px 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-scroll { display: none; }

  .problem-body, .layers-grid, .steps, .work-grid, .about-body, .contact-body, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-featured { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .packages { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .contact-side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }

  h1 { font-size: clamp(36px, 6vw, 48px); }
  h2 { font-size: clamp(28px, 4.4vw, 36px); }
  .problem-quote { font-size: 22px; }
  .case-featured .stat { font-size: 64px; }

  .footer { padding: 72px 0 32px; }
  .footer-grid { gap: 40px; padding-bottom: 40px; }
}

/* ── FULL MOBILE (≤ 767px) ── */
@media (max-width: 767px) {
  :root { --gutter: 18px; --nav-h: 72px; }

  section { padding: 56px 0; }

  /* Editorial hero */
  .hero.hero-editorial {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 56px;
    min-height: auto;
    text-align: center;
  }
  .hero-editorial-title { font-size: clamp(30px, 8.5vw, 48px); max-width: 16ch; margin: 0 auto; }
  .hero-editorial-sub { font-size: 16px; margin-top: 28px; max-width: 100%; }
  .hero-editorial-ctas {
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    align-items: stretch;
  }
  .hero-editorial-ctas .btn-primary { width: 100%; justify-content: center; }
  .hero-editorial-ctas .btn-ghost-underline {
    align-self: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
  }

  /* Classic hero */
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .hero-title { font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .btn { width: 100%; justify-content: center; min-height: 52px; }
  .btn-secondary {
    width: auto;
    align-self: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
  }
  .hero-proof { padding: 24px; }
  .hero-proof-strip { padding: 32px 0 64px; }

  /* WhatsApp float */
  .whatsapp-float,
  .whatsapp-float--custom {
    width: 56px;
    height: 56px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float img { width: 30px; height: 30px; }

  /* CTA bands */
  .cta-band { padding: 72px 0; }
  .cta-band h2 { font-size: clamp(28px, 6vw, 36px); }

  /* Footer meta stacks */
  .footer-meta { flex-direction: column; gap: 14px; align-items: flex-start; }

  /* Founder portrait scales */
  .founder-portrait { width: 200px; height: 200px; margin: 0 auto; }
  .founder-block { flex-direction: column; gap: 32px; align-items: center; text-align: center; }
  .founder-caption { padding-top: 0; text-align: center; }

  /* Ensure every anchor/button in nav + content has tap target */
  .btn-dark, .btn-primary, .btn-secondary, .btn-ghost-underline {
    min-height: 48px;
  }

  /* Footer links comfortable to tap */
  .footer-col ul li { padding: 10px 0; }
  .footer-col ul li a { font-size: 15px; display: inline-block; min-height: 32px; padding: 4px 0; }
  .footer-col h4 { font-size: 11px; margin-bottom: 20px; }
  .footer-brand h3 { font-size: 26px; }
  .footer-brand p { font-size: 14px; }

  /* Contact form inputs bigger tap targets */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;   /* Prevents iOS zoom-on-focus */
    padding: 18px 0;
    min-height: 52px;
  }
  .contact-form textarea { min-height: 140px; }
  .contact-form label { font-size: 11px; }

  /* Consent checkbox — larger tap target */
  .form-consent { padding: 18px 20px; }
  .form-consent input[type="checkbox"] { width: 20px; height: 20px; }
  .form-consent label { font-size: 14px; }

  /* Contact side */
  .contact-side .item { margin-bottom: 28px; }
  .contact-side .item .value { font-size: 18px; }
  .contact-side .item .value a { display: inline-block; padding: 6px 0; min-height: 36px; }
  .contact-body { gap: 48px; }

  /* Package cards */
  .pkg-card { padding: 36px 24px; }
  .pkg-price { font-size: 32px; }
  .pkg-features li { padding: 12px 0; font-size: 15px; }
  .pkg-cta { width: 100%; text-align: center; justify-content: center; }

  /* Layer / step / values cards */
  .layer-card, .step { padding: 32px 24px; }
  .layer-title { font-size: 22px; }
  .layer-desc { font-size: 15px; }

  /* Work grid cards */
  .work-card { padding: 32px 24px; }
  .work-card h3 { font-size: clamp(24px, 5.5vw, 30px); margin-bottom: 20px; }
  .work-card p { font-size: 15px; }
  .work-card .meta {
    gap: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
    padding-top: 20px;
    margin-top: 24px;
  }
  .work-card-cta { margin-top: 24px; font-size: 10px; letter-spacing: 0.28em; min-height: 44px; align-items: center; }

  /* Section head */
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(28px, 6.5vw, 40px); }

  /* Problem quote */
  .problem-quote { font-size: 20px; padding: 24px; }
  .problem-body { gap: 24px; }

  /* Sitewide long-form paragraph readability */
  p { font-size: 16px; line-height: 1.65; }

  /* Case study page */
  .case-page-title { font-size: clamp(32px, 8vw, 52px); max-width: 100%; }
  .case-page-sub { font-size: 16px; margin-bottom: 40px; }
  .case-backlink { font-size: 12px; padding: 8px 0; display: inline-block; min-height: 40px; }
  .case-deliverable-caption h3 { font-size: 24px; }
  .case-deliverable-caption p { font-size: 15px; }
  .case-deliverable-image--dark { padding: 20px; }
  .case-deliverable-image--dark img { padding: 12px; }
  .case-result-num { font-size: clamp(44px, 12vw, 64px); }
  .case-result-lbl { font-size: 14px; max-width: 100%; }

  /* Pricing table — mobile-safe */
  .pricing-table th, .pricing-table td { padding: 14px 10px; }
  .pricing-table td.tier { font-size: 14px !important; line-height: 1.4; }
  .pricing-table td.price { font-size: 14px !important; }
  /* Highlighted total rows (inline style overrides) */
  .pricing-table tbody tr:last-child td.tier { font-size: 16px !important; }
  .pricing-table tbody tr:last-child td.price { font-size: 22px !important; }
  .pricing-table tbody tr:nth-last-child(2) td.tier,
  .pricing-table tbody tr:nth-last-child(2) td.price { font-size: 16px !important; }

  /* Lead paragraph */
  .lead { font-size: 17px; }

  /* Long content lists (services .tight) */
  ul.tight li { font-size: 14px; line-height: 1.55; padding: 12px 0; }

  /* About page hero */
  .about-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }
  .about-lead { font-size: 20px; max-width: 100%; }
}

/* ── PHONE VIEWPORT (320-480px) — the tightest treatment ── */
@media (max-width: 480px) {
  :root { --gutter: 16px; }

  /* Nav bar even more compact */
  .nav-mark .nav-mono { height: 34px; }
  .nav-mark .nav-divider { height: 26px; }
  .nav-mark .nav-brand-text .nav-brand-line { font-size: 9px; letter-spacing: 0.22em; }
  .nav-mark .nav-brand-text .nav-brand-line:last-child { font-size: 7px; }

  /* Sections tighter but still breathe */
  section { padding: 48px 0; }

  /* Hero — never let title collide with viewport edge */
  .hero-editorial-title { font-size: clamp(28px, 8vw, 40px); line-height: 1.08; }
  .hero-editorial-sub { font-size: 15px; margin-top: 22px; }
  .hero-editorial-ctas { margin-top: 28px; gap: 16px; }
  .highlight-champ { padding: 0 3px; }
  .highlight-champ::before { bottom: 0.1em; height: 0.4em; }

  /* Section heads */
  .section-head h2 { font-size: clamp(24px, 7vw, 34px); line-height: 1.15; }

  /* Buttons — full width primary, 48px tap min */
  .btn {
    padding: 16px 24px;
    font-size: 11px;
    letter-spacing: 0.22em;
    min-height: 52px;
    gap: 8px;
  }
  .btn-ghost-underline { font-size: 11px; letter-spacing: 0.24em; }

  /* Package cards */
  .pkg-card { padding: 32px 20px; }
  .pkg-name { font-size: 30px; }
  .pkg-price { font-size: 28px; letter-spacing: -0.01em; }
  .pkg-price small { font-size: 9px; letter-spacing: 0.2em; }
  .pkg-eyebrow { font-size: 10px; letter-spacing: 0.28em; }
  .pkg-features li { font-size: 14px; padding: 10px 0; line-height: 1.5; }
  .pkg-badge { font-size: 9px; padding: 6px 12px; }

  /* Package layout tighten */
  .packages { gap: 20px; }

  /* Layer / step / work card */
  .layer-card, .step, .work-card { padding: 28px 20px; }
  .layer-title, .step h3 { font-size: 20px; }
  .layer-desc, .step p { font-size: 14px; }
  .work-card h3 { font-size: 24px; }
  .work-card p { font-size: 14px; line-height: 1.6; }
  .work-card .meta span { display: inline-block; }

  /* Case study page — phone */
  .case-page-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
  .case-page-title { font-size: clamp(28px, 8.5vw, 44px); line-height: 1.05; }
  .case-page-sub { font-size: 15px; margin-bottom: 32px; }
  .case-page-meta { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
  .case-page-meta-item { flex-direction: row; gap: 12px; align-items: baseline; justify-content: space-between; }
  .case-page-meta-lbl { font-size: 9px; }
  .case-page-meta-val { font-size: 16px; }

  .case-deliverable { margin-top: 40px; gap: 20px; }
  .case-deliverable-caption h3 { font-size: 22px; margin-bottom: 12px; }
  .case-deliverable-caption p { font-size: 14px; }
  .case-deliverable-image--dark { padding: 16px; }
  .case-deliverable-image--dark img { padding: 8px; }
  .case-result-num { font-size: clamp(40px, 14vw, 56px); }
  .case-result-lbl { font-size: 13px; }
  .case-result { padding: 20px 0; }

  /* Hero proof card */
  .hero-proof { padding: 20px; }
  .hero-proof-quote { font-size: 17px; line-height: 1.4; }
  .hero-proof-num { font-size: 34px; }
  .hero-proof-eyebrow { font-size: 9px; letter-spacing: 0.28em; margin-bottom: 16px; }

  /* CTA bands */
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.15; }
  .cta-band .btn-primary { width: 100%; }

  /* Contact form — comfortable tap targets, no iOS zoom */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;
    padding: 16px 0;
    min-height: 52px;
  }

  /* Footer — bigger tap targets */
  .footer { padding: 56px 0 28px; }
  .footer-grid { gap: 32px; padding-bottom: 32px; }
  .footer-brand h3 { font-size: 24px; }
  .footer-brand p { font-size: 13px; }
  .footer-col ul li { padding: 8px 0; }
  .footer-col ul li a {
    font-size: 15px;
    display: inline-block;
    padding: 8px 0;
    min-height: 44px;
    line-height: 1.3;
  }
  .footer-meta { font-size: 9px; letter-spacing: 0.22em; gap: 12px; }
  .footer-legal a { padding: 4px 0; display: inline-block; }

  /* WhatsApp float positioned safely above thumb reach */
  .whatsapp-float,
  .whatsapp-float--custom {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float img { width: 26px; height: 26px; }

  /* Founder portrait */
  .founder-portrait { width: 180px; height: 180px; }
  .founder-caption .name { font-size: 20px; }

  /* Long paragraph blocks */
  p { font-size: 16px; line-height: 1.65; }

  /* Eyebrow labels */
  .eyebrow { font-size: 10px; letter-spacing: 0.28em; }

  /* Scarcity badge on services page */
  section .wrap div[style*="border-left: 3px solid"] {
    padding: 20px 18px !important;
  }
  section .wrap div[style*="border-left: 3px solid"] p {
    font-size: 14px !important;
  }

  /* Not-ready capture on contact page — bigger touch surface */
  .contact-form div[style*="rgba(199,184,154,0.06)"] {
    padding: 20px 18px !important;
  }
}

/* ── VERY SMALL PHONES (≤ 360px) — extra safety ── */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .hero-editorial-title { font-size: 26px; }
  .section-head h2 { font-size: 22px; }
  .pkg-name { font-size: 26px; }
  .pkg-price { font-size: 24px; }
  .btn { padding: 14px 20px; font-size: 10px; letter-spacing: 0.2em; }
  .nav-mark .nav-brand-text { display: none; }   /* Ultra-tight: hide EJT/DIGITAL text, keep monogram */
  .nav-mark .nav-divider { display: none; }
}
