/* ANK US — Landing page styles
   Layered on tokens.css. American-luxury: photography-led, warm neutrals,
   restrained typography. Gold used only as a 1px hairline accent under eyebrows;
   primary CTA is ink on bone (solid fill, high contrast) per brief.
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Body type — brief requires 17px min, 1.6 line-height ---------- */
:root {
  --fs-body-brief: 17px;
  --lh-body-brief: 1.6;
  --max-content: 1200px;
  --max-text:    680px;
  --rail-brief:  clamp(24px, 5vw, 80px);
  --section-py:  clamp(80px, 12vw, 144px);
}

p, li { font-size: var(--fs-body-brief); line-height: var(--lh-body-brief); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-left: var(--rail-brief);
  padding-right: var(--rail-brief);
}
.container-wide {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: var(--rail-brief);
  padding-right: var(--rail-brief);
}
.text-col { max-width: var(--max-text); }

/* ---------- Eyebrow (small, gold hairline — the only gold permitted) ---------- */
.eyebrow {
  font-family: var(--font-wide);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-400);
  display: inline-block;
}
.eyebrow.on-dark { color: rgba(251,248,241,0.72); }
.eyebrow.on-dark::before { background: var(--gold-300); }

/* ---------- Primary CTA — identical everywhere ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 20px 34px;
  min-height: 56px;
  background: var(--ink-900);
  color: var(--bone);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.btn-primary:hover {
  background: var(--ink-700);
  box-shadow: inset 0 -1px 0 var(--gold-300);
}
.btn-primary:active { background: var(--ink-800); }
.btn-primary .arrow {
  width: 20px; height: 12px; position: relative;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6 H22 M16 1 L22 6 L16 11'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6 H22 M16 1 L22 6 L16 11'/></svg>") no-repeat center / contain;
  transition: transform var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out);
}
.btn-primary:hover .arrow { transform: translateX(4px); width: 24px; }

/* On dark backgrounds, the primary CTA stays ink — but gains a bone border
   so it reads clearly against photography. Same shape and size. */
.btn-primary.on-photo {
  background: var(--bone);
  color: var(--ink-900);
}
.btn-primary.on-photo:hover {
  background: var(--white);
  box-shadow: inset 0 -1px 0 var(--gold-500);
}

/* ---------- Fade-in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

body.no-fades .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  padding-top: 18px; padding-bottom: 18px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 32px; width: auto; }
.nav-brand .wm {
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--ink-900);
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  font-family: var(--font-wide);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-800);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast), color var(--dur-fast);
  cursor: pointer;
}
.nav-links a:hover { border-bottom-color: var(--gold-500); }

.nav-cta {
  /* Top-right nav CTA is "Book a Call" — smaller, same styling language as Discuss Project */
  font-family: var(--font-wide);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 22px;
  background: var(--ink-900);
  color: var(--bone);
  border: 0; border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--dur-fast);
}
.nav-cta:hover { background: var(--ink-700); box-shadow: inset 0 -1px 0 var(--gold-300); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-2);
    border-radius: 2px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: var(--ink-900); position: relative; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink-900);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
}

/* ==========================================================
   BLOCK 1 — HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: min(860px, var(--hero-vh, 92vh));
  overflow: hidden;
  background: var(--ink-900);
  color: var(--bone);
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  animation: slowZoom 22s var(--ease-out) forwards;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 48%, rgba(0,0,0,0.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 40%, rgba(0,0,0,0.55) 100%);
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(860px, var(--hero-vh, 92vh));
  padding-top: 160px; padding-bottom: 72px;
}
.hero-eyebrow {
  font-family: var(--font-wide);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(251,248,241,0.78);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gold-300);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 14ch;
  color: var(--bone);
}
.hero h1 .soft { color: rgba(251,248,241,0.55); font-weight: 300; }
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  max-width: 44ch;
  color: rgba(251,248,241,0.86);
  margin: 0 0 48px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute; right: var(--rail-brief); bottom: 40px; z-index: 2;
  font-family: var(--font-wide);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(251,248,241,0.6);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 48px; background: rgba(251,248,241,0.4);
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* ==========================================================
   BLOCK 2 — PROOF STRIP
   ========================================================== */
.proof {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-1);
}
.proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 48px;
}
.stat { text-align: center; position: relative; padding: 0 24px; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 64px;
  background: var(--border-2);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink-900);
}
.stat .num .plus { color: var(--stone-400); font-weight: 300; }
.stat .lbl {
  font-family: var(--font-wide);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 18px;
}
@media (max-width: 720px) {
  .proof-inner { grid-template-columns: 1fr; gap: 56px; }
  .stat + .stat::before { left: 50%; top: 0; transform: translateX(-50%); width: 48px; height: 1px; }
  .stat + .stat { padding-top: 56px; }
}

/* ==========================================================
   BLOCK 3 — POSITIONING (2-col, copy + photo)
   ========================================================== */
.positioning {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.positioning-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.positioning-copy { max-width: var(--max-text); }
.positioning h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
  color: var(--ink-900);
}
.positioning-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--stone-500);
  margin: 0 0 16px;
  max-width: 46ch;
}
.positioning-sub.lead {
  font-size: 21px;
  color: var(--ink-800);
  font-weight: 400;
}
.positioning-actions { margin-top: 40px; }
.positioning-photo {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  position: relative;
}
.positioning-photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--border-1);
  pointer-events: none;
}
@media (max-width: 880px) {
  .positioning-inner { grid-template-columns: 1fr; }
  .positioning-photo { aspect-ratio: 4/3; order: -1; }
}

/* ==========================================================
   BLOCK 4 — SERVICES
   ========================================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-1);
}
.services-head { margin-bottom: 72px; }
.services-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.services-grid {
  display: grid;
  grid-template-columns: var(--services-cols, repeat(3, 1fr));
  gap: 1px;
  background: var(--border-2); /* becomes the hairlines between cards */
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.service-card {
  background: var(--bg-1);
  padding: 56px 40px 48px;
  display: flex; flex-direction: column;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  position: relative;
}
.service-card:hover { background: var(--bg-2); transform: translateY(-4px); }
.services-grid > .service-card:nth-child(2n) {
  background: rgb(220, 208, 169);
}
.services-grid > .service-card:nth-child(2n):hover {
  background: rgb(210, 198, 158);
}
.service-card .idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stone-400);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.service-card .mark {
  width: 48px; height: 48px;
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
}
.service-card .mark svg { width: 100%; height: 100%; stroke-width: 1.25; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink-900);
}
.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone-500);
  margin: 0;
  max-width: 38ch;
}
.services-footer {
  margin-top: 48px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-500);
  max-width: 64ch;
}
.services-footer strong { color: var(--ink-900); font-weight: 500; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 48px 28px 40px; }
}

/* ==========================================================
   BLOCK 5 — KEY OFFER (mirrored 2-col: photo left, copy right)
   ========================================================== */
.offer {
  padding: var(--section-py) 0;
  background: var(--bg-1);
}
.offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.offer-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
}
.offer-photo::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--border-1);
  pointer-events: none;
}
.offer-copy { max-width: var(--max-text); }
.offer h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
  color: var(--ink-900);
}
.offer-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--stone-500);
  margin: 0 0 40px;
  max-width: 46ch;
}
@media (max-width: 880px) {
  .offer-inner { grid-template-columns: 1fr; }
  .offer-photo { aspect-ratio: 4/3; }
}

/* ==========================================================
   BLOCK 6 — HOW WE WORK (side-by-side slider — compact, gold accents)
   ========================================================== */
.journey {
  padding: var(--section-py) 0;
  background: var(--bg-1);
}
.journey-head { margin-bottom: 56px; }
.journey-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 20px 0 12px;
  color: var(--ink-900);
}
.journey-head .sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--stone-500);
  max-width: 44ch;
  margin: 0;
}

.journey-slider {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

/* ---- Left: media ---- */
.journey-media {
  position: relative;
}
.journey-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--border-1);
}
.journey-media-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 620ms var(--ease-out), transform 1200ms var(--ease-out);
}
.journey-media-slide.active {
  opacity: 1;
  transform: scale(1);
}
.journey-media-badge {
  position: absolute;
  left: 24px; bottom: 24px;
  display: flex; align-items: baseline; gap: 6px;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink-900);
  font-family: var(--font-display);
  border-left: 2px solid var(--gold-400);
}
.journey-media-badge .n {
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
}
.journey-media-badge .of {
  font-family: var(--font-wide);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--stone-400);
}

/* ---- Right: copy + steps ---- */
.journey-panel {
  display: flex; flex-direction: column;
  gap: 32px;
  padding: 8px 0;
}
.journey-copy-inner {
  animation: journeyFade 520ms var(--ease-out);
  max-width: var(--max-text);
}
@keyframes journeyFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.journey-copy-kicker {
  font-family: var(--font-wide);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.journey-copy-kicker::before {
  content: ""; width: 24px; height: 1px; background: var(--gold-400);
}
.journey-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.journey-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-500);
  margin: 0;
  max-width: 44ch;
}

/* ---- Step list ---- */
.journey-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-1);
  margin-top: 8px;
}
.journey-step {
  display: grid;
  grid-template-columns: 48px 1fr 16px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-1);
  background: transparent;
  border-left: 0; border-right: 0; border-top: 0;
  cursor: pointer;
  text-align: left;
  color: var(--stone-500);
  transition: color var(--dur-fast), padding var(--dur-fast);
  position: relative;
}
.journey-step::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--gold-400);
  transition: width 480ms var(--ease-out);
}
.journey-step.active::before { width: 100%; }
.journey-step:hover { color: var(--ink-800); padding-left: 6px; }
.journey-step.active { color: var(--ink-900); padding-left: 6px; }
.journey-step .step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stone-400);
  transition: color var(--dur-fast);
}
.journey-step.active .step-n,
.journey-step.done .step-n { color: var(--gold-500); }
.journey-step .step-t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
}
.journey-step::after {
  content: "";
  justify-self: end;
  width: 10px; height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.3;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.journey-step.active::after,
.journey-step:hover::after { opacity: 1; transform: rotate(45deg) translate(2px, -2px); }

/* ---- Controls ---- */
.journey-controls {
  display: flex; align-items: center; gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}
.journey-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border-2);
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-900);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.journey-arrow:hover {
  background: var(--ink-900);
  color: var(--bone);
  border-color: var(--ink-900);
}
.journey-arrow svg { width: 12px; height: 12px; }
.journey-progress {
  flex: 1;
  height: 1px;
  background: var(--border-2);
  position: relative;
  overflow: hidden;
}
.journey-progress-bar {
  position: absolute; inset: 0;
  background: var(--gold-400);
  transform-origin: left center;
  transition: width 520ms var(--ease-out);
}

@media (max-width: 880px) {
  .journey-slider { grid-template-columns: 1fr; }
  .journey-media-frame { aspect-ratio: 4/3; }
  .journey-step { grid-template-columns: 40px 1fr 16px; padding: 12px 0; }
}

/* ==========================================================
   BLOCK 7 — PORTFOLIO CAROUSEL
   ========================================================== */
.portfolio {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}
.portfolio-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  max-width: 14ch;
}
.portfolio-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-wide);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-900);
  padding: 6px 0;
  cursor: pointer;
  justify-self: end; align-self: end;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
.portfolio-link:hover { gap: 20px; color: var(--gold-600); border-bottom-color: var(--gold-500); }

.carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-800);
}
.carousel-track {
  position: absolute; inset: 0;
  display: flex;
  transition: transform 800ms var(--ease-out);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}
.carousel-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.carousel-caption {
  position: absolute; left: 32px; bottom: 32px; z-index: 2;
  color: var(--bone);
  font-family: var(--font-wide);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.carousel-caption .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 10px;
  letter-spacing: 0.18em;
}

.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
}
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button {
  width: 28px; height: 2px;
  border: 0; padding: 0;
  background: var(--border-2); cursor: pointer;
  transition: background var(--dur-fast);
}
.carousel-dots button.active { background: var(--ink-900); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 48px; height: 48px;
  border: 1px solid var(--border-2);
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
  color: var(--ink-900);
}
.carousel-arrows button:hover { background: var(--ink-900); color: var(--bone); border-color: var(--ink-900); }
.carousel-arrows svg { width: 14px; height: 14px; }

/* ==========================================================
   BLOCK 8 — TESTIMONIALS
   ========================================================== */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--bg-1);
}
.testimonials-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}
.testimonials-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  max-width: 14ch;
}
.rating {
  justify-self: end; align-self: end;
  text-align: right;
}
.rating .stars {
  font-size: 18px;
  color: var(--gold-500);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.rating .label {
  font-family: var(--font-wide);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone-500);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--bg-2);
  padding: 40px 48px 48px;
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-1);
}
.testimonial-grid > .testimonial-card:first-child {
  border-width: 0;
}
.testimonial-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 18px;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  margin: 0 0 40px;
}
.testimonial-card cite {
  font-style: italic;
  font-size: 15px;
  color: var(--stone-500);
  font-family: var(--font-display);
  font-weight: 400;
}
.testimonial-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border-1);
}
@media (max-width: 720px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 36px 28px 36px; }
  .testimonials-head { grid-template-columns: 1fr; }
  .rating { justify-self: start; text-align: left; }
}

/* ==========================================================
   BLOCK 9 — CONTACT
   ========================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}
.contact-copy { max-width: none; }
.contact-copy h2 {
  font-family: "Zalando Sans Expanded", var(--font-display);
  font-weight: 500;
  font-size: 33px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 24px 0 32px;
  color: var(--ink-900);
  text-wrap: pretty;
  max-width: 28ch;
}
.contact-copy .blurb {
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-500);
  margin: 0 0 48px;
  max-width: 42ch;
}
.contact-info { display: grid; gap: 28px; padding-top: 40px; border-top: 1px solid var(--border-2); }
.contact-info .k {
  font-family: var(--font-wide); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-500);
  margin-bottom: 6px;
}
.contact-info .v {
  font-family: var(--font-display); font-size: 18px; color: var(--ink-900);
}

.contact-form {
  background: var(--bg-1);
  padding: 48px 48px 40px;
  border: 1px solid var(--border-1);
  display: grid; gap: 24px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-wide);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone-500);
}
.field input, .field select {
  min-height: 52px;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--dur-fast);
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--stone-400); }
.field input:focus, .field select:focus { border-color: var(--ink-900); }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23141210' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.contact-form .btn-primary { justify-self: start; margin-top: 8px; width: 100%; max-width: none; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 24px 32px; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink-900);
  color: rgba(251,248,241,0.7);
  padding: 96px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-inverse);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { width: 28px; }
.footer-brand .wm {
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--bone);
}
.footer .note { font-size: 15px; line-height: 1.6; max-width: 40ch; color: rgba(251,248,241,0.55); }
.footer h4 {
  font-family: var(--font-wide);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(251,248,241,0.88);
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { font-size: 15px; color: rgba(251,248,241,0.6); transition: color var(--dur-fast); cursor: pointer; }
.footer ul a:hover { color: var(--bone); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(251,248,241,0.4);
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   UTILITIES
   ========================================================== */
.section-rule {
  height: 1px;
  background: var(--border-1);
  border: 0; margin: 0;
}
