/* ───────────────────────────────────────────────────────────
   MAVA Surface — stylesheet
   ─────────────────────────────────────────────────────────── */
:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --stone: #d8d0c2;
  --ink: #1d1c1a;
  --ink-2: #3b3935;
  --muted: #77716a;
  --sand: #b5a88d;
  --sand-d: #8a7c60;
  --line: rgba(29, 28, 26, .13);
  --line-light: rgba(244, 241, 235, .16);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --wrap: 1380px;
  --gut: clamp(16px, 4.2vw, 60px);
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 300 17px/1.65 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--sand-d); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.center { text-align: center; margin-top: clamp(36px, 5vw, 64px); }
.muted { color: var(--muted); }

/* ── type ─────────────────────────────────────────────────── */
.display {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em;
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
}
.display em, .statement em, .hero__title em { font-style: italic; color: var(--sand-d); }
.h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 500 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: rgba(244, 241, 235, .8); }
.eyebrow--sand { color: var(--sand); }
.small-label { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* ── buttons ──────────────────────────────────────────────── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--bd); border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--ink)); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::after { transform: none; }
.btn:hover { color: var(--hover-fg, var(--paper)); border-color: var(--hover, var(--ink)); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { --bg: var(--ink); --fg: var(--paper); --hover: var(--sand-d); }
.btn--ghost { --hover: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); --hover: var(--sand); --hover-fg: var(--ink); }
.btn--ghost-light { --fg: var(--paper); --bd: rgba(244, 241, 235, .55); --hover: var(--paper); --hover-fg: var(--ink); }
.ico-arrow { transition: transform .35s var(--ease); }
a:hover > .ico-arrow, .btn:hover .ico-arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { border-color: var(--ink); }

/* ── header ───────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h);
  background: rgba(244, 241, 235, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { position: relative; flex: none; width: 140px; height: 41px; }
.logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.logo--light { opacity: 0; }
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); margin-inline: auto; }
.main-nav a { position: relative; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 12px; letter-spacing: .14em; }
.lang a { padding: 6px 7px; opacity: .5; transition: opacity .3s; }
.lang a:hover, .lang a.is-active { opacity: 1; }
.samples-link {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px;
  border: 1px solid var(--line); border-radius: 100px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .3s, background .3s;
}
.samples-link:hover { border-color: currentColor; }
.samples-swatch { width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, var(--sand) 50%, var(--ink-2) 50%); }
.count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 100px; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 0; transition: transform .4s var(--ease); }
.count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* header over hero */
.has-hero .site-header:not(.is-solid) { background: transparent; border-color: transparent; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.is-solid) .logo--dark { opacity: 0; }
.has-hero .site-header:not(.is-solid) .logo--light { opacity: 1; }
.has-hero .site-header:not(.is-solid) .samples-link { border-color: var(--line-light); }
.has-hero .site-header:not(.is-solid) .count { background: var(--paper); color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding-top: calc(var(--head-h) + 24px); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav > a:not(.btn) { font: 400 2.4rem/1.2 var(--serif); padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); animation: menuIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * .06s + .05s); }
.mobile-menu .btn { margin-top: 28px; }
.lang--mobile { margin-top: 20px; font-size: 14px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--line) !important; }
body.menu-open .logo--dark { opacity: 1 !important; }
body.menu-open .logo--light { opacity: 0 !important; }

/* ── hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero__light {
  position: absolute; inset: 0; mix-blend-mode: soft-light; pointer-events: none;
  background: radial-gradient(60vmax 60vmax at var(--mx, 70%) var(--my, 30%), rgba(255, 244, 220, .75), rgba(255, 244, 220, 0) 60%);
  transition: background .2s;
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 17, .55) 0%, rgba(20, 19, 17, .05) 30%, rgba(20, 19, 17, .2) 55%, rgba(20, 19, 17, .82) 100%), linear-gradient(90deg, rgba(20, 19, 17, .5), rgba(20, 19, 17, 0) 60%); }
.hero__content { position: relative; padding-bottom: clamp(48px, 7vw, 96px); padding-top: calc(var(--head-h) + 40px); }
.hero__title { font-family: 'Italiana', var(--serif); font-weight: 400; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: 1; letter-spacing: 0; margin-bottom: 28px; }
.hero__title em { color: var(--sand); font-style: normal; }
.hero__lead { max-width: 40ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(244, 241, 235, .86); margin-bottom: 36px; }
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244, 241, 235, .7); }
.hero__foot::before { content: ''; position: absolute; left: var(--gut); right: var(--gut); top: -1px; height: 1px; background: var(--line-light); }
.hero__foot { padding-top: 24px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; }
.hero__scroll span { width: 1px; height: 34px; background: rgba(244, 241, 235, .3); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--paper); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.hero__caption { display: inline-flex; gap: 10px; align-items: baseline; transition: color .3s; }
.hero__caption small { font-size: inherit; opacity: .6; }
.hero__caption span { color: var(--paper); transition: opacity .5s; }
.hero__caption:hover span { color: var(--sand); }
.hero-in { opacity: 0; transform: translateY(26px); animation: heroIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ── stats ────────────────────────────────────────────────── */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 0 36px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); padding-left: clamp(16px, 2.4vw, 36px); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--serif); }
.stat__l { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ── sections ─────────────────────────────────────────────── */
section { position: relative; }
.intro { padding-block: clamp(90px, 12vw, 180px); text-align: center; }
.intro .eyebrow { justify-content: center; }
.statement { font: 400 clamp(1.8rem, 3.6vw, 3.2rem)/1.18 var(--serif); max-width: 26ch; margin: 0 auto; letter-spacing: -.005em; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .display { max-width: 16ch; }
.section-head__text { max-width: 38ch; color: var(--ink-2); margin: 0; }

/* ── flex section ─────────────────────────────────────────── */
.flex-section { background: var(--paper-2); padding-block: clamp(90px, 11vw, 160px); overflow: hidden; }
.flex-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.flex-copy p:not(.eyebrow) { max-width: 44ch; color: var(--ink-2); margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 12px; height: 6px; border-left: 1.3px solid var(--sand-d); border-bottom: 1.3px solid var(--sand-d); transform: translateY(-70%) rotate(-45deg); }
.flex-visual { position: relative; }
.flex-stage { position: relative; height: clamp(300px, 38vw, 480px); perspective: 1500px; perspective-origin: 50% 40%; }
.flex-stage .rig { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotateX(8deg); }
.flex-stage .slice {
  position: absolute; top: 0; backface-visibility: hidden; background-repeat: no-repeat;
  will-change: transform;
}
.flex-stage .slice::after { content: ''; position: absolute; inset: 0; background: #1d1c1a; opacity: var(--shade, 0); }
.flex-shadow { position: absolute; left: 50%; top: 100%; width: 90%; height: 40px; transform: translate(-50%, 10px); background: radial-gradient(closest-side, rgba(29, 28, 26, .25), transparent); filter: blur(6px); transition: width .2s; }
.flex-control { display: flex; align-items: center; gap: 16px; margin-top: 44px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.flex-control input { flex: 1; -webkit-appearance: none; appearance: none; height: 1px; background: var(--ink); opacity: .7; }
.flex-control input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); cursor: grab; }
.flex-control input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); cursor: grab; }
.flex-deg { min-width: 44px; text-align: right; font: 400 18px/1 var(--serif); color: var(--ink); letter-spacing: 0; }
.flex-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── cards ────────────────────────────────────────────────── */
.featured { padding-block: clamp(90px, 11vw, 160px); }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__light { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 248, 232, .35) 48%, transparent 66%); transform: translateX(-100%); transition: transform 1.2s var(--ease); mix-blend-mode: soft-light; }
.card:hover .card__light { transform: translateX(100%); }
.card__body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; }
.card__fam { margin: 0 0 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 400 1.6rem/1.1 var(--serif); }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card--big { grid-column: span 2; grid-row: span 2; }
.card--big .card__media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.card--big .card__media img { position: absolute; inset: 0; }
.card--big .card__title { font-size: 2.2rem; }

.sample-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.sample-btn svg { width: 18px; height: 18px; }
.sample-btn:hover { border-color: var(--ink); transform: rotate(90deg); }
[data-sample] .i-check { display: none; }
[data-sample][aria-pressed="true"] .i-check { display: block; }
[data-sample][aria-pressed="true"] .i-plus { display: none; }
.sample-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: none; }

/* ── benefits ─────────────────────────────────────────────── */
.benefits { background: var(--ink); color: var(--paper); padding-block: clamp(90px, 11vw, 160px); }
.benefits .display em { color: var(--sand); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.benefit { padding: 40px clamp(16px, 2.6vw, 40px) 48px 0; border-bottom: 1px solid var(--line-light); }
.benefit:not(:nth-child(3n + 1)) { padding-left: clamp(16px, 2.6vw, 40px); border-left: 1px solid var(--line-light); }
.b-ico { width: 34px; height: 34px; color: var(--sand); margin-bottom: 28px; }
.benefit h3 { font: 400 1.75rem/1.1 var(--serif); margin-bottom: 12px; }
.benefit p { color: rgba(244, 241, 235, .68); margin: 0; max-width: 36ch; }

/* ── applications ─────────────────────────────────────────── */
.applications { padding-block: clamp(90px, 11vw, 160px); }
.apps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.app { position: relative; grid-column: span 2; aspect-ratio: 4 / 5; overflow: hidden; color: var(--paper); border-radius: var(--radius); background: var(--stone); }
.app:nth-child(-n + 2) { grid-column: span 3; aspect-ratio: 16 / 11; }
.app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.app:hover img { transform: scale(1.06); }
.app__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 17, 0) 40%, rgba(20, 19, 17, .72)); transition: opacity .6s; }
.app__n { position: absolute; top: 22px; left: 24px; font: 400 15px/1 var(--serif); letter-spacing: .08em; opacity: .85; }
.app__text { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.app__text strong { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--serif); }
.app__text span { font-size: 14.5px; opacity: .82; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s; }
.app:hover .app__text span, .app:focus-visible .app__text span { max-height: 3em; }
@media (hover: none) { .app__text span { max-height: 3em; } }

/* ── install / steps ──────────────────────────────────────── */
.install { background: var(--paper-2); padding-block: clamp(90px, 11vw, 150px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 26px; }
.step__n { display: block; font: 400 15px/1 var(--serif); color: var(--sand-d); letter-spacing: .1em; margin-bottom: 30px; }
.step h3 { font: 400 1.6rem/1.1 var(--serif); margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15.5px; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band { padding-block: clamp(100px, 12vw, 180px) clamp(90px, 11vw, 160px); text-align: center; overflow: hidden; }
.cta-strip { display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 18px); margin-bottom: clamp(48px, 6vw, 80px); }
.cta-chip {
  width: clamp(60px, 9vw, 128px); aspect-ratio: 1; border-radius: 3px; background-size: cover; background-position: center; flex: none;
  box-shadow: 0 18px 30px -18px rgba(29, 28, 26, .5);
  transform: translateY(calc(sin(var(--i) * 1.1) * 18px)) rotate(calc((var(--i) - 3) * 3deg));
  animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s);
}
@keyframes float { 50% { translate: 0 -10px; } }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner .lead { margin: 24px auto 40px; text-align: center; }
.cta-inner .btn-row { justify-content: center; }

/* ── page head ────────────────────────────────────────────── */
.page-head { padding-top: calc(var(--head-h) + clamp(60px, 9vw, 130px)); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head .display { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 16ch; margin-bottom: 28px; }
.page-head .lead { max-width: 54ch; }

/* ── collections ──────────────────────────────────────────── */
.families { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: clamp(40px, 5vw, 70px); }
.family { display: flex; gap: 16px; align-items: center; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 4px; transition: border-color .3s, background .3s; }
.family:hover, .family.is-active { border-color: var(--ink); background: rgba(255, 255, 255, .35); }
.family__img { width: 72px; height: 72px; flex: none; border-radius: 50%; background-size: cover; background-position: center; }
.family__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.family__txt strong { font: 400 1.5rem/1 var(--serif); }
.family__txt em { font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.family__txt small { font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog { padding-bottom: clamp(60px, 8vw, 120px); }
.filters { position: sticky; top: var(--head-h); z-index: 10; display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; padding: 18px 0; margin-bottom: 36px; background: rgba(244, 241, 235, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.chip { height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; letter-spacing: .06em; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.filter-count strong { font: 400 1.3rem/1 var(--serif); color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }

/* ── product ──────────────────────────────────────────────── */
.pdp { padding-top: calc(var(--head-h) + 28px); padding-bottom: clamp(70px, 9vw, 130px); }
.crumbs { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: start; }
.pdp-media { position: sticky; top: calc(var(--head-h) + 24px); }
.viewer { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--stone); cursor: zoom-in; border-radius: var(--radius); }
.viewer__img { width: 100%; height: 100%; object-fit: cover; }
.viewer__zoom { position: absolute; inset: 0; background-image: var(--img); background-size: 260%; background-position: var(--zx, 50%) var(--zy, 50%); opacity: 0; transition: opacity .35s; }
.viewer.is-zooming .viewer__zoom { opacity: 1; }
.viewer__light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(40% 40% at var(--zx, 30%) var(--zy, 30%), rgba(255, 246, 228, .7), transparent 70%); opacity: .8; }
.viewer__hint { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 100px; background: rgba(244, 241, 235, .88); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s; }
.viewer.is-zooming .viewer__hint { opacity: 0; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; border-radius: 2px; overflow: hidden; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { outline-color: var(--ink); }
.pdp-info .display { font-size: clamp(2.8rem, 5.2vw, 4.6rem); margin-bottom: 22px; }
.pdp-info .lead { margin-bottom: 34px; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.pdp-actions .btn svg { width: 18px; height: 18px; }
.pdp-actions .btn[aria-pressed="true"] { --bg: var(--sand); --fg: var(--ink); --bd: var(--sand); }
.variants { padding-block: 28px; border-top: 1px solid var(--line); }
.variant-list { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s, transform .3s var(--ease); }
.variant img { width: 100%; height: 100%; object-fit: cover; }
.variant:hover { transform: translateY(-3px); }
.variant.is-active { outline-color: var(--ink); }
.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs summary { list-style: none; cursor: pointer; padding: 22px 0; font: 400 1.6rem/1 var(--serif); display: flex; justify-content: space-between; align-items: center; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: '+'; font: 300 1.6rem/1 var(--sans); transition: transform .3s; }
.specs[open] summary::after { transform: rotate(45deg); }
.specs dl, .spec-list { margin: 0; }
.specs dl div, .spec-list div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt, .spec-list dt { color: var(--muted); }
.specs dd, .spec-list dd { margin: 0; }
.specs dd small { display: block; color: var(--muted); font-size: 13px; }
.specs .link-arrow { margin: 18px 0 26px; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 22px; max-width: 52ch; }
.related { padding-bottom: clamp(30px, 4vw, 60px); }
.related .h3 { margin-bottom: 36px; }

/* ── technology ───────────────────────────────────────────── */
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding-bottom: clamp(90px, 11vw, 150px); }
.layers-visual { position: relative; height: clamp(320px, 38vw, 480px); perspective: 1600px; }
.layer { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 1; margin: -32% 0 0 -32%; transform: rotateX(58deg) rotateZ(-38deg) translateZ(var(--z)); transition: transform 1.4s var(--ease); background-size: cover; box-shadow: 0 30px 50px -30px rgba(29, 28, 26, .45); }
.layer--1 { --z: 0px; }
.layer--2 { --z: 0px; background: linear-gradient(135deg, #cfc4ad, #b5a88d); opacity: .95; }
.layer--3 { --z: 0px; background: repeating-linear-gradient(0deg, transparent 0 13px, rgba(29, 28, 26, .25) 13px 14px), repeating-linear-gradient(90deg, transparent 0 13px, rgba(29, 28, 26, .25) 13px 14px), #e9e3d7; }
.layers-visual.is-in .layer--1 { --z: 110px; }
.layers-visual.is-in .layer--2 { --z: 20px; }
.layers-visual.is-in .layer--3 { --z: -70px; }
.layer--1 { z-index: 3; } .layer--2 { z-index: 2; } .layer--3 { z-index: 1; }
.layer-item { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); }
.layer-item:last-child { border-bottom: 1px solid var(--line); }
.layer-item .step__n { margin: 6px 0 0; }
.layer-item h3 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: 8px; }
.layer-item p { margin: 0; color: var(--ink-2); }
.compare { padding-bottom: clamp(90px, 11vw, 150px); }
.compare .display { margin-bottom: 40px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 300; }
thead th { font: 500 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
tbody th { color: var(--ink-2); }
.hl { background: var(--ink); color: var(--paper); }
thead .hl { color: var(--sand); }
tbody tr:last-child .hl { border-bottom-color: var(--ink); }
.tech-specs { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px); padding-bottom: clamp(90px, 11vw, 150px); }
.tech-specs .display { margin-bottom: 24px; }
.tech-specs p { color: var(--ink-2); max-width: 40ch; }
.spec-list div:last-child { border-bottom: 1px solid var(--line); }
.maint { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); padding-block: clamp(90px, 11vw, 150px) 0; }
.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.downloads li:last-child { border-bottom: 1px solid var(--line); }
.downloads a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.downloads a:hover { color: var(--ink); }
.downloads svg { width: 16px; height: 16px; }

/* ── about ────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding-bottom: clamp(80px, 10vw, 140px); }
.about-collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.1; }
.about-collage div { background-size: cover; background-position: center; border-radius: var(--radius); }
.about-collage div:first-child { grid-row: span 2; }
.about-copy p { font: 400 clamp(1.3rem, 1.9vw, 1.65rem)/1.4 var(--serif); color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.value { border-top: 1px solid var(--ink); padding-top: 26px; }
.value h3 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: 12px; }
.value p { color: var(--ink-2); margin: 0; }

/* ── contact ──────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; padding-bottom: clamp(90px, 11vw, 150px); }
.tray { padding: 28px; background: var(--paper-2); border-radius: 4px; margin-bottom: 40px; }
.tray__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tray__head .h3 { margin: 0; font-size: 1.6rem; }
.tray__max { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tray__max [data-sample-count] { background: none; color: var(--ink); min-width: 0; height: auto; padding: 0; display: inline; font-size: 13px; }
.tray__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tray__list:empty { display: none; }
.tray-item { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--paper); border-radius: 3px; animation: cardIn .5s var(--ease) both; }
.tray-item img { width: 44px; height: 44px; border-radius: 2px; object-fit: cover; }
.tray-item a { font: 400 1.05rem/1.1 var(--serif); flex: 1; min-width: 0; }
.tray-item button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.tray-item button:hover { background: var(--paper-2); color: var(--ink); }
.tray__empty { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.tray__empty a { color: var(--ink); border-bottom: 1px solid var(--line); }
.wants { border: 0; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.wants legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; }
.wants .check { border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; transition: border-color .3s, background .3s; }
.wants .check:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.wants .check input { position: absolute; opacity: 0; pointer-events: none; }
.check--privacy input { margin-top: 5px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.check--privacy { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 300 17px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(29, 28, 26, .3);
  padding: 10px 0; border-radius: 0; transition: border-color .3s; width: 100%; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231d1c1a' stroke-width='1.3'/%3E%3C/svg%3E") right center / 18px no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field.is-invalid input, .check.is-invalid { border-color: #a4452c; color: #a4452c; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.form-status { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.form-status.is-ok { color: #3f5f3a; }
.form-status.is-err { color: #a4452c; }
.contact-aside { display: flex; flex-direction: column; gap: 40px; position: sticky; top: calc(var(--head-h) + 24px); }
.contact-card { background: var(--ink); color: var(--paper); padding: 34px; border-radius: 4px; display: flex; flex-direction: column; gap: 6px; }
.contact-card .h3 { color: var(--sand); }
.contact-card a { font: 400 1.35rem/1.3 var(--serif); }
.contact-card a:hover { color: var(--sand); }
.contact-card p { margin: 14px 0 0; color: rgba(244, 241, 235, .75); font-size: 15px; }
.contact-card .muted { color: rgba(244, 241, 235, .5); margin-top: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: 15px; padding-bottom: 8px; }

/* ── footer ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(244, 241, 235, .78); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(70px, 8vw, 110px) 60px; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.footer-col a { width: fit-content; transition: color .3s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 26px 34px; border-top: 1px solid var(--line-light); font-size: 12.5px; color: rgba(244, 241, 235, .5); }

/* ── toast ────────────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 12px; background: var(--ink); color: var(--paper); border-radius: 100px; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .4); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }
.toast img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.toast a { padding: 8px 14px; border-radius: 100px; background: var(--paper); color: var(--ink); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.toast span { padding-right: 6px; }

/* ── reveal ───────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .card--big { grid-row: auto; }
  .card--big .card__media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .families { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 900px) {
  .flex-grid, .layers, .tech-specs, .maint, .about, .pdp-grid { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(even) { padding-left: clamp(16px, 2.6vw, 40px); border-left: 1px solid var(--line-light); }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .app, .app:nth-child(-n + 2) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .app:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --head-h: 68px; }
  body { font-size: 16px; }
  .brand { width: 112px; height: 33px; }
  .samples-link { padding: 0 6px; gap: 6px; font-size: 0; }
  .samples-link .count { font-size: 11px; }
  .header-actions { gap: 6px; }
  .lang a { padding: 6px 5px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .featured-grid, .catalog-grid { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; }
  .card--big .card__media { aspect-ratio: 1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit:nth-child(n) { padding-left: 0; border-left: 0; }
  .apps-grid { grid-template-columns: 1fr; }
  .app, .app:first-child, .app:nth-child(-n + 2) { grid-column: auto; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .families { grid-template-columns: 1fr; }
  .filters { gap: 12px; padding: 14px 0; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .filter-group::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .filter-count { margin-left: 0; }
  .fields { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__foot .hero__scroll { display: none; }
  .hero__foot { justify-content: flex-end; }
  .cta-chip:nth-child(n + 6) { display: none; }
  .specs dl div, .spec-list div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .hero-in { opacity: 1; transform: none; }
}

/* ── hero: editorial split with interior photo ───────────── */
@media (min-width: 901px) {
  .hero__media { left: 50%; }
  .hero__shade { background: linear-gradient(90deg, rgba(29, 28, 26, .5), rgba(29, 28, 26, 0) 28%), linear-gradient(180deg, rgba(20, 19, 17, .35), rgba(20, 19, 17, 0) 22%, rgba(20, 19, 17, 0) 75%, rgba(20, 19, 17, .55)); }
  .hero__content > * { max-width: min(40vw, 600px); }
  .hero__title { font-size: clamp(3rem, 5.1vw, 6rem); }
  .hero__content { padding-bottom: clamp(56px, 9vh, 120px); }
}

/* ── photo tiles / masonry ───────────────────────────────── */
.masonry { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.masonry--1 { columns: 1; max-width: 640px; }
.masonry--2 { columns: 2; max-width: 920px; }
.shot { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); }
.shot.is-hidden { display: none; }
.shot__btn { display: block; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--stone); cursor: zoom-in; }
.shot__btn img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.shot__btn:hover img { transform: scale(1.04); }
.shot figcaption { padding-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.shot figcaption a { color: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
.shot figcaption a:hover { border-color: var(--ink); }
.inspo { padding-block: clamp(90px, 11vw, 160px) clamp(70px, 8vw, 120px); border-top: 1px solid var(--line); }
.inspo-page { padding-bottom: clamp(60px, 8vw, 110px); }
.filters--plain { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.insitu { padding-bottom: clamp(60px, 8vw, 110px); }
.insitu .h3 { margin-bottom: 30px; }
.flex-photos { margin-top: clamp(70px, 9vw, 130px); }
.flex-photos__grid { display: grid; max-width: 1040px; grid-template-columns: 1.15fr 1fr; gap: clamp(14px, 2vw, 30px); align-items: end; }
.flex-photos .shot { margin: 0; }
.flex-photos--tech { margin-top: 0; padding-bottom: clamp(90px, 11vw, 150px); }

/* ── lightbox ─────────────────────────────────────────────── */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 19, 17, .97); color: var(--paper); }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; animation: lbIn .4s var(--ease); }
.lightbox::backdrop { background: rgba(20, 19, 17, .7); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox figcaption { font-size: 14px; color: rgba(244, 241, 235, .75); text-align: center; padding: 0 12px; }
.lightbox figcaption a { color: var(--sand); margin-left: 8px; white-space: nowrap; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; font-size: 18px; border-radius: 50%; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); font-size: 18px; justify-self: center; transition: background .3s, color .3s; }
.lb-nav:hover, .lb-close:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 700px) {
  .flex-photos__grid { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox img { max-height: 70vh; }
}
@media (max-width: 480px) {
  .masonry:not([data-insp-grid]) { columns: 1; }
  .shot figcaption { font-size: 12.5px; }
}

/* hero on tablet / phone: photo on top, text below on dark */
@media (max-width: 900px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__media { position: relative; inset: auto; height: 62vh; height: 62svh; flex: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(20, 19, 17, .55) 0%, rgba(20, 19, 17, 0) 28%, rgba(20, 19, 17, 0) 70%, #1d1c1a 100%); }
  .hero__content { padding-top: 8px; padding-bottom: 40px; }
  .hero__foot { padding-top: 18px; }
}

.flex-photos__grid--single { grid-template-columns: 1fr; max-width: 640px; }
.flex-photos__grid--three { grid-template-columns: repeat(3, 1fr); max-width: none; align-items: start; }
@media (max-width: 700px) { .flex-photos__grid--three { grid-template-columns: 1fr; } }

.notfound { min-height: 70vh; }
.notfound .btn-row { margin-top: 36px; }
