.reef-home {
  --reef-home-bg: #102e27;
  --reef-home-panel: #183e35;
  --reef-home-ink: #f1ecd5;
  --reef-home-muted: #c6d8c5;
  --reef-home-line: #709083;
  --reef-home-accent: #ff9457;
  margin: 0;
  background: var(--reef-home-bg);
  color: var(--reef-home-ink);
  font-family: Archivo, system-ui, sans-serif;
}
.reef-home [hidden] { display: none !important; }
.reef-home .reef-wrap { width: min(1120px, calc(100% - 40px)); }
.reef-home h1, .reef-home h2, .reef-home h3 {
  font-family: "Bricolage Grotesque", Archivo, system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.reef-home a { color: inherit; }
.reef-home :focus-visible { outline: 3px solid var(--reef-home-accent); outline-offset: 4px; }
.reef-home-top, .reef-home-top nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.reef-home-top { justify-content: space-between; padding: 14px 0; }
.reef-home-top a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.reef-home-top .reef-brand { color: var(--reef-home-ink); font-size: 19px; }
.reef-home-top .reef-brand span { color: var(--reef-home-muted); }
.reef-home-top nav a { font-size: 14px; }
.reef-home-top nav a:hover, .reef-home-records a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.reef-home-hero {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  padding: 8px 0 34px;
}
.reef-home-hero h1 { font-size: clamp(3rem, 6.3vw, 5.75rem); line-height: .97; letter-spacing: -.035em; margin-bottom: 17px; }
.reef-home-hero p { color: var(--reef-home-ink); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.reef-home-hero p + p { margin-top: 7px; }
.reef-home-stages, .reef-home-facts { display: flex; gap: 6px; flex-wrap: wrap; padding: 0; list-style: none; }
.reef-home-stages { margin: 0 0 12px; }
.reef-home-facts { margin: 14px 0 0; }
.reef-home-stages li { border: 1px solid var(--reef-home-line); border-radius: 20px; padding: 5px 10px; font-size: 12px; }
.reef-home-stages [aria-current="step"] { background: var(--reef-home-accent); border-color: var(--reef-home-accent); color: #102e27; font-weight: 800; }
.reef-home-facts li { background: var(--reef-home-panel); border-radius: 7px; padding: 5px 10px; font-size: 13px; }
.reef-home-photo { margin: 0; }
.reef-home-photo img, .reef-home .reef-growth-frame img { display: block; width: 100%; border-radius: 11px; aspect-ratio: 16 / 10; object-fit: contain; background: #0a211a; }
.reef-home-photo figcaption { margin-top: 6px; color: var(--reef-home-muted); font-size: 13px; }
.reef-home-section, .reef-home #progress .reef-section { margin: 0 0 clamp(34px, 5vw, 62px); }
.reef-home-section > h2, .reef-home #progress h2 { color: inherit; font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.reef-home #tank-readings .reef-section { max-width: 680px; }
.reef-home .reef-readings-card { background: var(--reef-home-panel); }
.reef-home .reef-growth-frame { margin: 0; }
.reef-home .reef-growth-frame img { max-height: 490px; }
.reef-home .reef-growth-frame figcaption { line-height: 1.5; color: var(--reef-home-muted); }
.reef-home .reef-growth-controls button { color: inherit; }
.reef-home .reef-range { accent-color: var(--reef-home-accent); }
.reef-home .reef-range-ends { color: var(--reef-home-muted); }

.reef-home-chapter {
  display: grid;
  grid-template-columns: minmax(0, 195px) minmax(0, 1fr);
  gap: 12px clamp(18px, 4vw, 42px);
  padding-left: 16px;
  border-left: 2px solid var(--reef-home-line);
}
.reef-home-chapter + .reef-home-chapter { margin-top: 25px; }
.reef-home-chapter header h3 { font-size: 1.33rem; line-height: 1.1; margin: 0 0 5px; }
.reef-home-chapter header p, .reef-home-entry-date { margin: 0; color: var(--reef-home-muted); font-size: 13px; }
.reef-home-entries { list-style: none; margin: 0; padding: 0; }
.reef-home-entry { padding: 10px 0; min-width: 0; overflow-wrap: anywhere; }
.reef-home-entry + .reef-home-entry { border-top: 1px solid #496d5e; }
.reef-home-entry:first-child { padding-top: 0; }
.reef-home-entry-line { display: grid; grid-template-columns: minmax(0, 8.3rem) minmax(0, 1fr); align-items: baseline; gap: 4px 12px; }
.reef-home-entry-date { font-variant-numeric: tabular-nums; }
.reef-home-entry-line p:last-child { margin: 0; }
.reef-home-entry-kind { color: var(--reef-home-muted); font-size: 12px; }
.reef-home-article { border-radius: 9px; background: #f1ecd5; color: #17362c; overflow: hidden; }
.reef-home-article > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 68px;
  text-decoration: none;
}
.reef-home-article > a:has(img) { grid-template-columns: minmax(84px, 23%) minmax(0,1fr); }
.reef-home-article > a:focus-visible { outline-offset: -4px; outline-color: #17362c; }
.reef-home-article > a:hover strong { text-decoration: underline; }
.reef-home-article img { width: 100%; height: 100%; max-height: 112px; min-height: 75px; object-fit: cover; }
.reef-home-article-copy { display: grid; gap: 5px; padding: 10px 14px; }
.reef-home-article-copy small { color: #4c614e; font-size: 12px; }
.reef-home-article-copy strong { font-size: 16px; line-height: 1.25; }
.reef-home-article .reef-photo-credit { color: #4c614e; margin: 0; padding: 0 14px 7px; }
.reef-home-article .reef-photo-credit a { color: inherit; }
.reef-home-note { grid-column: 2; color: var(--reef-home-muted); font-size: 14px; }
.reef-home-note .reef-markdown { color: inherit; }
.reef-home-note summary, .reef-home-older summary, .reef-home-intro > summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-weight: 700; }
.reef-home-older { margin-top: 6px; }
.reef-home-entry .reef-post-media { max-width: 450px; }
.reef-home-records { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.reef-home-records a { display: grid; gap: 3px; min-height: 84px; align-content: center; background: var(--reef-home-panel); border-radius: 9px; padding: 12px 16px; text-decoration: none; }
.reef-home-records strong { font-family: "Bricolage Grotesque", Archivo, sans-serif; font-size: 22px; line-height: 1.1; }
.reef-home-records a > small { color: var(--reef-home-muted); font-size: 13px; }
.reef-home-records progress { width: 100%; margin-top: 6px; accent-color: var(--reef-home-muted); }
.reef-home-intro { margin: 0 0 24px; }
.reef-home-intro[open] { background: #f1ecd5; border-radius: 9px; padding: 14px 20px; color: #17362c; }
.reef-home-intro .reef-start-layout { gap: 22px; }
.reef-home-footer { color: var(--reef-home-muted); border-color: #496d5e; }
.reef-home-footer nav { flex-wrap: wrap; gap: 0 16px; }
.reef-home .reef-empty { color: var(--reef-home-muted); }
@media (max-width: 690px) {
  .reef-home-top { padding: 9px 0 11px; }
  .reef-home-top nav { column-gap: 12px; }
  .reef-home-top nav a { font-size: 13px; }
  .reef-home-hero, .reef-home-chapter { grid-template-columns: minmax(0,1fr); }
  .reef-home-hero { padding-bottom: 30px; }
  .reef-home-hero #tank:empty { display: none; }
}
@media (max-width: 470px) {
  .reef-home-entry-line { grid-template-columns: minmax(0,1fr); }
  .reef-home-note { grid-column: auto; }
  .reef-home .reef-journey-steps { grid-template-columns: minmax(0,1fr); }
  .reef-home-article-copy { padding-inline: 10px; }
  .reef-home-records a { padding-inline: 10px; }
}

.reef-home-status-date { display: block; margin-top: 5px; color: var(--reef-home-muted); font-size: 12px; }

.reef-home-status > summary { display: list-item; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; }
.reef-home-status:not([open]) + .reef-home-status-date { margin-top: -5px; }
@media (max-width: 470px) { .reef-home-stages li { padding-inline: 7px; } }
