:root {
  --fog: #e8eef0;
  --glass: #f7faf9;
  --harbor: #0b2530;
  --deep: #123b47;
  --copper: #9a6a3a;
  --buoy: #c94f3d;
  --stone: #8a9ba2;
  --rule: #c5d0d3;
  --soft: #dbe5e7;
  --shadow: rgba(11, 37, 48, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--harbor);
  font-family: Charter, 'Sitka Text', 'Iowan Old Style', Georgia, serif;
  line-height: 1.6;
}

a { color: inherit; }

.cc-home, .cc-article {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.pilot-mast {
  position: relative;
  padding: 44px 0 32px;
  border-bottom: 2px solid var(--harbor);
}

.pilot-mast:before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 100%;
  border-top: 1px solid var(--stone);
}

.mast-topline, .article-meta, .notice-meta, .station-code, .section-label, .bearing-cell, .notice-footer {
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.mast-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--deep);
  margin-bottom: 38px;
}

.hero-kicker {
  margin: 0 0 10px;
  font-family: Copperplate, 'Copperplate Gothic Light', 'Gill Sans', 'Trebuchet MS', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  font-size: 0.82rem;
}

h1, h2, h3 {
  font-family: Copperplate, 'Copperplate Gothic Light', 'Gill Sans', 'Trebuchet MS', sans-serif;
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
}

.pilot-mast h1 {
  max-width: 900px;
  font-size: clamp(3rem, 9vw, 7.8rem);
  letter-spacing: -0.055em;
}

.hero-dek {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: var(--deep);
}

.chip-buoys {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.chip-buoys a, .chip-buoys span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--stone);
  border-left: 5px solid var(--buoy);
  background: var(--glass);
  color: var(--harbor);
  text-decoration: none;
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bearing-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--harbor);
  border-top: 0;
  background: var(--glass);
}

.bearing-cell {
  padding: 14px 12px;
  border-right: 1px solid var(--rule);
  color: var(--deep);
}

.bearing-cell:last-child { border-right: 0; }
.bearing-cell span { color: var(--buoy); margin-right: 8px; }

.route-sounding {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  margin: 34px 0;
}

.sounding-braid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
  align-content: start;
  padding: 18px 12px;
  border: 1px solid var(--stone);
  background: var(--soft);
}

.sounding-braid i {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--deep);
  border-radius: 50%;
  background: var(--glass);
}

.sounding-braid i:nth-child(3n+1) { margin-top: 16px; border-color: var(--copper); }
.sounding-braid i:nth-child(4n) { width: 7px; height: 7px; border-color: var(--buoy); }
.sounding-braid i:nth-child(5n) { margin-left: 8px; }

.feature-copy {
  padding: 34px;
  background: var(--glass);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px var(--shadow);
}

.section-label {
  margin: 0 0 12px;
  color: var(--buoy);
}

.feature-copy h2, .archive-head h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  letter-spacing: -0.04em;
}

.feature-copy p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 1.12rem;
}

.weather-board {
  padding: 24px;
  background: var(--harbor);
  color: var(--glass);
  border: 1px solid var(--harbor);
}

.weather-board h3 {
  font-size: 1.5rem;
  color: #f2f6f5;
  margin-bottom: 18px;
}

.weather-board dl { margin: 0; }
.weather-board div { padding: 14px 0; border-top: 1px solid rgba(247, 250, 249, 0.22); }
.weather-board dt {
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: #d7b184;
}
.weather-board dd { margin: 4px 0 0; }

.ownership-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}

.scenario-note {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-top: 6px solid var(--copper);
  background: rgba(247, 250, 249, 0.72);
}

.scenario-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--harbor);
  color: var(--buoy);
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  margin-bottom: 12px;
}

.scenario-note p { margin: 0; }

.notice-harbor {
  padding: 34px 0 70px;
  border-top: 1px solid var(--stone);
}

.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.post-current {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.notice-card { margin: 0; }

.notice-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--rule);
  background: var(--glass);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 37, 48, 0.08);
}

.notice-link:hover { border-color: var(--harbor); }

.notice-signal {
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-right: 1px solid var(--rule);
}

.notice-signal span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--deep);
}

.notice-signal span:nth-child(2) { border-color: var(--copper); width: 8px; height: 8px; }
.notice-signal span:nth-child(3) { border-color: var(--buoy); }
.notice-signal span:nth-child(4) { width: 6px; height: 6px; }

.notice-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--deep);
}

.notice-card h3 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
}

.notice-card p {
  margin: 14px 0 0;
  color: #294752;
}

.notice-footer {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: var(--copper);
}

.notice-footer span:before { content: '• '; color: var(--buoy); }

.article-harbor {
  padding: 34px 0 26px;
  border-bottom: 2px solid var(--harbor);
}

.article-return {
  margin-bottom: 24px;
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
}

.article-return a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.article-harbor h1 {
  max-width: 940px;
  margin: 8px 0 18px;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  letter-spacing: -0.055em;
}

.pilotage-sheet {
  display: grid;
  grid-template-columns: 146px minmax(0, 720px) 240px;
  gap: 28px;
  align-items: start;
  padding: 30px 0 80px;
}

.left-soundings, .field-panel {
  position: sticky;
  top: 20px;
}

.left-soundings {
  border: 1px solid var(--stone);
  background: var(--soft);
  padding: 16px;
}

.left-soundings p, .field-panel h2 {
  margin: 0 0 12px;
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--buoy);
}

.left-soundings ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: sound;
}

.left-soundings li {
  counter-increment: sound;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.left-soundings li:before {
  content: counter(sound);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--deep);
  border-radius: 50%;
  background: var(--glass);
  color: var(--copper);
}

.article-body {
  padding: 34px 42px;
  background: var(--glass);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px var(--shadow);
  font-size: 1.08rem;
}

.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.25em; }
.article-body h2 {
  margin: 2.1em 0 0.55em;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.article-body h3 {
  margin: 1.8em 0 0.45em;
  font-size: 1.45rem;
}
.article-body ul, .article-body ol { padding-left: 1.3em; margin-bottom: 1.4em; }
.article-body blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 5px solid var(--buoy);
  background: var(--soft);
  color: var(--deep);
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--stone);
  margin: 2.4em 0;
}
.article-body code {
  font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  font-size: 0.88em;
  background: var(--soft);
  padding: 0.12em 0.3em;
}

.field-panel {
  padding: 18px;
  border: 1px solid var(--harbor);
  background: var(--harbor);
  color: var(--glass);
}

.field-panel p { margin: 0; font-size: 0.95rem; }

@media (max-width: 930px) {
  .bearing-rail, .ownership-scenarios, .post-current { grid-template-columns: 1fr; }
  .bearing-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .route-sounding { grid-template-columns: 1fr; }
  .sounding-braid { grid-template-columns: repeat(12, 1fr); }
  .pilotage-sheet { grid-template-columns: 1fr; }
  .left-soundings, .field-panel { position: static; }
  .left-soundings ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
}

@media (max-width: 620px) {
  .cc-home, .cc-article { width: min(100% - 22px, 1180px); }
  .pilot-mast h1 { font-size: clamp(2.6rem, 18vw, 4.8rem); }
  .mast-topline, .archive-head { display: block; }
  .feature-copy, .article-body { padding: 22px; }
  .notice-link { grid-template-columns: 1fr; }
  .notice-signal { grid-row: auto; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
}