/* AVA — theava.ca
   Quiet maison: Cartier restraint · Porsche precision · Swarovski light.
   Never copy maison jewellery designs or third-party marks. */

:root {
  --ivory: #F4EFE6;
  --paper: #FBFAF7;
  --ink: #0C0B09;
  --ink-soft: #1A1814;
  --muted: #6B645A;
  --muted-2: #8A8276;
  --gold: #B8954A;
  --gold-bright: #D4AF6A;
  --gold-dim: rgba(184, 149, 74, 0.35);
  --ruby: #7A1F32;
  --night: #0A0908;
  --crystal: rgba(255, 255, 255, 0.55);
  --display: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(1.75rem, 5.5vw, 5.5rem);
  --measure: 36rem;
  --wide: 74rem;
  --hair: 1px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-pad: 1.45rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
  text-decoration-color: transparent;
  transition: color 0.45s var(--ease), text-decoration-color 0.45s var(--ease), opacity 0.45s var(--ease);
}

a:hover { text-decoration-color: var(--gold); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: var(--ivory);
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip:focus { transform: translateY(0); }

/* —— Scroll progress —— */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 60;
  pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  opacity: 0.92;
  will-change: transform;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress-fill linear;
    animation-timeline: scroll(root);
  }
  @keyframes progress-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* —— Custom cursor (fine pointer only) —— */

.cursor-dot,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-cursor {
    cursor: none;
  }
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor select,
  body.has-cursor textarea,
  body.has-cursor label,
  body.has-cursor .btn,
  body.has-cursor .hero-cta,
  body.has-cursor .entry,
  body.has-cursor .nav-toggle {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 90;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  }

  .cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--gold-bright);
    box-shadow: 0 0 8px rgba(212, 175, 106, 0.45);
  }

  .cursor-ring {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(184, 149, 74, 0.55);
    background: transparent;
  }

  body.has-cursor .cursor-dot.is-on,
  body.has-cursor .cursor-ring.is-on {
    opacity: 1;
  }

  body.has-cursor .cursor-ring.is-active {
    width: 42px;
    height: 42px;
    border-color: rgba(212, 175, 106, 0.85);
  }

  body.has-cursor .cursor-dot.is-active {
    background: var(--ruby);
    width: 4px;
    height: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-ring { display: none !important; }
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor select,
  body.has-cursor textarea,
  body.has-cursor label,
  body.has-cursor .btn,
  body.has-cursor .hero-cta,
  body.has-cursor .entry,
  body.has-cursor .nav-toggle {
    cursor: auto;
  }
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0 var(--pad);
  background: rgba(244, 239, 230, 0.72);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), padding 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 1px 0 rgba(184, 149, 74, 0.18), 0 12px 40px rgba(12, 11, 9, 0.04);
}

.site-header.is-scrolled .header-inner {
  padding-top: 1rem;
  padding-bottom: 0.9rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--header-pad) 0 1.3rem;
  transition: padding 0.45s var(--ease);
}

.wordmark {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
  padding-left: 0.1em;
}

.wordmark:hover {
  text-decoration: none;
  opacity: 0.55;
}

.seal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ruby);
  box-shadow: 0 0 0 1px rgba(122, 31, 50, 0.2), 0 0 10px rgba(122, 31, 50, 0.25);
  flex-shrink: 0;
  margin-left: -0.1em;
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover { opacity: 0.5; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] { color: var(--ink); }

.hairline {
  height: var(--hair);
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold-bright) 50%, var(--gold) 88%, transparent);
  max-width: var(--wide);
  margin: 0 auto;
  opacity: 0.85;
  transform-origin: center;
}

.hairline.is-draw {
  animation: draw-line 1.6s var(--ease-out) both;
}

@keyframes draw-line {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 0.85; }
}

@media (max-width: 879px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    background: rgba(251, 250, 247, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.4rem var(--pad) 2rem;
    border-bottom: var(--hair) solid var(--gold-dim);
  }
  .site-nav.is-open { display: block; }
  .header-inner { position: relative; }
  .site-nav a::after { display: none; }
}

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul {
    flex-direction: row;
    gap: 2.1rem;
  }
}

/* —— Reveal on scroll —— */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-1rem);
}

[data-reveal="left"].is-revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: translateY(0.75rem) scale(0.985);
}

[data-reveal="scale"].is-revealed {
  transform: translateY(0) scale(1);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal].js-view-timeline {
      opacity: 1;
      transform: none;
      animation: reveal-view both linear;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    @keyframes reveal-view {
      from { opacity: 0; transform: translateY(1.15rem); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none !important;
  }
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem var(--pad) 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 72% 28%, rgba(212, 175, 106, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 55% at 38% 58%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(12, 11, 9, 0.06), transparent 45%),
    linear-gradient(165deg, #F7F2E9 0%, var(--ivory) 42%, #EDE6D8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 49%, transparent 58%);
  pointer-events: none;
  mix-blend-mode: soft-light;
  animation: shear 14s var(--ease) infinite alternate;
}

@keyframes shear {
  from { transform: translateX(-4%); opacity: 0.35; }
  to { transform: translateX(4%); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; opacity: 0.45; }
}

.hero-ring {
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(82vw, 46rem);
  height: min(82vw, 46rem);
  transform: translate3d(-50%, 0, 0);
  pointer-events: none;
  opacity: 0.42;
  will-change: transform;
}

.hero-ring ellipse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
}

.hero-ring ellipse:nth-child(2) {
  stroke: rgba(212, 175, 106, 0.45);
  stroke-dasharray: 2 6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 2rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.6rem, 15vw, 10.5rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  line-height: 0.88;
  margin: 0 0 1.85rem;
  padding-left: 0.4em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 0 auto 2.75rem;
  max-width: 28rem;
  line-height: 1.45;
}

.hero-rule {
  width: min(9rem, 28vw);
  height: var(--hair);
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  margin: 0 auto 2.75rem;
  transform-origin: center;
}

.hero-rule.is-draw {
  animation: draw-line 1.8s 0.25s var(--ease-out) both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: var(--hair) solid var(--gold);
  padding: 0.35rem 0 0.55rem;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}

.hero-cta:hover {
  opacity: 0.55;
  text-decoration: none;
}

.hero-inner.is-enter .hero-kicker,
.hero-inner.is-enter .hero-mark,
.hero-inner.is-enter .hero-sub,
.hero-inner.is-enter .hero-rule,
.hero-inner.is-enter .hero-cta {
  animation: rise 1.25s var(--ease-out) both;
}

.hero-inner.is-enter .hero-mark { animation-delay: 0.08s; }
.hero-inner.is-enter .hero-sub { animation-delay: 0.16s; }
.hero-inner.is-enter .hero-rule { animation-delay: 0.28s; }
.hero-inner.is-enter .hero-cta { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hairline.is-draw,
  .hero-rule.is-draw,
  .hero-inner.is-enter .hero-kicker,
  .hero-inner.is-enter .hero-mark,
  .hero-inner.is-enter .hero-sub,
  .hero-inner.is-enter .hero-rule,
  .hero-inner.is-enter .hero-cta {
    animation: none;
  }
}

/* —— Instrument strip (Porsche precision) —— */

.instrument {
  padding: 0 var(--pad);
  background: var(--ivory);
  border-top: var(--hair) solid var(--gold-dim);
  border-bottom: var(--hair) solid var(--gold-dim);
}

.instrument-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.35rem 0 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.instrument-scale {
  position: relative;
  height: 1.1rem;
  background:
    repeating-linear-gradient(
      90deg,
      var(--gold-dim) 0,
      var(--gold-dim) 1px,
      transparent 1px,
      transparent 12px
    );
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.instrument-scale::before,
.instrument-scale::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
}

.instrument-scale::before { left: 0; }
.instrument-scale::after { right: 0; }

.instrument-scale span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-bright);
}

.instrument-scale span:nth-child(1) { left: 25%; height: 70%; }
.instrument-scale span:nth-child(2) { left: 50%; height: 100%; }
.instrument-scale span:nth-child(3) { left: 75%; height: 70%; }

.instrument-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  align-items: baseline;
}

.instrument-label {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.instrument-note {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— Entries —— */

.entries {
  padding: 5.5rem var(--pad) 7rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.entries-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.entries-list li {
  border-top: var(--hair) solid var(--gold-dim);
  padding: 2.25rem 0 2.4rem;
}

.entries-list li:last-child {
  border-bottom: var(--hair) solid var(--gold-dim);
}

.entry {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.entry:hover {
  text-decoration: none;
  opacity: 0.58;
  transform: translateX(0.4rem);
}

.entry-index {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.entry h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  letter-spacing: 0.08em;
  margin: 0 0 0.55rem;
  line-height: 1.05;
}

.entry p {
  margin: 0;
  color: var(--muted);
  max-width: 24rem;
  font-size: 0.98rem;
  font-weight: 300;
}

@media (min-width: 880px) {
  .entries-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .entries-list li {
    border-top: 0;
    border-bottom: 0;
    border-left: var(--hair) solid var(--gold-dim);
    padding: 0.5rem 2.5rem;
  }
  .entries-list li:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .entries-list li:last-child {
    padding-right: 0;
    border-bottom: 0;
  }
  .entry:hover { transform: translateY(-0.35rem); }
}

/* —— Night band (Porsche precision) —— */

.night-band {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(184, 149, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(122, 31, 50, 0.08), transparent 50%),
    var(--night);
  color: var(--ivory);
  padding: 5rem var(--pad);
  overflow: hidden;
}

.night-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(255, 255, 255, 0.03) 50%, transparent 55%);
  pointer-events: none;
}

.night-band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .night-band-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}

.night-band .kicker { color: var(--gold-bright); }

.night-band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  line-height: 1.15;
  max-width: 14ch;
}

.night-band p {
  margin: 0;
  color: rgba(244, 239, 230, 0.62);
  max-width: 28rem;
  font-weight: 300;
}

.night-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.night-stats li {
  border-top: var(--hair) solid rgba(184, 149, 74, 0.35);
  padding-top: 0.85rem;
  transition: border-color 0.45s var(--ease);
}

.night-stats li:hover {
  border-top-color: rgba(212, 175, 106, 0.7);
}

.night-stats span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

.night-stats strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

/* —— Page frame —— */

.page {
  padding: 4rem var(--pad) 6rem;
}

.page-inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.kicker {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.15rem;
}

.page h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0 0 1.6rem;
  max-width: 14ch;
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 3.25rem;
}

.prose { max-width: var(--measure); }

.prose p {
  margin: 0 0 1.3rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 3.25rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 5.5rem;
    align-items: start;
  }
  .page { padding-top: 5rem; }
}

/* —— Process —— */

.process {
  list-style: none;
  margin: 3.75rem 0 0;
  padding: 0;
  border-left: var(--hair) solid var(--gold-dim);
}

.process li {
  padding: 0 0 2.6rem 1.9rem;
  position: relative;
}

.process li:last-child { padding-bottom: 0; }

.process li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ivory);
  border: var(--hair) solid var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 74, 0.12);
}

.process .step-n {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.process h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0 0 0.45rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
  font-weight: 300;
}

.box-silhouette {
  margin-top: 2.5rem;
  height: 4.5rem;
  max-width: 14rem;
  border: var(--hair) solid var(--gold-dim);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(90deg, transparent, rgba(184, 149, 74, 0.08), transparent),
    var(--paper);
  position: relative;
}

.box-silhouette::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: var(--hair) solid rgba(184, 149, 74, 0.35);
}

/* —— Collection (legacy .capsule-* class names) —— */

.capsule-intro {
  max-width: 36rem;
  margin-bottom: 3.25rem;
}

.silk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.silk-frame {
  aspect-ratio: 4 / 5;
  border: var(--hair) solid var(--gold-dim);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.45) 0%, transparent 38%),
    radial-gradient(ellipse 55% 40% at 35% 28%, rgba(255, 252, 246, 0.85), transparent 55%),
    linear-gradient(185deg, #F0E7D8 0%, #E5D8C4 45%, #D8C8B0 100%);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -20px 40px rgba(12, 11, 9, 0.04);
}

.silk-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  transform: translateX(-30%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}

.silk-frame:hover::before { transform: translateX(40%); }

.silk-frame::after {
  content: "";
  position: absolute;
  inset: 20% 24%;
  border: var(--hair) solid rgba(184, 149, 74, 0.4);
  border-radius: 50% / 42%;
  transform: rotate(-16deg);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.25),
    0 0 24px rgba(212, 175, 106, 0.08);
}

.silk-specular {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(212, 175, 106, 0.12), transparent 35%);
  mix-blend-mode: soft-light;
  opacity: 0.85;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .silk-frame::before { transition: none; }
  .silk-frame:hover::before { transform: translateX(-30%); }
}

.silk-caption {
  margin: 0.8rem 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.capsule-note {
  margin-top: 3.25rem;
  max-width: var(--measure);
  color: var(--muted);
  font-weight: 300;
}

@media (min-width: 600px) {
  .silk-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.65rem 1.9rem;
  }
}

@media (min-width: 960px) {
  .silk-grid { grid-template-columns: repeat(3, 1fr); }
}

/* —— Form —— */

.inquire-layout {
  display: grid;
  gap: 3.75rem;
}

@media (min-width: 900px) {
  .inquire-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 5.5rem;
    align-items: start;
  }
}

.form {
  background: var(--paper);
  padding: 2rem 1.6rem 2.25rem;
  border-top: var(--hair) solid var(--gold);
  border-bottom: var(--hair) solid var(--gold);
  box-shadow: 0 24px 60px rgba(12, 11, 9, 0.04);
}

@media (min-width: 600px) {
  .form { padding: 2.5rem 2.5rem 2.75rem; }
}

.field { margin: 0 0 1.45rem; }

.field label,
.field .label {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.req {
  color: var(--ruby);
  margin-left: 0.2em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  appearance: none;
  background: var(--ivory);
  border: var(--hair) solid rgba(12, 11, 9, 0.14);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.8rem 0.9rem;
  line-height: 1.4;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.field textarea {
  min-height: 8.75rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(12, 11, 9, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 74, 0.12);
  outline: none;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.1rem;
}

.radios {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.radios label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
  font-weight: 300;
  margin: 0;
  cursor: pointer;
}

.radios input {
  width: 0.85rem;
  height: 0.85rem;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem 1.85rem;
  margin-top: 1.9rem;
}

.btn {
  appearance: none;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  cursor: pointer;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}

.btn:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.form-fallback {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.form-fallback a { color: var(--ink); }

.form-status {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status[data-state="error"] { color: var(--ruby); }
.form-status[data-state="ok"] { color: var(--muted); }

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--ruby);
}

.field-error {
  display: none;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--ruby);
}

.field.is-invalid .field-error { display: block; }

/* —— Asides —— */

.aside-panel {
  padding-top: 1.65rem;
  border-top: var(--hair) solid var(--gold);
}

.aside-panel h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
  letter-spacing: 0.04em;
}

.aside-panel p,
.aside-panel li {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
}

.aside-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-panel li + li { margin-top: 0.75rem; }

.aside-panel li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--gold);
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* —— 404 —— */

.lost {
  min-height: calc(100svh - 11rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem var(--pad) 6.5rem;
  text-align: center;
}

.lost h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 500;
  margin: 0 0 1.1rem;
  max-width: none;
}

.lost p {
  color: var(--muted);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  margin: 0 0 2.25rem;
}

.lost a {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: var(--hair) solid var(--gold);
  padding-bottom: 0.4rem;
}

/* —— Footer —— */

.site-footer {
  padding: 0 var(--pad) 0;
  background: var(--night);
  color: rgba(244, 239, 230, 0.55);
}

.site-footer .hairline {
  margin: 0 auto;
  opacity: 0.5;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-mark {
  font-family: var(--display);
  letter-spacing: 0.36em;
  color: var(--ivory);
  font-weight: 500;
  font-size: 0.85rem;
}

.site-footer a {
  text-decoration: none;
  color: rgba(244, 239, 230, 0.55);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.site-footer a:hover { color: var(--ivory); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Product imagery (quiet luxury) —— */

.hero.hero--photo {
  background-color: #EDE6D8;
  background-image:
    linear-gradient(105deg, rgba(247, 242, 233, 0.92) 0%, rgba(247, 242, 233, 0.72) 38%, rgba(12, 11, 9, 0.18) 100%),
    url("../img/ava-broll-hero-wide.png");
  background-size: cover;
  background-position: 62% 45%;
  background-repeat: no-repeat;
}

.hero.hero--photo::before {
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.12) 49%, transparent 58%);
}

.hero.hero--photo .hero-ring {
  opacity: 0.28;
}

.hero.hero--photo .hero-sub {
  color: var(--ink-soft);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-gallery {
  padding: 0 var(--pad) 4.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.home-gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.home-gallery-head .kicker { margin: 0; }

.home-gallery-head a {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-bottom: var(--hair) solid var(--gold-dim);
  padding-bottom: 0.35rem;
}

.home-gallery-head a:hover {
  color: var(--ink);
  text-decoration: none;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .home-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1100px) {
  .home-gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.home-gallery-card {
  margin: 0;
}

.home-gallery-card figure {
  margin: 0;
}

.home-gallery-frame {
  aspect-ratio: 4 / 5;
  border: var(--hair) solid var(--gold-dim);
  overflow: hidden;
  background: #E8DFD0;
  position: relative;
}

.home-gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s var(--ease);
}

.home-gallery-card:hover .home-gallery-frame img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-card:hover .home-gallery-frame img { transform: none; }
}

.home-gallery-card figcaption {
  margin: 0.75rem 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.silk-frame.silk-frame--photo {
  background: #E8DFD0;
  padding: 0;
}

.silk-frame.silk-frame--photo::after {
  display: none;
}

.silk-frame.silk-frame--photo .silk-specular {
  z-index: 2;
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.silk-frame.silk-frame--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}


/* —— Cinematic B-roll band —— */

.cinema-band {
  position: relative;
  min-height: min(68vh, 42rem);
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
}

.cinema-band-media {
  position: absolute;
  inset: 0;
}

.cinema-band-video,
.cinema-band-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cinema-band-video {
  z-index: 1;
}

.cinema-band-poster {
  z-index: 0;
}

.cinema-band-overlay {
  position: relative;
  z-index: 2;
  min-height: min(68vh, 42rem);
  display: flex;
  align-items: flex-end;
  padding: 4.5rem var(--pad) 3.75rem;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.15) 0%, rgba(10, 9, 8, 0.35) 45%, rgba(10, 9, 8, 0.78) 100%);
}

.cinema-band-copy {
  margin: 0;
  max-width: 28rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 230, 0.92);
  text-shadow: 0 1px 18px rgba(10, 9, 8, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .cinema-band-video {
    display: none !important;
  }
  .cinema-band-poster {
    z-index: 1;
  }
}


/* —— Studio —— */

.studio-page {
  padding-bottom: 5rem;
}

.studio-intro {
  margin-bottom: 0.5rem;
}

.studio-intro .lede {
  margin-bottom: 2.5rem;
}

.studio-layout {
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

@media (min-width: 980px) {
  .studio-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 3.5rem 4.5rem;
  }
}

.studio-stage {
  position: sticky;
  top: 5.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(184, 149, 74, 0.07), transparent 60%),
    var(--paper);
  border-top: var(--hair) solid var(--gold);
  border-bottom: var(--hair) solid var(--gold);
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 28px 70px rgba(12, 11, 9, 0.05);
}

@media (min-width: 600px) {
  .studio-stage {
    padding: 1.75rem 1.75rem 2rem;
  }
}

@media (max-width: 979px) {
  .studio-stage {
    position: relative;
    top: auto;
  }
}

.studio-stage-label {
  margin: 0 0 0.85rem;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.studio-preview-frame {
  aspect-ratio: 420 / 480;
  max-height: min(62vh, 34rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.55), transparent 45%),
    #F0EBE2;
  border: var(--hair) solid var(--gold-dim);
}

.studio-ring-svg {
  width: 100%;
  height: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.studio-ring-svg .ring-metal,
.studio-ring-svg .ring-prong,
.studio-ring-svg #stone-path,
.studio-ring-svg #bezel-ring,
.studio-ring-svg #hidden-halo,
.studio-ring-svg #band-knife,
.studio-ring-svg #cathedral-group path {
  transition: opacity 0.45s var(--ease), stroke 0.45s var(--ease), fill 0.45s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .studio-ring-svg .ring-metal,
  .studio-ring-svg .ring-prong,
  .studio-ring-svg #stone-path,
  .studio-ring-svg #bezel-ring,
  .studio-ring-svg #hidden-halo,
  .studio-ring-svg #band-knife,
  .studio-ring-svg #cathedral-group path,
  .studio-chip,
  .studio-spec-row dd {
    transition: none !important;
  }
}

.studio-stage-note {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

.studio-side {
  display: grid;
  gap: 2rem;
}

.studio-controls {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.studio-field {
  margin: 0 0 1.65rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.studio-field legend,
.studio-field > label,
.studio-slider-head label {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
  padding: 0;
}

.studio-optional {
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--muted-2);
  font-size: 0.85em;
}

.studio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-chip {
  appearance: none;
  background: var(--paper);
  border: var(--hair) solid rgba(12, 11, 9, 0.14);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.studio-chip:hover {
  border-color: rgba(12, 11, 9, 0.35);
}

.studio-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.studio-chip:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.studio-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.studio-slider-head label {
  margin-bottom: 0;
}

.studio-readout {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.studio-field input[type="range"] {
  width: 100%;
  appearance: none;
  background: transparent;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.studio-field input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--gold-dim);
}

.studio-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -6.5px;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
}

.studio-field input[type="range"]::-moz-range-track {
  height: 1px;
  background: var(--gold-dim);
  border: 0;
}

.studio-field input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
}

.studio-field input[type="text"] {
  width: 100%;
  appearance: none;
  background: var(--paper);
  border: var(--hair) solid rgba(12, 11, 9, 0.14);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.studio-field input[type="text"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 74, 0.12);
  outline: none;
}

.studio-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.studio-spec {
  background: var(--paper);
  border-top: var(--hair) solid var(--gold);
  border-bottom: var(--hair) solid var(--gold);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 24px 60px rgba(12, 11, 9, 0.04);
}

@media (min-width: 600px) {
  .studio-spec {
    padding: 2rem 2rem 2.25rem;
  }
}

.studio-spec .kicker {
  margin-bottom: 1.25rem;
}

.studio-spec-list {
  margin: 0 0 1.35rem;
  padding: 0;
}

.studio-spec-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.4fr) minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  padding: 0.65rem 0;
  border-top: var(--hair) solid rgba(12, 11, 9, 0.08);
}

.studio-spec-row:last-child {
  border-bottom: var(--hair) solid rgba(12, 11, 9, 0.08);
}

.studio-spec-row dt {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

.studio-spec-row dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.3;
}

.studio-spec-note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 32rem;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: var(--hair) solid rgba(12, 11, 9, 0.28);
}

.btn-ghost:hover {
  opacity: 1;
  border-color: var(--ink);
  background: rgba(12, 11, 9, 0.04);
}

.studio-status {
  margin: 1rem 0 0;
  min-height: 1.35em;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Inquire — studio specification field */

.field-studio-spec {
  display: none;
}

.field-studio-spec.is-visible {
  display: block;
}

.field-studio-spec textarea {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  min-height: 11rem;
  white-space: pre-wrap;
}

.studio-carry-hint {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-2);
  font-weight: 300;
}


/* —— Interior page B-roll strips —— */

.page-strip {
  margin: 0 0 3.5rem;
  padding: 0 var(--pad);
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.page-strip--tight {
  margin-bottom: 2.75rem;
}

.page-strip-frame {
  margin: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: var(--hair) solid var(--gold-dim);
  background: #E8DFD0;
}

.page-strip-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-strip-caption {
  margin: 0.85rem 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-side-frame {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--hair) solid var(--gold-dim);
  background: #E8DFD0;
}

.page-side-frame--portrait {
  aspect-ratio: 3 / 4;
}

.page-side-frame--inline {
  margin: 2rem 0 0;
  max-width: 22rem;
  aspect-ratio: 4 / 5;
}

.page-side-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-side-caption {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.page .page-strip {
  /* strips sit between page-inner blocks; page padding already applies to sides via pad */
}

.optional {
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--muted-2);
  font-weight: 300;
}

.form-success {
  padding: 2rem 0 3rem;
  max-width: 28rem;
}

.form-success h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.form-success p {
  color: var(--muted);
  font-weight: 300;
}

.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* —— Ring Design Atelier —— */

.studio-page {
  padding-bottom: 5rem;
}

.studio-intro {
  margin-bottom: 0.5rem;
}

.studio {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad) 2rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 980px) {
  .studio {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(16rem, 0.85fr);
    gap: 2.75rem 2.25rem;
    align-items: start;
  }
}

.studio-stage {
  position: sticky;
  top: 5.5rem;
}

.studio-preview {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(244, 239, 230, 0.95), rgba(232, 223, 208, 0.55) 55%, rgba(12, 11, 9, 0.06) 100%);
  border: var(--hair) solid var(--gold-dim);
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 1.25rem;
  transition: background 0.7s var(--ease);
}

.studio-preview[data-metal="18k yellow gold"] {
  background:
    radial-gradient(ellipse at 50% 28%, rgba(250, 242, 220, 0.98), rgba(232, 214, 170, 0.4) 50%, rgba(12, 11, 9, 0.05) 100%);
}

.studio-preview[data-metal="18k rose gold"] {
  background:
    radial-gradient(ellipse at 50% 28%, rgba(250, 236, 232, 0.98), rgba(230, 200, 190, 0.4) 50%, rgba(12, 11, 9, 0.05) 100%);
}

.ring-svg {
  width: min(100%, 22rem);
  height: auto;
}

.ring-band {
  stroke: url(#metalGrad);
  transition: stroke 0.55s var(--ease);
}

.ring-band-edge {
  stroke: rgba(255, 255, 255, 0.55);
  opacity: 0.7;
}

.prong,
.pave-dot {
  fill: url(#metalGrad);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 0.4;
}

.bezel-rim {
  fill: none;
  stroke: url(#metalGrad);
  stroke-width: 3.5;
}

.stone-face {
  fill: url(#stoneGrad);
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 0.6;
}

.stone-table {
  fill: rgba(255, 255, 255, 0.45);
  opacity: 0.55;
}

.studio-preview-note {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.studio-hint {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 28rem;
}

.studio-controls {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.studio-block {
  margin: 0;
  padding: 0;
  border: 0;
}

.studio-block legend,
.studio-block > label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.studio-live {
  float: right;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  appearance: none;
  border: var(--hair) solid var(--gold-dim);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.chip:hover {
  border-color: var(--gold);
}

.chip.is-active {
  border-color: var(--gold);
  background: var(--ink);
  color: var(--ivory);
}

.chip-swatch {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sw, #ccc);
  margin-right: 0.4rem;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.chip--shape {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
}

.chip--shape svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.studio-range {
  width: 100%;
  accent-color: var(--gold);
  height: 0.35rem;
}

.studio-block input[type="text"] {
  width: 100%;
  border: 0;
  border-bottom: var(--hair) solid var(--gold-dim);
  background: transparent;
  padding: 0.55rem 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
}

.studio-block input[type="text"]:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.studio-sheet {
  border-top: var(--hair) solid var(--gold);
  padding-top: 1.5rem;
}

.studio-sheet h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.75rem;
  margin: 0 0 1.25rem;
  letter-spacing: 0.03em;
}

.spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.spec-list dt {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 0.2rem;
}

.spec-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.atelier-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: var(--hair) solid var(--gold-dim);
}

.btn--ghost:hover {
  border-color: var(--gold);
}

.studio-copy-status {
  min-height: 1.25rem;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.studio-fine {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0;
}

@media (max-width: 979px) {
  .studio-stage {
    position: relative;
    top: auto;
  }
}

/* Hide Netlify floating badge */
body > a[href*="netlify.com"],
#netlify-badge,
[data-netlify-badge],
iframe[src*="netlify"],
div[id^="netlify"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
