/* Layout: left-aligned on a 72rem measure. Sea-blue hero with a route globe, then the product
   families set as a ledger (name, sample photos, reference count), not as cards. */
@font-face {
  font-family: "Archivo";
  src: url(fonts/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --sea: #0c2f4e;
  --sea-deep: #08243d;
  --ocean: #11406a;
  --land: #2d6692;
  --ink: #1b2733;
  --muted: #556372;
  --paper: #ffffff;
  --mist: #edf2f6;
  --line: #d2dbe3;
  --amber: #f7941d;
  --amber-hover: #ffa73f;
  --red: #e8412f;
  --blue: #1c5687;
  --on-sea: #ffffff;
  --on-sea-soft: #c6d6e3;
  --wa: #25d366;
  --wa-ink: #06301a;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --band: clamp(3.25rem, 7vw, 5.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 { font-stretch: 122%; font-weight: 800; letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.45rem); line-height: 1.08; }
h3 { font-stretch: 112%; font-weight: 700; font-size: 1.15rem; line-height: 1.25; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; top: 0; background: var(--amber); color: var(--ink); padding: 0.6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: 0.55rem 1.2rem;
  border: 2px solid transparent; border-radius: 3px;
  font: inherit; font-weight: 700; font-stretch: 106%; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--on-sea); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: 4.25rem; flex-wrap: wrap; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { display: block; width: auto; height: 2.6rem; }
.nav ul { display: flex; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem; padding-block: 0.4rem; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
.langs { display: flex; gap: 0.15rem; }
.langs a {
  display: block; padding: 0.3rem 0.5rem; border-radius: 3px;
  color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.9rem; letter-spacing: 0.02em;
}
.langs a:hover { color: var(--ink); background: var(--mist); }
.langs a[aria-current="true"] { color: var(--paper); background: var(--sea); }
.menu-btn {
  display: none; font: inherit; font-weight: 650; font-size: 0.95rem; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: 3px; padding: 0.45rem 0.8rem; cursor: pointer;
}
.head-cta { min-height: 2.5rem; padding-block: 0.4rem; }

@media (max-width: 61.99rem) {
  .head-row { min-height: 3.75rem; gap: 0.5rem 0.75rem; }
  .brand img { height: 2.2rem; }
  .head-cta { display: none; }
  .js .menu-btn { display: inline-block; }
  .nav { order: 5; flex-basis: 100%; }
  .js .nav { display: none; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 0.75rem; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { display: block; padding-block: 0.8rem; font-size: 1.05rem; }
}

/* Hero */
.hero { background: var(--sea); color: var(--on-sea); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 3.5rem; align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.75rem);
}
.hero-copy { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: clamp(1.7rem, 0.75rem + 4.2vw, 3.25rem); font-size: clamp(1.6rem, 9.9cqi, 4.2rem); line-height: 1.06; }
.hero h1 span { display: block; white-space: nowrap; }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); line-height: 1.45; color: var(--on-sea-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.actions .btn-ghost { padding-inline: 0.95rem; }
.facts { margin-top: 2.25rem; border-top: 1px solid rgba(255, 255, 255, 0.22); max-width: 34rem; }
.facts li { padding-block: 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.22); font-weight: 550; }

.globe { min-width: 0; }
.globe-svg { display: block; width: 100%; height: auto; max-width: 35rem; margin-inline: auto; }
.g-sphere { fill: var(--ocean); }
.g-grat { fill: none; stroke: #ffffff; stroke-opacity: 0.08; stroke-width: 1; }
.g-land { fill: var(--land); }
.g-hi { fill: var(--amber); stroke: var(--sea); stroke-width: 0.6; }
.g-home { fill: #ffffff; }
.g-far { fill: none; stroke: #ffffff; stroke-opacity: 0.6; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.g-route { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: g-draw 1.3s ease-out both; }
.g-leader { stroke: #ffffff; stroke-opacity: 0.55; stroke-width: 1; }
.g-dot { fill: #ffffff; stroke: var(--sea); stroke-width: 1.5; }
.g-origin { fill: var(--red); stroke: #ffffff; stroke-width: 2.5; }
.g-office { fill: none; stroke: #ffffff; stroke-width: 2.2; }
.g-stop { fill: var(--ocean); stroke: #ffffff; stroke-width: 2; }
.g-ship { fill: #ffffff; }
.g-label { fill: #ffffff; font-family: var(--font); font-size: 21px; font-weight: 650; }
.g-label-origin { font-size: 25px; font-weight: 800; font-stretch: 115%; }
.g-ends { animation: g-show 0.5s ease-out 1.2s both; }
@keyframes g-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes g-show { from { opacity: 0; } to { opacity: 1; } }

.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: center; margin-top: 0.75rem; font-size: 0.86rem; color: var(--on-sea-soft); }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.key { flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; }
.key-market { background: var(--amber); }
.key-office { border: 2px solid #ffffff; }
.key-far { width: 1.4rem; height: 0; border-radius: 0; border-top: 2px dashed rgba(255, 255, 255, 0.6); }

@media (max-width: 61.99rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .globe-svg { max-width: 30rem; }
}

/* Bands */
.band { padding-block: var(--band); }
.band-mist { background: var(--mist); }
.band-sea { background: var(--sea); color: var(--on-sea); }
.intro { max-width: 46rem; }
.intro p { margin-top: 1rem; color: var(--muted); }
.band-sea .intro p { color: var(--on-sea-soft); }

/* Why us */
.band-why { padding-block: clamp(2.75rem, 6vw, 4.5rem) 0; }
.band-after-why { padding-top: clamp(2.75rem, 6vw, 4.5rem); }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 1.75rem; }
.why li { border-top: 2px solid var(--amber); padding-top: 0.9rem; min-width: 0; }
.why p { margin-top: 0.4rem; color: var(--muted); font-size: 0.99rem; line-height: 1.45; }
@media (max-width: 61.99rem) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .why { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; } }

/* Product ledger */
.families { margin-top: 2.25rem; border-top: 2px solid var(--ink); }
.family {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) 11rem;
  gap: 0.75rem 2rem; align-items: center;
  padding-block: 1.15rem; border-bottom: 1px solid var(--line);
}
.family-text p { margin-top: 0.3rem; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
.thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; height: 4.5rem; overflow: hidden; }
.thumbs img { display: block; flex: none; height: 4.5rem; width: auto; max-width: 5.5rem; object-fit: contain; }
.family-meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.93rem; }
.count { font-weight: 750; font-stretch: 110%; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
@media (max-width: 61.99rem) {
  .family { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .family-meta { flex-direction: row; flex-wrap: wrap; gap: 0.2rem 1rem; align-items: baseline; }
}

/* Featured products */
.features { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.5rem; margin-top: 2.75rem; align-items: start; }
.feature { background: var(--mist); padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.feature h3 { font-size: 1.35rem; font-stretch: 118%; font-weight: 800; }
.feature p { margin-top: 0.75rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.feature-milk { display: grid; grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.feature-milk img { display: block; width: 100%; }
.build-list { margin-top: 1rem; columns: 2; column-gap: 1.5rem; font-size: 0.97rem; }
.build-list li { break-inside: avoid; padding-block: 0.28rem; border-bottom: 1px solid var(--line); }
.build-photos { margin-top: 1.25rem; }
.build-photos div { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.build-photos img { display: block; width: 150px; height: 150px; max-width: none; }
.build-photos figcaption, .house figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 61.99rem) {
  .features { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 30rem) {
  .feature-milk { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
  .feature-milk h3 { font-size: 1.15rem; }
  .build-list { columns: 1; }
  .build-photos img { width: 96px; height: 96px; }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 0.9rem; min-width: 0; }
.steps li::before {
  content: counter(step); display: block;
  font-stretch: 125%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--blue);
  margin-bottom: 0.7rem;
}
.steps p { margin-top: 0.4rem; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
.terms { margin-top: 2.5rem; max-width: 46rem; }
.terms p { margin-top: 0.5rem; }
@media (max-width: 61.99rem) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.75rem; padding-block: 0.9rem; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 2px solid var(--ink); }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3, .steps p { grid-column: 2; }
}

/* Two-column sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.stack > * + * { margin-top: 1.25rem; }
.rows > li, .rows > div { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.rows > :first-child { border-top: 2px solid var(--ink); }
.rows p { margin-top: 0.35rem; color: var(--muted); }
.place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; }
.place span { color: var(--muted); font-weight: 550; }
.rows .entity { color: var(--ink); font-weight: 650; }
.rows address { margin-top: 0.4rem; font-style: normal; font-size: 0.95rem; }
.group-logo { display: block; width: 16rem; }
.amp { font-family: Arial, Helvetica, sans-serif; }
.house { margin-top: 1.75rem; }
.house img { display: block; width: 458px; max-width: 100%; }
@media (max-width: 61.99rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* Contact */
.contact-list { margin-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.contact-list div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding-block: 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.contact-list dt { color: var(--on-sea-soft); font-size: 0.95rem; }
.contact-list dd { font-weight: 600; overflow-wrap: anywhere; }
.band-sea a { color: var(--on-sea); }
.band-sea .form a { color: var(--blue); }
.band-sea h2 + p { margin-top: 1rem; color: var(--on-sea-soft); }

.form { background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 3px; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #8e9cab; border-radius: 3px; padding: 0.6rem 0.7rem; min-height: 2.875rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.err { color: #b3261a; font-size: 0.9rem; font-weight: 600; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; align-items: start; margin-top: 1.1rem; font-size: 0.95rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--blue); }
.form .btn { margin-top: 1.25rem; width: 100%; }
.hp { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 1rem; padding: 1rem; border: 2px solid var(--line); border-radius: 3px; }
.status p + p { margin-top: 0.6rem; }
.status-ok { border-color: #2c8a4b; }
.status-fail { border-color: var(--red); }
.status .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-weight: 700; }
@media (max-width: 34rem) {
  .fields { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.site-foot { background: var(--sea-deep); color: var(--on-sea-soft); padding-block: 2.75rem calc(5rem + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.site-foot a { color: var(--on-sea); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.foot-grid img { display: block; height: 3rem; width: auto; }
.foot-grid p + p, .foot-grid img + p { margin-top: 0.75rem; }
.foot-grid ul li + li { margin-top: 0.4rem; }
.foot-legal { color: var(--on-sea); font-weight: 600; }
.foot-end { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 61.99rem) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

.dock {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: flex; border-radius: 999px; overflow: hidden; background: var(--sea-deep);
  box-shadow: 0 4px 16px rgba(8, 36, 61, 0.35); border: 1px solid rgba(255, 255, 255, 0.18);
}
.dock a {
  display: block; padding: 0.7rem 1.05rem; color: var(--on-sea); text-decoration: none;
  font-weight: 750; font-stretch: 106%; font-size: 0.97rem; text-align: center;
}
.dock a + a { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.dock a:hover { background: var(--ocean); }
.dock .dock-wa { background: var(--wa); color: var(--wa-ink); }
.dock .dock-wa:hover { background: #3be07a; }
@media (max-width: 40rem) {
  .dock { left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dock a { flex: 1 1 0; padding-block: 0.85rem; }
}

/* Text pages */
.page { padding-block: clamp(2.5rem, 6vw, 4rem); }
.page h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); line-height: 1.05; }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.2rem; font-stretch: 112%; font-weight: 750; letter-spacing: 0; margin-top: 2rem; }
.prose p { margin-top: 0.6rem; }
.prose .note { margin-top: 0.75rem; }
.prose .page-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.5rem; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-route, .g-ends { animation: none; }
  .g-ship { display: none; }
}
@media print {
  .site-head { position: static; }
  .dock { display: none; }
}
