/* ───────────── Tokens ───────────── */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --fg: #f3f2ee;
  --muted: #8f8e8a;
  --accent: #ff4b1f;
  --accent-ink: #0b0b0c;
  --bg-rgb: 11, 11, 12;      /* translucent panels: header, chips over photos */
  --shade-rgb: 11, 11, 12;   /* gradients laid over photos */
  --on-photo: #f3f2ee;       /* text placed directly on photos */
  --lb-bg: rgba(6, 6, 7, 0.97);
  --radius: 0px;
  --grain: 0.05;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: var(--ease); }

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; background-size: cover; background-position: center; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }

.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { margin: 0 0 1rem; color: var(--muted); display: flex; align-items: center; gap: 0.6em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

/* ───────────── Buttons & links ───────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.4em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 0.78rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(var(--bg-rgb), 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--fg); border-color: var(--fg); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; color: var(--fg); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ───────────── Header ───────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.page-home .site-header:not(.is-scrolled) { color: var(--on-photo); }
.site-header.is-scrolled { background: rgba(var(--bg-rgb), 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { font: 400 1.05rem/1 var(--display); letter-spacing: 0.04em; padding: 7px 6px 6px; border: 1.5px solid currentColor; transition: background 0.3s, color 0.3s; }
.brand:hover .brand__mark { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.brand__name { font: 400 1.05rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font: 500 0.75rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a:not(.icon-link)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.icon-link svg { width: 20px; height: 20px; display: block; }
.icon-link:hover { color: var(--accent); }

@media (max-width: 560px) {
  .brand__name { display: none; }
  .site-nav { gap: 18px; font-size: 0.7rem; }
}

/* ───────────── Hero ───────────── */
.hero { --fg: var(--on-photo); --bg-rgb: var(--shade-rgb); color: var(--fg); position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide[hidden] { display: none; }
.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, .hero__slide.is-leaving img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(var(--shade-rgb), 0.92) 0%, rgba(var(--shade-rgb), 0.35) 38%, transparent 62%),
    linear-gradient(to bottom, rgba(var(--shade-rgb), 0.6), transparent 22%);
}
.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(96px, 14vh, 150px); }
.hero__name {
  margin: 0; font: 400 clamp(4.2rem, 15.5vw, 15rem)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.005em;
  display: flex; flex-direction: column; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.hero__name span { display: block; }
.hero__content .eyebrow { color: rgba(243, 242, 238, 0.85); margin-bottom: clamp(16px, 2.5vh, 28px); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.js .hero__name span, .js .hero__content .eyebrow, .js .hero__ctas { animation: rise 1.1s var(--ease) both; }
.js .hero__name span:nth-child(2) { animation-delay: 0.08s; }
.js .hero__ctas { animation-delay: 0.25s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 36px); }
.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 20px; color: var(--muted);
}
.hero__caption { display: flex; gap: 12px; align-items: baseline; min-width: 0; color: var(--fg); }
.hero__caption span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__caption:hover span:last-child { color: var(--accent); }
.hero__label { color: var(--muted); flex: none; }
.hero__counter { font-variant-numeric: tabular-nums; }
.hero__counter [data-idx] { color: var(--fg); }
.hero__progress { grid-column: 1 / -1; height: 1px; background: var(--line-strong); overflow: hidden; }
.hero__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero__progress i.is-running { animation: progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 560px) { .hero__label { display: none; } }

/* ───────────── Sections ───────────── */
.section { padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(48px, 8vw, 96px); }
.section--flush { padding-top: 0; }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; margin-bottom: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.section__head .eyebrow { grid-column: 1 / -1; }
.section__title, .page-head__title, .cta__title {
  margin: 0; font: 400 clamp(3rem, 9vw, 8rem)/0.88 var(--display); text-transform: uppercase; letter-spacing: -0.005em;
}
.page-head { padding: calc(var(--header-h) + clamp(40px, 8vw, 110px)) var(--gutter) clamp(32px, 5vw, 56px); }
.page-head__title { font-size: clamp(4rem, 15vw, 14rem); }
.page-head--center { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }

/* ───────────── Cards (spec sheets) ───────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(16px, 2.5vw, 32px); }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; filter: saturate(0.92); }
.card:hover .card__media img { transform: scale(1.05); filter: saturate(1.08); }
.card__num {
  position: absolute; top: 14px; left: 14px; padding: 6px 9px 5px;
  background: rgba(var(--bg-rgb), 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong); transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.card:hover .card__num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.card__view {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 0.5em; align-items: center;
  padding: 9px 12px 8px; background: var(--fg); color: var(--bg);
  opacity: 0; transform: translateY(10px); transition: opacity 0.35s, transform 0.45s var(--ease);
}
.card:hover .card__view, .card:focus-visible .card__view { opacity: 1; transform: none; }
.card__body { position: relative; padding-top: 18px; }
.card__body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.card:hover .card__body::before { transform: scaleX(1); }
.card__kicker { color: var(--accent); display: block; margin-bottom: 6px; }
.card__title { margin: 0 0 16px; font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }

.spec { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.spec > div { padding: 10px 0 0; border-right: 1px solid var(--line); padding-left: 12px; }
.spec > div:first-child { padding-left: 0; }
.spec > div:last-child { border-right: 0; }
.spec dt { color: var(--muted); font-size: 0.65rem; margin-bottom: 2px; }
.spec dd { margin: 0; color: var(--fg); font-size: 0.8rem; }

/* ───────────── Filters ───────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 4vw, 44px); }
.chip {
  display: inline-flex; gap: 0.6em; align-items: center; cursor: pointer;
  padding: 0.75em 1.1em; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font: 500 0.75rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip span { color: var(--muted); transition: color 0.25s; }
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.is-active span { color: var(--accent); }

/* ───────────── Stats strip ───────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-block: 1px solid var(--line); margin: 0 var(--gutter); }
.stat { padding: clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); padding-left: clamp(16px, 2.5vw, 32px); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__n { font: 400 clamp(3rem, 7vw, 5.5rem)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.stat__l { color: var(--muted); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ───────────── CTA ───────────── */
.cta { padding: clamp(96px, 16vw, 200px) var(--gutter); text-align: left; }
.cta__title { font-size: clamp(3.4rem, 11vw, 11rem); }
.cta__text { color: var(--muted); max-width: 38ch; font-size: 1.1rem; margin: 24px 0 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────────── Album page ───────────── */
.album-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; min-height: 100svh; }
.album-hero__media { position: relative; background: var(--bg-2); }
.album-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-hero__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(40px, 6vw, 72px); }
.back { color: var(--muted); align-self: flex-start; transition: color 0.2s; }
.back:hover { color: var(--accent); }
.album-hero__text .eyebrow { margin: auto 0 0; }
.album-hero__title { margin: 0; font: 400 clamp(3rem, 6.6vw, 7.5rem)/0.88 var(--display); text-transform: uppercase; display: flex; flex-direction: column; gap: 0.08em; }
.album-hero__kicker { color: var(--accent); }
.album-hero__desc { margin: 0; color: var(--muted); max-width: 52ch; }
.album-hero .link-arrow { align-self: flex-start; }
.spec--sheet { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.spec--sheet > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
.spec--sheet dt { margin: 0; font-size: 0.7rem; }
.spec--sheet dd { font-size: 0.78rem; }
@media (max-width: 900px) {
  .album-hero { grid-template-columns: 1fr; min-height: 0; }
  .album-hero__media { aspect-ratio: 4 / 5; max-height: 82svh; width: 100%; }
  .album-hero__text { padding-top: 32px; }
}

/* justified gallery */
.gallery { --row-h: 380px; display: flex; flex-wrap: wrap; gap: 8px; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.gallery::after { content: ""; flex-grow: 999999; }
.g-item { flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--row-h)); position: relative; overflow: hidden; border-radius: calc(var(--radius) * 0.6); background: var(--bg-2); cursor: zoom-in; }
.g-item img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.g-item:hover img { transform: scale(1.03); }
.gallery:hover .g-item:not(:hover) img { opacity: 0.55; }
@media (max-width: 1100px) { .gallery { --row-h: 280px; } }
@media (max-width: 700px) { .gallery { --row-h: 180px; gap: 4px; } .gallery:hover .g-item:not(:hover) img { opacity: 1; } }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-top: 1px solid var(--line); }
.pager__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: clamp(260px, 36vw, 480px); padding: clamp(20px, 3vw, 40px); overflow: hidden; isolation: isolate; }
.pager__item--next { align-items: flex-end; text-align: right; }
.pager__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.4; filter: grayscale(0.6); transition: opacity 0.6s, filter 0.6s, transform 1.2s var(--ease); }
.pager__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--bg-rgb), 0.9), transparent 70%); }
.pager__item:hover .pager__img { opacity: 0.85; filter: none; transform: scale(1.04); }
.pager__label { color: var(--accent); }
.pager__title { font: 400 clamp(1.6rem, 3.6vw, 3.4rem)/0.95 var(--display); text-transform: uppercase; max-width: 16ch; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager__item { min-height: 220px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--lb-bg); display: grid; grid-template-rows: 1fr auto; animation: fade 0.3s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 64px clamp(8px, 6vw, 96px) 12px; min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity 0.25s, transform 0.35s var(--ease); }
.lightbox__stage img.is-swapping { opacity: 0; }
.lightbox__btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(var(--bg-rgb), 0.6); cursor: pointer; font-size: 1.1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__play { top: 12px; right: 68px; font-size: 0.9rem; }
.lightbox__tele { display: none; }
.lightbox__replay { position: absolute; top: 22px; left: 16px; z-index: 2; display: none; align-items: center; gap: 8px; color: var(--fg); }
.lightbox__replay i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
.lightbox.is-playing .lightbox__replay { display: inline-flex; }
.lightbox__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; }
.lightbox__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.lightbox__progress i.is-running { animation: progress var(--replay-ms, 3800ms) linear forwards; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom)); color: var(--muted); border-top: 1px solid var(--line); }
.lightbox__bar span:first-child { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__bar [data-lb-count] { font-variant-numeric: tabular-nums; flex: none; }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__bar [data-lb-exif] { display: none; }
}

/* ───────────── Contact ───────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); padding: 0 var(--gutter) clamp(72px, 10vw, 140px); }
.contact__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 40ch; margin: 0 0 40px; }
.svcs { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 3em 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc__n { color: var(--accent); padding-top: 6px; }
.svc h3 { margin: 0 0 4px; font: 400 1.6rem/1.05 var(--display); text-transform: uppercase; }
.svc p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact__direct { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact__direct a { display: inline-flex; gap: 0.6em; align-items: center; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.contact__direct a:hover { color: var(--accent); border-color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(20px, 3vw, 36px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { color: var(--muted); font-size: 0.68rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) * 0.5);
  font-size: 1rem; transition: border-color 0.2s; -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form__status { margin: 0; min-height: 1.2em; color: var(--muted); }
.form__status.is-ok { color: #5fd38d; }
.form__status.is-err { color: var(--accent); }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .form { position: static; }
}
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ───────────── Footer ───────────── */
.site-footer { padding: clamp(40px, 6vw, 72px) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer__big { font: 400 clamp(3rem, 13.5vw, 14rem)/0.85 var(--display); text-transform: uppercase; color: var(--bg-3); white-space: nowrap; margin-bottom: 28px; user-select: none; }
.site-footer__row { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); }
.site-footer__row span { margin-right: auto; }
.site-footer__row a:hover { color: var(--accent); }

/* ───────────── Scroll reveal ───────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .hero__slide img { transform: none; }
}

/* ───────────── Design switcher (preview only) ───────────── */
.design-switch {
  position: fixed; z-index: 95; right: 16px; bottom: 16px; display: flex; gap: 2px; padding: 5px;
  background: rgba(20, 20, 22, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font: 500 12px/1 system-ui, -apple-system, sans-serif; letter-spacing: 0; text-transform: none; color: #eee;
}
.design-switch a { padding: 9px 13px; border-radius: 999px; }
.design-switch a:hover { background: rgba(255, 255, 255, 0.1); }
.design-switch a[aria-current] { background: #fff; color: #111; }
@media (max-width: 520px) { .design-switch { left: 10px; right: 10px; bottom: 10px; justify-content: space-between; } .design-switch a { padding: 9px 7px; } }

/* vertical triptych slides */
.hero__slide--multi { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 4px; background: #000; }
.hero__slide--multi img { min-width: 0; }
.hero__cell { position: relative; overflow: hidden; min-width: 0; }
.hero__slide--multi .hero__cell img { width: 100%; height: 100%; object-fit: cover; }

/* viewer: always fit the whole photo on screen (the grid's 100% height didn't resolve, so tall photos overflowed) */
.lightbox__stage { overflow: hidden; }
.lightbox__stage img { max-width: calc(100vw - 2 * clamp(8px, 6vw, 96px)); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); }

/* contact form spam trap: invisible to people, bots fill it in */
.form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
