@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-pro-latin-wght-normal.woff2") format("woff2");
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-pro-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lagoon: #0C7472;
  --lagoon-deep: #0A5F5E;
  --ink: #0B2B33;
  --ink-soft: #24444C;
  --sun: #FFB84D;
  --sun-deep: #F5A52E;
  --dune: #E9DCC3;
  --shell: #F4F8F7;
  --white: #FFFFFF;
  --line: #C9D6D4;
  --line-dark: #2B4A52;
  --mist: #DCE9E7;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --space-section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--lagoon) var(--shell);
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: "Readex Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--lagoon);
}

::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

a { color: var(--lagoon); text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}
.band-sun :focus-visible, .band-sun:focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; color: var(--white); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header { padding-block: 22px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-height: 48px; }
.lockup:hover { color: var(--ink); }
.lockup svg { color: var(--lagoon); width: 34px; height: 44px; flex: none; }
.lockup-text { display: flex; flex-direction: column; gap: 3px; }
.lockup-name { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.lockup-tag { font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; color: var(--lagoon); line-height: 1; padding-left: 2px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav-link { color: var(--ink); text-decoration: none; font-size: 1rem; padding-block: 12px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--sun-deep); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 500; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--lagoon); color: var(--white); }
.btn-primary:hover { background: var(--lagoon-deep); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lagoon); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #123A44; color: var(--white); }
.btn-small { min-height: 46px; padding: 11px 22px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Hero */
.hero { padding-block: clamp(24px, 4vw, 48px) var(--space-section); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.plate {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--lagoon); color: var(--white);
  border-radius: clamp(24px, 3vw, 40px);
  aspect-ratio: 4 / 5; max-height: 620px; width: 100%;
  display: grid; place-items: center;
}
.plate-sun { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); right: -18%; top: -16%; }
.plate-mark { width: 62%; height: auto; overflow: visible; }
.plate-mark .horn { transform-box: fill-box; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .plate-sun { animation: sun-rise 1.4s var(--ease) both; }
  .plate-mark .horn { animation: horn-grow 1.1s var(--ease) 0.15s both; }
  .plate-mark .horn + .horn { animation-delay: 0.27s; }
}
@keyframes sun-rise { from { transform: translate(-9%, 16%) scale(0.86); } to { transform: none; } }
@keyframes horn-grow { from { transform: scaleY(0.22); } to { transform: none; } }

/* Sections */
.section { padding-block: var(--space-section); }
.section-white { background: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 20px; max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-soft); max-width: 36em; }

/* Route: factory to shelf */
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); position: relative; }
.route::before { content: ""; position: absolute; left: 9px; right: 9px; top: 9px; height: 2px; background: var(--lagoon); opacity: 0.35; }
.stop { position: relative; padding-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.stop::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--lagoon); }
.stop:last-child::before { background: var(--sun); border-color: var(--sun-deep); }
.stop p { color: var(--ink-soft); max-width: 30em; }

/* Ledger rows */
.ledger { border-top: 1.5px solid var(--ink); }
.ledger > li, .ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(12px, 4vw, 56px); padding-block: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger p, .ledger dd { color: var(--ink-soft); max-width: 36em; }
.ledger dt { font-weight: 600; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }

/* Regions band */
.band-ink { background: var(--ink); color: var(--white); }
.band-ink .section-head p, .band-ink p { color: var(--mist); }
.regions { display: flex; flex-wrap: wrap; column-gap: 0.5em; row-gap: 0; font-size: clamp(2.5rem, 8.4vw, 6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.regions li:nth-child(even) { color: var(--sun); }
.regions-light li:nth-child(even) { color: var(--lagoon); }
.regions-note { margin-top: clamp(28px, 4vw, 48px); max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }

/* Closing band */
.band-sun { background: var(--sun); color: var(--ink); }
.close { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.close h2 { max-width: 14em; }
.close p { margin-top: 16px; max-width: 30em; color: var(--ink); }

/* Page head (inner pages) */
.page-head { padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 28px; }
.page-head h1 { max-width: 11em; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--sun); padding-top: 20px; }
.steps li::before { content: counter(step); font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--sun); font-variant-numeric: tabular-nums; }
.steps p { color: var(--mist); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding-bottom: var(--space-section); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 1rem; }
.field .hint { font-size: 0.9375rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 54px; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B2B33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #55717A; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8FA9A7; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(12, 116, 114, 0.18); border-radius: 14px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-foot p { font-size: 0.9375rem; color: var(--ink-soft); max-width: 30em; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aside { background: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; }
.aside h2 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.2; }
.aside-block { display: flex; flex-direction: column; gap: 10px; }
.aside address { font-style: normal; color: var(--ink-soft); }
.ticks { display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 18px; height: 18px; margin-top: 5px; color: var(--lagoon); }

/* Message pages */
.message { min-height: 62vh; display: grid; align-items: center; padding-block: var(--space-section); }
.message .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.message h1 { max-width: 12em; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px) 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.footer-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--sun-deep); }
.legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; font-size: 0.9375rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .plate { aspect-ratio: 5 / 4; max-height: none; }
  .plate-mark { width: 38%; }
  .plate-sun { width: 52%; right: -10%; top: -26%; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { left: 9px; right: auto; top: 9px; bottom: 9px; width: 2px; height: auto; }
  .stop { padding: 0 0 36px 48px; }
  .stop:last-child { padding-bottom: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .ledger > li, .ledger > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .lockup-name { font-size: 1.5rem; }
  .lockup svg { width: 29px; height: 38px; }
  .nav .btn-small { padding-inline: 16px; }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .lockup-tag { display: none; }
  .nav { gap: 12px; }
  .nav-link { font-size: 0.9375rem; }
}

@media print {
  .site-header .nav, .actions, .band-sun { display: none; }
  body { background: #fff; }
}

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

/* Prose pages */
.prose { max-width: calc(44rem + 2 * var(--gutter)); margin-inline: 0; padding-bottom: var(--space-section); }
.page-head + .prose { margin-inline: auto; max-width: var(--max); }
.prose > * { max-width: 44rem; }
.prose h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.15; margin-top: 2.6em; margin-bottom: 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose p + p, .prose ul + p { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-top: 0.8em; color: var(--ink-soft); display: flex; flex-direction: column; gap: 0.35em; }
.prose ul li::marker { color: var(--lagoon); }
.aside-meta { color: var(--ink-soft); font-size: 0.9375rem; }
.footer-nav a[href^="mailto"] { color: var(--lagoon); }
