/* ==========================================================================
   Onyx Firumu — site styles
   Work-first layout (after Kendall Visuals): quiet type, minimal chrome,
   the images lead. Onyx palette: matte black and slate, deep teal-grey,
   smoky ocean blue, ash white. Accents: tungsten light and silver.
   Fonts are self-hosted (no Google services).
   ========================================================================== */

@font-face { font-family: "Inter Tight"; src: url(../fonts/inter-tight-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(../fonts/inter-tight-var-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* Onyx palette */
  --onyx: #0f1113;          /* matte black */
  --onyx-2: #14171a;
  --slate: #1b2025;         /* slate grey */
  --slate-2: #232a30;
  --slate-3: #2e363d;
  --teal: #2b4550;          /* deep blue / teal grey */
  --ocean: #5b7a89;         /* smoky ocean blue */
  --ocean-2: #8aa3ae;
  --ash: #e8e6e1;           /* ash white */
  --ash-2: #c6c9c7;
  --mute: #8e989f;
  --silver: #b9c0c6;
  --tungsten: #cf9f68;      /* tungsten light */
  --tungsten-2: #ddb383;

  /* Roles */
  --bg: var(--onyx);
  --bg-deep: var(--onyx-2);
  --surface: var(--slate);
  --surface-2: var(--slate-2);
  --field: var(--onyx-2);
  --line: rgba(232, 230, 225, .11);
  --line-strong: rgba(232, 230, 225, .26);
  --text: var(--ash);
  --text-soft: var(--ash-2);
  --text-muted: var(--mute);
  --accent: var(--ocean-2);
  --warm: var(--tungsten);

  --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1200px;
  --wide: 1600px;
  --hdr: 72px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --soft: 12px;              /* how soft photos and video start (focus pull) */
  --pull: 1.4s var(--ease);  /* how long they take to come into focus */

  color-scheme: dark;
}

/* Smooth page-to-page flow in browsers that support cross-document transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
html.menu-open, body.lock { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--tungsten); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.015em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h3 { font-size: 1.125rem; letter-spacing: -.005em; }
h4 { font-size: 1rem; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: .75rem 1rem; background: var(--ash); color: var(--onyx); border-radius: var(--radius); }
.skip:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.lead { font-size: 1.0625rem; color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.prose { max-width: 66ch; color: var(--text-soft); }
.prose p + p { margin-top: 1em; }
.prose a, .text-link { border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.prose a:hover, .text-link:hover { color: var(--warm); border-color: var(--warm); }
.text-link { white-space: nowrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.2rem;
  font: 500 .9375rem/1 var(--font);
  border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--warm); color: var(--warm); }
.btn-primary { background: var(--ash); border-color: var(--ash); color: var(--onyx); }
.btn-primary:hover { background: var(--warm); border-color: var(--warm); color: var(--onyx); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .875rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.link-arrow { color: var(--text-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.link-arrow:hover { color: var(--warm); border-color: var(--warm); }
.link-arrow .arr { display: none; }

.icon-btn {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(232, 230, 225, .35); color: var(--ash);
  background: rgba(15, 17, 19, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover:not(:disabled) { border-color: var(--warm); color: var(--warm); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--accent); }
.chip.warm { color: var(--warm); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* ---------- Header & drop-downs ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 17, 19, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(15, 17, 19, .96); }
.hdr {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--hdr); max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.sections-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-size: .9375rem; color: var(--text-soft); transition: color .2s; }
.sections-btn:hover { color: #fff; }
.ico-sections { display: grid; gap: 3px; width: 16px; }
.ico-sections i { display: block; height: 1.5px; background: currentColor; }
.ico-sections i:nth-child(2) { width: 70%; }
.ico-sections i:nth-child(3) { width: 45%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: var(--ash); }
.glyph { width: 28px; height: 28px; fill: none; stroke: var(--silver); stroke-width: 1.25; stroke-linejoin: round; transition: stroke .3s; }
.glyph path:nth-child(2) { fill: rgba(91, 122, 137, .22); }
.brand:hover .glyph { stroke: var(--warm); }
.wordmark { font: 600 .8125rem/1 var(--font); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.wordmark span { font-weight: 300; color: var(--silver); }

.main-nav { display: none; margin-inline: auto; }
.nav-list { display: flex; gap: 2rem; }
.has-dd { position: relative; }
.dd-btn, .nav-link { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 0; font-size: .9375rem; color: var(--text-soft); transition: color .2s; }
.dd-btn:hover, .nav-link:hover, .has-dd[data-current] > .dd-btn, .nav-link[aria-current="page"] { color: #fff; }
.has-dd[data-current] > .dd-btn, .nav-link[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.chev { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; transition: transform .25s var(--ease); }
.dd {
  position: absolute; top: calc(100% + 12px); left: -14px; z-index: 10; min-width: 240px; padding: .4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd a { display: block; padding: .55rem .75rem; font-size: .9375rem; color: var(--text-soft); border-radius: 2px; transition: background-color .2s, color .2s; }
.dd a:hover, .dd a:focus-visible, .dd a[aria-current="page"] { background: var(--surface-2); color: #fff; }
.has-dd.is-open .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd.is-open .chev { transform: rotate(180deg); }
@media (hover: hover) {
  .has-dd:hover .dd { opacity: 1; visibility: visible; transform: none; }
  .has-dd:hover .chev { transform: rotate(180deg); }
}
.hdr-actions { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.menu-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .9375rem; color: var(--text-soft); transition: color .2s; }
.menu-toggle:hover { color: #fff; }
.menu-icon { position: relative; width: 20px; height: 9px; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .9375rem; color: var(--text-soft); transition: color .2s; }
.bag-btn:hover { color: #fff; }
.bag-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.bag-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  font-size: .6875rem; font-weight: 600; line-height: 1; color: var(--onyx); background: var(--warm); font-variant-numeric: tabular-nums;
}
.bag-count:empty { display: none; }
@media (min-width: 1080px) { .main-nav { display: block; } .hdr-actions { margin-left: 0; } }
@media (max-width: 1079px) { .hdr-actions .nav-link { display: none; } }
@media (max-width: 560px) {
  .sections-lbl, .menu-lbl, .bag-lbl { display: none; }
  /* Icon-only buttons get a full 44px tap area; negative margins keep the icons where they were */
  .sections-btn, .menu-toggle, .bag-btn { min-width: 44px; justify-content: center; }
  .sections-btn { margin-inline: -14px; }
  .bag-btn, .menu-toggle { margin-inline: -12px; }
  .bag-count { position: absolute; top: 3px; right: 3px; }
  .hdr { gap: 1rem; }
  .wordmark { font-size: .75rem; letter-spacing: .24em; }
  .glyph { width: 24px; height: 24px; }
}
@media (max-width: 360px) { .wordmark span { display: none; } }

/* ---------- Full menu overlay ---------- */

.full-menu {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-deep); opacity: 0; transition: opacity .3s var(--ease);
}
.full-menu.is-open { opacity: 1; }
.full-menu-inner {
  display: grid; grid-template-rows: auto 1fr auto; min-height: 100%;
  max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter) 28px;
}
.full-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }
.menu-close { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .9375rem; color: var(--text-soft); }
.menu-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-close:hover { color: #fff; }
.full-menu-body { display: grid; gap: 40px; align-content: start; padding-block: clamp(32px, 8vh, 80px); }
@media (min-width: 900px) { .full-menu-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 80px; } }
.fm-list { max-width: 640px; }
.fm-list > li { border-top: 1px solid var(--line); }
.fm-list > li:last-child { border-bottom: 1px solid var(--line); }
.fm-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; color: var(--text); transition: color .2s;
}
.fm-row::-webkit-details-marker { display: none; }
.fm-row:hover, .fm-row[aria-current="page"], [data-current] > details > .fm-row { color: var(--warm); }
.fm-plus { position: relative; width: 14px; height: 14px; flex: none; color: var(--text-muted); }
.fm-plus::before, .fm-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.fm-plus::after { transform: rotate(90deg); }
details[open] > .fm-row .fm-plus::after { transform: rotate(0deg); }
.fm-sub { display: grid; gap: .1rem 2rem; padding: 0 0 1.1rem; }
@media (min-width: 640px) { .fm-sub { grid-template-columns: 1fr 1fr; } }
.fm-sub a { display: inline-flex; padding: .35rem 0; color: var(--text-muted); transition: color .2s; }
.fm-sub a:hover, .fm-sub a[aria-current="page"] { color: #fff; }
.js .full-menu .fm-list > li { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .full-menu.is-open .fm-list > li { opacity: 1; transform: none; }
.fm-aside { display: grid; gap: 24px; align-content: start; font-size: .9375rem; color: var(--text-muted); }
.fm-aside h2 { font-size: .9375rem; letter-spacing: 0; color: var(--text); margin-bottom: .3rem; }
.fm-aside a:hover { color: var(--warm); }
.fm-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--text-muted); }

/* ---------- Left “Sections” drawer ---------- */

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(8, 9, 10, .6); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 80; width: min(380px, 88vw);
  display: flex; flex-direction: column; background: var(--bg-deep); border-right: 1px solid var(--line);
  transform: translateX(-102%); transition: transform .5s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { font-size: .8125rem; color: var(--text-muted); }
.drawer-page { margin-top: .3rem; font-size: 1.35rem; font-weight: 500; color: var(--text); }
.drawer-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.drawer-close:hover { border-color: var(--line-strong); }
.drawer-close svg, .lb-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.drawer-list { flex: 1; padding: 10px 12px; overflow-y: auto; }
.drawer-list a { display: flex; align-items: baseline; gap: 14px; padding: 11px 12px; border-radius: var(--radius); color: var(--text-soft); transition: background-color .2s, color .2s; }
.drawer-list a:hover { background: var(--surface); color: #fff; }
.drawer-list .n { font-size: .75rem; letter-spacing: .08em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.drawer-list .t { font-size: 1rem; }
.drawer-list a.is-active { color: #fff; background: var(--surface); }
.drawer-list a.is-active .n { color: var(--warm); }
.drawer-foot { display: grid; gap: 14px; padding: 20px 24px 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-muted); }
.drawer-foot a:not(.btn):hover { color: var(--warm); }

/* ---------- Cover (home) ---------- */

.cover {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr));
  display: grid; place-items: center; padding: 72px var(--gutter) 110px; background: var(--onyx);
}
.cover-media { position: absolute; inset: 0; z-index: -2; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: .5; filter: contrast(1.05); }
.cover-media::after { content: ""; position: absolute; inset: 0; background: var(--teal); mix-blend-mode: color; opacity: .45; }
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 50% 50%, rgba(15, 17, 19, .62), rgba(15, 17, 19, .9) 100%), linear-gradient(0deg, var(--onyx), transparent 30%);
}
.cover-inner { display: grid; justify-items: center; gap: clamp(1rem, 2.4vw, 1.5rem); text-align: center; animation: rise 1.6s var(--ease) both; }
.cover-glyph { width: clamp(56px, 7vw, 84px); height: auto; fill: none; stroke: var(--silver); stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5)); }
.cover-glyph path:nth-child(2) { fill: rgba(207, 159, 104, .18); }
.cover-logo { font: 500 clamp(2.4rem, 7.5vw, 6rem)/1 var(--font); letter-spacing: .28em; margin-right: -.28em; text-transform: uppercase; color: var(--ash); text-shadow: 0 16px 44px rgba(0, 0, 0, .5); }
.cover-logo span { font-weight: 200; color: var(--silver); }
.cover-tagline { font-size: clamp(.875rem, 1.3vw, 1rem); letter-spacing: .08em; color: var(--silver); }
.cover-tagline span { color: var(--warm); margin-inline: .5em; }
/* Founder bio: the first thing visitors read */
.cover-bio { display: grid; gap: .75rem; max-width: 62ch; text-wrap: pretty; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.cover-bio p { font-size: clamp(.9375rem, 1.25vw, 1.0625rem); line-height: 1.65; color: var(--text-soft); }
.cover-bio p:first-child { color: var(--text); }
.cover-contact { font-size: .875rem; color: var(--text-muted); }
.cover-contact a:hover { color: var(--warm); }
.cover .actions { justify-content: center; margin-top: .5rem; }
.cover-enter {
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); width: max-content; margin-inline: auto; padding: 8px;
  display: grid; justify-items: center; gap: .5rem; font-size: .8125rem; color: var(--text-soft);
  animation: rise 1.6s .5s var(--ease) both;
}
.cover-enter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: bob 2.4s ease-in-out infinite; }
.cover-enter:hover { color: var(--warm); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Home carousel ---------- */

.hero-carousel { position: relative; overflow: hidden; background: #000; height: clamp(440px, calc(100svh - var(--hdr)), 860px); touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide > img, .slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); transition: transform 8s linear, filter var(--pull); }
.slide.is-active > img, .slide.is-active > video { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 14, .82) 0%, rgba(10, 12, 14, .2) 40%, rgba(10, 12, 14, 0) 65%), linear-gradient(90deg, rgba(10, 12, 14, .45) 0%, rgba(10, 12, 14, 0) 60%); }
.slide-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(92px, 13vh, 120px); padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2)); }
.slide-caption > * { max-width: 620px; }
.slide-kicker { font-size: .875rem; color: var(--ash-2); margin-bottom: .6rem; }
.slide-caption h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.js .slide .slide-caption > * { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .slide.is-active .slide-caption > * { opacity: 1; transform: none; transition-delay: .35s; }
.js .slide.is-active .slide-caption > *:nth-child(2) { transition-delay: .45s; }
.js .slide.is-active .slide-caption > *:nth-child(3) { transition-delay: .55s; }
.carousel-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1rem 1.5rem; padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2)) clamp(20px, 3.5vh, 32px); }
.carousel-dots { display: flex; gap: 8px; flex: 1; max-width: 360px; }
.cdot { position: relative; flex: 1; height: 24px; }
.cdot::before, .cdot .fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.cdot::before { background: rgba(232, 230, 225, .25); }
.cdot .fill { background: var(--ash); transform: scaleX(0); transform-origin: left; }
.cdot.is-active .fill { animation: fill var(--interval, 5000ms) linear forwards; }
.is-paused .cdot.is-active .fill { animation-play-state: paused; }
.is-static .cdot.is-active .fill { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.carousel-count { font-size: .8125rem; color: var(--ash-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.carousel-count [data-current] { color: var(--ash); }
.carousel-buttons { display: flex; gap: 8px; margin-left: auto; }
.carousel-buttons .icon-play { display: none; }
.is-paused-user .carousel-buttons .icon-play, .is-static .carousel-buttons .icon-play { display: block; }
.is-paused-user .carousel-buttons .icon-pause, .is-static .carousel-buttons .icon-pause { display: none; }
.carousel-buttons svg.icon-pause, .carousel-buttons svg.icon-play { fill: currentColor; stroke: none; }
@media (max-width: 640px) { .carousel-count { display: none; } .slide-caption { bottom: 92px; } }

/* ---------- Sections & page titles ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section, .room + .section, .section + .room { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: clamp(20px, 3vw, 32px); }
.section-head p { color: var(--text-muted); max-width: 56ch; flex-basis: 100%; }
.page-title { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-title h1 { margin-bottom: .6rem; }
.page-title p { color: var(--text-soft); max-width: 60ch; }
.page-title p + p { margin-top: .5rem; }
.page-title + .section { padding-top: clamp(28px, 4vw, 48px); border-top: 0; }
/* 404 page: a short page, so it holds the footer down */
.not-found { min-height: 62vh; padding-bottom: clamp(56px, 8vw, 96px); }
.not-found .actions { margin-top: 1.75rem; }
.subnav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 1.25rem; font-size: .9375rem; color: var(--text-muted); }
.subnav a { transition: color .2s; }
.subnav a:hover { color: #fff; }

/* ---------- Wall labels ---------- */

.label { display: grid; gap: .15rem; align-content: start; max-width: 32ch; font-size: .8125rem; line-height: 1.45; color: var(--text-muted); }
.label-num { margin-bottom: .35rem; font-size: .75rem; letter-spacing: .08em; color: var(--accent); }
.label-title { font-size: .9375rem; font-weight: 500; color: var(--text); }
.label a { justify-self: start; margin-top: .5rem; color: var(--text-soft); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.label a:hover { color: var(--warm); border-color: var(--warm); }
.label .credits { margin-top: .5rem; }

/* ---------- Home rooms: three works on a shared centre line ---------- */

.room { padding-block: clamp(64px, 9vw, 128px); }
.room + .room { border-top: 1px solid var(--line); }
.room-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .4rem 2rem; margin-bottom: clamp(40px, 6vw, 88px); }
.room-head h2 { grid-column: 1; }
.room-head p { grid-column: 1; color: var(--text-muted); max-width: 52ch; }
.room-head .text-link { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 560px) { .room-head { grid-template-columns: 1fr; } .room-head .text-link { grid-column: 1; grid-row: auto; order: 3; justify-self: start; margin-top: .5rem; } }
.wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(40px, 6vw, 96px) clamp(32px, 5vw, 88px); }
.hung { position: relative; display: grid; gap: 1rem; margin: 0; }
.hung > a { position: relative; display: block; }
.hung img { display: block; height: clamp(200px, 24vw, 360px); width: auto; max-width: 100%; box-shadow: 0 22px 44px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .4s var(--ease), filter var(--pull); }
.wall--screens .hung img { height: clamp(150px, 15vw, 250px); }
.hung > a:hover img { transform: translateY(-3px); }
.tile-play { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(15, 17, 19, .55); color: #fff; pointer-events: none; }
.tile-play svg { width: 11px; height: 11px; margin-left: 2px; fill: currentColor; }
@media (max-width: 700px) { .wall { flex-direction: column; align-items: stretch; } .hung img, .wall--screens .hung img { width: 100%; height: auto; } }

/* ---------- Viewing room: one work per wall, label beside it ---------- */

.viewing-room { padding-bottom: clamp(48px, 8vw, 96px); }
.exhibit { display: grid; gap: 1.25rem; align-items: end; padding-block: clamp(48px, 9vh, 112px); scroll-margin-top: var(--hdr); }
.exhibit-media { display: flex; justify-content: center; min-width: 0; }
.exhibit-media > * { width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .35); }
.exhibit-media > a { display: block; width: auto; cursor: zoom-in; }
.exhibit-media img { max-height: 76vh; width: auto; max-width: 100%; }
@media (min-width: 900px) {
  .exhibit { grid-template-columns: minmax(0, 1fr) 16rem; gap: clamp(32px, 4vw, 64px); }
  .exhibit:nth-of-type(even) { grid-template-columns: 16rem minmax(0, 1fr); }
  .exhibit:nth-of-type(even) .label { order: -1; justify-self: end; justify-items: end; text-align: right; }
  .exhibit:nth-of-type(even) .label a, .exhibit:nth-of-type(even) .label .related { justify-self: end; }
}

/* ---------- Video frame (click to play) ---------- */

.vplayer { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.vplayer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, filter var(--pull); }
.vplayer:hover > img { opacity: .9; }
.vplayer .play {
  position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  color: var(--ash); border: 1px solid rgba(232, 230, 225, .6); background: rgba(15, 17, 19, .4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: 0; transition: border-color .2s, color .2s;
}
.vplayer .play i { display: block; width: 0; height: 0; margin-left: 4px; border-left: 15px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vplayer:hover .play { border-color: var(--warm); color: var(--warm); }
.vplayer a.play { width: auto; height: auto; padding: .7rem 1.1rem; border-radius: 999px; font-size: .875rem; gap: .6rem; grid-auto-flow: column; }
.vplayer a.play i { margin-left: 0; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.vplayer .vcover { position: absolute; inset: 0; z-index: 1; }
.vplayer .runtime { position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 3px 7px; border-radius: 2px; background: rgba(15, 17, 19, .6); font-size: .75rem; color: var(--ash); font-variant-numeric: tabular-nums; }
.vplayer iframe, .vplayer video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; object-fit: contain; }
.vplayer.is-playing .play, .vplayer.is-playing .runtime { display: none; }
.vimeo-out { display: inline-block; margin-top: .6rem; font-size: .8125rem; color: var(--text-muted); border-bottom: 1px solid var(--line-strong); }
.vimeo-out:hover { color: var(--warm); border-color: var(--warm); }

/* ---------- Film page: one player, the lineup right below it ---------- */

.theater { display: grid; gap: 14px; grid-template-areas: "screen" "lineup" "note" "now"; max-width: 1440px; }
/* "From the founder's personal library" line under the lineup */
.reel-note { grid-area: note; font-size: .8125rem; color: var(--text-muted); }
.screen { grid-area: screen; scroll-margin-top: calc(var(--hdr) + 12px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .35); }
.screen.is-out { cursor: default; }
.lineup { grid-area: lineup; display: grid; gap: 14px 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lineup-item { display: grid; gap: .45rem; width: 100%; text-align: left; align-content: start; }
.lineup-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border-radius: 2px; }
.lineup-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .2s, transform .4s var(--ease), filter var(--pull); }
.lineup-thumb .runtime { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 2px; background: rgba(15, 17, 19, .7); font-size: .6875rem; color: var(--ash); font-variant-numeric: tabular-nums; }
.lineup-thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 2px; transition: border-color .2s; }
.lineup-item:hover .lineup-thumb img, .lineup-item:focus-visible .lineup-thumb img { opacity: 1; }
.lineup-item:hover .lineup-thumb img { transform: scale(1.03); }
.lineup-item[aria-current="true"] .lineup-thumb img { opacity: 1; }
.lineup-item[aria-current="true"] .lineup-thumb::after { border-color: var(--warm); }
.lineup-item:focus-visible { outline: none; }
.lineup-item:focus-visible .lineup-thumb { outline: 2px solid var(--warm); outline-offset: 3px; }
.lineup-text { display: block; font-size: .8125rem; line-height: 1.35; }
.lineup-num { font-size: .75rem; letter-spacing: .06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.lineup-item[aria-current="true"] .lineup-num { color: var(--warm); }
.lineup-title { color: var(--text-soft); transition: color .2s; }
.lineup-item:hover .lineup-title, .lineup-item[aria-current="true"] .lineup-title { color: var(--text); }
.lineup-kind { display: block; margin-top: .1rem; font-size: .75rem; color: var(--text-muted); }
.now { grid-area: now; display: grid; gap: .5rem; align-content: start; padding-top: 10px; font-size: .875rem; color: var(--text-muted); }
.now-kicker { font-size: .75rem; letter-spacing: .08em; color: var(--accent); }
.now-kicker span { margin-left: .4rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.film-info { display: grid; gap: .35rem; }
.film-info h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.film-meta { color: var(--text-muted); }
.film-info > p:not(.film-meta) { color: var(--text-soft); max-width: 46ch; }
.film-info .credits { margin-top: .4rem; }
.now-out:empty { display: none; }
.now-out .vimeo-out { margin-top: 0; }
.now-nav { display: flex; align-items: center; gap: 8px; margin-top: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.now-nav .icon-btn { width: 40px; height: 40px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line-strong); }
.up-next { margin-left: .5rem; font-size: .8125rem; min-width: 0; }
.up-next span { color: var(--text-soft); }
@media (min-width: 980px) {
  .theater { grid-template-columns: minmax(0, 1fr) clamp(240px, 22vw, 320px); grid-template-areas: "screen now" "lineup now" "note now"; gap: 14px clamp(28px, 3vw, 48px); }
  .now { padding-top: 0; }
}
@media (max-width: 599px) {
  /* One row that scrolls sideways, running edge to edge */
  .lineup {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup li { scroll-snap-align: start; }
}

/* ---------- Credits & related links ---------- */

.credits { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: .8125rem; }
.credits dt { color: var(--text-muted); }
.credits dd { color: var(--text-soft); }
.related { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .5rem; font-size: .8125rem; }
.related a { color: var(--text-soft); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.related a:hover { color: var(--warm); border-color: var(--warm); }

/* ---------- Tiles (masonry / reel) ---------- */

.masonry { columns: 3 280px; column-gap: 8px; }
.tile { position: relative; break-inside: avoid; margin: 0 0 8px; overflow: hidden; background: var(--surface); }
.tile > a, .tile > button { display: block; width: 100%; cursor: zoom-in; }
.tile img { width: 100%; transition: opacity .3s, filter var(--pull); }
.tile:hover img { opacity: .86; }
.tile figcaption, .tile .tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .8125rem; color: #fff; text-align: left;
  background: linear-gradient(0deg, rgba(10, 12, 14, .75), transparent);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.tile figcaption span, .tile .tile-cap span { color: var(--ash-2); }
.tile:hover figcaption, .tile:focus-within figcaption, .tile:hover .tile-cap, .tile:focus-within .tile-cap { opacity: 1; }
@media (hover: none) { .tile figcaption, .tile .tile-cap { opacity: 1; } }
.still-grid { display: grid; gap: 8px; }
@media (min-width: 700px) { .still-grid { grid-template-columns: repeat(3, 1fr); } }
.still-grid .tile { margin: 0; }
.still-grid img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Panels & rate lists ---------- */

.panels { display: grid; gap: 16px; }
@media (min-width: 860px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { display: flex; flex-direction: column; gap: 1rem; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: var(--radius); }
.panel > p { color: var(--text-muted); font-size: .9375rem; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: auto; padding-top: .5rem; }
.rates li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.rates li:last-child { border-bottom: 1px solid var(--line); }
.rate-name { font-weight: 500; }
.rates a.rate-name { transition: color .2s; }
.rates a.rate-name:hover { color: var(--warm); }
.rate-price { text-align: right; white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.rate-note { grid-column: 1 / -1; font-size: .875rem; color: var(--text-muted); }

/* Services: a service per section, media beside the copy */
.svc { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .svc.flip .svc-media { order: 2; } .svc-media { position: sticky; top: calc(var(--hdr) + 24px); } }
.svc-media { display: grid; gap: .6rem; }
.svc-media img { width: 100%; }
.svc-media .cap { font-size: .8125rem; color: var(--text-muted); }
.svc-copy { display: grid; gap: 1.25rem; align-content: start; }
.svc-copy > p { color: var(--text-soft); }
.gear { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gear > div { padding: 16px 18px; background: var(--surface); border-radius: var(--radius); display: grid; gap: .4rem; font-size: .9375rem; }
.gear .eyebrow { font-size: .8125rem; color: var(--text-muted); }
@media (max-width: 520px) { .gear { grid-template-columns: 1fr; } }
.waveart { aspect-ratio: 16 / 10; background: radial-gradient(80% 90% at 50% 50%, var(--teal), var(--onyx-2)); display: grid; place-items: center; overflow: hidden; }
.waveart svg { width: 80%; stroke: var(--ocean-2); fill: none; stroke-width: 1.2; opacity: .85; }

/* Tier cards */
.tiers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.tiers.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .tiers, .tiers.two { grid-auto-flow: row; grid-template-columns: 1fr; } }
.tier { display: grid; gap: .35rem; align-content: start; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); }
.tier .for { font-size: .8125rem; color: var(--text-muted); line-height: 1.35; }
.tier h4 { font-size: 1.0625rem; }
.tier .rate { display: grid; gap: .1rem; margin-top: .35rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.tier .rate b { font-weight: 500; color: var(--warm); font-variant-numeric: tabular-nums; }
.tier .rate span { font-size: .8125rem; color: var(--text-muted); }
.tier .tier-book { margin-top: .5rem; justify-self: start; }
/* Sub-blocks inside one service (Sound: design, then music) */
.svc-sub { display: grid; gap: 14px; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.svc-sub > h3 { font-size: 1.25rem; }
.svc-sub > p { color: var(--text-soft); }
/* Stacked tier cards, each with its own project drop-down */
.tiers.stack { grid-auto-flow: row; grid-template-columns: 1fr; }
.tier.pick { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: .5rem; align-items: center; }
.tier.pick > h4, .tier.pick > .tier-project, .tier.pick > .tier-controls, .tier.pick > .for { grid-column: 1; }
.tier-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tier-controls .tier-project { flex: 1 1 130px; }
/* Quantity box with up and down arrows */
.qty { display: inline-flex; align-items: stretch; height: 40px; background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.qty[hidden] { display: none; }
.qty:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 163, 174, .2); }
.qty input { width: 2.1rem; padding: 0 .1rem 0 .8rem; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .9375rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-unit { align-self: center; min-width: 2.6rem; padding-right: .7rem; font-size: .875rem; color: var(--text-soft); }
.qty-arrows { display: grid; grid-template-rows: 1fr 1fr; border-left: 1px solid var(--line-strong); }
.qty-arrows button { width: 32px; display: grid; place-items: center; padding: 0; background: none; border: 0; color: var(--text-soft); cursor: pointer; }
.qty-arrows button + button { border-top: 1px solid var(--line-strong); }
.qty-arrows button:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.qty-arrows button:disabled { opacity: .3; cursor: default; }
.qty-arrows svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.field .qty { height: 46px; justify-self: start; }
.tier-controls .qty { align-self: stretch; height: auto; min-height: 40px; }
.tier.pick .rate { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; align-content: center; justify-items: end; text-align: right; min-width: 10.5rem; margin: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--line); }
.tier.pick .tier-book { justify-self: end; }
.tier-project { max-width: 260px; }
.tier-project select { min-height: 40px; padding-block: .5rem; font-size: .9375rem; }
@media (max-width: 520px) {
  .tier.pick { grid-template-columns: 1fr; }
  .tier.pick .rate { grid-column: 1; grid-row: auto; justify-items: start; text-align: left; min-width: 0; padding: .6rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tier.pick .tier-book { justify-self: start; }
  .tier-project { max-width: none; }
}
.tier-picker { display: grid; gap: 14px; }
.pick-note { font-size: .875rem; color: var(--text-muted); }

/* Brief builder and booking pickers */
.brief { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: var(--radius); }
.brief-fields { display: grid; gap: 16px; }
@media (min-width: 620px) { .brief-fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field > span, .field legend, .field label { font-size: .875rem; color: var(--text-soft); }
.field.extras, .tier-picker .field { max-width: 360px; }
.select { position: relative; display: block; }
.select select, .input {
  width: 100%; min-height: 46px; padding: .75rem .9rem;
  font-size: 1rem; color: var(--text);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.select select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23c6c9c7' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
}
.select option { background: var(--slate); color: var(--ash); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
.select select:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 163, 174, .2); }
.levels { border: 0; margin: 0; padding: 0; display: grid; gap: .4rem; min-width: 0; }
.levels-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
@media (max-width: 620px) { .levels-row { grid-auto-flow: row; grid-template-columns: 1fr; } }
.level { position: relative; }
.level input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.level .box { display: grid; gap: .2rem; height: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--field); transition: border-color .2s, background-color .2s; }
.level .lv-name { font-weight: 500; color: var(--text); }
.level .lv-for { font-size: .8125rem; color: var(--text-muted); }
.level .lv-rate { font-size: .875rem; color: var(--warm); font-variant-numeric: tabular-nums; }
.level .lv-rate:empty { display: none; }
.level input:hover + .box { border-color: var(--silver); }
.level input:checked + .box { border-color: var(--warm); background: rgba(207, 159, 104, .08); }
.level input:focus-visible + .box { outline: 2px solid var(--warm); outline-offset: 3px; }
.brief-out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.brief-out .sum { display: grid; gap: .2rem; }
.brief-out .sum strong { font-weight: 500; }
.brief-out .sum span { font-size: .875rem; color: var(--text-muted); }

/* Billing notes */
.billing { display: grid; gap: 16px; }
@media (min-width: 860px) { .billing { grid-template-columns: repeat(3, 1fr); } }
.billing > div { display: grid; gap: .5rem; align-content: start; padding-top: 14px; border-top: 1px solid var(--line-strong); color: var(--text-muted); font-size: .9375rem; }
.billing h3 { font-size: 1rem; }
.pull { padding-left: 16px; border-left: 2px solid var(--warm); color: var(--text-soft); font-style: italic; }
.pull cite { display: block; margin-top: .4rem; font-style: normal; font-size: .8125rem; color: var(--text-muted); }

/* ---------- Booking ---------- */

.book { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 1040px) { .book { grid-template-columns: minmax(0, 1fr) 360px; } }
.book-steps { display: grid; gap: 16px; }
.step { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: var(--radius); }
.step-head { display: flex; align-items: baseline; gap: .75rem; }
.step-head h2 { font-size: 1.25rem; }
.num { font-size: .8125rem; color: var(--warm); font-variant-numeric: tabular-nums; }
.cal { display: grid; gap: 12px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-top strong { font-weight: 500; font-size: 1.125rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav .icon-btn { width: 38px; height: 38px; background: none; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: .75rem; color: var(--text-muted); padding-bottom: 4px; }
.cal-grid button { position: relative; height: clamp(40px, 4.4vw, 50px); display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius); background: var(--field); color: var(--text); font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.cal-grid button::after { content: ""; position: absolute; bottom: 16%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal-grid button:hover:not(:disabled) { border-color: var(--silver); }
.cal-grid button:disabled { background: none; color: rgba(142, 152, 159, .45); cursor: default; }
.cal-grid button:disabled::after { display: none; }
.cal-grid button[aria-pressed="true"] { background: var(--ash); color: var(--onyx); border-color: var(--ash); }
.cal-grid button[aria-pressed="true"]::after { background: var(--onyx); }
.cal-grid .today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-legend { font-size: .8125rem; color: var(--text-muted); }
.cal-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slots button { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--field); transition: border-color .2s, background-color .2s; }
.slots button:hover { border-color: var(--silver); }
.slots button[aria-pressed="true"] { background: var(--ash); border-color: var(--ash); color: var(--onyx); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.summary { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border-radius: var(--radius); }
@media (min-width: 1040px) { .summary { position: sticky; top: calc(var(--hdr) + 24px); } }
.summary h2 { font-size: 1.25rem; }
.summary .credits { grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .875rem; }
.summary .credits dd.empty { color: var(--text-muted); font-style: italic; }
.summary .btn { width: 100%; }
.summary .note { font-size: .8125rem; color: var(--text-muted); }
.confirm { display: grid; gap: .5rem; padding: 14px; border-radius: var(--radius); border: 1px solid rgba(207, 159, 104, .4); background: rgba(207, 159, 104, .07); font-size: .875rem; }
.form-error { color: #e0a58f; font-size: .875rem; }

/* ---------- School ---------- */

.lessons { display: grid; }
.lessons li { display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.lessons li:last-child { border-bottom: 1px solid var(--line); }
.lessons .n { font-size: .8125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lessons svg { width: 14px; height: 14px; fill: none; stroke: var(--text-muted); stroke-width: 1.5; }
.lessons .tag { font-size: .8125rem; color: var(--warm); }
.steps-list { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.steps-list li { display: grid; gap: .4rem; padding-top: 14px; border-top: 1px solid var(--line-strong); color: var(--text-muted); font-size: .9375rem; }
.steps-list li::before { counter-increment: s; content: "0" counter(s); font-size: .8125rem; color: var(--warm); }
.steps-list h3 { font-size: 1rem; }

/* ---------- Merch ---------- */

.products { display: grid; gap: 32px 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product { display: grid; gap: .5rem; align-content: start; }
.product-stage { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; background: var(--surface); margin-bottom: .25rem; }
.product-stage.wall { background: linear-gradient(180deg, #2a3a41 0%, #22313a 78%, #1a252c 78%, #172027 100%); }
.product-stage svg.garment { width: 66%; height: auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .45)); }
.frame { width: 62%; padding: 6%; background: #ecebe7; box-shadow: 0 0 0 6px #111416, 0 24px 40px -10px rgba(0, 0, 0, .65); margin-bottom: 8%; }
.frame.tall { width: 50%; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.frame.tall img { aspect-ratio: 2 / 3; }
.product-info { display: grid; gap: .2rem; }
.product-info .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-info h3 { font-size: 1rem; }
.product-info .price { font-size: .875rem; color: var(--text-muted); white-space: nowrap; }
.product-info .by { font-size: .875rem; color: var(--text-muted); }
/* Store: rows of three (featured, then one row per art piece) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.store-note { font-size: .875rem; color: var(--text-muted) !important; }
.products.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 16px; }
.hero-products .product-stage { aspect-ratio: 4 / 5; background: radial-gradient(90% 75% at 50% 38%, var(--teal), var(--onyx-2)); }
.hero-products .product-stage svg { width: 74%; }
.hero-products .product-info h3 { font-size: 1.125rem; }
.product-stage svg.mug { width: 70%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.section.collection { padding-block: clamp(40px, 5vw, 64px); }
.collection-head { display: grid; gap: .3rem; margin-bottom: clamp(18px, 2.5vw, 28px); }
.collection-kicker { font-size: .8125rem; letter-spacing: .06em; color: var(--warm); }
.collection-head p:last-child { color: var(--text-muted); }

/* Each card opens its product panel (the title link covers the whole card) */
.product { position: relative; }
.product-link { transition: color .2s; }
.product-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-link:focus-visible { outline: none; }
.product-link:focus-visible::after { outline: 2px solid var(--warm); outline-offset: 4px; }
.product:hover .product-link { color: var(--warm); }
.product-stage > * { transition: transform .6s var(--ease); }
.product:hover .product-stage > * { transform: scale(1.035); }
.product .product-stage::after {
  content: "View"; position: absolute; right: 10px; bottom: 10px; padding: 4px 11px; border-radius: 99px;
  font-size: .75rem; color: var(--ash); background: rgba(15, 17, 19, .72); opacity: 0; transition: opacity .25s;
}
.product:hover .product-stage::after { opacity: 1; }
@media (hover: none) { .product .product-stage::after { display: none; } }

/* Product panel */
.item-panel {
  width: min(1080px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deep); color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.item-panel::backdrop, .bag::backdrop { background: rgba(8, 9, 10, .7); }
.item-panel[open] { animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.item-close { z-index: 2; }
.item-wrap { display: grid; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.item-stage { margin: 0; background: radial-gradient(90% 75% at 50% 40%, var(--teal), var(--onyx-2)); }
.item-stage svg.garment, .item-stage svg.mug { width: 70%; }
.item-body { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.5vw, 44px); }
.item-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: -6px; }
.item-price { font-size: 1.0625rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.item-text { color: var(--text-soft); max-width: 46ch; }
.sizes { display: grid; gap: .5rem; min-width: 0; margin: 6px 0 0; padding: 0; border: 0; }
.sizes legend { padding: 0; margin-bottom: .5rem; font-size: .875rem; color: var(--text-soft); }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-width: 54px; min-height: 44px; padding: 0 14px;
  font-size: .9375rem; color: var(--text-soft); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, background-color .2s, color .2s;
}
.size:hover span { border-color: var(--ash-2); color: var(--text); }
.size input:checked + span { background: var(--ash); border-color: var(--ash); color: var(--onyx); }
.size input:focus-visible + span { outline: 2px solid var(--warm); outline-offset: 2px; }
.item-error { font-size: .875rem; color: var(--tungsten-2); }
.item-error:empty { display: none; }
.item-add { width: 100%; min-height: 50px; margin-top: 4px; font-size: 1rem; }
.item-details { margin-top: 10px; border-top: 1px solid var(--line); }
.item-details div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.item-details dt { color: var(--text-muted); }
.item-details dd { color: var(--text-soft); }
@media (min-width: 820px) {
  .item-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .item-stage { aspect-ratio: auto; align-self: stretch; min-height: 520px; }
}
@media (max-width: 819px) {
  .item-panel { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .item-wrap { max-height: 100%; }
  .item-stage { aspect-ratio: 5 / 4; min-height: 0; }
}

/* Quantity box without a unit label (store) */
.qty.bare input { width: 2.75rem; padding: 0; text-align: center; }
.qty.bare .qty-unit { display: none; }

/* Shopping bag (slides in from the right) */
.bag {
  inset: 0 0 0 auto; width: min(420px, 100vw); height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--bg-deep); color: var(--text);
}
.bag[open] { display: flex; flex-direction: column; animation: bag-in .45s var(--ease); }
@keyframes bag-in { from { transform: translateX(100%); } to { transform: none; } }
.bag-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 1.35rem; }
.bag-items { margin-top: .2rem; font-size: .875rem; color: var(--text-muted); }
.bag-added { margin: 14px 24px 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(43, 69, 80, .55); font-size: .875rem; color: var(--ash); }
.bag-added:empty { display: none; }
.bag-lines { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 12px; }
.bag-lines:empty { display: none; }
.bag-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 12px; border-bottom: 1px solid var(--line); border-radius: var(--radius); }
.bag-line:last-child { border-bottom: 0; }
.bag-line.is-new { animation: bag-new 1.8s var(--ease); }
@keyframes bag-new { from { background: rgba(207, 159, 104, .16); } to { background: transparent; } }
.bag-thumb { width: 76px; margin: 0; }
.bag-thumb svg.garment, .bag-thumb svg.mug { width: 80%; filter: none; }
.bag-thumb .frame { box-shadow: 0 0 0 2px #111416; margin-bottom: 0; }
.bag-info { display: grid; gap: .15rem; align-content: start; min-width: 0; }
.bag-name { font-weight: 500; transition: color .2s; }
.bag-name:hover { color: var(--warm); }
.bag-size { font-size: .8125rem; color: var(--text-muted); }
.bag-row { display: flex; align-items: center; gap: 16px; margin-top: .55rem; }
.bag-row .qty { height: 36px; }
/* Touch screens: taller steppers, so each arrow is at least 24px tall */
@media (pointer: coarse) {
  .qty, .field .qty, .bag-row .qty { height: 50px; }
  .tier-controls .qty { min-height: 50px; }
}
.bag-remove { font-size: .8125rem; color: var(--text-muted); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.bag-remove:hover { color: var(--warm); border-color: var(--warm); }
.bag-price { font-size: .9375rem; color: var(--text-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bag-empty { flex: 1; display: grid; align-content: start; justify-items: start; gap: 16px; padding: 28px 24px; color: var(--text-soft); }
.bag-foot { display: grid; gap: 12px; padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.bag-total { display: flex; justify-content: space-between; gap: 16px; font-size: 1.0625rem; }
.bag-total span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.bag-note { font-size: .8125rem; color: var(--text-muted); }
.bag-checkout { width: 100%; min-height: 50px; }
@media (max-width: 340px) {
  .bag-line { grid-template-columns: 64px minmax(0, 1fr); }
  .bag-thumb { width: 64px; }
  .bag-price { grid-column: 2; }
}

/* ---------- Journal ---------- */

.journal { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .journal { grid-template-columns: minmax(0, 1fr) 280px; } }
.posts { display: grid; gap: 40px 16px; }
@media (min-width: 700px) { .posts { grid-template-columns: 1fr 1fr; } }
.post { display: grid; gap: .5rem; align-content: start; }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); margin-bottom: .35rem; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, filter var(--pull); }
a.post:hover .post-img img { opacity: .88; }
.post .meta { font-size: .8125rem; color: var(--text-muted); }
.post .meta .cat { color: var(--accent); }
.post h2, .post h3 { font-size: 1.0625rem; }
a.post:hover h2, a.post:hover h3 { color: var(--warm); }
.post p { font-size: .9375rem; color: var(--text-muted); }
.post .soon { font-size: .8125rem; color: var(--text-muted); }
.post.lead { grid-column: 1 / -1; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .post.lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; } }
.post.lead .post-img { aspect-ratio: 16 / 10; }
.post.lead .lead-copy { display: grid; gap: .6rem; }
.post.lead h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.waveart.post-art { aspect-ratio: 3 / 2; margin-bottom: .35rem; }
.waveart.post-art svg { width: 46%; }
.sidebar { display: grid; gap: 24px; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--hdr) + 24px); } }
.sidebar > * { min-width: 0; }
.side-block { display: grid; gap: .6rem; }
.side-block > .eyebrow, .side-block > label { font-size: .875rem; color: var(--text-soft); }
.mini-cal { padding: 14px; background: var(--surface); border-radius: var(--radius); }
.mini-cal .cal-top strong { font-size: 1rem; }
.mini-cal .icon-btn { width: 32px; height: 32px; }
.mini-cal .cal-dow, .mini-cal .cal-grid { gap: 3px; }
.mini-cal .cal-grid span, .mini-cal .cal-grid button { aspect-ratio: 1; height: auto; min-height: 0; display: grid; place-items: center; font-size: .75rem; border-radius: 2px; color: var(--text-muted); background: none; }
.mini-cal .cal-grid button { color: var(--onyx); background: var(--silver); font-weight: 600; }
.mini-cal .cal-grid button::after { display: none; }
.mini-cal .cal-grid button[aria-pressed="true"] { background: var(--warm); }
.cats { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.cats button { padding: .15rem 0; border-bottom: 1px solid transparent; font-size: .875rem; color: var(--text-muted); transition: color .2s, border-color .2s; }
.cats button:hover { color: #fff; }
.cats button[aria-pressed="true"] { color: #fff; border-color: currentColor; }
.filter-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .875rem; color: var(--text-muted); margin-bottom: 16px; }
.filter-status button { color: var(--warm); font-size: .875rem; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; stroke: var(--text-muted); fill: none; stroke-width: 1.6; pointer-events: none; }
.search .input { padding-left: 40px; }

/* Article */
.article { max-width: 720px; }
.article .byline { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .875rem; color: var(--text-muted); }
.article-figure { margin: clamp(28px, 4vw, 48px) 0; }
.article-figure img { width: 100%; }
.article-figure figcaption { margin-top: .6rem; font-size: .8125rem; color: var(--text-muted); }
.article .prose { font-size: 1.0625rem; line-height: 1.75; }
.article .prose h2 { font-size: 1.25rem; margin: 2em 0 .6em; color: var(--text); }
.article .vplayer { margin: 1.5em 0; }

/* ---------- In Development ---------- */

.goals { display: grid; gap: 16px; }
@media (min-width: 860px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goals > div { display: grid; gap: .4rem; align-content: start; padding: 20px; background: var(--surface); border-radius: var(--radius); color: var(--text-muted); font-size: .9375rem; }
.goals h3 { font-size: 1rem; }
/* Project cards: image on top, status, title, text, links */
.projects { display: grid; gap: 16px; }
@media (min-width: 760px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--surface); border-radius: var(--radius); scroll-margin-top: calc(var(--hdr) + 16px); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.project-media > img { width: 100%; height: 100%; object-fit: cover; }
.project-media img.pos-school { object-position: 62% 50%; }
.project-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--onyx); }
.project-media.duo img { min-height: 0; }
.project-media img.pos-closeup { object-position: 55% 35%; }
.project-media.merch { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: center; padding: 6% 9%; background: radial-gradient(80% 90% at 50% 40%, var(--teal), var(--onyx-2)); }
.project-media.merch svg { width: 100%; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); }
.project-body { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 20px 22px 22px; }
.project-body h3 { font-size: 1.25rem; }
.project-body p { color: var(--text-soft); font-size: .9375rem; line-height: 1.5; }
.project-body .credit { color: var(--text-muted); font-size: .8125rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: auto; padding-top: .4rem; }
/* Status pill: a coloured dot shows how far along it is */
.status { display: inline-flex; align-items: center; gap: .45rem; padding: 3px 10px 3px 8px; font-size: .75rem; letter-spacing: .03em; color: var(--text-soft); border: 1px solid var(--line-strong); border-radius: 999px; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.status--live::before { background: var(--warm); }
.status--planned::before { background: var(--ocean-2); }
.status--design::before { background: var(--silver); }
/* Smaller ideas, text only */
.also { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.also-head { font-size: .875rem; font-weight: 500; color: var(--text-muted); }
.also-list { display: grid; gap: 16px; }
@media (min-width: 760px) { .also-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.also-item { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--hdr) + 16px); }
.also-item h4 { font-size: 1.125rem; }
.also-item p { color: var(--text-soft); font-size: .9375rem; }

/* ---------- Legal ---------- */

.legal { display: grid; gap: clamp(32px, 5vw, 56px); }
.legal section { display: grid; gap: .75rem 3rem; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .legal section { grid-template-columns: 240px minmax(0, 1fr); } }
.legal h2 { font-size: 1.125rem; }
.legal ul { margin-top: .75rem; padding-left: 1.1em; list-style: disc; display: grid; gap: .4rem; }

/* ---------- Call to action ---------- */

.cta-band { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cta-inner p { color: var(--text-muted); }
.cta-inner h2 { margin-bottom: .3rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-deep); padding: 44px 0 28px; font-size: .875rem; color: var(--text-muted); }
.ft { display: grid; gap: 28px 48px; }
@media (min-width: 900px) { .ft { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.ft-left { display: grid; gap: 1rem; justify-items: start; }
.ft-contacts { display: grid; gap: .3rem; }
.ft-contacts div { display: flex; flex-wrap: wrap; gap: .2rem .6rem; }
.ft-contacts dt { color: var(--text-soft); }
.ft-contacts a:hover, .ft-nav a:hover, .ft-legal a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-soft); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--warm); border-color: var(--warm); }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social svg path[fill="none"] { fill: none; }
.ft-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
@media (min-width: 900px) { .ft-nav { justify-content: flex-end; max-width: 560px; } }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; }
.ft-legal nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.neo-link span { color: var(--silver); }

/* ---------- Lightbox ---------- */

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 14, .97); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .3s var(--ease); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 64px clamp(12px, 6vw, 84px) 8px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-stage .vwrap { position: relative; width: min(100%, calc((100dvh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lb-stage iframe, .lb-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.lb-cap { padding: 16px var(--gutter) 22px; font-size: .875rem; color: var(--text-soft); text-align: center; }
.lb-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232, 230, 225, .35); background: rgba(15, 17, 19, .4); }
.lb-close:hover { border-color: var(--warm); color: var(--warm); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Blur into focus on scroll (from the Onyx brief) ---------- */

.js .reveal { opacity: .1; filter: blur(10px); transform: translateY(14px); transition: opacity .9s var(--ease), filter 1s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; filter: none; transform: none; }

/* Focus pull: photos and video show soft, then rack into focus as they come into view.
   site.js adds .in-focus (players and viewers the script makes start sharp). These rules
   have zero specificity so each image keeps its own styles; image rules that set their
   own transition list `filter var(--pull)` too. Shop panels and the bag (dialogs) stay sharp. */
:where(.js main) :where(img, video) { filter: blur(var(--soft)); transition: filter var(--pull); }
:where(.js main) :where(img, video):where(.in-focus, dialog *) { filter: none; }
.js .cover-media img:not(.in-focus) { filter: blur(var(--soft)) contrast(1.05); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide > img, .slide > video { transform: none; }
  .cdot.is-active .fill { animation-duration: var(--interval, 5000ms) !important; }
  .js .reveal { filter: none; transform: none; }
  :where(.js main) :where(img, video) { filter: none; }
  .js .cover-media img:not(.in-focus) { filter: contrast(1.05); }
}

