/* site-safety */
/* Maison Lune. Luxury serif minimal meets cinematic noir: near-black, champagne gold, ivory. */
:root {
  --noir: #0b0a09;
  --noir-2: #13110e;
  --noir-3: #1c1915;
  --noir-4: #26221c;
  --gold: #d6b97c;
  --gold-2: #b8975a;
  --champ: #ead7aa;
  --ivory: #f4eee2;
  --ivory-2: #c9c0b0;
  --ivory-3: #a1988a;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --pad: clamp(20px, 5vw, 72px);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--noir); }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--champ); }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--noir); padding: 12px 18px; border-radius: 14px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(214, 185, 124, .38); border-radius: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Header */
.head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--pad);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.head.scrolled{background:rgba(11, 10, 9, .72);backdrop-filter:blur(16px) saturate(1.1);-webkit-backdrop-filter:blur(16px) saturate(1.1);box-shadow:0 8px 24px rgb(17 24 39 / 0.08)}
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand-mark { color: var(--gold); transition: transform .7s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-24deg) scale(1.1); }

.burger {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger line { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform .55s var(--spring), opacity .25s, x1 .4s var(--ease); }
.menu-open .burger .l1 { transform: translateY(5px) rotate(45deg); }
.menu-open .burger .l2 { opacity: 0; transform: scaleX(.1); }
.menu-open .burger .l3 { transform: translateY(-5px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 96px var(--pad) 48px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(214, 185, 124, .16), transparent 60%), var(--noir);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.nav ul { display: grid; gap: 2px; }
.nav ul a {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.8rem, 13vw, 4.4rem);
  line-height: 1.1;
  text-decoration: none;
  color: var(--ivory);
  transition: transform .5s var(--spring), color .2s;
}
.nav ul a:hover { transform: translateX(12px); color: var(--champ); }
.nav-note { font-size: .85rem; letter-spacing: .08em; color: var(--ivory-3); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .45s var(--spring), box-shadow .3s, background .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: scale(.96); }
.btn-gold { background: linear-gradient(180deg, #e2c68c, #b8975a); color: var(--noir); }
.btn-ivory{background:var(--ivory);color:var(--noir);box-shadow:0 8px 24px rgb(17 24 39 / 0.08)}
.btn .icon { transition: transform .45s var(--spring); }
.btn:hover .icon { transform: translateX(4px); }

.spec { display: inline-flex; min-height: 58px; }
.spec .specular-button{min-height:58px;padding-left:34px;padding-right:34px;font-family:var(--sans);font-size:.98rem;font-weight:500;letter-spacing:.04em;background:linear-gradient(180deg, rgba(214, 185, 124, .22), rgba(214, 185, 124, .08));box-shadow:0 8px 24px rgb(214 185 124 / 0.08);transition:transform .45s var(--spring), box-shadow .3s}
.spec .specular-button:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 12px 28px rgb(214 185 124 / 0.1)}
.spec .specular-button:active { transform: scale(.96); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ivory);
}
.link-arrow .icon { color: var(--gold); transition: transform .45s var(--spring); }
.link-arrow:hover .icon { transform: translateX(6px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--pad) 96px;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(55% 45% at 50% -8%, rgba(230, 201, 143, .42), rgba(230, 201, 143, 0) 70%),
    conic-gradient(from 160deg at 50% -10%, transparent 0deg, rgba(230, 201, 143, .08) 8deg, transparent 14deg, rgba(230, 201, 143, .06) 22deg, transparent 30deg, rgba(230, 201, 143, .07) 38deg, transparent 46deg),
    var(--noir);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  z-index: 0;
  background: linear-gradient(to top, var(--noir), rgba(11, 10, 9, 0));
  pointer-events: none;
}
.rays { position: absolute; inset: 0; z-index: 0; }
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; max-width: 72rem; }
.hero-title {
  font-size: clamp(4.4rem, 24vw, 15rem);
  line-height: .9;
  letter-spacing: -0.035em;
  color: var(--ivory);
  text-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}
.hero-title span { display: block; }
.hero-title em { color: var(--champ); font-weight: 400; }
.collection-tag { display: grid; justify-items: center; gap: 2px; margin-top: 6px; }
.collection-kicker { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ivory-2); }
.collection-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #c9a868;
}
.lead { max-width: 34ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ivory-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 6px; }
.scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 48px;
  min-height: 48px;
  padding-top: 4px;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-3);
}
.scroll-cue .icon { width: 18px; height: 18px; color: var(--gold); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Film still */
.film { padding: 0 0 clamp(40px, 6vw, 80px); }
.film-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--noir-3);
}
.film-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08); }
.film-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 10, 9, .85), rgba(11, 10, 9, 0) 45%), linear-gradient(to bottom, rgba(11, 10, 9, .7), rgba(11, 10, 9, 0) 25%); pointer-events: none; }
.film-frame figcaption {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
}
.film-frame figcaption span:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 7vw, 5.4rem); line-height: 1; color: var(--ivory); }
.film-frame figcaption span:last-child { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champ); }
@supports (animation-timeline: view()) {
  .film-frame { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .film-frame img { animation: pan linear both; animation-timeline: view(); }
  @keyframes unveil { from { clip-path: inset(6% 7% round 48px); } to { clip-path: inset(0 0 round 0); } }
  @keyframes pan { from { transform: scale(1.3) translateY(-5%); } to { transform: scale(1.06) translateY(4%); } }
}

/* Marquee */
.marquee { overflow: hidden; padding: 18px 0 clamp(40px, 6vw, 80px); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 7rem);
  line-height: 1.1;
  color: var(--ivory);
  animation: marquee 48s linear infinite;
}
.marquee-track span { white-space: nowrap; }
.marquee-track em { color: var(--gold); }
.marquee-track .icon { width: .32em; height: .32em; color: var(--gold-2); }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(11px, 2vw, 28px))); } }

/* Sections */
.section-head { display: grid; gap: 16px; max-width: 50rem; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: .98; letter-spacing: -0.03em; }
.section-lead { color: var(--ivory-2); font-size: 1.05rem; max-width: 40rem; }

/* Collection */
.collection { padding: clamp(60px, 9vw, 120px) var(--pad); }
.pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
.piece { margin: 0; transition: transform .6s var(--spring); }
.piece:hover { transform: translateY(-8px); }
.crop{position:relative;overflow:hidden;border-radius:var(--r-lg);background:var(--noir-3);aspect-ratio:3 / 4;box-shadow:0 8px 24px rgb(17 24 39 / 0.08)}
.crop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(214, 185, 124, 0), rgba(11, 10, 9, .35)); pointer-events: none; transition: opacity .6s; }
.crop img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--z, 1) * 100%);
  max-width: none;
  aspect-ratio: 1;
  height: auto;
  translate: calc(var(--ox, 50) * -1%) calc(var(--oy, 50) * -1%);
  transform-origin: calc(var(--ox, 50) * 1%) calc(var(--oy, 50) * 1%);
  transition: transform 1.2s var(--ease);
}
.piece:hover .crop img { transform: scale(1.08); }
.piece:hover .crop::after { opacity: .4; }
.piece figcaption { display: grid; gap: 2px; padding: 16px 4px 0; }
.piece .name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; color: var(--ivory); }
.piece .meta { font-size: .88rem; color: var(--ivory-2); }
.piece .price { margin-top: 6px; font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.piece-orbit { grid-column: 1 / -1; }
.piece-orbit .crop { aspect-ratio: 4 / 5; --z: 2.5; --ox: 77; --oy: 61; }
.piece-lune { grid-column: 1 / -1; }
.piece-lune .crop { aspect-ratio: 5 / 4; --z: 1.9; --ox: 50; --oy: 58; }
.piece-halo .crop { --z: 3.3; --ox: 18; --oy: 74; }
.piece-twin .crop { --z: 3.6; --ox: 85; --oy: 49; }

.signature {
  position: relative;
  display: grid;
  gap: 40px;
  margin-top: clamp(80px, 12vw, 160px);
  padding: clamp(40px, 7vw, 96px) clamp(22px, 5vw, 80px);
  border-radius: var(--r-xl);
  background: radial-gradient(70% 60% at 30% 40%, rgba(214, 185, 124, .14), transparent 70%), var(--noir-2);
  overflow: hidden;
}
.holo-wrap { position: relative; display: grid; place-items: center; min-height: 360px; }
.holo-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(234, 215, 170, .35), rgba(234, 215, 170, 0) 65%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
.holo { position: relative; display: grid; place-items: center; width: 100%; }
.holo-wrap, .holo { grid-template-columns: minmax(0, 1fr); }
.holo-wrap > *, .holo > * { min-width: 0; max-width: 100%; }
.holo-fallback { width: min(420px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 26px; }
.signature > * { min-width: 0; }
.signature-copy { display: grid; gap: 18px; align-content: center; }
.signature-copy h3 { font-size: clamp(3.6rem, 12vw, 7.5rem); font-style: italic; line-height: .95; color: var(--champ); }
.signature-copy > p { color: var(--ivory-2); max-width: 36rem; font-size: 1.05rem; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 12px 24px; margin: 6px 0 0; }
.specs div { display: grid; gap: 2px; }
.specs dt { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.specs dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ivory); }
.hint { font-size: .85rem; color: var(--ivory-3) !important; }

/* Craft sticky story */
.craft { padding: clamp(80px, 12vw, 160px) var(--pad) clamp(40px, 6vw, 80px); }
.story { position: relative; display: grid; }
.story-media { position: sticky; top: 72px; z-index: 2; height: 44svh; margin-bottom: 8px; }
@media (max-width: 1023px) {
  .story-media::after { content: ""; position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); top: 100%; height: 64px; background: linear-gradient(var(--noir), rgba(11, 10, 9, 0)); pointer-events: none; }
}
.story-frame{position:relative;height:100%;margin:0;overflow:hidden;border-radius:var(--r-lg);background:var(--noir-3);box-shadow:0 8px 24px rgb(17 24 39 / 0.08);--z:1.4;--ox:52;--oy:48}
.story-frame[data-active="2"] { --z: 2.9; --ox: 54; --oy: 64; }
.story-frame[data-active="3"] { --z: 3.4; --ox: 64; --oy: 25; }
.story-frame[data-active="4"] { --z: 3.4; --ox: 18; --oy: 74; }
.story-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--z) * 100%);
  max-width: none;
  aspect-ratio: 1;
  height: auto;
  translate: calc(var(--ox) * -1%) calc(var(--oy) * -1%);
  transition: width 1.4s var(--ease), translate 1.4s var(--ease);
}
.story-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 50%, rgba(11, 10, 9, .55)); pointer-events: none; }
.story-count { position: absolute; z-index: 1; left: 20px; bottom: 16px; display: flex; align-items: baseline; gap: 6px; font-family: var(--serif); color: var(--ivory); }
.story-count .now { font-size: 2.2rem; font-style: italic; line-height: 1; }
.story-count .of { font-size: .9rem; color: var(--ivory-2); }
.story-steps { display: grid; }
.story-step { min-height: 62svh; display: grid; align-content: center; gap: 12px; padding: 40px 0; opacity: .3; transition: opacity .7s var(--ease), transform .8s var(--ease); transform: translateX(0); }
.story-step.is-active { opacity: 1; }
.story-step .step-n { font-size: .72rem; letter-spacing: .3em; color: var(--gold); }
.story-step h3 { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1; }
.story-step p { color: var(--ivory-2); max-width: 30rem; font-size: 1.05rem; }

/* Bespoke */
.bespoke { display: grid; gap: 56px; padding: clamp(80px, 12vw, 160px) var(--pad); }
.bespoke-copy { display: grid; gap: 18px; align-content: start; }
.bespoke-copy h2 { font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: .98; letter-spacing: -0.03em; }
.bespoke-steps { display: grid; gap: 10px; margin-top: 16px; }
.bespoke-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--noir-2);
  transition: transform .5s var(--spring), background .3s;
}
.bespoke-steps li:hover { transform: translateX(8px); background: var(--noir-3); }
.bespoke-steps span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--gold); }
.bespoke-steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.bespoke-steps p { color: var(--ivory-2); font-size: .95rem; }
.collage { position: relative; aspect-ratio: 1 / 1.15; }
.collage figure { position: absolute; margin: 0; transition: transform .7s var(--spring), z-index 0s; }
.collage figure img, .collage .crop{width:100%;height:100%;object-fit:cover;border-radius:var(--r-lg);box-shadow:0 8px 24px rgb(17 24 39 / 0.08)}
.collage figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(11, 10, 9, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.collage-a { left: 0; top: 0; width: 56%; aspect-ratio: 4 / 5; rotate: -3deg; z-index: 1; }
.collage-b { right: 0; top: 18%; width: 52%; aspect-ratio: 4 / 5; rotate: 2.5deg; z-index: 2; }
.collage-c { left: 12%; bottom: 0; width: 40%; aspect-ratio: 1; rotate: -1deg; z-index: 3; }
.collage-c .crop { aspect-ratio: auto; --z: 3.2; --ox: 63; --oy: 25; }
.collage figure:hover { transform: translateY(-10px) scale(1.03); z-index: 5; }

/* Appointments */
.appointments { padding: 0 clamp(8px, 2vw, 24px) clamp(80px, 10vw, 140px); }
.appt-card {
  position: relative;
  display: grid;
  gap: 40px;
  padding: clamp(40px, 7vw, 96px) var(--pad);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(230, 201, 143, .2), transparent 70%),
    var(--noir-2);
  overflow: hidden;
}
.appt-copy { display: grid; gap: 18px; align-content: start; }
.appt-copy h2 { font-size: clamp(2.6rem, 8vw, 5rem); line-height: .98; letter-spacing: -0.03em; }
.appt-copy > p { color: var(--ivory-2); max-width: 34rem; font-size: 1.05rem; }
.appt-points { display: grid; gap: 10px; margin-top: 6px; }
.appt-points li { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.appt-points .icon { color: var(--gold); width: 1.1em; height: 1.1em; }
.appt-form { display: grid; gap: 18px; align-content: start; }
.row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-2); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 300; color: var(--ivory-3); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--noir-4);
  color: var(--ivory);
  font: 300 1rem/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: inset 0 0 0 2px rgba(214, 185, 124, .06);
  transition: box-shadow .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d6b97c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 9L12 15L5 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px; }
.field select option { background: var(--noir-3); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #2c2720; box-shadow: inset 0 0 0 2px rgba(214, 185, 124, .5), 0 0 0 5px rgba(214, 185, 124, .12); }
.field.invalid input, .field.invalid select { box-shadow: inset 0 0 0 2px rgba(222, 120, 100, .6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-2); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--noir-4);
  color: var(--ivory);
  font-size: .92rem;
  transition: transform .45s var(--spring), background .25s, color .25s;
}
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--gold); color: var(--noir); font-weight: 500; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(214, 185, 124, .38); }
.appt-form .btn { justify-self: start; }
.form-note { min-height: 1.4em; color: var(--champ); font-weight: 400; }
.form-note:empty { min-height: 0; }

/* Footer */
.foot { padding: clamp(40px, 7vw, 80px) var(--pad) 32px; overflow: hidden; }
.foot .foot-mark {
  margin: 0 0 40px -0.03em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(7rem, 42vw, 30rem);
  line-height: .8;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #f1dfb4 0%, #b8975a 55%, rgba(184, 151, 90, .1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.foot-cols { display: grid; gap: 32px; }
.foot h2 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.foot p { color: var(--ivory-2); }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; text-decoration: none; transition: color .2s, transform .45s var(--spring); }
.foot a:hover { color: var(--champ); transform: translateX(4px); }
.foot ul { display: grid; }
.foot-small { margin-top: 56px; font-size: .82rem; color: var(--ivory-3) !important; }

/* Reveal */
@media (scripting:enabled){.js .reveal{opacity:0;transform:translateY(30px);filter:blur(6px);transition:opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease);transition-delay:var(--d, 0s)}}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .piece.reveal.in:hover { transform: translateY(-8px); transition: transform .6s var(--spring); }
.js .bespoke-steps li.reveal.in:hover { transform: translateX(8px); transition: transform .5s var(--spring), background .3s; }

/* Squircles */
@supports (corner-shape: squircle) {
  .crop, .story-frame, .signature, .appt-card, .bespoke-steps li, .collage figure img, .collage .crop, .field input, .field select, .field textarea, .holo-fallback {
    corner-shape: squircle;
  }
  .crop, .story-frame, .collage figure img, .collage .crop { border-radius: 52px; }
  .signature, .appt-card { border-radius: 72px; }
  .bespoke-steps li { border-radius: 36px; }
  .field input, .field select, .field textarea { border-radius: 26px; }
}

/* Tablet and up */
@media (min-width: 720px) {
  .film-frame { aspect-ratio: 16 / 9; }
  .pieces { grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: start; }
  .piece-orbit { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .piece-lune { grid-column: 8 / span 5; grid-row: 1; }
  .piece-halo { grid-column: 7 / span 3; grid-row: 2; }
  .piece-twin { grid-column: 10 / span 3; grid-row: 2; margin-top: 64px; }
  .signature { grid-template-columns: 1fr 1fr; align-items: center; }
  .holo-wrap { min-height: 520px; }
  .row { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .collage { max-width: 640px; }
}

@media (min-width: 1024px) {
  .head { padding-top: 20px; padding-bottom: 20px; }
  .burger { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav ul { display: flex; gap: 6px; }
  .nav ul a { font-family: var(--sans); font-style: normal; font-size: .82rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ivory-2); }
  .nav ul a:hover { transform: translateY(-2px); color: var(--ivory); background: rgba(244, 238, 226, .06); }
  .nav-note { display: none; }
  .film-frame { aspect-ratio: 21 / 9; }
  .story { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
  .story-media { top: 12svh; height: 76svh; margin: 0; }
  .story-step { min-height: 76svh; padding: 0; }
  .bespoke { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .appt-card { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .film-frame { clip-path: none; }
  .story-step { opacity: 1; }
}
