/* Marfani Frame Maker — components (v2). */

/* ================================================================== buttons */
.btn {
  --bg: var(--surface-2); --fg: var(--text);
  position: relative; display: inline-flex; align-items: center; gap: .65rem;
  padding: .95em 1.6em; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--t-sm);
  letter-spacing: .02em; text-decoration: none; overflow: hidden; isolation: isolate;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur), border-color var(--dur-fast);
  border: 1px solid var(--line-2);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }

.btn--wa { --bg: var(--wa); --fg: var(--wa-ink); border-color: transparent; box-shadow: 0 8px 30px -10px rgba(37,211,102,.7); }
.btn--wa:hover { --bg: var(--wa-hover); box-shadow: 0 12px 40px -10px rgba(37,211,102,.9); }
.btn--gold {
  --bg: transparent; --fg: var(--gold-lite); border-color: rgba(217,174,60,.55);
}
.btn--gold:hover { --bg: rgba(217,174,60,.12); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.btn--ghost { --bg: transparent; }
.btn--ghost:hover { --bg: var(--surface); }
.btn--sm { padding: .7em 1.15em; font-size: var(--t-xs); }
.btn--lg { padding: 1.1em 2em; font-size: var(--t-body); }

.tel {
  font-family: var(--font-mono); font-weight: 600; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(217,174,60,.5); padding-bottom: 2px; letter-spacing: -.01em;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.tel:hover { border-color: var(--gold); color: var(--gold-lite); }

/* ================================================================== header */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: var(--s-5);
  padding: 1.1rem clamp(1.25rem, 3vw, 2.5rem);
  transition: padding var(--dur) var(--ease-out), background var(--dur), border-color var(--dur), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  padding-block: .7rem;
  background: rgba(6, 9, 26, .72); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand__mark { width: 2.7rem; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.brand__word { height: 2.35rem; width: auto; color: var(--text); }
.brand__word .wm-2 { fill: var(--gold); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); margin-inline-start: auto; }
.site-nav a {
  position: relative; font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--text-dim); padding: .4rem 0; transition: color var(--dur-fast);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-mitre);
}
.site-nav a:hover, .site-nav a.is-current { color: var(--text); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: grid; place-items: center; gap: 4px; width: 2.6rem; height: 2.6rem;
    margin-inline-start: auto; border: 1px solid var(--line-2); border-radius: var(--radius);
  }
  .nav-toggle span { display: block; width: 1.1rem; height: 1.5px; background: var(--text); transition: transform var(--dur) var(--ease-mitre), opacity var(--dur-fast); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .head-actions .btn span { display: none; }
  .head-actions .btn { padding: .75em; }
  .brand__word { height: 2rem; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: rgba(6,9,26,.96);
  backdrop-filter: blur(20px); padding: 6rem var(--gutter) var(--gutter);
  display: grid; align-content: start; gap: .25rem;
  clip-path: circle(0 at calc(100% - 3rem) 2rem); pointer-events: none;
  transition: clip-path 650ms var(--ease-mitre);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 2rem); pointer-events: auto; }
.mobile-menu a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--t-lg); font-weight: 700; font-stretch: 115%; text-transform: uppercase; letter-spacing: -.01em; }
.mobile-menu__foot { margin-top: 2rem; display: grid; gap: .75rem; color: var(--text-dim); }

/* ==================================================================== hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: 7rem 3.5rem; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding-top: 6.5rem; } }
.hero__title { font-size: var(--t-hero); margin-top: 1.25rem; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .word > span { display: inline-block; }
.hero__lede { color: var(--text-dim); font-size: var(--t-md); max-width: 46ch; margin-top: 1.5rem; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-dim); font-size: var(--t-sm); }
.hero__meta dt { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-mute); }
.hero__meta dd { margin: .2rem 0 0; }

/* The stack of frames on the right: three depths, moved by the pointer. */
.hero__stage { position: relative; min-height: min(78vh, 46rem); perspective: 1400px; }
.hero__stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero__stack .frame { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.hero__stack .frame--a { width: 58%; z-index: 3; transform: translate(-50%, -50%); }
.hero__stack .frame--b { width: 38%; z-index: 2; transform: translate(-118%, -78%) rotate(-7deg); opacity: .9; }
.hero__stack .frame--c { width: 34%; z-index: 1; transform: translate(22%, -8%) rotate(6deg); opacity: .85; }
@media (max-width: 900px) {
  .hero__stage { min-height: 24rem; }
  .hero__stack .frame--a { width: 66%; }
  .hero__stack .frame--b { transform: translate(-128%, -74%) rotate(-7deg); }
  .hero__stack .frame--c { transform: translate(30%, -10%) rotate(6deg); }
}
.hero .glow--gold { width: 60vmax; height: 60vmax; right: -20vmax; top: -10vmax; }
.hero .glow--blue { width: 50vmax; height: 50vmax; left: -25vmax; bottom: -20vmax; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .5rem; color: var(--text-mute); font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .3em; text-transform: uppercase;
}
.scroll-cue::after { content: ''; width: 1px; height: 3rem; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* =================================================================== frame
   Four rails mitred at 45°, a mount with a real bevel, glass, and depth. The
   whole thing is preserve-3d so tilting reveals thickness. */
.frame { container-type: inline-size; display: block; transform-style: preserve-3d; }
.frame__stack {
  position: relative; aspect-ratio: var(--frame-aspect, .75);
  --rail: calc(var(--rail-width, 1.5) * 2.2cqi + 1.2cqi);
  transform-style: preserve-3d; box-shadow: var(--shadow-2);
}
.frame__depth {
  position: absolute; inset: 0; background: #2a1d08;
  transform: translateZ(-14px) scale(1.01); border-radius: 1px;
  box-shadow: 0 40px 60px -20px rgba(0,0,0,.8);
}
.frame__rail { position: absolute; transform: translateZ(0); }
.frame__rail--top    { top: 0; left: 0; right: 0; height: var(--rail); clip-path: polygon(0 0, 100% 0, calc(100% - var(--rail)) 100%, var(--rail) 100%); }
.frame__rail--bottom { bottom: 0; left: 0; right: 0; height: var(--rail); clip-path: polygon(var(--rail) 0, calc(100% - var(--rail)) 0, 100% 100%, 0 100%); }
.frame__rail--left   { left: 0; top: 0; bottom: 0; width: var(--rail); clip-path: polygon(0 0, 100% var(--rail), 100% calc(100% - var(--rail)), 0 100%); }
.frame__rail--right  { right: 0; top: 0; bottom: 0; width: var(--rail); clip-path: polygon(100% 0, 100% 100%, 0 calc(100% - var(--rail)), 0 var(--rail)); }
.frame__mount {
  position: absolute; inset: var(--rail); background: var(--mount-color, #FBF8F1);
  display: grid; padding: 7.5%; transform: translateZ(-6px);
}
.frame__mount[data-mount='none'] { padding: 0; background: transparent; }
.frame__window {
  position: relative; overflow: hidden; background: #0d1530;
  border-style: solid; border-width: .85cqi;
  border-top-color: color-mix(in srgb, var(--mount-bevel, #fff) 92%, #fff 40%);
  border-left-color: color-mix(in srgb, var(--mount-bevel, #fff) 88%, #fff 22%);
  border-right-color: color-mix(in srgb, var(--mount-bevel, #fff) 82%, #000 8%);
  border-bottom-color: color-mix(in srgb, var(--mount-bevel, #fff) 70%, #000 16%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.35);
}
.frame__mount[data-mount='none'] .frame__window { border-width: 0; }
.frame__rebate { position: absolute; inset: var(--rail); pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), inset 0 4px 10px -2px rgba(0,0,0,.5); }
.frame__glass {
  position: absolute; inset: var(--rail); pointer-events: none; transform: translateZ(6px);
  background: linear-gradient(112deg, rgba(255,255,255,.16) 0 12%, transparent 26% 60%, rgba(255,255,255,.07) 74% 100%);
  mix-blend-mode: screen; overflow: hidden;
}
.frame__glass::after {
  content: ''; position: absolute; inset: -30%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-70%); opacity: 0;
}
.frame.is-sheen .frame__glass::after, .frame:hover .frame__glass::after { animation: sheen 1.4s var(--ease-out) 1; }
@keyframes sheen { 0% { transform: translateX(-70%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(70%); opacity: 0; } }

/* What sits in the opening until the shop drops in a photograph. */
.frame__slot {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .4rem; text-align: center; padding: 1rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(217,174,60,.16), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #17224d, #0a1230);
  color: rgba(243,239,228,.8);
}
.frame__slot .s-title { font-family: var(--font-serif); font-style: italic; font-size: clamp(1rem, 4.5cqi, 1.6rem); color: var(--gold-lite); }
.frame__slot .s-sub { font-family: var(--font-mono); font-size: clamp(.5rem, 2.2cqi, .7rem); letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); }
.frame__slot--photo, .frame__slot--art { background: none; padding: 0; }
.frame__slot--art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame__slot--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.frame--tilt { will-change: transform; transition: transform 600ms var(--ease-out); }
.frame-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: .9rem; font-size: var(--t-xs); color: var(--text-dim); }
.frame-caption .mono { color: var(--gold); }

/* ================================================================= marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: rgba(255,255,255,.02); }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; font-weight: 700; font-stretch: 115%; text-transform: uppercase; letter-spacing: .04em; font-size: var(--t-sm); color: var(--text-dim); }
.marquee__item::after { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ============================================================== categories */
.cat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }
.cat {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 1rem; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate; transition: transform var(--dur) var(--ease-out), border-color var(--dur), background var(--dur);
}
.cat::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(217,174,60,.22), transparent 55%);
  transition: opacity var(--dur);
}
.cat:hover { transform: translateY(-6px); border-color: rgba(217,174,60,.45); background: var(--surface-2); }
.cat:hover::before { opacity: 1; }
.cat__visual { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; perspective: 900px; }
.cat__visual .frame { width: 52%; transition: transform 700ms var(--ease-out); }
.cat:hover .cat__visual .frame { transform: rotateY(-14deg) rotateX(6deg) translateZ(20px); }
.cat__body { display: grid; gap: .5rem; align-content: start; }
.cat__title { font-size: var(--t-md); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.cat__blurb { color: var(--text-dim); font-size: var(--t-sm); }
.cat__items { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-top: .4rem; }
.cat__items li { font-size: var(--t-xs); padding: .3em .7em; border-radius: var(--radius-pill); border: 1px solid var(--line-2); color: var(--text-dim); }
.cat__peak { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--gold); letter-spacing: .06em; margin-top: .4rem; }

/* ================================================================ showcase
   The gallery: a pinned, horizontally-scrubbed walk past hung frames. The
   heading owns the top band, so nothing ever sits on top of it; the frame in
   the centre is lit and its neighbours step back. */
.showcase { position: relative; overflow: hidden; background: var(--bg); z-index: 2; }
.showcase__pin { position: relative; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 1rem; padding-block: 5.25rem 2rem; }
.showcase__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-inline: var(--gutter); pointer-events: none; }
.showcase__head .section-head { margin: 0; max-width: 46rem; }
.showcase__head .section-head__title { font-size: var(--t-lg); }
.showcase__head .section-head__lede { font-size: var(--t-sm); }
.showcase__count { font-family: var(--font-mono); color: var(--text-mute); font-size: var(--t-xs); letter-spacing: .2em; flex: none; }
.showcase__stage { position: relative; min-height: 0; display: grid; align-items: center; }
.showcase__spot {
  position: absolute; left: var(--focal, 50%); top: 50%; transition: left 300ms var(--ease-out); width: 46vmin; height: 46vmin; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217,174,60,.22), rgba(217,174,60,0) 65%); filter: blur(30px); pointer-events: none;
}
/* Starts at the left gutter so the wall is already hung when the section arrives; ends with the last frame centred. */
.showcase__track { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 7rem); padding-inline: var(--gutter); will-change: transform; height: 100%; }
.showcase__item { flex: none; width: clamp(13rem, 22vw, 20rem); perspective: 1200px; transition: opacity 400ms var(--ease-out); }
.showcase__item .frame { transform-style: preserve-3d; width: min(100%, calc(42svh * var(--frame-aspect, .75))); margin-inline: auto; }
.showcase__item figcaption { margin-top: 1rem; display: grid; gap: .2rem; text-align: center; }
.showcase__name { font-weight: 800; font-stretch: 112%; font-size: var(--t-md); }
.showcase__spec { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--gold); letter-spacing: .04em; }
.showcase__progress { margin-inline: var(--gutter); height: 1px; background: var(--line-2); }
.showcase__progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.showcase__track:focus-visible { outline-offset: -2px; }
@media (max-width: 900px) {
  .showcase__pin { height: auto; display: block; padding-block: var(--section-y) 3rem; }
  .showcase__head { display: block; margin-bottom: 1.5rem; }
  .showcase__head .section-head__title { font-size: var(--t-xl); }
  .showcase__stage { display: block; }
  .showcase__spot { display: none; }
  .showcase__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem calc(50vw - 36vw) 1rem; gap: 2rem; -webkit-overflow-scrolling: touch; height: auto; }
  .showcase__item { scroll-snap-align: center; width: 72vw; }
  .showcase__item .frame { width: min(100%, calc(60svh * var(--frame-aspect, .75))); }
  .showcase__progress { display: none; }
}

/* ================================================================== studio */
.studio { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025) 30%, transparent); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1000px) { .studio__grid { grid-template-columns: 1fr; } }
.studio__stage {
  position: sticky; top: 6rem; display: grid; place-items: center; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 30rem; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(217,174,60,.16), transparent 60%),
    radial-gradient(90% 80% at 50% 100%, rgba(30,50,120,.5), transparent 60%),
    rgba(255,255,255,.02);
  perspective: 1400px; overflow: hidden;
}
@media (max-width: 1000px) { .studio__stage { position: static; min-height: 22rem; } }
.studio__preview { width: min(100%, 19rem); display: grid; place-items: center; transform-style: preserve-3d; }
.studio__preview .frame { width: 100%; }
.studio__spec { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-dim); text-align: center; letter-spacing: -.01em; }
.studio__controls { display: grid; gap: 1.75rem; }
.field { display: grid; gap: .75rem; border: 0; padding: 0; margin: 0; }
.field > legend { padding: 0; float: left; width: 100%; margin-bottom: .75rem; }
.field > legend + * { clear: both; }
.field__label { display: flex; align-items: baseline; gap: .75rem; }
.field__label .f-en { font-weight: 800; font-stretch: 112%; font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .04em; }
.field__label .f-hint { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--text-mute); letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55em .95em; border-radius: var(--radius-pill);
  font-size: var(--t-xs); font-weight: 600; color: var(--text-dim); background: var(--surface); border: 1px solid var(--line-2);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.chip:hover { background: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.chip[aria-pressed='true'] { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 700; }
.chip__swatch { width: 1rem; height: 1rem; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }
.chip__corner { width: 1.4rem; height: 1.4rem; flex: none; }
.studio__send { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.studio__note { font-size: var(--t-xs); color: var(--text-mute); }

/* ===================================================================== wall */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.moulding-wall { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.moulding { display: grid; gap: .6rem; padding: 1rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), border-color var(--dur), background var(--dur); }
.moulding:hover { transform: translateY(-6px) rotate(-1deg); border-color: rgba(217,174,60,.5); background: var(--surface-2); }
.moulding__corner { aspect-ratio: 1; display: grid; place-items: center; padding: .6rem; background: radial-gradient(80% 80% at 30% 20%, rgba(255,255,255,.08), transparent 60%), rgba(0,0,0,.25); border-radius: var(--radius); }
.moulding__corner svg { transition: transform var(--dur) var(--ease-out); }
.moulding:hover .moulding__corner svg { transform: scale(1.06) rotate(-2deg); }
.moulding__name { font-weight: 700; font-size: var(--t-sm); line-height: 1.3; }
.moulding__spec { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--gold); letter-spacing: .06em; }

/* ==================================================================== steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 1.6rem; height: 1px; background: var(--line); }
.steps__line { position: absolute; left: 0; top: 1.6rem; height: 1px; width: 0; background: var(--gilt); background-size: 200% 100%; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before, .steps__line { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; gap: .75rem; align-content: start; padding-top: 3.4rem; position: relative; }
.step__n {
  position: absolute; top: 0; left: 0; width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--bg); border: 1px solid rgba(217,174,60,.55); color: var(--gold-lite);
  font-family: var(--font-mono); font-weight: 600; font-size: var(--t-xs);
}
.step__title { font-weight: 800; font-stretch: 112%; font-size: var(--t-md); }
.step__body { color: var(--text-dim); font-size: var(--t-sm); }

/* ===================================================================== bulk */
.bulk { background: linear-gradient(180deg, rgba(217,174,60,.05), transparent); }
.bulk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .bulk__grid { grid-template-columns: 1fr; } }
.bulk__list { list-style: none; padding: 0; display: grid; gap: .75rem; margin-top: 1.5rem; }
.bulk__list li { display: flex; gap: .9rem; align-items: baseline; color: var(--text-dim); }
.bulk__list li::before { content: ''; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-1px); }
.bulk__visual { perspective: 1200px; display: grid; place-items: center; }
.bulk__visual .frame { width: min(100%, 26rem); }

/* ================================================================== contact */
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__card { display: grid; gap: .8rem; align-content: start; padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.contact__big { font-size: var(--t-lg); font-weight: 800; font-stretch: 112%; line-height: 1.15; letter-spacing: -.01em; }
.contact__phone { display: grid; gap: .2rem; }
.contact__phone .tel { font-size: 1.45rem; }
.contact__hours { padding: .9rem 1rem; border-radius: var(--radius); background: rgba(217,174,60,.08); border: 1px solid rgba(217,174,60,.3); color: var(--text); font-size: var(--t-sm); line-height: 1.7; }
.contact__hours .label { color: var(--gold); }
.map {
  position: relative; margin-top: 1rem; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  /* the grid stays behind the embed, so the block reads as a map even before the tiles arrive */
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(60% 80% at 50% 50%, rgba(30,50,120,.5), transparent 70%), #08102c;
}
.map__static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__leaflet { position: absolute; inset: 0; background: #08102c; opacity: 0; transition: opacity 500ms var(--ease-out); }
.map.is-live .map__leaflet { opacity: 1; }
.map.is-live .map__static, .map.is-live .map__pin { display: none; }
.map .leaflet-container { font-family: var(--font-sans); background: #08102c; }
.map .leaflet-tile-pane, .map__static { filter: invert(1) hue-rotate(195deg) brightness(.72) contrast(.95) saturate(.55); }
.map__leaflet::after { content: ''; position: absolute; inset: 0; z-index: 400; pointer-events: none; background: radial-gradient(70% 70% at 50% 50%, rgba(11,26,66,0) 40%, rgba(11,26,66,.55) 100%); }
.map .leaflet-control-zoom { border: 1px solid rgba(217,174,60,.4); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.map .leaflet-control-zoom a { background: rgba(6,9,26,.9); color: var(--gold-lite); border-bottom-color: rgba(217,174,60,.25); width: 34px; height: 34px; line-height: 34px; font-size: 18px; }
.map .leaflet-control-zoom a:hover { background: rgba(217,174,60,.18); color: #fff; }
.map .leaflet-control-attribution { background: rgba(6,9,26,.78); color: var(--text-mute); font-family: var(--font-mono); font-size: 10px; padding: .25rem .5rem; }
.map .leaflet-control-attribution a { color: var(--text-dim); }
.map-marker { position: relative; }
.map-marker__dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.map-marker__ring { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(217,174,60,.35); animation: ping 2.4s var(--ease-out) infinite; }
.map .leaflet-tooltip.map-tip { background: rgba(6,9,26,.92); color: var(--gold-lite); border: 1px solid rgba(217,174,60,.5); border-radius: var(--radius); font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: .3rem .6rem; box-shadow: var(--shadow-1); }
.map .leaflet-tooltip.map-tip::before { border-top-color: rgba(217,174,60,.5); }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.map__pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 8px rgba(217,174,60,.18), 0 0 0 20px rgba(217,174,60,.08); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217,174,60,.35); } 100% { box-shadow: 0 0 0 28px rgba(217,174,60,0); } }
.map__card {
  position: absolute; left: 1rem; bottom: 1rem; max-width: min(22rem, calc(100% - 2rem)); display: grid; gap: .35rem;
  padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(6,9,26,.88); backdrop-filter: blur(10px); border: 1px solid rgba(217,174,60,.35); box-shadow: var(--shadow-1);
}
.map__addr { font-weight: 800; font-stretch: 112%; font-size: var(--t-md); line-height: 1.2; }
.map__geo { font-size: var(--t-micro); color: var(--text-mute); letter-spacing: .04em; }
.map__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
@media (max-width: 720px) {
  .map { aspect-ratio: auto; min-height: 30rem; }
  .map__card { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
}
.seasons { display: grid; gap: 1px; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.season { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 1rem; padding: .9rem 1.25rem; background: var(--bg-2); align-items: baseline; }
.season__date { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--gold); }
.season__what { font-size: var(--t-sm); color: var(--text-dim); }

/* =================================================================== footer */
.site-foot { position: relative; padding-block: 3rem 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot__lockup { width: min(100%, 20rem); height: auto; }
.site-foot h3 { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-mute); margin-bottom: .8rem; }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: .5rem; color: var(--text-dim); font-size: var(--t-sm); }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--gold-lite); }
.site-foot__fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: var(--t-xs); color: var(--text-mute); }
@media (max-width: 960px) { .site-foot { padding-bottom: 6rem; } }

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-nav); padding: .9em 1.3em;
}
@media (min-width: 981px) { .wa-float { display: none; } }

/* ============================================================ studio v3 */
.field__label .f-step { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--gold); border: 1px solid rgba(217,174,60,.5); border-radius: 50%; width: 1.7rem; height: 1.7rem; display: inline-grid; place-items: center; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: .5rem; }
.pick { display: grid; gap: .35rem; padding: .35rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); color: var(--text-dim); font-size: .68rem; font-weight: 600; text-align: center; transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast); }
.pick img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #0d1530; }
.pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick:hover { border-color: rgba(217,174,60,.6); transform: translateY(-2px); background: var(--surface-2); color: var(--text); }
.pick[aria-pressed='true'] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); color: var(--gold-lite); }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .75rem; cursor: pointer; }
.upload:focus-within .btn { outline: 2px solid var(--gold); outline-offset: 3px; }
.upload__name { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-dim); word-break: break-all; }
.btn--final { --bg: var(--gold); --fg: var(--bg-2); border-color: transparent; box-shadow: 0 8px 30px -10px rgba(217,174,60,.7); }
.btn--final:hover { --bg: var(--gold-lite); }
.btn--final[data-busy]::before { content: ''; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio__send .field__label { margin-bottom: .25rem; }
.final { border: 0; padding: 0; background: transparent; max-width: min(96vw, 64rem); width: 100%; }
.final::backdrop { background: rgba(3,5,14,.82); backdrop-filter: blur(10px); }
.final__inner { position: relative; background: var(--bg-2); border: 1px solid rgba(217,174,60,.35); border-radius: var(--radius-lg); padding: 1.25rem; display: grid; gap: 1rem; justify-items: center; color: var(--text); }
.final__image { max-height: 70vh; width: auto; max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.final__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.final__close { position: absolute; top: .6rem; right: .8rem; font-size: 1.6rem; line-height: 1; color: var(--text-dim); width: 2.2rem; height: 2.2rem; border-radius: 50%; }
.final__close:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 720px) { .final__inner { padding: 1rem; } .final__image { max-height: 56vh; } }

.credits { margin-top: 1.25rem; font-size: var(--t-xs); color: var(--text-mute); }
.credits summary { cursor: pointer; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-size: var(--t-micro); }
.credits ul { list-style: none; padding: 0; margin-top: .6rem; display: grid; gap: .3rem; }
.credits a { color: var(--text-dim); }

/* ====================================================================== faq */
.faq__about { max-width: var(--measure); color: var(--text-dim); font-size: var(--t-md); line-height: 1.6; margin-bottom: 2rem; }
.faq__list { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--dur-fast), background var(--dur-fast); }
.faq__item[open] { border-color: rgba(217,174,60,.45); background: var(--surface-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; font-size: var(--t-md); font-stretch: 108%; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(217,174,60,.55); position: relative; transition: transform var(--dur) var(--ease-mitre), background var(--dur-fast); }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--gold); transform: translate(-50%, -50%); }
.faq__item summary i::before { width: .7rem; height: 1.5px; }
.faq__item summary i::after { width: 1.5px; height: .7rem; }
.faq__item[open] summary i { transform: rotate(45deg); background: rgba(217,174,60,.15); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: var(--text-dim); line-height: 1.6; }
.faq__answer p { max-width: 82ch; }
.faq__item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: var(--radius-lg); }
