@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 560 640;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1e36;
  --navy-2: #143154;
  --blue: #1f4e89;
  --blue-2: #2e6ba8;
  --ice: #d7e6f5;
  --ink: #142033;
  --muted: #3d4d5e;
  --paper: #f3f0ea;
  --paper-2: #e7e1d6;
  --white: #fffcf8;
  --line: rgba(11, 30, 54, 0.14);
  --shadow: 0 18px 40px rgba(11, 30, 54, 0.08);
  --header: 4.25rem;
  --wrap: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-underline-offset: 0.18em; }

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

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  border-radius: 0.4rem;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(243, 240, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
}

.brand img { width: auto; height: 46px; }
.site-footer .brand-footer {
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.35rem 0.55rem 0.28rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0;
}
.site-footer .brand-footer img { height: 40px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.nav-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-btn span.bar {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 160ms ease, top 160ms ease, opacity 160ms ease;
}

.nav-btn span.bar:nth-child(1) { top: 16px; }
.nav-btn span.bar:nth-child(2) { top: 23px; }
.nav-btn span.bar:nth-child(3) { top: 30px; }

.nav-check:checked + .nav-btn span.bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-check:checked + .nav-btn span.bar:nth-child(2) { opacity: 0; }
.nav-check:checked + .nav-btn span.bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }

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

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--blue);
}

.nav-check:focus-visible + .nav-btn { outline: 2px solid var(--blue-2); outline-offset: 3px; }

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(158, 192, 230, 0.28), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, #102844 55%, #17385f 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
}

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

.hero h1,
.page-hero h1,
h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  max-width: 8ch;
  color: var(--white);
}

.lede {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 42rem;
}

.hero .lede { color: rgba(255, 252, 248, 0.88); margin: 1.25rem 0 0; }

.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  background: transparent;
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-line { border-color: rgba(11, 30, 54, 0.28); color: var(--navy); background: transparent; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.hero .btn-primary { background: var(--white); color: var(--navy); }
.hero .btn-primary:hover { background: var(--ice); color: var(--navy); }
.hero .btn-line { border-color: rgba(255, 252, 248, 0.45); color: var(--white); }
.hero .btn-line:hover { background: rgba(255, 252, 248, 0.08); color: var(--white); }

.hero-art {
  justify-self: end;
  width: min(100%, 520px);
  margin: 0;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 1.25rem;
}

.filament {
  stroke-dasharray: 8 10;
  animation: drift 14s linear infinite;
}

@keyframes drift { to { stroke-dashoffset: -180; } }

.band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 252, 248, 0.14);
}

.band article {
  padding: 1.15rem 1.2rem 1.3rem;
  border-left: 1px solid rgba(255, 252, 248, 0.14);
}

.band article:first-child { border-left: 0; }

.band h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--white);
}

.band p { margin: 0.3rem 0 0; color: rgba(255, 252, 248, 0.75); font-size: 0.92rem; }

.section { padding: 4.5rem 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); color: var(--navy); }

.kicker {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head p, .page-hero .lede { margin: 0; color: var(--muted); }

.page-hero { padding: 3.2rem 0 0.5rem; }

.page-hero .lede { margin-top: 1rem; font-size: 1.12rem; }

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

.card, .panel, .cert, .step, .detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.card {
  padding: 1.3rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}

.card:hover { border-color: rgba(31, 78, 137, 0.45); color: inherit; }

.card h3, .panel h3, .detail h3 {
  font-size: 1.7rem;
  margin: 0.35rem 0 0.55rem;
  color: var(--navy);
}

.card p, .panel p, .detail p { margin: 0; color: var(--muted); }

.card .more {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.segments {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.seg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 1.25rem;
  border-radius: 1.15rem;
  color: var(--white);
  text-decoration: none;
  background: var(--navy);
}

.seg:hover { color: var(--white); filter: brightness(1.08); }

.seg:nth-child(1) { grid-row: span 2; min-height: 480px; background: linear-gradient(180deg, #0b1e36, #1f4e89); }
.seg:nth-child(2) { background: #143154; }
.seg:nth-child(3) { background: #1f4e89; }
.seg:nth-child(4) { background: #245a96; }
.seg:nth-child(5) { background: #16375f; }

.seg span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.seg strong {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-top: 0.8rem;
}

.seg:nth-child(1) strong { font-size: clamp(2.6rem, 4vw, 4rem); }

.quality-band {
  background: var(--navy);
  color: var(--white);
}

.quality-band .kicker, .quality-band .section-head p { color: var(--ice); }
.quality-band h2 { color: var(--white); }

.q-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.q-grid article {
  border: 1px solid rgba(255, 252, 248, 0.16);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
}

.q-grid h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.q-grid p { margin: 0; color: rgba(255, 252, 248, 0.82); }

.steps-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.steps-preview a, .step {
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.steps-preview a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.steps-preview a:hover { border-color: var(--blue); color: inherit; }

.num {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 640;
}

.steps-preview h3, .step h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0.4rem 0;
  color: var(--navy);
}

.steps-preview p, .step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.detail { padding: 1.3rem 1.25rem 1.4rem; }

.detail + .detail { margin-top: 0.85rem; }

.why { display: grid; gap: 0.85rem; }

.why article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.why h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 0.2rem;
}

.stack { display: grid; gap: 0.85rem; }

.panel { padding: 1.25rem; }

.specs { margin-top: 0.5rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }

table { width: 100%; border-collapse: collapse; }

.detail .cards { grid-template-columns: 1fr 1fr; }

caption {
  text-align: left;
  caption-side: bottom;
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: #f7f4ef;
}

tr:last-child td { border-bottom: 0; }

.certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cert {
  min-height: 280px;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.4), transparent 30%),
    var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.cert strong {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--navy);
  display: block;
  margin: 0.8rem 0;
}

.quote {
  margin: 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.timeline { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 1.3rem 1.3rem;
  border-radius: 0;
  border-bottom: 0;
}

.step:first-child { border-radius: 1.1rem 1.1rem 0 0; }
.step:last-child { border-radius: 0 0 1.1rem 1.1rem; border-bottom: 1px solid var(--line); }
.step + .step { border-top: 1px solid var(--line); }

.step .num { font-size: 2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

address { font-style: normal; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: grid; gap: 0.1rem; }
.contact-list span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 600; }

form { display: grid; gap: 0.85rem; }

label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; color: var(--navy); }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.7rem;
  padding: 0.75rem 0.8rem;
  font: 400 1rem/1.4 var(--sans);
}

textarea { min-height: 140px; resize: vertical; }

.form-note, .fine {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
}

.swipe-hint { display: none; }

#form-status {
  background: var(--ice);
  color: var(--navy);
  border-radius: 0.7rem;
  padding: 0.8rem 0.9rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 252, 248, 0.82);
  padding: 3rem 0 1.5rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 1.5rem;
}

.site-footer .label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ice);
  margin: 0 0 0.7rem;
}

.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer p, .site-footer li { margin: 0 0 0.45rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 252, 248, 0.14);
  font-size: 0.88rem;
}

.app-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.app-tiles a { color: inherit; text-decoration: none; }

.app-tiles img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.9rem;
  background: var(--paper-2);
}

.app-tiles + .fine { text-align: center; margin-top: 0.65rem; }

.app-tiles strong {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--navy);
}

.product-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.product-photo { margin: 0; }

.product-photo img,
.plant img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 1.05rem;
}

.plant { margin: 0; }

.caption {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.45rem 0 0;
}

.note {
  margin: 0;
  background: var(--white);
  border-left: 3px solid var(--blue);
  padding: 0.85rem 1rem;
  border-radius: 0.45rem;
  color: var(--ink);
}

.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.spec-nums { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.7rem 0 1rem; }

.spec-nums span {
  background: var(--navy);
  color: var(--white);
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-family: var(--serif);
  font-weight: 640;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}

.certs-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.certs-photos figure { margin: 0; }

.certs-photos img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.ticks { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.ticks li { margin: 0.25rem 0; }

.swatches { display: flex; gap: 0.55rem; margin: 1rem 0 0.4rem; }
.swatches i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: block;
  border: 1px solid rgba(11, 30, 54, 0.15);
}
.swatches i:nth-child(1) { background: #f4f1ea; }
.swatches i:nth-child(2) { background: #1d2430; }
.swatches i:nth-child(3) { background: #1f4e89; }
.swatches i:nth-child(4) { background: #8d3b3b; }
.swatches i:nth-child(5) { background: #2f6b4f; }

@media (max-width: 980px) {
  .nav-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: calc((100% - 100vw) / 2);
    right: calc((100% - 100vw) / 2);
    width: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 1.15rem 0.9rem;
    gap: 0;
  }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-check:checked ~ .nav { display: flex; }
  .hero-grid, .section-head, .split, .contact-grid, .certs, .q-grid, .cards, .foot-grid, .product-split, .certs-photos {
    grid-template-columns: 1fr;
  }
  .app-tiles { grid-template-columns: 1fr 1fr; }
  .product-photo img, .plant img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
  .segments { grid-template-columns: 1fr 1fr; }
  .seg:nth-child(1) { grid-row: auto; min-height: 240px; }
  .steps-preview { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .band article:nth-child(odd) { border-left: 0; }
  .band article { border-top: 1px solid rgba(255, 252, 248, 0.14); }
  .hero-art { justify-self: stretch; }
  .hero-grid { padding-top: 2.6rem; }
}

@media (max-width: 800px) {
  .swipe-hint { display: block; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.4rem)); }
  .segments, .steps-preview, .band, .cards, .app-tiles, .detail .cards { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .step { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .section { padding: 3.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .filament { animation: none; }
  .nav-btn span.bar { transition: none; }
}

@media print {
  .site-header, .hero-actions, .actions, .site-footer, .nav-btn { display: none !important; }
  .nav { display: flex !important; position: static; }
  body, .hero, .quality-band, .site-footer { background: white; color: black; }
  .hero h1, .seg, .seg strong { color: black; }
  a { color: black; }
}
