:root {
  color-scheme: light dark;
  --bg: #eef1ec;
  --bg-2: #e7ebe5;
  --ink: #121820;
  --muted: #5e6874;
  --accent: #1f5d57;
  --accent-2: #c07a44;
  --surface: #fbfcfa;
  --surface-2: #f4f6f2;
  --stroke: rgba(18, 24, 32, 0.1);
  --shadow: 0 22px 48px rgba(18, 24, 32, 0.09);
  --shadow-soft: 0 12px 28px rgba(18, 24, 32, 0.06);
  --overlay: rgba(10, 14, 20, 0.56);
  --nav-bg: rgba(238, 241, 236, 0.94);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 9px;
  --section-space: clamp(52px, 6vw, 88px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161b;
    --bg-2: #151d24;
    --ink: #eef2f6;
    --muted: #b8c1cb;
    --accent: #74b1a9;
    --accent-2: #e4a671;
    --surface: #171f26;
    --surface-2: #1d262f;
    --stroke: rgba(238, 242, 246, 0.1);
    --shadow: 0 28px 55px rgba(0, 0, 0, 0.44);
    --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.34);
    --overlay: rgba(4, 7, 12, 0.7);
    --nav-bg: rgba(16, 22, 27, 0.94);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.7;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Prata", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.2em;
}

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

.container {
  width: min(1280px, 94vw);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section.alt {
  background: transparent;
}

.section.cda,
.section.cta {
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent-2);
  display: inline-block;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 93, 87, 0.22);
}

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

.btn-outline {
  border-color: var(--stroke);
  background: var(--surface);
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.nav-top {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  grid-column: 1;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-panel {
  width: 100%;
  min-width: 0;
  grid-column: 2;
}

.nav-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 0;
  border-top: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px 18px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
  grid-column: 3;
}

.nav-menu-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  position: relative;
  grid-column: 3;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-icon {
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
  top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.menu-open {
  overflow: hidden;
}


.hero {
  padding: clamp(48px, 7vw, 84px) 0 var(--section-space);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
}

.hero-media {
  display: grid;
  gap: 18px;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.image-card > img {
  width: 100%;
}

.portrait-stack {
  position: relative;
  display: grid;
  gap: 18px;
}

.portrait-main {
  aspect-ratio: 4 / 5;
}

.portrait-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-badge {
  position: absolute;
  right: -14px;
  bottom: 16px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--surface);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.portrait-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
}

.portrait-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.media-frame {
  aspect-ratio: 16 / 10;
}

.media-frame img {
  height: 100%;
  object-fit: cover;
}

.bullet-list {
  display: grid;
  gap: 12px;
}

.bullet-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.stats-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.stat {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.cta-panel {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--ink);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.form-note[data-state="pending"] {
  color: var(--accent);
}

.form-note[data-state="success"] {
  color: var(--accent-alt);
}

.form-note[data-state="error"] {
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  color: var(--muted);
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 700px;
}

.footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--stroke);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 1fr);
  gap: 30px;
}

.footer a {
  color: var(--muted);
}

.footer-meta {
  margin-top: 24px;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.dev-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 240;
  background: #fff6ef;
  border-bottom: 1px solid rgba(255, 172, 123, 0.4);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dev-banner[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dev-banner-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: 0.01em;
  font-size: 0.74rem;
  position: relative;
}

.dev-banner-brand {
  display: inline-flex;
  align-items: center;
}

.dev-banner img {
  height: 30px;
  width: auto;
}

.dev-banner-text {
  color: inherit;
}

.dev-banner-close {
  position: absolute;
  right: 20px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 172, 123, 0.55);
  background: rgba(255, 240, 230, 0.9);
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body.has-dev-banner {
  padding-top: 52px;
}

body.has-dev-banner .site-nav {
  top: 52px;
}

@media (max-width: 980px) {
  :root {
    --section-space: 44px;
  }

  .container {
    width: min(680px, 92vw);
  }

  .nav-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 0;
  }

  .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .portrait-badge {
    right: 10px;
    bottom: -12px;
    width: 92px;
    height: 92px;
  }

  .nav-panel {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 16px 24px;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 120;
  }

  .nav-panel[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-surface {
    width: min(420px, 100%);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--stroke);
    padding: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 1rem;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-actions {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dev-banner-inner {
    height: 46px;
    font-size: 0.7rem;
  }

  body.has-dev-banner {
    padding-top: 46px;
  }

  body.has-dev-banner .site-nav {
    top: 46px;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {
  .nav-links {
    gap: 8px 14px;
    font-size: 0.76rem;
    letter-spacing: 0.11em;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn {
    transition: none;
  }
}
