:root {
  --ink: #1e4545;
  --ink-deep: #163636;
  --ink-soft: #5a7a78;
  --cream: #e8f3f1;
  --paper: #f4faf8;
  --white: #ffffff;
  --blue: #3d8f87;
  --blue-dark: #2c6e68;
  --blue-glow: rgba(61, 143, 135, 0.35);
  --sky: #9ecfc8;
  --line: rgba(30, 69, 69, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --muted: #8aa8a4;
  --muted-soft: #b7cdc9;
  --radius: 8px;
  --container: min(1120px, calc(100% - 48px));
  --serif: "Manrope", sans-serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

body.nav-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-light);
  background: rgba(22, 54, 54, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  height: 72px;
  margin: 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav > a:hover {
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo--footer {
  height: 30px;
}

.brand-name--footer {
  font-size: 15px;
}

.footer-brand {
  color: var(--white);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: min(85vh, 720px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 54, 54, 0.45) 0%,
    rgba(22, 54, 54, 0.55) 40%,
    rgba(22, 54, 54, 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0 72px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: auto;
  max-width: min(90vw, 480px);
  max-height: min(38vh, 280px);
  height: auto;
  object-fit: contain;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--muted);
}

.eyebrow span {
  width: 20px;
  height: 2px;
  background: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.button-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 15px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 32px var(--blue-glow);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.button-secondary:hover {
  background: var(--cream);
}

.about {
  padding: 96px max(24px, calc((100% - 1120px) / 2));
  background: var(--white);
}

.about-inner {
  width: var(--container);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about .eyebrow {
  justify-content: center;
}

.about-text {
  margin: 20px 0 28px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.contact {
  padding: 96px max(24px, calc((100% - 1120px) / 2));
  background: var(--cream);
}

.contact-inner {
  width: var(--container);
  max-width: 560px;
  margin: 0 auto;
}

.contact-text {
  margin: 16px 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.notify {
  padding: 96px max(24px, calc((100% - 1120px) / 2));
  color: var(--white);
  background: var(--ink);
}

.notify-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: var(--container);
  margin: 0 auto;
}

.notify-text {
  margin: 16px 0 0;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 1.65;
}

.notify-form {
  display: grid;
  gap: 16px;
}

.form-fields {
  display: grid;
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
}

.form-field input::placeholder {
  color: var(--ink-soft);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.form-status--success {
  color: #8fd4b0;
}

.form-status--error {
  color: #f0b0b0;
}

.form-legal {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.split-cta {
  padding: 96px max(24px, calc((100% - 1120px) / 2));
  background: var(--paper);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: var(--container);
  margin: 0 auto;
}

.split-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.split-card--dark {
  color: var(--white);
  border-color: transparent;
  background: var(--ink-deep);
}

.split-label {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-card--dark .split-label {
  color: var(--sky);
}

.split-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.split-card--dark p {
  color: var(--muted-soft);
}

.split-card .button {
  margin-top: auto;
  align-self: flex-start;
}

footer {
  padding: 32px max(24px, calc((100% - 1120px) / 2));
  border-top: 1px solid var(--line-light);
  color: var(--muted);
  background: var(--ink-deep);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: var(--container);
  margin: 0 auto;
}

.footer-meta {
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line-light);
    background: rgba(22, 54, 54, 0.98);
    backdrop-filter: blur(12px);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav > a {
    padding: 14px 24px;
    font-size: 15px;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .notify-inner,
  .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 32px);
  }

  .header-inner {
    height: 64px;
  }

  .site-nav > a {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-media {
    min-height: min(72vh, 560px);
  }

  .hero-logo {
    max-width: min(88vw, 360px);
    max-height: min(32vh, 200px);
  }

  .hero-inner {
    padding: 40px 0 48px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .about,
  .contact,
  .notify {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .split-card .button {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
