/* ============================================================
   BuildByAyush — Editorial Studio v3
   Cream + Terracotta · loaded AFTER main.css to override.
   This is the new design system.
   ============================================================ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Surfaces */
  --cream:           #FAF7F2;
  --cream-card:      #F1ECE4;
  --cream-deep:      #E9E3D6;

  /* Ink + text */
  --ink:             #1E1E2F;
  --ink-soft:        #2D2D3F;
  --body:            #5F6470;
  --mute:            #8B8FA0;

  /* Lines */
  --line:            #DDD6CC;
  --line-soft:       #E6DFD2;

  /* Brand */
  --terra:           #C8542E;
  --terra-deep:      #A0421F;
  --terra-tint:      rgba(200, 84, 46, 0.08);
  --terra-soft:      rgba(200, 84, 46, 0.18);

  /* Type */
  --serif:   'Instrument Serif', 'Georgia', serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font:    'Inter', system-ui, sans-serif;
}

/* ─── GLOBAL: switch dark theme → light cream ──────────── */
html {
  background: var(--cream) !important;
}
html, body {
  color: var(--ink) !important;
}
/* Architectural blueprint dot grid — global subtle background pattern */
body {
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  background:
    radial-gradient(circle, rgba(200, 84, 46, 0.11) 1px, transparent 1.4px) 0 0 / 30px 30px,
    var(--cream) !important;
}

/* Paper grain texture overlay (very subtle) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  background: var(--terra);
  color: var(--cream);
}

::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: var(--cream); }
::-webkit-scrollbar-thumb  { background: var(--line); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--terra); }

/* Kill v1 dark overlays I added earlier */
.hero::before,
.hero::after,
.case-breakdown::before,
.testimonials-section::before {
  display: none !important;
}
.hero-bg-grid, .hero-glow { display: none !important; }
.page-transition { display: none !important; }

/* ─── NAVBAR (light, comfortable masthead) ─────────────── */
:root { --nav-h: 76px; }
.navbar {
  height: 76px !important;
  background: rgba(250, 247, 242, 0.88) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line) !important;
  padding: 0 48px !important;
}
.nav-logo { color: var(--ink) !important; }
.nav-logo-img {
  height: 64px;
  width: auto;
  /* themed logo already in brand colours — no filter needed */
}
.nav-links a {
  color: var(--ink-soft) !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  position: relative;
}
.nav-links a:hover { color: var(--terra) !important; }
.nav-links a::after {
  background: var(--terra) !important;
  height: 1.5px !important;
  bottom: -6px !important;
}
.nav-links a.active {
  color: var(--terra) !important;
}
.nav-links a.active::after {
  width: 100% !important;
}
.nav-links a[style*="color"] {
  color: var(--terra) !important;
}
.nav-cta, .nav-desktop-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  font-weight: 500 !important;
  padding: 9px 18px !important;
  border-radius: 100px !important;
  font-size: 0.8rem !important;
}
.nav-cta:hover, .nav-desktop-cta:hover {
  background: var(--terra) !important;
}
.nav-toggle span { background: var(--ink) !important; }

/* ─── EDITORIAL TYPOGRAPHY ─────────────────────────────── */
.hero-title,
.section-heading,
.what-heading,
.cb-title,
.sp-header h1,
.ap-name,
.contact-header h1,
.work-page-header h1,
.cta-strip-left h2 {
  color: var(--ink) !important;
  font-family: var(--display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
}

/* Serif italic emphasis — terracotta */
.hero-title em,
.section-heading em,
.what-heading em,
.cb-title em {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--terra) !important;
  background: none !important;
  -webkit-text-fill-color: var(--terra) !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  letter-spacing: -0.005em !important;
  font-size: 1.05em;
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  background: var(--ink) !important;
  color: var(--cream) !important;
  font-weight: 500 !important;
  padding: 12px 22px !important;
  border-radius: 100px !important;
  box-shadow: none !important;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease !important;
}
.btn-primary:hover {
  background: var(--terra) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 84, 46, 0.28) !important;
}
.btn-primary .btn-icon {
  background: rgba(255, 255, 255, 0.18) !important;
}
.btn-outline {
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  background: transparent !important;
  font-weight: 500 !important;
  padding: 11px 22px !important;
  border-radius: 100px !important;
}
.btn-outline:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border-color: var(--ink) !important;
}

/* ─── EDITORIAL SECTION LABEL ──────────────────────────── */
.label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: var(--font) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  color: var(--terra) !important;
}
.label::before {
  content: '' !important;
  width: 28px !important;
  height: 1px !important;
  background: var(--terra) !important;
}
.label.center::before { display: inline-block !important; }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  background: var(--cream) !important;
  min-height: auto !important;
  padding: 38px 48px 0 !important;
  position: relative !important;
  overflow: visible !important;
  display: block !important;
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100% !important;
}
.hero-left {
  max-width: none !important;
  flex: unset !important;
}

.avail-badge {
  background: var(--cream-card) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  border-radius: 100px !important;
  padding: 7px 14px !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  margin-bottom: 32px !important;
}
.avail-dot {
  background: var(--terra) !important;
  width: 6px !important;
  height: 6px !important;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 84, 46, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(200, 84, 46, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 24px !important;
  color: var(--ink) !important;
}
.hero-sub {
  font-size: 1.05rem !important;
  color: var(--body) !important;
  max-width: 480px !important;
  line-height: 1.6 !important;
  margin-bottom: 36px !important;
  font-weight: 400 !important;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hide v1 hero floats/screenshot — replaced by carousel */
.hero-right-desktop .hero-card-stack { display: none !important; }
.hero-right-mobile { display: none !important; }
.hcard { display: none !important; }
.hero-right-desktop {
  display: flex !important;
  flex: unset !important;
  max-width: none !important;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

/* ─── BROWSER-STACK CAROUSEL ───────────────────────────── */
.stack {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 440px;
}
.stack-card {
  position: absolute;
  inset: 0;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 28px 60px -20px rgba(30, 30, 47, 0.22),
              0 8px 16px -4px rgba(30, 30, 47, 0.06);
  transform-origin: center bottom;
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1),
              opacity 700ms cubic-bezier(0.65, 0, 0.35, 1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(70px) scale(0.84);
}
.stack-card[data-pos="0"] {
  opacity: 1;
  z-index: 30;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.stack-card[data-pos="1"] {
  opacity: 0.55;
  z-index: 20;
  transform: translateY(28px) scale(0.95);
}
.stack-card[data-pos="2"] {
  opacity: 0.25;
  z-index: 10;
  transform: translateY(54px) scale(0.9);
}
/* Hide screenshot content on cards behind — only chrome peeks out, no image bleed */
.stack-card:not([data-pos="0"]) .stack-screen { visibility: hidden; }
.stack-card:not([data-pos="0"]) .stack-foot { opacity: 0.5; }

.stack-bar {
  height: 32px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  flex-shrink: 0;
}
.stack-bar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(30, 30, 47, 0.18);
}
.stack-bar-dot:nth-child(1) { background: rgba(200, 84, 46, 0.55); }
.stack-bar-dot:nth-child(2) { background: rgba(200, 84, 46, 0.30); }
.stack-bar-dot:nth-child(3) { background: rgba(200, 84, 46, 0.15); }
.stack-bar-url {
  margin-left: 10px;
  background: var(--cream);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: var(--body);
  max-width: 240px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stack-screen {
  height: calc(100% - 32px - 56px);
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.stack-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.stack-foot {
  height: 56px;
  background: var(--cream-card);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
}
.stack-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stack-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--terra);
  letter-spacing: 0.04em;
  background: rgba(200,84,46,0.08);
  border: 1px solid rgba(200,84,46,0.18);
  padding: 1px 7px;
  border-radius: 3px;
}
.stack-industry {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}

/* Placeholder mockup for projects without screenshots */
.stack-mock {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-card) 100%);
}
.stack-mock-bar {
  height: 10px;
  background: var(--line-soft);
  border-radius: 3px;
  width: 60%;
}
.stack-mock-bar.w40 { width: 40%; }
.stack-mock-bar.w70 { width: 70%; }
.stack-mock-bar.w90 { width: 90%; }
.stack-mock-bar.accent {
  background: var(--terra-soft);
  height: 12px;
}
.stack-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.stack-mock-cell {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 64px;
}
.stack-mock-cell.accent {
  background: var(--terra-tint);
  border-color: var(--terra-soft);
}

/* Stack progress dots */
.stack-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.stack-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.4s ease;
  cursor: pointer;
}
.stack-dot.active {
  background: var(--terra);
  width: 22px;
  border-radius: 100px;
}

/* ─── HERO CLIENT MASTHEAD (static, no marquee) ─────────── */
.hero-marquee { display: none !important; }

/* Hero pull-quote testimonial */
.hero-quote {
  margin: 64px auto 0;
  max-width: 1080px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  z-index: 2;
}
.hq-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--terra);
  align-self: start;
  margin-top: 12px;
}
.hq-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.hq-text em {
  color: var(--terra);
  font-style: italic;
  font-weight: 400;
}
.hq-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hq-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hq-author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  font-family: var(--font);
}
.hq-author-tag {
  font-size: 0.72rem;
  color: var(--body);
  letter-spacing: 0.02em;
  font-family: var(--font);
}

@media (max-width: 768px) {
  .hero-quote {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 16px;
    margin: 40px 0 0;
  }
  .hq-mark { display: none; }
  .hq-text { font-size: 0.98rem; }
}

.hero-clients {
  margin-top: 32px;
  padding: 32px 48px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: var(--cream);
}
.hc-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hc-label::before, .hc-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.hc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}
.hc-client {
  text-align: center;
  flex: 1;
  position: relative;
  padding: 6px 14px;
  transition: transform 0.25s ease;
}
.hc-client + .hc-client::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 14px;
  width: 1px;
  background: var(--line);
}
.hc-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.hc-tag {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body);
}
.hc-tag em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.1em;
}

/* ─── REST OF SITE — temporary cream theme until redesigned ─ */
.logos-bar { display: none !important; }

.case-breakdown, .what-section, .work-section,
.process-section, .testimonials-section, .standalone-stats {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.case-breakdown {
  background: var(--cream-card) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
}
.process-section {
  background: var(--cream-card) !important;
}
.cb-col {
  background: var(--cream) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.cb-col h3 { color: var(--ink) !important; }
.cb-col p, .cb-col li span { color: var(--body) !important; }
.cb-col strong { color: var(--ink) !important; }
.cb-metric-num {
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}
.cb-metric-label { color: var(--ink) !important; }
.cb-metric-sub { color: var(--body) !important; }
.cb-quote {
  background: var(--cream-card) !important;
  border-left: 3px solid var(--terra) !important;
  color: var(--ink) !important;
}
.cb-quote cite { color: var(--body) !important; }
.cb-built-icon { color: var(--terra) !important; }
.cb-col-tag { color: var(--terra) !important; }
.cb-col-verdict {
  background: var(--terra-tint) !important;
  color: var(--ink) !important;
  border-color: var(--terra-soft) !important;
}
.hs-card {
  background: var(--cream) !important;
  border-color: var(--line) !important;
}
.hs-stat-num {
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}
.hs-stat-label { color: var(--ink) !important; }
.hs-stat-context { color: var(--body) !important; }
.standalone-stats { background: var(--cream) !important; }
.hero-stats-grid {
  background: var(--line) !important;
  border-color: var(--line) !important;
}
.testi-card {
  background: var(--cream-card) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.testi-quote { color: var(--ink) !important; font-style: normal !important; }
.testi-name  { color: var(--ink) !important; }
.testi-role  { color: var(--body) !important; }
.testi-stars { color: var(--terra) !important; }
.testi-avatar {
  background: var(--terra-tint) !important;
  border: 1px solid var(--terra-soft) !important;
  color: var(--terra) !important;
}
.work-card {
  background: var(--cream-card) !important;
  border-color: var(--line) !important;
}
.wc-title { color: var(--ink) !important; }
.wc-desc  { color: var(--body) !important; }
.wc-readmore { color: var(--terra) !important; }
.wc-tags span {
  background: var(--cream) !important;
  border-color: var(--line) !important;
  color: var(--body) !important;
}
.wc-badge {
  background: rgba(250, 247, 242, 0.92) !important;
  border-color: var(--line) !important;
  color: var(--terra) !important;
}
.what-desc { color: var(--body) !important; }
.pill {
  background: var(--cream-card) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.pill:hover {
  background: var(--terra-tint) !important;
  color: var(--terra) !important;
  border-color: var(--terra-soft) !important;
}
.ps-num {
  background: var(--cream) !important;
  border: 1px solid var(--line) !important;
  color: var(--terra) !important;
}
.ps-body h4 { color: var(--ink) !important; }
.ps-body p  { color: var(--body) !important; }
.process-connector { background: var(--line) !important; }
.section-heading, .cb-subtitle, .section-sub { color: var(--ink) !important; }
.section-sub, .cb-subtitle { color: var(--body) !important; }

.what-section .dash-mockup,
.dm-bar, .dm-body {
  background: var(--cream-card) !important;
  border-color: var(--line) !important;
}
.dm-title { color: var(--ink) !important; }
.dm-metric-card {
  background: var(--cream) !important;
  border: 1px solid var(--line) !important;
}
.dm-metric-val { color: var(--ink) !important; }
.dm-metric-label { color: var(--body) !important; }

.cta-strip {
  background: var(--ink) !important;
  color: var(--cream) !important;
}
.cta-strip::before { display: none !important; }
.cta-strip-left h2 { color: var(--cream) !important; }
.cta-strip-left h2 em {
  color: var(--terra) !important;
  -webkit-text-fill-color: var(--terra) !important;
}
.cta-strip-left p { color: rgba(250, 247, 242, 0.7) !important; }
.cta-strip-right .btn-primary {
  background: var(--cream) !important;
  color: var(--ink) !important;
}
.cta-strip-right .btn-primary:hover {
  background: var(--terra) !important;
  color: var(--cream) !important;
}
.cta-strip-right .btn-icon { background: rgba(30, 30, 47, 0.08) !important; }
.cta-email-link { color: rgba(250, 247, 242, 0.6) !important; }
.cta-email-link:hover { color: var(--terra) !important; }

.footer {
  background: var(--cream-card) !important;
  border-top: 1px solid var(--line) !important;
}
.footer-logo { color: var(--ink) !important; }
.footer-logo span { color: var(--terra) !important; }
.footer-tagline { color: var(--body) !important; }
.footer-col-title { color: var(--ink) !important; }
.footer-list li a, .footer-list li span { color: var(--body) !important; }
.footer-list li a:hover { color: var(--terra) !important; }
.footer-bottom p, .footer-bottom a { color: var(--body) !important; }
.footer-socials a {
  background: var(--cream) !important;
  border-color: var(--line) !important;
  color: var(--body) !important;
}
.footer-socials a:hover {
  background: var(--terra) !important;
  color: var(--cream) !important;
  border-color: var(--terra) !important;
}
.f-dot { background: var(--body) !important; }

/* ─── BACK TO TOP — editorial: progress ring + ink core ─── */
.btt-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
}
.btt-ring {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 1;
}
.btt-ring-track {
  fill: none;
  stroke: rgba(30, 30, 47, 0.12);
  stroke-width: 2;
}
.btt-ring-progress {
  fill: none;
  stroke: var(--terra);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.12s linear;
}
.btt-inner {
  position: relative !important;
  z-index: 2 !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--cream);
  transition: background 0.22s ease, transform 0.22s ease;
  box-shadow: 0 4px 14px rgba(30,30,47,0.18);
}
.btt-btn:hover .btt-inner {
  background: var(--terra);
  transform: scale(1.06);
}
.btt-btn:hover .btt-ring-track { stroke: rgba(200,84,46,0.2); }

/* ============================================================
   SECTION 02 — FEATURED CASE (TechonWheelz magazine spread)
   ============================================================ */
.featured-case {
  background: var(--cream) !important;
  padding: 120px 48px 100px !important;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.fc-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Left side — rotated browser frame */
.fc-visual { position: relative; }
.fc-browser {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(30, 30, 47, 0.22),
              0 16px 24px -8px rgba(30, 30, 47, 0.08);
  transform: rotate(-0.8deg);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.fc-browser:hover { transform: rotate(0deg); }

.fc-browser-bar {
  height: 38px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}
.fc-browser-bar .fc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(30, 30, 47, 0.15);
}
.fc-browser-bar .fc-dot:nth-child(1) { background: rgba(200, 84, 46, 0.55); }
.fc-browser-bar .fc-dot:nth-child(2) { background: rgba(200, 84, 46, 0.30); }
.fc-browser-bar .fc-dot:nth-child(3) { background: rgba(200, 84, 46, 0.15); }
.fc-url {
  margin-left: 10px;
  background: var(--cream);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: var(--body);
  max-width: 320px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fc-browser-screen {
  background: #fff;
  position: relative;
}
.fc-browser-screen img {
  width: 100%;
  display: block;
}

/* Right side — story column */
.fc-content { padding-right: 12px; }

.fc-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 22px 0 26px;
}
.fc-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.06em;
  letter-spacing: -0.005em;
}

.fc-story {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 460px;
  margin-bottom: 44px;
}

/* Giant 130+ stat */
.fc-stat {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.fc-stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.86;
  color: var(--ink);
  letter-spacing: -0.07em;
  display: flex;
  align-items: flex-start;
}
.fc-stat-plus {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 0.55em;
  margin-top: 8px;
  margin-left: 4px;
  letter-spacing: 0;
}
.fc-stat-cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
}
.fc-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fc-stat-sub {
  font-size: 0.78rem;
  color: var(--body);
  line-height: 1.5;
}

/* Read case link */
.fc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.22s, border-color 0.22s, gap 0.22s;
}
.fc-link:hover {
  color: var(--terra);
  border-color: var(--terra);
  gap: 16px;
}

/* Terracotta hairline (signature element) */
.fc-hairline {
  max-width: 1320px;
  margin: 100px auto 0;
  height: 1px;
  background: var(--terra);
  opacity: 0.35;
}

/* What was built — 5 column */
.fc-built {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 0 0;
}
.fc-built-label {
  margin-bottom: 40px;
}
.fc-built-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.fc-built-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 18px;
  position: relative;
}
.fc-built-item + .fc-built-item::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.fc-built-item .fc-built-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--terra) !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 6px;
}
.fc-built-item strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fc-built-item span {
  font-size: 0.8rem;
  color: var(--body);
  line-height: 1.5;
}

/* ============================================================
   SECTION 03 — STAT MOMENT (editorial typographic pause)
   ============================================================ */
.stat-moment {
  background: var(--cream-card);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sm-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

/* Centered label with dashes on both sides */
.sm-label {
  display: inline-flex !important;
  margin: 0 auto 64px !important;
  justify-content: center !important;
}
.sm-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}

.sm-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
}

.sm-stat {
  text-align: center;
}

.sm-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(7rem, 17vw, 15.5rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
  color: var(--ink);
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 24px;
}

.sm-dot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 0.62em;
  line-height: 0.9;
  margin-left: 0.04em;
  letter-spacing: 0;
}

.sm-cap {
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.sm-divider {
  width: 1px;
  height: 100px;
  background: var(--line);
  align-self: center;
}

.sm-tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sm-tagline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.08em;
  letter-spacing: -0.005em;
}

/* ============================================================
   SECTION 04 — PROJECT GRID (Live + Concept)
   ============================================================ */

/* Hide old sections being replaced */
.what-section,
.work-section,
.standalone-stats,
.testimonials-section,
.process-section,
.cta-strip {
  display: none !important;
}

.work-grid-section {
  background: var(--cream);
  padding: 120px 48px;
}
.wg-inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* Header with split layout: title left, sub right */
.wg-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.wg-header-left { max-width: 640px; }
.wg-header-label { margin-bottom: 18px; }
.wg-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.wg-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
  letter-spacing: -0.005em;
}
.wg-sub {
  font-size: 0.92rem;
  color: var(--body);
  max-width: 340px;
  line-height: 1.6;
  text-align: right;
  margin: 0;
  padding-bottom: 4px;
}

/* Subsection heading (Live / Concepts) */
.wg-subsection { margin-top: 16px; }
.wg-subsection + .wg-subsection { margin-top: 80px; }
.wg-subsection-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.wg-sub-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.wg-sub-count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 1.05rem;
}
.wg-sub-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Live cards: 3-column */
.wg-live {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Concept cards: 4-column */
.wg-concepts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* THE CARD */
.wg-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1),
              box-shadow 0.32s cubic-bezier(0.65, 0, 0.35, 1),
              border-color 0.32s ease;
}
.wg-card:hover {
  transform: translateY(-6px);
  border-color: var(--terra-soft);
  box-shadow: 0 24px 48px -18px rgba(30, 30, 47, 0.22),
              0 0 0 1px rgba(200, 84, 46, 0.18);
}

.wg-card-bar {
  height: 28px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  flex-shrink: 0;
}
.wg-card-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(30, 30, 47, 0.15);
}
.wg-card-bar > span:nth-child(1) { background: rgba(200, 84, 46, 0.55); }
.wg-card-bar > span:nth-child(2) { background: rgba(200, 84, 46, 0.30); }
.wg-card-bar > span:nth-child(3) { background: rgba(200, 84, 46, 0.15); }

.wg-card-img {
  height: 230px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.wg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.wg-card:hover .wg-card-img img { transform: scale(1.04); }

/* Smaller concept cards */
.wg-concepts .wg-card-img { height: 160px; }
.wg-concepts .wg-card-img .stack-mock { padding: 18px; gap: 9px; }
.wg-concepts .wg-card-foot { padding: 16px 18px 18px; }
.wg-concepts .wg-card-title { font-size: 0.95rem; }

.wg-card-foot {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wg-card-industry {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 3px;
}
.wg-card-title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.wg-card-desc {
  font-size: 0.82rem;
  color: var(--body);
  line-height: 1.55;
  margin-top: 3px;
}
.wg-card-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink) !important;
  margin-top: 14px;
  transition: color 0.22s, gap 0.22s;
}
.wg-card:hover .wg-card-link {
  color: var(--terra) !important;
  gap: 12px;
}

/* "Live soon" tag */
.wg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cream);
  border: 1px solid var(--terra-soft);
  color: var(--terra);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 5;
}

/* ============================================================
   BACKGROUND ILLUSTRATIONS — blueprint ornaments per section
   ============================================================ */

/* Featured Case: big terracotta arch bleeding off bottom-right */
.featured-case::after {
  content: '';
  position: absolute;
  bottom: -260px;
  right: -260px;
  width: 720px;
  height: 720px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
.featured-case::before {
  content: '';
  position: absolute;
  bottom: -180px;
  right: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* Stat Moment: visible blueprint grid (denser than global) */
.stat-moment::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 84, 46, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 84, 46, 0.10) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Services: blueprint annotation cross marks scattered */
.services-v2::after {
  content: '';
  position: absolute;
  top: 80px;
  left: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* About: massive terracotta circle behind portrait area */
.about-v2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.about-v2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -90px;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

/* Process: subtle diagonal blueprint lines */
.process-v2::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* CTA: blueprint dimension/measurement line at top */
.cta-v2::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 760px;
  height: 200px;
  background-image:
    linear-gradient(90deg, var(--terra) 1px, transparent 1px),
    linear-gradient(90deg, var(--terra) 1px, transparent 1px);
  background-size: 80px 100%, 16px 100%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

/* Work grid: terracotta corner bracket */
.work-grid-section::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  border-top: 1px solid var(--terra);
  border-right: 1px solid var(--terra);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

/* Testimonial: dimension-line bracket bottom */
.testimonial-v2::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: var(--terra);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.testimonial-v2::before {
  content: '';
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 9px;
  background:
    linear-gradient(90deg, var(--terra) 1px, transparent 1px) 0 0 / 60px 100% repeat-x;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SECTION ORNAMENT — huge italic serif chapter number in corner
   (editorial pagination, decorative)
   ============================================================ */
.sec-mark {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  line-height: 0.8;
  letter-spacing: -0.05em;
  z-index: 0;
  font-size: clamp(8rem, 14vw, 14rem);
}
.sec-mark-tr { top: 56px;    right: 56px; }
.sec-mark-bl { bottom: 56px; left: 56px; }
.sec-mark-tl { top: 56px;    left: 56px; }
.sec-mark-br { bottom: 56px; right: 56px; }

/* Make sure all sections clip ornaments properly */
.featured-case, .stat-moment,
.services-v2, .about-v2,
.process-v2, .testimonial-v2, .cta-v2 {
  position: relative;
  overflow: hidden;
}
/* work-grid-section uses overflow:clip so position:sticky inside still works */
.work-grid-section {
  position: relative;
  overflow: clip;
}
/* Lift content above ornaments */
.fc-inner, .sm-inner, .wg-inner, .sv-inner, .av-inner,
.pv-inner, .tv-inner, .cv-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION 04b — SERVICES (What I build)
   ============================================================ */
.services-v2 {
  background: var(--cream);
  padding: 130px 48px;
  border-top: 1px solid var(--line);
}
.sv-inner { max-width: 1320px; margin: 0 auto; }

.sv-header {
  max-width: 720px;
  margin-bottom: 72px;
}
.sv-header .label { margin-bottom: 24px; }
.sv-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 22px;
}
.sv-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
  letter-spacing: -0.005em;
}
.sv-sub {
  font-size: 1rem;
  color: var(--body);
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

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

.sv-tile {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 34px 34px;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease;
  overflow: hidden;
}
.sv-tile:hover {
  transform: translateY(-4px);
  border-color: var(--terra-soft);
  box-shadow: 0 20px 40px -18px rgba(30, 30, 47, 0.18);
}

.sv-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--terra);
  position: absolute;
  top: 28px;
  right: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.sv-illus {
  height: 100px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  color: var(--terra);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.sv-illus svg {
  width: auto;
  height: 100%;
  display: block;
  animation: svgFloat 5s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Subtle continuous animations on illustration elements */
@keyframes svgFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes svgPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.42; }
}
@keyframes svgPulseSoft {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 0.65; }
}
@keyframes svgFlowDash {
  to { stroke-dashoffset: -16; }
}
@keyframes svgWidthPulse {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(1.06); }
}

/* Filled elements pulse (data points, status fills) */
.sv-illus [fill="currentColor"] {
  animation: svgPulseSoft 2.6s ease-in-out infinite;
}
.sv-illus circle[fill="currentColor"] {
  animation: svgPulse 2s ease-in-out infinite;
}

/* The bezier flow paths in tile 04 — flowing dash */
.sv-tile:nth-child(4) .sv-illus path[d^="M"] {
  stroke-dasharray: 4 3;
  animation: svgFlowDash 2.5s linear infinite;
}

/* Hover: lift the tile illustration, pause float */
.sv-tile:hover .sv-illus { transform: translateY(-6px); }
.sv-tile:hover .sv-illus svg { animation-play-state: paused; }
.sv-tile:hover .sv-illus [fill="currentColor"] { animation-duration: 1.4s; }
.sv-tile:hover .sv-illus circle[fill="currentColor"] { animation-duration: 1s; }

.sv-tile h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.sv-tile p {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

/* ============================================================
   SECTION 05b — ABOUT (The studio)
   ============================================================ */
.about-v2 {
  background: var(--cream-card);
  padding: 130px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.av-inner { max-width: 1320px; margin: 0 auto; }

.av-header { text-align: center; margin-bottom: 78px; }
.av-header .label {
  display: inline-flex !important;
  margin-bottom: 26px !important;
  justify-content: center !important;
}
.av-header .label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.av-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.02;
  margin: 0;
}
.av-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.08em;
  letter-spacing: -0.005em;
}

.av-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.av-portrait {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.av-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(12%) contrast(1.02);
}
.av-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(200, 84, 46, 0.06) 100%);
  pointer-events: none;
}

.av-content { padding-top: 6px; }
.av-lead {
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 30px;
}
.av-lead em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.08em;
}
.av-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 22px;
  max-width: 540px;
}
.av-stack {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.av-stack span {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  background: var(--cream);
  border: 1px solid var(--terra-soft);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ============================================================
   SECTION 05 — PROCESS (4 editorial chapters)
   ============================================================ */
.process-v2 {
  background: var(--cream-card);
  padding: 130px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pv-inner { max-width: 1320px; margin: 0 auto; }

.pv-header {
  text-align: center;
  margin-bottom: 90px;
}
.pv-header .label {
  margin-bottom: 26px;
  justify-content: center !important;
}
.pv-header .label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.pv-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.pv-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
  letter-spacing: -0.005em;
}

.pv-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}

.pv-step { display: flex; flex-direction: column; gap: 10px; }

.pv-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: flex-end;
}
.pv-num-dot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 0.66em;
  margin-left: 2px;
  line-height: 0.9;
}

.pv-step-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 4px 0;
}
.pv-step-desc {
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}

.pv-divider {
  width: 1px;
  height: 80px;
  background: var(--line);
  margin-top: 28px;
}

/* ============================================================
   SECTION 06 — TESTIMONIAL (single editorial pull-quote)
   ============================================================ */
.testimonial-v2 {
  background: var(--cream);
  padding: 150px 48px;
  position: relative;
  text-align: center;
}
.tv-inner { max-width: 1080px; margin: 0 auto; }

.tv-label {
  display: inline-flex !important;
  justify-content: center !important;
  margin: 0 auto 56px !important;
}
.tv-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}

.tv-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 56px;
  position: relative;
  padding: 0 32px;
}
.tv-quote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
  letter-spacing: -0.005em;
}
.tv-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 3.6em;
  line-height: 0;
  margin-right: 6px;
  vertical-align: -0.18em;
  font-weight: 400;
}

.tv-attribution {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.tv-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--terra-tint);
  border: 1px solid var(--terra-soft);
  color: var(--terra) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
.tv-attr-text { text-align: left; }
.tv-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tv-role {
  font-size: 0.74rem;
  color: var(--body);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION 07 — CTA (final magazine spread)
   ============================================================ */
.cta-v2 {
  background: var(--cream-card);
  padding: 160px 48px;
  border-top: 1px solid var(--line);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terra) 50%, transparent);
  opacity: 0.5;
}
.cv-inner { max-width: 960px; margin: 0 auto; }

.cv-label {
  display: inline-flex !important;
  justify-content: center !important;
  margin: 0 auto 36px !important;
}
.cv-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}

.cv-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 32px;
}
.cv-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.08em;
  letter-spacing: -0.005em;
}

.cv-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 540px;
  margin: 0 auto 44px;
}

.cv-actions {
  display: flex;
  justify-content: center;
}
.cv-btn {
  padding: 16px 30px !important;
  font-size: 0.95rem !important;
}

.cv-fine {
  font-size: 0.72rem;
  color: var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 18px 0 64px;
  font-weight: 500;
}

.cv-email {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.cv-email-label {
  font-size: 0.7rem;
  color: var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.cv-email a {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.22s;
}
.cv-email a:hover { color: var(--terra); }

/* ============================================================
   SECTION 05 — PRICING (On Investment)
   Magazine spread of 3 tiers + architectural illustrations
   ============================================================ */
.pricing-v2 {
  background: var(--cream);
  padding: 130px 48px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pr-inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }

.pr-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}
.pr-header-left { max-width: 640px; }
.pr-header .label { margin-bottom: 24px; }
.pr-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.pr-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
}
.pr-anchor {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.65;
  max-width: 560px;
  margin: 16px 0 0;
  padding: 12px 16px;
  background: rgba(200,84,46,0.06);
  border-left: 2px solid var(--terra);
  border-radius: 0 4px 4px 0;
}
.pr-anchor em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 0.95rem;
}
.pr-sub {
  font-size: 0.92rem;
  color: var(--body);
  max-width: 340px;
  line-height: 1.6;
  text-align: right;
  margin: 0;
  padding-bottom: 4px;
}

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

.pr-tier {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px 36px;
  position: relative;
  transition: transform 0.32s, border-color 0.32s, box-shadow 0.32s;
}
.pr-tier:hover {
  transform: translateY(-6px);
  border-color: var(--terra-soft);
  box-shadow: 0 28px 50px -22px rgba(30, 30, 47, 0.20);
}
.pr-tier-featured {
  border-color: var(--terra) !important;
  background: var(--cream-card);
}
.pr-tier-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--terra);
  color: var(--cream);
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.pr-illus {
  height: 110px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  color: var(--terra);
}
.pr-illus svg {
  height: 100%;
  width: auto;
  animation: svgFloat 6s ease-in-out infinite;
}
.pr-tier-name {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.pr-from {
  font-size: 0.74rem;
  color: var(--body);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.pr-amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 0.95;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: flex-start;
}
.pr-amt-curr {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 0.62em;
  margin-top: 6px;
  margin-right: 2px;
  letter-spacing: 0;
}
.pr-range {
  font-size: 0.78rem;
  color: var(--body);
  margin-bottom: 24px;
  font-style: italic;
  font-family: var(--serif);
}
.pr-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.pr-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pr-features li {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.5;
  position: relative;
  padding-left: 22px;
}
.pr-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--terra);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

/* Per-tier CTA — opens the Quick Brief modal pre-filled with the selected tier */
.pr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.pr-cta:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(30, 30, 47, 0.45);
}
.pr-cta svg { transition: transform 0.22s; }
.pr-cta:hover svg { transform: translateX(3px); }

.pr-cta-primary {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
}
.pr-cta-primary:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 16px 30px -14px rgba(200, 84, 46, 0.55);
}

.pr-foot {
  margin-top: 72px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pr-foot p {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.pr-foot p em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
}
.pr-foot small {
  font-size: 0.78rem;
  color: var(--body);
}

/* ============================================================
   SECTION 08 — ON WORKING TOGETHER (Editorial FAQ / friction)
   Unique pattern: notebook ruling + massive italic Q&A watermark
   ============================================================ */
.faq-v2 {
  padding: 130px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background-color: var(--cream-card);
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 47px,
      rgba(200, 84, 46, 0.075) 47px,
      rgba(200, 84, 46, 0.075) 48px
    );
}
/* Massive italic "Q&A." watermark */
.faq-v2::before {
  content: 'Q&A.';
  position: absolute;
  top: 60px;
  right: -20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(12rem, 22vw, 24rem);
  color: var(--terra);
  opacity: 0.07;
  pointer-events: none;
  line-height: 0.82;
  letter-spacing: -0.05em;
  z-index: 0;
  user-select: none;
}
/* Vertical margin-mark — like a magazine sidebar annotation */
.faq-v2::after {
  content: '';
  position: absolute;
  top: 140px;
  left: 40px;
  width: 40px;
  height: 200px;
  border-left: 1px solid var(--terra);
  border-right: 1px solid var(--terra);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1100px) { .faq-v2::after { display: none; } }
.fq-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fq-header {
  text-align: center;
  margin-bottom: 80px;
}
.fq-header .label {
  display: inline-flex !important;
  margin-bottom: 26px !important;
  justify-content: center !important;
}
.fq-header .label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.fq-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 16px;
}
.fq-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.07em;
}
.fq-sub {
  font-size: 1rem;
  color: var(--body);
  margin: 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.fq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fq-item {
  padding: 40px 0 38px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 28px;
  align-items: start;
}
.fq-item:last-child { border-bottom: none; }
.fq-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--terra);
  line-height: 1;
  padding-top: 4px;
}
.fq-q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.fq-a {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
}
.fq-a strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   NEWSLETTER — Subscribe to Issue 05
   ============================================================ */
.newsletter-v2 {
  background: var(--cream);
  padding: 100px 48px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.nl-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 360px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nl-illus {
  display: flex;
  justify-content: center;
  color: var(--terra);
}
.nl-illus svg {
  width: 140px;
  height: auto;
  animation: svgFloat 6s ease-in-out infinite;
}

.nl-text {
  border-left: 1px solid var(--line);
  padding-left: 48px;
}
.nl-edition {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nl-edition::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--terra);
}
.nl-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 14px;
}
.nl-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  font-size: 1.06em;
}
.nl-sub {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nl-input-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  gap: 12px;
  transition: border-color 0.2s;
}
.nl-input-row:focus-within { border-bottom-color: var(--terra); }
.nl-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
}
.nl-input::placeholder { color: var(--mute); }
.nl-submit {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.22s, gap 0.22s;
}
.nl-submit:hover { color: var(--terra); gap: 12px; }
.nl-promise {
  font-size: 0.72rem;
  color: var(--body);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============================================================
   SECTION 10 — CTA + PROJECT INQUIRY FORM
   ============================================================ */
.cta-v2 { padding: 140px 48px 100px !important; }

/* The form — clean, professional */
.cv-form {
  margin: 56px auto 0;
  max-width: 720px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 44px 32px;
  position: relative;
  text-align: left;
  box-shadow: 0 1px 0 var(--line);
}
/* (Old cv-form-header removed — was the odd "FORM · 01" line) */
.cv-form-header { display: none; }

.cv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 22px;
}
.cv-field {
  display: flex;
  flex-direction: column;
}
.cv-field-full { grid-column: 1 / -1; }
.cvf-label {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}
.cvf-label .req {
  color: var(--terra);
  margin-left: 2px;
}
.cv-input,
.cv-select,
.cv-textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  outline: 0;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 0 10px;
  transition: border-color 0.22s;
  resize: none;
  width: 100%;
}
.cv-textarea {
  min-height: 84px;
  font-family: var(--font);
  line-height: 1.5;
}
.cv-input::placeholder,
.cv-textarea::placeholder { color: var(--mute); }
.cv-input:focus,
.cv-select:focus,
.cv-textarea:focus { border-bottom-color: var(--terra); }
.cv-select { cursor: pointer; appearance: none; padding-right: 24px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8542E' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.cv-select option { background: var(--cream); color: var(--ink); }

.cv-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.cv-submit {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  border-radius: 100px;
  padding: 14px 26px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.cv-submit:hover {
  background: var(--terra);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 84, 46, 0.28);
}
.cv-or {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--body);
}
.cv-call-link {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.22s, border-color 0.22s;
}
.cv-call-link:hover {
  color: var(--terra);
  border-bottom-color: var(--terra);
}

/* Form success/error states */
.cv-form-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 22px;
  display: none;
}
.cv-form-msg.success {
  background: rgba(15, 110, 71, 0.08);
  border: 1px solid rgba(15, 110, 71, 0.25);
  color: #0F6E47;
  display: block;
}
.cv-form-msg.error {
  background: rgba(200, 84, 46, 0.08);
  border: 1px solid rgba(200, 84, 46, 0.3);
  color: var(--terra);
  display: block;
}

/* ============================================================
   SECTION 04+ — SELECTED WORK ARCHIVE (CV-style at end of Work)
   ============================================================ */
.archive {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.ar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.ar-head-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.ar-head-count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 1.05rem;
}
.ar-head-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.ar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ar-item {
  display: grid;
  grid-template-columns: 60px 110px 1fr 1fr 100px;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.ar-item:hover { background: var(--cream-card); padding-left: 12px; padding-right: 12px; }
.ar-item:last-child { border-bottom: none; }
.ar-year {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 0.92rem;
}
.ar-tag {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body);
}
.ar-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ar-outcome {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.45;
}
.ar-status {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  text-align: right;
}
.ar-status-soon { color: var(--body); }

/* ============================================================
   STAT COUNT-UP animation hook (numbers count from 0)
   ============================================================ */
.sm-num[data-counter] { transition: none; }

/* ============================================================
   PAGE TRANSITION (terracotta wipe on case study link clicks)
   ============================================================ */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--terra);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-wipe.in {
  transform: scaleY(1);
  transform-origin: bottom;
}
.page-wipe.out {
  transform: scaleY(0);
  transform-origin: top;
}

/* ============================================================
   FORM STATES — loading, success, error (for both forms + modal)
   ============================================================ */
.cv-submit, .qb-submit {
  position: relative;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s, opacity 0.22s;
}
.cv-submit.is-loading,
.qb-submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.cv-submit.is-loading svg,
.qb-submit.is-loading svg { display: none; }
.cv-submit.is-loading::after,
.qb-submit.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state (full success message replaces form) */
.cv-form.is-success > *,
.qb-form.is-success > * { display: none !important; }
.cv-form.is-success::before,
.qb-form.is-success::before {
  content: '';
  display: block !important;
  padding: 28px 0 8px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px 12px;
}
.cv-form.is-success .form-success,
.qb-form.is-success .form-success { display: block !important; }
.form-success .fs-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 110, 71, 0.12);
  color: #0F6E47;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 110, 71, 0.3);
}
.form-success h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.form-success h4 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Error state */
.form-error {
  background: rgba(200, 84, 46, 0.08);
  border: 1px solid rgba(200, 84, 46, 0.3);
  color: var(--terra);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: none;
}
.form-error.is-visible { display: block; }

/* ============================================================
   MAGNETIC BUTTON — cursor pulls primary CTAs slightly
   ============================================================ */
.magnetic {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* ============================================================
   CURSOR SPOTLIGHT — Featured Case browser tracks cursor
   ============================================================ */
.fc-browser {
  position: relative;
}
.fc-browser::after {
  content: '';
  position: absolute;
  top: var(--cy, 50%);
  left: var(--cx, 50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 84, 46, 0.18) 0%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
  mix-blend-mode: multiply;
}
.fc-browser.is-hover::after { opacity: 1; }

/* ============================================================
   MANIFESTO INTERLUDE — rhythm break between Stat and Work
   Center-aligned, big italic serif, no chapter label
   ============================================================ */
.manifesto {
  background: var(--cream);
  padding: 110px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.man-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.man-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.man-text strong {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: -0.025em;
}
.man-rule {
  width: 60px;
  height: 1px;
  background: var(--terra);
  margin: 32px auto 0;
  opacity: 0.5;
}
.man-by {
  margin-top: 22px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--body);
}

/* ============================================================
   TESTIMONIAL v3 — 3-quote magazine spread (replacing single)
   ============================================================ */
.testimonial-v2 .tv-inner { max-width: 1320px; }

.tv-trio {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 32px;
  margin-top: 24px;
  align-items: stretch;
}
.tv-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s, border-color 0.32s, box-shadow 0.32s;
}
.tv-card:hover {
  transform: translateY(-4px);
  border-color: var(--terra-soft);
  box-shadow: 0 20px 40px -18px rgba(30, 30, 47, 0.18);
}
.tv-card-feature {
  background: var(--cream);
  border: 1px solid var(--terra);
  padding: 44px 42px 36px;
}
.tv-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-size: 4.5rem;
  line-height: 0.6;
  margin-bottom: 8px;
  display: block;
}
.tv-card-feature .tv-mark { font-size: 6rem; }
.tv-text {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  flex: 1;
}
.tv-card-feature .tv-text {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.tv-text em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
  font-size: 1.06em;
}
.tv-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tv-card-feature .tv-attr { border-top-color: var(--terra-soft); }
.tv-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terra-tint);
  border: 1px solid var(--terra-soft);
  color: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.tv-meta-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tv-meta-role {
  font-size: 0.72rem;
  color: var(--body);
  margin-top: 2px;
}

/* ============================================================
   HIERARCHY FIX — Featured Case louder, Newsletter quieter
   ============================================================ */
.featured-case { padding: 150px 48px 130px !important; }
.fc-headline {
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
}
.fc-stat-num {
  font-size: clamp(5.5rem, 13vw, 12rem) !important;
}

/* Quieter newsletter */
.newsletter-v2 { padding: 70px 48px !important; }
.nl-headline { font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important; }
.nl-illus svg { width: 110px !important; }

/* ============================================================
   QUICK BRIEF MODAL — opens from nav "Get a quote" button
   ============================================================ */
.qb-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s cubic-bezier(0.65, 0, 0.35, 1);
  padding: 20px;
}
.qb-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.qb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 47, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qb-panel {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 44px 36px;
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 50px 100px -20px rgba(30, 30, 47, 0.45);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.qb-modal.open .qb-panel { transform: translateY(0) scale(1); }

.qb-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px 2px 0 0;
}

.qb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.22s, transform 0.22s;
  line-height: 0;
}
.qb-close:hover {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
  transform: rotate(90deg);
}

.qb-head {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.qb-head .label {
  margin-bottom: 14px !important;
}
.qb-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 12px;
}
.qb-title em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
  font-size: 1.06em;
}
.qb-sub {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}

/* Selected-plan badge (set when modal opened from a price card) */
.qb-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(200, 84, 46, 0.08);
  border: 1px solid rgba(200, 84, 46, 0.28);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.78rem;
  line-height: 1;
  width: fit-content;
}
.qb-plan-badge-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.68rem;
}
.qb-plan-badge-value {
  font-weight: 700;
  color: var(--terra);
  letter-spacing: -0.005em;
}

.qb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qb-field {
  display: flex;
  flex-direction: column;
}
.qb-label {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.qb-input,
.qb-select,
.qb-textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  outline: 0;
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 6px 0 10px;
  transition: border-color 0.22s;
  width: 100%;
  resize: none;
}
.qb-textarea {
  min-height: 70px;
  line-height: 1.5;
}
.qb-input:focus,
.qb-select:focus,
.qb-textarea:focus { border-bottom-color: var(--terra); }
.qb-input::placeholder,
.qb-textarea::placeholder { color: var(--mute); }
.qb-select {
  appearance: none;
  cursor: pointer;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8542E' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.qb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.qb-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.qb-submit {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  border-radius: 100px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.qb-submit:hover {
  background: var(--terra);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 84, 46, 0.3);
}
.qb-promise {
  font-size: 0.72rem;
  color: var(--body);
  letter-spacing: 0.04em;
  margin: 0;
}

.qb-msg {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
}
.qb-msg.success {
  background: rgba(15, 110, 71, 0.08);
  border: 1px solid rgba(15, 110, 71, 0.25);
  color: #0F6E47;
  display: block;
}

@media (max-width: 600px) {
  .qb-panel { padding: 32px 24px 24px; }
  .qb-title { font-size: 1.5rem; }
  .qb-row { grid-template-columns: 1fr; gap: 16px; }
  .qb-submit-row { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ============================================================
   FOOTER v2 (editorial)
   ============================================================ */
.footer { display: none !important; }

.footer-v2 {
  background: var(--cream);
  border-top: 1px solid var(--terra);
  padding: 0 0 28px;
  position: relative;
  overflow: hidden;
}
.fv-inner { max-width: 1320px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }

/* ─── Closing CTA strip ─── */
.fv-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.fv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.fv-cta::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200,84,46,0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.fv-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.fv-cta-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 14px;
}
.fv-cta-headline {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.05;
  margin: 0 0 16px;
}
.fv-cta-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.fv-cta-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(250,247,242,0.72);
  margin: 0;
  max-width: 480px;
}
.fv-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.fv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terra);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -8px rgba(200,84,46,0.45);
}
.fv-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(200,84,46,0.6);
}
.fv-cta-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.55);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fv-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ─── Top: wordmark + tagline (tight, side-by-side) ─── */
.fv-top {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}
.fv-wordmark {
  flex-shrink: 0;
  display: block;
}
.fv-wordmark img {
  height: 58px;
  width: auto;
  display: block;
}
.fv-tag {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--body);
  max-width: 560px;
  margin: 0;
  font-weight: 400;
}
.fv-tag em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
  font-size: 1.05em;
}

/* ─── Three-column grid ─── */
.fv-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.fv-col-title {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fv-col-title::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--terra);
}
.fv-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fv-col li {
  font-family: var(--display);
  font-size: 0.96rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fv-col li span.fv-tip {
  color: var(--body);
  font-size: 0.86rem;
}
.fv-col a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.22s;
  position: relative;
  display: inline-block;
}
.fv-col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width 0.25s ease;
}
.fv-col a:hover { color: var(--terra); }
.fv-col a:hover::after { width: 100%; }

.fv-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.fv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.fv-status-text {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* Status column — structured key/value pairs */
.fv-status-list { gap: 8px !important; }
.fv-status-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font);
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(30,30,47,0.1);
}
.fv-status-list li:last-child { border-bottom: none; }
.fv-tip-label {
  color: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.fv-tip-val {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: -0.005em;
}

.fv-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  gap: 20px;
  flex-wrap: wrap;
}
.fv-copy {
  font-size: 0.82rem;
  color: var(--body);
  margin: 0;
}
.fv-copy em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
}
.fv-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}
.fv-mini-link {
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s ease;
}
.fv-mini-link:hover { color: var(--terra); }
.fv-bullet { color: rgba(30,30,47,0.3); }
.fv-edition {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0;
}

/* Footer big watermark ornament */
.footer-v2::before {
  content: '';
  position: absolute;
  bottom: -160px;
  right: -160px;
  width: 480px;
  height: 480px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  opacity: 0.10;
  pointer-events: none;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .navbar { padding: 0 28px !important; height: 68px !important; }
  .nav-logo-img { height: 54px; }
  :root { --nav-h: 68px; }
  .footer-v2 { padding: 0 0 24px; }
  .fv-inner { padding: 0 28px; }
  .fv-cta { padding: 48px 28px; }
  .fv-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .fv-cta-right { align-items: flex-start; }
  .fv-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 44px 0 28px;
  }
  .fv-tag { max-width: 100%; }
  .fv-cols { grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 0; }
  .fv-col-status { grid-column: span 2; }
  .hero   { padding: 28px 24px 0 !important; }
  /* Mobile hero: Hook → Claim → Proof → Why → Act */
  .hero-inner {
    display: flex !important;
    flex-direction: column;
    gap: 26px;
  }
  /* Promote hero-left's children to direct flex children so we can order them */
  .hero-left { display: contents; }

  /* Ordering for max impact */
  .build-strip        { order: 1; margin: 0 !important; }
  .hero-title         { order: 2; margin: 0 !important; }
  .hero-right-desktop { order: 3; min-height: 0 !important; width: 100%; margin-bottom: 50px; }
  .hero-sub           { order: 4; margin: 0 !important; max-width: 100% !important; }
  .hero-actions       { order: 5; }

  /* Tighter, more cinematic carousel on mobile — fills width, scaled down */
  .stack {
    max-width: 100%;
    margin: 0 auto;
    height: 320px;
  }
  /* Headline reads bigger on mobile for stopping power */
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.2rem) !important; }
  /* Make the slot-open CTA in the build-strip more tap-friendly */
  /* Slot button styled as a tap-friendly CTA on mobile */
  .bs-slot {
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 12px 16px !important;
    border-top: 0 !important;
    border: 1px solid var(--terra) !important;
    border-radius: 100px;
    background: rgba(200, 84, 46, 0.06);
    margin-top: 12px !important;
    font-size: 0.82rem !important;
  }
  .bs-slot:active { background: rgba(200, 84, 46, 0.12); }
  /* Both CTAs full-width on mobile so the primary action is unmissable */
  .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .featured-case { padding: 80px 28px 70px !important; }
  .fc-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .fc-browser { transform: none; }
  .fc-content { padding-right: 0; }
  .fc-hairline { margin-top: 70px; }
  .fc-built-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .fc-built-item + .fc-built-item::before { display: none; }
  .stat-moment { padding: 100px 28px; }
  .sm-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .sm-divider { display: none; }
  .sm-num { font-size: clamp(6rem, 22vw, 11rem); }
  .work-grid-section { padding: 80px 28px; }
  .wg-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wg-sub { text-align: left; }
  .wg-live { grid-template-columns: 1fr 1fr; }
  .wg-concepts { grid-template-columns: 1fr 1fr; }
  .process-v2 { padding: 90px 28px; }
  .pv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px 32px;
  }
  .pv-divider { display: none; }
  .testimonial-v2 { padding: 110px 28px; }
  .cta-v2 { padding: 110px 28px; }
  .services-v2 { padding: 90px 28px; }
  .sv-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-v2 { padding: 90px 28px; }
  .av-body {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 540px;
  }
  .av-portrait { max-width: 320px; }
  .sec-mark { display: none; }
  .pricing-v2 { padding: 90px 28px; }
  .pr-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pr-sub { text-align: left; }
  .pr-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-v2 { padding: 90px 28px; }
  .fq-item { grid-template-columns: 40px 1fr; gap: 18px 24px; }
  .fq-a { grid-column: 1 / -1; padding-left: 58px; }
  .newsletter-v2 { padding: 64px 28px; }
  .nl-inner { grid-template-columns: 1fr; gap: 32px; }
  .nl-illus { order: -1; }
  .nl-illus svg { width: 100px; }
  .nl-text { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .cv-form { padding: 32px 28px 28px; }
  .cv-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
  .ar-item { grid-template-columns: 60px 1fr; gap: 12px 18px; }
  .ar-tag, .ar-outcome, .ar-status { grid-column: 2 / 3; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px !important; height: 60px !important; }
  .nav-logo-img { height: 46px; }
  :root { --nav-h: 60px; }

  /* Mobile nav dropdown — editorial cream theme (was dark, made text invisible) */
  .nav-links {
    background: rgba(250, 247, 242, 0.98) !important;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 16px 40px -20px rgba(30,30,47,0.18) !important;
  }
  .nav-links li { border-bottom: 1px solid rgba(30,30,47,0.06); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    color: var(--ink) !important;
    display: block;
    padding: 14px 4px !important;
    font-size: 1rem !important;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--terra) !important; }
  /* Mobile CTA inside the dropdown stays terra-filled */
  .nav-links .nav-mobile-cta a, .nav-links a.nav-cta {
    color: var(--cream) !important;
    background: var(--terra) !important;
    border-radius: 999px;
    text-align: center;
    margin-top: 8px;
    padding: 13px 20px !important;
  }

  .footer-v2 { padding: 0 0 20px; }
  .fv-inner { padding: 0 20px; }
  .fv-cta { padding: 36px 20px; }
  .fv-cta-headline { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .fv-cta-btn { padding: 14px 22px; font-size: 0.88rem; }
  .fv-cols { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .fv-col-status { grid-column: span 1; }
  .fv-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero   { padding: 28px 20px 0 !important; }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.9rem) !important;
  }
  .hero-sub { font-size: 0.96rem !important; }
  .stack {
    max-width: 100%;
    height: 320px;
  }
  .hero-clients { margin-top: 56px; padding: 28px 20px 24px; }
  .hc-row {
    flex-direction: column;
    gap: 18px;
  }
  .hc-client { padding: 6px 0; }
  .hc-client + .hc-client::before {
    left: 50%;
    top: -10px;
    bottom: auto;
    transform: translateX(-50%);
    width: 28px;
    height: 1px;
  }
  .hc-label { margin-bottom: 22px; }
  .stack-foot { padding: 0 14px; height: 50px; }
  .stack-title { font-size: 0.85rem; }
  .stack-industry { font-size: 0.6rem; }
  .featured-case { padding: 60px 20px 50px !important; }
  .fc-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .fc-stat-cap { padding-bottom: 0; }
  .fc-built-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-moment { padding: 72px 20px; }
  .sm-num { font-size: clamp(5.5rem, 32vw, 9rem); }
  .sm-label { margin-bottom: 44px !important; }
  .sm-grid { margin-bottom: 56px; gap: 48px; }
  .work-grid-section { padding: 56px 20px; }
  .wg-live, .wg-concepts { grid-template-columns: 1fr; }
  .wg-card-img { height: 200px; }
  .wg-concepts .wg-card-img { height: 180px; }
  .process-v2 { padding: 64px 20px; }
  .pv-grid { grid-template-columns: 1fr; gap: 40px; }
  .pv-header { margin-bottom: 56px; }
  .testimonial-v2 { padding: 80px 20px; }
  .tv-quote { padding: 0 8px; }
  .tv-quote-mark { font-size: 3em; }
  .cta-v2 { padding: 72px 20px 60px !important; }
  .cv-fine { margin-bottom: 48px; }
  .cv-form { padding: 24px 20px; margin-top: 36px; }
  .cv-form-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  /* Services */
  .services-v2 { padding: 64px 20px; }
  /* About */
  .about-v2 { padding: 64px 20px; }
  .av-portrait { max-width: 260px; }
  /* Pricing */
  .pricing-v2 { padding: 64px 20px; }
  .pr-tier { padding: 32px 22px 24px; }
  /* FAQ */
  .faq-v2 { padding: 64px 20px; }
  .fq-item { grid-template-columns: 40px 1fr; gap: 14px 18px; padding: 32px 0; }
  .fq-a { grid-column: 1 / -1; padding-left: 56px; }
  .fq-q { font-size: 1.1rem; }
  /* Newsletter */
  .newsletter-v2 { padding: 48px 20px; }
  .nl-inner { gap: 24px; }
  /* Testimonial */
  .testimonial-v2 { padding: 72px 20px; }
  .tv-trio { grid-template-columns: 1fr; gap: 16px; }
  /* Archive */
  .archive { margin-top: 48px; padding-top: 40px; }
  .ar-item { gap: 6px 12px; padding: 12px 0; }
  .ar-outcome { display: none; }
  /* BTT + WA float */
  .wa-float { bottom: 20px; right: 20px; left: auto; }
  .btt-btn { bottom: 78px !important; right: 20px !important; }
}

/* ============================================================
   ① BUILD STRIP — hero "currently building" live strip
   ============================================================ */
.build-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin-bottom: 28px;
  padding: 10px 16px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 520px;
}
.bs-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--body);
  width: 100%;
}
.bs-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: bsDotPulse 2s ease-in-out infinite;
}
.bs-item:nth-child(2) .bs-dot { animation-delay: 0.6s; }
@keyframes bsDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}
.bs-client {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.78rem;
}
.bs-dash { color: var(--mute); }
.bs-desc { color: var(--body); }
.bs-slot {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--terra);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  width: 100%;
}
.bs-slot:hover { color: var(--terra-deep); }

/* ============================================================
   ④ BUILD TIMELINE — scroll-linked progress in featured case
   ============================================================ */
.build-timeline {
  margin: 56px auto 0;
  padding: 40px 48px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 1100px;
}
.bt-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.bt-header-note {
  font-size: 0.78rem;
  color: var(--mute);
}
.bt-track-wrap { position: relative; }
.bt-track {
  height: 3px;
  background: var(--line);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}
.bt-fill {
  height: 100%;
  width: 0%;
  background: var(--terra);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.bt-phases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.bt-phase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-top: 4px;
}
.bt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--line);
  margin-bottom: 8px;
  margin-top: -7px;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.bt-dot.is-active { background: var(--terra); border-color: var(--terra); }
.bt-dot.bt-dot-final { background: var(--ink); border-color: var(--ink); }
.bt-week {
  font-size: 0.68rem;
  color: var(--mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.bt-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.bt-note {
  font-size: 0.72rem;
  color: var(--body);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .build-timeline { padding: 28px 20px; overflow-x: auto; }
  .bt-phases { grid-template-columns: repeat(6, minmax(90px, 1fr)); min-width: 520px; }
}

/* ============================================================
   ⑤ INDUSTRIES SECTION — hover-flip cards
   ============================================================ */
.industries-section {
  padding: 96px 48px;
  background: var(--cream);
}
.ind-inner { max-width: 1280px; margin: 0 auto; }
.ind-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.ind-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin: 10px 0 14px;
}
.ind-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.ind-sub {
  font-size: 1rem;
  color: var(--body);
  line-height: 1.6;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ind-card {
  position: relative;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  /* flip container */
  perspective: 900px;
}
.ind-front,
.ind-back {
  position: absolute;
  inset: 0;
  padding: 24px 22px;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
.ind-front {
  background: var(--cream-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  transform: rotateY(0deg);
}
.ind-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font);
  text-transform: none;
}
.ind-badge-live {
  color: #2A7A4A;
  background: rgba(42,122,74,0.08);
  border: 1px solid rgba(42,122,74,0.22);
}
.ind-badge-case {
  color: var(--terra);
  background: rgba(200,84,46,0.08);
  border: 1px solid rgba(200,84,46,0.22);
}
.ind-badge-soon {
  color: #8C6D2C;
  background: rgba(140,109,44,0.08);
  border: 1px solid rgba(140,109,44,0.22);
}
.ind-badge-open {
  color: var(--body);
  background: rgba(30,30,47,0.05);
  border: 1px solid rgba(30,30,47,0.15);
}
.ind-back {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--cream);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ind-card:hover .ind-front { transform: rotateY(-180deg); }
.ind-card:hover .ind-back  { transform: rotateY(0deg); }
.ind-icon {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--terra);
  opacity: 0.9;
}
.ind-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ind-teaser {
  font-size: 0.74rem;
  color: var(--mute);
  letter-spacing: 0.01em;
}
.ind-back-client {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.ind-back ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  flex: 1;
}
.ind-back ul li {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(250,247,242,0.82);
  padding-left: 12px;
  position: relative;
  margin-bottom: 3px;
}
.ind-back ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terra);
}
.ind-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terra);
  border-top: 1px solid rgba(250,247,242,0.15);
  padding-top: 10px;
  letter-spacing: 0.01em;
}
.ind-card-open .ind-back { background: var(--terra); }
.ind-card-open .ind-back-client { color: rgba(250,247,242,0.7); }
.ind-card-open .ind-cta { color: var(--cream); border-color: rgba(250,247,242,0.3); }

@media (max-width: 1024px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-section { padding: 72px 32px; }
}
@media (max-width: 640px) {
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ind-card { height: 190px; }
  .industries-section { padding: 56px 20px; }
  .ind-front, .ind-back { padding: 18px 16px; }
}

/* ============================================================
   ⑦ BIZ MATCHER — after services tiles
   ============================================================ */
.biz-matcher {
  margin: 48px auto 0;
  padding: 36px 40px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 720px;
}
.bm-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.5;
}
.bm-row { position: relative; }
.bm-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.bm-input:focus { border-color: var(--terra); }
.bm-result {
  margin-top: 16px;
  min-height: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--body);
  transition: opacity 0.3s;
}
.bm-result.is-visible { opacity: 1; }
.bm-result strong { color: var(--ink); font-weight: 600; }
.bm-result em { font-family: var(--serif); color: var(--terra); font-style: italic; }
.bm-result a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  .biz-matcher { padding: 24px 20px; }
}

/* ============================================================
   ③ IMPACT BOARD — replaces single testimonial
   ============================================================ */
.impact-board {
  position: relative;
  padding: 96px 48px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.impact-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,84,46,0.12), transparent);
  pointer-events: none;
}
.ib-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.ib-label { color: rgba(250,247,242,0.45) !important; }
.ib-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 36px 0 56px;
  flex-wrap: wrap;
}
.ib-metric {
  flex: 1;
  min-width: 140px;
  padding: 0 32px 0 0;
}
.ib-sep {
  width: 1px;
  height: 64px;
  background: rgba(250,247,242,0.12);
  flex-shrink: 0;
  margin: 0 32px 0 0;
  align-self: center;
}
.ib-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.ib-unit {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  vertical-align: super;
  color: var(--terra);
}
.ib-cap {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.65);
  line-height: 1.4;
  margin-bottom: 4px;
}
.ib-src {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}
.ib-quote-wrap {
  border-top: 1px solid rgba(250,247,242,0.12);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.ib-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: rgba(250,247,242,0.9);
  line-height: 1.55;
  margin: 0;
  position: relative;
  padding-left: 36px;
}
.ib-q-mark {
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2.8rem;
  color: var(--terra);
  font-family: var(--serif);
  line-height: 1;
}
.ib-quote em {
  color: var(--terra);
  font-style: italic;
}
.ib-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ib-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ib-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
}
.ib-role {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.5);
}
@media (max-width: 900px) {
  .ib-metrics { gap: 24px 0; }
  .ib-metric { min-width: 120px; padding-right: 20px; }
  .ib-sep { margin: 0 20px 0 0; }
  .ib-quote-wrap { grid-template-columns: 1fr; gap: 20px; }
  .impact-board { padding: 72px 24px; }
}
@media (max-width: 600px) {
  .ib-metrics { flex-wrap: wrap; gap: 24px; }
  .ib-metric { min-width: calc(50% - 12px); padding: 0; }
  .ib-sep { display: none; }
  .ib-quote { font-size: 1.2rem; padding-left: 28px; }
  .impact-board { padding: 56px 20px; }
}

/* ============================================================
   ⑥ STUDIO LOG — changelog strip
   ============================================================ */
.studio-log {
  padding: 64px 48px;
  background: var(--cream-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sl-inner { max-width: 860px; margin: 0 auto; }
.sl-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.sl-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
}
.sl-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.sl-tagline {
  font-size: 0.74rem;
  color: var(--mute);
  flex-shrink: 0;
}
.sl-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sl-item {
  display: grid;
  grid-template-columns: 80px 2px 1fr;
  align-items: start;
  gap: 0 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.sl-item:last-child { border-bottom: none; }
.sl-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: 0.02em;
  padding-top: 2px;
  text-align: right;
}
.sl-bar {
  width: 2px;
  height: 100%;
  background: var(--line);
  min-height: 20px;
  align-self: stretch;
}
.sl-entry {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.6;
  padding-top: 1px;
}
@media (max-width: 640px) {
  .studio-log { padding: 48px 20px; }
  .sl-item { grid-template-columns: 70px 2px 1fr; gap: 0 12px; }
  .sl-date { font-size: 0.7rem; }
}

/* ============================================================
   ① THE BOTTLENECK TEST — 3-step quiz in CTA section
   ============================================================ */
.bottleneck-test {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 740px;
  margin: 0 auto 48px;
}
.bkt-header { margin-bottom: 24px; }
.bkt-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.bkt-question {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 20px;
  min-height: 2.8em;
  transition: opacity 0.2s;
}
.bkt-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.bkt-step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mute);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.bkt-step.is-active {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
}
.bkt-step.is-done {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.bkt-step-line {
  flex: 1;
  height: 1.5px;
  background: var(--line);
  max-width: 40px;
}
.bkt-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
}
.bkt-opt {
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  line-height: 1.3;
}
.bkt-opt:hover {
  border-color: var(--terra);
  background: var(--terra-tint);
  transform: translateY(-1px);
}
.bkt-opt.is-selected {
  border-color: var(--terra);
  background: var(--terra);
  color: var(--cream);
}
.bkt-result {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--cream);
  border: 1.5px solid var(--terra);
  border-radius: 10px;
}
.bkt-res-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.bkt-res-rec {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.7;
}
.bkt-res-rec strong { font-weight: 700; color: var(--ink); }
.bkt-res-rec em { font-family: var(--serif); font-style: italic; color: var(--terra); }
.bkt-reset {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--mute);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}
.bkt-reset:hover { color: var(--terra); }
@media (max-width: 640px) {
  .bottleneck-test { padding: 24px 20px; }
  .bkt-opt { font-size: 0.82rem; padding: 10px 14px; }
}

/* ═══════════════════════════════════════════════════════
   HERO BACKDROP ILLUSTRATION (.hero-bg)
   Layered blueprint-style decoration sitting behind text + stack
═══════════════════════════════════════════════════════ */
.hero { overflow: hidden !important; }

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--ink);
  overflow: hidden;
}
/* Ensure all hero content sits above the backdrop */
.hero-inner, .hero-clients { position: relative; z-index: 2; }

/* Dot grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,30,47,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 50%, transparent 100%);
  opacity: 0.9;
}

/* Soft glowing orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.hero-bg-orb-1 {
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--terra) 0%, transparent 70%);
  opacity: 0.22;
}
.hero-bg-orb-2 {
  bottom: -180px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(30,30,47,0.35) 0%, transparent 70%);
  opacity: 0.18;
}

/* Big architectural ring (left side, behind text) */
.hero-bg-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--terra);
  opacity: 0.85;
  animation: hero-ring-rotate 60s linear infinite;
}
@keyframes hero-ring-rotate {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* System architecture diagram (right side, behind stack) */
.hero-bg-system {
  position: absolute;
  width: 240px;
  height: 200px;
  right: 6%;
  top: 12%;
  color: var(--terra);
  opacity: 0.5;
}

/* Scattered plus markers */
.hero-bg-plus {
  position: absolute;
  font-family: 'SF Mono','Fira Mono',monospace;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.5;
  font-size: 22px;
  line-height: 1;
  user-select: none;
}
.hero-bg-plus-1 { top: 14%;  left: 8%;  font-size: 28px; opacity: 0.4; }
.hero-bg-plus-2 { top: 72%;  left: 38%; font-size: 18px; opacity: 0.35; }
.hero-bg-plus-3 { top: 22%;  right: 4%; font-size: 24px; opacity: 0.5; }
.hero-bg-plus-4 { bottom: 12%; right: 14%; font-size: 20px; opacity: 0.4; }

/* Floating code snippet */
.hero-bg-code {
  position: absolute;
  top: 64%;
  left: 4%;
  font-family: 'SF Mono','Fira Mono',monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.32;
  background: rgba(250,247,242,0.6);
  border: 1px solid rgba(30,30,47,0.08);
  border-radius: 6px;
  padding: 10px 14px;
  backdrop-filter: blur(2px);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.hero-bg-code .cl-num {
  color: rgba(30,30,47,0.4);
  margin-right: 10px;
  font-size: 0.65rem;
}
.hero-bg-code .cl-kw { color: var(--terra); font-weight: 600; }
.hero-bg-code .cl-fn { color: var(--ink); font-weight: 600; }
.hero-bg-code .cl-str { color: #6B8E5A; }

/* Bottom annotation label */
.hero-bg-label {
  position: absolute;
  bottom: 18%;
  right: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--body);
  opacity: 0.55;
  letter-spacing: 0.01em;
}
.hero-bg-label .hbl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(200,84,46,0.18);
  animation: hbl-pulse 2.4s ease-in-out infinite;
}
@keyframes hbl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,84,46,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(200,84,46,0.05); }
}

/* Mobile — hide the heaviest decorations, keep just grid + orbs */
@media (max-width: 900px) {
  .hero-bg-ring,
  .hero-bg-system,
  .hero-bg-code,
  .hero-bg-label,
  .hero-bg-plus-2,
  .hero-bg-plus-4 { display: none; }
  .hero-bg-orb-1 { width: 320px; height: 320px; }
  .hero-bg-orb-2 { width: 320px; height: 320px; }
}
@media (max-width: 600px) {
  .hero-bg-plus { font-size: 16px !important; }
  .hero-bg-grid { background-size: 22px 22px; }
}

/* ═══════════════════════════════════════════════════════
   WHY-CUSTOM COMPARISON TABLE
═══════════════════════════════════════════════════════ */
.why-custom {
  background: var(--cream);
  padding: 96px 48px;
  position: relative;
}
.wc-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.wc-header {
  text-align: center;
  margin-bottom: 56px;
}
.wc-header .label {
  display: inline-block;
  margin-bottom: 14px;
}
.wc-headline {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.wc-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.wc-table {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-card);
}
.wc-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.wc-row:last-child { border-bottom: none; }
.wc-row:not(.wc-row-head):hover { background: rgba(200,84,46,0.025); }
.wc-cell {
  padding: 18px 20px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--body);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}
.wc-cell:last-child { border-right: none; }

.wc-label-cell {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.wc-row-head {
  background: rgba(30,30,47,0.03);
}
.wc-row-head .wc-cell {
  padding: 22px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.wc-col-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wc-col-sub {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--body);
  text-transform: uppercase;
}

/* Our column highlighted */
.wc-col-us {
  background: rgba(200,84,46,0.05);
}
.wc-row-head .wc-col-us .wc-col-title { color: var(--terra); }

.wc-yes { color: #2A7A4A; font-weight: 500; }
.wc-no  { color: #A0524A; }
.wc-mid { color: #8C6D2C; }
.wc-col-us.wc-yes { color: var(--terra); font-weight: 600; }

.wc-note {
  text-align: center;
  margin: 40px auto 0;
  max-width: 740px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body);
}
.wc-note em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 1.02rem;
}

/* Mobile — stack columns into cards */
@media (max-width: 900px) {
  .why-custom { padding: 64px 24px; }
  .wc-headline { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .wc-table {
    background: transparent;
    border: none;
  }
  .wc-row {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 12px;
    background: var(--cream-card);
    overflow: hidden;
  }
  .wc-row-head { display: none; }
  .wc-cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .wc-cell:last-child { border-bottom: none; }
  .wc-label-cell {
    background: rgba(30,30,47,0.04);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .wc-cell::before {
    content: attr(data-col);
    font-size: 0.7rem;
    color: var(--body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 8px;
    font-weight: 600;
  }
  .wc-row > .wc-cell:nth-child(2)::before { content: "Template:"; }
  .wc-row > .wc-cell:nth-child(3)::before { content: "Agency:"; }
  .wc-row > .wc-cell:nth-child(4)::before { content: "BuildByAyush:"; color: var(--terra); }
  .wc-row > .wc-label-cell::before { content: none; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES (privacy.php · terms.php) — editorial minimal
═══════════════════════════════════════════════════════ */
.legal-page {
  background: var(--cream);
  padding: 80px 48px 96px;
  min-height: calc(100vh - 64px);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--body);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.22s, gap 0.22s;
}
.legal-back:hover { color: var(--terra); gap: 12px; }
.legal-label {
  display: inline-block;
  font-family: 'SF Mono','Fira Mono',monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}
.legal-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.legal-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--body);
  margin: 0 0 56px;
}
.legal-prose {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
}
.legal-prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 40px 0 12px;
}
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose p { margin: 0 0 18px; }
.legal-prose a {
  color: var(--terra);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.22s;
}
.legal-prose a:hover { opacity: 0.7; }
.legal-prose strong { color: var(--ink); font-weight: 600; }

@media (max-width: 768px) {
  .legal-page { padding: 48px 24px 64px; }
  .legal-prose h2 { font-size: 1.1rem; margin: 32px 0 10px; }
}


