/* ==========================================================================
   COMPONENTS — reusable blocks used across pages
   ========================================================================== */

/* ---------- Home hero (matches the reference design) ---------- */
.hero { padding: 1.25rem 0 0; }
.hero__frame {
  position: relative;
  min-height: clamp(27.5rem, 68vh, 48rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--steel-top) 0%, var(--steel-mid) 38%, var(--steel-bottom) 100%);
  display: flex;
  align-items: center;
}
.hero__frame::before {
  /* the ceiling light strip seen in the reference */
  content: "";
  position: absolute;
  top: 0; left: 36%;
  width: 34%; height: 9%;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.85));
  clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
  opacity: 0.95;
}
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 66%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  animation: kenburns 18s var(--ease) both;
  will-change: transform;
}
.hero__content { position: relative; z-index: 2; padding: 3rem clamp(1.5rem, 7%, 6rem); max-width: 44rem; }
.hero__title { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__sub { margin-top: 1.625rem; font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 600; color: var(--ink); opacity: 0; animation: fadeUp 1s var(--ease) 0.45s forwards; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; opacity: 0; animation: fadeUp 1s var(--ease) 0.6s forwards; }

@media (max-width: 760px) {
  .hero__frame { align-items: flex-start; min-height: 37.5rem; }
  .hero__media { top: auto; width: 100%; height: 58%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hero__content { padding-top: 2.5rem; }
  .hero .btn--ghost { background: rgba(255, 255, 255, 0.75); }
  }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine-deep); }
.stat__icon svg { width: 1.25rem; height: 1.25rem; }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.stat__label { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 1.75rem 0 1.5rem; background: var(--coal); color: #fff; }
.marquee__head { display: flex; justify-content: center; margin-bottom: 1.125rem; }
.marquee__head .eyebrow { margin: 0; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; line-height: 1; letter-spacing: 0.14em; color: var(--pine); }
.marquee__head .eyebrow::after { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 1.75rem; padding-right: 1.75rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap; }
.marquee__item::after { content: ""; width: 0.625rem; height: 0.625rem; background: var(--pine); transform: rotate(45deg); }

/* ---------- Client logos marquee (Home) ---------- */
.clients { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.clients__title { text-align: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__logo {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  width: 12.5rem; height: 6rem;
  margin-right: 1.25rem;
  padding: 1.125rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
}
.clients__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .clients__logo { width: 9.375rem; height: 4.75rem; margin-right: 0.875rem; padding: 0.875rem 1.125rem; }
}

/* ---------- Generic card ---------- */
.card {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card:hover { transform: translateY(-0.375rem); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 3rem; height: 3rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine-deep); margin-bottom: 1.375rem; transition: background 0.4s, color 0.4s; }
.card:hover .card__icon { background: var(--pine); color: #fff; }
.card__icon svg { width: 1.375rem; height: 1.375rem; }
.card h3 { margin-bottom: 0.625rem; }
.card p { font-size: 0.9375rem; color: var(--muted); }
.card__tag { margin-top: 1.25rem; }
.card__num { position: absolute; top: 1.5rem; right: 1.625rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.section--dark .card { background: var(--coal-2); border-color: rgba(255, 255, 255, 0.08); }
.section--dark .card p { color: rgba(255, 255, 255, 0.6); }
.section--dark .card__icon { background: rgba(74, 145, 121, 0.18); color: #8fd1b8; }

/* ---------- Flow (horizontal process steps) ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }
.flow__step {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 62.4375rem;
  background: #fff;
  font-weight: 700; font-size: 0.875rem; color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.flow__step b { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--pine); font-weight: 600; }
.flow__step:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow__step:last-child { background: var(--pine); border-color: var(--pine); color: #fff; }
.flow__step:last-child b { color: #fff; }
.flow__arrow { color: var(--pine); width: 1.125rem; height: 1.125rem; }

/* ---------- Numbered steps (vertical workflow) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  display: flex; align-items: center; gap: 1.125rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  flex: none;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--pine-deep);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.steps li:hover::before { background: var(--pine); color: #fff; border-color: var(--pine); }

/* ---------- Check list ---------- */
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.625rem 0; color: var(--ink-soft); }
.checks li::before {
  content: "";
  flex: none;
  width: 1.25rem; height: 1.25rem; margin-top: 0.1875rem;
  border-radius: 50%;
  background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.section--dark .checks li { color: rgba(255, 255, 255, 0.75); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 38.75rem; }
.table th, .table td { text-align: left; padding: 1rem 1.375rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.table th { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.25s; }
.table tbody tr:hover { background: var(--pine-mist); }
.table td:first-child { font-weight: 800; color: var(--ink); }
.table td:last-child { color: var(--pine-deep); font-weight: 600; }

/* ---------- Showcase (featured product video on Home) ---------- */
.showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef0f0;
  box-shadow: var(--shadow-lg);
}
.showcase video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Portrait (9:16) video: keep the whole cabinet in view, capped to the screen height */
.showcase--portrait { width: fit-content; max-width: 100%; margin-inline: auto; }
.showcase--portrait video { width: auto; max-width: 100%; height: min(78vh, 42rem); aspect-ratio: 9 / 16; }
.showcase__label {
  position: absolute; left: 1rem; top: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.showcase__label .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #e0483e; animation: pulse-red 1.6s infinite; }

/* ---------- Product cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.filter {
  padding: 0.625rem 1.125rem; border-radius: 62.4375rem; border: 1px solid var(--line); background: #fff;
  font-size: 0.8125rem; font-weight: 700; cursor: pointer; color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.product-card:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card.is-hidden { display: none; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f1f3f3, #e2e6e7);
  overflow: hidden;
  display: grid; place-items: center;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__media .placeholder-icon { width: 34%; height: 34%; color: var(--pine); opacity: 0.85; stroke-width: 1.1; transition: transform 0.9s var(--ease); }
.product-card:hover .placeholder-icon { transform: scale(1.1) rotate(-4deg); }
.product-card__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,145,121,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(74,145,121,.08) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  pointer-events: none;
}
.product-card__media:has(img)::after { display: none; }
.product-card__flag { position: absolute; left: 0.875rem; top: 0.875rem; z-index: 1; }
.product-card__body { padding: 1.375rem 1.5rem 1.625rem; display: flex; flex-direction: column; gap: 0.625rem; flex: 1; }
.product-card__cat { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); }
.product-card__body p { font-size: 0.9062rem; color: var(--muted); }
.product-card__more { margin-top: auto; padding-top: 0.625rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.product-card__more svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.product-card:hover .product-card__more { color: var(--pine); }
.product-card:hover .product-card__more svg { transform: translateX(0.25rem); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 14, 12, 0.55); backdrop-filter: blur(0.25rem); opacity: 0; transition: opacity 0.4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(58.75rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(1.875rem) scale(0.98); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__media { background: linear-gradient(160deg, #f1f3f3, #e2e6e7); display: grid; place-items: center; min-height: 17.5rem; }
.modal__media img, .modal__media video { width: 100%; height: 100%; object-fit: cover; }
.modal__media video { max-height: 80vh; object-fit: contain; }
.modal__media .placeholder-icon { width: 40%; height: 40%; color: var(--pine); stroke-width: 1.1; }
.modal__body { padding: 2.25rem 2rem; }
.modal__body h3 { font-size: 1.8rem; font-weight: 900; margin: 0.625rem 0 0.875rem; }
.modal__body p { color: var(--muted); }
.modal__body .checks { margin: 1.25rem 0 1.75rem; }
.modal__close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 1.125rem; height: 1.125rem; }
@media (max-width: 760px) { .modal__panel { grid-template-columns: 1fr; } }

/* ---------- Spec list ---------- */
.specs { border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 11.25rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.specs dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.specs dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .specs div { grid-template-columns: 1fr; gap: 0.25rem; } }
/* Products page flagship details: compact rows and less space at the bottom */
.flagship-details { padding-bottom: clamp(3rem, 6vw, 5rem); }
.flagship-details .specs div { padding: 0.625rem 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 0.625rem; overflow: hidden; background: #f1f3f3; cursor: zoom-in; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery button:hover img { transform: scale(1.08); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--portrait button { aspect-ratio: 3 / 4; }
@media (max-width: 640px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(10, 14, 12, 0.9); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.35s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 90vh; border-radius: 0.625rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr)); gap: 1rem; }
.member { display: flex; gap: 0.875rem; align-items: center; padding: 1.125rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.3s, transform 0.4s var(--ease); }
.member:hover { border-color: var(--pine); transform: translateY(-0.1875rem); }
.member__avatar { flex: none; width: 2.875rem; height: 2.875rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 900; }
.member:hover .member__avatar { background: var(--pine); }
.member strong { display: block; color: var(--ink); font-size: 0.9375rem; }
.member span { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

/* ---------- Before / After ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.compare__box { padding: 1.375rem; border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center; }
.compare__box small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.compare__box strong { display: block; margin-top: 0.375rem; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); }
.compare__box--now { background: var(--pine); border-color: var(--pine); }
.compare__box--now small, .compare__box--now strong { color: #fff; }
.compare svg { width: 1.5rem; height: 1.5rem; color: var(--pine); }
@media (max-width: 480px) { .compare { grid-template-columns: 1fr; } .compare svg { margin-inline: auto; transform: rotate(90deg); } }

/* ---------- Illustrative bars (machine monitoring) ---------- */
.bars { display: grid; gap: 0.875rem; }
.bar__row { display: grid; grid-template-columns: 5.625rem 1fr; gap: 0.875rem; align-items: center; font-size: 0.8125rem; color: var(--muted); }
.bar { display: flex; height: 1.625rem; border-radius: 0.375rem; overflow: hidden; background: var(--bg-soft); }
.bar span { height: 100%; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.is-visible .bar span { transform: scaleX(1); }
.bar .bar--proc { background: var(--pine); }
.bar .bar--idle { background: #cfd6d3; transition-delay: 0.3s; }
.legend { display: flex; gap: 1.125rem; font-size: 0.8125rem; color: var(--muted); margin-top: 0.875rem; }
.legend i { display: inline-block; width: 0.625rem; height: 0.625rem; border-radius: 2px; margin-right: 0.375rem; vertical-align: middle; }

/* ---------- Panel (bordered feature block) ---------- */
.panel { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.panel__head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.375rem; }
.panel__head .card__icon { margin: 0; }
.panel__head small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); }
.panel--dark { background: var(--coal-2); border-color: rgba(255,255,255,.08); }

/* ---------- Roadmap (Today / Next) ---------- */
.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.roadmap__col { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); }
.roadmap__col--today { background: var(--pine); border-color: var(--pine); }
.roadmap__col h3 { color: #fff; margin: 0.5rem 0 1.125rem; }
.roadmap__col small { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.roadmap__col li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); color: #fff; font-weight: 600; display: flex; justify-content: space-between; }
.roadmap__col li::after { content: "→"; opacity: 0.5; }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }

.value-chain { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: #fff; text-align: center; }
.value-chain span:nth-child(even) { color: var(--pine); }
.value-chain span:last-child { color: #8fd1b8; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 7vw, 5rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { margin-top: 1rem; max-width: 40rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta::before {
  content: "";
  position: absolute;
  width: 32.5rem; height: 32.5rem;
  right: -10rem; top: -12.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 145, 121, 0.55), transparent 65%);
  animation: float 10s ease-in-out infinite;
}
.cta > * { position: relative; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--pine); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--bg-soft);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 8.75rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); background: #fff; box-shadow: 0 0 0 0.25rem rgba(74, 145, 121, 0.15); }
.form__note { font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.info-card { display: flex; gap: 1rem; padding: 1.375rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.info-card .card__icon { margin: 0; flex: none; }
.info-card small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info-card a, .info-card strong { display: block; margin-top: 0.25rem; font-weight: 700; color: var(--ink); word-break: break-word; }
.info-card a:hover { color: var(--pine); }

.map { border: 0; width: 100%; height: 11.25rem; border-radius: var(--radius-lg); filter: grayscale(0.6) contrast(1.05); }
.maps { display: grid; gap: 0.75rem; }
.map-card { margin: 0; }
.plant-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-weight: 700; color: var(--ink); }
.plant-list__hq { display: inline-block; margin-left: 0.25rem; padding: 0.125rem 0.5rem; border-radius: 999px; background: var(--pine-soft); color: var(--pine-deep); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: middle; }
.plant-list__address { display: block; margin: 0.25rem 0 0.5rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.map-card figcaption { margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 220;
  transform: translate(-50%, 140%);
  padding: 0.875rem 1.375rem; border-radius: 62.4375rem;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Image with caption overlay ---------- */
.figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.figure:hover img { transform: scale(1.04); }
.figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #fff; }
.figure figcaption small { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8fd1b8; }
.figure figcaption strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }

/* ---------- Careers (careers.html) ---------- */
.modal__panel--single { grid-template-columns: 1fr; width: min(48.75rem, 100%); }
.modal__panel--single .form { margin-top: 1.25rem; }
.field input[type="file"] { padding: 0.625rem; background: var(--bg-soft); cursor: pointer; }
.field-check { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.875rem; color: var(--ink-soft); }
.field-check input { margin-top: 0.25rem; accent-color: var(--pine); }
.apply-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.apply-done { display: grid; justify-items: start; gap: 0.375rem; }
.apply-done .card__icon { background: var(--pine); color: #fff; }
.apply-done .btn { margin-top: 1.125rem; }
.hp { position: absolute; left: -624.9375rem; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .modal__panel--single .form { grid-template-columns: 1fr; } }

/* ---------- Industries (industries.html) ---------- */
.industry-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.industry { scroll-margin-top: var(--header-h); }
.industry .figure { margin: 0; }
.industry .figure img { aspect-ratio: 14 / 9; }
@media (min-width: 901px) {
  .split--flip > :first-child { order: 2; }   /* alternate image left / right */
}
