/* SN Collections — public site */
:root {
  --paper: #fbf7f1;
  --cream: #f5ede2;
  --cream-2: #ede1cf;
  --ink: #17120f;
  --ink-2: #4a3f37;
  --muted: #8b7b6d;
  --gold: #b48a4a;
  --gold-d: #8a6430;
  --gold-l: #e7d4b0;
  --gold-grad: linear-gradient(115deg, #9d7236 0%, #c99d58 28%, #f0dcab 50%, #c99d58 72%, #9d7236 100%);
  --blush: #e7b3ab;
  --blush-l: #f7e6e1;
  --night: #15100d;
  --night-2: #241b16;
  --line: #e9ddcc;
  --line-2: rgba(180, 138, 74, .32);
  --ig: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -24px rgba(60, 38, 18, .38);
  --shadow-lg: 0 44px 90px -46px rgba(60, 38, 18, .5);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 80px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Fine paper grain behind everything */
  --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .28 0 0 0 0 .16 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4px);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  /* Nothing can push the page wider than the screen; swipeable rows (filters, reels) still scroll */
  overflow-x: clip;
}
body {
  margin: 0;
  overflow-x: clip;
  overflow-wrap: break-word;
  font: 400 16.5px/1.72 var(--sans);
  color: var(--ink-2);
  background: var(--grain), var(--paper);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold-l); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: var(--gold-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 5.4vw, 4.9rem); letter-spacing: -.028em; line-height: 1; }
h2 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); letter-spacing: -.022em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold-d); }
/* Italic words in headings are set in gold leaf */
h1 em, h2 em {
  background: var(--gold-grad); background-size: 220% 100%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em .06em 0; margin-right: -.04em;
}

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.section { position: relative; padding: clamp(76px, 10vw, 132px) 0; }
.section-head { text-align: center; max-width: 690px; margin: 0 auto clamp(44px, 6vw, 68px); }
.section-head h2::after {
  content: ""; display: block; width: 132px; height: 12px; margin: 24px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 12'%3E%3Cpath d='M0 6h54M78 6h54' stroke='%23b48a4a' stroke-width='1'/%3E%3Cpath d='M66 .8 71.2 6 66 11.2 60.8 6z' fill='none' stroke='%23b48a4a'/%3E%3Ccircle cx='66' cy='6' r='1.6' fill='%23b48a4a'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-head .muted { max-width: 34em; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.light { color: var(--gold-l); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.13rem; max-width: 33em; }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .78rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .45s var(--ease), background-color .35s, background-position .6s var(--ease), color .35s, border-color .35s, box-shadow .45s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
/* A soft sheen sweeps across on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn-sm { padding: 12px 18px; font-size: .68rem; letter-spacing: .15em; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fbf3e6; box-shadow: 0 16px 32px -18px rgba(23, 18, 15, .75), inset 0 0 0 1px rgba(231, 212, 176, .16); }
.btn-dark:hover { background: #2b221d; box-shadow: 0 22px 40px -20px rgba(23, 18, 15, .8), inset 0 0 0 1px rgba(231, 212, 176, .4); }
.btn-ghost { border-color: rgba(23, 18, 15, .3); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fbf3e6; }
.btn-gold { background: var(--gold-grad); background-size: 220% 100%; color: var(--ink); box-shadow: 0 12px 24px -16px rgba(140, 100, 48, .95); }
.btn-gold:hover { background-position: 100% 0; }
.btn-light { background: #fbf3e6; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-instagram { background: var(--ig); color: #fff; margin-top: 8px; text-transform: none; letter-spacing: .03em; font-size: .9rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Header: clear over the hero, frosted once the page scrolls */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, box-shadow .45s;
}
.site-header.scrolled {
  background: rgba(251, 247, 241, .84); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-color: var(--line); box-shadow: 0 12px 30px -26px rgba(40, 25, 12, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 600 1.55rem/1 var(--serif); letter-spacing: .005em; }
.brand img { border-radius: 50%; width: 46px; height: 46px; box-shadow: 0 0 0 1px var(--gold-l), 0 8px 16px -10px rgba(60, 38, 18, .7); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  position: relative; padding: 6px 0; color: var(--ink-2); text-decoration: none;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.is-active:not(.btn)::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a.is-active:not(.btn) { color: var(--ink); }
.nav .btn { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 11px 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s, width .3s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; min-height: min(100svh, 1000px);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(80px, 9vw, 124px);
  background:
    radial-gradient(55% 60% at 90% 12%, rgba(247, 222, 214, .95), transparent 70%),
    radial-gradient(45% 55% at 2% 98%, rgba(236, 222, 200, .95), transparent 70%),
    var(--grain),
    linear-gradient(180deg, #fcf8f2, #f7efe4);
}
.hero-mono {
  position: absolute; z-index: -1; left: -3vw; top: 52%; transform: translateY(-50%);
  font: 500 clamp(16rem, 40vw, 38rem)/.8 var(--serif); letter-spacing: -.07em;
  color: rgba(180, 138, 74, .07); pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero-title { margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding: .02em .12em .1em 0; margin: -.02em -.12em -.1em 0; }
.hero-title .line > span { display: inline-block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 48px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; row-gap: 14px; }
.hero-stats li { display: flex; flex-direction: column; padding: 2px 30px; border-left: 1px solid var(--line-2); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { font: 500 2.05rem/1.1 var(--serif); color: var(--ink); }
.hero-stats span { font-size: .68rem; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; }

.hero-art { position: relative; justify-self: end; width: min(520px, 100%); aspect-ratio: 1 / 1.08; }
.arch {
  position: absolute; margin: 0; overflow: hidden; background: var(--cream-2);
  border-radius: 999px 999px 18px 18px; box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.arch::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 247, 232, .75);
  border-radius: 999px 999px 10px 10px; pointer-events: none;
}
.arch-main { right: 0; top: 0; width: 72%; height: 93%; }
.arch-side { left: 0; bottom: 0; width: 41%; height: 50%; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.arch-side::after { inset: 6px; }
.arch-logo { background: #efe5d4; }
.arch-logo img { object-fit: contain; padding: 12%; }
.seal {
  position: absolute; z-index: 2; left: 9%; top: 5%; width: 136px; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); box-shadow: 0 18px 36px -20px rgba(60, 38, 18, .65), inset 0 0 0 1px var(--gold-l);
}
.seal-ring { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 28s linear infinite; }
.seal-ring text { font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; fill: var(--gold-d); }
.seal img { width: 56%; height: 56%; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-l); }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 11px; border-radius: 16px; background: rgba(255, 252, 247, .96);
  border: 1px solid rgba(231, 212, 176, .8); box-shadow: var(--shadow); font-size: .8rem; line-height: 1.3;
}
.float-card strong { display: block; color: var(--ink); font-weight: 500; font-size: .86rem; }
.float-card small { color: var(--muted); }
.fc-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); }
.fc-icon svg { width: 20px; height: 20px; }
.fc-1 { right: -2%; top: 15%; }
.fc-2 { right: 14%; bottom: 1%; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.scroll-cue i { position: relative; width: 1px; height: 46px; overflow: hidden; background: var(--line-2); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -45%; width: 1px; height: 45%; background: var(--ink); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (min-width: 981px) and (min-height: 760px) { .scroll-cue { display: flex; } }

/* Ribbon of what we stitch */
.ribbon { overflow: hidden; background: var(--night); color: var(--gold-l); padding: 20px 0; border-block: 1px solid rgba(231, 212, 176, .14); }
.ribbon-track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.ribbon-track span { padding: 0 28px; font: italic 500 1.55rem/1 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.ribbon-track i { font-style: normal; font-size: .75rem; color: var(--gold); }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.how { background: var(--grain), var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
  background: rgba(255, 253, 249, .72); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, background-color .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); background: #fffdf9; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step-no { font: 500 3.5rem/1 var(--serif); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); transition: transform .6s var(--ease); }
.step:hover .step-ico { transform: rotate(-10deg) scale(1.06); }
.step-ico svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { font-size: .95rem; margin: 0; }

/* Collections */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }
.chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .55); color: var(--ink-2);
  padding: 12px 20px; border-radius: 999px; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--gold-l); box-shadow: 0 12px 24px -16px rgba(23, 18, 15, .85); }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 32px 26px; }
.design {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fffdf9; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.design:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.design.is-hidden { display: none; }
.design-img { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--cream); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.design-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .7s ease; }
.design:hover .design-img img { transform: scale(1.06); }
.design-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 18, 15, .38)); opacity: 0; transition: opacity .6s;
}
.design-img::after {
  content: "View"; position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translate(-50%, 12px);
  padding: 10px 20px; border-radius: 999px; background: rgba(251, 247, 241, .94); color: var(--ink);
  font: 500 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; transition: opacity .5s, transform .6s var(--ease); pointer-events: none;
}
.design:hover .design-img::before, .design-img:focus-visible::before { opacity: 1; }
.design:hover .design-img::after, .design-img:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.badge {
  position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(23, 18, 15, .84); color: var(--gold-l); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.badge::before { content: "✦"; color: var(--gold); letter-spacing: 0; }
.design-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 8px; }
.design-body h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: 8px; }
.design-body p { font-size: .88rem; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.design-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font: 600 1.5rem/1 var(--serif); color: var(--ink); }
.price small { display: block; font: 500 .58rem/1.7 var(--sans); color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
.empty { text-align: center; color: var(--muted); }
.credits { margin-top: 40px; font-size: .8rem; color: var(--muted); }
.credits summary { cursor: pointer; width: max-content; margin: 0 auto; letter-spacing: .08em; }
.credits p { margin: 12px 0 6px; }
.credits ul { margin: 0; padding-left: 18px; columns: 2 280px; }
.credits a { color: var(--muted); }
.lb-credit { display: block; margin-top: 8px; font-size: .75rem; color: var(--muted); }

/* Pricing: a framed stitching menu */
.pricing { background: var(--grain), var(--cream); }
.price-list {
  position: relative; max-width: 1000px; margin: 0 auto; columns: 2; column-gap: clamp(36px, 6vw, 84px);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 6vw, 76px); background: #fffdf9; border-radius: 6px; box-shadow: var(--shadow-lg);
}
.price-list::before, .price-list::after { content: ""; position: absolute; pointer-events: none; }
.price-list::before { inset: 12px; border: 1px solid var(--line-2); }
.price-list::after { inset: 17px; border: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.price-row h3 { font-size: 1.32rem; margin: 0; }
.price-row p { font-size: .82rem; color: var(--muted); margin: 3px 0 0; }
.price-row > div { min-width: 0; }
.price-row .dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(138, 100, 48, .5); transform: translateY(-5px); }
.price-row strong { font: 600 1.55rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.price-row strong small { font: 500 .6rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 3px; }
.ship-note { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 760px; margin: 34px auto 0; text-align: left; color: var(--ink-2); }
.ship-note svg { flex: none; margin-top: 3px; color: var(--gold-d); }

/* Measurements */
.measure-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.options { display: grid; gap: 14px; margin-top: 30px; }
.option {
  display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255, 253, 249, .75); border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.option:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateX(4px); }
.option h3 { font-size: 1.3rem; margin-bottom: 4px; }
.option h3 em { font-size: 1rem; }
.option p { margin: 0; font-size: .95rem; }
.option-no { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); font: 600 1.25rem var(--serif); }
.measure-card {
  position: relative; overflow: hidden; color: #e9ded2; border-radius: var(--radius-lg);
  padding: 70px clamp(24px, 4vw, 44px) clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 90% at 100% 0, #33271f 0, var(--night) 62%);
}
/* A tailor's tape across the top of the card */
.measure-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px;
  background-color: #d8b56f;
  background-image:
    repeating-linear-gradient(90deg, rgba(23, 18, 15, .55) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(23, 18, 15, .8) 0 1.5px, transparent 1.5px 45px),
    linear-gradient(180deg, #ecd39e, #c9a35c);
  background-size: 100% 9px, 100% 15px, 100% 100%; background-repeat: repeat-x;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
}
.measure-card::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(231, 212, 176, .16); border-radius: 50%; right: -170px; top: 10px; }
.measure-card h3 { color: #fbf3e6; font-size: 1.65rem; }
.measure-list { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.measure-list li { padding-left: 22px; position: relative; font-size: .95rem; }
.measure-list li::before { content: "✦"; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: .78rem; }
.measure-card .small { position: relative; z-index: 1; color: #b9aa9b; margin: 0; padding-top: 18px; border-top: 1px solid rgba(231, 212, 176, .14); }

/* Order */
.order { background: var(--grain), linear-gradient(180deg, var(--paper), var(--blush-l)); }
.order-grid { display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.courier-box {
  display: block; font-style: normal; background: #fffdf9; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 20px 24px; border-radius: 12px; margin: 22px 0; color: var(--ink); line-height: 1.65; box-shadow: var(--shadow);
}
.courier-label { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 6px; }
.ship-pill { background: #fff8ea; border: 1px solid var(--gold-l); border-radius: 12px; padding: 13px 16px; font-size: .9rem; color: var(--ink); }
.order-form {
  position: relative; background: #fffdf9; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.order-form::before { content: ""; position: absolute; left: 36px; right: 36px; top: -1px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: .68rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; letter-spacing: .15em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #dcc8ab; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(180, 138, 74, .14); }
.field .invalid { border-color: #c0392b; }
.field select.picked { border-color: var(--gold); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios legend { width: 100%; }
.radios label { display: flex; align-items: center; gap: 9px; font-size: .92rem; cursor: pointer; }
.radios input { accent-color: var(--gold-d); width: 17px; height: 17px; }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-msg { margin: 14px 0 0; font-size: .92rem; text-align: center; }
.form-msg.error { color: #b03a2e; }
.success { text-align: center; padding: 20px 0; }
.success .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin: 0 auto 20px; font-size: 2rem; color: var(--gold-l); box-shadow: 0 0 0 8px var(--blush-l); }
.success .code { font: 600 2.2rem var(--serif); color: var(--ink); letter-spacing: .08em; }
.success ol { text-align: left; max-width: 380px; margin: 16px auto 24px; padding-left: 20px; font-size: .92rem; }
.form-ship { text-align: center; color: var(--muted); margin: 4px 0 14px; }

/* Booking form: customer's own design photo */
.own-upload {
  position: relative; display: grid; place-items: center; min-height: 132px; padding: 14px; text-align: center;
  border: 1.5px dashed #dcc8ab; border-radius: 12px; background: var(--paper); color: var(--muted); cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.own-upload:hover { border-color: var(--gold); background: #fffaf1; }
.own-upload.invalid { border-color: #c0392b; }
.own-upload strong { color: var(--ink); font-weight: 500; }
.own-upload img { max-height: 220px; width: auto; border-radius: 8px; }
.own-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-label { display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap; }
.upload-label svg { color: var(--gold-d); }
.upload-label small { font-size: .76rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
[hidden] { display: none !important; }

/* Instagram band */
.insta { position: relative; overflow: hidden; background: var(--night); color: #d9ccbf; padding: clamp(68px, 8vw, 104px) 0; }
.insta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 90% at 88% 50%, rgba(201, 157, 88, .2), transparent 70%), radial-gradient(35% 70% at 6% 0, rgba(231, 179, 171, .12), transparent 70%);
}
.insta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(32px, 5vw, 72px); }
.insta h2 { color: #fbf3e6; margin-bottom: 12px; }
.insta-copy > p:not(.eyebrow) { margin: 0 0 28px; max-width: 30em; }
.insta-grid { display: grid; grid-template-columns: repeat(3, clamp(84px, 9vw, 120px)); gap: 10px; }
.insta-grid span { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--night-2); }
.insta-grid span:nth-child(2) { border-radius: 999px 999px 12px 12px; }
.insta-grid span:nth-child(4) { border-radius: 12px 12px 999px 999px; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease); }
.insta-grid span:hover img { transform: scale(1.08); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; cursor: pointer; list-style: none; padding: 24px 60px 24px 0;
  font: 500 1.42rem/1.3 var(--serif); color: var(--ink); transition: color .3s;
}
.faq-list summary:hover { color: var(--gold-d); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: linear-gradient(var(--gold-d), var(--gold-d)) center / 12px 1px no-repeat, linear-gradient(var(--gold-d), var(--gold-d)) center / 1px 12px no-repeat;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--blush-l); border-color: var(--gold-l); }
.faq-list details p { padding: 0 60px 24px 0; margin: 0; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}

/* Footer */
.site-footer { position: relative; background: var(--night); color: #b5a797; padding: clamp(64px, 8vw, 100px) 0 96px; overflow: hidden; } /* bottom room for the pinned credit */
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 157, 88, .55), transparent); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-grid h4 { color: #fbf3e6; font-size: 1.3rem; margin-bottom: 18px; }
.footer-grid a { color: #e8d9c6; text-decoration: none; transition: color .3s; }
.footer-grid a:hover { color: var(--gold-l); }
.brand-footer { color: #fbf3e6; font-size: 1.8rem; margin-bottom: 16px; }
.brand-footer img { width: 58px; height: 58px; box-shadow: 0 0 0 1px rgba(231, 212, 176, .35); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { flex: none; color: var(--gold); }
.footer-bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  border-top: 1px solid rgba(231, 212, 176, .14); margin-top: 52px; padding-top: 24px; color: #8d7f71;
}
.footer-bottom a { color: var(--gold-l); font-weight: 500; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Instagram float */
.ig-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--ig); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(204, 35, 102, .65), 0 0 0 4px rgba(251, 247, 241, .7);
  opacity: 0; transform: scale(.7); pointer-events: none; transition: opacity .45s ease, transform .45s var(--ease);
}
.ig-float.show { opacity: 1; transform: none; pointer-events: auto; }
.ig-float.show:hover { transform: scale(1.08); }

/* "Developed by HMGenX": the same black-and-gold card as Voxera's console, with a shine across it every few seconds.
   Pinned bottom-left on every screen. On phones it waits until the hero buttons are scrolled past,
   and a copy in the hero photos shows until then. */
.dev-credit {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  font: 400 12px/1.2 var(--sans);
  background: linear-gradient(135deg, #1e1c18, #0a0a08);
  border: 1px solid rgba(222, 181, 77, .55);
  box-shadow: 0 0 0 3px rgba(201, 152, 44, .12), 0 10px 26px rgba(10, 10, 8, .3);
  transition: border-color .25s, box-shadow .25s;
}
.dev-credit:hover { border-color: #e8cb76; box-shadow: 0 0 0 3px rgba(201, 152, 44, .2), 0 12px 30px rgba(201, 152, 44, .3); }
.dev-credit:focus-visible { outline: 2px solid #deb54d; outline-offset: 2px; }
.dev-credit::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 200, .3) 48%, transparent 66%);
  transform: translateX(-120%); animation: devShine 4.5s ease-in-out infinite;
}
@keyframes devShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
/* The HMGenX logo's mark, painted gold */
.dev-credit-mark {
  width: 24px; height: 13px; flex: none; background: linear-gradient(90deg, #deb54d, #f2e0aa 50%, #c9982c);
  -webkit-mask: url(../img/hmgenx-mark.png) center / contain no-repeat; mask: url(../img/hmgenx-mark.png) center / contain no-repeat;
}
.dev-credit-by { color: #b8ae9e; }
.dev-credit-name {
  font-weight: 600; letter-spacing: .03em;
  background: linear-gradient(90deg, #deb54d, #f2e0aa 50%, #c9982c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dev-credit-go { color: #deb54d; font-size: 11px; }
.dev-credit-float {
  position: fixed; z-index: 55; left: 22px; bottom: calc(34px + env(safe-area-inset-bottom));
  animation: fadeUp .9s var(--ease) 1.4s backwards;
  transition: border-color .25s, box-shadow .25s, opacity .45s ease, transform .45s var(--ease);
}
.dev-credit-hero { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; border-radius: 20px; max-width: min(540px, 92vw); width: 100%; background: #fffdf9; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.lightbox::backdrop { background: rgba(21, 16, 13, .78); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: var(--cream); }
.lb-body { padding: 20px 26px 24px; }
.lb-body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.lb-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 1; transition: transform .4s var(--ease); }
.lb-close:hover { transform: rotate(90deg); }

/* Instagram reels */
.reels { background: var(--grain), linear-gradient(180deg, var(--paper), var(--blush-l) 55%, var(--paper)); }
.reel-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); justify-content: center; gap: 26px; }
.reel-card { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.reel-card .instagram-media, .reel-card iframe.instagram-media {
  width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important;
  border-radius: 18px !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow-lg) !important; background: #fff !important;
}
.reel-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 9 / 14;
  background: linear-gradient(160deg, var(--cream-2), var(--blush-l)); color: var(--ink); text-decoration: none; font-weight: 500;
}
.reel-play { width: 66px; height: 66px; border-radius: 50%; background: var(--ig); color: #fff; display: grid; place-items: center; font-size: 1.5rem; padding-left: 4px; }
.reel-badge {
  align-self: center; margin-bottom: 12px; white-space: nowrap;
  background: var(--ink); color: var(--gold-l); font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px; box-shadow: 0 10px 20px -12px rgba(23, 18, 15, .8);
}
.reel-badge::before { content: "✦ "; color: var(--gold); }
.reel-card figcaption { margin-top: 14px; text-align: center; font-size: .92rem; color: var(--ink-2); }
.reels-more { text-align: center; margin: 40px 0 0; }

/* ---------- Mobile slide-in menu ---------- */
html.menu-open, html.menu-open body { overflow: hidden; }
.mnav { position: fixed; inset: 0; z-index: 100; }
.mnav-backdrop {
  position: absolute; inset: 0; background: rgba(21, 16, 13, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .4s ease;
}
.mnav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 100% 0, var(--blush-l), transparent 55%),
    radial-gradient(circle at 0 100%, var(--cream-2), transparent 50%),
    var(--paper);
  border-radius: 26px 0 0 26px; box-shadow: -24px 0 60px -20px rgba(40, 25, 15, .45);
  transform: translateX(104%); transition: transform .55s cubic-bezier(.22, .9, .25, 1);
}
.mnav.open .mnav-backdrop { opacity: 1; }
.mnav.open .mnav-panel { transform: none; }

.mnav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mnav-head .brand { font-size: 1.3rem; }
.mnav-head .brand img { width: 44px; height: 44px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-l); }
.mnav-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: transform .3s ease, background .2s;
}
.mnav-close:active { transform: scale(.92) rotate(90deg); background: var(--blush-l); }

.mnav-links { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
.mnav-links > a {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 16px;
  text-decoration: none; color: var(--ink); transition: background .2s, transform .2s;
}
.mnav-links > a:active { transform: scale(.98); }
.mnav-links > a:hover, .mnav-links > a.is-active { background: #fff; box-shadow: 0 8px 20px -14px rgba(60, 40, 20, .5); }
.mnav-ico {
  flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blush-l); color: var(--gold-d); transition: background .2s, color .2s;
}
.mnav-ico svg { width: 21px; height: 21px; }
.mnav-links > a.is-active .mnav-ico { background: var(--ink); color: var(--gold-l); }
.mnav-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.mnav-text b { font: 600 1.3rem var(--serif); }
.mnav-text small { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.mnav-arrow { color: var(--gold); font-size: 1.1rem; transition: transform .2s; }
.mnav-links > a.is-active .mnav-arrow { transform: translateX(3px); }
.mnav-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 8px 68px; scrollbar-width: none; }
.mnav-chips::-webkit-scrollbar { display: none; }
.mnav-chips button {
  flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px;
  padding: 7px 13px; font: 400 .8rem var(--sans); cursor: pointer;
}
.mnav-chips button:active { background: var(--ink); color: #fff; }
.mnav-actions { margin-top: auto; display: grid; gap: 10px; padding-top: 10px; }
.mnav-actions .btn { padding: 15px 18px; }
.mnav-actions .btn-instagram { margin-top: 0; font-size: .85rem; }
.mnav-foot { text-align: center; color: var(--muted); font-size: .78rem; margin: 14px 0 0; }
/* Panel contents arrive one after another */
.mnav-head, .mnav-links > *, .mnav-actions, .mnav-foot { opacity: 0; transform: translateX(26px); transition: opacity .45s ease, transform .5s cubic-bezier(.22, .9, .25, 1); }
.mnav.open .mnav-head, .mnav.open .mnav-links > *, .mnav.open .mnav-actions, .mnav.open .mnav-foot { opacity: 1; transform: none; }
.mnav.open .mnav-head { transition-delay: .1s; }
.mnav.open .mnav-links > :nth-child(1) { transition-delay: .14s; }
.mnav.open .mnav-links > :nth-child(2) { transition-delay: .18s; }
.mnav.open .mnav-links > :nth-child(3) { transition-delay: .22s; }
.mnav.open .mnav-links > :nth-child(4) { transition-delay: .26s; }
.mnav.open .mnav-links > :nth-child(5) { transition-delay: .3s; }
.mnav.open .mnav-links > :nth-child(6) { transition-delay: .34s; }
.mnav.open .mnav-links > :nth-child(7) { transition-delay: .38s; }
.mnav.open .mnav-links > :nth-child(8) { transition-delay: .42s; }
.mnav.open .mnav-actions { transition-delay: .44s; }
.mnav.open .mnav-foot { transition-delay: .5s; }
@media (max-height: 640px) {
  .mnav-links > a { padding: 8px 10px; }
  .mnav-text small { display: none; }
}

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes zoomFade { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.2); } to { transform: none; } }
@keyframes sealIn { from { opacity: 0; transform: scale(.55) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: 100% 0; } }

/* Page load: header, then the hero line by line while the photos rise into their arches.
   Held until main.js marks the page ready (fonts in), so nothing jumps mid-animation. */
.js .site-header { animation: fadeDown 1s var(--ease) both; }
.js .hero .eyebrow, .js .hero .lead, .js .hero-cta, .js .hero-stats, .js .seal, .js .float-card, .js .scroll-cue, .js .dev-credit-hero { opacity: 0; }
.js .hero-title .line > span { transform: translateY(110%); }
.js .arch { clip-path: inset(100% 0 0 0); }
.is-ready .hero .eyebrow { animation: fadeUp 1s var(--ease) .1s both; }
.is-ready .hero-title .line > span { animation: lineUp 1.2s var(--ease) both; }
.is-ready .hero-title .line:nth-child(1) > span { animation-delay: .2s; }
.is-ready .hero-title .line:nth-child(2) > span { animation-delay: .33s; }
.is-ready .hero-title .line:nth-child(3) > span { animation-delay: .46s; }
.is-ready .hero-title em { animation: shimmer 2.4s var(--ease) 1.2s both; }
.is-ready .hero .lead { animation: fadeUp 1.1s var(--ease) .66s both; }
.is-ready .hero-cta { animation: fadeUp 1.1s var(--ease) .8s both; }
.is-ready .hero-stats { animation: fadeUp 1.1s var(--ease) .94s both; }
.is-ready .arch-main { animation: curtain 1.5s var(--ease) .25s both; }
.is-ready .arch-main img { animation: settle 2.4s var(--ease) .25s both; }
.is-ready .arch-side { animation: curtain 1.4s var(--ease) .6s both; }
.is-ready .arch-side img { animation: settle 2.2s var(--ease) .6s both; }
.is-ready .seal { animation: sealIn 1.4s var(--ease) .95s both; }
.is-ready .float-card { animation: fadeUp 1s var(--ease) 1.25s both, floaty 7s ease-in-out 2.3s infinite; }
.is-ready .fc-2 { animation-delay: 1.45s, 2.6s; }
.is-ready .scroll-cue { animation: fadeIn 1s ease 1.8s both; }
.is-ready .dev-credit-hero { animation: fadeUp 1s var(--ease) 1.3s both; }

/* Scroll: blocks fade up as they come into view; rows follow one another (classes and delays set in main.js) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.15s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.reveal-fade { transform: none; }
.js .reveal.reveal-left { transform: translateX(-36px); }
.js .reveal.reveal-right { transform: translateX(36px); }
.js .reveal.reveal-zoom { transform: scale(.94); }
.js .reveal.in { opacity: 1; transform: none; }
/* Photos settle from a slight zoom as their card arrives */
.js .design.reveal .design-img img, .js .insta-grid .reveal img { transform: scale(1.14); }
.js .design.reveal.in .design-img img, .js .insta-grid .reveal.in img { transform: none; transition: transform 1.8s var(--ease) var(--delay, 0s), opacity .7s ease; }
/* Heading ornaments draw outwards */
.js .section-head h2.reveal::after { transform: scaleX(0); transition: transform 1.3s var(--ease) calc(var(--delay, 0s) + .35s); }
.js .section-head h2.reveal.in::after { transform: none; }
.js .ribbon.reveal { transform: none; }

/* Photos fade in once loaded */
.design-img img.fading { opacity: 0; } /* only while a photo is still downloading */
.design-img img.fading.loaded { opacity: 1; }
/* Cards re-appearing after a filter change */
.design.just-shown { animation: zoomFade .5s var(--ease) both; }
/* Lightbox, success message */
.lightbox[open] { animation: zoomFade .4s var(--ease) both; }
.lightbox[open]::backdrop { animation: fadeIn .4s ease both; }
.success { animation: fadeUp .7s var(--ease) both; }
.faq-list details[open] p { animation: fadeIn .5s ease both; }

/* If main.js never ran, show everything as-is */
.anim-off .site-header, .anim-off .hero .eyebrow, .anim-off .hero .lead, .anim-off .hero-cta, .anim-off .hero-stats,
.anim-off .seal, .anim-off .float-card, .anim-off .scroll-cue, .anim-off .hero-title .line > span, .anim-off .arch, .anim-off .arch img, .anim-off .dev-credit-hero {
  animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .eyebrow, .js .hero .lead, .js .hero-cta, .js .hero-stats, .js .seal, .js .float-card,
  .js .scroll-cue, .js .hero-title .line > span, .js .arch, .js .arch img, .js .dev-credit-hero, .design-img img {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .mnav-head, .mnav-links > *, .mnav-actions, .mnav-foot { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav { display: none; } /* tablets and phones use the slide-in menu (.mnav) */
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; text-align: center; }
  .hero-art { order: -1; justify-self: center; width: min(430px, 88%); }
  .hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-mono { left: 50%; top: 30%; transform: translate(-50%, -50%); }
  .steps { grid-template-columns: 1fr 1fr; }
  .measure-grid, .order-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .insta-inner { grid-template-columns: 1fr; text-align: center; }
  .insta-copy > p:not(.eyebrow) { margin-inline: auto; }
  .insta .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; }
  .insta-grid { justify-content: center; }
}
@media (max-width: 760px) {
  .price-list { columns: 1; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2::after { margin-top: 18px; }
  .eyebrow { font-size: .64rem; letter-spacing: .26em; gap: 10px; }
  .eyebrow::before, .section-head .eyebrow::after, .hero .eyebrow::after, .insta .eyebrow::after { width: 22px; }
  .brand { font-size: 1.32rem; gap: 10px; }
  .brand img { width: 40px; height: 40px; }

  .hero { padding-bottom: 64px; }
  h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero-grid { gap: 30px; }
  .hero-art { width: min(330px, 90%); }
  .seal { width: 92px; left: 4%; top: 3%; }
  .seal-ring text { font-size: 13px; }
  .float-card { display: none; }
  .lead { font-size: 1.04rem; }
  .hero .eyebrow { letter-spacing: .22em; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .hero-cta { gap: 10px; margin: 28px 0 34px; }
  .hero-cta .btn { flex: 1 1 140px; padding: 16px 10px; font-size: .72rem; letter-spacing: .12em; white-space: nowrap; }
  .hero-cta .btn svg { display: none; }
  .hero-stats { flex-wrap: nowrap; }
  .hero-stats li { padding: 2px 14px; flex: 1 1 0; min-width: 0; align-items: center; }
  .hero-stats strong { font-size: 1.45rem; white-space: nowrap; }
  .hero-stats span { font-size: .58rem; letter-spacing: .12em; }

  .ribbon { padding: 15px 0; }
  .ribbon-track span { font-size: 1.25rem; padding: 0 20px; }

  .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .step { padding: 24px 22px; }
  .step-top { margin-bottom: 16px; }
  .step-no { font-size: 2.7rem; }
  .field-row { gap: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 30px; padding: 2px 16px 8px; scrollbar-width: none; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .design-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .design-body { padding: 12px 12px 14px; }
  .design-body h3 { font-size: 1.08rem; }
  .design-body p { display: none; }
  .design-img::after { display: none; }
  .tag { font-size: .56rem; letter-spacing: .14em; }
  .badge { font-size: .52rem; padding: 5px 8px; top: 8px; left: 8px; letter-spacing: .14em; }
  .price { font-size: 1.25rem; }
  .design-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .design-foot .btn { width: 100%; padding: 11px 10px; }

  .price-list { padding: 30px 26px; }
  .price-list::before { inset: 8px; }
  .price-list::after { inset: 12px; }
  .price-row { flex-wrap: wrap; gap: 4px 12px; padding: 15px 0; }
  .price-row .dots { display: none; }
  .price-row > div { flex: 1 1 60%; }
  .price-row h3 { font-size: 1.15rem; }
  .price-row strong { font-size: 1.35rem; }

  .measure-card { padding: 58px 22px 26px; }
  .measure-list { gap: 9px 12px; }
  .measure-list li { font-size: .88rem; }
  .option { padding: 16px; gap: 14px; }

  .order-form { padding: 24px 18px; border-radius: 18px; }
  .order-form::before { left: 22px; right: 22px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* 16px stops iPhones zooming into the form */
  .radios { flex-direction: column; }
  .btn-instagram { width: 100%; }
  .courier-box, .contact-list, .footer-grid p { overflow-wrap: anywhere; }

  .insta { padding: 56px 0; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .faq-list summary { font-size: 1.18rem; padding: 20px 52px 20px 0; }
  .faq-list summary::after { width: 34px; height: 34px; margin-top: -17px; }
  .faq-list details p { padding-right: 0; }

  .footer-grid { gap: 30px; text-align: center; }
  .brand-footer { justify-content: center; }
  .contact-list li { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; margin-top: 36px; }
  .site-footer { padding-bottom: 96px; } /* room for the Instagram button */
  .ig-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .ig-float svg { width: 22px; height: 22px; }
  .dev-credit { padding: 8px 13px; gap: 6px; font-size: 11.5px; }
  .dev-credit-float { left: 14px; bottom: calc(24px + env(safe-area-inset-bottom)); animation: none; opacity: 0; transform: translateY(12px); pointer-events: none; }
  .dev-credit-float.show { opacity: 1; transform: none; pointer-events: auto; }
  .dev-credit-hero { display: inline-flex; position: absolute; z-index: 3; right: 1%; bottom: 3%; }

  /* Swipe through reels one at a time */
  .reel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 16px 16px 10px; scrollbar-width: none; justify-content: flex-start; overscroll-behavior-x: contain; }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel-card { flex: 0 0 min(86vw, 340px); scroll-snap-align: center; }
  .reel-track:has(.reel-card:only-child) { justify-content: center; }
  .mnav-chips { overscroll-behavior-x: contain; }

  /* Keep every block inside the screen */
  section, header, footer, main { max-width: 100vw; }
  img, iframe, video, svg { max-width: 100%; }
}
