/* Pawlumia v2 (a663). "The station": her founder story's train station, linking routes.
   Ink and gold come from her logo (#0B2E2A, #BE9236). Gold is the light only: never body text
   (2.86:1 on white). Small gold labels use --gold-ink.
   One palette: Evening Light, Natalia's pick (a676d). Deep green bands for the promise and footer. */
:root {
  --ground: #ffffff;
  --mist: #f3f6f5;
  --soft: #dce8e4;
  --ink: #0b2e2a;
  --body: #4a615d;
  --line: #d3dedb;
  --gold: #be9236;
  --lamp: #d9b565;
  --gold-ink: #8c6a22;
  /* deep bands: promise, waitlist, footer */
  --band: #0b2e2a;
  --band-ink: #f3f6f5;
  --band-body: #c4d3cf;
  --band-line: rgba(243, 246, 245, .22);
  --band-light: var(--lamp);
  --band-label: var(--lamp);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --gap: clamp(16px, 2.4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }
header.site { view-transition-name: site-header; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.125rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--ink); color: var(--lamp); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--gold); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, .statement { font-weight: 300; letter-spacing: -0.032em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.5rem); line-height: 1.02; font-weight: 250; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.95rem, 3.7vw, 3.1rem); line-height: 1.08; }
h3, .rows > li > h2 { font-weight: 500; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.18rem, 1.55vw, 1.34rem); line-height: 1.55; color: var(--body); max-width: 34em; }
.label { font-size: 1rem; font-weight: 500; color: var(--body); }
.measure { max-width: 38em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--ground); padding: 10px 14px; z-index: 30; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 3px; }
.band :focus-visible, footer :focus-visible { outline-color: var(--band-light); }

/* grid: section labels sit in columns 1-3, content from 4 */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; }
.grid > .label { grid-column: 1 / 4; padding-top: .45em; }
@media (min-width: 961px) { .grid > .label { position: sticky; top: 112px; align-self: start; color: var(--ink); } }
.grid > .body { grid-column: 4 / 12; }
.grid > .body.wide { grid-column: 4 / 13; }
section { padding: clamp(72px, 9vw, 136px) 0; }
.mist { background: var(--mist); }
section.tight { padding: clamp(48px, 5.5vw, 80px) 0; }

/* the light: a small gold point, the one recurring detail */
.dot { display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--lamp) 22%, transparent); vertical-align: .12em; margin-right: .6em; }
.lights li { position: relative; padding-left: 1.3em; }
.lights li + li { margin-top: .45em; }
.lights li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; opacity: .75; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); transition: box-shadow .3s var(--ease); }
.bar { display: flex; align-items: center; gap: 14px; height: 76px; }
.scrolled header.site { box-shadow: 0 1px 0 var(--line); }
.mark { margin-right: auto; display: block; padding: 4px 0; }
.mark img { height: 46px; width: auto; transform-origin: left center; transition: transform .3s var(--ease); }
.scrolled .mark img { transform: scale(.84); }
#menu { display: flex; gap: 30px; position: static; inset: auto; width: auto; height: auto; margin: 0 18px 0 0; border: 0; padding: 0; background: none; color: inherit; overflow: visible; }
#menu a { position: relative; text-decoration: none; color: var(--body); font-size: 1rem; padding: 6px 0; transition: color .2s; }
#menu a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); }
#menu a:hover, #menu a[aria-current] { color: var(--ink); }
#menu a[aria-current]::after { opacity: 1; transform: none; }
.menu-btn { display: none; }

/* buttons: softly rounded, per her guide. The fill slides in on hover. */
.btn { white-space: nowrap; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; font: 500 1rem/1 var(--font); text-decoration: none; padding: 17px 26px; border-radius: 999px; border: 0; background: var(--ink); color: var(--ground); cursor: pointer; transition: color .3s var(--ease), transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #164841; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn.quiet { background: var(--soft); color: var(--ink); }
.btn.quiet::before { background: #cbdcd7; }
.btn.small { padding: 13px 19px; }
.band .btn { background: var(--band-ink); color: var(--band); }
.band .btn::before { background: var(--lamp); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.aside-note { font-size: 1rem; color: var(--body); }
.more { display: inline-flex; align-items: center; gap: .5em; margin-top: 28px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; }

/* home hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); }
.hero .grid { align-items: center; }
.hero .copy { grid-column: 1 / 7; }
.hero .status { margin-top: 22px; font-size: 1rem; color: var(--body); }
.hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
@media (min-width: 961px) { .hero h1 span { display: block; white-space: nowrap; } }
.hero .lede { margin-top: 28px; color: var(--ink); }
.hero .what { margin-top: 14px; font-size: 1rem; line-height: 1.6; color: var(--body); max-width: 34em; }
.hero .actions { margin-top: 32px; }
.hero .station { grid-column: 7 / 13; }

/* the station map */
.station { position: relative; margin: 0; }
.map { width: 100%; height: auto; display: block; overflow: visible; }
.map.tall { display: none; }
.map text { font: 400 17px var(--font); fill: var(--body); }
.map.wide text { font-size: 19.5px; }
.map .name { font-weight: 500; fill: var(--ink); }
.map .route { fill: none; stroke: color-mix(in srgb, var(--ink) 48%, transparent); stroke-width: 2.75; stroke-linecap: round; transition: stroke .4s var(--ease); }
.map .trunk { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.map .stop { fill: var(--ground); stroke: var(--ink); stroke-width: 2; transition: fill .3s; }
.map .src { cursor: pointer; outline: none; }
.map .src text { transition: fill .3s; }
.map .src.on .route { stroke: var(--gold); }
.map .src.on .stop { fill: var(--gold); stroke: var(--gold); }
.map .src.on text { fill: var(--ink); }
.map .src:focus-visible text { text-decoration: underline; text-decoration-color: var(--gold); }
.map .hub { fill: var(--ground); stroke: var(--ink); stroke-width: 3; }
.map .core { fill: var(--gold); }
.map .halo { fill: var(--lamp); opacity: .3; filter: blur(7px); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.map.arrived .halo { opacity: .75; transform: scale(1.3); }
.map .rev, .map .home { transition: fill .4s, stroke .4s; }
.map.reviewing .rev { fill: var(--gold); stroke: var(--gold); }
.map.home-lit .home { fill: var(--gold); }
.map .home-glow { fill: var(--lamp); opacity: 0; filter: blur(8px); transition: opacity .6s var(--ease); }
.map.home-lit .home-glow { opacity: .7; }
.map .home { fill: var(--ink); }
.map .traveller { fill: var(--lamp); opacity: 0; }
.map .traveller-glow { fill: var(--lamp); opacity: 0; filter: blur(5px); }
.station figcaption { margin-top: 18px; min-height: 3.3em; font-size: 1rem; color: var(--body); max-width: 30em; transition: opacity .25s; }
.station figcaption b { color: var(--ink); font-weight: 500; }
.js .map .route, .js .map .trunk { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .11s); }
.js .map .trunk { animation-delay: 1.1s; }
.js .map .src text, .js .map .label-fade { opacity: 0; animation: fade .8s var(--ease) forwards; animation-delay: calc(.5s + var(--i, 0) * .11s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* steps as stops on one line, which fills with light as you read */
.stops { position: relative; padding-left: 52px; }
.stops::before, .stops::after { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.stops::after { background: var(--gold); transform-origin: top; transform: scaleY(0); }
.stops li { position: relative; }
.stops li + li { margin-top: 44px; }
.stops li::before { content: ""; position: absolute; left: -47px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--ink); z-index: 1; }
.mist .stops li::before { background: var(--mist); }
.stops .n { display: block; font-size: 1rem; font-weight: 500; color: var(--gold-ink); margin-bottom: 4px; }
.stops h3 { margin-bottom: 6px; }
.stops p { color: var(--body); }
@supports (animation-timeline: view()) {
  .stops::after { animation: fill-line linear both; animation-timeline: view(); animation-range: entry 35% cover 62%; }
}
@supports not (animation-timeline: view()) { .stops::after { transform: none; } }
@keyframes fill-line { to { transform: scaleY(1); } }

/* home: what it does, a reading block beside the stops */
.dense .copy { grid-column: 1 / 6; }
.dense .stops { grid-column: 7 / 13; margin-top: .5em; }
@media (min-width: 961px) { .dense .copy { position: sticky; top: 120px; align-self: start; } }

/* partner groups */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.groups h3 { margin-bottom: 14px; }
.groups .lights { color: var(--body); }
.free { margin-top: 40px; font-size: 1.15rem; font-weight: 500; color: var(--ink); }

/* deep bands */
.band { background: var(--band); color: var(--band-ink); }
.band .lede, .band p { color: var(--band-body); }
.band .label { color: var(--band-body); }
.band h2, .band .statement, .band h3 { color: var(--band-ink); }
.band a { color: var(--band-ink); }

/* promise: the one centred moment */
.promise { text-align: center; padding: clamp(96px, 13vw, 184px) 0; }
.promise .statement { font-size: clamp(1.95rem, 4.3vw, 3.5rem); line-height: 1.14; max-width: 19em; margin: 26px auto 0; }
.promise .lede { margin: 30px auto 0; }
.promise .glow { display: block; width: 14px; height: 14px; margin: 0 auto; border-radius: 50%; background: var(--band-light); box-shadow: 0 0 24px 8px color-mix(in srgb, var(--lamp) 45%, transparent); }

/* inner-page intro */
.intro { padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); }
.intro h1 { grid-column: 1 / 11; }
.intro .lede { grid-column: 4 / 11; margin-top: 12px; }
.intro .label { grid-column: 1 / -1; }

/* how it works: scattered sources gather onto one line */
.scatter { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 36px; font-size: 1.15rem; color: var(--ink); }
.scatter li { display: flex; align-items: center; gap: .55em; transition: opacity .9s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.scatter li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; opacity: .75; }
.js .scatter:not(.in) li { opacity: 0; }

/* rows: label beside text */
.rows > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 26px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows > li > :is(h2, h3) { grid-column: 1 / 4; }
.rows > li > div, .rows > li > p { grid-column: 4 / 12; color: var(--body); }

/* about */
.story p { font-size: clamp(1.18rem, 1.5vw, 1.32rem); line-height: 1.7; color: var(--ink); max-width: 33em; }
.story p:first-child::first-line { font-weight: 500; }
.story .sign { margin-top: 28px; font-size: 1rem; color: var(--body); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.team li { border-top: 2px solid var(--ink); padding-top: 16px; }
.team b { display: block; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; }
.team span { color: var(--body); font-size: 1rem; }

/* forms */
form { display: grid; gap: 26px; align-content: start; }
.join .copy, .formside .copy { grid-column: 1 / 6; }
.join form, .formside form, .join .done, .formside .done { grid-column: 7 / 13; }
.join .copy .lede { margin-top: 16px; }
@media (min-width: 961px) { .join .copy, .formside .copy { position: sticky; top: 120px; align-self: start; } }
.field { display: grid; gap: 6px; font-size: 1rem; font-weight: 500; }
.field small { font-weight: 400; color: var(--body); font-size: 1rem; }
.band .field small { color: var(--band-body); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea { font: 400 1.1rem var(--font); color: inherit; background: transparent; border: 0; border-bottom: 1.5px solid color-mix(in srgb, currentColor 45%, transparent); padding: 10px 0 12px; border-radius: 0; width: 100%; transition: border-color .25s; }
input:hover, select:hover, textarea:hover { border-color: currentColor; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 1.5px 0 var(--gold); }
textarea { min-height: 7em; resize: vertical; border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent); padding: 12px; border-radius: 6px; }
textarea:focus-visible { box-shadow: 0 0 0 1.5px var(--gold); }
select { appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px top 55%/6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 0 top 55%/6px 6px no-repeat; padding-right: 22px; }
select option { color: var(--ink); background: var(--ground); }
.pair { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 1rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; }
.note { font-size: 1rem; line-height: 1.5; color: var(--body); }
form .btn { justify-self: start; }
.done { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.2; align-self: center; }
.done p + p { font-size: 1.125rem; margin-top: 8px; line-height: 1.6; }

/* placeholders, visibly marked until the content or store exists */
.ph { border: 1px dashed currentColor; border-radius: 6px; padding: 12px 14px; font-size: 1rem; color: var(--body); }
.ph b { color: var(--ink); font-weight: 500; }
.band .ph { color: var(--band-body); }
.band .ph b { color: var(--band-ink); }
mark.ph { display: inline; padding: 1px 6px; background: none; }

/* footer */
footer { background: var(--band); color: var(--band-body); padding: 72px 0 40px; font-size: 1rem; }
footer .grid { row-gap: 32px; }
footer .who { grid-column: 1 / 6; }
footer .who img { height: 44px; width: auto; margin-bottom: 18px; }
footer .who p + p { margin-top: .4em; }
footer nav { grid-column: 7 / 10; display: grid; gap: 8px; align-content: start; }
footer .contact { grid-column: 10 / 13; display: grid; gap: 8px; align-content: start; }
footer a { color: var(--band-ink); text-decoration: none; }
footer a:hover { text-decoration: underline; text-decoration-color: var(--band-light); }
footer .credit { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--band-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .credit a { color: var(--band-body); text-decoration: underline; }

/* 404 */
.lost { min-height: 62vh; display: grid; align-content: center; }
.lost h1 { max-width: 12em; }
.lost .lede { margin-top: 20px; }
.lost .actions { margin-top: 32px; }

/* reveal: one soft fade-rise, once */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* photos (a676d): Natalia's own, plus three stock frames where hers can't show the scene
   (assets/CREDITS.md). Every file is cropped to 4:5 with one grade baked in, so CSS adds no filter.
   Two layouts, nothing else:
   .pets  equal frames in a row, a caption under each (4 across on Home, 2 beside text on About)
   .split  one 4-column frame beside a 7-column text block, centred on each other; .flip mirrors it */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--soft); }
.photo figcaption { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: var(--body); max-width: 24em; }
.photo figcaption b { display: block; font-weight: 500; color: var(--ink); }
.band .photo figcaption { color: var(--band-body); }
.band .photo figcaption b { color: var(--band-ink); }

.pets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.pets-wrap { margin-top: clamp(56px, 7vw, 104px); }
.pets-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.pets-head .more { margin: 0; }

.split { align-items: center; row-gap: 40px; }
.split > .photo { grid-column: 1 / 5; grid-row: 1; }
.split > .body { grid-column: 6 / 13; grid-row: 1; }
.split.flip > .photo { grid-column: 9 / 13; }
.split.flip > .body { grid-column: 1 / 8; }
.join .split { align-items: start; } /* a form is taller than its frame: line the frame up with the heading */
.split .body > .label { margin-bottom: 18px; }
.split .rows > li > * { grid-column: 1 / -1; }
.split .rows > li > :is(h2, h3) { margin-bottom: 6px; }
.split .scatter { margin-top: 28px; }
.duo > .body { grid-column: 1 / 6; }
.duo > .pets { grid-column: 7 / 13; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .hero .copy, .hero .station { grid-column: 1 / -1; }
  .hero .station { margin-top: 40px; max-width: 720px; }
}
.station.inpage { max-width: 760px; }
@media (max-width: 960px) {
  .grid > .label, .grid > .body, .grid > .body.wide, .hero .copy, .hero .station, .intro h1, .intro .lede,
  .join .copy, .join form, .join .done, .formside .copy, .formside form, .formside .done, .dense .copy, .dense .stops, footer .who, footer nav, footer .contact { grid-column: 1 / -1; }
  .grid > .label { padding-top: 0; }
  .split > .photo, .split > .body, .split.flip > .photo, .split.flip > .body, .duo > .body, .duo > .pets { grid-column: 1 / -1; grid-row: auto; }
  .split > .photo { max-width: 460px; }
  .pets { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .hero .station { margin-top: 24px; }
  .map.wide { display: none; }
  .map.tall { display: block; max-width: 420px; }
  .groups { grid-template-columns: 1fr; gap: 28px; }
  .team { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .rows > li > :is(h2, h3), .rows > li > div, .rows > li > p { grid-column: 1 / -1; }
  .rows > li > :is(h2, h3) { margin-bottom: 6px; }
  .desk { display: none; }
  .bar { height: 68px; gap: 8px; }
  .mark img { height: 38px; }
  .scrolled .mark img { transform: scale(.9); }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 0; margin-right: -8px; }
  .menu-btn span, .menu-btn span::before { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; }
  .menu-btn span::before { content: ""; position: absolute; top: 6px; }
  .menu-btn span { transform: translateY(-3px); }
  #menu { position: fixed; inset: 68px 0 auto 0; margin: 0; width: 100%; border: 0; padding: 20px var(--gutter) 32px; background: var(--ground); box-shadow: 0 24px 40px rgba(11, 46, 42, .1); flex-direction: column; gap: 2px; }
  #menu:not(:popover-open) { display: none; }
  #menu a { font-size: 1.35rem; color: var(--ink); padding: 10px 0; }
  #menu a::after { left: auto; right: 0; bottom: 50%; margin: 0 0 -2.5px; }
}
@media (max-width: 480px) {
  .bar .btn.small { padding: 12px 16px; }
  .bar .long { display: none; }
  .pair { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .map .route, .js .map .trunk { stroke-dashoffset: 0; }
  .js .map .src text, .js .map .label-fade, .js .reveal { opacity: 1; transform: none; }
  .js .scatter li { opacity: 1; transform: none; }
  .stops::after { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.tap { display: none; }
@media (hover: none) { .tap { display: inline; } .station .desk { display: none; } }
