/* ==========================================================
   Sekoman Group
   ========================================================== */

/* Lato, self-hosted (SIL Open Font License) so no visitor data goes to Google */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/lato-700-italic.woff2") format("woff2"); }

:root {
  --ink: #08100d;
  --text: #3a413e;
  --muted: #6b726f;
  --line: rgba(8, 16, 13, 0.18);
  --lime: #a6e00a;
  --lime-hover: #b8f01c;
  --lime-soft: #e0fd86;
  --cream: #fff9e7;
  --green-active: #3d6b00;
  --forest-shade: rgba(14, 34, 16, 0.6);
  --white: #ffffff;

  --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1312px;
  --gutter: 64px;
  --header-h: 112px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ Shared type ============ */
.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--ink);
  border-radius: 64px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.display {
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -2px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  margin: 0 auto 64px;
  max-width: 900px;
}
.section-head p { font-size: 18px; line-height: 1.4; max-width: 640px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link::after { content: "→"; font-weight: 400; }
.text-link:hover { gap: 16px; color: var(--green-active); border-color: var(--green-active); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 64px;
  padding: 12px 32px;
  font: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  font-weight: 700;
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.btn-outline:hover,
.btn-outline[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ============ Header ============ */
.site-header {
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* Over the home hero: translucent, darkens once scrolled */
.site-header--overlay {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  --header-line: rgba(255, 255, 255, 0.45);
  --header-text: var(--white);
  --header-active: var(--lime);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed full-screen mobile menu inside the header box. */
.site-header--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-header--overlay.is-scrolled {
  --header-h: 80px;
  --header-line: rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 13, 0.85);
  border-bottom-color: var(--header-line);
}

/* Inner pages: solid white bar */
.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  --header-line: var(--line);
  --header-text: var(--ink);
  --header-active: var(--green-active);
}
.site-header--solid.is-scrolled { --header-h: 80px; box-shadow: 0 8px 30px rgba(8, 16, 13, 0.06); }

.header-inner {
  display: grid;
  grid-template-columns: 284px 1fr 284px;
  height: 100%;
}

.header-logo,
.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.header-logo { border-right: 1px solid var(--header-line); }
.header-cta { border-left: 1px solid var(--header-line); }

.header-logo img { width: 112px; height: auto; }

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.header-nav a:not(.btn) {
  color: var(--header-text);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease), text-underline-offset 0.2s var(--ease);
}
.site-header--overlay .header-nav a:not(.btn) { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
.header-nav a:not(.btn):hover { color: var(--header-active); text-underline-offset: 7px; }
.header-nav a[aria-current="page"] { color: var(--header-active); text-decoration-thickness: 2px; }

.site-header--solid .btn-ghost { border-color: var(--ink); color: var(--ink); }
.site-header--solid .btn-ghost:hover,
.site-header--solid .btn-ghost[aria-current="page"] { background: var(--ink); color: var(--white); }

.header-nav-cta { display: none; }
.menu-toggle { display: none; }

/* ============ Home: hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #4b6b35 url("img/hero-poster.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 13, 0.5) 0%, rgba(8, 16, 13, 0.28) 45%, rgba(8, 16, 13, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 432px;
  gap: 48px;
  align-items: start;
  padding-top: calc(112px + 40px);
}

.hero h1 {
  color: var(--white);
  font-size: 64px;
  line-height: 1.3;
  letter-spacing: -2px;
  margin-top: 56px;
}

.hero-side p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 42px;
}

.hero-wordmark {
  position: absolute;
  left: 50%;
  bottom: 13vh;
  width: min(1048px, 78vw);
  transform: translateX(-50%);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

/* ============ Home: who we are ============ */
.about { padding: 188px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  gap: 96px;
  align-items: center;
}

.about-photo { border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }

.about-text {
  max-width: 620px;
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: -1px;
  color: var(--ink);
}

/* ============ Home: product list ============ */
.products { position: relative; padding: 40px 0 156px; }

.products-inner { max-width: calc(770px + var(--gutter) * 2); }

.products-head { margin-bottom: 96px; }
.products-head h2 { margin-bottom: 32px; }
.products-head p { font-size: 16px; line-height: 1.3; }

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Every row spans the full list width, so dividers and arrows line up.
   On hover the row turns into a lime block (same as the Webflow version). */
.product-list { gap: 24px; }

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 32px;
  padding: 32px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.3s var(--ease), border-radius 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-row h3 {
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.product-row p { font-size: 16px; line-height: 1.3; }

/* Arrow: drawn in CSS so it can rotate on hover */
.product-arrow {
  position: relative;
  width: 32px;
  height: 32px;
  transition: transform 0.3s var(--ease);
}
.product-arrow::before,
.product-arrow::after {
  content: "";
  position: absolute;
}
.product-arrow::before { /* shaft */
  width: 4px;
  height: 40px;
  left: 14px;
  top: -4px;
  background: var(--ink);
  transform: rotate(45deg);
  border-radius: 2px;
}
.product-arrow::after { /* head */
  width: 22px;
  height: 22px;
  right: 0;
  top: 0;
  border-top: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
}

.product-row:hover,
.product-row:focus-visible {
  background: var(--lime);
  border-color: transparent;
  border-radius: 8px;
  outline: none;
}
.product-row:hover .product-arrow,
.product-row:focus-visible .product-arrow { transform: rotate(45deg); }

/* ============ Home: how it works ============ */
/* Default (no JS / reduced motion): the slides simply stack vertically.
   With JS the section gets .is-horizontal: it pins to the screen and the
   track slides from right to left as the page scrolls. */
.process {
  position: relative;
  background: linear-gradient(var(--forest-shade), var(--forest-shade)), url("img/wheat.jpg") center / cover no-repeat fixed;
  color: var(--white);
}

.process-track {
  list-style: none;
  margin: 0;
  padding: 120px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.process-title {
  color: var(--white);
  font-size: 80px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -1px;
  white-space: nowrap;
}

.process-card {
  width: 480px;
  max-width: 100%;
  min-height: 480px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(8, 16, 13, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.process-num { font-size: 64px; line-height: 1.2; }
.process-card h3 {
  color: var(--white);
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.process-card p { font-size: 16px; line-height: 1.35; max-width: 400px; }

/* Horizontal mode (height of .process is set by script.js) */
.process.is-horizontal { background: var(--ink); }
.process.is-horizontal .process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(var(--forest-shade), var(--forest-shade)), url("img/wheat.jpg") center / cover no-repeat;
}
.process.is-horizontal .process-track {
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0;
  will-change: transform;
}
.process.is-horizontal .process-slide {
  flex: none;
  width: 75vw;
  display: flex;
  justify-content: center;
}
/* The title starts centred on screen */
.process.is-horizontal .process-slide--title { width: 100vw; }

/* ============ Inner page hero (label + heading + intro) ============ */
.page-hero { padding: 72px 0 96px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-inner { align-items: center; margin: 0 auto; }

.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* label, heading and intro share the content's left edge */
  gap: 28px;
}
.page-hero-inner > * { max-width: 980px; }
.page-hero h1 { font-size: 64px; line-height: 1.2; letter-spacing: -2px; }
.page-hero p { font-size: 18px; line-height: 1.45; max-width: 760px; }

/* ============ About page ============ */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 16px;
  align-items: end;
}
.about-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; }
.about-gallery .side { aspect-ratio: 3 / 4; }
.about-gallery .main { aspect-ratio: 4 / 5; }

.about-quote {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 24px 32px 32px;
  border-radius: var(--radius);
  background: rgba(8, 16, 13, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
}
.about-quote blockquote { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.about-quote cite { font-style: italic; font-weight: 700; }

.story { padding: 160px 0 140px; }
.story-lede {
  max-width: 820px;
  margin: 0 auto 96px;
  text-align: center;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 16px;
}

.story-photo { border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 420px;
  padding: 36px 56px 40px;
  border-radius: var(--radius);
  background: var(--lime-soft);
  color: var(--ink);
}
.feature-card--strong { background: var(--lime); }
.feature-card img { width: 56px; height: 56px; }
.feature-card h3 { font-size: 34px; letter-spacing: -1px; margin-bottom: 18px; }
.feature-card p { font-size: 16px; line-height: 1.4; color: var(--ink); }

.stats { display: flex; flex-direction: column; gap: 16px; }
.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  padding: 16px 24px 16px 24px;
  border-radius: var(--radius);
  background: var(--cream);
}
.stat-label { font-size: 16px; color: var(--text); }
.stat-value {
  color: var(--ink);
  font-size: 80px;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 3.2ch; /* every value sits in the same box, so 25+ / 12+ / 40+ align */
}

.work-with-us { padding: 0 16px 16px; }
.work-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 200px 24px;
  border-radius: var(--radius);
  background: linear-gradient(rgba(8, 16, 13, 0.32), rgba(8, 16, 13, 0.32)), url("img/wheat.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.work-banner .eyebrow { font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.work-banner h2 { color: var(--white); max-width: 1200px; }
.work-banner p { max-width: 460px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 16px; }

/* ============ Products page ============ */
.product-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  padding-bottom: 160px;
}

.product-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background: var(--ink);
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product-card:hover img { transform: scale(1.04); }

.product-card-caption {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  min-height: 150px; /* same caption height on every card */
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(8, 16, 13, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
}
.product-card-caption h2,
.product-card-caption h3 { color: var(--white); font-size: 34px; letter-spacing: -1px; margin-bottom: 14px; }
.product-card-caption p { font-weight: 700; line-height: 1.4; }
.product-card-caption::after {
  content: "→";
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  transition: transform 0.35s var(--ease);
}
.product-card:hover .product-card-caption::after { transform: translateX(6px); }

.steps-section { padding: 0 0 180px; }
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* numbers and titles start at the same height on every card */
  gap: 12px;
  min-height: 460px;
  padding: 96px 32px 48px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
  text-align: center;
}
.step-card .num { font-size: 64px; line-height: 1.1; }
.step-card h3 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; }
.step-card p { font-size: 16px; line-height: 1.4; max-width: 260px; }

/* ============ Product detail page ============ */
.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 0 56px;
}
.detail-head h1 { font-size: 72px; line-height: 1.15; letter-spacing: -2px; }

.detail-intro {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 104px;
  border-bottom: 1px solid var(--line);
}
.detail-intro .lede { font-size: 18px; line-height: 1.45; margin-bottom: 64px; }
.detail-intro h2 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.check-list li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateY(-1px);
}
.detail-photo { border-radius: var(--radius); overflow: hidden; }
.detail-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.detail-body {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  padding: 96px 0 140px;
}
.detail-body > h2 { font-size: 30px; letter-spacing: -0.5px; position: sticky; top: 120px; align-self: start; }
.prose { max-width: 680px; }
.prose p { font-size: 17px; line-height: 1.6; margin-bottom: 40px; }
.prose h3 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 14px; }
.prose strong { color: var(--ink); }

.more-products { padding: 0 0 160px; }
.more-products .section-head { margin-bottom: 48px; }
.more-products .product-cards { padding-bottom: 0; }

/* ============ Careers page ============ */
.why-join { padding: 0 0 160px; }
.why-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.why-card {
  padding: 56px 56px 64px;
  border-radius: var(--radius);
  background: var(--lime-soft);
  color: var(--ink);
}
.why-card h3 { font-size: 34px; font-style: italic; letter-spacing: -1px; margin-bottom: 24px; }
.why-card p { font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--text); }

.apply { padding: 0 0 180px; }
.apply-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.apply-card {
  padding: 40px 40px 48px;
  border-radius: var(--radius);
  background: var(--cream);
}
.apply-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 28px; }
.apply-card p { font-size: 20px; line-height: 1.45; color: var(--ink); }
.apply-card a { font-style: italic; }

/* ============ Contact page ============ */
.contact-section { padding: 0 0 160px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 640px;
  background: url("img/contact-desk.jpg") center / cover no-repeat;
}
.contact-card-inner {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 28px 32px 32px;
  border-radius: var(--radius);
  background: rgba(8, 16, 13, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
}
.contact-card-inner h2 { color: var(--white); font-size: 36px; letter-spacing: -1px; margin-bottom: 24px; }
.office + .office { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.office h3 { color: var(--white); font-size: 15px; font-style: italic; font-weight: 700; margin-bottom: 4px; }
.office p { line-height: 1.5; }
.office strong { display: block; }
.office a { text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 3px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; }
.contact-form .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 24px;
  border: 1px solid #b9bdbb;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form textarea { min-height: 220px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166, 224, 10, 0.45); }
.contact-form .btn { justify-self: start; margin-top: 24px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* ============ CTA band ============ */
.cta {
  position: relative;
  padding: 80px 0 120px;
  background:
    linear-gradient(180deg, rgba(8, 16, 13, 0.42) 0%, rgba(8, 16, 13, 0.12) 38%, rgba(8, 16, 13, 0) 55%, var(--ink) 100%),
    url("img/hills.jpg") center top / cover no-repeat;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta h2 {
  color: var(--white);
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(8, 16, 13, 0.18);
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 24px 0 40px;
}

/* Link columns size to their content, so no label wraps */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(280px, 340px);
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 96px;
}

.footer-brand img { width: 152px; margin-bottom: 40px; }
.footer-brand p { font-weight: 700; font-style: italic; max-width: 380px; line-height: 1.4; }

.footer-col h4 {
  color: var(--white);
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-col li { white-space: nowrap; }

.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.footer a:hover { color: var(--lime); text-decoration-color: var(--lime); }

.footer-contact ul a { text-decoration: none; }
.footer-contact address {
  font-style: normal;
  line-height: 1.4;
  margin-top: 20px;
}

.footer-bottom p {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ============ Privacy notes & legal page ============ */
.privacy-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.privacy-note a { color: var(--ink); text-underline-offset: 3px; }
.apply .privacy-note { margin-top: 24px; text-align: center; }

.legal { padding: 0 0 160px; }
.legal-prose { max-width: 760px; }
.legal-prose h2 { font-size: 26px; letter-spacing: -0.5px; margin: 48px 0 14px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin-bottom: 16px; }
.legal-prose ul { margin: 0 0 16px; padding-left: 20px; }
.legal-prose li { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.legal-prose a { color: var(--ink); text-underline-offset: 3px; }

.footer-bottom a { margin-left: 16px; }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .header-inner { grid-template-columns: 200px 1fr 220px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about-text { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr auto auto; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 3; grid-row: 2; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .detail-intro, .detail-body { grid-template-columns: 280px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --header-h: 72px; }
  .site-header.is-scrolled { --header-h: 64px; }

  .display,
  .page-hero h1 { font-size: 42px; letter-spacing: -1.5px; }

  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
  .header-logo { padding: 0; border: 0; }
  .header-logo img { width: 104px; }
  .header-cta { display: none; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--header-text);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .menu-toggle span {
    display: block;
    height: 1.5px;
    background: var(--header-text);
    transition: transform 0.3s var(--ease), background-color 0.3s;
  }
  .menu-toggle[aria-expanded="true"] { border-color: var(--white); }
  .menu-toggle[aria-expanded="true"] span { background: var(--white); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .header-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .header-nav.is-open { opacity: 1; visibility: visible; }
  .header-nav a:not(.btn) { color: var(--white); font-size: 28px; font-weight: 400; text-decoration: none; text-shadow: none !important; }
  .header-nav a[aria-current="page"] { color: var(--lime); }
  .header-nav-cta { display: inline-flex; margin-top: 12px; }
  .site-header--solid .header-nav .btn-ghost { border-color: var(--white); color: var(--white); }

  .hero-content { grid-template-columns: 1fr; gap: 24px; padding-top: calc(72px + 48px); }
  .hero h1 { font-size: 44px; letter-spacing: -1.5px; line-height: 1.15; margin-top: 0; }
  .hero-side p { margin-bottom: 28px; }
  .hero-wordmark { width: 88vw; bottom: 10vh; }

  .about { padding: 96px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text { font-size: 26px; letter-spacing: -0.5px; }

  .products { padding: 0 0 96px; }
  .products-head { margin-bottom: 56px; }
  .product-list { gap: 12px; }
  .product-row { grid-template-columns: minmax(0, 1fr) 22px; gap: 20px; padding: 24px 16px; }
  .product-row h3 { font-size: 30px; margin-bottom: 8px; }
  .product-arrow { width: 22px; height: 22px; }
  .product-arrow::before { width: 3px; height: 28px; left: 9.5px; top: -3px; }
  .product-arrow::after { width: 15px; height: 15px; border-width: 3px; }

  .process-title { font-size: 46px; }
  .process.is-horizontal .process-slide { width: 100vw; }
  .process-card { width: min(480px, calc(100vw - 48px)); min-height: 0; padding: 48px 24px; }
  .process-num { font-size: 52px; }
  .process-card h3 { font-size: 32px; }

  .page-hero { padding: 48px 0 56px; }
  .section-head { margin-bottom: 40px; }

  .about-gallery { grid-template-columns: 1fr 1fr; }
  .about-gallery .main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 5; }
  .about-quote { padding: 20px; }
  .story { padding: 96px 0; }
  .story-lede { font-size: 28px; margin-bottom: 56px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { min-height: 280px; }
  .feature-card { min-height: 0; padding: 32px 28px; }
  .stat-value { font-size: 56px; }
  .work-banner { padding: 120px 20px; }

  .product-cards { grid-template-columns: 1fr; gap: 24px; padding-bottom: 96px; }
  .product-card-caption { min-height: 0; }
  .product-card-caption h2, .product-card-caption h3 { font-size: 28px; }
  .step-cards { grid-template-columns: 1fr; }
  .step-card { min-height: 0; padding: 56px 28px; justify-content: center; }
  .steps-section { padding-bottom: 96px; }

  .detail-head { flex-direction: column; align-items: flex-start; padding: 48px 0 40px; }
  .detail-head h1 { font-size: 44px; }
  .detail-intro,
  .detail-body { grid-template-columns: 1fr; gap: 32px; }
  .detail-intro { padding-bottom: 64px; }
  .detail-intro .lede { margin-bottom: 40px; }
  .detail-body { padding: 64px 0 96px; }
  .detail-body > h2 { position: static; }
  .more-products { padding-bottom: 96px; }

  .why-cards,
  .apply-cards { grid-template-columns: 1fr; }
  .why-card { padding: 36px 28px; }
  .apply-card { padding: 32px 28px; }
  .why-join, .apply { padding-bottom: 96px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { min-height: 560px; }
  .contact-form { grid-template-columns: 1fr; }

  .cta { padding: 64px 0 80px; }
  .cta h2 { font-size: 40px; letter-spacing: -1px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 32px; padding-bottom: 56px; }
  .footer-brand,
  .footer-contact { grid-column: 1 / -1; grid-row: auto; }
}
