@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f4;
  --forest: #35584c;
  --ink: #233930;
  --muted: #4b6157;
  --sage: #edf1ea;
  --line: #bbc9bf;
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
  --header-height: 5.25rem;
  --section-space: clamp(3.5rem, 7vw, 7rem);
  --column-gap: clamp(2rem, 7vw, 6.25rem);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem / 1.8 "Open Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }

a { color: inherit; }

a:focus-visible,
summary:focus-visible,
[role="tabpanel"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img { display: block; max-inline-size: 100%; }

h1, h2, h3 {
  color: var(--forest);
  font-family: inherit;
  font-weight: 300;
  letter-spacing: -0.035em;
}

h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.22; }
h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.26; }

.page-width {
  width: min(calc(100% - 2 * var(--gutter)), 72rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 5;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.5rem 0.85rem;
  clip-path: inset(50%);
  background: var(--paper);
}

.skip:focus { clip-path: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  color: var(--forest);
  font-size: clamp(1.25rem, 2.05vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.island-mark { width: 2.25rem; height: auto; flex: none; }
.footer-wordmark .island-mark { width: 1.85rem; }

.brand-script { width: 8.6rem; height: auto; }
.footer-wordmark .brand-script { width: 7.25rem; }

.site-header nav {
  display: flex;
  gap: clamp(0.8rem, 3vw, 2.5rem);
}

.site-header nav a {
  display: grid;
  align-items: center;
  min-height: 2.75rem;
  color: var(--forest);
  font-size: 0.875rem;
  text-decoration: none;
  text-underline-offset: 0.35em;
  white-space: nowrap;
}

.site-header nav a:hover { text-decoration: underline; }

.hero { padding-bottom: clamp(2.8rem, 5.8vw, 5.25rem); }

.hero-inner,
.section-intro,
.name-inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: var(--column-gap);
}

.hero-inner {
  align-items: end;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.25rem, 5.2vw, 4.6rem);
}

.eyebrow {
  margin-bottom: 0.95rem;
  color: var(--forest);
  font-size: 0.8125rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  text-wrap: balance;
  font-size: clamp(3.3rem, 6.8vw, 6.15rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero-copy { padding-bottom: 0.3rem; }

.hero-copy p {
  max-width: 24rem;
  font-size: clamp(1.07rem, 1.55vw, 1.26rem);
  font-weight: 300;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.text-link:hover { border-color: currentColor; }
.hero-copy .text-link { margin-top: 1.15rem; }

.photo-tone {
  position: relative;
  isolation: isolate;
  display: block;
  background: #e1e8df;
}

.photo-tone img {
  filter: brightness(var(--photo-light, 1)) saturate(var(--photo-saturation, 0.74)) contrast(var(--photo-contrast, 0.94));
}

.photo-tone::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #f4efd8 8%, #d6dfcc 42%, #31584c 100%);
  mix-blend-mode: soft-light;
  opacity: var(--photo-tint, 0.44);
  pointer-events: none;
  content: "";
}

.photo-tone--lake { --photo-saturation: 0.79; }

.photo-tone--rock { --photo-light: 1.06; }

.photo-tone--sauna {
  --photo-light: 1.19;
  --photo-contrast: 0.82;
  --photo-saturation: 0.92;
  --photo-tint: 0.28;
}

.photo-tone--nature {
  --photo-saturation: 0.72;
  --photo-tint: 0.4;
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.island-home .hero {
  background: radial-gradient(ellipse at 92% 20%, #f4eddd, transparent 47%);
}

.hero-figure .photo-tone {
  overflow: hidden;
  border-radius: clamp(1.35rem, 5vw, 4rem) 0.35rem clamp(0.9rem, 2.8vw, 2.4rem) 0.35rem;
}

.explore {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 100% 100%, #e3ebe0, transparent 64%), var(--sage);
}

.section-intro {
  align-items: center;
  margin-bottom: clamp(1.4rem, 3.3vw, 2.85rem);
}

.section-intro p { color: var(--muted); }

.chapter-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(1.5rem, 3.2vw, 2.8rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.3rem 0.4rem;
  background: rgb(250 249 244 / 42%);
}

.chapter-nav a {
  display: grid;
  place-items: center;
  min-height: 3.25rem;
  padding: 0.45rem 0.3rem;
  border-bottom: 2px solid transparent;
  color: var(--forest);
  font-size: 0.9375rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.chapter-nav a + a { border-inline-start: 1px solid var(--line); }

.chapter-nav a:hover,
.chapter-nav [aria-selected="true"] { border-bottom-color: var(--forest); }
.chapter-nav [aria-selected="true"] { background: #e1e8df; }
.chapter-nav a:focus-visible { outline-offset: -4px; }

.chapter {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: var(--column-gap);
}

.chapter + .chapter { margin-top: 2.75rem; }
.chapter[role="tabpanel"] { margin-top: 0; }

.chapter--sauna {
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.chapter .photo-tone {
  overflow: hidden;
  border-radius: 0.35rem clamp(1.35rem, 3.5vw, 3rem);
}

.chapter-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  background: #dbe3d9;
}

.sauna-image {
  aspect-ratio: 1.5;
  object-position: 50% 54%;
}

.chapter-copy,
.name-copy { max-width: 35rem; }

.chapter-copy p { margin-top: 0.9rem; }
.chapter-copy .aside {
  padding-left: 0.9rem;
  border-left: 1px solid #8fa697;
  color: var(--muted);
}
.chapter-copy .text-link { margin-top: 0.55rem; }

.nature-term {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.65rem;
  color: var(--forest);
}

.nature-term i { font-size: 1.25rem; }
.nature-term span { color: var(--muted); font-size: 0.875rem; }

.island-wish {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: clamp(0.9rem, 2vw, 1.4rem);
  border: 1px solid #cbd6c7;
  border-radius: 1.35rem 0.4rem;
  background: linear-gradient(145deg, #f8f4e8, #f0f3eb);
}

.island-wish figcaption { color: var(--forest); }

.island-wish blockquote {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  text-wrap: balance;
}

.chapter-copy .island-wish p { margin: 0; color: var(--muted); }

.name-section {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 10% 0%, #416a59, transparent 72%), var(--forest);
  color: var(--paper);
}

.name-inner { align-items: start; }
.name-heading h2 { max-width: 13ch; }

.name-section h2,
.name-section .eyebrow,
.name-section .text-link { color: inherit; }

.name-section .text-link { border-color: rgb(250 249 244 / 52%); }
.name-section .text-link:hover { border-color: currentColor; }

.name-sources { margin-top: 1rem; }
.name-sources summary { width: fit-content; padding-block: .5rem; cursor: pointer; }
.name-sources ul { padding-left: 1.2rem; margin-bottom: 0; }
.name-sources a { text-underline-offset: .2em; }

.name-copy p + p { margin-top: 0.9rem; }
.name-copy .text-link { margin-top: 0.7rem; }

.winter-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-block: var(--section-space);
  padding: clamp(1.2rem, 3.2vw, 2.7rem);
  border: 1px solid #d6ded3;
  border-radius: clamp(1.4rem, 4vw, 3rem) 0.5rem;
  background: radial-gradient(ellipse at 0% 0%, #fbf3e3, transparent 72%), var(--sage);
}

.winter-invitation h2 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
.winter-invitation p { max-width: 30rem; margin-top: 0.5rem; color: var(--muted); }
.winter-invitation .text-link { flex-shrink: 0; }

.site-footer {
  padding-block: 1.15rem 1.55rem;
  background: var(--sage);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: clamp(0.9rem, 3vw, 2.5rem);
}

.footer-wordmark { justify-self: start; font-size: 1.35rem; }

.footer-meta a { text-underline-offset: 0.25em; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.95rem;
}

@media (max-width: 46rem) {
  :root { --header-height: 4.3rem; }

  .hero-inner,
  .section-intro,
  .name-inner,
  .chapter {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero h1 { font-size: clamp(2.8rem, 11.5vw, 4.4rem); }
  .hero-copy { padding: 0; }
  .hero-copy .text-link { margin-top: 0.55rem; }
  .section-intro { gap: 0.35rem; }
  .chapter-image { aspect-ratio: 1.42; }
  .name-heading h2 { max-width: 15ch; }
  .winter-invitation { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 0.55rem; }
}

@media (max-width: 30rem) {
  :root { --header-height: 6rem; }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .header-inner .island-mark { width: 1.75rem; }
  .header-inner .brand-script { width: 7.5rem; }
  .site-header nav { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
