/* =========================================================
   POWERIZE PROPERTIES — STYLES
   Light theme · square corners · image-first
   ========================================================= */

/* ---------- Fonts (self-hosted, latin subset, SIL Open Font Licence) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../assets/fonts/playfair-display.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../assets/fonts/playfair-display-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #FFFFFF;
  --stone: #F5F3EE;
  --line: #E3E0D8;
  --ink: #0A1628;
  --ink-hover: #13233F;
  --ink-2: #4A5568;
  --muted: #8A8F98;
  --gold: #A8822E;
  --gold-soft: #F3EBD9;

  /* Accessible text variants (WCAG AA 4.5:1 on paper AND stone).
     --gold and --muted are kept for rules, ticks, large numerals and
     decoration; small text uses these darker shades instead. */
  --gold-text: #7F6118;
  --muted-text: #646973;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left));
  --gutter-r: max(20px, env(safe-area-inset-right));
  --section-y: 112px;
  --nav-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3 {
  color: var(--ink);
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.06rem; line-height: 1.35; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { max-width: 65ch; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Focus ---------- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sample :focus-visible,
.announce :focus-visible,
.lightbox :focus-visible,
.mock__card--win :focus-visible { outline-color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.container--narrow { max-width: calc(880px + var(--gutter-l) + var(--gutter-r)); }
.container--wide { max-width: calc(1400px + var(--gutter-l) + var(--gutter-r)); }
.section { padding-block: var(--section-y); scroll-margin-top: 56px; }
.bg-paper { background: var(--paper); }
.bg-stone { background: var(--stone); }
[id] { scroll-margin-top: 64px; }

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head h2 + .lead { margin-top: 20px; }
.lead { font-size: 1.12rem; color: var(--ink-2); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); flex: none; }
.eyebrow--dark { color: var(--gold); }

.caption { margin-top: 14px; font-size: 14px; color: var(--muted-text); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 17px 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; line-height: 1.1; text-align: center;
  border: 1px solid transparent; background: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--sm { min-height: 42px; padding: 12px 20px; font-size: 12px; }
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.btn--primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn--primary:hover::after { transform: scaleX(1); }
.btn--secondary { color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: #B89239; border-color: #B89239; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-cta span { display: inline-block; transition: transform .25s var(--ease); }
.link-cta:hover span { transform: translateX(4px); }
.link-cta--light { color: #fff; }

/* ---------- Ticks / crosses ---------- */
.tick, .cross {
  position: relative; display: inline-block; flex: none;
  width: 16px; height: 16px; margin-top: .3em; background: var(--gold);
}
.tick::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cross { background: var(--ink); }
.cross::before, .cross::after {
  content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 2px; background: #fff;
}
.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13px; text-align: center; }
.announce a {
  display: block; padding: 10px var(--gutter-r) 10px var(--gutter-l);
  text-decoration: none; color: #fff; line-height: 1.45;
}
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.nav.is-scrolled { box-shadow: 0 1px 12px rgba(10, 22, 40, .05); }
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--nav-h); transition: height .25s var(--ease);
}
.nav.is-scrolled .nav__inner { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__icon { width: 38px; height: 38px; flex: none; }
.logo__rule { width: 1px; height: 30px; background: var(--line); flex: none; }
.logo__word { width: 101px; height: 38px; flex: none; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a {
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding-block: 6px; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav__links a:hover { border-color: var(--gold); }
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: #fff;
  display: flex; flex-direction: column; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); }
.mobile-menu__links { display: flex; flex-direction: column; padding-top: 24px; }
.mobile-menu__links a:not(.btn) {
  font-family: var(--serif); font-size: 2rem; color: var(--ink); text-decoration: none;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.mobile-menu__links .btn { margin-top: 32px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.icon-btn--light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.icon-btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 96px; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero__sub { font-size: 1.1rem; margin-bottom: 32px; }
.quick-form__label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.quick-form__row { display: flex; }
.quick-form input {
  flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px;
  border: 1px solid var(--ink); border-right: 0; background: #fff; color: var(--ink); font-size: 15px;
}
.quick-form input::placeholder { color: var(--muted-text); }
.quick-form .btn { min-height: 56px; flex: none; }
.quick-form .field-error { margin-top: 8px; }
.hero__or { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-text); }
.hero__or::before, .hero__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wa-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 56px;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none; background: #fff;
  transition: background-color .25s, color .25s;
}
.wa-btn svg { flex: none; }
.wa-btn__text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.wa-btn__text strong { font-size: 14px; font-weight: 700; }
.wa-btn__text span { font-size: 13px; color: var(--ink-2); }
.wa-btn__arrow { transition: transform .25s var(--ease); }
.wa-btn:hover { background: var(--ink); color: #fff; }
.wa-btn:hover .wa-btn__text span { color: rgba(255,255,255,.8); }
.wa-btn:hover .wa-btn__arrow { transform: translateX(4px); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.trust li { display: flex; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba.is-photo { cursor: default; touch-action: auto; }
.mock__dull { filter: brightness(.7) saturate(.35) contrast(.9) blur(.5px); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 14px; z-index: 2;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 10px; line-height: 1; pointer-events: none;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 1px; background: #fff; transform: translateX(-.5px); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.ba:focus-visible { outline-offset: 3px; }

/* Tile (touch mode): tap toggles */
.ba.is-toggle { cursor: pointer; }
.ba.is-toggle .ba__handle { display: none; }
.ba.is-toggle .ba__before { clip-path: none; opacity: 0; transition: opacity .2s; }
.ba.is-toggle.show-before .ba__before { opacity: 1; }
.ba.is-toggle .ba__tag--before, .ba.is-toggle .ba__tag--after { left: 10px; right: auto; transition: opacity .2s; }
.ba.is-toggle .ba__tag--before { opacity: 0; }
.ba.is-toggle.show-before .ba__tag--before { opacity: 1; }
.ba.is-toggle.show-before .ba__tag--after { opacity: 0; }

/* ---------- Number band ---------- */
.numbers { border-block: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 16px; border-left: 1px solid var(--line);
}
.numbers__grid li:first-child { border-left: 0; }
.numbers__n { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 500; color: var(--ink); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.numbers__l { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-text); }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { margin-bottom: 24px; }
.points { margin-top: 40px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.points__n { font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1.1; }
.points h3 { margin-bottom: 4px; }

.mock { display: grid; gap: 14px; max-width: 520px; margin-left: auto; width: 100%; }
.mock__card {
  position: relative; display: grid; grid-template-columns: 42% 1fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 12px;
}
.mock__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mock__card:not(.mock__card--win) { opacity: .78; }
.mock__card--win { border: 2px solid var(--gold); padding: 11px; transform: translateX(-16px); }
.mock__meta { display: flex; flex-direction: column; gap: 10px; }
.mock__line { display: block; height: 10px; background: var(--line); width: 90%; }
.mock__line--short { width: 55%; }
.mock__price { font-size: 13px; font-weight: 700; color: var(--ink); }
.mock__tag {
  position: absolute; top: -13px; right: 14px; background: var(--gold-soft); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; line-height: 1;
  border: 1px solid var(--gold);
}

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs__tab {
  background: none; border: 0; padding: 14px 0; margin-bottom: -1px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; transition: opacity .2s; }
.work-grid.is-fading { opacity: 0; }
.tile { position: relative; overflow: hidden; background: var(--line); }
.tile .ba__img { transition: transform .6s var(--ease); }
.tile:hover .ba__img { transform: scale(1.03); }
.tile .ba__tag { top: 10px; font-size: 10px; padding: 5px 8px; }
.tile .ba__tag--before { left: 10px; }
.tile .ba__tag--after { right: auto; left: 10px; display: none; }
.tile .ba.is-toggle .ba__tag--after { display: block; }
.tile .ba:not(.is-toggle) .ba__tag--before { display: none; }
.tile__label {
  position: absolute; left: 10px; bottom: 10px; z-index: 4; background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 6px 10px; line-height: 1.2; pointer-events: none;
}
.tile__expand {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 40px; height: 40px; border: 0; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.tile__expand:hover { background: var(--ink); color: #fff; }
.tile__hint {
  position: absolute; right: 10px; bottom: 10px; z-index: 4; background: rgba(10,22,40,.85); color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 8px; line-height: 1.2; pointer-events: none;
}
.work-empty { padding: 40px 0; text-align: center; margin-inline: auto; }
.work-more { display: flex; justify-content: center; margin-top: 40px; }
.cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.cta-row p { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); }
.center-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); padding-block: 4px; }
.marquee__track { display: flex; gap: 4px; width: max-content; }
.marquee__track img { height: 260px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }

/* ---------- Videos ---------- */
/* Widths proportional to aspect ratio, so all three videos share one height. */
.videos { display: grid; gap: 16px; }
.videos__stage { background: var(--ink); }
.videos__stage video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.calc__inputs { padding: 48px; display: grid; gap: 44px; align-content: center; border-right: 1px solid var(--line); }
.range__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.range label { font-weight: 600; color: var(--ink); font-size: 15px; }
.range output { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums;  white-space: nowrap; flex: none; }
.range__help { margin-top: 10px; font-size: 14px; color: var(--muted-text); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(to right, var(--ink) var(--fill), var(--line) var(--fill));
}
input[type="range"]::-moz-range-track { height: 2px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: #fff;
  border: 2px solid var(--ink); border-radius: 0;
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 2px solid var(--ink); border-radius: 0; }
input[type="range"]:focus-visible { outline-offset: 4px; }
.calc__outputs { padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-content: start; background: #fff; }
.calc__out { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--gold); }
.calc__out--wide { grid-column: 1 / -1; }
.calc__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-text); }
.calc__num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.calc__sentence { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--ink); }
.calc__sentence strong { font-weight: 600; }
.calc__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-text); }
.calc__outputs .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: -32px; height: 1px; background: var(--line); }
.steps li:last-child::before { right: 0; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--gold); }
.steps__n { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; font-size: 1.12rem; }

/* ---------- Pricing ---------- */
.tabs--pricing { margin-bottom: 40px; }
.price-panel { transition: opacity .2s; }
.price-panel.is-fading { opacity: 0; }
.prices { display: grid; gap: 0; border: 1px solid var(--line); background: #fff; }
.prices--4 { grid-template-columns: repeat(4, 1fr); }
.prices--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.price {
  position: relative; display: flex; flex-direction: column; padding: 56px 28px 36px; border-left: 1px solid var(--line); background: #fff;
}
.price:first-child { border-left: 0; }
.price__name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 18px 0 24px; min-height: 64px; }
.price__amount strong { font-family: var(--serif); font-weight: 500; font-size: 3.2rem; color: var(--ink); line-height: 1; }
.price__amount span { font-size: 14px; color: var(--muted-text); }
.price__list { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; align-content: start; }
.price__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.price__list .tick { width: 14px; height: 14px; margin-top: .3em; }
.price__list .tick::after { left: 4px; top: 1px; width: 4px; height: 8px; }
.price .btn { width: 100%; white-space: normal; }
.price--featured { background: var(--ink); color: rgba(255,255,255,.82); border-left-color: var(--ink); }
.price--featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.price--featured .price__name, .price--featured .price__amount strong { color: #fff; }
.price--featured .price__amount span { color: rgba(255,255,255,.75); }
.price--featured .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.price--featured .btn--primary:hover { background: var(--gold-soft); }
.price--featured :focus-visible { outline-color: #fff; }
.price__tag {
  position: absolute; top: 20px; left: 28px; background: var(--gold-soft); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; line-height: 1;
}
.price__head { display: flex; flex-direction: column; }
.prices__more { margin-top: 32px; }
.prices__more .link-cta { display: inline; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- Promise ---------- */
.promise { display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise__col { padding: 40px 0; }
.promise__col + .promise__col { padding: 40px 0 40px 48px; border-left: 1px solid var(--line); }
.promise h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 24px; }
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.checklist li { display: flex; gap: 12px; color: var(--ink); font-weight: 500; }

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.who li { border-left: 1px solid var(--line); padding-bottom: 28px; }
.who li:first-child { border-left: 0; }
.who img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; }
.who h3, .who p { padding-inline: 24px; }
.who h3 { margin-bottom: 6px; }
.who p { font-size: 15px; }

/* ---------- Testimonials / case ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.quote { padding: 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote:first-child { border-left: 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.45; }
.quote__who { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.quote__who img { width: 64px; height: 48px; object-fit: cover; }
.quote__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.quote__role { font-size: 13px; color: var(--muted-text); }
.case { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.case__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.case__copy p { margin-bottom: 24px; }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.case__pair figcaption { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-text); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: 0; padding: 24px 0; text-align: left;
  font-family: var(--sans); font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--ink); flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--ink); }
.faq__q[aria-expanded="true"] .faq__icon::before, .faq__q[aria-expanded="true"] .faq__icon::after { background: #fff; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; transition: height .3s var(--ease); }
.faq__inner { padding: 0 56px 26px 0; }

/* ---------- Free sample (the one dark block) ---------- */
.sample { background: var(--ink); color: rgba(255,255,255,.82); }
.sample h2 { color: #fff; margin-bottom: 18px; }
.sample .lead { color: rgba(255,255,255,.82); margin-bottom: 40px; }
.sample__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.req { color: var(--gold); }
.opt { font-weight: 400; color: rgba(255,255,255,.7); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; background: #fff; color: var(--ink);
  border: 1px solid #fff; font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230A1628' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input[type="file"] { padding: 12px; min-height: 0; font-size: 14px; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 9px 14px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-text); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #F2B8B5; box-shadow: inset 0 0 0 1px #F2B8B5; }
.field-help { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 8px; }
.field-error { font-size: 13px; font-weight: 600; color: #B42318; min-height: 0; }
.field-error:empty { display: none; }
.sample .field-error { color: #FFB4AB; margin-top: 8px; }
.hero .field-error { color: #B42318; }
.sample :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.form .btn--gold { justify-self: start; margin-top: 6px; }
.sample__back { margin: -16px 0 32px; }
.sample__back .link-cta { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; font: inherit; font-weight: 600; cursor: pointer; }
.form__package { color: #fff; font-size: 15px; border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; }
.form__small { font-size: 14px; color: rgba(255,255,255,.75); }
.form__small a { color: #fff; }
.alt-contact {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.copy-email { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 15px; }
.copy-email__addr { color: #fff; font-weight: 600; user-select: all; -webkit-user-select: all; }
.copy-email__btn {
  border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; padding: 7px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.copy-email__btn:hover { background: #fff; color: var(--ink); }
.sample__side { position: sticky; top: 96px; }
.sample__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 32px; }
.sample__pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sample__pair figcaption { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.trust--dark { flex-direction: column; gap: 14px; }
.trust--dark li { color: #fff; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin-top: 18px; font-size: 15px; max-width: 32ch; }
.footer__h { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; font-size: 15px; }
.footer__list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 8px; }
.social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-text); }
.footer__bottom p { max-width: none; }
.footer__bottom a { color: var(--ink); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(10, 22, 40, .97);
  display: grid; grid-template-rows: auto 1fr auto; padding: 16px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.lightbox__count { font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 16px 64px; }
.lightbox__stage .ba { width: min(100%, calc((100vh - 170px) * 4 / 3)); max-height: 100%; }
.lightbox__caption { text-align: center; color: rgba(255,255,255,.8); font-size: 14px; margin-inline: auto; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right)); }
body.is-locked { overflow: hidden; }

/* ---------- Simple pages (thanks / privacy) ---------- */
.page { padding-block: 96px 112px; }
.page h1 { margin-bottom: 24px; }
.page h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.page p, .page li { margin-bottom: 14px; }
.page ul.bullets { list-style: square; padding-left: 1.2em; }
.page ul.bullets li::marker { color: var(--gold); }
.next-steps { counter-reset: s; border-top: 1px solid var(--line); margin: 32px 0 48px; }
.next-steps li { display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; color: var(--ink); font-weight: 500; }
.next-steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1.1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .prices--4 { grid-template-columns: repeat(2, 1fr); }
  .prices--4 .price:nth-child(3) { border-left: 0; }
  .prices--4 .price:nth-child(n+3) { border-top: 1px solid var(--line); }
  .prices--4 .price--featured { border-top-color: var(--ink); }
}

@media (max-width: 1023px) {
  .checklist { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .mock { margin: 0 auto; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .steps li:nth-child(2)::before { right: 0; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .who li:nth-child(3) { border-left: 0; }
  .who li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .testimonials { grid-template-columns: 1fr; }
  .quote { border-left: 0; border-top: 1px solid var(--line); }
  .quote:first-child { border-top: 0; }
  .case { grid-template-columns: 1fr; }
  .sample__grid { grid-template-columns: 1fr; gap: 56px; }
  .sample__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; }
}

@media (max-width: 767px) {
  :root { --section-y: 72px; --nav-h: 64px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .nav.is-scrolled .nav__inner { height: 64px; }
  .hero { padding-block: 40px 64px; }
  .quick-form__row { flex-direction: column; gap: 8px; }
  .quick-form input { border-right: 1px solid var(--ink); }
  .quick-form .btn { width: 100%; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid li:nth-child(3) { border-left: 0; }
  .numbers__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .numbers__grid li { padding: 32px 12px; }
  .section-head { margin-bottom: 40px; }
  .mock__card--win { transform: none; }
  .tabs:not(.tabs--pricing) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter-r)); padding-right: var(--gutter-r); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__tab { flex: none; white-space: nowrap; }
  .calc__inputs, .calc__outputs { padding: 32px 22px; }
  .calc__outputs { grid-template-columns: 1fr; }
  .calc__outputs .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .steps li { padding: 0 0 36px 28px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { display: none; }
  .steps li::after { top: 6px; left: -5px; }
  .prices--4, .prices--2 { grid-template-columns: 1fr; }
  .prices .price { border-left: 0; }
  .prices .price + .price { border-top: 1px solid var(--line); }
  .checklist { grid-template-columns: 1fr; }
  .promise__col, .promise__col + .promise__col { padding: 32px 0; }
  .promise__col + .promise__col { border-left: 0; border-top: 1px solid var(--line); }
  .who { grid-template-columns: 1fr; }
  .who li { border-left: 0; }
  .who li + li { border-top: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .form .btn--gold { width: 100%; justify-self: stretch; white-space: normal; }
  .faq__inner { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .center-cta .btn { width: 100%; }
  .lightbox__stage { padding: 16px 0; }
  .lightbox__nav { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; }
  .marquee__track img { height: 180px; }

  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line);
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    transition: transform .25s var(--ease);
  }
  .sticky-cta .btn { min-height: 50px; padding: 12px 14px; }
  .sticky-cta .btn--primary { flex: 2; }
  .sticky-cta .btn--secondary { flex: 1; background: #fff; }
  .sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
}

@media (max-width: 599px) {
  .work-grid { grid-template-columns: 1fr; }
  .mock__card { grid-template-columns: 40% 1fr; gap: 12px; }
}

@media (max-width: 380px) {
  .nav__cta { padding-inline: 12px; font-size: 11px; letter-spacing: .05em; }
  .nav .logo__word, .nav .logo__rule { display: none; }
}

/* =========================================================
   Motion — only for people who haven't asked for less
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .marquee__track { animation: marquee 80s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 2px)); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .marquee { overflow-x: hidden; }
}
