:root {
  --ink: #14201f;
  --ink-soft: #3a4a48;
  --paper: #f3f1eb;
  --mist: #e7ebe6;
  --teal: #0f3d3a;
  --teal-deep: #0a2c2a;
  --lime: #e8f2a0;
  --lime-hot: #d4e86a;
  --line: rgba(20, 32, 31, 0.12);
  --white: #fff;
  --radius: 2px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(243, 241, 235, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand,
.site-header.is-solid .brand,
.site-header.is-scrolled .nav a,
.site-header.is-solid .nav a {
  color: var(--ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
}

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

.brand span span {
  color: var(--lime-hot);
}

.site-header.is-scrolled .brand span span,
.site-header.is-solid .brand span span {
  color: var(--teal);
}

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

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-cta {
  padding: 0.55rem 1rem;
  background: var(--lime);
  color: var(--teal-deep) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--lime-hot);
  color: var(--teal-deep) !important;
}

.menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.site-header:not(.is-scrolled):not(.is-solid) .menu-btn {
  color: var(--white);
}

/* Hero — full bleed, centered frame */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-drift 20s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1%, -0.8%, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, rgba(10, 44, 42, 0.55) 0%, rgba(10, 44, 42, 0.82) 100%),
    linear-gradient(180deg, rgba(10, 44, 42, 0.45) 0%, rgba(10, 44, 42, 0.25) 40%, rgba(10, 44, 42, 0.75) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  padding: 7rem 0 4.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-xl {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 7.2rem);
  line-height: 0.9;
  margin: 0 0 1.45rem;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.brand-xl em {
  font-style: italic;
  color: var(--lime);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero-mark {
  display: inline;
  color: var(--lime);
  font-style: italic;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.8);
  max-width: 34ch;
  margin: 0 0 1.9rem;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  font-weight: 400;
  line-height: 1.55;
  position: relative;
  padding-top: 1.2rem;
}

.hero-lede::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--lime);
  transform: translateX(-50%);
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn-lime {
  background: var(--lime);
  color: var(--teal-deep);
}

.btn-lime:hover {
  background: var(--lime-hot);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-line {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-line:hover {
  background: var(--teal);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-mist {
  background: var(--mist);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.section-teal .eyebrow {
  color: var(--lime);
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.section-teal .lede {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split-flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-flip .split-copy {
  order: 2;
}

.split-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
}

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

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.feature-list li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.feature-list p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Industries — image strips, not card chrome */
.industries-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.industry-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.industry {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
}

.industry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.industry:hover img {
  transform: scale(1.06);
}

.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10, 44, 42, 0.9) 100%);
}

.industry-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
}

.industry h3 {
  margin-bottom: 0.3rem;
}

.industry p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  padding: 0;
  margin: 0;
  border-top: 2px solid var(--teal);
  padding-top: 1.15rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.quote footer {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.fineprint {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

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

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.25em;
}

.form-status.is-ok {
  color: var(--teal);
}

.form-status.is-err {
  color: #8b1e1e;
}

/* Custom success modal */
.toast-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 44, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.toast-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

.toast-card {
  width: min(26rem, 100%);
  background: var(--paper);
  border-radius: 4px;
  padding: 1.75rem 1.5rem 1.4rem;
  box-shadow: 0 24px 60px rgba(10, 44, 42, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.32s var(--ease);
  text-align: center;
}

.toast-root.is-open .toast-card {
  transform: none;
}

.toast-mark {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.toast-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.55rem;
  color: var(--teal);
}

.toast-card p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.toast-card .btn {
  min-width: 8rem;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.check input {
  margin-top: 0.2rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 7rem 0 2.5rem;
  background: var(--teal);
  color: var(--white);
}

.page-hero .eyebrow {
  color: var(--lime);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.8);
}

.page-body {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.facts {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.facts dd {
  margin: 0.2rem 0 0;
}

.about-values,
.about-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.75rem;
  margin-top: 1.75rem;
}

.about-value,
.about-why-item {
  padding-top: 1.1rem;
  border-top: 2px solid var(--teal);
}

.about-value h3,
.about-why-item h3 {
  margin-bottom: 0.35rem;
}

.about-value p,
.about-why-item p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.about-cta {
  max-width: 40rem;
}

.about-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.about-cta .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 700px) {
  .about-values,
  .about-why {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
}

.site-footer .brand {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 0.85rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* Motion */
.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

.rise.d1 {
  transition-delay: 0.08s;
}

.rise.d2 {
  transition-delay: 0.16s;
}

.rise.d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
  }

  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .split-flip,
  .contact-grid,
  .quotes,
  .industry-rail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-flip .split-copy {
    order: 0;
  }

  .industry-rail {
    grid-template-columns: 1fr 1fr;
  }

  .contact-media {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 4.25rem 0 auto;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--ink) !important;
    padding: 0.75rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .form-row,
  .industry-rail {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 5.5rem 0 3rem;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 44, 42, 0.4) 0%, rgba(10, 44, 42, 0.7) 55%, rgba(10, 44, 42, 0.92) 100%);
  }
}
