:root {
  color-scheme: dark;
  --pear: #d1e231;
  --ink: #0f0f0e;
  --graphite: #0f0f0e;
  --graphite-soft: #171815;
  --paper: #c8c9c2;
  --paper-2: #bfc1bb;
  --paper-3: #d8d8cf;
  --line-dark: rgba(15, 15, 14, .18);
  --line-light: rgba(242, 240, 230, .18);
  --light-text: #f2f0e6;
  --muted-light: rgba(242, 240, 230, .64);
  --muted-dark: rgba(15, 15, 14, .62);
  --accent: var(--pear);
  --accent-soft: rgba(209, 226, 49, .14);
  --accent-line: rgba(209, 226, 49, .48);
  --radius: 8px;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--graphite);
  color: var(--light-text);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--graphite);
  color: var(--ink);
}

body[data-transition="birth"] {
  --accent-soft: rgba(209, 226, 49, .15);
  --accent-line: rgba(209, 226, 49, .55);
  --paper: #c8c9c2;
  --paper-2: #d2d1c7;
}

body[data-transition="coming"] {
  --accent-soft: rgba(209, 226, 49, .13);
  --accent-line: rgba(209, 226, 49, .46);
  --paper: #c5c9c0;
  --paper-2: #d4d6cc;
}

body[data-transition="wedding"] {
  --accent-soft: rgba(209, 226, 49, .13);
  --accent-line: rgba(209, 226, 49, .48);
  --paper: #c8c9c2;
  --paper-2: #d8d6ca;
}

body[data-transition="home"] {
  --accent-soft: rgba(209, 226, 49, .12);
  --accent-line: rgba(209, 226, 49, .44);
  --paper: #c4c5bc;
  --paper-2: #d1cec0;
}

body[data-transition="future"] {
  --accent-soft: rgba(209, 226, 49, .11);
  --accent-line: rgba(209, 226, 49, .38);
  --paper: #c1c3bd;
  --paper-2: #cfcec4;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.svg-star {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.08em;
}

.site-shell {
  overflow: hidden;
  background: var(--graphite);
}

.top-frame,
.bottom-frame,
.footer {
  background: var(--graphite);
  color: var(--light-text);
}

.top-frame,
.bottom-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.top-frame::before,
.bottom-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(242, 240, 230, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 230, .028) 1px, transparent 1px);
  background-size: 22vw 100%, 100% 18vh;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35), rgba(0,0,0,.9));
}

.top-frame {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 18px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line-light);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-svg,
.footer-logo {
  display: block;
  fill: currentColor;
}

.logo-svg {
  width: 4.9rem;
  height: 1.35rem;
  overflow: visible;
}

.brand .svg-star {
  width: .72em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  color: var(--muted-light);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--accent);
}

.nav-cta {
  justify-self: end;
  color: var(--light-text);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 82px) clamp(22px, 5vw, 72px) clamp(42px, 5vw, 68px);
}

.hero > *,
.section-head > *,
.split > *,
.bottom-cta > * {
  min-width: 0;
}

.hero-copy-block,
.transition-stage,
.collections-workbench,
.service-card,
.archive-card {
  container-type: inline-size;
}

.hero-orbits {
  position: absolute;
  z-index: -1;
  inset: 7% auto auto 9%;
  width: min(72vw, 920px);
  height: min(62vw, 780px);
  pointer-events: none;
  opacity: .62;
}

.hero-orbits svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-line {
  fill: none;
  stroke: rgba(242, 240, 230, .28);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}

.orbit-line.accent {
  stroke: var(--accent-line);
}

.orbit-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--ink);
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8.6vw, 8rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 32px;
  color: rgba(242, 240, 230, .78);
  font-size: clamp(1.08rem, 1.9vw, 1.5rem);
  line-height: 1.43;
  overflow-wrap: break-word;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(242, 240, 230, .24);
  border-radius: var(--radius);
  background: rgba(242, 240, 230, .06);
  color: var(--light-text);
  font-size: .76rem;
  letter-spacing: .13em;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--graphite);
}

.transition-stage {
  width: 100%;
  padding: 18px 0 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(15, 15, 14, .58);
  backdrop-filter: blur(18px);
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 18px 14px;
  color: var(--muted-light);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.life-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28%);
  grid-template-columns: none;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 18px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.life-track::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 16px;
  height: 1px;
  background: rgba(242, 240, 230, .16);
}

.life-tab {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-light);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.life-tab::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(242, 240, 230, .28);
  box-shadow: 0 0 0 5px rgba(15, 15, 14, .9);
}

.life-tab span {
  align-self: end;
  font-size: .82rem;
  line-height: 1.15;
}

.life-tab[aria-selected="true"] {
  color: var(--light-text);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.life-tab[aria-selected="true"]::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(15, 15, 14, .9), 0 0 22px var(--accent);
}

.flow-note {
  min-height: 42px;
  margin: 0;
  padding: 0 18px 18px;
  color: rgba(242, 240, 230, .68);
  font-size: .92rem;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.paper-section {
  padding: clamp(64px, 8vw, 108px) clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 18%, var(--accent-soft), transparent 24rem),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink);
}

.compact-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.inner {
  max-width: 1220px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(260px, .5fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-head h2,
.split h2,
.bottom-cta h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
}

.collections-workbench {
  border: 1px solid var(--line-dark);
  background: rgba(242, 240, 230, .18);
}

.season-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 34%);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-bottom: 1px solid var(--line-dark);
}

.season-tab {
  min-height: 96px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: var(--muted-dark);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  border-right: 1px solid var(--line-dark);
}

.season-tab:last-child {
  border-right: 0;
}

.season-tab strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: .95;
}

.season-tab span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.season-tab[aria-selected="true"] {
  background: var(--graphite);
  color: rgba(242, 240, 230, .66);
}

.season-tab[aria-selected="true"] strong {
  color: var(--light-text);
}

.form-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.form-preview {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: clamp(20px, 4vw, 42px);
  border-right: 0;
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), transparent 38%),
    var(--preview-bg, #30312d);
  color: var(--preview-fg, var(--light-text));
}

.form-preview::before {
  content: "";
  position: absolute;
  inset: 11% -18% auto auto;
  width: 70%;
  aspect-ratio: 1 / .48;
  border: 1px solid var(--preview-line, rgba(209,226,49,.55));
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.mini-site {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 456px;
  max-width: 620px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(242, 240, 230, .24);
  border-radius: var(--radius);
  background: rgba(15, 15, 14, .28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.mini-nav,
.mini-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: currentColor;
  opacity: .72;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mini-logo {
  width: 4.2rem;
  height: 1.1rem;
  fill: currentColor;
  overflow: visible;
}

.mini-copy {
  align-self: center;
}

.mini-copy h3 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 500;
  line-height: .82;
}

.mini-copy p {
  max-width: 390px;
  margin-bottom: 24px;
  opacity: .74;
  line-height: 1.45;
}

.mini-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 6px;
  opacity: .82;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}

.form-controls {
  display: grid;
  grid-template-rows: auto auto;
  background: rgba(15, 15, 14, .045);
}

.form-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 33%);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.form-tab {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 140px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  border-bottom: 0;
  background: transparent;
  color: var(--muted-dark);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.form-tab strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.form-tab span {
  line-height: 1.42;
}

.form-tab[aria-selected="true"] {
  background: var(--accent-soft);
  color: rgba(15, 15, 14, .76);
  box-shadow: inset 4px 0 0 var(--accent);
}

.slider-arrows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}

.arrow-button {
  min-height: 68px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.arrow-button:first-child {
  border-right: 1px solid var(--line-dark);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.service-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.service-card,
.archive-card {
  min-height: 170px;
  padding: 18px;
  background: var(--paper);
}

.service-card h3,
.archive-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 12cqw, 2.3rem);
  font-weight: 500;
  line-height: 1;
}

.service-card p,
.archive-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
  line-height: 1.52;
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bottom-frame {
  min-height: 72svh;
  display: grid;
  align-items: center;
  padding: clamp(76px, 10vw, 132px) clamp(22px, 5vw, 72px);
}

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(220px, .38fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
}

.bottom-cta h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .88;
}

.bottom-cta p {
  max-width: 620px;
  color: var(--muted-light);
  font-size: 1.12rem;
  line-height: 1.55;
}

.monogram {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: min(36vw, 320px);
  aspect-ratio: 1;
  color: var(--light-text);
}

.monogram::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.28);
}

.monogram-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: .8;
}

.monogram .svg-star {
  position: absolute;
  right: 12%;
  top: 28%;
  width: 18%;
  color: var(--accent);
  filter: drop-shadow(0 0 16px var(--accent));
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-logo {
  width: 5.4rem;
  height: 1.35rem;
  color: var(--muted-light);
  overflow: visible;
}

@container (max-width: 420px) {
  .life-track::before {
    display: none;
  }

  .service-card,
  .archive-card {
    min-height: 180px;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-head,
  .split,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .monogram {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 64px;
    padding: 14px 18px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 56px 20px 48px;
  }

  .hero h1 {
    max-width: 7.4ch;
    font-size: clamp(3rem, 14vw, 3.85rem);
    line-height: .9;
  }

  .hero-copy {
    max-width: 21rem;
    font-size: 1rem;
  }

  .flow-note {
    max-width: 20rem;
  }

  .actions .button {
    width: 100%;
  }

  .transition-stage {
    padding: 14px;
  }

  .season-tab {
    min-height: 78px;
  }

  .life-track,
  .season-slider,
  .form-list {
    grid-auto-columns: minmax(76vw, 1fr);
  }

  .form-preview,
  .mini-site {
    min-height: 420px;
  }

  .mini-copy h3 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .paper-section {
    padding: 68px 20px;
  }

  .footer {
    display: grid;
  }
}
