/* Nina Lau-Branson — California coastal waters */
:root {
  --abyss: #06263d;      /* deep Pacific */
  --pacific: #0a3d5c;
  --kelp: #0f5b80;
  --tide: #1a7fae;
  --seaglass: #8fd6ee;
  --seaglass-soft: #d4eef8;
  --foam: #eef7fb;
  --sand: #fbf5ea;
  --shell: #fffdf9;
  --driftwood: #7a5f3f;
  --sun: #e0a66c;        /* golden hour on the water */
  --sun-deep: #c9834a;
  --glow: #ffb8a6;       /* coral accent on dark (Mike's pick) */
  --glow-halo: rgba(255, 170, 150, .45);
  --ink: #0c2c42;
  --ink-soft: #2b4a5e;
  --rule: rgba(12, 44, 66, 0.14);
  --display: "Instrument Serif", "Newsreader", Georgia, serif;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --wrap: 76rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font: 400 1.125rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* fine film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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%; display: block; }
a { color: inherit; }
::selection { background: var(--seaglass); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--shell); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* Type */
h1, h2, h3 { font-weight: 400; margin: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -0.012em; }
h3 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em { font-style: italic; color: var(--tide); }
h2 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; color: var(--pacific); }
h3 { font-size: 1.7rem; line-height: 1.2; color: var(--pacific); margin-bottom: .8rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1rem; }
cite { font-style: italic; }
.eyebrow {
  margin: 0 0 1.4rem;
  font: 600 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--tide);
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow .num { font: italic 400 1.05rem/1 var(--display); letter-spacing: 0; color: var(--sun-deep); }
.eyebrow .num::after { content: ""; display: inline-block; width: 2rem; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-left: .9rem; }
.eyebrow--light { color: #e6f5ef; }
.hero .eyebrow { display: block; font-size: .8rem; font-weight: 700; text-shadow: 0 1px 10px rgba(6, 38, 61, .55); }
.hero .eyebrow::before { display: none; }
.hero .eyebrow i { color: var(--glow); opacity: 1; margin: 0 .55rem; }
.eyebrow--light .num { color: var(--sun); }
.label { font: 600 .7rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--driftwood); margin-bottom: 1rem; }
.lede { font: 400 clamp(1.3rem, 2.1vw, 1.55rem)/1.5 var(--serif); color: var(--ink); }

/* Buttons & links */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.1rem;
  font: 600 .76rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--pacific); color: var(--shell);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--kelp), var(--tide));
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(6, 38, 61, .55); }
.btn:hover::before { transform: none; }
.btn--light { background: var(--shell); color: var(--pacific); }
.btn--light::before { background: linear-gradient(100deg, #fff, var(--seaglass-soft)); }
.btn--sun { background: var(--sun); color: var(--abyss); }
.btn--sun::before { background: linear-gradient(100deg, #f0bd86, var(--sun)); }
.link {
  display: inline-flex; gap: .55rem; align-items: center;
  font: 600 .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--pacific);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease-out);
}
.link:hover { background-size: 100% 1px; }
.link span { transition: transform .35s var(--ease); }
.link:hover span { transform: translate(3px, 0); }
.link--light { color: var(--shell); }

/* Review bar */
.review-bar {
  position: relative; z-index: 60;
  background: var(--abyss); color: var(--seaglass);
  font: 500 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: .7rem 1rem;
}
.review-bar span { opacity: .65; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.nav.is-solid { background: rgba(255, 253, 249, .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--rule); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.nav__brand { font: 400 1.6rem/1 var(--display); text-decoration: none; color: #fff; text-shadow: 0 1px 12px rgba(6, 38, 61, .4); transition: color .4s; letter-spacing: -.005em; }
.nav__menu { display: flex; align-items: center; gap: 2.1rem; }
.nav__menu a { position: relative; font: 500 .9rem/1 var(--sans); text-decoration: none; color: #fff; text-shadow: 0 1px 10px rgba(6, 38, 61, .45); transition: color .3s; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__menu a:not(.nav__cta):hover::after, .nav__menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu a:hover { color: #fff; }
.nav__cta { padding: .78rem 1.25rem; border: 1px solid rgba(255, 253, 249, .45); border-radius: 999px; transition: background .3s, color .3s, border-color .3s !important; }
.nav__cta:hover { background: var(--shell); color: var(--pacific) !important; }
.nav.is-solid .nav__brand { color: var(--pacific); text-shadow: none; }
.nav.is-solid .nav__menu a { color: var(--ink-soft); text-shadow: none; }
.nav.is-solid .nav__menu a:hover, .nav.is-solid .nav__menu a.is-active { color: var(--pacific); }
.nav.is-solid .nav__cta { border-color: var(--pacific); color: var(--pacific); }
.nav.is-solid .nav__cta:hover { background: var(--pacific); color: var(--shell) !important; }
.nav__toggle { display: none; }

/* Section rail (echoes the deck's "01 / 04") */
.rail {
  position: fixed; right: 1.4rem; top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .35rem;
  padding: .6rem .5rem; border-radius: 999px;
  background: rgba(255, 253, 249, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 10px 30px -18px rgba(6, 38, 61, .5);
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease);
}
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail a {
  position: relative; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  font: italic 400 .95rem/1 var(--display); color: var(--ink-soft); text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.rail a.is-active { background: var(--pacific); color: var(--shell); }
.rail em {
  position: absolute; right: calc(100% + .8rem); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal;
  background: var(--pacific); color: var(--shell); padding: .5rem .7rem; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.rail a:hover em { opacity: 1; transform: translate(0, -50%); }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  margin-top: -4.5rem; padding: 10rem 0 12rem;
  min-height: min(100svh, 62rem);
  color: var(--shell); overflow: hidden;
  display: flex; align-items: center;
}
.hero__sea {
  position: absolute; inset: -8% 0 -8% 0; z-index: -3; overflow: hidden;
  background: var(--pacific);
}
.hero__sea::after { /* slow swell */
  content: ""; position: absolute; inset: 0;
  background: url("ocean.jpg") center 62% / cover no-repeat;
  filter: brightness(1.2) saturate(1.55) hue-rotate(10deg) contrast(1.04);
  animation: swell 26s ease-in-out infinite alternate;
}
@keyframes swell { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1.2%); } }
.hero__sun { /* drifting light on the water */
  position: absolute; z-index: -2; width: 60vmax; height: 26vmax; left: 30%; top: 38%;
  background: radial-gradient(closest-side, rgba(255, 214, 170, .4), rgba(255, 214, 170, 0));
  mix-blend-mode: screen; filter: blur(10px);
  animation: sunDrift 18s ease-in-out infinite alternate;
}
@keyframes sunDrift { from { transform: translate(-10%, 0) scale(1); opacity: .7; } to { transform: translate(14%, -6%) scale(1.15); opacity: 1; } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 38, 61, .55) 0%, rgba(6, 38, 61, .28) 24%, rgba(6, 38, 61, 0) 44%, rgba(6, 38, 61, .05) 68%, rgba(6, 38, 61, .5) 100%),
    linear-gradient(90deg, rgba(6, 38, 61, .42) 0%, rgba(6, 38, 61, 0) 58%);
}
.hero__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(3.3rem, 8.4vw, 8rem); line-height: .92; margin-bottom: 2.2rem; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(6, 38, 61, .35); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line--em { font-style: italic; color: var(--glow); padding-left: .04em; text-shadow: 0 0 28px var(--glow-halo), 0 2px 18px rgba(6, 38, 61, .45); }
.hero__lede { font: 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.4 var(--serif); max-width: 30ch; color: #fff; margin-bottom: .8rem; text-shadow: 0 1px 16px rgba(6, 38, 61, .45); }
.hero__sub { font: 500 1.05rem/1.6 var(--sans); max-width: 40ch; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(6, 38, 61, .5); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.2rem; margin-top: 2.4rem; }

/* hero entrance */
.js .hero .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: rise 1.3s var(--ease-out) forwards; animation-delay: calc(var(--d) * 90ms + 150ms); }
.js .hero__in { opacity: 0; transform: translateY(14px); animation: rise 1.4s var(--ease-out) forwards; animation-delay: calc(var(--d) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

.hero__portrait { position: relative; margin: 0; justify-self: end; text-align: center; }
.porthole {
  position: relative; z-index: 1;
  width: clamp(14rem, 22vw, 19rem); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 1.4rem 1.4rem;
  overflow: hidden; padding: .45rem;
  border: 1px solid rgba(212, 238, 248, .5);
  background: rgba(255, 253, 249, .07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.porthole img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ring { position: absolute; z-index: 2; width: 9.5rem; height: 9.5rem; left: -5rem; bottom: .6rem; pointer-events: none; }
.ring svg { position: relative; z-index: 1; width: 100%; height: 100%; animation: spin 40s linear infinite; overflow: visible; }
.ring text { font: 700 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; fill: #fff; stroke: rgba(6, 38, 61, .55); stroke-width: 3px; paint-order: stroke; stroke-linejoin: round; }
.ring::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--sun); box-shadow: 0 0 40px rgba(224, 166, 108, .6); }
.ring::after { /* tiny wave in the sun */
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 22c4-4 8-4 12 0s8 4 12 0' stroke='%2306263d' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__portrait figcaption { margin-top: 1.1rem; font: italic 400 1.35rem/1.3 var(--display); color: #fff; }

.scroll-cue { position: absolute; left: 50%; bottom: clamp(4.5rem, 9vw, 8rem); z-index: 2; width: 1px; height: 3.2rem; background: rgba(255, 253, 249, .25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--shell); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Tides */
.tide { position: absolute; left: -3%; width: 106%; height: clamp(60px, 9vw, 140px); display: block; pointer-events: none; }
.tide path { transform-origin: center; }
.tide--hero { bottom: -1px; z-index: 1; }
.tide--hero .tide__back { fill: rgba(143, 214, 238, .26); animation: drift 14s ease-in-out infinite alternate; }
.tide--hero .tide__mid { fill: rgba(238, 247, 251, .42); animation: drift 10s ease-in-out infinite alternate-reverse; }
.tide--hero .tide__front { fill: var(--foam); }
@keyframes drift { from { transform: translateX(-2%) scaleY(1); } to { transform: translateX(2%) scaleY(1.1); } }

/* Welcome statement */
.statement { background: var(--foam); padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(2rem, 5vw, 4rem); }
.statement__inner { max-width: 62rem; text-align: center; }
.statement__mark { width: 5.5rem; margin: 0 auto 2.2rem; fill: none; stroke: var(--sun-deep); stroke-width: 1.6; stroke-linecap: round; display: block; }
.statement__text { font: 400 clamp(2rem, 4.6vw, 3.8rem)/1.14 var(--display); color: var(--pacific); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.js .statement__text .sw { color: rgba(10, 61, 92, .24); transition: color .5s var(--ease); }
.js .statement__text .sw.is-lit { color: var(--pacific); }
.js .statement__text .sw.is-lit.em { color: var(--tide); font-style: italic; }

/* Sections */
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.section--foam { background: var(--foam); }
.section--sand { background: var(--sand); }
.section__head { max-width: 50rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__lede { font: 500 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--serif); color: var(--kelp); margin: 1.4rem 0 0; }

/* Offerings */
.offerings { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 2rem); align-items: start; }
.offering:nth-child(2) { margin-top: 4rem; }
.offering:nth-child(3) { margin-top: 8rem; }
.offering { position: relative; }
.offering__img {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden;
  border-radius: 999px 999px 1.2rem 1.2rem;
  background: var(--kelp);
}
.offering__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 38, 61, 0) 55%, rgba(6, 38, 61, .35)); }
.offering__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease); filter: saturate(.92); }
.offering:hover .offering__img img { transform: scale(1.12); filter: saturate(1.05); }
.offering__body { position: relative; padding: 1.6rem .4rem 0; }
.offering__num {
  position: absolute; top: -2.9rem; right: 1rem; margin: 0;
  font: italic 400 4.4rem/1 var(--display); color: var(--shell);
  text-shadow: 0 6px 24px rgba(6, 38, 61, .35);
}
.offering h3 { font-size: 2rem; font-family: var(--display); }
.offering p:last-child { color: var(--ink-soft); margin: 0; }
.inquire {
  margin-top: clamp(3.5rem, 7vw, 6rem); padding: 2.4rem clamp(1.6rem, 4vw, 3rem);
  border-radius: 1.4rem; background: var(--shell); border: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.inquire p { font: italic 400 clamp(1.35rem, 2.4vw, 1.85rem)/1.35 var(--display); margin: 0; max-width: 34ch; color: var(--pacific); }

/* Interlude */
.interlude { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(28rem, 76vh, 48rem); display: grid; place-items: center; color: #fff; }
.interlude__img { position: absolute; inset: -14% 0; z-index: -2; background: #1a7fae url("cove.jpg") center 55% / cover no-repeat; filter: saturate(1.15) brightness(1.05); }
.interlude::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(6, 38, 61, .55), rgba(6, 38, 61, .2) 70%), linear-gradient(180deg, rgba(6, 38, 61, .25), rgba(6, 38, 61, .1) 50%, rgba(6, 38, 61, .3)); }
.interlude__inner { text-align: center; padding: 5rem 0; }
.interlude blockquote { margin: 0 auto; max-width: 52rem; }
.interlude blockquote p { font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.12 var(--display); margin: 0; text-wrap: balance; text-shadow: 0 2px 30px rgba(6, 38, 61, .55); }
.interlude blockquote em { color: var(--glow); }
.interlude blockquote footer { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.4rem; font: 600 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(6, 38, 61, .6); }
.interlude blockquote footer > span::before { content: ""; display: inline-block; width: 2rem; height: 1px; background: currentColor; vertical-align: middle; margin-right: .8rem; }
.interlude blockquote footer a { color: #fff; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; letter-spacing: .12em; }
.interlude blockquote footer a:hover { color: var(--glow); }

/* Meet */
.meet { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.meet__photo { margin: 0; position: sticky; top: 6.5rem; }
.meet__frame { position: relative; border-radius: 999px 999px 1.3rem 1.3rem; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 80px -50px rgba(6, 38, 61, .55); }
.meet__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(143, 214, 238, 0) 60%, rgba(10, 61, 92, .22)); }
.meet__frame img { width: 100%; height: 100%; object-fit: cover; }
.roles { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.roles li { font: 500 .78rem/1 var(--sans); letter-spacing: .04em; padding: .65rem .95rem; border-radius: 999px; background: var(--shell); border: 1px solid var(--rule); color: var(--kelp); }
.meet__copy h2 { margin-bottom: 2.2rem; }
.meet__copy > p { color: var(--ink-soft); max-width: 40rem; }
.meet__copy > p.lede { color: var(--ink); margin-bottom: 1.6rem; }
.pull { position: relative; margin: 2.8rem 0; padding: 0 0 0 1.8rem; border-left: 2px solid var(--sun); }
.pull p { font: italic 400 clamp(1.7rem, 3vw, 2.5rem)/1.15 var(--display); color: var(--pacific); margin: 0; max-width: 22ch; }

.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; margin-top: clamp(5rem, 10vw, 8rem); }
.story__img { margin: 0; aspect-ratio: 3 / 4; border-radius: 1.3rem; overflow: hidden; box-shadow: 0 50px 80px -50px rgba(6, 38, 61, .5); }
.story__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.story__ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
.ledger h3 { font: italic 400 2rem/1 var(--display); color: var(--tide); padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.ledger li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.ledger strong { display: block; font: 500 1.12rem/1.35 var(--serif); color: var(--pacific); margin-bottom: .2rem; }
.story__note { grid-column: 1 / -1; margin: 0; padding-top: 2rem; border-top: 1px solid var(--rule); font: italic 400 clamp(1.25rem, 2vw, 1.5rem)/1.45 var(--serif); color: var(--kelp); }

.marquee { margin-top: clamp(5rem, 9vw, 7rem); border-block: 1px solid var(--rule); overflow: hidden; padding: 1.6rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1 var(--display); color: var(--pacific); white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: ""; width: 2.6rem; height: 1rem; margin: 0 2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 20'%3E%3Cpath d='M2 10c6-6 12-6 16 0s10 6 16 0 12-6 16 0' stroke='%23c9834a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Writing */
.section--writing { padding-bottom: clamp(9rem, 15vw, 13rem); }
.pages { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.page {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2.2rem, 4vw, 3.4rem); min-height: 22rem;
  border-radius: 1.4rem; background: var(--shell); border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.page:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(6, 38, 61, .45); }
.page h3 { font: 400 clamp(2.1rem, 3.4vw, 2.9rem)/1.05 var(--display); margin-bottom: 1.1rem; }
.page p { color: var(--ink-soft); }
.page .link { margin-top: auto; align-self: flex-start; }
.page--deep { background: var(--pacific); border-color: transparent; color: var(--shell); }
.page__bg { position: absolute; inset: 0; z-index: -1; background: url("ripple.jpg") center / cover; opacity: .5; transition: transform 2s var(--ease-out); }
.page__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15, 91, 128, .55), rgba(6, 38, 61, .92) 70%); }
.page--deep:hover .page__bg { transform: scale(1.06); }
.page--deep h3 { color: var(--shell); }
.page--deep p { color: rgba(255, 255, 255, .92); }
.page--deep .label { color: var(--seaglass); }

.published { margin-top: clamp(4rem, 8vw, 6rem); }
.essays { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.essays li { border-bottom: 1px solid var(--rule); }
.essays a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto 2rem; align-items: baseline; gap: 1rem 2rem;
  padding: 1.7rem 1rem; text-decoration: none; isolation: isolate;
}
.essays a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shell); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); border-radius: .6rem; }
.essays a:hover::before { transform: none; }
.essays__title { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--display); color: var(--pacific); transition: transform .5s var(--ease-out); }
.essays a:hover .essays__title { transform: translateX(.5rem); }
.essays__desc { color: var(--ink-soft); font-size: 1rem; }
.essays__meta { font: 600 .68rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--driftwood); white-space: nowrap; }
.essays__arrow { font-size: 1.2rem; color: var(--tide); transition: transform .4s var(--ease); justify-self: end; }
.essays a:hover .essays__arrow { transform: translate(3px, -3px); }

/* Begin */
.begin { position: relative; isolation: isolate; color: var(--shell); padding: clamp(7rem, 13vw, 11rem) 0 clamp(5rem, 9vw, 8rem); }
.begin__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.begin__img { position: absolute; inset: -14% 0; background: var(--pacific) url("sunset.jpg") center 55% / cover no-repeat; }
.begin__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 61, 92, .9) 0%, rgba(10, 61, 92, .35) 28%, rgba(6, 38, 61, .3) 60%, rgba(6, 38, 61, .92) 100%), linear-gradient(90deg, rgba(6, 38, 61, .6), rgba(6, 38, 61, 0) 70%); }
.tide--top { bottom: 100%; margin-bottom: -1px; }
.tide--top .tide__back { fill: rgba(26, 127, 174, .35); animation: drift 14s ease-in-out infinite alternate; }
.tide--top .tide__mid { fill: rgba(15, 91, 128, .7); animation: drift 10s ease-in-out infinite alternate-reverse; }
.tide--top .tide__front { fill: var(--pacific); }
.begin__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.begin h2 { color: var(--shell); font-size: clamp(2.8rem, 6vw, 5.4rem); margin-bottom: 1.6rem; }
.begin h2 em { color: var(--glow); text-shadow: 0 0 28px var(--glow-halo); }
.begin__copy p { color: rgba(255, 255, 255, .94); max-width: 32rem; }
.begin__mail {
  display: inline-block; margin-top: 1.2rem;
  font: italic 400 clamp(1.5rem, 3.2vw, 2.4rem)/1.2 var(--display);
  color: var(--shell); text-decoration: none;
  background: linear-gradient(var(--sun), var(--sun)) 0 100% / 100% 1px no-repeat; padding-bottom: .35rem;
  transition: color .3s;
  overflow-wrap: anywhere;
}
.begin__mail:hover { color: var(--sun); }

.note {
  padding: clamp(1.8rem, 3.5vw, 2.6rem); border-radius: 1.5rem;
  background: rgba(255, 253, 249, .1); border: 1px solid rgba(255, 253, 249, .22);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
  display: grid; gap: 1.1rem;
}
.note__topics { border: 0; margin: 0 0 .3rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.note__topics legend { font: 600 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--seaglass); margin-bottom: .8rem; padding: 0; }
.note__topics label { position: relative; cursor: pointer; }
.note__topics input { position: absolute; opacity: 0; }
.note__topics span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 253, 249, .35); font: 500 .85rem/1 var(--sans); transition: background .3s, color .3s, border-color .3s; }
.note__topics input:checked + span { background: var(--shell); color: var(--pacific); border-color: var(--shell); }
.note__topics input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field span { font: 500 .85rem/1 var(--sans); color: rgba(255, 255, 255, .9); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--shell);
  background: rgba(6, 38, 61, .35); border: 1px solid rgba(255, 253, 249, .2); border-radius: .8rem;
  padding: .85rem 1rem; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgba(6, 38, 61, .5); }
.note .btn { justify-self: start; margin-top: .3rem; }
.note__hint { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .78); }

/* Footer */
.footer { background: var(--abyss); color: rgba(255, 255, 255, .85); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .92rem; }
.footer__top { padding-bottom: 2.5rem; }
.footer__name { font: 400 clamp(3rem, 9vw, 7.5rem)/.95 var(--display); color: var(--shell); margin: 0 0 1rem; letter-spacing: -.02em; }
.footer__tag { font: 600 .7rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--seaglass); margin: 0; }
.footer__tag i { font-style: normal; opacity: .5; margin: 0 .35rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; padding: 2rem 0; border-block: 1px solid rgba(143, 214, 238, .16); }
.footer__nav { display: flex; flex-wrap: wrap; gap: .8rem 2rem; }
.footer__nav a, .footer__mail { text-decoration: none; transition: color .3s; }
.footer__nav a:hover, .footer__mail:hover { color: var(--shell); }
.footer__mail { font: italic 400 1.35rem/1 var(--display); color: var(--shell); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .8rem; opacity: .8; }
.footer__base p { margin: 0; max-width: 46rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) { .rail { display: none; } }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__portrait { justify-self: start; display: flex; align-items: center; gap: 1.4rem; text-align: left; }
  .porthole { width: 8rem; padding: .3rem; }
  .ring { display: none; }
  .hero__portrait figcaption { margin: 0; }
  .offerings { grid-template-columns: 1fr; gap: 3rem; max-width: 34rem; }
  .offering:nth-child(n) { margin-top: 0; }
  .offering__img { aspect-ratio: 16 / 11; border-radius: 1.2rem; }
  .meet, .story { grid-template-columns: 1fr; }
  .meet__photo { position: static; max-width: 26rem; }
  .story__img { max-width: 30rem; aspect-ratio: 4 / 3; }
  .pages { grid-template-columns: 1fr; }
  .begin__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; padding: .6rem;
  }
  .nav__toggle .bar { display: block; height: 1.5px; background: var(--shell); transition: transform .3s var(--ease), background .3s; }
  .nav.is-solid .nav__toggle .bar, .nav.is-open .nav__toggle .bar { background: var(--pacific); }
  .nav.is-open .nav__toggle .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--shell); padding: .5rem 1rem 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(6, 38, 61, .4);
    display: none;
  }
  .nav.is-open { background: var(--shell); }
  .nav.is-open .nav__brand { color: var(--pacific); }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { color: var(--pacific) !important; padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav__menu a::after { display: none; }
  .nav__cta { border: 0 !important; border-radius: 0; padding: 1rem 0 !important; }
  .hero { padding: 8rem 0 9rem; min-height: auto; }
  .hero__sea::after { background-image: url("ocean-sm.jpg"); }
  .hero h1 { font-size: clamp(3rem, 13.5vw, 4.4rem); }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .18em; }
  .hero .eyebrow i { margin: 0 .3rem; }
  .hero__veil { background: linear-gradient(180deg, rgba(6, 38, 61, .5) 0%, rgba(6, 38, 61, .3) 40%, rgba(6, 38, 61, .38) 70%, rgba(6, 38, 61, .55) 100%); }
  .scroll-cue { display: none; }
  .review-bar span { display: none; }
  .interlude__img { background-image: url("cove-sm.jpg"); }
  .begin__img { background-image: url("sunset-sm.jpg"); }
  .inquire { flex-direction: column; align-items: flex-start; }
  .story__ledger { grid-template-columns: 1fr; }
  .essays a { grid-template-columns: 1fr auto; padding: 1.4rem .2rem; gap: .4rem 1rem; }
  .essays__title { grid-column: 1; }
  .essays__arrow { grid-column: 2; grid-row: 1; }
  .essays__desc, .essays__meta { grid-column: 1 / -1; }
  .essays__desc:empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .w, .js .hero__in { opacity: 1; transform: none; filter: none; }
  .js .statement__text .sw { color: var(--pacific); }
  html { scroll-behavior: auto; }
}
