:root {
  --slate: #1c2429;
  --deep: #0b1115;
  --ocean: #163a47;
  --sea: #2a6b7a;
  --mist: #d8e4e8;
  --sand: #ece8e1;
  --paper: #f6f4ef;
  --ink: #12181c;
  --muted: #5f6d75;
  --accent: #e0632d;
  --accent-soft: #f4a574;
  --green: #6f8167;
  --line: rgba(18, 24, 28, 0.12);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: #fff;
  color: var(--ink);
}

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-head.solid {
  background: rgba(11, 17, 21, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.site-head-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  column-gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.logo::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url("/assets/img/lagoon-legacy-mark.png") center / 112% auto no-repeat;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.logo span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.05;
}
.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: flex-end;
}
.nav-main a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.nav-main a:hover { color: var(--accent-soft); }
.nav-cta {
  color: #fff !important;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--deep);
}
.hero.small { min-height: 68vh; min-height: 68svh; }
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 21, 0.32) 0%, rgba(11, 17, 21, 0.58) 48%, rgba(11, 17, 21, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 17, 21, 0.58) 0%, rgba(11, 17, 21, 0.18) 62%, transparent 100%);
  z-index: 1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.hero-body {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4.5rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}
.hero-kicker,
.section-label,
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
}
.section-label { color: var(--accent); }
.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero h1.wide { max-width: 15ch; }
.hero-lede {
  margin: 1.5rem 0 0;
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}
.hero-actions,
.closing-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-fill {
  background: var(--accent);
  color: #fff;
}
.btn-fill:hover { background: #c85526; }
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn-dark {
  background: var(--slate);
  color: #fff;
}

.pillars {
  background: var(--slate);
  color: #fff;
  border-top: 4px solid var(--accent);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.pillar {
  padding: 2.2rem 1.6rem 2.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(255, 255, 255, 0.04); }
.pillar h3,
.card h3,
.project-card h3 {
  margin: 0.7rem 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
}
.pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}
.pillar-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
}
.pillar-arrow {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.section {
  padding: 5rem 0;
}
.section.paper { background: var(--paper); }
.section.sand { background: var(--sand); }
.section.white { background: #fff; }
.section.dark {
  background: var(--deep);
  color: #fff;
}
.section.ocean {
  background: var(--ocean);
  color: #fff;
}
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}
.section h2,
.closing h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.brand-showcase {
  display: grid;
  gap: 1rem;
}
.brand-logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
}
.brand-logo-card img {
  width: min(100%, 520px);
  margin: 0 auto;
}
.brand-logo-card.mark img {
  width: min(72%, 280px);
}
.dark .copy p,
.dark p,
.ocean p {
  color: rgba(255, 255, 255, 0.72);
}

.stats-band {
  background: var(--ocean);
  color: #fff;
  padding: 2.5rem 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.card-grid,
.county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card,
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.project-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
}
.card-body,
.project-body {
  padding: 1.4rem;
}
.project-card img,
.feature-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.project-card p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.tag {
  display: inline-flex;
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: 800;
}
.dark .card {
  background: var(--slate);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark .card p { color: rgba(255, 255, 255, 0.68); }

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.feature-panel {
  background: var(--slate);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}
.feature-panel h3 {
  margin: 0.5rem 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.08;
  font-weight: 600;
}
.feature-panel p {
  color: rgba(255, 255, 255, 0.75);
}
.feature-image {
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
}
.feature-image img {
  height: 100%;
}

.timeline {
  display: grid;
  gap: 1px;
  background: var(--line);
}
.timeline-item {
  background: #fff;
  padding: 1.35rem 1.25rem;
}
.timeline-item h4 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1rem;
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.dark .timeline { background: rgba(255, 255, 255, 0.12); }
.dark .timeline-item { background: var(--slate); }
.dark .timeline-item p { color: rgba(255, 255, 255, 0.68); }

.quote-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}
.quote-block blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.county-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}
.county-card h3 {
  margin: 0.4rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.1;
}
.county-card p {
  margin: 0;
  color: var(--muted);
}
.coming {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 1.25rem 4rem;
  background: var(--deep);
  color: #fff;
}
.coming h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}
.coming p {
  max-width: 46rem;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.74);
}

.closing {
  padding: 5rem 0;
  background: var(--slate);
  color: #fff;
  text-align: center;
}
.closing p {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.72);
}
.closing-actions {
  justify-content: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}
.contact-panel h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.1;
}
.contact-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 0.75rem;
}
.contact-list a {
  color: var(--sea);
  font-weight: 700;
  word-break: break-word;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--slate);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 0.9rem;
}
.field textarea {
  min-height: 180px;
  resize: vertical;
}
.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.form-status.success { color: var(--sea); }
.form-status.error { color: #b64224; }

.team-hero-logo {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}
.team-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.member-photo,
.member-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.member-photo {
  object-fit: cover;
}
.member-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(42, 107, 122, 0.16), rgba(224, 99, 45, 0.12)),
    var(--sand);
  color: var(--ocean);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  font-weight: 700;
}
.member-body {
  padding: 1.35rem;
  display: grid;
  gap: 0.7rem;
}
.member-body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.05;
}
.member-role {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.member-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.source-link {
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.source-link:hover { text-decoration: underline; }

footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.64);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-head-inner {
    align-items: flex-start;
    padding: 0.8rem 0;
  }
  .nav-main { gap: 0.75rem 1rem; }
  .pillar-grid,
  .stats-row,
  .card-grid,
  .county-grid,
  .team-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .feature-band,
  .project-grid,
  .contact-layout,
  .quote-block {
    grid-template-columns: 1fr;
  }
  .feature-panel,
  .feature-image {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .wrap,
  .site-head-inner,
  .hero-body {
    width: min(100% - 1.5rem, var(--max));
  }
  .site-head { position: absolute; }
  .site-head-inner {
    min-height: auto;
    display: block;
  }
  .logo {
    grid-template-columns: 38px auto;
    column-gap: 0.55rem;
  }
  .logo::before {
    width: 38px;
    height: 38px;
  }
  .nav-main {
    margin-top: 0.8rem;
    justify-content: flex-start;
  }
  .nav-main a {
    font-size: 0.66rem;
  }
  .hero,
  .hero.small {
    min-height: 760px;
  }
  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }
  .hero-body {
    padding: 10rem 0 3rem;
  }
  .pillar-grid,
  .stats-row,
  .card-grid,
  .county-grid,
  .project-grid,
  .team-grid-page {
    grid-template-columns: 1fr;
  }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .section { padding: 3.6rem 0; }
  .project-card img { height: 230px; }
}
