html {
  --color-ocean: oklch(25% 0.046 227);
  --color-ocean-light: oklch(34% 0.055 227);
  --color-paper: oklch(97% 0.009 92);
  --color-ink: oklch(27% 0.038 227);
  --color-muted: oklch(46% 0.032 227);
  --color-mist: oklch(90% 0.02 205);
  --color-gold: oklch(81% 0.098 80);
  --color-border: oklch(81% 0.024 205);
  --font-family-heading: 'EB Garamond', Georgia, serif;
  --font-family-body: 'Work Sans', sans-serif;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  background: var(--color-paper);
  color: var(--color-ink);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  accent-color: var(--color-ocean);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family-body); font-size: 1rem; line-height: 1.6; font-synthesis: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-family-heading); font-weight: 500; line-height: 1.1; text-wrap: balance; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 6px; }
.books-section a:focus-visible, .site-footer a:focus-visible { outline-color: var(--color-ocean); }
::selection { background: var(--color-gold); color: var(--color-ocean); }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: .75em 1em; background: var(--color-gold); color: var(--color-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.ocean-region { color: var(--color-paper); background: var(--color-ocean); overflow: hidden; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 104px; border-bottom: 1px solid oklch(42% 0.037 227); }
.wordmark { display: inline-flex; align-items: center; gap: 14px; font-size: .75rem; font-weight: 500; letter-spacing: .16em; }
.wordmark svg { width: 38px; height: 38px; color: var(--color-gold); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: .8125rem; }
.site-header nav > a { padding-block: .5em; }
.site-header nav > a:hover { color: var(--color-gold); }
.site-header .nav-cta { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--color-gold); color: var(--color-gold); }
.nav-cta svg, .button svg, .book-link svg, .text-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.series-hero { display: grid; grid-template-areas: 'copy art'; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 0; padding-top: 48px; padding-bottom: 40px; }
.hero-copy { grid-area: copy; position: relative; z-index: 1; }
h1 { font-size: clamp(3.7rem, 6.9vw, 6rem); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.title-period { color: var(--color-gold); }
.subtitle { font-family: var(--font-family-heading); font-size: clamp(1.35rem, 2.1vw, 1.875rem); margin-top: 20px; color: var(--color-gold); }
.hero-description { max-width: 410px; margin-top: 24px; font-size: .9375rem; line-height: 1.75; color: oklch(85% 0.015 210); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 32px; padding: 1.05em 1.5em; color: var(--color-ocean); background: var(--color-gold); font-size: .875rem; font-weight: 500; transition: background-color 180ms, transform 180ms; }
.button:hover { background: oklch(88% 0.09 80); transform: translateY(-2px); }
.hero-byline { margin-top: 28px; color: oklch(85% 0.015 210); font-size: .75rem; line-height: 1.8; }
.hero-byline span { color: var(--color-paper); }
.hero-art { grid-area: art; color: var(--color-gold); text-align: center; min-width: 0; animation: chart-arrival 1000ms cubic-bezier(.2, 0, 0, 1) both; }
.sea-chart { width: 112%; margin-left: -4%; height: auto; }
.chart-caption { display: block; font-size: .5625rem; letter-spacing: .18em; margin-top: -12px; color: oklch(85% 0.015 210); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-top: 1px solid oklch(42% 0.037 227); color: oklch(85% 0.015 210); font-size: .625rem; letter-spacing: .12em; }
.hero-bottom a { font-size: .75rem; letter-spacing: 0; }
.hero-bottom a span { display: inline-block; margin-left: 22px; color: var(--color-gold); }
.hero-bottom a:hover { color: var(--color-gold); }
.books-section { padding-block: var(--space-xl) 88px; }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: center; margin-bottom: 40px; }
h2 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); letter-spacing: -.025em; }
.section-heading > p { font-size: .8125rem; color: var(--color-muted); }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.book-part { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.book-display { min-height: 366px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px 16px; gap: 20px; position: relative; overflow: hidden; }
.display-one { background: oklch(90% 0.023 158); }
.display-two { background: oklch(90% 0.026 221); }
.display-three { background: oklch(91% 0.025 77); }
.book-display::after { content: ''; position: absolute; bottom: 32px; left: 12%; width: 76%; height: 1px; background: var(--color-ink); opacity: .1; }
.book-display figcaption { font-size: .5625rem; letter-spacing: .04em; color: var(--color-muted); z-index: 1; background: inherit; padding-inline: 8px; }
.type-cover, .image-cover { position: relative; width: 184px; height: 276px; box-shadow: 9px 13px 17px oklch(25% 0.03 227 / .23); transform: rotate(-4deg); flex-shrink: 0; }
.type-cover { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px 12px 20px; color: var(--color-gold); background: oklch(28% 0.044 168); }
.type-cover::after, .image-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, oklch(10% 0.02 220 / .25), transparent 3%, oklch(98% .01 90 / .12) 4%, transparent 7%); border: 1px solid oklch(98% .01 90 / .12); }
.cover-two { background: oklch(34% 0.07 236); color: oklch(94% 0.045 85); transform: rotate(3deg); }
.cover-series { font-family: var(--font-family-heading); font-size: 1.52rem; line-height: .94; letter-spacing: .015em; }
.cover-memoir { font-family: var(--font-family-heading); font-style: italic; font-size: .53rem; margin-top: 8px; }
.cover-boat { width: 88px; height: 104px; margin-top: 9px; }
.cover-island { width: 130px; height: 91px; margin-top: 10px; margin-bottom: 3px; }
.cover-part { font-size: .4rem; letter-spacing: .2em; margin-top: 9px; }
.cover-subtitle { font-family: var(--font-family-heading); font-size: 1.05rem; line-height: 1.05; margin-top: 4px; }
.cover-author { font-size: .43rem; letter-spacing: .17em; margin-top: auto; padding-top: 8px; }
.image-cover { background: var(--color-ocean); transform: rotate(-3deg); }
.image-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.book-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .625rem; font-weight: 500; letter-spacing: .09em; color: var(--color-muted); }
.book-meta .upcoming { color: oklch(40% 0.06 56); }
.book-part h3 { font-size: clamp(1.55rem, 2.2vw, 1.875rem); margin-top: 12px; min-height: 2.2em; letter-spacing: -.02em; text-wrap: initial; }
.book-part > p { color: var(--color-muted); font-size: .875rem; line-height: 1.7; margin-top: 16px; margin-bottom: 24px; max-width: 36ch; }
.book-link, .coming-soon { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid var(--color-border); padding-top: 16px; font-size: .8125rem; font-weight: 500; }
.book-link:hover { text-decoration: underline; }
.book-link svg { transition: transform 180ms; }
.book-link:hover svg { transform: translateX(4px); }
.coming-soon { color: var(--color-muted); }
.coming-soon svg { width: 24px; height: 24px; }
.author-section { background: var(--color-mist); padding-block: 72px; }
.author-layout { display: grid; grid-template-areas: 'heading bio'; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.author-heading { grid-area: heading; }
.author-heading > svg { width: 48px; height: 48px; margin-bottom: 24px; }
.author-copy { grid-area: bio; }
.author-copy h3 { font-size: 1.75rem; margin-bottom: 20px; }
.author-copy p { font-size: .9375rem; color: var(--color-muted); max-width: 52ch; }
.author-copy p + p { margin-top: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 32px; margin-top: 24px; font-size: .8125rem; padding-bottom: 5px; border-bottom: 1px solid var(--color-ink); }
.text-link:hover { color: oklch(36% 0.085 220); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 112px; font-size: .6875rem; color: var(--color-muted); }
.footer-title { font-family: var(--font-family-heading); font-size: 1.375rem; color: var(--color-ink); }
.site-footer a:hover { text-decoration: underline; }
@keyframes chart-arrival { from { transform: translateY(18px) rotate(-2deg); } to { transform: translateY(0) rotate(0); } }
@media (min-width: 1500px) { .series-hero { padding-block: 64px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 20px; }
  .series-hero { padding-block: 48px; }
  .hero-description { max-width: 340px; }
  .chart-caption { font-size: .5rem; letter-spacing: .08em; }
  .book-grid { gap: 24px; }
  .book-display { padding-inline: 12px; min-height: 340px; }
  .type-cover, .image-cover { width: 164px; height: 246px; }
  .type-cover { padding-top: 16px; }
  .cover-series { font-size: 1.35rem; }
  .cover-boat { height: 85px; }
  .cover-island { height: 75px; }
  .cover-subtitle { font-size: .9375rem; }
  .book-part h3 { font-size: 1.6rem; }
  .author-layout { gap: 48px; }
  .site-footer { flex-wrap: wrap; padding-block: 28px; gap: 12px 24px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; }
  .wordmark { font-size: .625rem; letter-spacing: .1em; gap: 10px; }
  .wordmark svg { width: 30px; height: 30px; }
  .site-header nav { gap: 16px; font-size: .75rem; }
  .site-header .nav-cta { display: none; }
  .series-hero { grid-template-areas: 'copy' 'art'; grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 28px; }
  h1 { font-size: clamp(3.75rem, 12vw, 5.5rem); }
  .subtitle { font-size: 1.5rem; margin-top: 20px; }
  .hero-description { max-width: 43ch; }
  .hero-art { width: min(100%, 430px); justify-self: center; margin-top: 16px; }
  .sea-chart { width: 100%; margin: 0; }
  .hero-byline { margin-top: 24px; }
  .chart-caption { font-size: .5rem; }
  .hero-bottom { gap: 24px; font-size: .5rem; }
  .hero-bottom a { font-size: .625rem; }
  .hero-bottom a span { margin-left: 8px; }
  .books-section { padding-block: 48px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 16px; }
  .section-heading > p br { display: none; }
  .book-grid { grid-template-columns: 1fr; gap: 48px; }
  .book-display { min-height: 380px; padding-top: 32px; }
  .type-cover, .image-cover { width: 194px; height: 291px; }
  .type-cover { padding-top: 20px; padding-bottom: 16px; }
  .cover-series { font-size: 1.65rem; }
  .cover-boat { height: 111px; }
  .cover-island { height: 97px; }
  .cover-subtitle { font-size: 1.1rem; }
  .cover-author { font-size: .5rem; }
  .book-part h3 { min-height: 0; font-size: 1.875rem; }
  .book-part > p { max-width: 48ch; margin-top: 12px; }
  .author-section { padding-block: 48px; }
  .author-layout { grid-template-areas: 'heading' 'bio'; grid-template-columns: 1fr; gap: 32px; }
  .author-heading > svg { margin-bottom: 20px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-block: 32px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { animation: none; }
  .button, .book-link svg { transition: none; }
  .button:hover, .book-link:hover svg { transform: none; }
}
