:root {
  --ink: #111413;
  --muted: #596362;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #005b61;
  --teal-bright: #008f96;
  --teal-pale: #dceced;
  --orange: #ef6845;
  --line: rgba(0, 91, 97, .2);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, 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: 17px; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 88px; padding: .8rem clamp(1.2rem, 4vw, 4.5rem); background: rgba(247,245,239,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { width: min(340px, 44vw); }
.brand img { width: 100%; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
nav a { color: var(--ink); font-size: .83rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--teal-bright); }
.nav-toggle { display: none; border: 1px solid var(--teal); background: transparent; color: var(--teal); padding: .55rem .8rem; font: 700 .85rem var(--sans); }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 7vw, 8rem); overflow: hidden; }
.hero-copy { max-width: 770px; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(4.4rem, 10vw, 9rem); font-weight: 400; letter-spacing: -.055em; line-height: .84; }
.hero-lede { margin: 0 0 1rem; color: var(--teal); font-family: var(--serif); font-size: clamp(1.5rem, 2.7vw, 2.35rem); line-height: 1.15; }
.hero-copy > p:not(.eyebrow):not(.hero-lede):not(.signature) { max-width: 660px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: var(--teal-bright); }
.button-quiet { border-color: var(--teal); color: var(--teal); }
.button-light { background: white; color: var(--teal); }
.signature { margin-top: 1.2rem; color: var(--orange); font-family: var(--serif); font-size: 1.5rem; }
.hero-cartoon { position: relative; margin: 0; padding: clamp(.55rem, 1.5vw, 1rem); background: white; box-shadow: 0 24px 60px rgba(17,20,19,.14); transform: rotate(1.25deg); }
.hero-cartoon::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.hero-cartoon img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: contrast(1.02); }
.hero-cartoon figcaption { position: relative; padding: .7rem .35rem .15rem; color: var(--muted); font-size: .78rem; text-align: right; }
.hero-cartoon cite { color: var(--teal); font-style: normal; font-weight: 700; }

.manifesto { display: grid; grid-template-columns: .25fr 1fr; gap: 2rem; padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 10vw, 12rem); background: var(--teal); color: white; }
.section-number { color: rgba(255,255,255,.4); font-family: var(--serif); font-size: 3rem; }
.manifesto-copy { max-width: 820px; }
.manifesto .eyebrow { color: #9ee3e5; }
.manifesto h2, .section-heading h2, .membership h2, .newsletter h2, .destination h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.manifesto p:not(.eyebrow) { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 1rem; color: white; font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.library { padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 7vw, 8rem); }
.section-heading { max-width: 880px; margin-bottom: 3rem; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.library-card { min-height: 255px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.library-card span { color: var(--orange); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.library-card h3 { margin: 1.2rem 0 .6rem; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.library-card p { color: var(--muted); }

.membership { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 7vw, 8rem); background: var(--ink); color: white; }
.membership-intro { max-width: 640px; }
.membership .eyebrow { color: #8dd9dc; }
.membership-intro > p:not(.eyebrow):not(.fine-print) { color: rgba(255,255,255,.8); font-size: 1.1rem; }
.fine-print { color: rgba(255,255,255,.55); font-size: .86rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 340px; padding: 2rem; border: 1px solid rgba(255,255,255,.2); text-align: center; }
.plan.featured { background: var(--teal); border-color: var(--teal); }
.plan p { margin: 0 0 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.plan h3 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); font-weight: 400; line-height: .9; }
.plan h3 sup { font-family: var(--sans); font-size: 1.2rem; vertical-align: top; }
.plan h3 small { font-size: .43em; }
.plan span { margin: .7rem 0 1.5rem; color: rgba(255,255,255,.7); }
.plan em { margin-top: 1rem; color: #b4ebed; font-size: .82rem; }
.plans-note { grid-column: 1 / -1; color: rgba(255,255,255,.55); font-size: .82rem; text-align: center; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 10vw, 12rem); background: var(--teal-pale); }
.newsletter-copy p:not(.eyebrow), .newsletter-action { color: var(--muted); }
.newsletter-action { align-self: center; padding-left: 2rem; border-left: 4px solid var(--orange); }
.newsletter-action small { display: block; max-width: 440px; margin-top: 1rem; font-size: .78rem; }

.destinations { display: grid; grid-template-columns: 1fr 1fr; }
.destination { min-height: 440px; padding: clamp(3rem, 6vw, 6rem); color: white; text-decoration: none; transition: filter .2s ease; }
.destination:hover { filter: brightness(1.08); }
.destination:first-child { background: var(--teal); }
.destination:last-child { background: var(--orange); }
.destination span { font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.destination h2 { max-width: 650px; margin: 1rem 0 1.5rem; font-size: clamp(2.3rem, 4.5vw, 4.7rem); }
.destination p { max-width: 580px; color: rgba(255,255,255,.82); }
.destination strong { display: inline-block; margin-top: 1rem; }

footer { padding: 4rem clamp(1.4rem, 7vw, 8rem); background: white; text-align: center; }
footer img { width: min(460px, 90%); margin: 0 auto 1rem; }
footer p { color: var(--muted); }
.copyright { font-size: .8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 1.2rem 1.3rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .85rem 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-cartoon { max-width: 650px; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .membership, .newsletter { grid-template-columns: 1fr; }
  .newsletter-action { padding: 0 0 0 1.3rem; }
  .destinations { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; }
  .brand { width: 230px; }
  h1 { font-size: clamp(3.8rem, 20vw, 6.5rem); }
  .hero { padding-top: 4rem; }
  .manifesto { grid-template-columns: 1fr; }
  .section-number { font-size: 2rem; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { min-height: 210px; }
  .plans { grid-template-columns: 1fr; }
  .plans-note { grid-column: 1; }
  .newsletter { gap: 2rem; }
}
