:root {
  --bg: #f4efe7;
  --paper: #fbf7f1;
  --ink: #14261d;
  --muted: #526257;
  --accent: #b85c2f;
  --accent-soft: rgba(184, 92, 47, 0.14);
  --sea: #10384c;
  --line: rgba(20, 38, 29, 0.12);
  --shadow: 0 28px 60px rgba(18, 28, 23, 0.12);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: -14rem;
  right: -8rem;
  background: rgba(16, 56, 76, 0.14);
}

.site-shell::after {
  left: -10rem;
  bottom: 12rem;
  background: rgba(184, 92, 47, 0.12);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 239, 231, 0.78);
  border-bottom: 1px solid rgba(20, 38, 29, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-mark {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2vw, 2.35rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  position: relative;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.button.is-solid {
  background: var(--ink);
  color: #fff;
}

.button.is-outline {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button.is-paper {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 38, 29, 0.12);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 18, 25, 0.28) 0%, rgba(7, 18, 25, 0.55) 42%, rgba(7, 18, 25, 0.8) 100%),
    url("https://images.unsplash.com/photo-1675920029999-9c29621e44ad?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero-inner {
  display: grid;
  gap: 2.2rem;
  padding: 5rem 0 3rem;
}

.hero-copy {
  max-width: 44rem;
  display: grid;
  gap: 1.2rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.hero p {
  max-width: 40rem;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.page-hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-band article {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-band h2,
.hero-band p,
.stat-item p,
.section-copy p,
.contact-card p,
.timeline p,
.resource-card p,
.footer-meta p,
.page-hero p,
.cta-panel p,
.service-card p,
.risk-panel p,
.process-grid p,
.detail-list p {
  color: inherit;
}

.hero-band h2,
.stat-item h3,
.service-card h3,
.process-grid h3,
.timeline h3,
.resource-card h3,
.contact-card h3,
.risk-panel h3,
.detail-list h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.page-main {
  padding: 5rem 0 6rem;
}

.section {
  padding: 0 0 5rem;
}

.section-grid,
.split-grid,
.contact-grid,
.detail-grid,
.process-grid,
.resource-grid,
.services-grid,
.stats-grid {
  display: grid;
  gap: 1.35rem;
}

.section-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.section-copy h2,
.cta-panel h2,
.page-hero h1 + p,
.contact-panel h2 {
  margin: 0;
}

.section-copy h2,
.cta-panel h2,
.contact-panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.section-copy p,
.page-hero p,
.cta-panel p,
.footer-meta p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.stat-item,
.service-card,
.timeline,
.resource-card,
.contact-card,
.risk-panel,
.detail-list {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 38, 29, 0.08);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.stat-item {
  padding: 1.5rem;
}

.stat-item strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--sea);
}

.feature-media {
  min-height: 32rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(16, 56, 76, 0.05), rgba(16, 56, 76, 0.35)),
    url("https://images.unsplash.com/photo-1770944182416-911214039dae?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  align-items: stretch;
}

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

.service-card {
  padding: 1.55rem;
  display: grid;
  gap: 1rem;
}

.service-card ul,
.detail-list ul,
.risk-panel ul,
.contact-card ul,
.resource-card ul {
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.service-card li,
.detail-list li,
.risk-panel li,
.contact-card li,
.resource-card li {
  padding-left: 1rem;
  position: relative;
}

.service-card li::before,
.detail-list li::before,
.risk-panel li::before,
.contact-card li::before,
.resource-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--accent);
}

.visual-panel {
  min-height: 26rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(20, 38, 29, 0.08), rgba(20, 38, 29, 0.3)),
    url("https://images.unsplash.com/photo-1768796372610-f844d490a734?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.page-hero {
  padding: 5.2rem 0 3rem;
  display: grid;
  gap: 1.25rem;
}

.page-hero p {
  max-width: 44rem;
}

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

.detail-list,
.risk-panel {
  padding: 1.7rem;
}

.timeline-wrap {
  display: grid;
  gap: 1rem;
}

.timeline {
  padding: 1.45rem 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.timeline ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.timeline li + li {
  margin-top: 0.55rem;
}

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

.resource-card {
  padding: 1.55rem;
  display: grid;
  gap: 1rem;
}

.resource-card a {
  color: var(--sea);
  font-weight: 700;
}

.contact-panel {
  padding: 2.3rem;
  border-radius: 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 56, 76, 0.92), rgba(20, 38, 29, 0.88)),
    url("https://images.unsplash.com/photo-1592963219517-6a1c0b1ba18e?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

.contact-card {
  padding: 1.7rem;
}

.contact-card a {
  color: var(--sea);
  font-weight: 700;
}

.cta-panel {
  padding: 2.3rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(20, 38, 29, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.site-footer {
  padding: 0 0 2.4rem;
}

.footer-panel {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.footer-meta {
  display: grid;
  gap: 0.3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.credit-line {
  font-size: 0.92rem;
  color: var(--muted);
}

.spacer-top {
  margin-top: 1.3rem;
}

@media (max-width: 960px) {
  .hero-band,
  .section-grid,
  .split-grid,
  .contact-grid,
  .resource-grid,
  .detail-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(251, 247, 241, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .hero-inner {
    padding: 3.5rem 0 2rem;
  }

  .contact-panel,
  .cta-panel,
  .contact-card,
  .service-card,
  .detail-list,
  .risk-panel,
  .resource-card,
  .timeline {
    border-radius: 1.4rem;
  }
}
