/* Hoofar Andish — homepage sections.
   Cutouts stand directly on the page: no cards, boxes or tinted containers around them.
   Colour appears only as full-width or half-width fields. */

.on-dark { color: var(--c-paper); }

/* scroll reveal (main.js adds .is-in); content stays visible without JS or with reduced motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* cutouts get a soft contact shadow that follows their alpha (never a box) */
.system-flask, .solutions-faucet, .show-img {
  filter: drop-shadow(0 22px 22px rgba(46, 42, 38, .16));
}

/* =========================================================
   Hero shell + intro
   Default: compact block directly under the hero.
   Wide pointer screens: the intro sits on the empty floor of the hero image, between the benches
   (x 36.5%–70% of the image, below 66% of its height). Hotspot limits: benching left of 35% and
   right of 70.8%, hood above 64.1%. main.js re-checks against the real hit areas and adds
   .intro--below if anything would touch.
   ========================================================= */
.hero-shell { position: relative; container-type: inline-size; }
.intro { padding: 22px 0 30px; }
.intro-inner {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "kick copy" "title actions";
  gap: 4px clamp(32px, 5vw, 80px);
  align-items: end;
}
.intro .kicker { grid-area: kick; margin-bottom: 0; }
.intro h1 { grid-area: title; font-size: clamp(21px, 1rem + .7vw, 28px); max-width: 24ch; }
.intro-copy { grid-area: copy; font-size: 14px; color: var(--c-ink-soft); max-width: 44ch; }
.intro-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; }

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hero-shell:not(.intro--below) .intro {
    --full: calc(100cqw / 1.7768);                                              /* image height at this width */
    --frame: min(var(--full), max(calc(var(--full) * .92), 440px, calc(100svh - 190px)));   /* = hero frame (190px = hero --reserve-h) */
    position: absolute;
    z-index: 3;
    left: 38%;                     /* centred between the benches: 38%–68.5% of the image */
    right: 31.5%;
    top: calc((var(--frame) - var(--full)) * .75 + var(--full) * .67);
    padding: 0;
    text-align: center;
  }
  .hero-shell:not(.intro--below) .intro-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    padding: 0;
  }
  /* only a very soft paper glow behind the text, no box */
  .hero-shell:not(.intro--below) .intro-inner::before {
    content: "";
    position: absolute;
    inset: -22px -34px;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(244, 242, 238, .8), rgba(244, 242, 238, .5) 60%, rgba(244, 242, 238, 0));
    pointer-events: none;
  }
  .hero-shell:not(.intro--below) .intro .kicker { margin-bottom: 2px; font-size: 11.5px; }
  .hero-shell:not(.intro--below) .intro .kicker::before { display: none; }
  .hero-shell:not(.intro--below) .intro h1 { font-size: clamp(22px, 1.3vw, 24px); line-height: 1.45; max-width: none; text-wrap: balance; }
  .hero-shell:not(.intro--below) .intro-copy { margin-top: 4px; font-size: 13px; max-width: none; white-space: nowrap; }
  .hero-shell:not(.intro--below) .intro-actions { margin-top: 10px; justify-content: center; }
  .hero-shell:not(.intro--below) .intro .btn { min-height: 34px; padding: 5px 14px; font-size: 13px; }
}
@media (max-width: 767px) {
  .intro-inner { grid-template-columns: 1fr; grid-template-areas: "kick" "title" "copy" "actions"; gap: 6px; }
  .intro-actions { margin-top: 8px; }
}

/* =========================================================
   Laboratory as a system — half-width orange field; the flask is cut by the bottom edge (22%)
   ========================================================= */
.system {
  --fh: clamp(640px, 58vw, 860px);            /* full flask height; 78% of it shows */
  --fw: calc(var(--fh) * .6475);
  position: relative;
  overflow: clip;
  min-height: calc(var(--fh) * .78 + 96px);   /* ≥ 96px clear above the flask's rim */
  padding-block: 64px;
}
.system-field {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 40%;
  background: var(--c-orange);
}
.system-flask {
  position: absolute;
  bottom: calc(var(--fh) * -.22);
  left: calc(40% - var(--fw) * .72);
  width: var(--fw);
  height: var(--fh);
  z-index: var(--z-object);
  pointer-events: none;
}
.system-inner { position: relative; z-index: var(--z-cross); }
.system-inner > * { max-width: min(100%, 560px); }
.system-inner h2 { max-width: 22ch; }
.system-inner .copy:first-of-type { margin-top: 12px; }

.system-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 30px;
}
.system-map h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.system-map h3::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--c-orange); }
.system-map p { margin-top: 2px; padding-inline-start: 13px; font-size: 12.5px; line-height: 1.85; color: var(--c-ink-soft); }

/* tablet and mobile: text first, then the flask rising out of a full-width orange band */
@media (max-width: 1023px) {
  .system { --fh: 82vw; min-height: 0; padding-bottom: calc(var(--fh) * .78 + 8px); }
  .system-inner > * { max-width: min(100%, 620px); }
  .system-field { inset: auto 0 0 0; width: auto; height: 36vw; }
  .system-flask { left: 50%; translate: -50% 0; }
}
@media (max-width: 767px) {
  .system { --fh: 118vw; padding-top: 44px; }
  .system-field { height: 50vw; }
  .system-map { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 419px) {
  .system-map { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   Solutions — desktop: a slim row of tabs above the panel, 2px amber underline on the active tab,
   the panel below with no card or fill. Tablet and mobile: accordion.
   ========================================================= */
.solutions {
  --surf: rgba(244, 242, 238, .08);
  position: relative;
  overflow: clip;
  background: var(--c-green);
  padding-block: var(--space-6);
}
.solutions-faucet {
  position: absolute;
  bottom: 0;
  left: 0;
  height: clamp(400px, 38vw, 560px);
  width: auto;
  translate: -6% 7%;
  pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .3));
}
.solutions-head { max-width: 560px; margin-bottom: 30px; }
.solutions-head .copy { margin-top: 8px; }

.sol {
  position: relative;
  z-index: var(--z-cross);
  width: min(100%, 940px);
  display: grid;
  grid-template-columns: repeat(5, auto) 1fr;
  align-items: end;
}
/* the hairline continues past the last tab */
.sol::before { content: ""; grid-row: 1; grid-column: 6; align-self: stretch; border-bottom: 1px solid var(--c-paper-line); }
.sol-head {
  grid-row: 1;
  margin: 0;
  padding-inline-end: 28px;
  border-bottom: 1px solid var(--c-paper-line);
  font-size: inherit;
  font-weight: inherit;
}
.sol-head:nth-of-type(1) { grid-column: 1; }
.sol-head:nth-of-type(2) { grid-column: 2; }
.sol-head:nth-of-type(3) { grid-column: 3; }
.sol-head:nth-of-type(4) { grid-column: 4; }
.sol-head:nth-of-type(5) { grid-column: 5; padding-inline-end: 0; }
.sol-tab {
  position: relative;
  display: block;
  padding: 8px 0 12px;
  border: 0;
  background: none;
  color: rgba(244, 242, 238, .7);
  font-size: 14.5px;
  font-weight: 400;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t-fast);
}
.sol-tab::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--c-amber);
  transform: scaleX(0);
  transition: transform var(--t-med) var(--ease);
}
.sol-tab:hover { color: var(--c-paper); }
.sol-tab[aria-expanded="true"] { color: var(--c-paper); }
.sol-tab[aria-expanded="true"]::after { transform: scaleX(1); }

.sol-panel {
  display: none;
  grid-row: 2;
  grid-column: 1 / -1;
  max-width: 640px;
  padding-top: 28px;
}
.sol-panel.is-open { display: block; animation: sol-in var(--t-med) var(--ease); }
.sol-title { font-size: var(--fs-h3); font-weight: 600; color: var(--c-paper); }
.sol-when { margin-top: 6px; color: var(--c-amber); font-size: 14.5px; }
.sol-panel .copy { margin-top: 8px; }
.sol-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
@keyframes sol-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html:not(.js) .sol { grid-template-columns: 1fr; }
html:not(.js) .sol::before { display: none; }
html:not(.js) .sol-head, html:not(.js) .sol-panel { grid-column: auto; grid-row: auto; }
html:not(.js) .sol-panel { display: block; margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  .sol-tab, .sol-tab::after { transition: none; }
  .sol-panel.is-open { animation: none; }
}

/* below 1200px (tabs + faucet no longer fit side by side): accordion, the open head and its panel joined */
@media (max-width: 1199px) {
  .solutions { padding-bottom: calc(var(--space-6) + 300px); }
  .solutions-faucet { height: 400px; }
  .sol { width: 100%; grid-template-columns: 1fr; }
  .sol::before { display: none; }
  .sol-head, .sol-panel { grid-column: auto !important; grid-row: auto !important; }
  .sol-head { padding-inline-end: 0; }
  .sol-head:has([aria-expanded="true"]) { border-bottom-color: transparent; }
  .sol-tab {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--r-md) var(--r-md) 0 0;
    white-space: normal;
  }
  .sol-tab::after { display: none; }
  .sol-tab[aria-expanded="true"] { background: var(--surf); }
  .sol-panel { max-width: none; padding: 2px 14px 18px; border-radius: 0 0 var(--r-md) var(--r-md); background: var(--surf); margin-bottom: 8px; }
  .sol-title { display: none; }
}
@media (max-width: 767px) {
  .solutions { padding-bottom: 76vw; }
  .solutions-faucet { height: 82vw; translate: -8% 6%; }
}

/* =========================================================
   Journey — the large black-and-white photograph, full-bleed, headline on the darkened top
   ========================================================= */
.journey { position: relative; background: var(--c-graphite); }
.journey-photo {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(420px, 56.25vw, 88vh);
  overflow: hidden;
}
.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 62%;
  filter: grayscale(1) contrast(1.05);
}
.journey-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 22, 20, .7) 0%, rgba(24, 22, 20, .25) 34%, rgba(24, 22, 20, 0) 52%),
    linear-gradient(270deg, rgba(24, 22, 20, .35) 0%, rgba(24, 22, 20, 0) 45%);
  pointer-events: none;
}
.journey-copy {
  position: absolute;
  inset-inline: 0;
  top: clamp(32px, 6vw, 88px);
  z-index: 2;
}
.journey-copy h2 { font-size: clamp(22px, 1.1rem + .7vw, 28px); font-weight: 500; line-height: 1.7; }
@media (max-width: 767px) {
  .journey-photo { height: 125vw; }
}

/* =========================================================
   Services + technical details — oxidized-green photo on one half, the sequence on the other.
   Neighbours: journey is graphite/B&W, products is paper; green keeps them apart.
   ========================================================= */
.services { position: relative; overflow: clip; }
.photo-tint { position: absolute; inset: 0; overflow: hidden; margin: 0; background: var(--tint); }
.photo-tint img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  mix-blend-mode: multiply;
}
.photo-tint--material { --tint: var(--tint-material); }
/* green is dark, so keep the photo's own light and take only the hue from the field */
.photo-tint--material img { mix-blend-mode: luminosity; opacity: .9; filter: grayscale(1) contrast(1.1) brightness(.95); }
/* a multiply layer of the same green makes the half read clearly green, apart from the B&W journey above */
.photo-tint--material::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--c-green), var(--c-graphite)); mix-blend-mode: multiply; opacity: .78; pointer-events: none; }

.services-photo { inset: 0 auto 0 0; width: 50%; }
.services-photo img { object-position: 22% 40%; }
.tech {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 64px clamp(24px, 4vw, 56px) clamp(28px, 3vw, 44px);
  background: linear-gradient(0deg, rgba(22, 34, 34, .92) 0%, rgba(22, 34, 34, .7) 55%, rgba(22, 34, 34, 0) 100%);
}
.tech .kicker { margin-bottom: 8px; }
.tech-list { display: grid; gap: 4px; }
.tech-list li { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: rgba(244, 242, 238, .9); }
.tech-list li::before { content: ""; flex: none; width: 10px; height: 1.5px; background: var(--c-amber); transform: translateY(-4px); }

.services-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 46vw, 720px);
  padding-block: var(--space-6);
}
.services-text { width: min(100%, 44%); }
.services-text .copy { margin-top: 10px; }

.steps { margin-top: 28px; }
.steps li { position: relative; padding: 0 24px 16px 0; }
.steps li::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline-start: 0;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--c-orange);
  border-radius: 50%;
  background: var(--c-paper);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: -6px;
  inset-inline-start: 5px;
  width: 1px;
  background: var(--c-line);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
/* the sequence fills in, from empty space to working lab */
.steps li:nth-child(2)::before { background: rgba(228, 87, 46, .18); }
.steps li:nth-child(3)::before { background: rgba(228, 87, 46, .36); }
.steps li:nth-child(4)::before { background: rgba(228, 87, 46, .56); }
.steps li:nth-child(5)::before { background: rgba(228, 87, 46, .78); }
.steps li:nth-child(6)::before { background: var(--c-orange); }
.steps h3 { font-size: 14.5px; font-weight: 600; line-height: 1.75; }
.steps p { font-size: 12.5px; line-height: 1.8; color: var(--c-ink-soft); }

@media (max-width: 767px) {
  .services-photo { position: relative; inset: auto; width: 100%; height: 108vw; }
  .tech { padding: 48px var(--gutter) 24px; }
  .services-inner { min-height: 0; padding-top: 40px; }
  .services-text { width: 100%; }
}

/* =========================================================
   Products — one showcase stage on white.
   Eight identical rows; only the active one is marked. The active name is repeated as a heading
   on the stage. The featured object stands on the section's bottom edge and is cut by it (7%)
   the same way for every category; a half-width field sits behind it only, its colour chosen
   against the object's dominant colour.
   ========================================================= */
.products { position: relative; overflow: clip; padding-top: var(--space-6); background: #FFFFFF; }
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}
.show-side { align-self: stretch; padding-bottom: var(--space-6); }
.products-head .copy { margin-top: 10px; }

.cat-list { margin-top: 26px; display: grid; gap: 0; }
.cat-tab {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 14px 0 0;
  border: 0;
  background: none;
  color: var(--c-ink-soft);
  font-size: 14.5px;
  font-weight: 400;
  text-align: start;
  cursor: pointer;
  transition: color var(--t-fast);
}
.cat-tab::before {                      /* amber marker, active row only */
  content: "";
  position: absolute;
  inset-block: 12px;
  inset-inline-start: 0;
  width: 2px;
  background: var(--c-amber);
  transform: scaleY(0);
  transition: transform var(--t-med) var(--ease);
}
.cat-num { font-size: 11.5px; color: rgba(46, 42, 38, .5); }
.cat-arrow { justify-self: end; font-size: 12px; color: rgba(46, 42, 38, .35); transition: transform var(--t-med) var(--ease), color var(--t-fast); }
.cat-tab:hover { color: var(--c-ink); }
.cat-tab:hover .cat-arrow { transform: translateX(-3px); }
.cat-tab[aria-selected="true"], .mega-row.is-current { color: var(--c-ink); }
.cat-tab[aria-selected="true"]::before, .mega-row.is-current::before { transform: scaleY(1); }
.cat-tab[aria-selected="true"] .cat-num, .mega-row.is-current .cat-num { color: var(--c-orange-deep); }
.cat-tab[aria-selected="true"] .cat-arrow, .mega-row.is-current .cat-arrow { color: var(--c-orange-deep); transform: translateX(-4px); }
.cat-desc {
  display: none;
  margin: -4px 0 8px;
  padding-inline-start: 44px;
  font-size: 12.5px;
  color: var(--c-ink-soft);
}
.cat-item.is-active .cat-desc { display: block; }
html:not(.js) .cat-item:first-child .cat-desc { display: block; }
.show-caption { display: none; }

.show-stage {
  --fc: var(--c-amber);
  position: relative;
  height: clamp(540px, 70vh, 780px);
}
.show-stage[data-field="green"] { --fc: var(--c-green); }
.show-field {
  position: absolute;
  top: 52%;
  bottom: -7%;
  left: -100vw;                   /* runs to the page edge; the section clips it */
  right: 50%;
  background: var(--fc);
  transition: background-color .6s var(--ease);
}
/* the active name repeated on the stage, top-left, clear of the objects */
.stage-label { position: absolute; top: 0; left: 0; z-index: 2; max-width: 34%; }
.stage-num { font-size: 12px; color: var(--c-orange-deep); }
.stage-name { margin-top: 2px; font-size: clamp(18px, 1rem + .3vw, 20px); font-weight: 600; line-height: 1.6; }
.stage-desc { margin-top: 4px; font-size: 13px; color: var(--c-ink-soft); }
.stage-link { display: inline-block; margin-top: 6px; }
.stage-label.is-swapping { animation: label-in .5s var(--ease); }
@keyframes label-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.show-objects { position: absolute; inset: 18% 2% -7% 3%; }   /* main.js sets top just below the stage heading */
.show-img {
  --flip: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 64% 100%;        /* leans toward the list, straddling the field's edge */
  opacity: 0;
  transform: translateX(28px) scaleX(var(--flip));
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
/* hood and hotplate are mirrored so they face the text side; the box is mirrored too, so mirror the position */
.show-img[data-cat="hood"], .show-img[data-cat="equipment"], .show-img[data-cat="benching"] { --flip: -1; object-position: 36% 100%; }
.show-img.is-active { opacity: 1; transform: translateX(0) scaleX(var(--flip)); }
html:not(.js) .show-img[data-cat="hood"] { opacity: 1; transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .show-img, .show-field, .cat-tab::before, .cat-arrow { transition: none; }
  .show-img, .show-img.is-active { transform: scaleX(var(--flip)); }
  .stage-label.is-swapping { animation: none; }
}

/* tablet and mobile: heading, object on top, categories as a horizontal scroller, caption below */
@media (max-width: 1023px) {
  .products { padding-bottom: var(--space-6); }
  .showcase { grid-template-columns: 1fr; gap: 0; }
  .show-side { display: contents; }
  .products-head { order: 1; }
  .show-stage { order: 2; height: clamp(320px, 92vw, 600px); margin-top: 20px; }
  .stage-label { display: none; }
  .show-objects { inset: 0 4% 0 4%; top: 0 !important; }   /* no stage heading here: ignore the desktop offset */
  .show-img, .show-img[data-cat="hood"], .show-img[data-cat="equipment"], .show-img[data-cat="benching"] { object-position: 50% 100%; }
  .show-field { top: 52%; bottom: 0; right: 42%; }
  .cat-list {
    order: 3;
    display: flex;
    gap: 8px;
    margin: 18px calc(-1 * var(--gutter)) 0;
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .cat-list::-webkit-scrollbar { display: none; }
  .cat-item { flex: none; scroll-snap-align: start; }
  .cat-tab {
    display: inline-flex;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--r-md);
    font-size: 13.5px;
    white-space: nowrap;
  }
  .cat-tab::before, .cat-arrow { display: none; }
  .cat-tab[aria-selected="true"] { border-color: var(--c-amber); box-shadow: inset 0 -2px 0 var(--c-amber); }
  .cat-desc { display: none !important; }
  .show-caption { order: 4; display: block; margin-top: 12px; font-size: 13px; color: var(--c-ink-soft); }
  .show-caption strong { color: var(--c-ink); font-weight: 600; }
}

/* =========================================================
   Industries — full-width photograph under an orange filter
   ========================================================= */
.photo-tint--industry { --tint: var(--tint-industry); }
.photo-tint--industry img { filter: grayscale(1) contrast(1.05) brightness(1.3); }

.industries {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 42vw, 620px);
  overflow: hidden;
  background: var(--c-orange);
}
.industries .photo-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(46, 42, 38, .64) 0%, rgba(46, 42, 38, .42) 50%, rgba(46, 42, 38, 0) 80%);
}
.industries-inner { position: relative; z-index: 2; padding-block: var(--space-6); }
.industries-inner > * { max-width: 600px; }
.industries-inner .copy { margin-top: 10px; color: rgba(244, 242, 238, .86); }
.industry-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-block: 26px 18px; }
.industry-list li { display: inline-flex; align-items: center; font-size: 15.5px; font-weight: 500; line-height: 1.8; }
.industry-list li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline: 14px;
  border-radius: 50%;
  background: var(--c-amber);
}
@media (max-width: 767px) {
  .industries { align-items: flex-end; min-height: 0; }
  .industries-inner { padding-top: 200px; }
  .industries .photo-tint::after { background: linear-gradient(0deg, rgba(46, 42, 38, .76) 0%, rgba(46, 42, 38, .52) 64%, rgba(46, 42, 38, .05) 100%); }
  .photo-tint--industry img { object-position: 30% 50%; }
  .industry-list { display: grid; gap: 2px; }
  .industry-list li:not(:last-child)::after { display: none; }
  .industry-list li::before { content: ""; width: 5px; height: 5px; margin-inline-end: 10px; border-radius: 50%; background: var(--c-amber); }
}

/* =========================================================
   Knowledge — quiet and typographic; a large pipette enters from the top-left,
   its droplet fully visible with clear space below
   ========================================================= */
.knowledge {
  --pw: clamp(280px, 28vw, 430px);
  position: relative;
  overflow: clip;
  min-height: calc(var(--pw) * 1.515 + 80px);
  padding-block: var(--space-6);
}
.knowledge-pipette {
  position: absolute;
  top: 0;
  left: max(0px, calc((100vw - var(--wrap)) / 2 - 48px));
  width: var(--pw);
  height: auto;
  z-index: var(--z-object);
  pointer-events: none;
}
.knowledge-inner > * { width: min(100%, 640px); }
.knowledge-head .copy { margin-top: 10px; }
.articles { margin-top: 30px; display: grid; gap: 18px; }
.article { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; }
.article-type {
  justify-self: start;
  min-width: 64px;
  padding: 0 7px;
  border: 1px solid rgba(184, 67, 31, .35);
  border-radius: var(--r-tag);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
  color: var(--c-orange-deep);
}
.article h3 { font-size: 15px; font-weight: 500; line-height: 1.8; }
.article .sample-tag { margin-inline-start: 6px; }
.article-action { font-size: 12px; color: rgba(46, 42, 38, .6); transition: color var(--t-fast); }
.article-action:hover { color: var(--c-orange-deep); }

@media (max-width: 1023px) {
  .knowledge-inner > * { width: min(100%, 60%); }
}
@media (max-width: 767px) {
  .knowledge { --pw: 40vw; min-height: 0; padding-top: 48px; }
  .knowledge-pipette { left: 0; }
  .knowledge-head { width: auto !important; padding-inline-end: 38vw; min-height: calc(var(--pw) * 1.515 - 20px); }
  .articles { width: 100% !important; }
  .article { grid-template-columns: 1fr auto; }
  .article h3 { grid-column: 1 / -1; grid-row: 2; }
}

/* =========================================================
   Start a project — closing section: full-bleed photograph under a deep graphite filter,
   the form on a semi-transparent panel aligned with the heading
   ========================================================= */
.start {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 112px);
  background: var(--c-graphite);
}
.photo-tint--start { --tint: var(--c-graphite); }
.photo-tint--start img { mix-blend-mode: luminosity; opacity: .95; filter: grayscale(1) contrast(1.08); }
.photo-tint--start::after { content: ""; position: absolute; inset: 0; background: rgba(46, 42, 38, .78); }

.start-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.start-text .copy { margin-top: 10px; color: rgba(244, 242, 238, .9); }
.start-notes { margin-top: 14px; display: grid; gap: 6px; }
.start-notes li { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; line-height: 1.85; color: rgba(244, 242, 238, .86); }
.start-notes li::before { content: ""; flex: none; width: 10px; height: 1.5px; background: var(--c-amber); transform: translateY(-4px); }
.start-contact { margin-top: 16px; font-size: 13px; color: rgba(244, 242, 238, .9); }
.start-contact a { color: var(--c-paper); font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-amber); text-underline-offset: 5px; }

.intake {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(244, 242, 238, .16);
  border-radius: var(--r-lg);
  background: rgba(30, 27, 24, .52);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  font-size: 13px;
}
.intake :focus-visible { outline-color: var(--c-amber); }
.intake-notice {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(244, 242, 238, .78);
}
.intake-notice::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; color: rgba(244, 242, 238, .86); }
.field input[type="text"], .field select, .field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 242, 238, .22);
  border-radius: var(--r-md);
  background: rgba(244, 242, 238, .06);
  color: var(--c-paper);
  font-size: 13.5px;
  line-height: 1.6;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  appearance: none;
  padding-inline-end: 36px;
  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 d='M1 1.5l5 5 5-5' fill='none' stroke='%23F4F2EE' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: left 14px center;
  background-size: 11px 7px;
  background-repeat: no-repeat;
}
.field select option { color: var(--c-graphite); background: var(--c-paper); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244, 242, 238, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, .22);
}
.field ::placeholder { color: rgba(244, 242, 238, .64); }

.more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(244, 242, 238, .82);
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-block; width: 12px; color: var(--c-amber); }
.more[open] summary::before { content: "−"; }
.more summary small { font-weight: 400; font-size: 11.5px; }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-top: 12px; }

.intake-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 4px; }
.file-link {
  font-size: 12.5px;
  color: rgba(244, 242, 238, .78);
  text-decoration: underline;
  text-decoration-color: rgba(244, 242, 238, .35);
  text-underline-offset: 5px;
  cursor: pointer;
}
.file-link:hover { color: var(--c-paper); }
.file-link:focus-within { outline: 2px solid var(--c-amber); outline-offset: 3px; border-radius: var(--r-sm); }
.intake-status { flex-basis: 100%; font-size: 12.5px; color: var(--c-amber); }
.intake-status:empty { display: none; }

@media (max-width: 1023px) {
  .start-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 479px) {
  .intake, .more-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile polish (≤767px only — desktop is final and untouched)
   ========================================================= */

/* finger "drag sideways" cue at the bottom of the hero */
.pan-cue { display: none; }
@media (max-width: 767px) {
  .pan-cue {
    position: absolute;
    top: calc(100cqw * 1.25 - 54px);        /* the mobile hero frame is 4:5 */
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(244, 242, 238, .92);
    box-shadow: 0 6px 16px -10px rgba(46, 42, 38, .5);
    direction: ltr;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity .4s var(--ease);
  }
  .pan-cue.is-gone { opacity: 0; }
  .pan-cue-arrow { width: 12px; height: 12px; fill: none; stroke: var(--c-graphite); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
  .pan-cue-track { position: relative; display: block; width: 58px; height: 26px; }
  .pan-cue-hand {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    fill: var(--c-graphite);
    transform-origin: 50% 85%;
    animation: pan-cue 2.2s ease-in-out infinite;
  }
  @keyframes pan-cue {
    0%   { transform: translateX(-16px) rotate(-8deg) scale(.92); }
    12%  { transform: translateX(-16px) rotate(0) scale(1); }
    50%  { transform: translateX(16px) rotate(0) scale(1); }
    62%  { transform: translateX(16px) rotate(8deg) scale(.92); }
    74%  { transform: translateX(16px) rotate(0) scale(1); }
    100% { transform: translateX(-16px) rotate(-8deg) scale(.92); }
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .pan-cue-hand { animation: none; transform: none; }
  .pan-cue { transition: none; }
}

@media (max-width: 767px) {
  /* intro under the hero on a confident green field, so it never merges with the paper section below */
  .intro { padding: 30px 0 34px; background: var(--c-green); color: var(--c-paper); }
  .intro .kicker { color: #EEB660; }      /* a lighter tint of the palette amber: AA on the green field */
  .intro h1 { color: var(--c-paper); font-size: 22px; line-height: 1.5; }
  .intro-copy { color: rgba(244, 242, 238, .84); font-size: 13.5px; }
  .intro .btn-ghost { border-color: rgba(244, 242, 238, .5); color: var(--c-paper); }
  .intro .btn-ghost:hover { border-color: var(--c-paper); }

  /* finer type */
  .kicker { font-size: 11.5px; }
  .btn { font-size: 13px; min-height: 40px; }
  .btn-sm { font-size: 12.5px; min-height: 36px; padding-inline: 14px; }
  .more-link { font-size: 12px; }
  .system-map h3 { font-size: 14px; }
  .system-map p, .steps p, .start-notes li { font-size: 12px; }
  .steps h3 { font-size: 14px; }
  .sol-tab { font-size: 14px; }
  .sol-when { font-size: 13px; }
  .journey-copy h2 { font-size: 19px; }
  .tech-list li { font-size: 12px; }
  .cat-tab { font-size: 13px; }
  .show-caption { font-size: 12px; }
  .industry-list li { font-size: 14px; }
  .article h3 { font-size: 14px; }
  .article-action { font-size: 11.5px; }
  .field label { font-size: 12px; }
  .field input[type="text"], .field select, .field textarea { font-size: 16px; min-height: 40px; padding-block: 6px; }   /* 16px: no iOS focus zoom */
  .intake-notice, .more summary, .file-link, .intake-status { font-size: 11.5px; }
  .start-contact { font-size: 12px; }
  .site-footer { font-size: 12.5px; }
  .footer-col h2 { font-size: 13px; }
}
