/* ========================================
   WORKS.CY — design tokens
   ======================================== */
:root {
  --cream: #F5F1EB;
  --ink: #0A0A0A;
  --ink-2: #6B6B6B;
  --ink-3: #AAAAAA;
  --gold: #C8A96E;
  --gold-dark: #7A5C28;
  --gold-tint: rgba(200, 169, 110, 0.11);
  --gold-tint-strong: rgba(200, 169, 110, 0.18);
  --dark-bg: #111111;
  --dark-card: #1C1C1C;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-light: rgba(0, 0, 0, 0.06);
  --border-dark: rgba(255, 255, 255, 0.08);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;

  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, button { font-family: inherit; }

::selection { background: var(--gold); color: #fff; }

/* ========================================
   Code field (full background, fades on scroll,
   parts around the draggable Works logo like water)
   ======================================== */
.code-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform, opacity;
}
.cf-line {
  position: absolute;
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: rgba(10, 10, 10, 0.20);
  font-weight: 400;
  white-space: pre;
  overflow: hidden;
  text-overflow: clip;
  will-change: transform;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  pointer-events: none;
}
.cf-line.accent { color: rgba(122, 92, 40, 0.42); }

@media (max-width: 1180px) {
  .cf-line { font-size: 10.5px; }
}
@media (max-width: 720px) {
  .code-field { opacity: 0.6; }
  .cf-line { font-size: 10px; }
}

/* The hero must paint above the code */
.hero { position: relative; z-index: 1; }

/* ========================================
   Type primitives
   ======================================== */
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.005em; }
.sans { font-family: var(--sans); }

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-muted {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ========================================
   Layout
   ======================================== */
.shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}

.shell-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

section.pad {
  padding-top: 140px;
  padding-bottom: 140px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 80px;
}

.section-head.center {
  align-items: center;
  text-align: center;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* ========================================
   Reveal animations (scroll-triggered)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out-quart),
              transform 600ms var(--ease-out-quart);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-l { transform: translateX(-24px); }
.reveal-l.is-in { transform: translateX(0); }
.reveal-r { transform: translateX(24px); }
.reveal-r.is-in { transform: translateX(0); }

/* ========================================
   Nav
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms linear,
              backdrop-filter 300ms linear,
              border-color 300ms linear;
}
.nav.scrolled {
  background: rgba(245, 241, 235, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 200ms ease;
}
.nav-brand:hover { opacity: 0.7; }
.nav-brand img { height: 28px; width: auto; }
.nav-brand span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 12px;
  padding: 12px 18px;
  transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease, transform 200ms ease;
  white-space: nowrap;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #222; }
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 18px 42px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
  text-decoration: none;
}
.btn-pill:hover { background: var(--ink); color: #fff; }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  text-align: center;
}
.hero-logo-wrap {
  position: relative;
  width: 420px;
  max-width: 80vw;
  aspect-ratio: 1024 / 576;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
}
.hero-logo-wrap.loaded { opacity: 1; }
.hero-logo-wrap.dragging {
  cursor: grabbing;
}
.hero-logo-wrap.dragging .hero-logo {
  transform: scale(1.03);
}
.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 220ms ease;
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-logo-wrap:hover .hero-logo {
  filter: drop-shadow(0 6px 24px rgba(122, 92, 40, 0.12));
}
.hero-logo-hint {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 400ms ease;
}
.hero-logo-wrap.loaded.hint .hero-logo-hint {
  opacity: 0.55;
  animation: hintBreathe 2.4s ease-in-out 1.6s infinite;
}
.hero-logo-wrap.dragging .hero-logo-hint { opacity: 0; }
@keyframes hintBreathe {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.75; }
}
.hero-tagline {
  margin-top: 38px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.005em;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 800ms var(--ease-out-quart) 300ms forwards;
}
.hero-headline {
  margin-top: 160px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 72px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 980px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 800ms var(--ease-out-quart) 450ms forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: scrollFadeIn 800ms ease 900ms forwards, breathe 2s ease-in-out 1.7s infinite;
  transition: opacity 300ms ease;
}
.hero-scroll.gone { opacity: 0 !important; pointer-events: none; }
.hero-scroll .line {
  width: 1px;
  height: 36px;
  background: var(--ink-3);
}
.hero-scroll .label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  text-transform: uppercase;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollFadeIn {
  from { opacity: 0; }
  to { opacity: 0.8; }
}
@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

/* ========================================
   Trust strip
   ======================================== */
.trust {
  padding: 72px 0 32px;
  text-align: center;
}
.trust-eyebrow { margin-bottom: 28px; }
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  opacity: 0.42;
  filter: grayscale(1);
  letter-spacing: -0.005em;
  transition: opacity 200ms ease;
}
.trust-logo:hover { opacity: 1; }
.trust-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 200ms ease, filter 200ms ease;
}
.trust-logo-img:hover { opacity: 1; filter: grayscale(0); }

/* ========================================
   Portfolio
   ======================================== */
.portfolio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 96px 0;
}
.portfolio-row.reverse > .pf-text { order: 2; }
.portfolio-row.reverse > .pf-device { order: 1; }
.pf-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 440px;
}
.pf-text .eyebrow { line-height: 1.4; }
.pf-text h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.pf-text .client {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.pf-text .desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* Device mockups (CSS-drawn) — with swap animation */
.pf-device {
  position: relative;
  width: 100%;
  height: 480px;
  display: block;
}
.dev {
  position: absolute;
  background: var(--ink);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  overflow: hidden;
  transition: top 720ms var(--ease-out-quart),
              left 720ms var(--ease-out-quart),
              width 720ms var(--ease-out-quart),
              border-radius 720ms var(--ease-out-quart),
              padding 720ms var(--ease-out-quart),
              transform 720ms var(--ease-out-quart),
              box-shadow 300ms ease;
}
.dev::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0) inset;
  transition: box-shadow 200ms ease;
}
.dev:hover { transform: translateY(-2px); }
.dev-tablet { aspect-ratio: 4 / 3; }
.dev-phone { aspect-ratio: 9 / 19; }

.dev-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.dev-tablet .dev-screen { border-radius: 12px; }
.dev-phone .dev-screen { border-radius: 22px; }
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 16px;
  background: var(--ink);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}

/* State A — tablet leads */
.pf-device.state-a .dev-tablet {
  top: 4%; left: 0; width: 76%;
  border-radius: 22px; padding: 12px;
  z-index: 1;
}
.pf-device.state-a .dev-phone {
  top: 26%; left: 70%; width: 30%;
  border-radius: 28px; padding: 7px;
  z-index: 2;
}

/* State B — phone leads */
.pf-device.state-b .dev-tablet {
  top: 14%; left: 60%; width: 40%;
  border-radius: 14px; padding: 8px;
  z-index: 1;
}
.pf-device.state-b .dev-phone {
  top: 0; left: 6%; width: 33%;
  border-radius: 30px; padding: 8px;
  z-index: 2;
}

.dev-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fafaf7;
}

/* Screenshot placeholders inside devices */
.scr {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 10px;
  background: #fafaf7;
}
.scr-tablet { padding: 22px; gap: 14px; }
.scr-bar {
  height: 12px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
}
.scr-bar.gold { background: var(--gold-tint-strong); }
.scr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scr-row { display: flex; gap: 10px; align-items: center; }
.scr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.scr-pill {
  display: inline-flex;
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-weight: 500;
  width: max-content;
}
.scr-title {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.1;
  color: var(--ink);
}
.scr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* ========================================
   ROI / Situation tool
   ======================================== */
.roi-wrap { max-width: 1080px; margin: 0 auto; }
.roi-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 760px;
}
.roi-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.roi-head p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 600px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pain-card {
  position: relative;
  background: #fff;
  border: 0.5px solid var(--border);
  border-left: 2.5px solid transparent;
  border-radius: 12px;
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: border-color 200ms ease, background-color 200ms ease, transform 80ms ease;
}
.pain-card:hover { border-color: var(--gold); }
.pain-card.selected {
  background: var(--gold-tint);
  border-color: rgba(200,169,110,0.35);
  border-left: 2.5px solid var(--gold);
}
.pain-card.selected .pain-text { color: var(--ink); }
.pain-card.selected .pain-icon { color: var(--gold-dark); }
.pain-card.pressed { transform: scale(0.97); }
.pain-icon {
  flex: none;
  color: var(--ink-3);
  margin-top: 1px;
  transition: color 200ms ease;
}
.pain-text {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink-2);
  transition: color 200ms ease;
}
.pain-check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.pain-card.selected .pain-check {
  background: var(--gold);
  border-color: var(--gold);
}
.pain-check svg {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 200ms ease, transform 320ms var(--ease-spring);
}
.pain-card.selected .pain-check svg {
  opacity: 1;
  transform: scale(1);
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,169,110,0.18);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 650ms ease-out forwards;
}
@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

/* Sliders */
.sliders-wrap {
  margin-top: 30px;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 400ms var(--ease-out-quart), opacity 400ms ease;
}
.sliders-wrap.open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.sliders-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sliders-hint {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-2);
  padding-top: 16px;
}
.slider-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.slider-label {
  width: 130px;
  flex: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.1);
  outline: none;
  border-radius: 2px;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(200,169,110,0.5);
}
.slider-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--cream);
}
.slider-value {
  width: 140px;
  flex: none;
  text-align: right;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold-dark);
  transition: transform 250ms var(--ease-spring);
}
.slider-value.bump { animation: bump 250ms ease; }
@keyframes bump {
  0% { transform: scale(0.86); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Cost meter */
.meter {
  margin-top: 36px;
  background: var(--gold-tint);
  border-radius: 14px;
  padding: 28px 28px 26px;
  opacity: 0.5;
  transition: opacity 400ms ease;
}
.meter.live { opacity: 1; }
.meter-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-transform: uppercase;
}
.meter-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.05;
  margin-top: 10px;
  color: var(--ink);
  transition: color 200ms ease;
}
.meter-num.flash { color: var(--gold); }
.meter-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
}
.meter-divider {
  height: 1px;
  background: rgba(122,92,40,0.18);
  margin: 22px 0 18px;
}
.meter-rows { display: flex; flex-direction: column; gap: 10px; }
.meter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-8px);
  animation: rowIn 400ms ease forwards;
}
.meter-row .l { color: var(--ink-2); }
.meter-row .r { color: var(--gold-dark); font-weight: 500; font-variant-numeric: tabular-nums; }
@keyframes rowIn {
  to { opacity: 1; transform: translateX(0); }
}
.meter-payback {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(122,92,40,0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-spring), transform 500ms var(--ease-spring);
}
.meter-payback.in {
  opacity: 1;
  transform: translateY(0);
}
.meter-payback .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  color: var(--gold-dark);
  line-height: 1.1;
}
.meter-payback .desc {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Reading button */
.reading-wrap {
  margin-top: 22px;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 400ms var(--ease-out-quart), opacity 400ms ease;
}
.reading-wrap.open { grid-template-rows: 1fr; opacity: 1; }
.reading-inner { overflow: hidden; }
.reading-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: pulseScale 3s ease-in-out infinite;
  transition: opacity 200ms ease;
}
.reading-btn:disabled { opacity: 0.6; cursor: wait; animation: none; }
@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.009); }
}
.spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ROI Phase 2 */
.roi-phase2 {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.phase2-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out-quart), transform 600ms var(--ease-out-quart);
}
.phase2-card.in { opacity: 1; transform: translateY(0); }

.reading-card {
  background: var(--dark-bg);
  border-radius: 14px;
  padding: 36px 36px 40px;
  color: #fff;
}
.reading-card .eyebrow { color: rgba(200,169,110,0.7); }
.reading-text {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.7;
  color: #fff;
  min-height: 4em;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 0.9s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.approach-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 34px 36px 36px;
}
.approach-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.approach-badge.automate { background: rgba(96,140,80,0.12); color: #486035; }
.approach-badge.build { background: var(--gold-tint); color: var(--gold-dark); }
.approach-badge.hybrid { background: rgba(70,110,150,0.12); color: #2C4E6E; }

.approach-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
}
.approach-sub {
  margin-top: 6px;
  font-family: var(--sans);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-2);
}
.approach-bullets {
  margin-top: 22px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.approach-bullets li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 400ms ease, transform 400ms var(--ease-out-quart);
}
.approach-bullets li.in { opacity: 1; transform: translateX(0); }
.approach-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.approach-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.approach-strip-cell {
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.approach-strip-cell .t {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.approach-strip-cell .d {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
}
.approach-strip-cell.on {
  background: var(--gold-tint);
  border-color: rgba(200,169,110,0.32);
}
.approach-strip-cell.on .t { color: var(--gold-dark); }
.approach-strip-cell.on .d { color: var(--ink); }

.cta-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 38px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.1;
  color: var(--ink);
}
.cta-card p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 560px;
}
.cta-buttons { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ========================================
   Architect
   ======================================== */
.architect {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: center;
}
.arch-photo {
  background: #EDE8E0;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.arch-photo .ph-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.arch-photo .ph-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.05;
}
.arch-photo .ph-loc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 4px;
}
.arch-photo .ph-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.arch-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}
.arch-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.arch-body p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}
.arch-sig {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}

/* ========================================
   Testimonials (dark)
   ======================================== */
.dark-section {
  background: var(--dark-bg);
  color: #fff;
  padding: 140px 0;
}
.dark-section .eyebrow { color: rgba(200,169,110,0.8); }
.dark-section h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.012em;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--dark-card);
  border: 0.5px solid var(--border-dark);
  border-radius: 16px;
  padding: 34px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.testi-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
}
.testi-sep {
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.testi-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.testi-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.testi-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.testi-role {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ========================================
   Stats
   ======================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat {
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 70px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ========================================
   Final CTA
   ======================================== */
.final-cta {
  padding: 220px 0 220px;
  text-align: center;
}
.final-cta .h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.final-cta .h em {
  font-style: italic;
  font-weight: 300;
}
.final-cta .gap { height: 40px; }

/* ========================================
   Footer
   ======================================== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img { height: 22px; }
.footer-brand span {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
  text-align: center;
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  color: var(--ink-2);
}
.footer-social a {
  color: var(--ink-2);
  opacity: 0.7;
  transition: opacity 200ms ease;
  display: inline-flex;
}
.footer-social a:hover { opacity: 1; color: var(--ink); }

/* ========================================
   AUTOMATIONS — conveyor of tasks
   ======================================== */
.automations {
  position: relative;
  padding: 110px 0 84px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.auto-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.auto-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  font-weight: 500;
}
.auto-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.auto-head h2 em {
  font-style: italic;
  color: var(--gold-dark);
}
.auto-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 540px;
}

/* Belt */
.conveyor {
  position: relative;
  height: 240px;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.conveyor-fade { display: none; }

/* Ambient data streams behind the belt */
.auto-streams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.auto-stream {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
}
.auto-stream-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.05) 12%,
    rgba(0,0,0,0.05) 88%,
    transparent 100%);
}
.auto-stream-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(200,169,110,0.5);
  animation: streamRun linear infinite;
}
.auto-stream.s1 { top: 18%; }
.auto-stream.s1 .auto-stream-dot { animation-duration: 7.5s; }
.auto-stream.s2 { top: 32%; }
.auto-stream.s2 .auto-stream-dot {
  animation-duration: 11s;
  animation-delay: -2.4s;
  background: var(--ink);
  box-shadow: none;
  opacity: 0.55;
}
.auto-stream.s3 { top: 70%; }
.auto-stream.s3 .auto-stream-dot {
  animation-duration: 9s;
  animation-delay: -5.1s;
}
.auto-stream.s4 { top: 86%; }
.auto-stream.s4 .auto-stream-dot {
  animation-duration: 13s;
  animation-delay: -8.2s;
  background: var(--ink);
  box-shadow: none;
  opacity: 0.4;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  margin-left: -2px;
}
@keyframes streamRun {
  from { left: -2%; }
  to   { left: 102%; }
}

/* Synchronised marquee strips */
.strip-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.strip-wrap-done {
  /* Reveal only the right half — chips visually transform at the beam */
  clip-path: inset(0 0 0 50%);
  z-index: 2;
}
.strip {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: beltRun 44s linear infinite;
}
@keyframes beltRun {
  from { transform: translate(0, -50%); }
  to   { transform: translate(-50%, -50%); }
}

/* Chips */
.auto-chip {
  flex: none;
  width: 252px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.auto-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auto-chip-todo .auto-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(170,170,170,0.18);
  animation: chipBlink 1.6s ease-in-out infinite;
  flex: none;
}
@keyframes chipBlink {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50%      { opacity: 1;    transform: scale(1.08); }
}
.auto-chip-done {
  background: #FBF6EC;
  border-color: rgba(200,169,110,0.45);
  color: var(--gold-dark);
  box-shadow: 0 1px 0 rgba(122,92,40,0.05), 0 0 0 1px rgba(200,169,110,0.05);
}
.auto-chip-done .auto-chip-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Beam (vertical gold processing line) */
.auto-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}
.auto-beam-line {
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent 100%);
  transform: translateX(-0.5px);
  animation: beamPulse 2.2s ease-in-out infinite;
}
@keyframes beamPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.auto-beam-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(200,169,110,0.18) 0%,
    rgba(200,169,110,0.08) 35%,
    transparent 65%);
  animation: beamGlow 2.2s ease-in-out infinite;
}
@keyframes beamGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
.auto-beam-cap {
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(200,169,110,0.7);
}
.auto-beam-cap-top    { top: 14%; transform: translateY(-50%); }
.auto-beam-cap-bottom { bottom: 14%; transform: translateY(50%); }

.auto-beam-label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -82px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--gold-dark);
  white-space: nowrap;
  background: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200,169,110,0.35);
}
.auto-beam-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: beamPulse 1.6s ease-in-out infinite;
}

/* Footer stats below the conveyor */
.auto-foot {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.auto-foot-cell {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  position: relative;
}
.auto-foot-cell + .auto-foot-cell::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--border);
}
.auto-foot-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.auto-foot-num small,
.auto-foot-num span {
  font-size: 16px;
  color: var(--gold-dark);
  margin-left: 2px;
  letter-spacing: 0.04em;
}
.auto-foot-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Slow the belt down on small screens so chips don't blur */
@media (max-width: 960px) {
  .conveyor { height: 200px; }
  .auto-chip { width: 220px; height: 52px; font-size: 13px; }
  .auto-head h2 { font-size: 36px; }
  .strip { animation-duration: 60s; }
  .auto-foot-num { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .strip { animation-duration: 120s; }
  .auto-stream-dot,
  .auto-beam-line,
  .auto-beam-glow,
  .auto-beam-label .dot,
  .auto-chip-todo .auto-chip-dot { animation: none; }
}

/* ========================================
   Portfolio — dramatic centered header
   ======================================== */
.portfolio-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  margin-bottom: 120px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 560px;
  margin-bottom: 6px;
}
.portfolio-rule .ph-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122,92,40,0.32), transparent);
}
.portfolio-rule .ph-rule-tag {
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  text-transform: uppercase;
  white-space: nowrap;
}
.portfolio-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.portfolio-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 112px;
  line-height: 0.96;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-top: 6px;
}
.portfolio-title .pt-line {
  display: block;
}
.portfolio-title em {
  font-style: italic;
  color: var(--gold-dark);
}
.portfolio-meta {
  margin-top: 18px;
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 22px 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pm-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
}
.pm-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.pm-num small {
  font-size: 18px;
  color: var(--gold-dark);
  margin-left: 1px;
  letter-spacing: 0;
}
.pm-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pm-divider {
  width: 1px;
  background: var(--border);
}
.portfolio-sub {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 560px;
}

@media (max-width: 960px) {
  .portfolio-title { font-size: 64px; }
  .portfolio-meta { gap: 14px; padding: 18px 18px; }
  .pm-cell { min-width: 90px; }
  .pm-num { font-size: 30px; }
  .portfolio-sub { font-size: 17px; }
  .portfolio-head { margin-bottom: 80px; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 960px) {
  .shell, .shell-wide { padding: 0 28px; }
  .hero-logo-wrap { width: 260px; }
  .hero-headline { font-size: 44px; margin-top: 64px; }
  .portfolio-row {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0;
  }
  .portfolio-row.reverse > .pf-text { order: 1; }
  .portfolio-row.reverse > .pf-device { order: 2; }
  .pf-device { height: 360px; max-width: 460px; margin: 0 auto; }
  .pf-device.state-a .dev-tablet { width: 70%; }
  .pf-device.state-a .dev-phone { left: 64%; width: 32%; }
  .pf-device.state-b .dev-tablet { left: 56%; width: 40%; }
  .pf-device.state-b .dev-phone { left: 4%; width: 34%; }
  .architect { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .roi-head h2 { font-size: 36px; }
  .arch-body h2 { font-size: 32px; }
  .stat-num { font-size: 48px; }
  .final-cta .h { font-size: 36px; }
  section.pad { padding-top: 96px; padding-bottom: 96px; }
  .nav-inner { padding: 0 20px; }
}
