/* Velvt Studio — site styles. Warm off-white pages, ink text; photos carry the colour. */

:root {
  --ink: #101213;
  --ink-soft: #3b3a37;
  --muted: #64615b;
  --paper: #f9f8f4;   /* warm off-white, the background of the current Velvt Studio site icon */
  --mist: #f1efe9;
  --line: #e4e1d9;
  --overlay: rgba(16, 18, 19, 0.55);
  --display: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 3vw, 40px);
  --header-h: 84px;
  --measure: 62ch;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; }

.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- type helpers ---------- */
.label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
}
.statement {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
/* the © after "Velvt Studio": small and raised to the top of the capitals */
.display .copy { font-size: .4em; font-weight: 500; letter-spacing: 0; vertical-align: top; position: relative; top: .1em; margin-left: .3em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.site-header.is-overlay:not(.is-solid) {
  color: #fff; background: transparent; border-bottom-color: transparent;
}
.site-header.is-overlay:not(.is-solid)::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,18,19,.55), rgba(16,18,19,0));
}
.primary-nav ul { display: flex; gap: clamp(18px, 2vw, 32px); list-style: none; }
.primary-nav a, .header-end a {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"], .header-end a:hover { border-bottom-color: currentColor; }
/* the Velvt Studio logo (traced from the original PNG); about the size of Studio Ongarato's wordmark */
.wordmark { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.wordmark .logo { display: block; height: 18px; width: auto; aspect-ratio: 245 / 28; fill: currentColor; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-end .ig { display: inline-flex; padding: 4px; border: 0; }
.header-end svg { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle {
  display: none; justify-self: start; width: 44px; height: 44px; margin-left: -10px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper); color: var(--ink);
  padding: 32px var(--gutter) 48px; overflow-y: auto;
}
.mobile-menu ul { list-style: none; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a {
  display: block; padding: 16px 0; text-decoration: none;
  font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.mobile-menu .mobile-sub a { font-family: var(--body); font-size: 15px; letter-spacing: .02em; text-transform: none; font-weight: 500; padding: 10px 0; }
.mobile-menu .mobile-contact { margin-top: 32px; font-size: 15px; }
.mobile-menu .mobile-contact a { font-family: var(--body); font-size: 15px; text-transform: none; letter-spacing: 0; padding: 4px 0; font-weight: 400; }
.menu-open .site-header { color: var(--ink) !important; background: var(--paper) !important; border-bottom-color: var(--line) !important; }
.menu-open .site-header::before { display: none; }
body.menu-open { overflow: hidden; }

/* ---------- media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.shade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16,18,19,.62) 0%, rgba(16,18,19,.18) 38%, rgba(16,18,19,0) 60%);
}

/* full-screen hero with caption */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; }
.hero .frame { position: absolute; inset: 0; }
.hero-caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 56px); z-index: 2;
  max-width: 900px;
}
.hero-caption h1, .hero-caption .title {
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px;
}
.hero-caption .meta { font-size: 13px; font-weight: 400; letter-spacing: .02em; margin: 0; }
.hero.is-short { height: 72vh; height: 72svh; min-height: 480px; }
.hero-caption .display { font-family: var(--display); font-size: clamp(34px, 5vw, 72px); margin: 0 0 14px; letter-spacing: .04em; }
.hero-caption .lead { font-size: clamp(15px, 1.2vw, 18px); max-width: 46ch; margin: 0; }

/* ---------- project tiles ---------- */
.tiles { display: grid; gap: 0; }
.tile { position: relative; display: block; color: #fff; text-decoration: none; }
.tile .frame { aspect-ratio: 16 / 9; min-height: 420px; max-height: 100vh; width: 100%; }
.tiles.first .tile:first-child .frame { height: 100vh; height: 100svh; max-height: none; aspect-ratio: auto; min-height: 560px; }
.tile .frame img { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.tile:hover .frame img { transform: scale(1.02); }
.tile .caption { position: absolute; left: var(--gutter); bottom: clamp(28px, 5vh, 56px); z-index: 2; }
.tile .caption .title { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.tile .caption .meta { font-size: 13px; font-weight: 400; margin: 0; }

/* home intro over a photo */
.intro-cover { position: relative; color: #fff; padding: clamp(110px, 16vw, 220px) var(--gutter); }
.intro-cover > .frame { position: absolute; inset: 0; }
.intro-cover > .frame::after { content: ""; position: absolute; inset: 0; background: rgba(16,18,19,.58); }
/* parallax: the photo is taller than its frame and drifts more slowly than the page (see site.js) */
.frame[data-parallax] img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.intro-cover .inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.intro-cover .display { font-size: clamp(24px, 2.4vw, 34px); }
.intro-cover .statement { margin: 0 0 1.4em; max-width: 54ch; }
.intro-cover .statement:last-child { margin-bottom: 0; }

/* home: two statements side by side on ink, split by a hairline */
.benefits { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; padding-block: clamp(28px, 4vw, 52px); }
.benefit {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 40px);
  min-height: clamp(320px, 34vw, 500px); padding: clamp(56px, 7vw, 110px) var(--gutter); text-align: center; text-decoration: none;
}
.benefit + .benefit { border-left: 1px solid rgba(255, 255, 255, .45); }
.benefit .label { font-weight: 400; color: #b3aea4; }
.benefit-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(32px, 3.6vw, 56px); line-height: 1.02; max-width: 20ch; text-wrap: balance;
}
/* a hairline plus instead of "read more"; it turns a quarter on hover */
.benefit .plus { position: relative; width: 26px; height: 26px; transition: transform .35s ease; }
.benefit .plus::before, .benefit .plus::after { content: ""; position: absolute; background: currentColor; }
.benefit .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.benefit .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.benefit:hover .plus, .benefit:focus-visible .plus { transform: rotate(90deg); }

/* ---------- white content sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.section.tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.section + .section { border-top: 1px solid var(--line); }
.wrap { max-width: var(--max); margin: 0 auto; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .display { font-size: clamp(24px, 2.4vw, 34px); }
.intro h1.statement, .intro p.statement { margin: 0 0 1.4em; max-width: 54ch; }

.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .04em; text-transform: uppercase; margin: 1.6em 0 .6em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 1.4em 0 .4em; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.prose li:last-child { border-bottom: 1px solid var(--line); }
.prose li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--ink); }
.prose li strong { color: var(--ink); }

/* project info */
.project-info .display { font-size: clamp(28px, 3vw, 44px); margin-bottom: .7em; }
.facts { display: grid; gap: 22px; margin: 0; }
.facts div { border-top: 1px solid var(--ink); padding-top: 12px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* galleries */
.gallery { padding: clamp(48px, 7vw, 110px) var(--gutter); }
.gallery .row { display: grid; gap: clamp(14px, 2vw, 28px); max-width: var(--max); margin: 0 auto; }
.gallery .row + .row { margin-top: clamp(14px, 2vw, 28px); }
.gallery .row.two { grid-template-columns: 1fr 1fr; align-items: start; }
.gallery .row.three { grid-template-columns: repeat(3, 1fr); align-items: start; }
.gallery .row.narrow { max-width: 860px; }
.gallery.after { padding-top: 0; }
.gallery figure, .strip figure { margin: 0; }
.gallery span.frame, .strip span.frame { display: block; }
.gallery .frame img { height: auto; object-fit: initial; }
.gallery button.zoom, .strip button.zoom { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery button.zoom:focus-visible, .strip button.zoom:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* horizontal photo strip (the carousel on the live site) */
.strip { padding: 0 0 clamp(56px, 7vw, 110px); }
.strip-head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto 18px; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.strip-nav button:hover { background: var(--ink); color: #fff; }
.strip-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 28vw, 440px); gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 12px; scrollbar-width: thin; }
.strip-track li { scroll-snap-align: start; }
.strip-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a, .pager span {
  display: block; padding: clamp(28px, 4vw, 48px) var(--gutter); text-decoration: none;
}
.pager .next { text-align: right; border-left: 1px solid var(--line); }
.pager .dir { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager .name { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pager a:hover .name { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pager .is-empty { color: var(--line); }

/* image-backed split screens (services, contact) */
.cover {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff;
  display: grid; align-items: center; padding: calc(var(--header-h) + 48px) var(--gutter) 64px;
}
.cover > .frame { position: absolute; inset: 0; }
.cover > .frame::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.cover .inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cover .display { font-size: clamp(30px, 3vw, 44px); margin-bottom: 1em; }
.cover p { max-width: 46ch; font-size: 15px; line-height: 1.7; }
.service-list { list-style: none; text-align: right; }
.service-list li { padding: 9px 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-list li.head { padding-bottom: 14px; }
.service-list small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: none; opacity: .9; }
.service-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.service-list a:hover { border-bottom-color: #fff; }

/* contact details + form */
.contact-lines { margin: 1.6em 0 0; font-size: 14px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.contact-lines .label { display: block; margin: 1.6em 0 .5em; }
.social { display: inline-flex; gap: 14px; }
.social svg { width: 22px; height: 22px; fill: currentColor; }

.form { display: grid; gap: 22px; }
.form .field { display: grid; gap: 6px; }
.form label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.65); border-radius: 0; padding: 8px 0;
}
.form textarea { min-height: 120px; resize: vertical; border: 1px solid rgba(255,255,255,.65); padding: 10px; }
.form input:focus, .form textarea:focus { outline: none; border-color: #fff; box-shadow: 0 1px 0 #fff; }
.form .hidden-field { display: none; }
.button {
  display: inline-block; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 28px; cursor: pointer; text-decoration: none; border: 1px solid currentColor; background: transparent; color: inherit;
  transition: background-color .2s ease, color .2s ease;
}
.on-dark .button:hover { background: var(--paper); color: var(--ink); }
.button.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.solid:hover { background: var(--paper); color: var(--ink); }
.form .button { justify-self: start; }

/* service cards (services index + home) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.card { display: block; padding: 28px 28px 30px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.card:nth-child(odd) { padding-right: clamp(20px, 3vw, 48px); }
.card:nth-child(even) { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.card .name { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.card .desc { color: var(--ink-soft); font-size: 15px; display: block; margin-bottom: 14px; }
.card .more { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card:hover .name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .display { font-size: clamp(26px, 2.6vw, 38px); }
.section-head .link { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "0" counter(step); display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-bottom: 10px; }
.steps strong { display: block; font-size: 15px; margin-bottom: 6px; }
.steps span { color: var(--ink-soft); font-size: 15px; }

/* three notes side by side (studio and locations); not numbered, they are not a sequence */
.trio-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 6vw, 96px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.trio-head .display { font-size: clamp(26px, 2.6vw, 38px); }
.trio-head p { margin: 0; max-width: 52ch; color: var(--ink-soft); }
.trio { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.trio li { border-top: 1px solid var(--ink); padding-top: 16px; }
.trio strong { display: block; font-size: 15px; margin-bottom: 6px; }
.trio span { color: var(--ink-soft); font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 17px; font-weight: 700; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); max-width: var(--measure); }
.faq .answer p:last-child { margin-bottom: 0; }

/* proof / related project */
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.proof .frame { aspect-ratio: 4 / 3; }
.proof .display { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: .6em; }

/* call to action band */
.cta { text-align: left; }
.cta .display { font-size: clamp(30px, 4vw, 56px); margin-bottom: .5em; }
.cta p { color: var(--ink-soft); max-width: 52ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 1.6em; }
.cta .actions a:not(.button) { font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }

/* thank-you + 404 */
.plain { min-height: 70vh; display: grid; align-content: center; padding: calc(var(--header-h) + 64px) var(--gutter) 96px; }
.plain .display { font-size: clamp(34px, 5vw, 64px); margin-bottom: .4em; }
.plain p { max-width: 52ch; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
.site-footer .grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { margin-bottom: 18px; }
.site-footer .wordmark .logo { height: 20px; }
.site-footer p { font-size: 14px; color: var(--ink-soft); max-width: 34ch; }
.site-footer h2 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 8px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .base { max-width: var(--max); margin: 48px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: var(--paper); }
.lightbox::backdrop { background: var(--paper); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 64px clamp(16px, 5vw, 80px); }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; color: var(--ink); font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 14px; }
.lightbox .close { top: 12px; right: 12px; }
.lightbox .prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox .next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .primary-nav, .header-end .header-cta { display: none; }
  .site-header { grid-template-columns: 44px 1fr 44px; }
  .wordmark { justify-self: center; }
  .wordmark .logo { height: 15px; }
  .header-end { gap: 0; }
  .two-col, .proof, .cover .inner, .cards { grid-template-columns: 1fr; }
  .card:nth-child(n) { padding: 24px 0; border-left: 0; }
  .service-list { text-align: left; }
  .tile .frame { aspect-ratio: auto; height: 64svh; min-height: 380px; }
  .strip-track { grid-auto-columns: 78vw; }
  .gallery .row.two, .gallery .row.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trio, .trio-head { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; padding-block: 0; }
  .benefit { min-height: 0; padding-block: 72px; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .pager .next { border-left: 0; border-top: 1px solid var(--line); }
  .pager .name { font-size: 22px; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .hero.is-short { height: 64svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html:focus-within { scroll-behavior: auto; }
}
