/* Liana Gangi ~ burnout + somatic coach
   The page moves through one day as you scroll: morning sky, red-earth midday,
   golden hour, dusk, blue hour, night. Colours sampled from her own photos. */

:root {
  --ink: #2b1d18;          /* chocolate earth */
  --ink-soft: #4a332c;
  --rust: #8a4a33;
  --ochre: #a9532f;        /* the cliff, in shadow */
  --clay: #cb8f6d;
  --stone: #ece8e2;        /* her "edition" paper */
  --card: #f6f1ec;
  --cobalt: #2d50a8;       /* marker spiral */
  --butter: #f2d36a;
  --night: #1d1b2b;
  --night-2: #2a2840;
  --moonlight: #f4ead6;
  --on-night: #f3ede6;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --gutter: clamp(1rem, 4.5vw, 3rem);
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  /* light above the page, night below it, for overscroll bounce */
  background: linear-gradient(#cddcea 50%, var(--night) 50%);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .11 0 0 0 0 .09 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible, .footer :focus-visible { outline-color: var(--butter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--card); padding: .7rem 1rem; text-decoration: none;
  font-family: var(--mono); font-size: .8rem;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); overflow-x: clip; position: relative; }

.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
h2 { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.9rem); margin-bottom: 1.6rem; }
.big { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); line-height: 1.55; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- the sky ---------- */
.sky-0 { background: linear-gradient(180deg, #cddcea 0%, #dde3e7 52%, #eaded4 100%); }
.sky-1 { background: linear-gradient(180deg, #eaded4, #eed6c4); }
.sky-2 { background: linear-gradient(180deg, #eed6c4, #f0cbb0); }
.sky-3 { background: linear-gradient(180deg, #f0cbb0, #eebc9f); }
.sky-4 { background: linear-gradient(180deg, #eebc9f, #e6b0a7); }
.sky-5 { background: linear-gradient(180deg, #e6b0a7, #cdb0c2); }
.sky-6 { background: linear-gradient(180deg, #cdb0c2, #aeaacb); }
.sky-7 { background: linear-gradient(180deg, #aeaacb, #9499c0); }
.sky-8 { background: linear-gradient(180deg, #9499c0 0%, #4c5182 16%, var(--night-2) 46%, var(--night) 100%); }

/* ---------- buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--ochre);
  padding: 1.05rem 1.45rem; border: 0; border-radius: 3px; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(138, 74, 51, .9);
}
.btn:hover { background: var(--rust); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; transition: transform .6s var(--ease); }
.btn-ink { background: var(--ink); box-shadow: 0 10px 24px -14px rgba(43, 29, 24, .9); }
.btn-ink:hover { background: #45302a; }
.btn-ink:hover svg { transform: rotate(-180deg); }
.btn-light { background: var(--moonlight); color: var(--night); box-shadow: 0 10px 30px -12px rgba(242, 211, 106, .55); }
.btn-light:hover { background: #fff; }

.text-link {
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  padding-bottom: .3rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.text-link::after { content: "\2192"; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.text-link:hover { background-size: 40% 1px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(240, 233, 226, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(43, 29, 24, .08);
  padding-block: .6rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.1rem; height: 2.1rem; flex: none; overflow: visible; }
.brand-mark use { fill: none; stroke: var(--cobalt); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .ghost { opacity: .22; }
.brand-mark .progress { stroke-dasharray: 390 900; stroke-dashoffset: 394; }
.brand-name { font-family: var(--serif); font-size: 1.65rem; line-height: 1; letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding-block: .3rem;
  background: linear-gradient(var(--cobalt), var(--cobalt)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav-links a:hover { background-size: 100% 1.5px; }
.nav-links .nav-cta { background: var(--ink); color: var(--card); padding: .7rem 1rem; border-radius: 3px; }
.nav-links .nav-cta:hover { background: var(--ochre); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex; position: relative; z-index: 2;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
    background: var(--ink); color: var(--card); border: 0; border-radius: 3px; padding: .65rem .95rem; cursor: pointer;
  }
  .nav-toggle .when-open { display: none; }
  .menu-open .nav-toggle .when-open { display: inline; }
  .menu-open .nav-toggle .when-closed { display: none; }
  .brand { position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem;
    padding: 6rem var(--gutter) 3rem;
    background: linear-gradient(170deg, #f0cbb0 0%, #e6b0a7 45%, #aeaacb 100%);
    opacity: 0; visibility: hidden; transform: translateY(-1rem);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.6rem); letter-spacing: -.01em; text-transform: none; line-height: 1.1; }
  .nav-links .nav-cta { margin-top: 1.2rem; font-family: var(--mono); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding: 1rem 1.3rem; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(6.5rem, 15vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem); overflow-x: clip; position: relative; }
.hero-grid { display: grid; gap: clamp(3.5rem, 7vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 6vw, 6rem); } }
.hero .kicker { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; }
.hero .kicker i { font-style: normal; color: var(--cobalt); font-size: 1rem; letter-spacing: 0; }
h1 { font-size: clamp(3.15rem, 1.25rem + 6.5vw, 7.3rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 2.3rem; }
h1 .mark { position: relative; font-style: italic; white-space: nowrap; }
.scribble { position: absolute; left: -1%; bottom: -.16em; width: 102%; height: auto; overflow: visible; pointer-events: none; }
.scribble use { fill: none; stroke: var(--cobalt); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 294 700; stroke-dashoffset: 298; animation: draw 1.5s .9s var(--ease) forwards; }
.lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-bottom: 2.4rem; }
.next-up {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-decoration: none;
  color: var(--ink-soft); border-top: 1px dashed rgba(43, 29, 24, .3); padding-top: 1rem;
}
.next-up span:last-child { color: var(--ink); font-weight: 500; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ochre); flex: none; box-shadow: 0 0 0 0 rgba(169, 83, 47, .5); animation: pulse 2.4s infinite; }

.hero-art { position: relative; width: min(100%, 30rem); justify-self: center; margin-bottom: 2.5rem; }
@media (min-width: 960px) { .hero-art { width: 100%; max-width: 31rem; justify-self: end; } }
.hero-photo { border-radius: 3px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(60, 30, 20, .65); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-inset {
  position: absolute; left: -7%; bottom: -9%; width: 36%;
  border: .4rem solid var(--card); border-radius: 2px; transform: rotate(-6deg);
  box-shadow: 0 18px 40px -18px rgba(43, 29, 24, .6);
}
.hero-spiral { position: absolute; right: -6%; top: -6%; width: 27%; overflow: visible; }
.hero-spiral use { fill: none; stroke: var(--cobalt); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.draw use { stroke-dasharray: 576 1300; stroke-dashoffset: 580; animation: draw 2.6s .3s var(--ease) forwards; }
.script-note { font-family: var(--script); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1; }
.hero-art .script-note { position: absolute; right: 2%; bottom: -3.2rem; transform: rotate(-4deg); color: var(--rust); }

/* entrance */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .rise:nth-child(2) { animation-delay: .1s; }
.js .rise:nth-child(3) { animation-delay: .22s; }
.js .rise:nth-child(4) { animation-delay: .34s; }
.js .rise:nth-child(5) { animation-delay: .46s; }

/* ---------- burnout ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.paper-card {
  position: relative; overflow: hidden;
  background: var(--stone); padding: 2.2rem clamp(1.4rem, 3vw, 2.4rem) 1.8rem;
  border-radius: 3px; transform: rotate(.8deg);
  box-shadow: 0 28px 50px -30px rgba(60, 30, 20, .5);
}
.script-title { font-family: var(--script); font-size: clamp(2.3rem, 1.8rem + 1.2vw, 2.9rem); line-height: 1; margin-bottom: .8rem; color: var(--rust); }
.tilde-list li {
  position: relative; padding: .8rem 0 .8rem 2.1rem;
  border-bottom: 1px solid rgba(43, 29, 24, .12);
  font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.45rem); line-height: 1.25;
}
.tilde-list li:last-child { border-bottom: 0; }
.tilde-list li::before { content: "~"; position: absolute; left: .25rem; top: .74rem; font-family: var(--sans); color: var(--cobalt); font-size: 1.35rem; }
.watermark { position: absolute; right: -4.5rem; bottom: -4.5rem; width: 15rem; opacity: .09; pointer-events: none; }
.watermark use { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.reassure {
  max-width: 46rem; margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem); line-height: 1.2;
}
.band { position: relative; margin-top: clamp(3.5rem, 8vw, 6rem); }
.band img { width: 100%; height: clamp(18rem, 48vw, 36rem); object-fit: cover; object-position: 50% 60%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 29, 24, 0) 45%, rgba(43, 29, 24, .45)); }
.band figcaption {
  position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(1.4rem, 4vw, 2.8rem);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.4rem; color: #fff;
}
.band-script { font-family: var(--script); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.05; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.band-mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- collage (about + spirals) ---------- */
.collage { position: relative; }
.collage-main { width: 84%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: 0 36px 60px -36px rgba(60, 30, 20, .6); }
.collage-inset {
  position: absolute; right: 0; bottom: -7%; width: 46%;
  border: .4rem solid var(--card); border-radius: 2px; transform: rotate(4deg);
  box-shadow: 0 20px 40px -20px rgba(43, 29, 24, .6);
}
.collage-spiral { position: absolute; left: -3%; top: -5%; width: 22%; overflow: visible; }
.collage-spiral use { fill: none; stroke: var(--cobalt); stroke-width: 4.5; stroke-linecap: round; }

.about-grid { display: grid; gap: clamp(4rem, 8vw, 6rem); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .95fr 1.05fr; } }
.about-art { width: min(100%, 32rem); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1.2rem 1.6rem; margin: 2.2rem 0 1.6rem; padding-top: 1.6rem; border-top: 1px dashed rgba(43, 29, 24, .3); }
.facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.signoff { font-family: var(--script); font-size: clamp(2.4rem, 2rem + 1vw, 3rem); line-height: 1; color: var(--rust); margin: 0; }

/* ---------- coaching cards ---------- */
.cards { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(12, 1fr); }
  .card:nth-child(1), .card:nth-child(4) { grid-column: span 7; }
  .card:nth-child(2), .card:nth-child(3) { grid-column: span 5; }
}
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(246, 241, 236, .55); border: 1px solid rgba(43, 29, 24, .1); border-radius: 3px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(60, 30, 20, .55); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card:nth-child(2) img { object-position: 50% 70%; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: .2rem; padding: clamp(1.4rem, 2.5vw, 2rem); }
.card-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.card h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.35rem); margin-bottom: .8rem; }
.card .meta {
  margin: auto 0 1.1rem; padding-top: 1rem; border-top: 1px dashed rgba(43, 29, 24, .28);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.card .text-link { align-self: flex-start; }

.steps { display: grid; gap: 1.8rem; margin-top: clamp(3.5rem, 7vw, 5rem); counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { position: relative; padding-top: 1.4rem; border-top: 1px solid rgba(43, 29, 24, .25); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: .8; color: var(--cobalt); display: block; margin-bottom: .7rem; }
.steps h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- classes ---------- */
.classes-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 1000px) {
  .classes-grid { grid-template-columns: .9fr 1.1fr; }
  .classes-intro { position: sticky; top: 6rem; }
}
.classes-photo { margin: 1.8rem 0 0; position: relative; }
.classes-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; max-height: 20.5rem; }
@media (max-width: 999px) { .classes-photo img { aspect-ratio: 16 / 11; } }
.classes-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(43, 29, 24, .55); padding: .4rem .65rem; border-radius: 2px; }
.review { margin: 1.4rem 0 0; padding: 1.8rem 0 0 2.6rem; border-top: 1px dashed rgba(43, 29, 24, .3); position: relative; }
.review::before { content: "\201C"; position: absolute; left: 0; top: 1.2rem; font-family: var(--script); font-size: 4.2rem; line-height: 1; color: var(--cobalt); }
.review p { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.25; margin-bottom: .8rem; }
.review footer { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.class-list { display: grid; gap: 1.2rem; }
.class-item {
  display: grid; gap: .5rem;
  background: rgba(246, 241, 236, .58); border: 1px solid rgba(43, 29, 24, .1); border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.class-item header { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1rem; }
.class-item h3 { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); }
.class-sub { font-family: var(--script); font-size: 1.55rem; line-height: 1.2; color: var(--rust); margin: 0; }
.class-when { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .4rem; }
.class-item > p:not(.class-when):not(.class-next) { margin-bottom: .6rem; }
.class-item .text-link { justify-self: start; margin-top: .2rem; }
.class-next {
  display: inline-flex; align-items: center; gap: .6rem; justify-self: start; margin: .2rem 0 0;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em;
  background: var(--ink); color: var(--card); padding: .55rem .85rem; border-radius: 3px;
}
.class-next .pulse { background: var(--butter); animation-name: pulse-light; }
.venue {
  display: grid; gap: 1.2rem; align-items: end;
  padding: clamp(1.4rem, 3vw, 2rem); border-radius: 3px; background: var(--ink); color: var(--card);
}
.venue .kicker { color: rgba(246, 241, 236, .7); margin-bottom: .6rem; }
.venue-name { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin-bottom: .4rem; }
.venue p:last-child { margin-bottom: 0; }
.venue-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
@media (min-width: 640px) { .venue { grid-template-columns: 1fr auto; } }

.principles { display: grid; gap: 2rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2.5rem; border-top: 1px solid rgba(43, 29, 24, .22); }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles svg { width: 2.2rem; height: 2.2rem; margin-bottom: .8rem; overflow: visible; }
.principles use { fill: none; stroke: var(--cobalt); stroke-width: 7; stroke-linecap: round; }
.principles h3 { font-size: 1.65rem; margin-bottom: .4rem; }
.principles p { margin: 0; color: var(--ink-soft); }

/* ---------- invitations ---------- */
.inv-grid { display: grid; gap: clamp(4rem, 8vw, 5rem); align-items: center; }
@media (min-width: 900px) { .inv-grid { grid-template-columns: 1fr 1fr; } }
.deck { display: grid; justify-items: center; gap: 2.2rem; }
.deck-stack { position: relative; width: min(100%, 26rem); }
.deck-back { position: absolute; inset: 0; border-radius: 4px; background: var(--card); box-shadow: 0 20px 40px -26px rgba(60, 30, 20, .55); }
.deck-back.b1 { transform: rotate(-5deg) translate(-.5rem, .4rem); background: #efe2dc; }
.deck-back.b2 { transform: rotate(3.5deg) translate(.6rem, .2rem); background: #e9dde6; }
.inv-card {
  position: relative; overflow: hidden; border-radius: 4px; background: var(--card);
  box-shadow: 0 30px 60px -32px rgba(60, 30, 20, .6);
  transition: transform .38s var(--ease), opacity .38s var(--ease);
}
.inv-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.inv-body { padding: 1.4rem 1.5rem 1.6rem; min-height: 12.5rem; }
.inv-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: .6rem; }
.inv-title { font-size: clamp(1.8rem, 1.5rem + .8vw, 2.2rem); margin-bottom: .6rem; }
.inv-text { margin: 0; color: var(--ink-soft); }
.inv-card.leaving { transform: translate(2.2rem, -1rem) rotate(7deg); opacity: 0; }
.inv-card.entering { transform: translate(-1.2rem, .8rem) rotate(-4deg); opacity: 0; transition: none; }

.breathe { text-align: center; max-width: 28rem; margin-inline: auto; }
.breathe h3 { font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); margin-bottom: .8rem; }
.breathe > p:first-of-type { color: var(--ink-soft); }
.breath-stage { position: relative; width: min(68vw, 17rem); aspect-ratio: 1; margin: 2.2rem auto 1.4rem; display: grid; place-items: center; }
.breath-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(43, 29, 24, .28); }
.breath-ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(43, 29, 24, .18); }
.breath-spiral { width: 92%; overflow: visible; transform: scale(.56) rotate(0deg); transition: transform 1.2s var(--ease); }
.breath-spiral use { fill: none; stroke: var(--cobalt); stroke-width: 2.6; stroke-linecap: round; }
.breathe.inhale .breath-spiral { transform: scale(1) rotate(50deg); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.breathe.exhale .breath-spiral { transform: scale(.56) rotate(0deg); transition: transform 6s cubic-bezier(.45, 0, .55, 1); }
.breath-label { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.2; min-height: 2rem; margin-bottom: .8rem; }
.breath-dots { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; }
.breath-dots li { width: .55rem; height: .55rem; border-radius: 50%; border: 1px solid var(--ink-soft); transition: background .4s; }
.breath-dots li.done { background: var(--cobalt); border-color: var(--cobalt); }

/* ---------- spirals ---------- */
.spirals-grid { display: grid; gap: clamp(4rem, 8vw, 6rem); align-items: center; }
@media (min-width: 960px) { .spirals-grid { grid-template-columns: 1.05fr .95fr; } }
.spirals-art { width: min(100%, 32rem); justify-self: center; margin-bottom: 3rem; }
.spirals-art .collage-main { margin-left: auto; }
.spirals-art .collage-inset { right: auto; left: 0; bottom: -10%; width: 50%; transform: rotate(-4deg); }
.spirals-art .script-note { position: absolute; right: 0; bottom: -4.2rem; transform: rotate(-3deg); color: var(--ink); }
.pull { margin: 0 0 1.6rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; color: var(--ink); padding-left: 1.2rem; border-left: 2px solid var(--cobalt); }
.small-note { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--ink-soft); }
.spirals-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 1.8rem; }
.wide-photo { margin-top: clamp(4rem, 8vw, 6rem); }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 52%; border-radius: 3px; }
@media (max-width: 640px) { .wide-photo img { aspect-ratio: 4 / 3; } }

/* ---------- scroll less ---------- */
.script-h { font-family: var(--script); font-size: clamp(3.2rem, 2rem + 5vw, 6rem); line-height: 1.05; letter-spacing: 0; margin-bottom: 1.4rem; }
.picks { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .picks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .picks { grid-template-columns: repeat(4, 1fr); } }
.picks li {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--stone); border-radius: 3px; padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 24px 44px -32px rgba(40, 30, 60, .6);
}
.picks li::after {
  content: ""; position: absolute; right: -3.5rem; bottom: -3.5rem; width: 9rem; height: 9rem; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 .7rem, rgba(43, 29, 24, .07) .7rem calc(.7rem + 1px));
}
.pick-type { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .2rem; }
.picks h3 { font-family: var(--script); font-size: 2.3rem; line-height: 1.15; margin-bottom: .7rem; }
.picks p:not(.pick-type) { font-size: .98rem; color: var(--ink-soft); }
.picks a { margin-top: auto; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; position: relative; z-index: 1; }
.ig { margin-top: clamp(3.5rem, 7vw, 5rem); }
.ig-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.ig-head p { margin: 0; max-width: 34rem; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); line-height: 1.25; }
.ig-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 760px) { .ig-strip { grid-template-columns: repeat(6, 1fr); gap: .7rem; } }
.ig-strip a { display: block; overflow: hidden; border-radius: 2px; }
.ig-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease), filter .6s; }
.ig-strip a:hover img { transform: scale(1.06); filter: saturate(1.15); }

/* ---------- night ---------- */
.night { color: var(--on-night); padding-top: clamp(8rem, 16vw, 12rem); }
.night .kicker { color: rgba(243, 237, 230, .72); }
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .7; animation: twinkle var(--t, 4s) ease-in-out infinite; animation-delay: var(--d, 0s); }
.hello-grid { position: relative; display: grid; gap: clamp(3.5rem, 7vw, 5rem); align-items: center; }
@media (min-width: 960px) { .hello-grid { grid-template-columns: .75fr 1.25fr; } }
.moon-box { text-align: center; }
.moon { width: min(56vw, 15rem); height: auto; margin: 0 auto 1.8rem; display: block; overflow: visible; filter: drop-shadow(0 0 2.6rem rgba(242, 211, 106, .28)); }
.moon-dark { fill: #34324f; }
.moon-lit { fill: var(--moonlight); }
.moon-phase { font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin-bottom: .5rem; }
.moon-dates { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: rgba(243, 237, 230, .75); max-width: 20rem; margin-inline: auto; }

.dm { display: grid; gap: 1.5rem; margin-top: 2rem; }
.dm fieldset { border: 0; padding: 0; margin: 0; }
.dm legend, .field span { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 237, 230, .78); margin-bottom: .8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .95rem; color: var(--on-night);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(243, 237, 230, .32); border-radius: 3px;
  padding: .6rem .9rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid currentColor; transition: background .2s; flex: none; }
.chip:hover { border-color: rgba(243, 237, 230, .7); }
.chip[aria-pressed="true"] { background: var(--moonlight); color: var(--night); border-color: var(--moonlight); }
.chip[aria-pressed="true"]::before { background: var(--cobalt); border-color: var(--cobalt); }
.field { display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--on-night);
  background: rgba(255, 255, 255, .05); border: 0; border-bottom: 1px solid rgba(243, 237, 230, .4);
  border-radius: 3px 3px 0 0; padding: .8rem .9rem; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 237, 230, .45); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--butter); background: rgba(255, 255, 255, .08); }
.dm-preview { border: 1px dashed rgba(243, 237, 230, .3); border-radius: 3px; padding: 1.1rem 1.2rem; }
.dm-preview .kicker { margin-bottom: .5rem; }
.dm-preview p:last-child { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.dm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.dm-status { margin: 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--butter); }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(243, 237, 230, .82); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; border-top: 1px solid rgba(243, 237, 230, .1); }
.footer .kicker { color: rgba(243, 237, 230, .6); margin-bottom: .8rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.1fr 1.1fr; gap: 4rem; } }
.footer .brand { color: var(--on-night); }
.footer .brand-mark use { stroke: #8fa6e0; }
.footer-tag { font-family: var(--script); font-size: 1.9rem; line-height: 1.2; margin: .8rem 0 1.2rem; color: var(--on-night); }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--butter); }
.footer-ack p:last-child, .footer-care p:last-child { font-size: .98rem; }
.footer-care a { color: var(--on-night); }
.footer-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(243, 237, 230, .1); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: rgba(243, 237, 230, .55); }
.footer-small p { margin: 0; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .paper-card.reveal.in { transform: rotate(.8deg); }

/* ---------- keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169, 83, 47, .5); } 70% { box-shadow: 0 0 0 .6rem rgba(169, 83, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 83, 47, 0); } }
@keyframes pulse-light { 0% { box-shadow: 0 0 0 0 rgba(242, 211, 106, .55); } 70% { box-shadow: 0 0 0 .6rem rgba(242, 211, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 211, 106, 0); } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
  .js .paper-card.reveal { transform: rotate(.8deg); }
  .scribble use, .draw use { stroke-dashoffset: 0; animation: none; }
  .breathe.inhale .breath-spiral, .breathe.exhale .breath-spiral { transition-duration: 1.5s !important; }
}
