/* =====================================================================
   ONE23 — styles
   A single committed look: ink + bone, warm greys, one rust hairline
   borrowed from the store's walls. Photography carries the colour.
   ===================================================================== */
:root {
  --ink: #121110;
  --char: #1b1a18;
  --char-2: #24221f;
  --line-d: rgba(236, 231, 223, .14);
  --bone: #ece7df;
  --paper: #f4f1eb;
  --text: #171614;
  --muted: #6d665c;
  --warm: #a19888;
  --line-l: #d8d2c7;
  --rust: #a4593a;
  --sand: #ece7df;           /* about section ground */
  --desc: #c3bbaf;           /* body text on the page ground */
  --stage: #0d0c0b;          /* gallery photo stage */
  --rock: #2b2825;           /* cave frame rim */
  --rock-2: #3a3631;
  --map-filter: saturate(.9) sepia(.12) brightness(.96);

  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Onest", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --nav-h: 72px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}

/* Light theme: the dark "ink" sections turn to warm paper; product photos stay the focus. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink: #f4f1eb; --char: #e9e4db; --char-2: #ddd7cc;
    --line-d: rgba(23, 22, 20, .14); --bone: #171614; --warm: #6b6459;
    --paper: #fbfaf7; --sand: #e7e1d7; --desc: #4a453e; --stage: #e9e4db;
    --rock: #cfc7ba; --rock-2: #b9b0a2;
    --map-filter: saturate(.9) sepia(.12) brightness(.96);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink: #f4f1eb; --char: #e9e4db; --char-2: #ddd7cc;
  --line-d: rgba(23, 22, 20, .14); --bone: #171614; --warm: #6b6459;
  --paper: #fbfaf7; --sand: #e7e1d7; --desc: #4a453e; --stage: #e9e4db;
  --rock: #cfc7ba; --rock-2: #b9b0a2;
  --map-filter: saturate(.9) sepia(.12) brightness(.96);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }
body { transition: background-color .6s var(--ease), color .6s var(--ease); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--bone); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
body.lock { overflow: hidden; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--bone); color: var(--ink); padding: 12px 16px; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--rust); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 54px; padding: 0 24px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .2s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--ink)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(.975); }
.arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr, .row:hover .arr, .card__order:hover .arr { transform: translate(3px, -3px); }
.btn:hover .arr--down { transform: translateY(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .7rem; gap: 14px; }
.btn--block { width: 100%; }
.btn--light { --bg: var(--bone); --fg: var(--ink); --bd: var(--bone); --fill: var(--rust); }
.btn--light:hover { --fg: #fff; --bd: var(--rust); }
.btn--ghost { --fg: var(--bone); --bd: color-mix(in srgb, var(--bone) 32%, transparent); --fill: var(--bone); }
.btn--ghost:hover { --fg: var(--ink); --bd: var(--bone); }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-d); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: border-color .4s, background-color .4s, color .4s; }
.chip:hover { border-color: var(--bone); background: var(--bone); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.link-btn:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- language switcher ---------- */
.lang { display: inline-flex; }
.lang button { position: relative; background: none; border: 0; cursor: pointer; min-width: 38px; min-height: 40px; padding: 0 8px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; opacity: .45; transition: opacity .3s; }
.lang button::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); }
.lang button:hover { opacity: .85; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button[aria-pressed="true"]::after { transform: scaleX(1); }
.lang--lg button { min-width: 56px; min-height: 52px; font-size: .85rem; }

/* ---------- curtain (page load) ---------- */
.curtain { display: none; }
.js .curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; background: var(--ink); pointer-events: none; transform: translateY(0); transition: transform 1.1s var(--ease-io) .15s; }
.curtain__mark { font-family: var(--f-display); font-weight: 200; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .5em; padding-left: .5em; color: var(--bone); opacity: 0; animation: markIn .9s var(--ease) .05s forwards; }
.js:not(.is-loading) .curtain { transform: translateY(-101%); }
@keyframes markIn { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .5em; } }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; will-change: background-color; z-index: 60; padding-top: env(safe-area-inset-top, 0px); color: var(--bone); border-bottom: 1px solid transparent; transition: background-color .6s var(--ease), border-color .6s, transform .6s var(--ease); }
.nav.is-solid { background: color-mix(in srgb, var(--ink) 84%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line-d); }
/* While the mobile menu is open the bar must not create a containing block
   (backdrop-filter would trap the fixed menu inside the bar's height). */
body.menu-open .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
.nav__bar { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav__logo { font-family: var(--f-display); font-weight: 300; font-size: 1.05rem; letter-spacing: .38em; text-decoration: none; margin-right: -.38em; }
.nav__links { display: flex; gap: 34px; margin-inline: auto; }
.nav__links a { position: relative; text-decoration: none; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding-block: 8px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 18px; }
.nav__menu { display: none; position: relative; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.nav__menu-lines, .nav__menu-lines::before { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__menu-lines { top: 20px; }
.nav__menu-lines::before { content: ""; left: 0; right: 0; top: 7px; }
.nav__menu[aria-expanded="true"] .nav__menu-lines { top: 23px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-lines::before { top: 0; transform: rotate(-90deg); }

.menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--ink); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line-d); text-decoration: none; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 8vw, 2.8rem); line-height: 1.1; text-transform: uppercase; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.menu__links a .mono { color: var(--warm); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .18s; }
.menu__foot { display: grid; gap: 10px; }


@media (max-width: 980px) {
  .nav__links, .nav__end > .lang, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .nav__end { margin-left: auto; }
}

/* ---------- hero / showcase ----------
   Campaign layout: the ONE23 wordmark owns the first screen, three product photos
   (one dominant, two supporting) overlap its lower edge. Photo ratios drive frame ratios. */
.hero { --word-fs: 18.5vw; position: relative; background: var(--ink); overflow: hidden; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 4px); padding-bottom: clamp(72px, 9vw, 150px); }
.hero__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-bottom: clamp(10px, 1.6vw, 22px); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--warm); }
.hero__meta > :nth-child(2) { text-align: center; }
.hero__meta > :last-child { text-align: right; font-size: .66rem; }

.word { position: relative; z-index: 1; margin: 0; pointer-events: none; color: var(--bone); }
.word__in { display: flex; justify-content: space-between; overflow: hidden; padding-block: .04em; font-family: var(--f-display); font-weight: 300; font-size: var(--word-fs); line-height: .8; letter-spacing: -.035em; white-space: nowrap; }
.word__in > span { display: inline-block; }

.stage { position: relative; z-index: 2; margin-top: calc(var(--word-fs) * -.28); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 28px); row-gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.shot__frame { position: relative; z-index: 1; display: block; width: 100%; overflow: hidden; background: var(--char); aspect-ratio: var(--r, .8); }

/* Cave frame: the photo sits in an irregular opening, ringed by a rough stone rim.
   Shapes come from assets/css/cave.css (generated by tools/cave-shapes.py). */
.cave__win { -webkit-mask: var(--cave) center / 100% 100% no-repeat; mask: var(--cave) center / 100% 100% no-repeat; }
.cave__win::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 58%, rgba(12, 11, 10, .38) 100%); }
.cave__rim { position: absolute; inset: calc(var(--rim-m) * -1); z-index: 0; pointer-events: none;
  -webkit-mask: var(--rim) center / 100% 100% no-repeat; mask: var(--rim) center / 100% 100% no-repeat;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .32 -.06'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 20%, var(--rock-2), var(--rock) 70%);
  transition: transform 1.2s var(--ease); }
.shot:hover .cave__rim, .about__photo:hover .cave__rim, .card__media:hover .cave__rim { transform: scale(1.015); }
/* .cave: a box whose rim fits inside it (no overflow), window inset by the rim margin */
.cave { position: relative; }
.cave > .cave__rim { inset: 0; }
.cave > .cave__win { position: absolute; inset: var(--rim-in); z-index: 1; display: block; }
:root { --rim-in: 6.14%; }
.cave--p1 { --cave: var(--cave-p1); --rim: var(--rim-p1); }
.cave--p2 { --cave: var(--cave-p2); --rim: var(--rim-p2); }
.cave--p3 { --cave: var(--cave-p3); --rim: var(--rim-p3); }
.cave--p4 { --cave: var(--cave-p4); --rim: var(--rim-p4); }
.shot--a { --cave: var(--cave-a); --rim: var(--rim-a); }
.shot--b { --cave: var(--cave-b); --rim: var(--rim-b); }
.shot--c { --cave: var(--cave-c); --rim: var(--rim-c); }
.shot__par { position: absolute; inset: -6% 0; will-change: transform; }
.shot__par img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__par img.is-enter { clip-path: inset(100% 0 0 0); transform: scale(1.14); }
.shot__par img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1.4s var(--ease-io), transform 2.4s var(--ease); }
.shot__par img.is-out { transform: scale(1.04); filter: brightness(.55); transition: transform 1.4s var(--ease-io), filter 1.4s; }
.shot:hover .shot__par img.is-on { transform: scale(1.035); transition: clip-path 1.4s var(--ease-io), transform 1.4s var(--ease); }
.shot:focus-visible { outline: 2px solid var(--rust); outline-offset: calc(var(--rim-m) * 2); }
.shot__tag { position: absolute; left: 0; bottom: -8px; z-index: 4; display: inline-flex; gap: 10px; max-width: 100%; padding: 6px 9px; color: #ece7df; background: rgba(18, 17, 16, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .6s; }
.shot.is-swapping .shot__tag { opacity: 0; }

.shot--a { grid-column: 4 / span 5; grid-row: 1 / span 2; }
.shot--b { grid-column: 1 / span 3; grid-row: 1; margin-top: calc(var(--word-fs) * .5 + 2vw); }
.shot--c { grid-column: 10 / span 3; grid-row: 1; width: 84%; justify-self: end; margin-top: calc(var(--word-fs) * .06); }
.hero__copy { grid-column: 10 / span 3; grid-row: 2; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__tag { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.1rem, 1.7vw, 1.7rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.hero__line { color: var(--warm); max-width: 34ch; font-size: .98rem; }
.hero__frame { grid-column: 1 / span 3; grid-row: 2; align-self: end; display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.hero__frame-k { color: var(--warm); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.hero__list { list-style: none; padding: 0; display: grid; gap: 2px; }
.hero__list button { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; width: 100%; min-height: 36px; padding: 6px 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: .88rem; line-height: 1.3; }
.hero__list button .mono { color: var(--warm); font-size: .66rem; padding-top: .2em; }
.hero__list button span:last-child { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.hero__list button:hover span:last-child { background-size: 100% 1px; }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.hero__hint { color: var(--warm); font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; }
.hero__shuffle { display: inline-flex; gap: 8px; min-height: 40px; align-items: center; color: var(--bone); }

@media (max-width: 1100px) {
  .shot--a { grid-column: 3 / span 6; }
  .hero__copy { grid-column: 9 / span 4; }
  .hero__frame { grid-column: 1 / span 4; }
  .shot--b { grid-column: 1 / span 2; }
  .shot--c { grid-column: 9 / span 4; width: 76%; }
}
@media (max-width: 760px) {
  .hero__meta { grid-template-columns: 1fr auto; }
  .hero__meta > :nth-child(2) { display: none; }
  .hero__meta > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: calc(var(--word-fs) * -.16); row-gap: 28px; }
  .shot--a { grid-column: 1 / -1; grid-row: 1; }
  .shot--b { grid-column: 1 / span 3; grid-row: 2; margin-top: 0; }
  .shot--c { grid-column: 4 / span 3; grid-row: 2; width: 100%; margin-top: 18%; }
  .hero__copy { grid-column: 1 / -1; grid-row: 3; gap: 16px; }
  .hero__copy .btn { width: 100%; }
  .hero__frame { grid-column: 1 / -1; grid-row: 4; }
  .shot__tag { font-size: .56rem; }
}

/* load sequence: page → wordmark → main photo → supporting photos → copy + CTA */
.is-loading .word__in > span { transform: translateY(105%); }
.is-loading .shot { clip-path: inset(100% 0 0 0); }
.is-loading .shot__par img { transform: scale(1.2); }
.is-loading .hero__copy > *, .is-loading .hero__frame, .is-loading .hero__meta, .is-loading .nav__bar { opacity: 0; transform: translateY(18px); }
.js .word__in > span { transition: transform 1.3s var(--ease) calc(.25s + var(--i, 0) * .06s); }
.js .shot { transition: clip-path 1.5s var(--ease-io) calc(.7s + var(--i, 0) * .22s); }
.js .hero__meta, .js .nav__bar { transition: opacity 1s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.js .hero__copy > *, .js .hero__frame { transition: opacity 1s var(--ease) calc(1.35s + var(--i, 0) * .1s), transform 1.2s var(--ease) calc(1.35s + var(--i, 0) * .1s); }

/* ---------- scroll reveals (content is visible without JS) ---------- */
.js .reveal { transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(32px); }
.js .reveal--img { opacity: 1 !important; transform: none !important; }
.js .reveal--img::after { content: ""; position: absolute; inset: -2px; z-index: 1000; background: var(--wipe, var(--ink)); transform-origin: top; transform: scaleY(0); transition: transform 1.3s var(--ease-io) var(--d, 0s); pointer-events: none; }
.js .reveal--img:not(.in)::after { transform: scaleY(1); }
.about { --wipe: var(--sand); }
.location { --wipe: #3b1d12; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(32px, 4.4vw, 64px); }
.sec-head__l { display: grid; gap: 22px; }
.sec-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.3rem, 6.6vw, 6.6rem); line-height: .94; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.sec-title__n { font-family: var(--f-mono); font-size: max(.8rem, .16em); font-weight: 400; vertical-align: top; letter-spacing: .04em; color: var(--rust); margin-left: .25em; position: relative; top: .5em; }
.sec-lead { color: var(--muted); max-width: 44ch; justify-self: end; font-size: 1.02rem; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-lead { justify-self: start; } }

/* ---------- collection (editorial lookbook grid) ---------- */
.collection { --rock: #d6cfc3; --rock-2: #c2b9ab; background: var(--paper); color: var(--text); padding-block: clamp(100px, 12vw, 200px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 72px); padding-bottom: 22px; border-bottom: 1px solid var(--line-l); }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: none; border: 1px solid var(--line-l); cursor: pointer; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s; }
.filter sup { font-size: .6rem; color: var(--muted); transition: color .45s; top: -.1em; }
.filter:hover { border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--paper); border-color: var(--text); }
.filter[aria-pressed="true"] sup { color: var(--warm); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(52px, 5vw, 92px) clamp(16px, 2vw, 32px); }
.card { grid-column: span 3; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card--big { grid-column: span 6; grid-row: span 2; gap: 22px; }
.card--big.is-right { grid-column: 7 / span 6; }
.card.is-enter { animation: cardIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4 / 5; background: none; }
.card--big .card__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 460px; }
.card__media .cave__win { overflow: hidden; background: #e5e0d7; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.card__media .alt { opacity: 0; }
.card__media:hover img, .card__media:focus-visible img { transform: scale(1.045); }
.card__media:hover .alt, .card__media:focus-visible .alt { opacity: 1; }
.card__veil { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(18, 17, 16, .18); opacity: 0; transition: opacity .6s var(--ease); }
.card__veil span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #ece7df; color: #171614; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; transform: translateY(10px); transition: transform .7s var(--ease); }
.card__media:hover .card__veil, .card__media:focus-visible .card__veil { opacity: 1; }
.card__media:hover .card__veil span, .card__media:focus-visible .card__veil span { transform: none; }
.card__body { display: grid; gap: 8px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--f-display); font-weight: 300; font-size: clamp(.92rem, 1.08vw, 1.06rem); line-height: 1.28; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.card--big .card__name { font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1.08; letter-spacing: -.01em; }
.card__name button { all: unset; cursor: pointer; }
.card__name button:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.card__short { color: var(--muted); font-size: .96rem; max-width: 52ch; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-l); }
.card__price { font-family: var(--f-mono); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card--big .card__price { font-size: .95rem; }
.card__order { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.card__order span:first-child { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.card__order:hover span:first-child { background-size: 100% 1px; }
.grid.is-out .card { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card--big { grid-column: span 4; }
  .card--big.is-right { grid-column: 3 / span 4; }
  .card--big .card__media { min-height: 380px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 12px; }
  .card, .card--big, .card--big.is-right { grid-column: span 1; grid-row: auto; }
  .card--big, .card--big.is-right { grid-column: 1 / -1; }
  .card--big .card__media { flex: none; aspect-ratio: 4 / 5; min-height: 0; }
  .card:not(.card--big) .card__name { font-size: .8rem; }
  .card:not(.card--big) .card__foot { flex-direction: column; align-items: flex-start; gap: 0; }
  .card__meta span:nth-child(3) { display: none; }
}

/* ---------- about ---------- */
.about { --rock: #cfc7ba; --rock-2: #b9b0a2; background: var(--sand); color: var(--text); padding-block: clamp(96px, 12vw, 190px); }
.about .eyebrow { color: var(--muted); }
.about__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(48px, 6vw, 96px); }
.about__head { grid-column: 1 / span 10; display: grid; gap: 26px; }
.about__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 6.6vw, 6.8rem); line-height: .96; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.about__media { grid-column: 1 / span 6; position: relative; padding-bottom: 12%; }
.about__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4 / 5; background: none; }
.about__photo .cave__win { overflow: hidden; background: #ddd6ca; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.about__photo:hover img { transform: scale(1.04); }
.about__photo--sm { position: absolute; right: -16%; bottom: 0; width: 46%; z-index: 2; }
.about__photo-cap { position: absolute; left: 10%; bottom: 7%; z-index: 4; display: flex; gap: 10px; max-width: 80%; padding: 7px 10px; background: rgba(18, 17, 16, .74); color: #ece7df; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; text-align: left; }
.about__side { grid-column: 8 / span 5; align-self: center; display: grid; gap: clamp(36px, 4vw, 56px); }
.about__body { display: grid; gap: 18px; max-width: 54ch; font-size: 1.08rem; line-height: 1.7; color: #3a3631; }
.about__body p:first-child { font-size: 1.22rem; line-height: 1.55; color: var(--text); }
.about__values { list-style: none; padding: 0; display: grid; border-top: 1px solid #cdc6ba; }
.about__values li { display: grid; grid-template-columns: 3em 1fr; gap: 6px 12px; padding: 20px 0; border-bottom: 1px solid #cdc6ba; }
.about__values .mono { color: var(--rust); padding-top: .15em; grid-row: span 2; }
.about__values h3 { font-family: var(--f-display); font-weight: 400; font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
.about__values p { color: var(--muted); max-width: 42ch; }
@media (max-width: 900px) {
  .about__head, .about__media, .about__side { grid-column: 1 / -1; }
  .about__media { margin-right: 14%; padding-bottom: 16%; }
  .about__photo--sm { right: -18%; width: 48%; }
}

/* ---------- location ---------- */
.location {
  /* A warm rust band, borrowed from the store's walls. Same in both themes. */
  --ink: #2a150d; --bone: #f7e8d8; --warm: #e8ab7c; --line-d: rgba(247, 232, 216, .22);
  --char-2: #4a2416; --rust: #f0a35e;
  position: relative; overflow: hidden; color: var(--bone); padding-block: clamp(100px, 12vw, 200px);
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(240, 163, 94, .28), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(90, 120, 80, .22), transparent 65%),
    linear-gradient(160deg, #6a2f1a 0%, #45200f 55%, #2c160c 100%);
}
.location .eyebrow { color: var(--warm); }
.location .eyebrow::before { background: var(--rust); }
.location .sec-title { color: #fff3e6; }
.location .coords__v { color: #ffd9b3; }
.map { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); outline: 1px solid rgba(247, 232, 216, .18); }
.location .btn--light { --bg: #f0a35e; --fg: #2a150d; --bd: #f0a35e; --fill: #fff3e6; }
.location .btn--light:hover { --fg: #2a150d; --bd: #fff3e6; }
.location .chip { color: var(--bone); }
.location .chip:hover { background: #f7e8d8; color: #2a150d; }
.location__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 28px 64px; margin-bottom: clamp(32px, 4vw, 56px); }
.location__title { display: grid; gap: 22px; }
.location__info { display: grid; gap: 14px; }
.location__city { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: .02em; }
.coords { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.coords__k { grid-column: 1 / -1; color: var(--warm); text-transform: uppercase; font-size: .62rem; letter-spacing: .16em; }
.coords__v { font-family: var(--f-mono); font-size: clamp(.9rem, 1.3vw, 1.08rem); letter-spacing: .03em; user-select: all; font-variant-numeric: tabular-nums; }

.map { position: relative; aspect-ratio: 16 / 7; max-width: 100%; overflow: hidden; background: var(--char-2); }
.map__canvas { position: absolute; inset: 0; background: var(--char-2); }
.map__bar { position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 900; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100% - 24px); }
.map__bar .btn { min-height: 50px; }
.map__bar .chip { background: var(--ink); min-height: 44px; }
.map .leaflet-container { background: var(--char-2); font-family: var(--f-body); }
.map .leaflet-tile-pane { filter: var(--map-filter); }
.map .leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin: 14px !important; }
.map .leaflet-control-zoom a { width: 42px !important; height: 42px !important; line-height: 40px !important; background: var(--ink) !important; color: var(--bone) !important; border: 1px solid var(--line-d) !important; border-radius: 0 !important; font-weight: 300; transition: background-color .3s, color .3s; }
.map .leaflet-control-zoom a:hover { background: var(--bone) !important; color: var(--ink) !important; }
.map .leaflet-control-attribution { background: color-mix(in srgb, var(--ink) 80%, transparent) !important; color: var(--warm) !important; font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--bone) !important; }
.map .leaflet-div-icon { background: none; border: 0; }
.pin { position: relative; width: 18px; height: 18px; }
.pin__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--bone); border: 3px solid var(--rust); }
.pin__pulse { position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--bone); animation: pulse 2.6s var(--ease) infinite; }
.pin__label { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 10px; background: var(--ink); color: var(--bone); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-d); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.map-plate { position: absolute; inset: 0; }
.map-plate__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 56px 56px; background-position: center; }
.map-plate__cross::before, .map-plate__cross::after { content: ""; position: absolute; background: rgba(164, 89, 58, .5); }
.map-plate__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.map-plate__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.map-plate .pin { position: absolute; left: calc(50% - 9px); top: calc(50% - 9px); }
.map-plate__note { position: absolute; left: 16px; right: 16px; top: 14px; max-width: 52ch; color: var(--warm); font-size: .8rem; }
@media (max-width: 860px) {
  .location__head { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 5; }
  .map__bar { left: 12px; right: 12px; max-width: none; }
  .map__bar .btn { width: 100%; }
}

/* ---------- contact / order ---------- */
.contact { background: var(--ink); color: var(--bone); padding-block: clamp(110px, 14vw, 230px); }
.contact .eyebrow { color: var(--warm); }
.contact__title { margin-top: 24px; max-width: 13ch; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 8.4vw, 8.8rem); line-height: .94; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.contact__body { margin-top: 28px; max-width: 44ch; color: var(--warm); font-size: 1.08rem; }
.contact__ctas { margin-top: clamp(44px, 6vw, 96px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.cta { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: clamp(220px, 22vw, 320px); padding: clamp(22px, 2.6vw, 40px); border: 1px solid var(--line-d); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s var(--ease); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.cta:hover { color: var(--ink); border-color: var(--bone); }
.cta:hover::before { transform: scaleY(1); }
.cta--primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cta--primary::before { background: var(--rust); }
.cta--primary:hover { color: #fff; border-color: var(--rust); }
.cta__k { text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; opacity: .7; }
.cta__v { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 3.4vw, 3.3rem); line-height: 1.02; letter-spacing: -.01em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cta__b { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid currentColor; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.cta__arr { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; transition: transform .6s var(--ease); }
.cta:hover .cta__arr { transform: rotate(45deg); }
@media (max-width: 760px) {
  .contact__ctas { grid-template-columns: 1fr; }
  .cta { min-height: 180px; gap: 24px; }
}

/* ---------- mobile order bar ---------- */
.obar { display: none; }
@media (max-width: 760px) {
  .obar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--ink) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform .6s var(--ease); }
  .obar.on { transform: none; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .obar .btn { min-height: 50px; justify-content: center; gap: 10px; padding: 0 10px; font-size: .68rem; letter-spacing: .1em; }
}

/* ---------- footer ---------- */
.footer { background: var(--char); color: var(--bone); padding-block: clamp(56px, 7vw, 100px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 36px 24px; }
.footer__logo { font-family: var(--f-display); font-weight: 200; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.02em; }
.footer__tag { margin-top: 12px; color: var(--warm); text-transform: uppercase; letter-spacing: .16em; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .92rem; }
.footer__col a { text-decoration: none; opacity: .85; transition: opacity .3s; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__h { margin-bottom: 4px; color: var(--warm); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; }
.footer__k { display: block; color: var(--warm); font-size: .72rem; }
.footer__coords { color: var(--warm); }
.footer__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--warm); }
.footer__prefs { display: flex; align-items: center; gap: 14px; }
.footer__base .lang { margin-left: -8px; color: var(--bone); }
.footer__top { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; color: var(--bone); }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- product gallery ---------- */
.gallery { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--bone); overflow: hidden; }
.gallery::backdrop { background: transparent; }
/* opening: the ground fades in while the clicked photo flies to its place (see Gallery.fly in app.js) */
.gallery[open] { animation: gBg .6s var(--ease) both; }
.gallery[open] .gallery__layout { animation: gLay .7s var(--ease) .1s both; }
.gallery.is-closing { animation: gOut .4s var(--ease-io) both; }
@keyframes gBg { from { background-color: transparent; } }
@keyframes gLay { from { opacity: 0; } }
@keyframes gOut { to { opacity: 0; transform: scale(.99); } }
.gallery.is-flying .g-slide.is-cur .g-cave { opacity: 0; }
.g-cave { transition: opacity .35s var(--ease); }
.g-fly { position: fixed; z-index: 20; margin: 0; object-fit: cover; pointer-events: none; will-change: transform; transform-origin: 50% 50%; -webkit-mask: var(--cave) center / 100% 100% no-repeat; mask: var(--cave) center / 100% 100% no-repeat; }
.gallery__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); height: 100%; }
.gallery__stage { position: relative; overflow: hidden; background: var(--stage); touch-action: pan-y; user-select: none; }
.gallery__track { display: flex; height: 100%; transition: transform .9s var(--ease); will-change: transform; }
.gallery__track.is-drag { transition: none; }
.g-slide { --pad: clamp(12px, 3vw, 44px); position: relative; flex: 0 0 100%; height: 100%; container-type: size; }
.g-cave { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(100cqw - var(--pad) * 2, (100cqh - var(--pad) * 2) * var(--r)); aspect-ratio: var(--r); }
.g-cave .cave__win { background: var(--char); }
.g-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(.985); transition: opacity .7s var(--ease), transform 1.1s var(--ease); -webkit-user-drag: none; }
.g-slide img.is-ready { opacity: 1; transform: none; }
.g-nav { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border: 1px solid var(--line-d); background: color-mix(in srgb, var(--ink) 60%, transparent); color: var(--bone); cursor: pointer; font-size: 1.05rem; transition: background-color .4s, color .4s, border-color .4s, transform .2s; }
.g-nav:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.g-nav:active { transform: scale(.94); }
.g-nav--prev { left: 18px; }
.g-nav--next { right: 18px; }
.gallery__count { position: absolute; left: 22px; bottom: 18px; color: var(--warm); }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: none; justify-content: center; gap: 6px; }
.gallery__dots i { width: 18px; height: 2px; background: var(--line-d); transition: background-color .4s, width .5s var(--ease); }
.gallery__dots i.on { background: var(--bone); width: 30px; }
.gallery__info { display: flex; flex-direction: column; gap: 18px; padding: calc(22px + env(safe-area-inset-top, 0px)) 32px calc(26px + env(safe-area-inset-bottom, 0px)); border-left: 1px solid var(--line-d); overflow-y: auto; }
.gallery__top { display: flex; justify-content: space-between; align-items: center; }
.gallery__id { color: var(--warm); text-transform: uppercase; letter-spacing: .14em; }
.gallery__close { position: relative; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.gallery__close .x::before, .gallery__close .x::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease); }
.gallery__close .x::before { transform: rotate(45deg); }
.gallery__close .x::after { transform: rotate(-45deg); }
.gallery__close:hover .x::before { transform: rotate(135deg); }
.gallery__close:hover .x::after { transform: rotate(45deg); }
.gallery__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.gallery__price { font-family: var(--f-mono); font-size: 1rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.gallery__desc { color: var(--desc); font-size: .96rem; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.gallery__thumbs button { position: relative; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4 / 5; background: none; opacity: .45; transition: opacity .4s, transform .5s var(--ease); }
.gallery__thumbs button::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -8px; height: 1px; background: var(--bone); opacity: 0; transition: opacity .4s; }
.gallery__thumbs button:hover { opacity: .8; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; }
.gallery__thumbs button[aria-current="true"]::after { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--cave) center / 100% 100% no-repeat; mask: var(--cave) center / 100% 100% no-repeat; }
.gallery__thumbs { row-gap: 14px; }
.gallery__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.gallery__note { color: var(--warm); font-size: .8rem; }
.gallery.is-single .g-nav, .gallery.is-single .gallery__thumbs, .gallery.is-single .gallery__dots, .gallery.is-single .gallery__count { display: none; }
.gallery .gallery__info > * { animation: fadeUp .9s var(--ease) both; }
.gallery .gallery__info > :nth-child(2) { animation-delay: .08s; }
.gallery .gallery__info > :nth-child(3) { animation-delay: .13s; }
.gallery .gallery__info > :nth-child(4) { animation-delay: .18s; }
.gallery .gallery__info > :nth-child(5) { animation-delay: .23s; }
.gallery .gallery__info > :nth-child(6) { animation-delay: .28s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .gallery { overflow-y: auto; }
  .gallery__layout { grid-template-columns: 1fr; height: auto; min-height: 100%; }
  .gallery__stage { height: 66vh; height: 66svh; }
  .g-slide { --pad: 14px; padding-top: env(safe-area-inset-top, 0px); padding-bottom: 20px; }
  .g-nav, .gallery__count { display: none; }
  .gallery__dots { display: flex; }
  .gallery__info { border-left: 0; padding: 22px var(--gutter) 0; overflow: visible; }
  .gallery__top { position: fixed; top: calc(8px + env(safe-area-inset-top, 0px)); right: var(--gutter); z-index: 4; }
  .gallery__id { display: none; }
  .gallery__close { margin-right: -6px; background: color-mix(in srgb, var(--ink) 75%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .gallery__actions { position: sticky; bottom: 0; grid-template-columns: 1fr 1fr; margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--ink) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-d); }
  .gallery__actions .btn { justify-content: center; padding: 0 10px; font-size: .62rem; letter-spacing: .05em; white-space: normal; text-align: center; line-height: 1.3; }
  .gallery__actions .btn .arr { display: none; }
  .gallery__note { grid-column: 1 / -1; order: -1; }
}

/* ---------- cursor label (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 90; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--bone); color: var(--ink); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .45s var(--ease); }
  .cursor.on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; clip-path: none; }
  .cursor { display: none !important; }
}

/* ---------- theme toggle ---------- */
.theme-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; background: none; border: 1px solid var(--line-d); border-radius: 50%; cursor: pointer; color: var(--bone); transition: border-color .4s, transform .6s var(--ease); }
.theme-btn:hover { border-color: var(--bone); }
.theme-btn svg { width: 16px; height: 16px; transition: transform .8s var(--ease), opacity .4s; }
.theme-btn .i-sun { position: absolute; }
.theme-btn[data-mode="dark"] .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-btn[data-mode="light"] .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.theme-btn--lg { width: 52px; height: 52px; }
.menu__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.menu__row .lang { margin: 0 0 0 -8px; }
@media (max-width: 980px) { .nav__end > .theme-btn { display: none; } }
.footer__credit { color: var(--warm); }
.footer__credit a { color: var(--bone); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.footer__credit a:hover { background-size: 0 1px; background-position: 100% 100%; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease) !important; }

@media (max-width: 480px) { .hero__meta > :first-child { display: none; } .hero__meta { grid-template-columns: 1fr; } .hero__meta > :last-child { text-align: left; } }

/* ---------- seasonal collection ----------
   A second copy of the collection whose ground, accents and weather change with the
   chosen season. Weather is drawn on a sticky canvas behind the cards. */
.seasons { position: relative; isolation: isolate; transition: background-color 1s var(--ease); border-top: 1px solid var(--line-l); }
.seasons > .wrap { position: relative; z-index: 2; }
.season-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.season-fx canvas { position: sticky; top: 0; display: block; width: 100%; height: 100vh; height: 100lvh; transition: opacity .6s var(--ease); }
.season-fx.is-fading canvas { opacity: 0; }
.season-sky { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: 0; pointer-events: none; background: var(--sky); transition: opacity 1s; }
.seasons[data-season="autumn"] { --paper: #f2e5d0; --line-l: #dcc6a4; --muted: #7a5c40; --rock: #d9be98; --rock-2: #c6a174; --rust: #c0602a; --sky: radial-gradient(70% 100% at 85% 0%, rgba(214, 120, 40, .22), transparent 70%); }
.seasons[data-season="winter"] { --paper: #e3e9ee; --line-l: #c5d0da; --muted: #52667a; --rock: #c8d2dc; --rock-2: #aab9c8; --rust: #4f7599; --sky: radial-gradient(70% 100% at 85% 0%, rgba(120, 150, 185, .3), transparent 70%); }
.seasons[data-season="spring"] { --paper: #e7eedd; --line-l: #c8d5b6; --muted: #566b45; --rock: #c7d2b4; --rock-2: #aab995; --rust: #5b8c36; --sky: radial-gradient(70% 100% at 85% 0%, rgba(110, 140, 160, .25), transparent 70%); }
.seasons[data-season="summer"] { --paper: #fbefcf; --line-l: #ead39c; --muted: #7a602b; --rock: #e8d19a; --rock-2: #d9b86c; --rust: #cf850d; --sky: radial-gradient(60% 100% at 85% 0%, rgba(255, 190, 60, .38), transparent 70%); }
.seasons .card__media .cave__win { background: color-mix(in srgb, var(--paper) 80%, #000 6%); }

.season-side { display: grid; gap: 20px; justify-items: end; align-self: start; }
.season-side .sec-lead { justify-self: end; text-align: right; }
.season-switch { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 5px; border: 1px solid var(--line-l); background: color-mix(in srgb, var(--paper) 70%, #fff); }
.season-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: none; border: 0; cursor: pointer; color: var(--text); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; transition: background-color .5s var(--ease), color .5s var(--ease); }
.season-btn svg { width: 16px; height: 16px; flex: none; transition: transform .8s var(--ease); }
.season-btn:hover svg { transform: rotate(-12deg) scale(1.1); }
.season-btn[aria-pressed="true"] { background: var(--rust); color: #fff; }
@media (max-width: 860px) {
  .season-side, .season-side .sec-lead { justify-items: start; justify-self: start; text-align: left; }
  .season-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .season-btn { justify-content: center; }
}

/* ---------- theme overrides for the coloured sections ----------
   Collection, seasons and About follow the dark theme; Location gets a light variant. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .collection { --paper: #181715; --text: #ece7df; --muted: #a19888; --line-l: rgba(236, 231, 223, .14); --rock: #3a3631; --rock-2: #4d4741; }
  :root:not([data-theme="light"]) .card__media .cave__win { background: #24221f; }
  :root:not([data-theme="light"]) .about { --sand: #1e1c19; --text: #ece7df; --muted: #a19888; --rock: #3a3631; --rock-2: #4d4741; }
  :root:not([data-theme="light"]) .about__body { color: #cfc7bb; }
  :root:not([data-theme="light"]) .about__values, :root:not([data-theme="light"]) .about__values li { border-color: rgba(236, 231, 223, .16); }
  :root:not([data-theme="light"]) .about__photo .cave__win { background: #24221f; }
  :root:not([data-theme="light"]) .seasons[data-season="autumn"] { --paper: #22170f; --line-l: rgba(232, 170, 110, .2); --muted: #c49a74; --rock: #4a3120; --rock-2: #5e3f28; --rust: #d9782a; --sky: radial-gradient(70% 100% at 85% 0%, rgba(214, 120, 40, .22), transparent 70%); }
  :root:not([data-theme="light"]) .seasons[data-season="winter"] { --paper: #111820; --line-l: rgba(160, 190, 220, .18); --muted: #93a8bd; --rock: #2b3642; --rock-2: #3a4857; --rust: #6f9cc6; --sky: radial-gradient(70% 100% at 85% 0%, rgba(120, 160, 210, .22), transparent 70%); }
  :root:not([data-theme="light"]) .seasons[data-season="spring"] { --paper: #131b10; --line-l: rgba(160, 200, 120, .18); --muted: #9db585; --rock: #2c3a24; --rock-2: #3b4c30; --rust: #7fb04d; --sky: radial-gradient(70% 100% at 85% 0%, rgba(110, 150, 170, .2), transparent 70%); }
  :root:not([data-theme="light"]) .seasons[data-season="summer"] { --paper: #221b0c; --line-l: rgba(240, 200, 110, .2); --muted: #d0b37a; --rock: #4a3c1c; --rock-2: #5f4d24; --rust: #e7a126; --sky: radial-gradient(60% 100% at 85% 0%, rgba(255, 190, 60, .28), transparent 70%); }
  :root:not([data-theme="light"]) .season-switch { background: color-mix(in srgb, var(--paper) 80%, #fff 6%); }
}
:root[data-theme="dark"] .collection { --paper: #181715; --text: #ece7df; --muted: #a19888; --line-l: rgba(236, 231, 223, .14); --rock: #3a3631; --rock-2: #4d4741; }
:root[data-theme="dark"] .card__media .cave__win { background: #24221f; }
:root[data-theme="dark"] .about { --sand: #1e1c19; --text: #ece7df; --muted: #a19888; --rock: #3a3631; --rock-2: #4d4741; }
:root[data-theme="dark"] .about__body { color: #cfc7bb; }
:root[data-theme="dark"] .about__values, :root[data-theme="dark"] .about__values li { border-color: rgba(236, 231, 223, .16); }
:root[data-theme="dark"] .about__photo .cave__win { background: #24221f; }
:root[data-theme="dark"] .seasons[data-season="autumn"] { --paper: #22170f; --line-l: rgba(232, 170, 110, .2); --muted: #c49a74; --rock: #4a3120; --rock-2: #5e3f28; --rust: #d9782a; --sky: radial-gradient(70% 100% at 85% 0%, rgba(214, 120, 40, .22), transparent 70%); }
:root[data-theme="dark"] .seasons[data-season="winter"] { --paper: #111820; --line-l: rgba(160, 190, 220, .18); --muted: #93a8bd; --rock: #2b3642; --rock-2: #3a4857; --rust: #6f9cc6; --sky: radial-gradient(70% 100% at 85% 0%, rgba(120, 160, 210, .22), transparent 70%); }
:root[data-theme="dark"] .seasons[data-season="spring"] { --paper: #131b10; --line-l: rgba(160, 200, 120, .18); --muted: #9db585; --rock: #2c3a24; --rock-2: #3b4c30; --rust: #7fb04d; --sky: radial-gradient(70% 100% at 85% 0%, rgba(110, 150, 170, .2), transparent 70%); }
:root[data-theme="dark"] .seasons[data-season="summer"] { --paper: #221b0c; --line-l: rgba(240, 200, 110, .2); --muted: #d0b37a; --rock: #4a3c1c; --rock-2: #5f4d24; --rust: #e7a126; --sky: radial-gradient(60% 100% at 85% 0%, rgba(255, 190, 60, .28), transparent 70%); }
:root[data-theme="dark"] .season-switch { background: color-mix(in srgb, var(--paper) 80%, #fff 6%); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .location { --ink: #fff4e8; --bone: #2a150d; --warm: #8a4a26; --line-d: rgba(42, 21, 13, .18); --char-2: #efd3ba; --rust: #b4541f; color: var(--bone); background: radial-gradient(90% 70% at 88% 0%, rgba(240, 163, 94, .35), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(120, 150, 100, .22), transparent 65%), linear-gradient(160deg, #f6dcc3 0%, #efc9a7 55%, #e6b891 100%); --wipe: #f2d1b3; }
  :root:not([data-theme="dark"]) .location .sec-title { color: #2a150d; }
  :root:not([data-theme="dark"]) .location .coords__v { color: #7a3514; }
  :root:not([data-theme="dark"]) .location .btn--light { --bg: #2a150d; --fg: #fff4e8; --bd: #2a150d; --fill: #b4541f; }
  :root:not([data-theme="dark"]) .location .btn--light:hover { --fg: #fff; --bd: #b4541f; }
  :root:not([data-theme="dark"]) .location .chip { background: rgba(255, 244, 232, .85); color: #2a150d; border-color: rgba(42, 21, 13, .2); }
  :root:not([data-theme="dark"]) .location .chip:hover { background: #2a150d; color: #fff4e8; }
  :root:not([data-theme="dark"]) .map { box-shadow: 0 30px 80px -40px rgba(90, 40, 10, .45); outline-color: rgba(42, 21, 13, .15); }
}
:root[data-theme="light"] .location { --ink: #fff4e8; --bone: #2a150d; --warm: #8a4a26; --line-d: rgba(42, 21, 13, .18); --char-2: #efd3ba; --rust: #b4541f; color: var(--bone); background: radial-gradient(90% 70% at 88% 0%, rgba(240, 163, 94, .35), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(120, 150, 100, .22), transparent 65%), linear-gradient(160deg, #f6dcc3 0%, #efc9a7 55%, #e6b891 100%); --wipe: #f2d1b3; }
:root[data-theme="light"] .location .sec-title { color: #2a150d; }
:root[data-theme="light"] .location .coords__v { color: #7a3514; }
:root[data-theme="light"] .location .btn--light { --bg: #2a150d; --fg: #fff4e8; --bd: #2a150d; --fill: #b4541f; }
:root[data-theme="light"] .location .btn--light:hover { --fg: #fff; --bd: #b4541f; }
:root[data-theme="light"] .location .chip { background: rgba(255, 244, 232, .85); color: #2a150d; border-color: rgba(42, 21, 13, .2); }
:root[data-theme="light"] .location .chip:hover { background: #2a150d; color: #fff4e8; }
:root[data-theme="light"] .map { box-shadow: 0 30px 80px -40px rgba(90, 40, 10, .45); outline-color: rgba(42, 21, 13, .15); }

/* ---------- stock badges, sold counter, sizes, social ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 7px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; color: #fff; background: #3c3833; }
.badge svg { width: 13px; height: 13px; flex: none; }
.badge--instock { background: #2f6b45; }
.badge--hit { background: #c2461f; }
.badge--soon { background: #35618c; }
.badge--soldout { background: #57524b; }
.card__badge { position: absolute; top: 4%; left: 6%; z-index: 5; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.card.is-soldout .card__media img { filter: grayscale(.85) brightness(.92); }
.sold { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; color: var(--muted); }
.sold svg { width: 14px; height: 14px; flex: none; }
.gallery__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.gallery__stat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gallery__stat .sold { color: var(--warm); }
.sizes { display: grid; gap: 16px; }
.sizes__part { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.sizes__k { padding: 0; color: var(--warm); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; }
.sizes__v { color: var(--bone); }
.sizes__list { display: flex; flex-wrap: wrap; gap: 6px; }
.size { min-width: 48px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid var(--line-d); color: var(--bone); cursor: pointer; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s; }
.size:hover:not(:disabled) { border-color: var(--bone); }
.size[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.size:disabled { cursor: not-allowed; color: color-mix(in srgb, var(--bone) 40%, transparent); }
/* sold-out size: grey diagonal line across the box */
.size.is-gone { position: relative; border-color: color-mix(in srgb, var(--bone) 18%, transparent); background: linear-gradient(to top right, transparent calc(50% - .8px), #8a847b calc(50% - .8px), #8a847b calc(50% + .8px), transparent calc(50% + .8px)); }
.social { display: grid; gap: 8px; }
.social__a { display: grid; grid-template-columns: 20px auto 1fr; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.social__a svg { width: 18px; height: 18px; }
.social__h { color: var(--warm); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; }
.social__a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 4px; }
.contact__social { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 18px; }
.contact__social .social { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.contact__social .social__a { min-height: 76px; padding: 0 22px; border: 1px solid var(--line-d); grid-template-columns: 24px auto 1fr; transition: border-color .4s, background-color .4s; }
.contact__social .social__a svg { width: 22px; height: 22px; }
.contact__social .social__a span:nth-child(2) { font-family: var(--f-display); font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.3rem); text-transform: uppercase; }
.contact__social .social__h { justify-self: end; }
.contact__social .social__a:hover { border-color: var(--bone); background: color-mix(in srgb, var(--bone) 6%, transparent); }
.menu__foot .social { grid-template-columns: 1fr 1fr; margin-top: 6px; }
.menu__foot .social__a { grid-template-columns: 20px 1fr; }
.menu__foot .social__h { display: none; }
.footer__col .social__a { opacity: .9; }
@media (max-width: 760px) {
  .contact__social .social { grid-template-columns: 1fr; }
  .card__badge { font-size: .54rem; padding: 4px 7px 4px 5px; }
  .card__badge svg { width: 11px; height: 11px; }
}
