:root {
  color-scheme: light;
  --ink: #12343c;
  --deep: #073847;
  --sea: #0b6570;
  --tide: #62cdb7;
  --foam: #f6faf7;
  --paper: #fffef9;
  --sun: #efba62;
  --salmon: #ec745c;
  --mist: #dcebea;
  --muted: #587278;
  --max: 88rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 4px; }
.section-shell { width: min(calc(100% - 4rem), var(--max)); margin-inline: auto; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; padding: .65rem max(2rem, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(18,52,60,.1); background: rgba(255,254,249,.93); backdrop-filter: blur(12px); }
.wordmark { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .86rem; font-weight: 750; }
.wordmark-mark { display: grid; width: 2.15rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: white; background: var(--deep); font-size: .65rem; letter-spacing: .08em; }
nav { display: flex; gap: clamp(1rem,3vw,2.4rem); }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover { color: var(--deep); }

.eyebrow { margin: 0 0 .85rem; color: var(--sea); font-size: .78rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
h1,h2,h3,p { text-wrap: pretty; }
h1,h2 { margin: 0; color: var(--deep); font-family: var(--serif); font-weight: 400; letter-spacing: -.042em; }
h1 { max-width: 62rem; font-size: clamp(3.4rem,6.1vw,6.4rem); line-height: .98; }
h2 { font-size: clamp(2.5rem,4.4vw,4.8rem); line-height: 1; }

.hero { overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-block: clamp(3.2rem,6vh,5rem) clamp(2rem,4vh,3.4rem); }
.hero-brand { margin: 1.8rem 0 0; color: var(--muted); font-size: .95rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.coastline { aspect-ratio: 2348 / 744; height: auto; margin: 0; background: #e8f1ef; }
.coastline img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.place-section { padding-block: clamp(4rem,5vw,5rem) clamp(3.5rem,5vw,5rem); color: white; background: var(--deep); }
.place-section .eyebrow { color: var(--tide); }
.place-heading { display: grid; grid-template-columns: minmax(17rem,.72fr) minmax(24rem,1fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.place-title .eyebrow { margin-bottom: .65rem; }
.place-heading h2 { white-space: nowrap; color: white; font-size: clamp(2.6rem,3.4vw,3.65rem); }
.place-heading > p:last-child { max-width: 39rem; margin: 0 0 .25rem; color: #b9d5d2; font-size: 1rem; }
.atlas { margin-top: 1.5rem; }
.map-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: .65rem; }
.toolbar-label { flex: none; margin: 0 .4rem 0 0; color: #9dc4bf; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.map-filters button { padding: .42rem .78rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #e4efed; background: transparent; font: inherit; font-size: .8rem; cursor: pointer; }
.map-filters button[aria-pressed="true"] { border-color: var(--tide); color: var(--deep); background: var(--tide); }
#map-status { margin: 0 0 0 auto; color: #9dc4bf; font-size: .8rem; }
.map-frame { overflow: hidden; height: clamp(38rem,70vh,50rem); border-radius: 1rem; background: #d8e8e6; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.74) contrast(.94); }
.memory-browser { margin-top: .75rem; border-top: 1px solid rgba(255,255,255,.22); }
.memory-browser > summary { display: flex; justify-content: flex-start; gap: .45rem; width: fit-content; padding: .85rem 0; color: var(--tide); cursor: pointer; list-style: none; font-weight: 750; }
.memory-browser > summary::-webkit-details-marker { display: none; }
.memory-browser[open] > summary span:last-child { transform: rotate(45deg); }
.memory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.16); }
.memory-item { padding: 1.4rem; background: var(--deep); }
.memory-item h3 { margin: .4rem 0; color: white; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.15; }
.memory-item p { margin: .6rem 0 0; color: #cbe0dd; font-size: .88rem; }
.memory-item .memory-meta { margin: 0; color: var(--sun); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.memory-item .memory-place { color: #87bbb4; font-size: .76rem; }

.lens-section { padding: clamp(4.5rem,7vw,7rem) 0 clamp(6rem,10vw,10rem); }
.lens-section > h2 { max-width: 52rem; margin-bottom: 4rem; }
.lens-stage { display: grid; grid-template-columns: 1fr 1fr; max-width: 76rem; min-height: 31rem; margin-inline: auto; }
.lens { position: relative; z-index: 1; display: grid; align-content: center; justify-items: center; min-height: 31rem; padding: clamp(4rem,6vw,6rem); border-radius: 50%; text-align: center; transition: opacity 220ms ease,transform 220ms ease,filter 220ms ease; }
.lens-what { margin-right: -9%; color: white; background: rgba(7,56,71,.96); }
.lens-how { margin-left: -9%; color: var(--deep); background: rgba(98,205,183,.7); }
.lens-control { position: absolute; top: 1.5rem; left: 50%; display: grid; width: 2.2rem; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; font-size: 1.15rem; cursor: pointer; transform: translateX(-50%); }
.lens-control[aria-pressed="true"] { color: var(--deep); background: var(--sun); }
.lens h3 { max-width: 25rem; margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(2rem,3vw,3.2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.lens ul { max-width: 25rem; margin: 0; padding: 0; list-style: none; font-size: .98rem; }
.lens li + li { margin-top: .7rem; }
.lens-stage[data-active-lens="what"] .lens-how,.lens-stage[data-active-lens="how"] .lens-what { z-index: 0; opacity: .38; filter: saturate(.5); transform: scale(.94); }
.lens-stage[data-active-lens="what"] .lens-what,.lens-stage[data-active-lens="how"] .lens-how { z-index: 2; transform: scale(1.025); }

.path-section { overflow: hidden; padding-block: clamp(4rem,5vw,5.5rem); color: white; background: var(--deep); }
.path-section h2 { color: white; }
.path-section .eyebrow { color: var(--tide); }
.living-path { position: relative; height: 23rem; margin-top: 2.5rem; }
.living-path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.living-path path { fill: none; stroke: var(--tide); stroke-width: 2; vector-effect: non-scaling-stroke; }
.living-path .path-before,.living-path .path-branch { opacity: .4; stroke-width: 1.3; }
.living-path ol { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.living-path li { position: absolute; width: 11.5rem; padding-top: 1.25rem; }
.living-path li::before { position: absolute; top: -.42rem; left: 0; width: .85rem; height: .85rem; border: 4px solid var(--deep); border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 1px var(--salmon); content: ""; }
.living-path li span { display: block; color: white; font-family: var(--serif); font-size: 1.2rem; line-height: 1.15; }
.living-path li small { display: block; margin-top: .35rem; color: #a9c9c5; font-size: .74rem; }
.living-path li:nth-child(1) { top: 47%; left: 11%; }
.living-path li:nth-child(2) { top: 25%; left: 28%; }
.living-path li:nth-child(3) { top: 54%; left: 46%; }
.living-path li:nth-child(4) { top: 26%; left: 65%; }
.living-path li:nth-child(5) { top: 45%; left: 84%; }

.direction-section { padding-block: clamp(4rem,5vw,5.5rem); }
.direction-heading,.horizons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.direction-heading { margin-bottom: 2rem; }
.direction-heading h2 { max-width: 37rem; font-size: clamp(2.4rem,3.8vw,4.1rem); }
.horizon { padding: clamp(2.2rem,4vw,3.5rem); }
.horizon-near { color: white; background: var(--sea); }
.horizon-long { border: 1px solid var(--mist); background: var(--foam); }
.horizon ol,.horizon ul { margin: 0; padding: 0; list-style: none; }
.horizon li + li { margin-top: 1.25rem; }
.horizon li strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.horizon li span { color: #d9e9e6; font-size: .86rem; }
.horizon-long li { position: relative; padding-left: 1.1rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; }
.horizon-long li::before { position: absolute; top: .55rem; left: 0; width: .35rem; height: .35rem; border-radius: 50%; background: var(--sun); content: ""; }

.navigation-section { padding-block: clamp(4rem,5vw,5.5rem); color: white; background: var(--deep); }
.navigation-section h2 { color: white; }
.navigation-section .eyebrow { color: var(--tide); }
.navigation-lead { display: grid; grid-template-columns: 1fr .65fr; }
.navigation-steps { position: relative; display: grid; grid-template-columns: repeat(7,1fr); gap: 1.2rem; margin: 5rem 0 3rem; padding: 0; list-style: none; }
.navigation-steps::before { position: absolute; top: 1.25rem; right: 2rem; left: 2rem; border-top: 1px solid rgba(98,205,183,.5); content: ""; }
.navigation-steps li { position: relative; padding-top: 3.6rem; }
.navigation-steps li:nth-child(even) { transform: translateY(2.5rem); }
.navigation-steps li > span { position: absolute; top: 0; left: 0; display: grid; width: 2.5rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--tide); border-radius: 50%; color: var(--deep); background: var(--tide); font-size: .8rem; font-weight: 800; }
.navigation-steps p { margin: 0; color: #e2efed; font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.thinking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,8vw,8rem); margin-top: 5.5rem; }
.practice-list,.principle-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.practice-list span,.principle-list span { padding: .62rem .88rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #eef7f4; font-size: .84rem; }
.principle-list span { border-color: rgba(239,186,98,.52); color: #ffe4ae; }

.returning-section { overflow: hidden; padding-block: clamp(4rem,5vw,5.5rem); background: var(--mist); }
.returning-heading { display: grid; grid-template-columns: 1.15fr .65fr; }
.returning-heading h2 { max-width: 54rem; }
.returning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(5rem,10vw,10rem); align-items: center; margin-top: 4rem; }
.returning-cycle { position: relative; width: min(100%,34rem); aspect-ratio: 1; margin-inline: auto; }
.returning-ring { position: absolute; inset: 17%; border: 1px solid rgba(11,101,112,.55); border-radius: 50%; }
.returning-ring::after { position: absolute; top: -4px; right: 21%; width: 8px; height: 8px; border-top: 2px solid var(--sea); border-right: 2px solid var(--sea); content: ""; transform: rotate(45deg); }
.returning-cycle ol { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.returning-cycle li { position: absolute; width: 11rem; color: var(--deep); font-family: var(--serif); font-size: 1rem; line-height: 1.15; text-align: center; transform: translate(-50%,-50%); }
.returning-cycle li::before { display: block; width: .65rem; height: .65rem; margin: 0 auto .55rem; border: 3px solid var(--mist); border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 1px var(--salmon); content: ""; }
.returning-cycle li:nth-child(1) { top: 5%; left: 50%; }
.returning-cycle li:nth-child(2) { top: 34%; left: 92%; }
.returning-cycle li:nth-child(3) { top: 85%; left: 79%; }
.returning-cycle li:nth-child(4) { top: 85%; left: 21%; }
.returning-cycle li:nth-child(5) { top: 34%; left: 8%; }
.returning-centre { position: absolute; top: 50%; left: 50%; display: grid; width: 8rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: white; background: var(--sea); text-align: center; font-size: .8rem; font-weight: 850; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; transform: translate(-50%,-50%); }
.participation-states article { padding: 1.35rem 0; border-top: 1px solid rgba(18,52,60,.18); }
.participation-states article:first-child { border-top: 0; }
.participation-states h3 { margin: 0 0 .45rem; color: var(--sea); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.participation-states p { margin: 0; color: var(--ink); }
.humility-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem,9vw,9rem); padding-block: clamp(4rem,5vw,5.5rem); }
.humility-section h2 { max-width: 48rem; font-size: clamp(2.7rem,4.4vw,4.7rem); }
.humility-section > div:first-child > p:last-child { max-width: 47rem; color: var(--muted); }
.open-questions { align-self: end; padding-top: 1rem; border-top: 1px solid var(--mist); }
.open-questions p { margin: 1rem 0; color: var(--sea); font-family: var(--serif); font-size: 1.2rem; }
.closing { overflow: hidden; padding-block: clamp(3.5rem,6vw,5.5rem) 2.25rem; color: white; background: #052a35; }
.closing-statement { max-width: 52rem; margin: 0; font-family: var(--serif); font-size: clamp(1.7rem,2.7vw,2.8rem); line-height: 1.18; }
.closing-horizon { display: block; width: 100%; height: clamp(3rem,5vw,4.5rem); margin: clamp(2.5rem,5vw,4.5rem) 0 1.6rem; }
.closing-horizon path { fill: none; stroke: var(--tide); stroke-width: 1.2; opacity: .38; vector-effect: non-scaling-stroke; }
.closing-identity { display: grid; gap: .15rem; width: fit-content; margin-left: auto; color: #a9c9c5; text-align: right; }
.closing-identity strong { color: #d9e9e6; font-size: .82rem; letter-spacing: .05em; }
.closing-identity span { font-size: .75rem; }

@media (max-width: 1050px) {
  .section-shell { width: min(calc(100% - 3rem),var(--max)); }
  .place-heading { grid-template-columns: 1fr .65fr; }
  .memory-grid { grid-template-columns: 1fr 1fr; }
  .lens { min-height: 28rem; padding: 3.5rem; }
  .navigation-steps { grid-template-columns: repeat(4,1fr); row-gap: 4rem; }
  .navigation-steps::before { display: none; }
  .navigation-steps li:nth-child(even) { transform: none; }
}

@media (max-width: 760px) {
  .site-header { position: static; }
  .wordmark > span:last-child { max-width: 12rem; }
  nav a:nth-child(2),nav a:nth-child(3) { display: none; }
  h1 { font-size: clamp(2.8rem,13vw,4.5rem); }
  .hero-copy { padding-block: 3rem 2rem; }
  .coastline { aspect-ratio: auto; height: 16rem; }
  .coastline img { object-fit: cover; object-position: 28% bottom; }
  .place-heading,.direction-heading,.horizons,.navigation-lead,.thinking-grid,.returning-heading,.returning-grid,.humility-section { grid-template-columns: 1fr; }
  .place-heading { gap: 1.3rem; }
  .place-heading h2 { white-space: normal; }
  .map-toolbar { align-items: flex-start; flex-direction: column; gap: .7rem; }
  #map-status { margin-left: 0; }
  .map-frame { height: 34rem; }
  .memory-grid { grid-template-columns: 1fr; }
  .lens-stage { display: block; min-height: auto; }
  .lens { min-height: 26rem; margin: 0; padding: 4.5rem 2.8rem; border-radius: 50%; }
  .lens-how { margin-top: -2.5rem; }
  .lens-control { top: 1.25rem; }
  .living-path { height: auto; margin-top: 3rem; }
  .living-path svg { top: 0; bottom: 0; left: 1.1rem; width: 3rem; height: 100%; }
  .living-path svg path { display: none; }
  .living-path svg .path-main { display: block; d: path("M24 -20 C5 70 44 130 22 220 S42 360 20 470 S38 590 22 700"); }
  .living-path ol { position: relative; display: grid; gap: 1.8rem; padding-left: 3.8rem; }
  .living-path li { position: relative; inset: auto !important; width: auto; min-height: 4.5rem; padding-top: 0; }
  .living-path li::before { top: .3rem; left: -3.1rem; }
  .direction-heading { gap: 2.5rem; }
  .horizons { gap: 0; }
  .navigation-steps { grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
  .navigation-steps li { min-height: 3rem; padding: .25rem 0 0 3.6rem; }
  .navigation-steps li > span { top: 0; }
  .returning-grid { gap: 3rem; }
  .returning-cycle { transform: scale(.88); }
  .humility-section { gap: 2.5rem; }
  .closing { padding-block: 3.5rem 2rem; }
  .closing-statement { max-width: 28rem; }
  .closing-horizon { margin-block: 2.5rem 1.5rem; }
  .closing-identity { margin-left: 0; text-align: left; }
}

@media (max-width: 450px) {
  .section-shell { width: min(calc(100% - 2rem),var(--max)); }
  .site-header { padding-inline: 1rem; }
  nav { display: none; }
  .wordmark { font-size: .8rem; }
  .lens { min-height: 24rem; padding: 4rem 2.25rem; }
  .lens h3 { font-size: 2rem; }
  .lens ul { font-size: .9rem; }
  .returning-cycle { width: 116%; margin-left: -8%; transform: scale(.82); }
}

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