/* SIAM Seed — redesign
   Direction: cool forest mist + harvest gold accent */

:root {
  --forest: #0b2f24;
  --forest-mid: #164a38;
  --leaf: #2a7a58;
  --leaf-bright: #3d9a6e;
  --mist: #eef4f0;
  --mist-deep: #d8e6de;
  --paper: #f7faf8;
  --ink: #121a16;
  --ink-soft: #3d4a43;
  --ink-muted: #6a7871;
  --gold: #b8923a;
  --gold-hover: #9a7828;
  --line: rgba(11, 47, 36, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(11, 47, 36, 0.12);
  --radius: 4px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", "Noto Sans Thai", system-ui, sans-serif;
  --font-sans: "Figtree", "Noto Sans Thai", system-ui, sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --container-wide: min(1280px, calc(100% - 2rem));
}

html[lang="th"] {
  line-height: 1.65;
}

html[lang="th"] .logo-name,
html[lang="th"] .hero-brand,
html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3 {
  letter-spacing: 0;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--leaf);
  border-bottom: 1.5px solid currentColor;
}

.text-link:hover {
  color: var(--forest);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header:not(.is-scrolled):not(.is-open) .logo-name,
.site-header:not(.is-scrolled):not(.is-open) .logo-sub,
.site-header:not(.is-scrolled):not(.is-open) .nav-list a {
  color: var(--white);
}

.site-header:not(.is-scrolled):not(.is-open) .logo-mark {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.site-header:not(.is-scrolled):not(.is-open) .nav-toggle span {
  background: var(--white);
}

.header-inner {
  width: var(--container-wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(11, 47, 36, 0.2);
}

.site-header.is-scrolled .lang-switch,
.site-header.is-open .lang-switch {
  border-color: var(--line);
  background: var(--mist);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.site-header.is-scrolled .lang-btn,
.site-header.is-open .lang-btn {
  color: var(--ink-muted);
}

.lang-btn.is-active {
  background: var(--gold);
  color: var(--forest);
}

.site-header.is-scrolled .lang-btn.is-active,
.site-header.is-open .lang-btn.is-active {
  background: var(--forest);
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-list a:hover {
  color: var(--forest);
  background: rgba(11, 47, 36, 0.05);
}

.nav-cta {
  margin-left: 0.35rem;
  background: var(--forest) !important;
  color: var(--white) !important;
  padding-inline: 1rem !important;
}

.nav-cta:hover {
  background: var(--forest-mid) !important;
  color: var(--white) !important;
}

.site-header:not(.is-scrolled):not(.is-open) .nav-cta {
  background: var(--gold) !important;
  color: var(--forest) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.6rem;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--forest);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 47, 36, 0.45) 0%, rgba(11, 47, 36, 0.15) 35%, rgba(11, 47, 36, 0.72) 100%),
    linear-gradient(90deg, rgba(11, 47, 36, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 7rem;
  max-width: 38rem;
  margin-left: max(1rem, calc((100% - min(1280px, calc(100% - 2rem))) / 2));
  animation: heroRise 1s var(--ease) 0.15s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: var(--white);
}

.hero-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head-row {
  display: grid;
  gap: 1rem;
  max-width: none;
}

@media (min-width: 768px) {
  .section-head-row {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
  }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* About */
.about {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(61, 154, 110, 0.12), transparent 55%),
    var(--paper);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
  }
}

.about-copy p {
  font-size: 1.08rem;
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.about-pills li {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest-mid);
  padding: 0.4rem 0.75rem;
  background: var(--mist);
  border: 1px solid var(--line);
}

/* Service — three pillars, light band, high contrast */
.service {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
  color: var(--ink);
}

.service .eyebrow {
  color: var(--gold-hover);
}

.service h2,
.service h3 {
  color: var(--forest);
}

.service .section-lead,
.service p {
  color: var(--ink-soft);
}

.service .section-head {
  max-width: 36rem;
}

.service-list {
  display: grid;
  gap: 1.25rem;
  border-top: 0;
}

@media (min-width: 800px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.25rem 0 0.5rem;
  border-top: 2px solid var(--gold);
  min-height: 100%;
  transition: transform 0.25s var(--ease);
}

.service-item:hover {
  transform: translateY(-2px);
}

@media (min-width: 700px) {
  .service-item {
    grid-template-columns: none;
    gap: 0.85rem;
    padding: 1.25rem 0.5rem 0.5rem 0;
    align-items: stretch;
  }
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 0.85rem;
}

.service-body h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.service-body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}

.service .text-link {
  color: var(--leaf);
  margin-top: 1rem;
  display: inline-block;
  font-weight: 600;
}

.service .text-link:hover {
  color: var(--forest);
}

/* Facts */
.facts {
  background:
    linear-gradient(135deg, var(--mist) 0%, var(--mist-deep) 100%);
  position: relative;
  overflow: hidden;
}

.facts::before {
  content: "";
  position: absolute;
  width: 40vw;
  height: 40vw;
  right: -10%;
  top: -20%;
  background: radial-gradient(circle, rgba(42, 122, 88, 0.18), transparent 65%);
  pointer-events: none;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 800px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.fact {
  text-align: left;
  padding: 0.5rem 0;
}

.fact-value {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* Products */
.products {
  background: var(--paper);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--leaf);
  color: var(--forest);
}

.filter-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

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

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1000px) {
  .catalog-layout .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.35s, transform 0.35s var(--ease);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}

.product.is-hidden {
  display: none;
}

.product-visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--mist-deep), var(--mist));
  margin-bottom: 0;
  position: relative;
}

.product-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: rgba(247, 250, 248, 0.94);
  color: var(--forest);
  border: 1px solid var(--line);
}

.product-code {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
  margin: 0.85rem 0 0.65rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--line);
}

.product-specs div {
  min-width: 0;
}

.product-specs dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.15rem;
}

.product-specs dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-mid);
  line-height: 1.3;
}

.featured-board .product-specs {
  display: none;
}

.featured-board .product-tag {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 47, 36, 0.08));
  pointer-events: none;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product:hover .product-visual img {
  transform: scale(1.06);
}

.product:hover {
  border-color: rgba(42, 122, 88, 0.35);
  box-shadow: 0 16px 40px rgba(11, 47, 36, 0.08);
}

.product-meta {
  padding: 1rem 1.1rem 1.2rem;
}

.product-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.3rem;
}

.product-meta h3.product-name,
.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--forest);
  letter-spacing: 0;
  line-height: 1.2;
}

.product-code {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product-tag {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.product-variety-count {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line, rgba(11, 47, 36, 0.1));
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--leaf);
}

/* Legacy denser catalogue chrome (unused on grid) */
.product-specs,
.product-badge,
.product-chips {
  display: none;
}

/* Regions */
.regions {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(61, 154, 110, 0.1), transparent 50%),
    var(--paper);
}

.regions-layout {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .regions-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.region-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.region-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.region-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.region-list span {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.regions-visual {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.regions-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.regions-visual figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(247, 250, 248, 0.94);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
}

.pin-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c43c3c;
  box-shadow: 0 0 0 4px rgba(196, 60, 60, 0.2);
  flex-shrink: 0;
}

.hq-block {
  display: grid;
  gap: 1.5rem;
  background: var(--forest);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .hq-block {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.hq-info .eyebrow {
  color: var(--gold);
}

.hq-info h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.hq-info p {
  color: rgba(255, 255, 255, 0.72);
}

.hq-address {
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hq-info .text-link {
  color: var(--gold);
}

.hq-info .text-link:hover {
  color: var(--white);
}

.map-frame {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.map-static {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}

.map-static img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.map-static-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  background: rgba(247, 250, 248, 0.95);
  color: var(--forest);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(11, 47, 36, 0.15);
}

.map-static::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -20px 0 0 -9px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #c43c3c;
  box-shadow: 0 0 0 6px rgba(196, 60, 60, 0.25);
  pointer-events: none;
}

/* Contact email */
.contact-email-block {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.contact-email-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--leaf);
}

.contact-details {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* SDGs */
.sdgs {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

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

@media (min-width: 600px) {
  .sdg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .sdg-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sdg-item-wide {
    grid-column: span 2;
  }
}

.sdg-item {
  padding: 1.75rem 1.5rem;
  border-left: 3px solid var(--leaf);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.sdg-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.sdg-code {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.sdg-item h3 {
  margin-bottom: 0.5rem;
}

.sdg-item p {
  font-size: 0.95rem;
}

/* Story timeline */
.story {
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}

.story .eyebrow {
  color: var(--gold);
}

.story h2 {
  color: var(--white);
}

.timeline-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}

.timeline {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 max(1.25rem, calc((100vw - 1120px) / 2));
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.15rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline-item {
  position: relative;
  width: min(260px, 70vw);
  padding: 0 1.5rem 0 0;
  flex-shrink: 0;
}

.timeline-item time {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.75rem;
  position: relative;
  padding-left: 0;
}

.timeline-item time::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + 0.55rem);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--forest);
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 220px;
}

.timeline-future time {
  color: var(--leaf-bright);
}

.timeline-future time::after {
  background: var(--leaf-bright);
}

/* Research */
.research {
  background: var(--paper);
}

.research-hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .research-hero {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.research-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.research-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 3.5rem;
}

@media (min-width: 700px) {
  .facility-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facility {
  background: var(--mist);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.facility-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.facility-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.resistant-head {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.resistant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 520px;
}

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

.resistant-table thead th {
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resistant-table tbody th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  width: 30%;
}

.resistant-table tbody tr:nth-child(even) {
  background: var(--mist);
}

.resistant-table tbody tr:last-child th,
.resistant-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(184, 146, 58, 0.12), transparent 50%),
    var(--mist);
}

.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-details {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.directions {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 500px) {
  .directions {
    grid-template-columns: 1fr 1fr;
  }
}

.directions h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.directions p {
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.15rem;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236a7871' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(42, 122, 88, 0.15);
  background-color: var(--white);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--leaf);
  min-height: 1.4em;
}

.form-note.is-error {
  color: #9b2c2c;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.logo-footer .logo-name {
  color: var(--white);
}

.logo-footer .logo-sub {
  color: rgba(255, 255, 255, 0.45);
}

.logo-footer .logo-mark {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--white);
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
  color: rgba(255, 255, 255, 0.55);
}

/* Cookie */
.cookie {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: heroRise 0.5s var(--ease);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  font-size: 0.9rem;
  margin: 0;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }

  .site-header.is-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    color: var(--forest) !important;
  }

  .nav-cta {
    margin: 0.5rem 0 0 !important;
    text-align: center;
    background: var(--forest) !important;
    color: var(--white) !important;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    width: var(--container);
    padding-bottom: 6rem;
  }

  .hero-brand {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    gap: 1.75rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .hero-scroll,
  .reveal,
  .cookie {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
