:root {
  --bg: #070b10;
  --surface: rgba(10, 15, 21, 0.78);
  --surface-strong: #0f1720;
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f0e8;
  --muted: #b7b7b2;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #46bac0;
  --copper: #cc8e4a;
  --sage: #64856a;
  --peach: #f9ad73;
  --mint: #7bdcb5;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(70, 186, 192, 0.2), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(204, 142, 74, 0.18), transparent 24%),
    linear-gradient(180deg, #101922 0%, #070b10 42%, #0b0d10 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.section {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(249, 173, 115, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(204, 142, 74, 0.28), rgba(70, 186, 192, 0.12));
  color: var(--peach);
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.topnav a:hover,
.text-link:hover,
.mini-card a:hover,
.social-links a:hover {
  color: var(--peach);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-text,
.story-copy p,
.pause-card p,
.info-card p,
.service-copy p,
.area-layout p,
.contact-copy p,
.metrics p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hero-actions,
.contact-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  font-weight: 700;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--copper), var(--peach));
  color: #14110e;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(70, 186, 192, 0.9);
}

.hero-grid,
.card-grid,
.metrics,
.area-chips {
  display: grid;
  gap: 16px;
}

.hero-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.mini-card,
.info-card,
.pause-card,
.metrics article,
.contact-panel,
.gallery-card,
.service-copy,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.mini-card {
  padding: 18px;
  min-width: 0;
}

.service-copy {
  padding-bottom: 34px;
}

.mini-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 0.84rem;
}

.mini-card strong,
.mini-card a {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-media {
  display: flex;
  align-items: stretch;
}

.media-stack {
  display: grid;
  gap: 18px;
  width: 100%;
  min-height: 100%;
  padding: 18px;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    linear-gradient(180deg, rgba(70, 186, 192, 0.12), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(1.1);
}

.hero-support-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.portrait-wrap {
  width: 100%;
  border-radius: 28px;
  padding: 12px;
  background: rgba(7, 11, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.hero-portrait {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: 20px;
}

.floating-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: 22px;
  background: rgba(12, 18, 25, 0.92);
  border: 1px solid rgba(249, 173, 115, 0.25);
}

.panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--peach);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.floating-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics article {
  padding: 22px;
}

.metric-value {
  display: block;
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 1.7rem;
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.story-layout,
.services-layout,
.area-layout,
.news-layout {
  display: grid;
  gap: 22px;
}

.story-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.pause-card,
.info-card,
.service-copy,
.contact-panel {
  padding: 24px;
}

.story-support {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.support-photo,
.story-badge {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.support-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.story-badge {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(123, 220, 181, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.04);
}

.story-badge img {
  width: min(260px, 100%);
}

.story-badge p {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.story-end {
  margin-top: 28px;
}

.story-end h3 {
  margin-bottom: 12px;
}

.pause-image-card {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}

.pause-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.text-link {
  color: var(--teal);
  font-weight: 700;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-icon,
.map-mark {
  color: var(--mint);
}

.section-icon svg,
.map-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.section-icon {
  width: 56px;
  height: 56px;
  padding: 9px 10px 14px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(123, 220, 181, 0.12);
  border: 1px solid rgba(123, 220, 181, 0.24);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  min-height: 300px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-wide {
  grid-row: span 2;
}

.accent-card {
  min-height: 380px;
}

.services-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 28px;
}

.services-left {
  display: grid;
  gap: 22px;
  align-content: start;
}

.services-intro {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.pill-list span,
.area-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 220, 181, 0.28);
  background: rgba(123, 220, 181, 0.12);
  color: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 181, 0.06);
}

.area-chips {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-copy-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.service-copy-head .section-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.service-kicker {
  margin: 2px 0 6px;
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  gap: 24px;
  background:
    radial-gradient(circle at right top, rgba(70, 186, 192, 0.18), transparent 26%),
    radial-gradient(circle at left bottom, rgba(204, 142, 74, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.social-links a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 220, 181, 0.24);
  background: rgba(123, 220, 181, 0.08);
}

.site-credit {
  display: flex;
  justify-content: flex-end;
  padding: 22px 0 6px;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.credit-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
}

.news-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-copy {
  padding: 10px 6px;
}

@media (max-width: 980px) {
  .hero,
  .story-layout,
  .services-layout,
  .gallery-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .story-support {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .card-grid,
  .metrics,
  .area-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-stack {
    gap: 16px;
  }

  .hero-banner {
    height: 300px;
  }

  .hero-support-row {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  }

  h1 {
    max-width: 12ch;
  }

  h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1240px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    gap: 14px;
  }

  .section {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-grid,
  .card-grid,
  .metrics,
  .area-chips {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    width: 100%;
  }

  .hero-support-row {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    height: 220px;
  }
}

/* ── Scroll reveal ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
