/* LYLY Food landing page (lyly.brodigi.net)
   Brand: logo navy, Cambodian red, the gold of the jasmine rice packs.

   Themes: light is the default. Dark applies when the visitor's system prefers it, unless they
   picked light with the header switch (html[data-theme="light"]), or when they picked dark
   (html[data-theme="dark"]). js/theme.js sets data-theme before the first paint. Every colour
   below goes through a token, so a theme is just a different set of token values. */

:root {
  color-scheme: light;

  /* Page and surfaces */
  --bg: #FFFFFF;
  --bg-alt: #FAF6EE;            /* alternating sections (rice) */
  --bg-band: #FDEFC8;           /* the brand band */
  --surface: #FFFFFF;           /* cards */
  --soft: #FAF6EE;              /* quiet fills: plant pills, icon circles, form panel */
  --soft-navy: #EEF0F8;         /* icon circles in the sales card, photo placeholder */
  --chip-bg: #F3F1EA;
  --count-bg: #F1ECE1;
  --header-bg: #FFFFFF;
  --topbar-bg: #141B52;
  --footer-bg: #0F1440;
  --deep: #141B52;              /* the quality band */
  --panel: #1E2A78;             /* navy panels: vision, CEO card, project stats, export band */
  --marquee-card: radial-gradient(120% 90% at 50% 28%, #FFFDF8 0%, #F6EAD0 100%); /* hero product cards */
  --field-bg: #FFFFFF;
  --trophy-well: #FAF6EE;       /* stays light in both themes: the trophy photos are multiplied onto it */

  /* Text */
  --ink: #151A3B;
  --text: #3B4166;
  --muted: #60667F;
  --on-navy: #C9CFEB;
  --on-ink: #AEB5D6;

  /* Brand and states */
  --accent: #D2232A;            /* fills with white text */
  --accent-text: #D2232A;       /* red text on the page */
  --accent-dark: #B81E24;
  --link: #1E2A78;
  --icon: #1E2A78;
  --ghost: #1E2A78;             /* outline buttons */
  --selected: #1E2A78;          /* selected tile, hovered tab */
  --tab-on-bg: #1E2A78;
  --tab-on-text: #FFFFFF;
  --tab-on-count-bg: #F4B329;
  --tab-on-count-text: #151A3B;
  --gold: #F4B329;
  --gold-soft: #FDEFC8;
  --gold-pale: #FFF7E1;
  --crop-bg: #FDEFC8;
  --crop-text: #151A3B;
  --ok: #0B7A35;
  --err: #B81E24;

  /* Lines and shadows */
  --line: #ECEAE3;
  --line-warm: #E8E3D7;
  --line-soft: #EEE9DE;
  --field-line: #DCD5C5;
  --shadow-sm: 0 8px 24px rgba(20, 27, 82, 0.08);
  --shadow-md: 0 14px 34px rgba(20, 27, 82, 0.14);
  --shadow-pack: drop-shadow(0 16px 22px rgba(20, 27, 82, 0.22));
  --marquee-pack-shadow: drop-shadow(0 8px 10px rgba(20, 27, 82, 0.22));
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E2A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  /* Theme switch */
  --switch-track: #F3F1EA;
  --switch-thumb: #FFFFFF;
  --btn-navy: #1E2A78;
  --mascot-ring: rgba(244, 179, 41, 0.35);

  --font-display: 'Bricolage Grotesque', 'Kantumruy Pro', system-ui, sans-serif;
  --font-body: 'Kantumruy Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
}

/* Dark palette: deep navy ground, gold for selection and icons, red kept for the main buttons. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0A0F2C;
    --bg-alt: #0E1436;
    --bg-band: #0E1436;
    --surface: #141B44;
    --soft: #1A2250;
    --soft-navy: #1E2758;
    --chip-bg: #1E2758;
    --count-bg: #2A3366;
    --header-bg: #0A0F2C;
    --topbar-bg: #060920;
    --footer-bg: #060920;
    --deep: #141B52;
    --panel: #1E2A78;
    --marquee-card: radial-gradient(120% 90% at 50% 28%, #232D6B 0%, #121944 100%);
    --field-bg: #0F1538;
    --ink: #F2F4FC;
    --text: #C8CDE6;
    --muted: #9AA2C7;
    --accent-text: #FF7B7B;
    --accent-dark: #FF9A9A;
    --link: #B9C4FF;
    --icon: #F4B329;
    --ghost: #C9CFEB;
    --selected: #F4B329;
    --tab-on-bg: #F4B329;
    --tab-on-text: #151A3B;
    --tab-on-count-bg: #151A3B;
    --tab-on-count-text: #F4B329;
    --gold-soft: #1D2452;
    --gold-pale: rgba(244, 179, 41, 0.16);
    --crop-bg: rgba(244, 179, 41, 0.16);
    --crop-text: #FDEFC8;
    --ok: #4ADE80;
    --err: #FF7B7B;
    --line: #232B5C;
    --line-warm: #262F63;
    --line-soft: #232B5C;
    --field-line: #343E78;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.45);
    --shadow-pack: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
    --marquee-pack-shadow: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23C9CFEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --switch-track: #1E2758;
    --switch-thumb: #F4B329;
    --btn-navy: #2E3DA6;
    --mascot-ring: rgba(244, 179, 41, 0.6);
  }
}

/* The same dark palette when the visitor picks it with the switch. Keep in step with the block above. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0F2C;
  --bg-alt: #0E1436;
  --bg-band: #0E1436;
  --surface: #141B44;
  --soft: #1A2250;
  --soft-navy: #1E2758;
  --chip-bg: #1E2758;
  --count-bg: #2A3366;
  --header-bg: #0A0F2C;
  --topbar-bg: #060920;
  --footer-bg: #060920;
  --deep: #141B52;
  --panel: #1E2A78;
  --marquee-card: radial-gradient(120% 90% at 50% 28%, #232D6B 0%, #121944 100%);
  --field-bg: #0F1538;
  --ink: #F2F4FC;
  --text: #C8CDE6;
  --muted: #9AA2C7;
  --accent-text: #FF7B7B;
  --accent-dark: #FF9A9A;
  --link: #B9C4FF;
  --icon: #F4B329;
  --ghost: #C9CFEB;
  --selected: #F4B329;
  --tab-on-bg: #F4B329;
  --tab-on-text: #151A3B;
  --tab-on-count-bg: #151A3B;
  --tab-on-count-text: #F4B329;
  --gold-soft: #1D2452;
  --gold-pale: rgba(244, 179, 41, 0.16);
  --crop-bg: rgba(244, 179, 41, 0.16);
  --crop-text: #FDEFC8;
  --ok: #4ADE80;
  --err: #FF7B7B;
  --line: #232B5C;
  --line-warm: #262F63;
  --line-soft: #232B5C;
  --field-line: #343E78;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-pack: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
  --marquee-pack-shadow: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23C9CFEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --switch-track: #1E2758;
  --switch-thumb: #F4B329;
  --btn-navy: #2E3DA6;
  --mascot-ring: rgba(244, 179, 41, 0.6);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

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

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: #1E2A78; color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.icon {
  flex: none; width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Layout ---------- */

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

.section { padding-block: var(--section-y); }
.section--rice { background: var(--bg-alt); }
.section--gold { background: var(--bg-band); }
.section--deep,
.section--navy { position: relative; overflow: hidden; color: var(--on-navy); }
.section--deep { background: var(--deep); }
.section--navy { background: var(--panel); }

.section-head { max-width: 760px; }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head--split > div { flex: 1 1 520px; min-width: 0; max-width: 700px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--navy { color: var(--link); }

.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--deep .section-title,
.section--navy .section-title { color: #FFFFFF; }

.lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}
.section--deep .lead,
.section--navy .lead { color: var(--on-navy); }

.body-copy { margin-top: 16px; font-size: 17px; line-height: 1.65; }
.section-title + .body-copy { margin-top: 22px; }

/* ---------- Buttons and chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
}
.btn--solid { background: var(--accent); color: #FFFFFF; }
.btn--solid:hover { color: #FFFFFF; filter: brightness(0.9); }
.btn--navy { background: var(--btn-navy); color: #FFFFFF; }
.btn--navy:hover { color: #FFFFFF; filter: brightness(1.2); }
.btn--ghost { border-color: var(--ghost); background: transparent; color: var(--ghost); }
.btn--ghost:hover { background: var(--ghost); color: var(--bg); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.chip {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  background: var(--chip-bg); color: var(--ink);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}

/* ---------- Top bar ---------- */

.topbar { background: var(--topbar-bg); color: var(--on-navy); font-size: 13.5px; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px;
}
.topbar__note { padding-block: 12px; }
.topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.topbar a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: #FFFFFF; text-decoration: none;
}
.topbar a:hover { color: var(--gold); }
.topbar .icon { width: 15px; height: 15px; }
.topbar__social { display: flex; }
.topbar__social a { justify-content: center; width: 44px; }
.topbar__social .icon { width: 17px; height: 17px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 28px;
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 50px; }

.site-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 2px; }
.nav-link {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 12px; border-radius: 12px;
  color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.nav-link:hover { background: var(--chip-bg); color: var(--ink); }

/* 3D menu icons (made in Canva, see docs/nav-icons.canva.json): above the label in the header,
   beside it in the phone menu. Decorative (alt=""), since the label names the link. */
.nav-ico { flex: none; width: 30px; height: 30px; transition: transform 0.2s ease; }
.nav-link:hover .nav-ico,
.mobile-menu__links a:hover .nav-ico { transform: translateY(-2px) scale(1.08); }

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

/* Light / dark switch: a pill track with a sun and a moon; the thumb sits under the active one. */
.theme-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; min-height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.theme-switch__track {
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 7.5px; /* centres each 16px icon on a thumb position */
  border: 1.5px solid var(--line-warm); border-radius: 999px;
  background: var(--switch-track);
}
.theme-switch__thumb {
  position: absolute; top: 3px; left: 3px;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--switch-thumb);
  box-shadow: 0 2px 6px rgba(20, 27, 82, 0.25);
  transition: transform 0.2s ease;
}
.theme-switch .icon { position: relative; z-index: 1; width: 16px; height: 16px; stroke-width: 2.2; color: var(--muted); }
.theme-switch .theme-switch__sun { color: #B7790A; }
.theme-switch[aria-checked="true"] .theme-switch__thumb { transform: translateX(30px); }
.theme-switch[aria-checked="true"] .theme-switch__sun { color: var(--muted); }
.theme-switch[aria-checked="true"] .theme-switch__moon { color: #151A3B; }
.theme-switch:hover .theme-switch__track { border-color: var(--selected); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 1.5px solid var(--line-warm); border-radius: 14px;
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 80px); overflow-y: auto;
  padding-bottom: 24px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(20, 27, 82, 0.12);
}
.mobile-menu__links { margin-bottom: 20px; }
.mobile-menu__links a {
  display: flex; align-items: center; gap: 14px; min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none;
}
.mobile-menu__links .nav-ico { width: 34px; height: 34px; }
.mobile-menu__contact {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 16px;
  font-size: 15px;
}
.mobile-menu__contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

@media (max-width: 1260px) {
  .nav-link { padding-inline: 9px; }
}
/* The full nav, the switch and the button need about 1,150 px; below that the nav folds into the menu. */
@media (max-width: 1160px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand img { height: 44px; }
}
@media (max-width: 760px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 560px) {
  .topbar__email { display: none !important; }
}

/* ---------- Hero ---------- */

/* The "Animated Marquee Hero" (hero-3.tsx) rebuilt without React: centred copy that rises in word
   by word, over a parade of tilted product cards. js/app.js clones the card set and starts the
   slide; without it the cards stand still. */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__stage {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 128px);
  min-height: calc(100svh - 128px); /* a screen, less the top bar and header */
  padding-top: clamp(40px, 7vh, 88px);
}
.hero__copy {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted);
}
.hero__kh { font-size: 15px; font-weight: 700; color: var(--accent-text); }
.hero__title {
  margin-top: 20px;
  max-width: 11.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__word { display: inline-block; }
.hero__lead { margin-top: 24px; max-width: 36rem; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__standards { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.hero__standards-label { margin-right: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Hero buttons grow on hover and press in on click. */
.btn--pop {
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, filter 0.15s,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) {
  .btn--pop:hover { transform: scale(1.05); }
}
.btn--pop:active { transform: scale(0.95); }
.btn--solid.btn--pop { box-shadow: 0 14px 28px -10px rgba(210, 35, 42, 0.55); }

/* Entry: each piece rises 10px as it fades in, the title one word every 0.1 s. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes hero-fade { from { opacity: 0; } }
.hero__tag,
.hero__word,
.hero__lead,
.hero__actions,
.hero__standards { animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__word { animation-delay: calc(0.1s + var(--i, 0) * 0.1s); }
.hero__lead { animation-delay: 0.55s; }
.hero__actions { animation-delay: 0.65s; }
.hero__standards { animation-delay: 0.75s; }

/* Marquee: the track holds three copies of the card set and slides right by one set per loop,
   so the seam never shows, even on very wide screens. */
.marquee { position: relative; margin-top: clamp(28px, 5vh, 56px); }
.marquee__viewport {
  overflow: hidden;
  padding-block: 20px 36px; /* room for the tilt and the shadows */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  animation: hero-fade 1.2s ease-out 0.3s both;
}
.marquee__track { display: flex; width: max-content; }
.marquee.is-running .marquee__track { animation: marquee-slide 60s linear infinite; will-change: transform; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee-slide { from { transform: translateX(calc(-100% / 3)); } }
.marquee__card {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 144px; aspect-ratio: 3 / 4; margin-right: 16px; padding: 14px;
  border-radius: 16px;
  background: var(--marquee-card);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.marquee__card:nth-child(even) { transform: rotate(5deg); }
.marquee__card img { width: 100%; height: 100%; object-fit: contain; filter: var(--marquee-pack-shadow); }
@media (min-width: 768px) {
  .marquee__card { width: 192px; padding: 18px; }
}
.marquee__toggle {
  position: absolute; bottom: 4px;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.marquee__toggle .icon { width: 16px; height: 16px; }
.marquee__toggle[aria-pressed="true"] .marquee__pause,
.marquee__toggle:not([aria-pressed="true"]) .marquee__play { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee__toggle { display: none; }
}

.stats {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 20px 34px 0; }
.stat__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 3vw, 44px); line-height: 1; color: var(--ink);
}
.stat__label { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Products ---------- */

.tabs { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  position: relative; /* keeps the .sr-only count label inside the scrolling tab row */
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 12px 0 18px;
  border: 1.5px solid var(--field-line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.tab:hover { border-color: var(--selected); }
.tab[aria-pressed="true"] { border-color: var(--tab-on-bg); background: var(--tab-on-bg); color: var(--tab-on-text); }
.tab__count {
  min-width: 26px; padding: 2px 8px; border-radius: 999px;
  background: var(--count-bg); color: var(--text);
  font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center;
}
.tab[aria-pressed="true"] .tab__count { background: var(--tab-on-count-bg); color: var(--tab-on-count-text); }

/* Phones: the product lines become one swipeable row instead of five wrapped rows. */
@media (max-width: 760px) {
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; }
}

.explorer { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }

.spec {
  flex: 1 1 400px; min-width: 0;
  display: flex; flex-direction: column; gap: 20px;
  padding: 24px; border: 1px solid var(--line-warm); border-radius: 24px;
  background: var(--surface);
}
.spec__media {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 300px; border-radius: 18px; overflow: hidden;
  background: var(--gold-soft);
}
.spec__media::before {
  content: ""; position: absolute;
  width: 240px; height: 240px; border-radius: 50%;
  background: var(--gold-pale);
}
.spec__img {
  position: relative;
  width: auto; height: auto; max-width: 78%; max-height: 86%;
  object-fit: contain;
  filter: var(--shadow-pack);
}
.spec__media[data-kind="white"] .spec__img {
  max-width: 80%; max-height: 88%;
  padding: 12px; border-radius: 14px; background: #FFFFFF;
  filter: drop-shadow(0 12px 20px rgba(20, 27, 82, 0.14));
}
.spec__media[data-kind="photo"] .spec__img {
  width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: cover; filter: none;
}
.spec__cat { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.spec__name {
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1.15; color: var(--ink);
}
.spec__sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.spec__rows { border-top: 1px solid var(--line-soft); }
.spec__rows > div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.spec__rows dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spec__rows dd { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--ink); }
/* The label is wider than the card on 320 px phones: let it wrap there instead of overflowing. */
.spec__cta { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: normal; text-align: center; }

.tiles {
  flex: 999 1 540px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  align-content: start; gap: 14px;
}
.tile { display: flex; }
.tile__btn {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 10px 10px 14px;
  border: 2px solid var(--line-warm); border-radius: 18px;
  background: var(--surface); text-align: left; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tile__btn:hover { border-color: var(--selected); }
.tile__btn[aria-pressed="true"] { border-color: var(--selected); box-shadow: 0 12px 28px rgba(30, 42, 120, 0.16); }
.tile__media {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: clamp(112px, 11vw, 150px);
  border-radius: 12px; overflow: hidden;
}
/* Packs photographed on white get a white card, so they sit cleanly on a dark tile too. */
.tile[data-kind="white"] .tile__media { background: #FFFFFF; }
.tile__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tile--photo .tile__media img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.tile__name { padding: 0 4px; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.tile__meta { padding: 0 4px; font-size: 13px; line-height: 1.3; color: var(--muted); }

/* ---------- Quality ---------- */

.quality__ring {
  position: absolute; right: -220px; top: -300px;
  width: 640px; height: 640px; border-radius: 50%;
  border: 2px solid rgba(244, 179, 41, 0.18); pointer-events: none;
}
.quality__head {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
}
.quality__head .section-head { flex: 1 1 520px; min-width: 0; max-width: 700px; }
.certs { flex: 0 1 auto; max-width: 100%; display: flex; align-items: flex-end; gap: 18px; }
.cert { flex: 0 1 150px; min-width: 0; }
.cert img {
  width: 100%; border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg);
}
.cert + .cert img { transform: rotate(3deg); }
.cert figcaption { margin-top: 14px; font-size: 13px; text-align: center; color: var(--on-navy); }

.timeline {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px 0;
}
.timeline li { position: relative; padding: 30px 24px 0 0; border-top: 2px solid rgba(255, 255, 255, 0.16); }
.timeline li::before {
  content: ""; position: absolute; top: -9px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px var(--deep);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold); }
.timeline h3 { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.3; color: #FFFFFF; }
.timeline__text { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }

.dark-cards {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.dark-card {
  padding: 28px; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.dark-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.2; color: #FFFFFF; }
.year-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.year-list li { display: flex; gap: 14px; font-size: 15px; line-height: 1.5; }
.year-list b { flex: 0 0 44px; font-weight: 700; color: var(--gold); }

/* ---------- Our story ---------- */

.story { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 72px); }
.story__copy { flex: 1 1 400px; min-width: 0; }
.plants { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.plant {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px; border-radius: 14px;
  background: var(--soft); color: var(--ink);
  font-size: 15px; font-weight: 600;
}
.plant .icon { color: var(--icon); }

.growth {
  flex: 1 1 560px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px;
}
.growth li { display: flex; flex-direction: column; gap: 14px; }
.growth img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.growth__when { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.growth__size {
  margin-top: 4px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; line-height: 1.1; color: var(--ink);
}
.growth__note { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.vmg {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.vmg__card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: 24px;
  background: var(--soft);
}
.vmg__card h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.vmg__card > p { font-size: 17px; line-height: 1.6; }
.vmg__card--vision { background: var(--panel); color: #FFFFFF; }
.vmg__card--vision h3 { color: var(--gold); }
.vmg__card--vision > p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 25px; line-height: 1.3; color: #FFFFFF;
}

.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.checks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--icon); stroke-width: 2.4; }

.values {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px;
}
.values h3 { margin-right: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.values .chip { padding: 6px 14px; font-size: 14.5px; }

/* ---------- Leadership ---------- */

.leaders {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; gap: 20px;
}
.person {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-warm); border-radius: 24px;
  background: var(--surface);
}
.person__photo { width: 100%; height: 340px; object-fit: cover; background: var(--soft-navy); }
.person__body { padding: 24px 26px 28px; }
.person__role { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.person__name {
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; line-height: 1.2; color: var(--ink);
}
.bullets {
  margin-top: 16px; padding-left: 18px; list-style: disc;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 15px; line-height: 1.5;
}

.ceo-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px; border-radius: 24px;
  background: var(--panel); color: var(--on-navy);
}
.ceo-card__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.ceo-card blockquote p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 25px; line-height: 1.3; color: #FFFFFF;
}
.ceo-card__summary { font-size: 15.5px; line-height: 1.65; }
.ceo-card__link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.ceo-card__link:hover { color: #FFFFFF; text-decoration: underline; }
.ceo-card__link .icon { width: 16px; height: 16px; }
.advisor {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.advisor img { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.advisor__role { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.advisor__name { margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.35; color: #FFFFFF; }
.advisor__title { margin-top: 2px; font-size: 14px; line-height: 1.4; }

/* ---------- Awards ---------- */

.trophies {
  margin-top: 40px; padding: 4px 0 12px;
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity;
}
.trophy { flex: 1 0 120px; scroll-snap-align: start; }
.trophy figure { display: flex; flex-direction: column; gap: 10px; }
.trophy__well {
  display: flex; align-items: flex-end; justify-content: center;
  height: 200px; padding: 14px; border-radius: 16px;
  background: var(--trophy-well);
}
.trophy__well--seal { align-items: center; }
.trophy__well img { width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.trophy figcaption { font-size: 13px; line-height: 1.35; }
.trophy figcaption strong { display: block; color: var(--ink); }

/* Columns, not grid: the list reads down the first column, then the second. */
.award-list { margin-top: 40px; columns: 2 380px; column-gap: 48px; }
.award-list li {
  break-inside: avoid;
  display: flex; gap: 20px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.5;
}
.award-list__year {
  flex: 0 0 52px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--accent-text);
}
.award-list strong { font-weight: 600; color: var(--ink); }

/* ---------- Community ---------- */

.iap {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; overflow: hidden;
  border: 1px solid var(--line-warm); border-radius: 28px;
  background: var(--surface);
}
.iap__body { flex: 1 1 520px; min-width: 0; padding: clamp(24px, 3.5vw, 44px); }
.iap__banner { width: 100%; border: 1px solid var(--line-soft); border-radius: 12px; }
.iap__kicker { margin-top: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.iap__title {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--ink);
}
.iap__text { margin-top: 14px; font-size: 16px; line-height: 1.65; }
.crops { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crops li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--crop-bg); color: var(--crop-text);
  font-size: 14px; font-weight: 600;
}
.iap__stats {
  flex: 1 1 360px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--panel); color: var(--on-navy);
}
.iap__stat {
  padding: clamp(20px, 2.6vw, 32px);
  border: 0 solid rgba(255, 255, 255, 0.12);
}
.iap__stat:nth-child(odd) { border-right-width: 1px; }
.iap__stat:nth-child(-n+2) { border-bottom-width: 1px; }
.iap__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3vw, 44px); line-height: 1; color: #FFFFFF;
}
.iap__value--gold { color: var(--gold); }
.iap__label { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }

.activities {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
}
.activities > li { display: flex; }
.activity {
  flex: 1 1 auto;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-warm); border-radius: 20px;
  background: var(--surface);
}
.activity img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.activity__body { padding: 20px 22px 24px; }
.activity__date { font-size: 13px; font-weight: 600; color: var(--muted); }
.activity h3 { margin-top: 6px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.activity__text { margin-top: 8px; font-size: 15px; line-height: 1.55; }

/* ---------- Export ---------- */

.export__deco {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.export__deco--fill { right: -160px; top: -160px; width: 560px; height: 560px; background: rgba(255, 255, 255, 0.04); }
.export__deco--ring { right: 60px; top: 50px; width: 300px; height: 300px; border: 2px dashed rgba(244, 179, 41, 0.3); }
.export__grid { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.export__copy { flex: 1 1 520px; min-width: 0; }
.export__copy .lead { max-width: 620px; }
.export__highlight { color: var(--gold); }
.markets { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.markets h3 { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.markets ul { display: flex; flex-wrap: wrap; gap: 8px; }
.markets li {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF; font-size: 15px; line-height: 1.4;
}
.export__fairs { margin-top: 28px; max-width: 620px; font-size: 15px; line-height: 1.6; }

.sales-card {
  flex: 1 1 380px; min-width: 0;
  padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 30px 60px rgba(8, 12, 40, 0.35);
}
.sales-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--ink); }
.sales-card__note { margin-top: 6px; font-size: 15px; color: var(--muted); }
.sales-list { margin-top: 20px; border-bottom: 1px solid var(--line); }
.sales-list li { border-top: 1px solid var(--line); }
.sales-item {
  display: flex; align-items: center; gap: 14px; min-height: 58px;
  color: var(--ink); text-decoration: none;
}
a.sales-item:hover { color: var(--link); }
a.sales-item:hover .sales-item__value { text-decoration: underline; }
.sales-item__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--soft-navy); color: var(--icon);
}
.sales-item__icon .icon { width: 17px; height: 17px; }
.sales-item__text { display: flex; flex-direction: column; line-height: 1.35; }
.sales-item__label { font-size: 12.5px; color: var(--muted); }
.sales-item__value { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.sales-card .btn { margin-top: 22px; }

/* ---------- Brand band ---------- */

.brand-band__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.mascot { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.mascot__disc {
  display: flex; align-items: center; justify-content: center;
  width: min(100%, 400px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: #FFFFFF; box-shadow: 0 0 0 12px var(--mascot-ring);
}
.mascot__disc img { width: 60%; }
.brand-band__copy { flex: 1 1 480px; min-width: 0; }
.slogan { margin-top: 28px; padding: 24px 28px; border-radius: 20px; background: var(--surface); }
.slogan blockquote p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: var(--ink);
}
.slogan figcaption { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.brand-band__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */

.contact__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 64px); }
.contact__info { flex: 1 1 400px; min-width: 0; }
.contact-cards { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--soft); color: var(--icon);
}
.contact-card__icon .icon { width: 19px; height: 19px; }
.contact-card__body { min-width: 0; }
.contact-card h3 { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.contact-card p { margin-top: 6px; font-size: 15.5px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-card a { color: var(--link); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.map-link .icon { width: 16px; height: 16px; }

.form {
  position: relative;
  flex: 1 1 520px; min-width: 0;
  padding: clamp(24px, 3.5vw, 44px); border-radius: 28px;
  background: var(--soft);
}
.form__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--ink); }
.form fieldset { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.form legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.topics { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.topic span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--field-line); border-radius: 999px;
  background: var(--field-bg); color: var(--ink);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.topic span:hover { border-color: var(--selected); }
.topic input:checked + span { border-color: var(--tab-on-bg); background: var(--tab-on-bg); color: var(--tab-on-text); }
.topic input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }

.form__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { margin-top: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid var(--field-line); border-radius: 12px;
  background: var(--field-bg); color: var(--ink); font-size: 16px;
}
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 12px center;
}
.field textarea { min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--selected); box-shadow: 0 0 0 3px rgba(30, 42, 120, 0.18); }
.field__hint { font-size: 13px; color: var(--muted); }
.form__hint { grid-column: 1 / -1; margin-top: -8px; }
.req { color: var(--accent-text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status--ok { color: var(--ok); }
.form__status--err { color: var(--err); }
.form__status .icon { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--footer-bg); color: var(--on-ink); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand { flex: 1 1 300px; min-width: 0; max-width: 380px; }
.footer__logo { display: inline-flex; padding: 10px 16px; border-radius: 16px; background: #FFFFFF; }
.footer__logo img { width: auto; height: 44px; }
.footer__brand p { margin-top: 18px; font-size: 15px; line-height: 1.6; }
.footer__social { margin-top: 18px; display: flex; gap: 10px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #FFFFFF;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.footer__nav {
  flex: 1 1 520px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px;
}
.footer__nav h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; }
.footer__nav ul { margin-top: 12px; }
.footer__nav a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--on-ink); font-size: 15px; text-decoration: none;
}
.footer__nav a:hover { color: #FFFFFF; text-decoration: underline; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13.5px; line-height: 1.6;
}
