/* Option 1: Seawall. Navy storm above, black-and-white wall, cool fog below.
   Marcellus for the brand and big titles; Public Sans for everything else. */
:root {
  --bg: #ffffff; --ink: #1f2629; --muted: #56656b;
  --storm-bg: #1b2d3b; --reach-bg: #1b2d3b; --head-bg: rgba(27, 45, 59, 0.94);
  --rock: #121516; --joint: #e4e9ea;
  --serif: "Marcellus", Georgia, serif; --sans: "Public Sans", system-ui, sans-serif;
  /* On wide screens the side margins grow so content stays in a centred ~1400px frame. */
  --gutter: max(clamp(20px, 6vw, 96px), calc((100vw - 1400px) / 2));
  /* Section labels ("The experience") sit in a side column sized in rem, so it grows
     with the text rather than the window and a label can never run into its content. */
  --label: 11rem; --label-gap: 2.5rem;
  --indent: calc(var(--label) + var(--label-gap));
}
/* Text scales gently from laptop to large monitor: 16px up to 20px. */
html { font-size: clamp(16px, 11px + 0.36vw, 20px); }
.hero h1 { font: 400 clamp(2.5rem, 6.4vw, 5.75rem)/1.02 var(--serif); letter-spacing: -0.005em; }
.sub { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }
.section { grid-template-columns: var(--label) minmax(0, 42rem); column-gap: var(--label-gap); }
.section > h2 { font: 400 1.375rem/1.3 var(--serif); padding-top: 0.35rem; overflow-wrap: break-word; }
.lede { font: 400 clamp(1.25rem, 1.8vw, 1.625rem)/1.35 var(--serif); }
.mission .lede { max-width: 38ch; }
.steps .n { font: 400 1.0625rem/1.65 var(--sans); }
.steps h3 { font: 500 1.0625rem/1.65 var(--sans); }
.name { font: 500 1.25rem/1.3 var(--sans); }
.reach .body > h2 { font: 400 clamp(2.125rem, 4.2vw, 3.5rem)/1.08 var(--serif); margin-bottom: 1.25rem; }
.big-email { font: 500 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 var(--sans); }

/* Full-screen pages. A small script settles onto the nearest page after scrolling. */
html { scroll-padding-top: 0; scroll-snap-type: y mandatory; }
.page { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }
.storm.page { display: flex; flex-direction: column; justify-content: center; }
.storm .hero { padding-top: var(--header-h); padding-bottom: 0; }
.section.page { align-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
.page-contact { display: flex; flex-direction: column; background: var(--reach-bg); }
.page-contact .reach { flex: 1; align-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }

/* Experience: three pillars */
.pillars { list-style: none; padding: 0; margin-top: 2.25rem !important; }
.pillars li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0 1.5rem; padding: 1.1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.pillars li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.pillars h3 { font: 400 1.25rem/1.4 var(--serif); }
.pillars p { color: var(--muted); }

/* Founder bio and mission alternate a lighter shade so each page change reads clearly */
.founder { background: var(--bg); }
.section.founder.page { grid-template-columns: auto minmax(0, 36rem); column-gap: clamp(32px, 5vw, 80px);
  justify-content: start; align-items: center; padding-left: calc(var(--gutter) + var(--indent) * 0.35); }
.founder .portrait { display: block; width: auto; padding: 0; background: none;
  height: min(560px, calc(100svh - var(--header-h) - 120px)); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; }
.founder .body { display: block; }
.founder .body > h2 { font: 400 1.375rem/1.3 var(--serif); color: var(--muted); margin-bottom: 1rem; }
.founder .body > p + p { margin-top: 1rem; }
.founder .name { font: 400 clamp(1.5rem, 2.4vw, 2.0625rem)/1.2 var(--serif); }
.founder .body > .place { margin: 0.35rem 0 1.5rem; }

@media (max-width: 720px) {
  .pillars li { grid-template-columns: 1fr; }
}

/* Phones, tablets, and short screens: plain native scrolling. No snapping;
   each section is as tall as its content, and only the hero fills the screen. */
@media (max-width: 720px), (max-height: 600px), (hover: none) and (pointer: coarse) {
  html { scroll-snap-type: none; scroll-padding-top: var(--header-h); }
  .page { scroll-snap-align: none; min-height: 0; }
  .storm.page { min-height: 100svh; }
  .section.page { padding-top: 64px; padding-bottom: 64px; }
  .page-contact .reach { padding-top: 64px; padding-bottom: 56px; }
}

.sources { margin-top: 1.25rem !important; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: 40rem; }

/* Contact: pitch and email on the left, intake form on the right */
.page-contact .reach { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: clamp(40px, 6vw, 110px);
  padding-left: calc(var(--gutter) + var(--indent)); align-items: center; }
.reach .facts a { text-decoration: none; }
.reach .facts a:hover { text-decoration: underline; }
.intake { display: grid; gap: 1rem; }
.intake .field { display: grid; gap: 0.35rem; }
.intake label { font-size: 0.875rem; color: var(--reach-muted); }
.intake .opt { opacity: 0.75; }
.intake input, .intake textarea {
  font: inherit; font-size: 1rem; color: var(--reach-ink); background: rgba(238, 241, 241, 0.06);
  border: 1px solid rgba(238, 241, 241, 0.28); border-radius: 6px; padding: 0.7rem 0.8rem; width: 100%;
}
.intake textarea { resize: vertical; min-height: 6.5rem; }
.intake input:focus-visible, .intake textarea:focus-visible { outline: 2px solid var(--reach-ink); outline-offset: 1px; border-color: transparent; }
.intake input:user-invalid { border-color: #e7a1a1; }
.intake .send { justify-self: start; font: 500 0.9375rem/1 var(--sans); background: var(--reach-ink); color: var(--reach-bg);
  border: 0; border-radius: 999px; padding: 0.8rem 1.6rem; cursor: pointer; }
.intake .send:hover { opacity: 0.9; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* LinkedIn next to the founder's location */
.founder .place .sep::before { content: ""; display: inline-block; width: 1px; height: 0.9em; background: currentColor; opacity: 0.4; margin: 0 0.6rem; vertical-align: -0.1em; }
.founder .place a { color: var(--ink); }

/* Thank-you and not-found pages */
.plain { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.notice { flex: 1; display: flex; align-items: center; }
.notice .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }

/* Layout steps. Breakpoints are in em, so they also respond to browser zoom
   and larger default text sizes, not just window width. */

/* Medium windows and zoomed-in desktops: labels move above their content. */
@media (max-width: 64em) {
  :root { --indent: 0px; }
  .section { grid-template-columns: minmax(0, 42rem); }
  .section > h2 { padding-top: 0; margin-bottom: 1rem; }
  .section.founder.page { padding-left: var(--gutter); }
}

/* Narrow windows and tablets upright: photo above the bio, form below the pitch. */
@media (max-width: 52em) {
  .section.founder.page { grid-template-columns: minmax(0, 36rem); row-gap: 28px; }
  .founder .portrait { height: auto; width: min(80%, 340px); }
  .page-contact .reach { grid-template-columns: minmax(0, 36rem); row-gap: 40px; }
}
.intake .form-note { font-size: 0.8125rem; color: var(--reach-muted); margin: -0.25rem 0 0; }

/* Hero: photo of open water (Unsplash, Mike Iukhtenko), tinted into the site's navy */
.storm.page { background: #1b2d3b url("/assets/hero-water-1200.jpg") center / cover no-repeat; }
@media (min-width: 1000px) { .storm.page { background-image: url("/assets/hero-water.jpg"); } }
.hero-tint { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,36,48,.78) 0%, rgba(20,36,48,.45) 60%, rgba(20,36,48,.3) 100%), rgba(27,45,59,.25); }

/* Experience: text on the left, the heat / cool / relax illustration on the right */
.section.experience.page { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 88px);
  align-items: center; padding-left: var(--gutter); }
.experience .eyebrow { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: #1b2d3b; margin: 0 0 1rem; }
.experience .eyebrow::after { content: ""; display: block; width: 2.25rem; height: 1.5px; background: currentColor; margin-top: 0.9rem; }
.experience h2 { font: 400 clamp(2.5rem, 4.6vw, 4rem)/1.05 var(--serif); color: #1b2d3b; margin: 0 0 1.1rem; }
.experience .exp-sub { font-size: 1.125rem; color: var(--muted); max-width: 26rem; margin: 0 0 1.75rem; }
.cycle { list-style: none; padding: 0; margin: 0; border-top: 1px solid color-mix(in srgb, #1b2d3b 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #1b2d3b 22%, transparent); padding: 1.25rem 0; display: grid; gap: 1.1rem; }
.cycle li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; }
.cycle .num { width: 2.75rem; height: 2.75rem; border: 1.5px solid #1b2d3b; border-radius: 50%; display: grid; place-items: center;
  font: 400 1.25rem/1 var(--serif); color: #1b2d3b; }
.cycle h3 { font: 400 1.5rem/1.2 var(--serif); color: #1b2d3b; margin: 0.1rem 0 0.2rem; }
.cycle p { color: var(--muted); margin: 0; }
.experience .exp-after { color: var(--muted); font-size: 0.9375rem; margin: 1rem 0 0; }
.exp-art { width: 100%; max-width: 640px; height: auto; justify-self: center; max-height: calc(100svh - var(--header-h) - 80px); object-fit: contain; }

@media (max-width: 64em) {
  .section.experience.page { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .exp-art { max-width: 520px; justify-self: center; max-height: none; }
}
.pillars .read-more { grid-column: 2; margin-top: 0.5rem; font-size: 0.875rem; }
.pillars .read-more a, .sources a { color: inherit; }
@media (max-width: 720px) { .pillars .read-more { grid-column: 1; } }


/* Stacked layouts: center the founder photo */
@media (max-width: 52em) {
  .founder .portrait { justify-self: center; }
}

/* Thank-you and 404 pages: the same tinted water photo as the hero */
.plain { background: linear-gradient(90deg, rgba(20,36,48,.82) 0%, rgba(20,36,48,.55) 60%, rgba(20,36,48,.4) 100%),
  #1b2d3b url("/assets/hero-water-1200.jpg") center / cover no-repeat; }
@media (min-width: 1000px) { .plain { background-image: linear-gradient(90deg, rgba(20,36,48,.82) 0%, rgba(20,36,48,.55) 60%, rgba(20,36,48,.4) 100%), url("/assets/hero-water.jpg"); } }
.plain .storm, .plain .site-header, .plain .site-footer { background: transparent; }
