:root {
  --ink: #17252b;
  --muted: #5d6b6f;
  --paper: #f7f3eb;
  --paper-deep: #efe8db;
  --sea: #2f5d62;
  --sea-dark: #1f4247;
  --sand: #d8c7ae;
  --accent: #a75d38;
  --rule: rgba(23, 37, 43, 0.16);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sea-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 28px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.wordmark span { color: var(--sea); font-style: italic; font-weight: 400; }

.site-header nav { display: flex; gap: 22px; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

main { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.hero { position: relative; padding: 92px 0 132px; max-width: 820px; }
.eyebrow, .kicker, .meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1, .page > h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 18px 0 24px;
}
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--muted); max-width: 680px; }
.text-link { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--sea); padding-bottom: 3px; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 96px; fill: var(--paper-deep); opacity: 0.9; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px 0 44px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); align-items: start; }
.intro h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 500; margin: 8px 0 0; letter-spacing: -0.02em; }
.intro p:last-child { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 52px 0 24px; }
.card { border-top: 2px solid var(--sea); padding-top: 18px; }
.card h3 { font-size: 24px; line-height: 1.2; font-weight: 500; margin: 10px 0 10px; letter-spacing: -0.01em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }

.note-strip { margin: 56px 0 80px; padding: 34px 38px; background: var(--paper-deep); border-left: 3px solid var(--sand); max-width: 760px; }
.note-strip p:last-child { margin: 0; font-size: 20px; font-style: italic; }

.page { padding-top: 72px; padding-bottom: 60px; }
.page.narrow { max-width: 760px; }
.page > h1 { margin-bottom: 26px; }
.page > p { max-width: 680px; }
.article { max-width: 720px; padding: 40px 0 12px; border-top: 1px solid var(--rule); margin-top: 40px; }
.article h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 18px; }
.article p { margin: 0 0 18px; }
.signoff { color: var(--muted); font-style: italic; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 28px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; letter-spacing: 0.04em; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

/* — Grafted journal elements (issue furniture) — */

.issue-line {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.issue-line strong { color: var(--accent); font-weight: 600; }

.editors-note { max-width: 720px; padding: 52px 0 8px; }
.editors-note h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 20px; }
.editors-note p { margin: 0 0 18px; }
.editors-note .signoff { margin-top: 4px; }

.tides { padding: 48px 0 72px; border-top: 1px solid var(--rule); margin-top: 40px; }
.tides h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 10px; }
.tides .tides-sub { color: var(--muted); margin: 0 0 24px; max-width: 680px; }
.tides-table { border-collapse: collapse; width: 100%; max-width: 760px; font-size: 16px; }
.tides-table th, .tides-table td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tides-table th { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tides-table td.day { white-space: nowrap; font-weight: 600; }
.tides-table td span { display: block; white-space: nowrap; }
.tides .tides-note { color: var(--muted); font-size: 16px; margin-top: 18px; max-width: 680px; }

.archive-group { margin-top: 44px; }
.archive-group h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { padding: 7px 0; border-bottom: 1px solid var(--rule); }
.archive-list li:last-child { border-bottom: none; }
.archive-date { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: inline-block; min-width: 64px; }
.archive-tag { color: var(--muted); font-size: 15px; font-style: italic; margin-left: 8px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-header { padding: 22px 20px 16px; flex-wrap: wrap; }
  .site-header nav { gap: 16px; }
  main { padding: 0 20px; }
  .hero { padding: 64px 0 104px; }
  .intro, .cards { grid-template-columns: 1fr; gap: 28px; }
  .intro { padding: 38px 0; }
  .cards { padding: 38px 0 10px; }
  .note-strip { margin: 40px 0 56px; padding: 26px 24px; }
  .page { padding-top: 52px; }
  .tides-table { font-size: 15px; }
  .tides-table th, .tides-table td { padding-right: 8px; }
  .site-footer { display: block; padding: 24px 20px; }
  .site-footer p + p { margin-top: 8px; }
}
