/* =========================================================
   Alterations by Miriam · Landing page
   World: a couture atelier at night, stitched together by one
   gold thread. Matte black ground, gold foil, lamplit photos.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
@property --sew {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  /* Atelier ground */
  --stock-0: #070707;
  --stock-1: #0c0c0c;          /* logo ground */
  --stock-2: #11100e;          /* raised panels */

  /* Gold */
  --gold-100: #fae397;
  --gold-300: #e6c77c;
  --gold-500: #c9a052;
  --gold-700: #9a7230;
  --gold-900: #4a3618;
  --foil: linear-gradient(100deg, #a97c34 0%, #c9a052 18%, #f6dd92 38%, #fff3c8 46%, #e2c071 56%, #b08638 76%, #e6c77c 100%);
  --foil-flat: linear-gradient(180deg, #f2d688 0%, #d8b264 55%, #b88c3e 100%);

  /* Reading ink */
  --ivory: #efe6d2;
  --ivory-2: #bdb19a;          /* 8.9:1 on stock-0 */
  --ivory-3: #9a8f79;          /* fine print, 6:1 on stock-0 */
  --on-gold: #1a1206;
  --ink-tick: rgba(26, 18, 6, 0.82);

  --rule: rgba(201, 160, 82, 0.3);
  --rule-strong: rgba(226, 192, 113, 0.6);
  --tint: rgba(201, 160, 82, 0.08);

  /* Lamplit photo grade: blooms to full colour on hover */
  --grade: saturate(0.5) sepia(0.22) contrast(1.06) brightness(0.8);
  --grade-on: saturate(1) sepia(0) contrast(1.02) brightness(0.96);

  /* Type */
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --f-text: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(104px, 13vw, 184px);
  --tape-h: 8px;
  --header-h: 72px;
  --max: 1320px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-sew: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--tape-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gold-700) var(--stock-0);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--stock-0);
  color: var(--ivory);
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold-300);
  overflow-x: hidden;
}

/* Fine wool grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold-500); color: var(--on-gold); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--stock-0); }
::-webkit-scrollbar-thumb { background: var(--gold-900); border-radius: 10px; border: 2px solid var(--stock-0); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-700); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
figure, blockquote { margin: 0; }

:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 14px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold-300);
  color: var(--on-gold);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

main, .site-footer { position: relative; z-index: 1; }

/* language switch: a brief blur bridges old and new text into one change */
main, .site-footer, .site-nav { transition: opacity 150ms ease, filter 150ms ease; }
.is-switching-lang :is(main, .site-footer, .site-nav) { opacity: 0.55; filter: blur(2px); }
main { overflow-x: clip; }

/* ---------- 3. Type roles ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.display__line { display: block; }

.h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--ivory);
  text-wrap: balance;
}

.h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--gold-100);
}

.lede {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 300;
  color: var(--ivory);
  max-width: 40ch;
  text-wrap: pretty;
}

.field-label {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* Foil ink: the brand manual asks for gold "con degradado o foil" */
.foil {
  background: var(--foil);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link {
  color: var(--gold-100);
  text-decoration: underline;
  text-decoration-color: var(--gold-700);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 200ms ease;
}
.link:hover { text-decoration-color: var(--gold-100); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- 4. Measuring-tape progress ---------- */
.tape-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--tape-h);
  background: #15130f;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
/* the tape slides out from the left as you read (transform set from JS, GPU only) */
.tape-progress__fill {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px 64px) 0 0 / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px 8px) 0 0 / 100% 3px no-repeat,
    var(--foil-flat);
  transform: translateX(-100%);
  will-change: transform;
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-position 700ms var(--ease-out), box-shadow 250ms ease, background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }

.btn--foil {
  color: var(--on-gold);
  background: var(--foil);
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 246, 214, 0.6);
}

/* Scissors cut a dashed line across the button */
.cut {
  position: absolute;
  left: 22px; right: 22px;
  bottom: 8px;
  height: 12px;
  pointer-events: none;
}
.cut__line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(26, 18, 6, 0.55) 0 4px, transparent 4px 8px);
  clip-path: inset(0 0 0 0);
  transition: clip-path 250ms var(--ease-out);
}
.scissors {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.blade { transform-box: view-box; transform-origin: 11px 12px; }
/* the scissors ride on a full-width track that slides with transform (GPU), never `left` */
.cut__track {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  transition: transform 0s 250ms;
}
.cut .scissors {
  position: absolute;
  top: 50%; right: -8px;
  width: 15px; height: 15px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease;
}

@keyframes snip-a { from { transform: rotate(-18deg); } to { transform: rotate(-2deg); } }
@keyframes snip-b { from { transform: rotate(18deg); } to { transform: rotate(2deg); } }

@media (hover: hover) and (pointer: fine) {
  .btn--foil:hover { background-position: 100% 50%; }
  .btn--cut:hover .cut__track { transform: translateX(0); transition: transform 600ms var(--ease-sew); }
  .btn--cut:hover .cut .scissors { opacity: 1; transition: opacity 120ms ease; }
  .btn--cut:hover .cut__line { clip-path: inset(0 0 0 100%); transition: clip-path 600ms var(--ease-sew); }
  /* four snips = one crossing; the blades stop when the scissors arrive */
  .btn--cut:hover .blade--a { animation: snip-a 150ms ease-in-out 4 alternate; }
  .btn--cut:hover .blade--b { animation: snip-b 150ms ease-in-out 4 alternate; }
}
.btn--cut:focus-visible .cut__track { transform: translateX(0); transition: transform 600ms var(--ease-sew); }
.btn--cut:focus-visible .cut .scissors { opacity: 1; }
.btn--cut:focus-visible .cut__line { clip-path: inset(0 0 0 100%); transition: clip-path 600ms var(--ease-sew); }

/* Stitched outline: the stitches are sewn in from left to right on hover */
.btn--stitch {
  color: var(--gold-100);
  background: rgba(7, 7, 7, 0.4);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.btn--stitch::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1.5px dashed var(--gold-300);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 300ms var(--ease-out);
  pointer-events: none;
}
.btn--stitch:focus-visible::before { clip-path: inset(0 0 0 0); transition: clip-path 450ms var(--ease-sew); }
@media (hover: hover) and (pointer: fine) {
  .btn--stitch:hover::before { clip-path: inset(0 0 0 0); transition: clip-path 450ms var(--ease-sew); }
  .btn--stitch:hover { background-color: rgba(201, 160, 82, 0.1); }
}

/* "Ask about this": a stitched underline that sews itself on hover */
.ask {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-100);
  transition: transform 160ms var(--ease-out);
}
.ask:active { transform: scale(0.97); }
.ask::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 8px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-300) 0 5px, transparent 5px 9px);
  clip-path: inset(0 62% 0 0);
  transition: clip-path 300ms var(--ease-out);
}
.ask__arrow {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-out);
}
.ask:focus-visible::after { clip-path: inset(0 0 0 0); transition: clip-path 450ms var(--ease-sew); }
.ask:focus-visible .ask__arrow { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
  .ask:hover::after { clip-path: inset(0 0 0 0); transition: clip-path 450ms var(--ease-sew); }
  .ask:hover .ask__arrow { transform: translateX(4px); }
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  top: var(--tape-h);
  left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.site-header[data-scrolled="true"] {
  background-color: rgba(7, 7, 7, 0.84);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header__inner {
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.wordmark__caps { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.2em; color: var(--gold-100); }
.wordmark__script { font-family: var(--f-script); font-size: 1.45rem; line-height: 1; color: var(--gold-300); }

.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  transition: color 200ms ease;
}
/* nav underline is a running stitch */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-300) 0 4px, transparent 4px 7px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 400ms var(--ease-sew);
}
.site-nav a:focus-visible { color: var(--gold-100); }
.site-nav a:focus-visible::after { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--gold-100); }
  .site-nav a:hover::after { clip-path: inset(0 0 0 0); }
}

.site-header__tools { display: flex; align-items: center; gap: 12px; }

.lang {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.4);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.lang__opt {
  position: relative;
  z-index: 1;
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ivory-2);
  cursor: pointer;
  transition: color 250ms ease;
}
.lang__opt[aria-pressed="true"] { color: var(--on-gold); }
.lang__thumb {
  position: absolute;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--foil-flat);
  transition: transform 220ms var(--ease-out);
}
.lang[data-active="es"] .lang__thumb { transform: translateX(100%); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.4);
  box-shadow: inset 0 0 0 1px var(--rule);
  cursor: pointer;
  place-content: center;
  gap: 6px;
}
.menu-btn__bar { display: block; width: 18px; height: 1.5px; background: var(--gold-100); transition: transform 300ms var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- 7. The gold thread ---------- */
.thread {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}
.thread__guide {
  fill: none;
  stroke: rgba(201, 160, 82, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
}
/* the thread is one path per stretch, so scrolling only repaints the stretch being sewn
   (no filter on the group: a filter would re-rasterise every stretch each frame) */
.thread__line {
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.needle { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.9)); }
.thread-anchor { display: block; width: 1px; height: 1px; }
/* where the thread ends, a glint like the logo's aura */
.thread__glint { fill: var(--gold-100); opacity: 0; transform-box: fill-box; transform-origin: center; }
.thread[data-done] .thread__glint { animation: glint 2.8s ease-in-out infinite; }
@keyframes glint {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  45% { opacity: 1; transform: scale(1.15) rotate(45deg); }
  70% { opacity: 0.2; transform: scale(0.6) rotate(70deg); }
}
.thread:not([data-ready]) { opacity: 0; }
.thread { transition: opacity 600ms ease; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--tape-h) + var(--header-h) + 32px) var(--gutter) clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  filter: brightness(0.92);
  animation: hero-settle 2.8s var(--ease-out) both;
}
@keyframes hero-settle { from { transform: scale(1.12); opacity: 0.4; } to { transform: scale(1.03); opacity: 1; } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.86) 42%, rgba(7, 7, 7, 0.4) 58%, rgba(7, 7, 7, 0) 72%),
    linear-gradient(0deg, var(--stock-0) 0%, rgba(7, 7, 7, 0) 28%);
}

.hero__content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  justify-items: start;
  gap: clamp(18px, 2vw, 26px);
}
.hero__content > * { max-width: 640px; }
/* 60ms stagger: the call to action is readable well under a second */
.hero__content > * { animation: rise 700ms var(--ease-out) both; }
.hero__emblem { animation-delay: 100ms; }
.hero__content > .display { animation-delay: 160ms; }
.hero__sub { animation-delay: 220ms; }
.hero__actions { animation-delay: 280ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__emblem {
  width: clamp(112px, 11vw, 160px);
  height: auto;
  margin-bottom: 4px;
}
.display__line.foil { animation: foil-in 2.8s 0.4s var(--ease-out) both; }
@keyframes foil-in { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }

.hero__sub { max-width: 46ch; font-weight: 300; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); color: var(--ivory); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }


/* ---------- 9. Tape band ---------- */
.tape-band-wrap { position: relative; z-index: 2; }
.tape-band {
  position: relative;
  z-index: 2;
  width: 104%;
  margin: -26px 0 0 -2%;
  height: 54px;
  overflow: hidden;
  transform: rotate(-1.4deg);
  background: var(--foil-flat);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 246, 214, 0.55), inset 0 -1px 0 rgba(74, 54, 24, 0.6);
}
.tape-band__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: tape-run 90s linear infinite;
}
@keyframes tape-run { to { transform: translateX(-50%); } }
.tape-inch {
  position: relative;
  flex: none;
  width: 96px;
  height: 100%;
  background:
    linear-gradient(var(--ink-tick), var(--ink-tick)) 0 0 / 1px 22px no-repeat,
    linear-gradient(var(--ink-tick), var(--ink-tick)) 48px 0 / 1px 15px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px 12px) 0 0 / 100% 9px no-repeat;
}
.tape-inch span {
  position: absolute;
  left: 6px; bottom: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--on-gold);
}
.tape-inch--brand {
  width: 192px;
  background:
    linear-gradient(var(--ink-tick), var(--ink-tick)) 0 0 / 1px 22px no-repeat,
    linear-gradient(var(--ink-tick), var(--ink-tick)) 96px 0 / 1px 22px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px 12px) 0 0 / 100% 9px no-repeat;
}
.tape-inch--brand span {
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.35rem;
  white-space: nowrap;
}

/* ---------- 10. Sections ---------- */
.section {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter) 0;
}

/* Services: lookbook */
.services__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px;
  align-items: end;
}
.services__head .lede { color: var(--ivory-2); justify-self: end; }

.lookbook {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px);
  align-items: start;
}
.look { position: relative; display: grid; gap: 18px; align-content: start; }
.look:nth-child(1) { grid-column: 1 / span 5; grid-row: span 2; display: flex; flex-direction: column; height: 100%; }
.look:nth-child(2) { grid-column: 6 / span 7; --ar: 16 / 9; }
.look:nth-child(3) { grid-column: 6 / span 3; --ar: 1 / 1; }
.look:nth-child(4) { grid-column: 9 / span 4; --ar: 4 / 3; }
.look:nth-child(5) { grid-column: 1 / span 4; --ar: 4 / 5; }
.look:nth-child(6) { grid-column: 5 / span 4; --ar: 1 / 1; margin-top: clamp(40px, 6vw, 96px); }
.look:nth-child(7) { grid-column: 9 / span 4; --ar: 4 / 5; }
.look:nth-child(8) { grid-column: 3 / span 8; }

.look__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
  border-radius: 2px;
  background: var(--stock-2);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95);
  transition: transform 160ms var(--ease-out);
}
.look__media:active { transform: scale(0.985); }
.look:nth-child(1) .look__media { flex: 1; aspect-ratio: auto; min-height: 460px; }
.look__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transition: transform 1100ms var(--ease-out), filter 700ms ease;
}
/* stitch frame sewn around the photo on hover */
.look__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(250, 227, 151, 0.9);
  border-radius: 1px;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 350ms var(--ease-out);
  pointer-events: none;
}
.look:nth-child(4) .look__media img { object-position: 50% 35%; }
.look:nth-child(1) .look__media img { object-position: 50% 40%; }
/* the party gown keeps its wine satin: a lighter grade than the lamplit default */
.look:nth-child(1) .look__media img { filter: saturate(0.85) contrast(1.04) brightness(0.88); }
.look:nth-child(7) .look__media img { object-position: 50% 30%; }
/* repairs: keep the needle and the darn in the square crop, leave the machine branding out */
.look:nth-child(6) .look__media img { object-position: 42% 60%; }
/* the daylight studio shot gets a deeper lamplit grade */
.look:nth-child(7) .look__media img { filter: saturate(0.42) sepia(0.28) contrast(1.12) brightness(0.62); }

.look__name { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); line-height: 1.15; color: var(--gold-100); }
.look__body { display: grid; gap: 10px; justify-items: start; }
.look__body p { max-width: 48ch; color: var(--ivory-2); font-size: 0.98rem; }

@media (hover: hover) and (pointer: fine) {
  .look:hover .look__media img { filter: var(--grade-on); transform: scale(1.05); }
  .look:hover .look__media::after { clip-path: inset(0 0 0 0); transition: clip-path 900ms var(--ease-sew); }
}
.look:focus-within .look__media img { filter: var(--grade-on); }
/* touch screens have no hover: the photo blooms and the stitch frame is sewn as it scrolls in */
@media (hover: none) {
  .look.is-in .look__media img { filter: var(--grade-on) !important; transition-delay: 600ms; }
  .look.is-in .look__media::after { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-sew) 900ms; }
}
.look:focus-within .look__media::after { clip-path: inset(0 0 0 0); }

/* the "something else" note: a pinned swatch with stitched edge */
.look--note {
  justify-items: center;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 64px);
  background: var(--stock-2);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--rule);
}
.look--note::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed var(--rule-strong);
  pointer-events: none;
}
.look--note p { max-width: 52ch; color: var(--ivory-2); }
.look__note-fine { font-size: 0.9rem; color: var(--ivory-3) !important; }

/* Process: steps pinned to a tailor's ruler */
.process__head { display: grid; gap: 20px; max-width: 760px; }
.process__tape { margin-top: clamp(48px, 6vw, 72px); }
.ruler {
  position: relative;
  height: 48px;
  background:
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px calc(100% / 36)) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-tick) 0 1px, transparent 1px calc(100% / 144)) 0 0 / 100% 9px no-repeat,
    var(--foil-flat);
  border-radius: 2px;
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 246, 214, 0.55);
}
.ruler span {
  position: absolute;
  bottom: 5px;
  transform: translateX(3px);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  color: var(--on-gold);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 36px; }
.step p { color: var(--ivory-2); max-width: 36ch; }
.pin {
  position: absolute;
  top: -40px; left: 6px;
  width: 24px; height: 58px;
  overflow: visible;
}
.pin circle { fill: var(--gold-500); stroke: var(--gold-100); stroke-width: 1; }
.pin path { stroke: #d9d2c3; stroke-width: 1.4; stroke-linecap: round; }
.step__icon {
  width: 52px; height: 52px;
  margin: 12px 0 6px;
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Detail band: lace in lamplight */
.detail {
  position: relative;
  margin-top: var(--section-y);
  min-height: clamp(440px, 76vh, 760px);
  display: grid;
  place-items: center;
  padding: 96px var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.detail__media { position: absolute; inset: 0; z-index: -1; }
.detail__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.55) sepia(0.25) brightness(0.7) contrast(1.05);
  transform: scale(1.12);
}
.detail__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(7, 7, 7, 0.55), rgba(7, 7, 7, 0.88)),
    linear-gradient(180deg, var(--stock-0) 0%, transparent 18%, transparent 82%, var(--stock-0) 100%);
}
@supports (animation-timeline: view()) {
  .detail__media img { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } }
}
.detail__quote { display: grid; justify-items: center; gap: 10px; text-align: center; }
.detail__text {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 1rem + 3.4vw, 3.8rem);
  line-height: 1.12;
  max-width: 18ch;
  color: var(--ivory);
  text-wrap: balance;
}
.detail__sig {
  font-family: var(--f-script);
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.2rem);
  line-height: 1.1;
  padding: 0 0.2em;
  background: var(--foil);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-4deg);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.95);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; filter: saturate(0.8) brightness(0.92) contrast(1.05); }
.about__media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(250, 227, 151, 0.55);
  pointer-events: none;
}
.about__text { display: grid; gap: 22px; justify-items: start; }
.about__text > p:not(.lede):not(.about__signature) { max-width: 58ch; color: var(--ivory-2); }
.about__values {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.about__values li {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--ivory-2);
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 5px, transparent 5px 9px) 0 0 / 100% 1.5px no-repeat;
}
.about__signature {
  font-family: var(--f-script);
  font-size: clamp(3rem, 2rem + 3vw, 4.6rem);
  line-height: 1;
  padding: 0.1em 0.2em 0.15em 0;
  background: var(--foil);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-4deg);
  transform-origin: left center;
}

/* Visit: cut along the dotted line */
.visit { padding-bottom: var(--section-y); }
.cutline { position: relative; height: 28px; margin-bottom: clamp(40px, 5vw, 56px); }
.cutline__dash {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 14px);
  clip-path: inset(0 0 0 0);
}
.cutline__track {
  position: absolute;
  inset: 0;
  transform: translateX(calc(-100% + 28px));
}
.cutline__scissors {
  position: absolute;
  top: 50%; right: 0;
  width: 28px; height: 28px;
  color: var(--gold-300);
  transform: translateY(-50%);
}
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.visit__main { display: grid; gap: 22px; justify-items: start; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.visit__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.visit__facts div {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 5px, transparent 5px 9px) 0 100% / 100% 1.5px no-repeat;
}
.visit__facts dd { margin: 0; font-size: 1.02rem; color: var(--ivory); }

/* Location map: Google Maps turned to night, a stitched frame, and the shop's card */
.visit__map {
  position: relative;
  margin: clamp(56px, 7vw, 96px) 0 0;
}
.visit__map-frame {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--stock-2);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--rule);
}
.visit__map-frame iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  /* invert to night, swing hues back, then mute towards the page's blacks */
  filter: invert(0.9) hue-rotate(180deg) saturate(0.5) brightness(0.85) contrast(0.95);
}
/* a gold wash over the night map, so streets read as foil on black */
.visit__map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(201, 160, 82, 0.14);
  mix-blend-mode: color;
  pointer-events: none;
}
.visit__map-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1.5px dashed rgba(250, 227, 151, 0.7);
  pointer-events: none;
}

.map-card {
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  bottom: clamp(28px, 3vw, 44px);
  z-index: 3;
  display: grid;
  justify-items: start;
  gap: 6px;
  max-width: 340px;
  padding: 26px 28px 28px;
  background: rgba(17, 16, 14, 0.94);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--rule-strong), 0 24px 40px -20px rgba(0, 0, 0, 0.95);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed var(--rule);
  pointer-events: none;
}
.map-card__sig {
  font-family: var(--f-script);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold-300);
}
.map-card__place {
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ivory);
}
.map-card__city { color: var(--ivory-2); font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- 11. Reveals (only when JS + motion allowed; visible by default) ---------- */
.motion-ok .tape-band-wrap[data-reveal] .tape-band { clip-path: inset(0 100% 0 0); }
.motion-ok .tape-band-wrap.is-in .tape-band { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }

.motion-ok .look[data-reveal] .look__media { clip-path: inset(100% 0 0 0); }
.motion-ok .look[data-reveal] :is(.look__body, h3, p, .ask) { opacity: 0; transform: translateY(14px); }
.motion-ok .look.is-in .look__media { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out) var(--d, 0ms), transform 160ms var(--ease-out); }
.motion-ok .look.is-in :is(.look__body, h3, p, .ask) { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) calc(var(--d, 0ms) + 250ms), transform 700ms var(--ease-out) calc(var(--d, 0ms) + 250ms); }
.look:nth-child(even) { --d: 120ms; }

.motion-ok .process__tape[data-reveal] .ruler { clip-path: inset(0 100% 0 0); }
.motion-ok .process__tape.is-in .ruler { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.motion-ok .step[data-reveal] .pin { opacity: 0; transform: translateY(-28px); }
.motion-ok .step[data-reveal] :is(h3, p) { opacity: 0; transform: translateY(12px); }
.motion-ok .step[data-reveal] .step__icon :is(path, ellipse) { stroke-dasharray: 160; stroke-dashoffset: 160; }
.motion-ok .step.is-in .pin { opacity: 1; transform: none; transition: opacity 200ms ease var(--d, 0ms), transform 520ms cubic-bezier(0.34, 1.15, 0.64, 1) var(--d, 0ms); }
.motion-ok .step.is-in :is(h3, p) { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) calc(var(--d, 0ms) + 300ms), transform 600ms var(--ease-out) calc(var(--d, 0ms) + 300ms); }
.motion-ok .step.is-in .step__icon :is(path, ellipse) { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) calc(var(--d, 0ms) + 200ms); }
.step:nth-child(2) { --d: 200ms; }
.step:nth-child(3) { --d: 400ms; }

.motion-ok .about__media[data-reveal] img { clip-path: inset(0 0 100% 0); }
.motion-ok .about__media.is-in img { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-out); }
/* the map unrolls from the left like cloth off a bolt (inner frame is clipped, the figure is observed) */
.motion-ok .visit__map[data-reveal] .visit__map-frame { clip-path: inset(0 100% 0 0); }
.motion-ok .visit__map.is-in .visit__map-frame { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-in-out); }
.motion-ok .visit__map[data-reveal] .map-card { opacity: 0; transform: translateY(14px); }
.motion-ok .visit__map.is-in .map-card { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) 700ms, transform 600ms var(--ease-out) 700ms; }

/* scissors travel along the cut line once it comes into view */
/* (the scissors ride a full-width track moved with transform, never `left`) */
@keyframes cut-travel { from { transform: translateX(calc(-100% + 28px)); } to { transform: translateX(0); } }
@keyframes cut-line { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
.motion-ok .cutline.is-in .cutline__track { animation: cut-travel 2.4s var(--ease-sew) 0.2s both; }
.motion-ok .cutline.is-in .cutline__dash { animation: cut-line 2.4s var(--ease-sew) 0.2s both; }
.motion-ok .cutline.is-in .blade--a { animation: snip-a 180ms ease-in-out 14 alternate 0.2s; }
.motion-ok .cutline.is-in .blade--b { animation: snip-b 180ms ease-in-out 14 alternate 0.2s; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--stock-2); box-shadow: 0 -1px 0 var(--rule); }
.site-footer__inner {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.site-footer__brand { display: grid; gap: 16px; justify-items: start; }
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__brand p { max-width: 30ch; color: var(--ivory-2); font-size: 0.95rem; }
.site-footer__nav { display: grid; gap: 4px; justify-items: start; }
.site-footer__nav a {
  padding: 8px 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-2);
  transition: color 200ms ease;
}
.site-footer__nav a:hover { color: var(--gold-100); }
.site-footer__social { display: grid; gap: 18px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }

/* Social buttons: a stitch ring is sewn around the button, then foil rises inside */
.social__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--gold-100);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  isolation: isolate;
  cursor: pointer;
  /* on leave the icon turns gold again only after the foil has drained,
     so it never sits gold-on-gold */
  transition: transform 300ms var(--ease-out), color 150ms ease 140ms, box-shadow 300ms ease;
}
.social__ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-300);
  -webkit-mask: conic-gradient(#000 var(--sew), transparent 0);
  mask: conic-gradient(#000 var(--sew), transparent 0);
  transition: --sew 300ms var(--ease-out);
  pointer-events: none;
}
.social__fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--foil);
  background-size: 200% 100%;
  clip-path: inset(100% 0 0 0 round 50%);
  transition: clip-path 220ms var(--ease-out);
}
.social__btn .icon { width: 22px; height: 22px; transition: transform 300ms var(--ease-out); }
/* the icon only darkens once the foil has risen behind it (fill delay 250ms + rise) */
.social__btn:focus-visible {
  color: var(--on-gold);
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px transparent, 0 14px 22px -10px rgba(0, 0, 0, 0.9);
  transition: transform 300ms var(--ease-out), color 200ms ease 340ms, box-shadow 300ms ease;
}
.social__btn:focus-visible .social__ring { --sew: 100%; transition: --sew 600ms var(--ease-sew); }
.social__btn:focus-visible .social__fill { clip-path: inset(0 0 0 0 round 50%); transition: clip-path 380ms var(--ease-out) 250ms; }
.social__btn:focus-visible .icon { transform: scale(1.1) rotate(-8deg); }
@media (hover: hover) and (pointer: fine) {
  .social__btn:hover {
    color: var(--on-gold);
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px transparent, 0 14px 22px -10px rgba(0, 0, 0, 0.9);
    transition: transform 300ms var(--ease-out), color 200ms ease 340ms, box-shadow 300ms ease;
  }
  .social__btn:hover .social__ring { --sew: 100%; transition: --sew 600ms var(--ease-sew); animation: spool 9s linear 0.6s infinite; }
  .social__btn:hover .social__fill { clip-path: inset(0 0 0 0 round 50%); transition: clip-path 380ms var(--ease-out) 250ms; }
  .social__btn:hover .icon { transform: scale(1.1) rotate(-8deg); }
}
.social__btn:active { transform: translateY(-2px) scale(0.95); }
.social__btn[aria-disabled="true"] { cursor: default; }
.social__soon {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-300);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}
.social__btn:focus-visible .social__soon { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .social__btn:hover .social__soon { opacity: 1; } }
@media (hover: none) { .social__soon { opacity: 1; } .social { padding-bottom: 22px; } }
@keyframes spool { to { transform: rotate(360deg); } }

.site-footer__legal {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 20px var(--gutter) 112px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.8rem;
  color: var(--ivory-3);
  position: relative;
}
.site-footer__legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 5px, transparent 5px 9px);
}

/* ---------- 13. Floating WhatsApp: a spool of gold thread ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  animation: wa-enter 700ms 1.2s var(--ease-out) both;
}
@keyframes wa-enter { from { opacity: 0; transform: translateY(24px) scale(0.9); } }
.wa-float__label {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 16, 14, 0.94);
  box-shadow: inset 0 0 0 1px var(--rule-strong), 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-100);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 350ms var(--ease-out);
}
.wa-float:focus-visible .wa-float__label,
.wa-float[data-peek="true"] .wa-float__label { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float__label { opacity: 1; transform: none; }
  .wa-float:hover .wa-float__btn { transform: translateY(-3px) rotate(-8deg); background-position: 100% 50%; }
  /* the spool only turns while the pointer is on it */
  .wa-float:hover .wa-float__spool { animation: spool 3s linear infinite; }
}

.wa-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  color: var(--on-gold);
  background: var(--foil);
  background-size: 220% 100%;
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 246, 214, 0.7);
  transition: transform 300ms var(--ease-out), background-position 600ms var(--ease-out);
}
.wa-float__btn .icon { width: 30px; height: 30px; }
.wa-float:active .wa-float__btn { transform: scale(0.94); }
.wa-float__spool {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-300);
  opacity: 0.8;
}
/* three calls for attention after it arrives, then it rests */
.wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold-300);
  opacity: 0;
  animation: wa-pulse 4.2s 2s var(--ease-out) 3;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { opacity: 0.7; transform: scale(1); }
  35% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(1.8); }
}
.wa-float { transition: opacity 250ms ease, transform 350ms var(--ease-out); }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .look:nth-child(1) { grid-column: 1 / span 6; }
  .look:nth-child(2) { grid-column: 7 / span 6; --ar: 4 / 3; }
  .look:nth-child(3) { grid-column: 7 / span 6; --ar: 16 / 10; }
  .look:nth-child(4) { grid-column: 1 / span 6; }
  .look:nth-child(5) { grid-column: 7 / span 6; grid-row: span 2; }
  .look:nth-child(6) { grid-column: 1 / span 6; margin-top: 0; }
  .look:nth-child(7) { grid-column: 1 / span 6; }
  .look:nth-child(8) { grid-column: 7 / span 6; }
}

@media (max-width: 900px) {
  .services__head, .about, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .services__head .lede { justify-self: start; }
  .about__media { aspect-ratio: 4 / 3; }
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  /* the card moves under the map so it never covers the pin */
  .visit__map-frame { aspect-ratio: 16 / 10; }
  .map-card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 16px; }
}

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    display: grid;
    gap: 0;
    background: rgba(7, 7, 7, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule), 0 30px 40px -20px rgba(0, 0, 0, 0.9);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 180ms var(--ease-out), visibility 0s 180ms;
  }
  .site-nav[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 240ms var(--ease-out); }
  .site-nav a { padding: 16px 0; font-size: 0.85rem; background: repeating-linear-gradient(90deg, var(--rule) 0 4px, transparent 4px 8px) 0 100% / 100% 1px no-repeat; }
  .site-nav a::after { display: none; }
  .site-header__tools { margin-left: auto; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; --gutter: 22px; }
  .site-header { background-color: rgba(7, 7, 7, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .site-header__inner { gap: 12px; }
  .wordmark { gap: 5px; }
  .wordmark__caps { font-size: 0.8rem; letter-spacing: 0.12em; }
  .wordmark__script { font-size: 1.1rem; }
  .site-header__tools { gap: 8px; }
  .lang__opt { min-width: 36px; padding: 0 6px; }
  .menu-btn { width: 40px; height: 40px; }

  .hero { align-items: end; }
  .hero__video { object-position: 78% 50%; }
  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.86) 48%, rgba(7, 7, 7, 0.35) 78%, rgba(7, 7, 7, 0.55) 100%);
  }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }

  .tape-band { height: 44px; margin-top: -18px; }
  .tape-inch { width: 72px; background-size: 1px 18px, 1px 12px, 100% 7px; background-position: 0 0, 36px 0, 0 0; }
  .tape-inch span { font-size: 0.85rem; }

  .lookbook { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .look:nth-child(n) { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .look:nth-child(1) .look__media { min-height: 0; aspect-ratio: 4 / 5; flex: none; }
  .look:nth-child(5), .look:nth-child(7) { --ar: 4 / 4.4; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 8px; }
  .ruler { height: 40px; }
  .step { padding-top: 0; }
  .pin { display: none; }
  .step { padding-left: 0; }
  .step__icon { width: 44px; height: 44px; margin-top: 0; }

  .about__values { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about__values li { padding: 16px 0; }

  .visit__facts { grid-template-columns: minmax(0, 1fr); }
  .visit__actions .btn { width: 100%; }
  .visit__map-frame { aspect-ratio: 4 / 5; }
  .map-card .btn { width: 100%; }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__legal { flex-direction: column; }
  .wa-float__label { display: none; }
}

@media (max-width: 380px) {
  .wordmark__caps { font-size: 0.72rem; letter-spacing: 0.08em; }
  .wordmark__script { font-size: 1rem; }
  .btn { padding: 0 22px; letter-spacing: 0.12em; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 120ms !important;
    transition-delay: 0ms !important;
  }
  .tape-band__track, .wa-float__ring, .wa-float__spool { animation: none !important; }
  .detail__media img { animation: none !important; }
  .needle { display: none; }
}
