/* DD Lake property – public site */
:root {
  --ink: #1a2332;
  --muted: #4a5568;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #0f4c5c;
  --accent-soft: #e6f4f7;
  --accent-hover: #0d3d4a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.nav-current,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.page-header .lede {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

article.prose-wide {
  max-width: 52rem;
}

article.prose-wide h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

article.prose-wide h2:first-child {
  margin-top: 0;
}

article.prose-wide p,
article.prose-wide li {
  color: var(--muted);
}

article.prose-wide ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

article.prose-wide li {
  margin-bottom: 0.35rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data-table th {
  background: var(--accent-soft);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

table.data-table td:last-child {
  color: var(--muted);
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.doc-list a {
  font-weight: 600;
}

.note-box {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

code {
  font-size: 0.9em;
  background: var(--line);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.footer-contact {
  margin-top: 0.5rem;
}

.footer-contact a {
  font-weight: 600;
}

/* Full timeline page */
.timeline-intro {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.timeline-intro p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 52rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.timeline > li {
  position: relative;
  padding-bottom: 2.25rem;
  list-style: none;
}

.timeline > li:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1.5rem - 0.5rem - 6px);
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--card);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-date {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.timeline-phase {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.timeline h3 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.timeline-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.timeline-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.timeline-body li {
  margin-bottom: 0.35rem;
}

.timeline-sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 48rem;
}

.timeline-sources h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.hero {
  background: linear-gradient(160deg, var(--accent-soft) 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--line);
}

.hero-home {
  background:
    radial-gradient(circle at 10% 20%, rgb(15 76 92 / 12%), transparent 34%),
    radial-gradient(circle at 80% 0%, rgb(15 76 92 / 10%), transparent 30%),
    linear-gradient(160deg, var(--accent-soft) 0%, var(--bg) 58%);
}

.hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.hero-points {
  margin: -0.4rem 0 1.75rem;
  padding-left: 1.15rem;
  max-width: 50rem;
}

.hero-points li {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.impact-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 0 0 1.75rem;
  max-width: 56rem;
}

.impact-card {
  background: rgb(255 255 255 / 78%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(2px);
}

.impact-card h2 {
  margin: 0 0 0.2rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: var(--accent);
}

.impact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-wrap .hero-actions {
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--card);
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

section {
  margin-bottom: 3.5rem;
}

section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 04%);
}

.card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 32rem;
}

.contact-box dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-box dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.contact-box dd {
  margin: 0;
  font-weight: 600;
}

.disclaimer {
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 4px solid var(--line);
  padding: 0.75rem 0 0.75rem 1rem;
  margin-top: 2rem;
  max-width: 48rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  max-width: 40rem;
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .hero-inner {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}
