/* ============================================================
   MYRA — Boutique & Designer Studio
   Editorial atelier system.
   Light theme: white ground, royal purple as the primary.
   Brand material: elegant pink & royal purple, Playfair Display
   + Montserrat, Spline 3D moments.
   Signature device: "the stitch" — a thread rule that runs
   through every section, punctuated by a bead.
   ============================================================ */

:root {
  /* Palette — white ground, purple primary */
  --bg:           #ffffff;   /* page ground */
  --bg-tint:      #f7f2fa;   /* soft lilac band */
  --bg-soft:      #fcfafd;   /* near-white alt */
  --purple:       #3b1e54;   /* royal purple — brand primary */
  --purple-deep:  #241539;   /* hover, footer, anchors */
  --purple-mid:   #5a3d78;   /* motif strokes on light */
  --purple-tint:  #ede5f4;   /* light lilac surface */
  --text:         #33234a;   /* headings & strong text */
  --text-soft:    #6f5d82;   /* supporting text */
  --mauve:        #8a79a0;   /* captions / muted */
  --gold:         #a9822e;   /* champagne gold (white-safe) */
  --wine:         #7e1e38;   /* deep magenta — emotional accent */

  /* Lines & surfaces */
  --line:         rgba(59, 30, 84, 0.18);
  --line-soft:    rgba(59, 30, 84, 0.10);
  --line-gold:    rgba(169, 130, 46, 0.45);
  --line-gold-s:  rgba(169, 130, 46, 0.65);
  --glass:        rgba(255, 255, 255, 0.88);
  --glass-dark:   rgba(36, 21, 57, 0.82);

  /* Type families (brief-mandated) */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Montserrat', 'Segoe UI', sans-serif;

  /* Rhythm */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --pad-section: clamp(84px, 12vw, 150px);

  /* Type scale */
  --text-hero:  clamp(2.6rem, 6vw, 4.6rem);
  --text-h2:    clamp(2rem, 4vw, 3rem);
  --text-h3:    clamp(1.15rem, 2vw, 1.45rem);
  --text-body:  clamp(0.98rem, 1.2vw, 1.08rem);
  --text-lead:  clamp(1.06rem, 1.5vw, 1.25rem);
  --text-caption: 0.78rem;

  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  font-size: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--text); }

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(126, 30, 56, 0.16); color: var(--purple-deep); }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* ---------- Shared primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--text-caption);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--line-gold-s);
}

/* The stitch — signature thread rule with a bead */
.stitch {
  position: relative;
  height: 1px;
  width: 100%;
  background: repeating-linear-gradient(
    to right,
    var(--line-gold) 0 6px,
    transparent 6px 12px
  );
}

.stitch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}

/* Buttons */
.cta-btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  line-height: 1;
}

.cta-btn {
  background: var(--purple);
  border: 1px solid var(--purple-deep);
  color: #ffffff;
  box-shadow: 0 14px 30px -18px rgba(59, 30, 84, 0.65);
}

.cta-btn:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  box-shadow: 0 20px 36px -18px rgba(59, 30, 84, 0.75);
  transform: translateY(-2px);
}

.cta-btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--purple);
}

.btn-ghost:hover {
  border-color: var(--purple);
  background: var(--purple-tint);
  transform: translateY(-2px);
}

.btn-ghost .arrow { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* Section head */
.section-head { max-width: 720px; }

.section-head h2 {
  font-size: var(--text-h2);
  color: var(--text);
  margin: 18px 0 16px;
}

.section-head p { color: var(--text-soft); max-width: 56ch; }

.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before,
.eyebrow.center::before { display: none; }
.section-head.center p { margin-inline: auto; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -24px rgba(59, 30, 84, 0.25);
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.brand .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.34em;
  color: var(--purple);
  text-transform: uppercase;
}

.brand .sub {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--purple); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links li:has(.nav-cta) { display: none; }

.nav-cta { display: none; }

@media (min-width: 1100px) {
  .nav-links li:has(.nav-cta) { display: list-item; }
  .nav-cta {
    display: inline-flex;
    padding: 11px 22px;
    font-size: 0.7rem;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 120;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin-inline: auto;
  background: var(--purple);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.hamburger:hover span { background: var(--gold); }

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(110px + 2vh) 0 8vh;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(91, 61, 120, 0.14), transparent 60%),
    radial-gradient(90% 70% at 8% 90%, rgba(126, 30, 56, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Left — editorial statement */
.hero-copy {
  padding: 24px 0;
  animation: rise 0.9s var(--ease) both;
}

.hero-copy h1 {
  font-size: var(--text-hero);
  color: var(--text);
  margin: 28px 0 22px;
  letter-spacing: -0.01em;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}

.hero-copy .lead {
  color: var(--text-soft);
  max-width: 46ch;
  font-size: var(--text-lead);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Provenance ledger under hero */
.hero-ledger {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero-ledger .cell {
  padding: 0 clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line-soft);
}

.hero-ledger .cell:first-child { padding-left: 0; }
.hero-ledger .cell:last-child { border-right: 0; }

.hero-ledger .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--purple);
  line-height: 1.1;
}

.hero-ledger .lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
}

/* Right — the hoop. The 3D "object in the atelier frame". */
.hoop {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.hoop::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-gold-s);
  transform: translate(16px, 16px);
  pointer-events: none;
}

.hoop::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-gold);
  transform: translate(-7px, -7px);
  pointer-events: none;
}

.hoop-frame {
  position: relative;
  border: 1px solid var(--gold);
  background: linear-gradient(160deg, #4a2b6e 0%, var(--purple-deep) 100%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hoop-frame spline-viewer { width: 100%; height: 100%; }

.hoop-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--glass-dark);
  border: 1px solid rgba(244, 233, 241, 0.25);
  padding: 7px 12px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f4e9f1;
}

.hoop-caption {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Corner ticks */
.hoop-frame::before,
.hoop-frame::after,
.hoop-corner::before,
.hoop-corner::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
}

.hoop-frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hoop-frame::after { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hoop-corner::before { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hoop-corner::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hoop-corner { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  z-index: 4;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 34px;
  background: var(--line-gold);
}

/* ---------- Inner-page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(140px, 22vh, 220px) 0 clamp(60px, 8vh, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .three-canvas { position: absolute; inset: 0; opacity: 0.5; z-index: 0; }

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 100% at 15% 0%, rgba(91, 61, 120, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(247, 242, 250, 0.1), rgba(255, 255, 255, 0.9) 88%);
  z-index: 1;
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero .page-hero-title {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}

.page-hero h1 {
  font-size: var(--text-hero);
  color: var(--text);
  letter-spacing: -0.01em;
}

.breadcrumb {
  display: block;
  margin-bottom: 22px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  color: var(--text-soft);
  font-size: var(--text-lead);
  font-weight: 400;
  max-width: 46ch;
}

/* ---------- Sections ---------- */
.section { padding: var(--pad-section) 0; background: var(--bg); }

.section.tint {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 42%, var(--bg) 100%);
}

.section.quiet { background: var(--bg-tint); }

/* Split editorial */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Ledger card — provenance as a ruled table, not pills */
.ledger {
  border: 1px solid var(--line-gold);
  background: var(--bg-soft);
}

.ledger .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.ledger .row:last-child { border-bottom: 0; }

.ledger .num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--purple);
  line-height: 1;
}

.ledger .num small { font-size: 55%; opacity: 0.6; }

.ledger .lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.ledger .sub {
  display: block;
  grid-column: 2;
  margin-top: -14px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.copy p {
  color: var(--text);
  margin-bottom: 18px;
  max-width: 60ch;
}

.copy p:last-of-type { margin-bottom: 30px; }

.copy strong {
  color: var(--purple);
  font-weight: 600;
}

/* ---------- Founder ---------- */
.founder-split { align-items: center; }

.founder-photo {
  position: relative;
  max-width: 440px;
  justify-self: start;
}

.founder-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-gold);
  transform: translate(-12px, -12px);
  pointer-events: none;
}

.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-gold-s);
  transform: translate(12px, 12px);
  pointer-events: none;
}

.founder-frame {
  position: relative;
  border: 1px solid var(--gold);
  background: var(--bg-soft);
  padding: 12px;
}

.founder-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.founder-plate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 2px 0;
}

.founder-plate .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
}

.founder-plate .role {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.founder-copy .quote {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--purple);
}

.founder-copy .quote::before { content: '\201C'; color: var(--gold); }
.founder-copy .quote::after { content: '\201D'; color: var(--gold); }

.founder-copy .quote-attrib {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--purple);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link:hover { color: var(--gold); border-color: var(--gold); }
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Atelier process (sequence — numbering is truthful) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}

.process-step {
  padding: clamp(28px, 3vw, 44px) clamp(16px, 2.5vw, 36px) 0 0;
  border-right: 1px solid var(--line-soft);
}

.process-step:last-child { border-right: 0; }

.process-step .index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--wine);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: var(--text-h3);
  color: var(--text);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.process-step .step-time {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Collections ---------- */
.cols-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cols-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 72px);
}

.col-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.col-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 26px 50px -30px rgba(59, 30, 84, 0.35);
}

.col-art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--bg-tint);
}

.col-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--motif-bg, radial-gradient(120% 120% at 30% 20%, rgba(91, 61, 120, 0.22), transparent 65%));
}

.col-art svg { width: 42%; height: 42%; opacity: 0.95; }

/* Photo cards — real shop photography */
.col-art--photo { aspect-ratio: 4 / 5; }
.col-art--photo::before { display: none; }

.col-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.col-card:hover .col-art img { transform: scale(1.06); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.col-card .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line-soft);
}

.col-card .label h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.col-card .label .tagline {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.col-card .label .arrow {
  font-size: 0.9rem;
  color: var(--purple);
  transition: transform 0.3s var(--ease);
}

.col-card:hover .label .arrow { transform: translateX(5px); }

/* Collection motif variants */
.motif-bridal    { --motif-bg: radial-gradient(120% 120% at 30% 20%, rgba(126, 30, 56, 0.16), rgba(91, 61, 120, 0.06) 70%, transparent); }
.motif-aari      { --motif-bg: radial-gradient(120% 120% at 70% 25%, rgba(59, 30, 84, 0.18), rgba(59, 30, 84, 0.05) 70%, transparent); }
.motif-modern    { --motif-bg: radial-gradient(120% 120% at 35% 70%, rgba(126, 30, 56, 0.12), rgba(91, 61, 120, 0.06) 70%, transparent); }
.motif-occasion  { --motif-bg: radial-gradient(120% 120% at 65% 70%, rgba(169, 130, 46, 0.2), rgba(91, 61, 120, 0.08) 70%, transparent); }

/* ---------- Rentals ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  margin-top: clamp(48px, 6vw, 72px);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 36px 30px 32px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 30px 55px -32px rgba(59, 30, 84, 0.45);
}

.plan.featured {
  border-color: var(--gold);
  background: linear-gradient(175deg, var(--bg-soft) 0%, var(--purple-tint) 60%, var(--bg-soft) 100%);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 22px;
  background: var(--gold);
  color: #2a1440;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.plan-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.plan-price {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 26px;
}

.plan-price small {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.plan ul {
  list-style: none;
  margin: 0 0 32px;
  border-top: 1px solid var(--line-soft);
  display: grid;
}

.plan li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
  color: var(--text);
}

.plan li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  transform: translateY(-2px) rotate(45deg);
  background: var(--purple);
}

.plan .cta-btn { align-self: flex-start; margin-top: auto; }

/* ---------- Testimonial ---------- */
.quote-block {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(20px, 5vw, 60px) 0;
}

.quote-block blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.45;
  color: var(--text);
}

.quote-block blockquote::before { content: '\201C'; color: var(--gold); }
.quote-block blockquote::after { content: '\201D'; color: var(--gold); }

.quote-block .who {
  display: block;
  margin-top: 28px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ---------- Contact CTA ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(126, 30, 56, 0.09), transparent 60%),
    repeating-linear-gradient(
      to right,
      rgba(59, 30, 84, 0.06) 0 1px,
      transparent 1px 90px
    );
  pointer-events: none;
}

.cta-band .wrap { position: relative; }

.cta-band h2 {
  font-size: var(--text-h2);
  color: var(--text);
  margin: 22px 0 18px;
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 auto 38px;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 9px; }

.form-group label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  appearance: none;
}

.form-group textarea { resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mauve); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: #ffffff;
}

.form-group select option { background: #ffffff; color: var(--text); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .submit { justify-self: start; border: 0; }

.contact-aside {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-gold);
  background: var(--line-soft);
}

.info-block {
  background: var(--bg-soft);
  padding: 26px 28px;
  transition: background 0.3s var(--ease);
}

.info-block:hover { background: var(--bg-tint); }

.info-block h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}

.info-block p,
.info-block a {
  font-size: 0.94rem;
  color: var(--text);
  text-decoration: none;
}

.info-block a:hover { color: var(--gold); }

.map-block { margin-top: clamp(72px, 9vw, 120px); }

.map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.map-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
}

.map-head span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.map-placeholder {
  min-height: 340px;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(60% 90% at 25% 20%, rgba(91, 61, 120, 0.14), transparent 60%),
    radial-gradient(50% 80% at 80% 80%, rgba(126, 30, 56, 0.1), transparent 55%),
    var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ---------- Inner page extras ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: clamp(48px, 6vw, 72px);
}

.value-item {
  background: var(--bg);
  padding: 36px 30px;
  transition: background 0.3s var(--ease);
}

.value-item:hover { background: var(--purple-tint); }

.value-icon {
  display: block;
  font-size: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.value-item h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.collect-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(59, 30, 84, 0.25);
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 120%);
  padding: clamp(56px, 8vw, 84px) 0 34px;
  color: rgba(244, 233, 241, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
}

.footer .brand .name { font-size: 1.35rem; color: #e9d7b8; }
.footer .brand .sub { color: rgba(244, 233, 241, 0.6); }

.footer-blurb {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 0.88rem;
  color: rgba(244, 233, 241, 0.72);
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links,
.footer-address {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(244, 233, 241, 0.85);
  transition: color 0.25s var(--ease);
}

.footer-links a:hover { color: #e9d7b8; }

.footer-address li {
  font-size: 0.92rem;
  color: rgba(244, 233, 241, 0.72);
}

.footer-address a {
  color: rgba(244, 233, 241, 0.9);
  text-decoration: none;
}

.footer-address a:hover { color: #e9d7b8; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(244, 233, 241, 0.18);
  font-size: 0.72rem;
  color: rgba(244, 233, 241, 0.6);
}

.footer-bottom .stitch-em { color: #e9d7b8; letter-spacing: 0.1em; }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }

  .cols-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding-top: 120px; padding-bottom: 60px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding: 0; }
  .hoop { justify-self: center; width: min(100%, 460px); }
  .hoop::before, .hoop::after { display: none; }
  .hero-scroll { display: none; }

  .split { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .collect-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    padding: 0 44px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-links li:has(.nav-cta) { display: list-item; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .hero-ledger .cell:first-child { padding-left: 0; }
  .hero-ledger .cell { padding: 0 12px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .process-step:last-child { border-bottom: 0; }

  .cols-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .collect-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .section-head h2, .cta-band h2 { letter-spacing: 0; }
}