:root{color-scheme:light;--paper:#e5f4f3;--white:#f6fffe;--ink:#143442;--green:#075768;--deep:#092d3a;--accent:#91dfd3;--muted:#3a5963;--line:#b9d8da;--shadow:0 16px 46px #133e5312}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 90% 10%,#ebfbf9 0,transparent 52rem),linear-gradient(153deg,#d0e8ed,#e8f7f2 58%,#c4e1e9);color:var(--ink);font: 1.05rem/1.65 "Instrument Sans",system-ui,sans-serif}a{color:var(--green);text-underline-offset:.22em}a:hover{text-decoration-thickness:2px}button,label[for],a{touch-action:manipulation}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible+label{outline:3px solid #177589;outline-offset:4px}
.shell{width:min(1216px,calc(100% - 64px));margin-inline:auto}.skip{position:absolute;left:1rem;top:-6rem;padding:1rem;background:white;z-index:2}.skip:focus{top:1rem}header{padding:20px 0}.bar{padding:10px 14px 10px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--white);border:1px solid #fff;border-radius:24px;box-shadow:var(--shadow)}.brand{font-weight:780;white-space:nowrap;text-decoration:none;color:var(--ink)}nav{display:flex;align-items:center;gap:clamp(12px,2vw,30px)}nav a{text-decoration:none;font-size:.9rem;font-weight:650;padding-block:9px}.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:0;border-radius:100px;padding:.55rem 1rem;background:var(--green);color:var(--white);font-size:.9rem;font-weight:750;text-decoration:none;cursor:pointer}.button:hover{filter:brightness(1.12)}.button.outline{background:transparent;border:1px solid currentColor;color:inherit}
.kicker{display:block;font-size:.76rem;line-height:1.4;letter-spacing:.17em;text-transform:uppercase;font-weight:750;color:var(--green)}.actions,.links{display:flex;flex-wrap:wrap;gap:.55rem 1rem;align-items:center}.links{font-size:.9rem;font-weight:700;margin-top:1.15rem}
h1,h2,h3{line-height:1.05;margin:0;font-family:"Instrument Serif",Georgia,serif;font-weight:500;letter-spacing:-.04em;text-wrap:balance}h1{font-size:clamp(3.15rem,6.6vw,6rem);margin:.55rem 0 1rem}h1 em{color:#bdf8ef;font-weight:inherit}h2{font-size:clamp(2.55rem,5vw,4.65rem);margin:.35rem 0 .85rem}h3{font-size:clamp(1.8rem,3vw,2.65rem);margin:.3rem 0 .7rem}p{margin:.6rem 0 1rem}p:last-child{margin-bottom:0}.section{padding-top:clamp(54px,8vw,105px);scroll-margin-top:15px}.section-head{max-width:760px;margin-bottom:25px}.section-head p,.quiet{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:#f9fffea8;border:1px solid #ffffffdc;border-radius:26px;box-shadow:var(--shadow);overflow:hidden;min-width:0}.pad{padding:clamp(21px,3.4vw,40px)}figure{margin:0;background:#e6e9dd}figure img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}figcaption{padding:6px 14px;color:#283f33;font-size:.75rem}figcaption a{color:inherit}.dark{background:linear-gradient(135deg,#155364,var(--deep));color:var(--white);border-color:transparent}.dark a{color:inherit}.warm{background:linear-gradient(135deg,#efffffd9,#bce6e3bd);border-color:#eaffff}.wide{grid-column:1/-1}.notes{border-top:1px solid var(--line);padding-top:1rem;margin-top:1.25rem}.notes strong{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.09em;color:var(--green)}.budget{display:grid;grid-template-columns:1fr 2fr;gap:1.5rem;align-items:start}.amount{font:clamp(3.35rem,8vw,7rem)/.95 "Instrument Serif",Georgia,serif;letter-spacing:-.07em}.checks{padding-left:1.25rem;margin:.65rem 0}.checks li+li{margin-top:.45rem}details{border-top:1px solid var(--line);padding:.8rem 0}summary{cursor:pointer;font-weight:750}.closing{margin-top:76px;text-align:center;padding:clamp(35px,7vw,78px) 20px}.closing p{max-width:650px;margin-inline:auto}footer{padding:38px 0;font-size:.9rem}footer ul{padding-left:1.2rem}footer li+li{margin-top:.35rem}
@media(max-width:760px){.shell{width:calc(100% - 28px)}header{padding:12px 0}.bar{flex-wrap:wrap;padding:9px 12px;gap:2px 12px;border-radius:18px}nav{order:3;flex-basis:100%;justify-content:space-between;gap:8px;border-top:1px solid var(--line)}nav a{font-size:.83rem;min-height:44px;display:flex;align-items:center}.grid,.budget{grid-template-columns:minmax(0,1fr)}.section-head{margin-bottom:18px}.closing{margin-top:58px}}@media(max-width:365px){nav a{font-size:.76rem}.brand{font-size:.95rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

header {
  background: #092d3a;
  color: #f6fffe;
}
body > header.shell {
  width: 100%;
  padding-inline: max(14px, calc((100% - 1216px) / 2));
}
.bar {
  background: #134352;
  border-color: #9bd4d34a;
}
.bar a { color: inherit; }
.bar nav { border-color: #9bd4d34a; }
#main {
  position: relative;
  isolation: isolate;
  background: #092d3a;
}
.hero {
  position: relative;
  overflow: clip;
  color: #fff;
  min-height: calc(100svh - 84px);
}
.memories {
  position: sticky;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}
.memory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #0c2530;
}
.memory.current { opacity: 1; z-index: 1; }
.memory.incoming { opacity: 1; z-index: 2; }
/* Display corrections are deliberately applied to each camera original. */
.memory:nth-child(1) { --tone: url(assets/photo-tones.svg#garden) saturate(.96); }
.memory:nth-child(2) { --tone: url(assets/photo-tones.svg#shade) saturate(.94); }
.memory:nth-child(3) { --tone: url(assets/photo-tones.svg#daylight) saturate(.98); }
.memory:nth-child(4) { --tone: url(assets/photo-tones.svg#lamplight) saturate(.92); }
.memory:nth-child(5) { --tone: url(assets/photo-tones.svg#terrace) saturate(.96); }
.hero-inner {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 34px;
  min-height: inherit;
  padding-block: clamp(190px, 35svh, 365px) clamp(112px, 13vw, 185px);
  text-align: center;
}
.hero-copy, .letter {
  position: relative;
  isolation: isolate;
  width: min(100%, 710px);
  text-shadow: 0 2px 10px #051b27, 0 1px 3px #051b27;
}
.hero-copy::before, .letter::before {
  content: "";
  position: absolute;
  inset: -55px -10vw;
  z-index: -1;
  background: radial-gradient(ellipse closest-side at center, #061e2bea 0%, #061e2bc9 50%, #061e2b6e 74%, transparent 100%);
  pointer-events: none;
}
.hero .kicker, .dark .kicker { color: #aae8e0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: .045em; }
.hero-intro { font-size: clamp(.875rem, 1.5vw, 1rem); }
.letter {
  width: min(100%, 660px);
  padding-inline: clamp(5px, 3vw, 25px);
  font-size: .9rem;
  line-height: 1.58;
}
.letter p:first-child { margin-top: 0; }
.letter-close { color: #bcf2e8; font: italic 1.2rem/1.35 "Instrument Serif", Georgia, serif; }
.button.slide-toggle { position: relative; background: #092d3ac2; }
.slide-toggle[hidden] { display: none; }
.choices h2 { max-width: 17ch; margin: 0 auto 1.6rem; text-align: center; }
.choices nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 14px; border: 0; }
.choices .choice {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-items: start;
  gap: .25rem;
  border: 1px solid white;
  border-radius: 20px;
  padding: 1.15rem 1.4rem;
  background: #fcffffae;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.choice strong { font: 1.75rem/1.2 "Instrument Serif", Georgia, serif; }
.choice span { color: var(--muted); font-size: .85rem; }
.choices .choice:hover { background: #f6fffe; }
.destination, #closing { scroll-margin-top: 18px; }
.destination:target, #closing:target { outline: 2px solid #267d86; outline-offset: 4px; }
.subtitle { color: var(--green); font-style: italic; margin-top: -.25rem; }
.chapter-sheet {
  position: relative;
  z-index: 1;
  margin-top: -72px;
  padding-bottom: 38px;
  border-radius: clamp(22px, 5vw, 70px) clamp(22px, 5vw, 70px) 0 0;
  background: radial-gradient(ellipse at 90% 0%,#f0fffb 0,transparent 52rem),linear-gradient(153deg,#d0e8ed,#e8f7f2 58%,#c4e1e9);
  box-shadow: 0 -14px 70px #081d303d;
}
@media(max-width: 760px) {
  .hero-inner { gap: 24px; padding-top: clamp(210px, 39svh, 390px); }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 2.7rem); margin-bottom: .75rem; }
  .hero-intro { max-width: 30ch; margin-inline: auto; }
  .hero-copy::before, .letter::before {
    inset: -62px -36px;
    background: radial-gradient(ellipse closest-side at center, #061e2bed 16%, #061e2bd4 48%, #061e2b80 75%, transparent 100%);
  }
  .choices nav { grid-template-columns: minmax(0,1fr); grid-auto-rows: 1fr; }
  .choices .choice { grid-row: auto; grid-template-rows: auto auto; align-content: start; }
  .choices .choice strong { font-size: clamp(1.4rem, 4.6vw, 1.75rem); }
  .chapter-sheet { margin-top: -50px; }
}
@media(max-width: 760px) and (max-height: 650px) {
  .bar nav { display: none; }
}
@media(prefers-reduced-motion: reduce) {
  .memories { position: relative; }
  .chapter-sheet { margin-top: 0; }
}

.activity-guide {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  padding-top: 1rem;
}
.activity-guide h4 { margin: 0 0 .6rem; font-size: 1.1rem; }
.activity-guide ul { margin: 0; padding-left: 1.15rem; }
.activity-guide li + li { margin-top: .7rem; }
.closing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.3rem; }


.hero-inner.shell {
  width: min(1800px, calc(100% - clamp(24px, 5vw, 80px)));
}
.hero-copy, .letter { width: 100%; min-width: 0; }
.letter { padding-inline: 0; }
.letter p { margin-block: 0 .75rem; }
.letter p:last-child { margin-bottom: 0; }
.hero-copy::before, .letter::before {
  inset-inline: max(-40px, -5vw);
  background: radial-gradient(ellipse closest-side at center,#061e2bc9 10%,#061e2b99 50%,#061e2b50 79%,transparent 100%);
}
.section-head {
  margin-inline: auto;
  text-align: center;
}
.chapters h3, .chapters h4, .chapters .kicker, .chapters .subtitle, .chapters .amount { text-align: center; }
.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.soundtrack { width: min(315px, 100%); }
.soundtrack audio { display: block; width: 100%; height: 44px; }
.soundtrack p { margin: .3rem 0 0; font-size: .78rem; text-shadow: 0 1px 5px #041d28,0 1px 2px #041d28; }

.lens-photo { border-radius: 17px; margin-block: 1.15rem; }
.lens-photo img { aspect-ratio: 4/3; object-position: center 39%; }
.destination video { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #0c2934; }

.home-film {
  grid-column: 1 / -1;
  display: grid;
  align-items: start;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 45%,#3e6670,#112d39 72%);
}
.home-film video, .home-film figcaption { grid-area: 1 / 1; }
.home-film video {
  display: block;
  width: 100%;
  height: min(69svh, 620px);
  object-fit: contain;
  align-self: center;
}
.home-film figcaption {
  z-index: 1;
  color: #fff;
  padding: .65rem 1rem 2rem;
  text-shadow: 0 1px 7px #071d28;
  background: linear-gradient(#0c2434c7,transparent);
  pointer-events: none;
}
.home-film h3 { margin: .2rem 0 0; font-size: clamp(1.3rem, 3vw, 2.1rem); }

/* The memories sit behind the page, including the top navigation. */
.site-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  background: none;
}
.site-nav .brand, .site-nav nav a {
  color: white;
  text-shadow: 0 1px 6px #041c28, 0 1px 3px #041c28;
}
.site-nav nav { display: flex; flex-wrap: wrap; justify-content: center; border: 0; gap: .1rem 1.2rem; }
.site-nav nav a::before { content: "·"; color: #b5f5e7; margin-right: .4rem; }
.site-nav nav a { min-height: 34px; padding-block: .35rem; }
.skip { z-index: 4; }
.memories::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(#071e2c95,transparent 17%,transparent 65%,#071e2c5c);
}
.memory.incoming { z-index: 3; }
.memories::after { z-index: 4; }
.memory:nth-child(n+6) { --tone: contrast(1.02); }
.chapter-sheet {
  margin-top: 0;
  overflow: clip;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.chapters > .section > .section-head,
.choices h2 {
  color: white;
  text-shadow: 0 2px 8px #061824,0 2px 3px #061824;
}
.chapters > .section > .section-head :is(.kicker,p) { color: #efffff; }
.chapters > .section:not(#islands) > .section-head,
.choices h2 {
  background: radial-gradient(ellipse closest-side,#062433c4 20%,#0624336e 70%,transparent);
  padding: .4rem .75rem;
}
.soundtrack { margin: .65rem auto .9rem; }
.soundtrack #soundtrack-note { margin: 0 0 .35rem; font-size: .9rem; }
footer.shell {
  width: 100%;
  padding-inline: max(14px, calc((100% - 1216px) / 2));
  background: #092d3a;
  color: #f3ffff;
}
footer a { color: #bdf8ef; }

/* Media is the lower layer of each card. The copy stays in normal flow. */
.layered-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 460px;
  color: white;
  background: #082a38;
  border-color: #d4f5f47d;
}
.layered-card > .media-layer,
.layered-card > .media-layer :is(img,video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.layered-card > .media-layer {
  z-index: -2;
  border-radius: 0;
  display: block;
  background: #082a38;
}
.layered-card > .media-layer :is(img,video) {
  display: block;
  object-fit: cover;
  aspect-ratio: auto;
}
.layered-card > .media-layer figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  background: #062433bd;
  color: #fff;
  border-radius: 5px;
}
.layered-card:has(> .media-toggle) > .media-layer figcaption { max-width: calc(100% - 128px); }
.layered-card > .pad {
  padding-top: clamp(44px, 8vw, 85px);
  background: linear-gradient(transparent,#061e2ae0 39%,#061e2af0 100%);
}
.layered-card .kicker, .layered-card .subtitle, .layered-card a,
.layered-card .notes strong { color: #cefbf5; }
.layered-card .links { justify-content: center; }
.travel-card { min-height: 510px; }
.destination { min-height: 570px; }
.destination:has(details[open]) > .pad {
  background: linear-gradient(transparent,#061e2ac9 120px,#061e2ae8 360px,#061e2aea);
}
.island-preview {
  width: fit-content;
  margin: .9rem auto;
  padding-left: 1.25rem;
}
.island-details { margin: 1rem 0 0; border-color: #d5f8f391; }
.island-details summary { min-height: 44px; padding-block: .45rem; color: #d5fffb; }
.button.media-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  min-height: 36px;
  background: #062433df;
  color: white;
}
.media-toggle[hidden] { display: none; }
.budget.layered-card {
  grid-template-columns: minmax(0,1fr);
  width: 100vw;
  border-inline-width: 0;
  border-radius: 0;
  justify-self: center;
  min-height: clamp(710px, 75vw, 960px);
}

.budget-copy { text-align: center; }
.budget > .budget-copy { background: linear-gradient(transparent,#0410166b 29%,#041016df 100%); text-shadow: 0 1px 5px #030b0e,0 1px 4px #030b0e; }
.budget-copy > div { max-width: 920px; margin-inline: auto; }
.budget-copy .checks { width: fit-content; margin-inline: auto; text-align: left; }
.budget-copy .amount { font-size: clamp(3rem, 7vw, 5.2rem); }
@media (max-width: 760px) {
  .site-nav { justify-content: center; }
  .site-nav nav { flex-basis: 100%; gap: 0 .55rem; }
  .site-nav nav a { font-size: .76rem; }
  .hero-inner { padding-top: clamp(220px, 42svh, 390px); }
  .destination, .travel-card { min-height: 490px; }
  .budget.layered-card { min-height: 685px; }
  .budget-copy { font-size: .91rem; }
  .budget-copy .checks li + li { margin-top: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .memories { position: sticky; }
}


.memory img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 40%);
  filter: var(--tone) contrast(1.045) saturate(1.06);
}
.koh-card { min-height: 690px; }
.lens-card > .media-layer img { object-position: center 57%; filter: brightness(1.10) contrast(1.035); }
.koh-card > .media-layer img { object-position: 38% center; filter: brightness(1.08) contrast(1.04); }
.koh-card > .pad {
  padding-top: 62px;
  background: linear-gradient(transparent,#071e2b9c 42%,#071e2bcf);
  text-shadow: 0 1px 5px #041a26,0 1px 3px #041a26;
}
.budget > .media-layer { background: #12313b; }
.budget > .media-layer video { object-fit: cover; object-position: left 67%; }
@media (min-width: 761px) {
  .koh-card { grid-column: 1 / -1; min-height: 560px; }
  #roots > .grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .koh-card { min-height: 590px; }
}


.site-nav .brand { display: inline-flex; align-items: center; gap: .55rem; }
.site-nav .brand img {
  display: block;
  width: auto;
  height: 45px;
  filter: drop-shadow(0 1px 3px #031421);
}
.site-nav .brand span { margin-left: .15rem; }
@media (max-width: 760px) {
  .site-nav .brand img { height: 34px; }
}

.closing {
  background: rgb(0 0 0 / .79);
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 26px;
  color: white;
  text-shadow: 0 2px 8px #061824, 0 1px 3px #061824;
}
.closing .kicker { color: #cefbf5; }
.closing .button.outline { background: #071e2b75; }


.memory:is(.current,.incoming) img {
  animation: photo-drift 11s ease-out both;
}
.memories.paused .memory img { animation-play-state: paused; }
@keyframes photo-drift {
  from { object-position: var(--focus-x, 50%) calc(var(--focus-y, 40%) - 1%); }
  to { object-position: var(--focus-x, 50%) calc(var(--focus-y, 40%) + 1%); }
}




/* Keep faces near the center of the full-bleed crop. */
.memory:nth-child(1) { --focus-y: 40%; }
.memory:nth-child(2) { --focus-y: 33%; }
.memory:nth-child(3) { --focus-x: 42%; --focus-y: 25%; }
.memory:nth-child(4) { --focus-y: 24%; }
.memory:nth-child(5) { --focus-y: 25%; }
.memory:nth-child(6) { --focus-x: 42%; --focus-y: 24%; }
.memory:nth-child(7) { --focus-y: 28%; }
.memory:nth-child(8) { --focus-y: 28%; }
.memory:nth-child(9) { --focus-y: 30%; }

.soundtrack audio[hidden], .soundtrack-controls[hidden] { display: none; }
.soundtrack-controls {
  display: grid;
  grid-template-columns: auto auto minmax(32px,1fr) auto;
  align-items: center;
  gap: .25rem .55rem;
  min-height: 46px;
  padding-inline: 5px;
  color: #fff;
  background: rgb(55 58 62 / .70);
  border: 1px solid rgb(255 255 255 / .30);
  border-radius: 99px;
  text-shadow: none;
}
.soundtrack-controls button {
  padding: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.soundtrack-controls button:hover,
.soundtrack-controls button[aria-pressed="true"] { background: rgb(0 0 0 / .25); }
.soundtrack-controls button[aria-pressed="true"] span { text-decoration: line-through; }
.soundtrack-time { font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.soundtrack-seek { min-width: 0; width: 100%; margin: 0; accent-color: #d8f2ed; cursor: pointer; }
.soundtrack-controls :is(button,input):focus-visible { outline: 2px solid #d8f2ed; outline-offset: 1px; }



.story-card {
  align-content: start;
  min-height: 660px;
}
.movement-card > .media-layer img { object-position: 61% bottom; }
.story-card > .pad {
  margin-top: clamp(350px, 35vw, 515px);
  padding-block: 2.5rem 1.25rem;
  background: linear-gradient(transparent, #061e2ac4 38%, #061e2ac4);
  text-shadow: 0 1px 5px #030e15, 0 1px 3px #030e15;
}
.story-details {
  margin-top: .6rem;
  padding: 0;
  border: 0;
}
.story-details summary {
  width: fit-content;
  min-height: 44px;
  margin: 0 auto;
  padding: .55rem .95rem;
  border: 1px solid #d5f8f391;
  border-radius: 99px;
  background: #061e2a9e;
  color: #ecfffb;
}
.story-details[open] { padding-bottom: .45rem; }
.story-details[open] summary { margin-bottom: .9rem; }
@media (max-width: 760px) {
  .story-card { min-height: 520px; }
  .story-card > .pad {
    margin-top: clamp(320px, 91vw, 465px);
    font-size: .94rem;
  }
}
