/* Limerick Lake homepage mockup — local, self-contained */

:root {
  --ink: #1b2421;
  --ink-soft: #3c4944;
  --muted: #5d6a65;
  --paper: #f6f3ec;
  --paper-2: #eee8dc;
  --cream: #fbf9f4;
  --lake: #1a4a56;
  --lake-deep: #102f36;
  --lake-mid: #24606a;
  --teal: #2a6f70;
  --pine: #243c30;
  --moss: #4a6b4c;
  --sand: #d4c4a8;
  --gold: #b8954e;
  --rule: #d8d0c3;
  --shadow: 0 18px 40px rgba(16, 47, 54, 0.12);
  --radius: 14px;
  --max: 1160px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lake-mid); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--lake); }

h1, h2, h3, .brand-name {
  font-family: Fraunces, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.6rem;
}

/* Header
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  padding: 0.6rem 0;
}
.brand:hover { color: inherit; }
.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lake-deep);
}
.brand-place {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-btn {
  display: none;
  width: 2.75rem;
  height: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-btn span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.visually-hidden,
.nav-btn .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.1rem;
  align-items: center;
}
.site-nav a {
  display: inline-block;
  padding: 0.4rem 0.55rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--lake-deep);
  background: var(--paper-2);
}
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: 6px 6px 0 0;
}
.site-nav a.ext {
  color: var(--teal);
}
.site-nav a.ext::after {
  content: " ↗";
  font-size: 0.75em;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .nav-btn { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav {
    max-height: 28rem;
    visibility: visible;
  }
  .nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--teal);
    border-radius: 0;
  }
}

/* Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(26rem, 78vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 22, 0.22) 0%, rgba(16, 24, 22, 0.14) 34%, rgba(16, 24, 22, 0.58) 100%),
    linear-gradient(90deg, rgba(16, 31, 34, 0.64) 0%, rgba(16, 31, 34, 0.28) 42%, rgba(16, 31, 34, 0.08) 100%);
}
.hero-copy {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 9rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}
.hero-copy .kicker { color: #e6d7b0; }
.hero h1 {
  margin: 0 0 0.85rem;
  color: #fbf9f4;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-lede {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.55;
  color: #f3eee4;
  max-width: 34rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Conditions
   ---------------------------------------------------------------- */
.conditions {
  background: var(--paper);
  padding: 0 0 0.5rem;
}
.conditions-panel {
  width: min(var(--max), calc(100% - 2rem));
  margin: -3.25rem auto 0;
  position: relative;
  z-index: 1;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.35rem;
}
.conditions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.conditions-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
.captured {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 28rem;
}

.readings {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem 1rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}
.readings li {
  padding: 0.15rem 0.25rem 0.15rem 0;
  border-left: 0;
}
.readings .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.readings .value {
  display: block;
  font-family: Fraunces, "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lake-deep);
  line-height: 1.15;
}
.readings .sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.cams-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cams {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cams a,
.cams figure {
  margin: 0;
  text-decoration: none;
  color: inherit;
}
.cams img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
  border: 1px solid #cfc8bb;
}
.cams figcaption {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.cam-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .readings { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
  .cams { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .readings { grid-template-columns: 1fr 1fr; }
  .cams { grid-template-columns: repeat(2, 1fr); }
  .conditions-panel { padding: 1.25rem 1rem 1.15rem; }
}

/* News teaser (homepage) and shared article type
   ---------------------------------------------------------------- */
.news {
  background: var(--paper);
  padding: 2.35rem 0 1.5rem;
}
.news-panel {
  display: grid;
  grid-template-columns: minmax(11rem, 16.5rem) minmax(0, 1fr);
  gap: 1.25rem 3rem;
  align-items: start;
}
.news-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}
.news-date {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}
.news-date-lg {
  margin: 0 0 0.35rem;
  font-family: Fraunces, "Iowan Old Style", Palatino, serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--lake-deep);
  line-height: 1.1;
}
.news-body {
  max-width: 46rem;
}
.news-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.08rem;
}
.news-body p:last-of-type { margin-bottom: 0; }
.news-body a { font-weight: 600; word-break: break-word; }
.news-panel .lead {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--ink);
}
.news-panel ul {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.15rem;
}
.news-panel li {
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.news-panel li:last-child { margin-bottom: 0.9rem; }
.text-link {
  font-weight: 600;
  color: var(--lake);
}

@media (max-width: 720px) {
  .news-panel { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* Journal page (news.html)
   ---------------------------------------------------------------- */
.journal-page .hero { display: none; }
.journal {
  padding: 2rem 0 3.5rem;
}
.journal-latest {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.8rem 1.6rem;
  margin-bottom: 2.25rem;
}
.journal-latest .kicker { margin-bottom: 0.35rem; }

.archive-intro {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.archive-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: end;
  margin: 0 0 1.15rem;
  padding: 0.95rem 1rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.archive-tools label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1 1 12rem;
}
.archive-tools input,
.archive-tools select {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  padding: 0.55rem 0.7rem;
}
.archive-tools button {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--lake);
  border: 0;
  border-radius: 8px;
  padding: 0.6rem 1.05rem;
  cursor: default;
}
.tool-note {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.archive-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.archive-item {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}
.archive-item:last-child { border-bottom: 1px solid var(--rule); }
.archive-item a {
  text-decoration: none;
  color: inherit;
}
.archive-item a:hover .archive-first { color: var(--lake); }
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.25rem;
}
.archive-item time,
.archive-item .sample-date {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
}
.archive-first {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}
.archive-more {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lake);
}

/* Current (real) entry in the list */
.archive-item.current time { color: var(--teal); }

/* Placeholders — clearly not George's posts */
.archive-item.sample {
  background: #efece6;
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-top: 1px dashed #cfc8bb;
  color: var(--muted);
}
.archive-item.sample .archive-first,
.archive-item.sample .sample-date {
  color: #6a736e;
  font-style: italic;
}
.archive-item.sample .archive-more { color: #7a8580; }
.badge-sample {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c6562;
  background: #d9d4cb;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.journal-extras {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}
.signup, .rss-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
}
.signup h2, .rss-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}
.signup p, .rss-box p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}
.signup-form label {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.signup-form input[type="email"] {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  padding: 0.55rem 0.7rem;
}
.signup-form button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--lake);
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  cursor: default;
}
.fine-print {
  margin: 0.65rem 0 0 !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
}
.rss-box a { font-weight: 600; }

@media (max-width: 720px) {
  .journal { padding: 1.4rem 0 2.75rem; }
  .journal-latest { padding: 1.3rem 1.05rem 1.2rem; }
  .journal-extras { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 0 4.5rem; }
}

/* Quick links
   ---------------------------------------------------------------- */
.explore {
  padding: 2.25rem 0 4.5rem;
}
.explore-head {
  margin-bottom: 1.4rem;
}
.explore h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-2);
}
.card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
}
.card p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.card li {
  position: relative;
  padding: 0.28rem 0 0.28rem 0.9rem;
  border-top: 1px solid var(--rule);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.7;
}
.card .more {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lake);
}

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .explore { padding-bottom: 3.25rem; }
}

/* Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--lake-deep);
  color: #e7efe9;
  padding: 2.4rem 0 2rem;
}
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  align-items: flex-end;
}
.footer-brand {
  font-family: Fraunces, Palatino, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fbf9f4;
  margin: 0 0 0.35rem;
}
.site-footer p { margin: 0 0 0.35rem; color: #c5d2cc; font-size: 0.95rem; }
.site-footer a { color: #f0e4c4; }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: 0.82rem !important; color: #9aada6 !important; max-width: 24rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
