/* ==========================================================
   Rich Infinite Prosupply — site styles
   World: trade paperwork on warm rice paper, logo green as ink,
   gold kept for the hero underline and the manifest numbers.
   Signature: trade data (HS codes, Incoterms, reg. no.) set in mono.
   ========================================================== */

:root {
  /* warm neutral ramp */
  --paper: #f3eee2;
  --paper-2: #ebe4d3;
  --card: #fbf8f1;
  --raised: #f6f1e6;
  --ink: #13241a;
  --ink-2: #3d4a41;
  --ink-3: #5d6a60;
  --line: rgba(19, 36, 26, 0.1);
  --line-strong: rgba(19, 36, 26, 0.18);

  /* brand */
  --brand: #034421;
  --deep: #043a1e;
  --accent: #12663a;
  --gold: #a67b10;
  --gold-2: #c39623;
  --error: #b42318;

  --display: "Gloock", "Noto Serif Thai", Georgia, "Times New Roman", serif;
  --body: "IBM Plex Sans", "IBM Plex Sans Thai Looped", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Thai Looped", ui-monospace, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-control: 8px;
  --r-card: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html:lang(th) body { line-height: 1.75; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

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

/* the signature: trade data in mono */
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  background: var(--deep);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: var(--r-control);
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.375rem; line-height: 1.2; }
html:lang(th) h2,
html:lang(th) h3 { font-weight: 500; letter-spacing: 0; line-height: 1.35; }

.eyebrow {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 16px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--deep);
  border-radius: var(--r-control);
  background: var(--deep);
  color: var(--paper);
  font: 500 0.9375rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn::after { content: "→"; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost::after { content: "↓"; }
.btn-ghost:hover { background: var(--raised); border-color: var(--line-strong); }

.btn-small { height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn-small::after { display: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  text-underline-offset: 6px;
  padding: 8px 0;
  transition: color var(--fast) var(--ease);
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
}
.lang button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 500 0.8125rem/1 var(--body);
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.lang button[data-lang="th"] { font-family: "IBM Plex Sans Thai Looped", var(--body); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--deep); color: var(--paper); }

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--fast) var(--ease);
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { padding: 48px 0 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
html:lang(th) .hero-title {
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  line-height: 1.24;
  letter-spacing: 0;
  font-weight: 500;
}
.hero-title .nw { white-space: nowrap; }
.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  /* the bund, the low dike between two paddies */
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.04em;
  bottom: -0.08em;
  height: 0.16em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'><path d='M2 10 C 40 3, 70 14, 110 8 S 190 2, 230 9 S 280 12, 298 6' fill='none' stroke='%23c39623' stroke-width='3.2' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 36rem;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* one entrance on load */
.enter { animation: enter 480ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* hero art */
.hero-art { position: relative; }

.arch {
  margin: 0;
  position: relative;
  aspect-ratio: 600 / 760;
  border-radius: 999px 999px var(--r-card) var(--r-card);
  overflow: hidden;
  background: #dfe5e0;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(19, 36, 26, 0.28);
}
.arch svg { width: 100%; height: 100%; }
.arch-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.arch::after {
  /* neutral scrim so the caption reads on any photo */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(19, 36, 26, 0.5), transparent);
  pointer-events: none;
}
.fig {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  font-size: 0.8125rem;
  color: rgba(243, 238, 226, 0.92);
}

.seal {
  position: absolute;
  width: clamp(112px, 11vw, 144px);
  height: auto;
  left: clamp(-56px, -4vw, -24px);
  bottom: 12%;
  filter: drop-shadow(0 8px 16px rgba(19, 36, 26, 0.18));
}
.seal-bg { fill: var(--paper); }
.seal-ring { fill: none; stroke: var(--brand); stroke-width: 1.2; }
.seal-text { font-family: var(--mono); font-size: 12.5px; fill: var(--brand); }

/* drawn fallback behind the hero photo */
#terraces .bund {
  fill: none;
  stroke: #f3eee2;
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.85;
}

/* ---------- product line under the hero ---------- */

.ticker {
  background: var(--deep);
  color: var(--paper);
}
.ticker-track {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 4px;
  font-size: 0.9375rem;
}
.ticker-track span:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: rgba(243, 238, 226, 0.45);
}

/* ---------- sections ---------- */

.section { padding: clamp(80px, 10vw, 128px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: 48px;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-intro { color: var(--ink-2); max-width: 34rem; }

/* ---------- photo holders ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--ph, var(--ink-2));
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.15;
  color: rgba(243, 238, 226, 0.92);
}
html:lang(th) .ph-label { font-weight: 500; line-height: 1.4; }

.harvest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(80px, 9vw, 128px);
}
.tile { margin: 0; }
.tile .ph { aspect-ratio: 4 / 5; border-radius: var(--r-card); }
.tile:nth-child(even) { margin-top: 48px; }
.tile figcaption,
.port figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-3);
}

/* ---------- manifest ---------- */

.manifest {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-variant-numeric: tabular-nums;
}
.manifest thead th {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
}
.manifest tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background-color var(--fast) var(--ease);
}
.manifest tbody tr:last-child { border-bottom: 0; }
.manifest tbody tr:hover { background: var(--raised); }

.manifest td,
.manifest tbody th {
  padding: 20px 16px;
  vertical-align: baseline;
  text-align: left;
  font-weight: 400;
}
.manifest tbody th {
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.2;
  width: 26%;
}
html:lang(th) .manifest tbody th { font-weight: 500; font-size: 1.25rem; line-height: 1.4; }
.item-en { display: block; }
.item-alt {
  display: block;
  margin-top: 4px;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
}
.manifest .c-no { width: 48px; }
.manifest td.c-no { color: var(--gold); font-weight: 500; }
.manifest td.mono { font-size: 0.875rem; white-space: nowrap; color: var(--ink-2); }
.cell-label { display: none; }

.manifest-foot {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.manifest-foot .note { max-width: 30rem; }
.manifest-foot .more { max-width: 34rem; text-align: right; }
.manifest-foot a { color: var(--accent); font-weight: 500; text-underline-offset: 4px; }

/* ---------- process ---------- */

.process { background: var(--deep); color: var(--paper); }
.process .eyebrow { color: rgba(243, 238, 226, 0.68); }
.process h2 { color: var(--paper); }

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  border-top: 1px dashed rgba(243, 238, 226, 0.28);
}
.route li { position: relative; padding-right: 24px; }
.route-no {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border: 1px solid rgba(243, 238, 226, 0.4);
  border-radius: 50%;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
}
.route h3 { margin-bottom: 8px; color: var(--paper); }
.route p { color: rgba(243, 238, 226, 0.74); font-size: 0.9375rem; }

.port { margin: 80px 0 0; }
.port .ph { aspect-ratio: 21 / 8; border-radius: var(--r-card); }
.port figcaption { color: rgba(243, 238, 226, 0.68); }

/* ---------- company ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.company-copy h2 { margin-bottom: 24px; }
.company-copy > p { color: var(--ink-2); max-width: 34rem; }

.principles {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line-strong);
}
.principles li {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.principles h3 { font-size: 1.25rem; }
.principles p { color: var(--ink-2); }

.ledger {
  position: sticky;
  top: 104px;
  padding: 24px 32px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  box-shadow: 0 8px 24px rgba(19, 36, 26, 0.06);
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.ledger-head p { font-size: 1rem; font-weight: 500; }
.ledger-seal { width: 48px; height: 48px; }
.ledger dl { margin: 0; }
.ledger dl > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.ledger dt { color: var(--ink-3); font-size: 0.875rem; }
.ledger dd { margin: 0; font-weight: 500; }
.ledger-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--accent);
  text-underline-offset: 4px;
}

/* ---------- contact ---------- */

.contact { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--ink-2); max-width: 26rem; }

.contact-list { margin: 40px 0 0; }
.contact-list > div { padding: 16px 0; border-top: 1px solid var(--line-strong); }
.contact-list dt { font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 4px; }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--accent); text-underline-offset: 4px; }
.contact-list .js-email {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  transition: color var(--fast) var(--ease);
}
.contact-list .tel {
  font-size: 1.25rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}
.contact-list .js-email:hover,
.contact-list .tel:hover { color: var(--accent); }

.quote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  padding: clamp(20px, 3.4vw, 40px);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: 400 1rem/1.4 var(--body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2313241a' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 102, 58, 0.14);
}
.field.is-invalid input,
.field.is-invalid select { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }

.form-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 4px;
}
.hint { font-size: 0.875rem; color: var(--ink-3); }
.hint.is-error { color: var(--error); }
.hint.is-ok { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--deep);
  color: rgba(243, 238, 226, 0.74);
  padding: 40px 0;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-logo { height: 40px; width: auto; }
.footer-brand > div { padding-left: 24px; border-left: 1px solid rgba(243, 238, 226, 0.16); font-size: 0.8125rem; }
.footer-name { font-family: var(--display); font-size: 1.125rem; color: var(--paper); }
.footer-meta { font-size: 0.8125rem; line-height: 1.8; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-top { font-size: 0.8125rem; color: var(--paper); text-decoration: none; }
.footer-top:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header-actions .btn-small { display: none; }
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .route::before { display: none; }
  .principles li { grid-template-columns: 152px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 1.125rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { text-decoration: none; }
  .header-actions { margin-left: auto; }

  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; width: 100%; margin: 16px auto 0; }
  .seal { left: -12px; }

  .harvest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .port .ph { aspect-ratio: 16 / 9; }

  .section-head { grid-template-columns: 1fr; row-gap: 16px; margin-bottom: 32px; }

  .company-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .ledger { position: static; }

  .manifest-foot { flex-direction: column; gap: 8px; }
  .manifest-foot .more { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand-logo { height: 32px; }

  /* manifest becomes cards */
  .manifest thead { display: none; }
  .manifest,
  .manifest tbody,
  .manifest tr,
  .manifest td,
  .manifest tbody th { display: block; width: auto; }
  .manifest tbody tr {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 16px 0;
  }
  .manifest td,
  .manifest tbody th { padding: 0; }
  .manifest .c-no { grid-row: 1 / span 4; width: auto; padding-top: 4px; }
  .manifest tbody th { margin-bottom: 8px; font-size: 1.25rem; }
  .manifest td:not(.c-no) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 4px 0;
    font-size: 0.9375rem;
    white-space: normal;
  }
  .cell-label { display: block; font-family: var(--body); font-size: 0.8125rem; color: var(--ink-3); }

  .tile:nth-child(even) { margin-top: 24px; }
  .ph-label { font-size: 1.25rem; left: 12px; right: 12px; bottom: 12px; }
  .port { margin-top: 64px; }
  .port .ph { aspect-ratio: 4 / 3; }

  .route { grid-template-columns: 1fr; row-gap: 0; }
  .route li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0 0 32px;
  }
  .route li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    border-left: 1px dashed rgba(243, 238, 226, 0.28);
  }
  .route li:last-child::before { display: none; }
  .route-no { grid-row: 1 / span 2; margin-bottom: 0; }
  .route h3 { margin-top: 8px; }

  .principles li { grid-template-columns: 1fr; gap: 4px; }
  .ledger { padding: 20px; }
  .ledger dl > div { grid-template-columns: 1fr; gap: 0; }

  .quote { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-content: center; }

  .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-brand > div { padding-left: 0; border-left: 0; }
}

@media (max-width: 420px) {
  .lang button { padding: 0 8px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
}
