/* Generated by build.mjs from assets/css/src/ (01-foundation.css, 02-chrome.css, 03-home.css, 04-pages.css, 05-motion.css, 06-editorial.css, 07-controls.css). Edit those files, not this one. */

/* Mangalam — site styles.
 *
 * Palette is taken from the product and the logo: kraft board, white-top
 * liner, the graphite and steel of the chrome "M", and the logo's lime used
 * only on dark grounds (it fails contrast on light ones; --leaf is its
 * text-safe partner).
 */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --liner: #f3f4f0;
  --paper: #ffffff;
  --kraft: #c8975c;
  --kraft-pale: #e3cba6;
  --kraft-deep: #8a5a2b;
  --graphite: #2e3236;
  --graphite-2: #3a3f44;
  --steel: #5c6166;
  --rule: #d6d8d1;
  --lime: #6ac200;
  --leaf: #356b00;
  --leaf-dark: #284f00;

  --font: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.5rem + 4vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius-panel: 24px;
  --radius-photo: 16px;
  --radius-control: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------- base -- */

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

html {
  background: var(--graphite);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--liner);
  color: var(--graphite);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: 'tnum' 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

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

a {
  color: var(--leaf);
  text-underline-offset: 0.2em;
}

address {
  font-style: normal;
}

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

/* The focus ring itself is defined once, in 07-controls.css. */

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--graphite);
  color: var(--paper);
  font-weight: 700;
  border-radius: var(--radius-control);
}

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

/* ---------------------------------------------------------- buttons -- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  font: 700 0.95rem/1.2 var(--font);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}

.button:active {
  transform: scale(0.97);
}

.button svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 260ms var(--ease);
}

/* Icons answer the hover. */
.button:hover svg {
  transform: rotate(-12deg) scale(1.08);
}

.button--leaf {
  background: var(--leaf);
  color: var(--paper);
}

.button--leaf:hover {
  background: var(--leaf-dark);
}

.button--ghost {
  border-color: var(--graphite);
  color: var(--graphite);
  background: transparent;
}

.button--ghost:hover {
  background: var(--graphite);
  color: var(--paper);
}

.button--graphite {
  background: var(--graphite);
  color: var(--paper);
}

.button--graphite:hover {
  background: var(--graphite-2);
}

.button--outline-dark {
  border-color: var(--graphite);
  color: var(--graphite);
}

.button--outline-dark:hover {
  background: rgba(46, 50, 54, 0.1);
}

/* The same stroke bends from a straight rule into a running flute profile. */
.text-link {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-bottom: 5px;
  font-weight: 700;
  color: var(--leaf);
  text-decoration: none;
  transition: color 230ms var(--ease);
}
.text-link:is(:hover, :focus-visible) { color: var(--leaf-dark); }
.text-link--light { color: var(--lime); }
.text-link--light:is(:hover, :focus-visible) { color: var(--paper); }

.text-link__underline {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 8px;
  overflow: hidden;
  pointer-events: none;
}
.text-link__ink { width: calc(100% + 16px); }

@media (prefers-reduced-motion: no-preference) {
  .text-link__stroke {
    d: path("M0 4 Q4 4 8 4 T16 4");
    transition: d 280ms var(--ease);
  }
  .text-link:is(:hover, :focus-visible) .text-link__stroke {
    d: path("M0 4 Q4 0 8 4 T16 4");
  }
  .text-link__ink {
    animation: wave-run 700ms linear infinite paused;
  }
  .text-link:is(:hover, :focus-visible) .text-link__ink { animation-play-state: running; }
}

/* ------------------------------------------------------------ layout -- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem 4rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__title {
  font-size: var(--step-3);
  font-weight: 800;
}

.section__intro {
  max-width: 34rem;
  color: var(--steel);
  margin: 0;
}

@media (max-width: 1100px) {
  .section__head {
    align-items: start;
  }
}

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

/* ------------------------------------------------- photograph slots -- */

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-photo);
  background: var(--kraft);
}

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

/* Placeholder: kraft board seen edge-on, with the flutes as ridges. */
.photo--pending {
  background:
    repeating-linear-gradient(90deg, rgba(90, 58, 26, 0.09) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #d2a46b, var(--kraft) 55%, #b9884f);
}

.photo__flutes {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 28%;
  transform: translateY(-50%);
  fill: none;
  stroke: rgba(90, 58, 26, 0.35);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.photo__illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(74, 47, 20, 0.5);
  stroke-width: 3;
  stroke-linejoin: round;
}

.photo__illustration .photo__sign {
  fill: var(--graphite);
  stroke: none;
}

.photo__illustration .photo__sign-text {
  fill: var(--lime);
  stroke: none;
  font: 800 32px var(--font);
  letter-spacing: 0.04em;
}

.photo__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-control);
  background: rgba(243, 244, 240, 0.92);
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

/* -------------------------------------------------------- quote band -- */

.quote-band {
  background: var(--kraft);
  background-image: repeating-linear-gradient(90deg, rgba(90, 58, 26, 0.07) 0 2px, transparent 2px 11px);
}

.quote-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 2rem 4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.quote-band__title {
  font-size: var(--step-3);
  font-weight: 800;
  color: #1f2326;
}

.quote-band__text {
  max-width: 36rem;
  margin-top: 0.85rem;
  color: #1f2326;
}

.quote-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .quote-band__inner {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------- page intro -- */

.page-intro {
  position: relative;
  background: var(--graphite);
  color: var(--liner);
  overflow: hidden;
}

.page-intro__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) clamp(4.5rem, 8vw, 7rem);
}

.page-intro__title {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.page-intro__lede {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: #d4d7d1;
}

.page-intro__flutes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  width: 100%;
  height: 26px;
  fill: none;
  stroke: var(--kraft);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

/* ---------------------------------------------------------- masthead -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 244, 240, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.lockup__mark {
  width: auto;
  height: 46px;
}

.lockup__text {
  display: grid;
  line-height: 1.05;
}

.lockup__primary {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lockup__secondary {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--steel);
}

.lockup--light {
  color: var(--paper);
}

.lockup--light .lockup__secondary {
  color: #c4c8c2;
}

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

.nav__list {
  display: flex;
  gap: 1.6rem;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--graphite);
  text-decoration: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: var(--kraft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav__link[aria-current='page']::after {
  background: var(--leaf);
}

.nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  box-shadow: var(--shadow-control);
  font: 700 0.85rem/1 var(--font);
  cursor: pointer;
}

.nav-toggle[aria-expanded='true'] {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

.nav-toggle__icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon > span {
  content: '';
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle__icon::before { transform: translateY(-5px); }
.nav-toggle__icon::after { transform: translateY(5px); }

.nav-toggle[aria-expanded='true'] .nav-toggle__icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon::after { transform: rotate(-45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon > span { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle { transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
  .nav-toggle__icon::before,
  .nav-toggle__icon::after { transition: transform 240ms var(--ease); }
  .nav-toggle__icon > span { transition: opacity 160ms var(--ease); }
}

@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .masthead__inner {
    gap: 0.75rem;
  }

  .lockup__mark {
    height: 40px;
  }

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

  .js .nav {
    position: absolute;
    inset-block-start: calc(100% + 0.55rem);
    inset-inline-end: var(--gutter);
    inline-size: min(25rem, calc(100% - 2 * var(--gutter)));
    max-height: calc(100vh - var(--masthead-h, 80px) - 1.25rem);
    max-height: calc(100dvh - var(--masthead-h, 80px) - 1.25rem);
    overflow: auto;
    padding: 0.75rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-photo);
    background: var(--paper);
    box-shadow: var(--shadow-panel);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
  }

  .js .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .js .nav.can-animate {
      transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 0s linear 240ms;
    }

    .js .nav.can-animate.is-open {
      transition-delay: 0s;
    }
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-control);
    font-size: 1rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current='page'],
  .nav__link:hover {
    background: var(--liner);
    color: var(--leaf);
  }

  .no-js .nav {
    flex-basis: 100%;
  }

  .no-js .masthead__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .nav-toggle__label { display: none; }
}

/* Page changes cross-fade; the masthead holds still between pages. */
@view-transition {
  navigation: auto;
}

.masthead {
  view-transition-name: masthead;
  transition: box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}

.masthead__inner,
.lockup__mark {
  transition: padding 240ms var(--ease), height 240ms var(--ease);
}

.masthead.is-scrolled {
  box-shadow: 0 12px 28px -22px rgba(46, 50, 54, 0.55);
}

.masthead.is-scrolled .masthead__inner {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.masthead.is-scrolled .lockup__mark {
  height: 38px;
}

/* ------------------------------------------------------------ footer -- */

.footer {
  background: var(--graphite);
  color: #d4d7d1;
  border-top: 6px solid var(--kraft);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
}

.footer__tagline {
  margin-top: 1.25rem;
  color: var(--lime);
  font-weight: 600;
}

.footer__heading {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0;
}

.footer__list li + li {
  margin-top: 0.5rem;
}

.footer a {
  color: #d4d7d1;
  text-decoration: none;
}

.footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer {
  --focus-ring: var(--lime);
}

.footer__address a,
.footer__list--contact a {
  display: inline-flex;
  gap: 0.6rem;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.footer__address svg,
.footer__list--contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.25rem;
  color: var(--kraft);
}

.footer__address {
  margin-bottom: 1rem;
  line-height: 1.55;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  background: linear-gradient(rgba(243, 244, 240, 0.14), rgba(243, 244, 240, 0.14)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: var(--step--1);
  color: #a9ada7;
}

.footer__base p {
  margin: 0;
}

@media (max-width: 960px) {
  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* -------------------------------------------------------------- hero -- */

/* One continuous graphite field: message on the left, the board sample bleeding off the right. */
.hero {
  background: var(--graphite);
  color: var(--liner);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-left: max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter));
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.hero__title {
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--liner);
}

.hero__lede {
  max-width: 30rem;
  margin: 1.4rem 0 2rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: #c9ccc6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

/* The call action is a compact link beside the primary button, not a second button. */
.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--liner);
  text-decoration: underline;
  text-decoration-color: rgba(243, 244, 240, 0.4);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 160ms var(--ease);
}

.hero__call:hover {
  text-decoration-color: var(--lime);
}

.hero__call svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--lime);
}

.hero {
  --focus-ring: var(--lime);
}

/* Hero copy arrives first; the board settles in right behind it. */
.hero__copy > * {
  animation: copy-in 700ms var(--ease) backwards;
}

.hero__copy > :nth-child(2) {
  animation-delay: 90ms;
}

.hero__copy > :nth-child(3) {
  animation-delay: 180ms;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    margin-left: 0;
    padding: 2rem 0 1.5rem var(--gutter);
  }

  .hero__copy {
    padding-right: var(--gutter);
  }

  .hero__lede {
    margin: 1rem 0 1.5rem;
  }
}

/* -------------------------------------------- corrugated board figure -- */

.board {
  position: relative;
  margin: 0;
}

.no-js .board__controls {
  display: none;
}

/* The grade selector sits on a narrow strip under the sample. */
.board__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
  padding-right: var(--gutter);
}

.ply-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: calc(var(--radius-control) + 4px);
  background: rgba(243, 244, 240, 0.08);
}

.ply-switch__option {
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--liner);
  font: 700 0.875rem var(--font);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}

.ply-switch__option:hover {
  background: rgba(243, 244, 240, 0.12);
}

.ply-switch__option:active {
  transform: scale(0.96);
}

.ply-switch__option[aria-pressed='true'] {
  background: var(--lime);
  color: var(--graphite);
}

.board__toggle {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(243, 244, 240, 0.3);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--liner);
  font: 600 0.8rem var(--font);
  cursor: pointer;
  transition: border-color 160ms var(--ease);
}

.board__toggle:hover {
  border-color: var(--lime);
}

.board__note {
  max-width: 32rem;
  min-height: 3.2em;
  margin: 0.75rem 0 0;
  padding-right: var(--gutter);
  font-size: var(--step--1);
  color: #c4c8c2;
}

/* ------------------------------------------------------------- range -- */

.range__list {
  border-top: 2px solid var(--graphite);
}

.range__link {
  display: grid;
  grid-template-columns: 64px minmax(0, 18rem) minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2.5rem;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms var(--ease);
}

.range__link:hover {
  background: var(--paper);
}

.range__pictogram {
  width: 56px;
  height: 56px;
  color: var(--kraft-deep);
  transition: color 180ms var(--ease);
}

.range__link:hover .range__pictogram {
  color: var(--leaf);
}

.range__name {
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.25;
}

.range__summary {
  color: var(--steel);
  max-width: 40rem;
}

.range__more {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .range__link {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 1.25rem 0.25rem;
  }

  .range__pictogram {
    width: 44px;
    height: 44px;
    grid-row: span 2;
    align-self: start;
  }
}

/* Product rows: the pictogram redraws itself and the name steps forward. */
.range__name {
  transition: transform 260ms var(--ease);
}

.range__link:hover .range__name {
  transform: translateX(6px);
}

.range__link:hover .range__pictogram > :not([stroke-dasharray]),
.product-index a:hover .product-index__pictogram > :not([stroke-dasharray]) {
  animation: draw 900ms var(--ease) both;
}

/* ------------------------------------------------------ folding box -- */

.fold {
  position: relative;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.fold__sticky {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
}

/* Reserve the scroll space before the lazy 3D module starts loading. */
@media (prefers-reduced-motion: no-preference) {
  .js .fold:not(.is-static) {
    height: 235vh;
    height: 235svh;
  }

  .js .fold:not(.is-static) .fold__sticky {
    position: sticky;
    top: var(--masthead-h, 64px);
    height: calc(100vh - var(--masthead-h, 64px));
    height: calc(100svh - var(--masthead-h, 64px));
  }
}

.fold__intro {
  margin: 1rem 0 2rem;
  color: var(--steel);
  max-width: 30rem;
}

.fold__step {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}

/* Only the running 3D box marks progress, and only on the number and title:
   the explanation keeps full contrast whether its step is current or not. */
.fold.is-3d .fold__step:not(.is-active) .fold__number {
  border-color: #b9bcb4;
  color: var(--steel);
}

.fold.is-3d .fold__step:not(.is-active) .fold__name {
  color: var(--steel);
}

.fold.is-3d .fold__name {
  transition: color 300ms var(--ease);
}

.fold__number {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background-color 360ms var(--ease), color 360ms var(--ease);
}

.fold.is-3d .fold__step.is-active .fold__number {
  background: var(--graphite);
  color: var(--lime);
}

.fold__name {
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 0.45rem;
}

.fold__text {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--steel);
}

.fold__stage {
  position: relative;
  height: min(66vh, 600px);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(ellipse at 50% 85%, rgba(200, 151, 92, 0.22), transparent 60%),
    var(--liner);
}

.fold__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}

.fold.is-dragging .fold__canvas {
  cursor: grabbing;
}

.fold.is-3d .fold__canvas {
  opacity: 1;
}

.fold__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--kraft-deep);
  transition: opacity 400ms var(--ease);
}

.fold__pictogram {
  width: min(45%, 260px);
  height: auto;
}

.js .fold:not(.is-static) .fold__fallback {
  visibility: hidden;
}

.fold__hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(46, 50, 54, 0.82);
  color: var(--liner);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}

.fold.is-3d .fold__hint {
  opacity: 1;
}

.fold.is-dragging .fold__hint {
  opacity: 0;
}

@media (max-width: 860px) {
  .fold__sticky {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  /* The copy and its steps join the section's own grid, so the box can sit
     between them: heading, box, steps. */
  .fold__copy {
    display: contents;
  }

  .fold__copy .fold__steps {
    order: 1;
  }

  .fold.is-3d .fold__copy .fold__skip {
    justify-self: start;
    margin: 0;
  }

  .fold__stage {
    height: 42vh;
    height: 42svh;
  }

  .fold__copy .section__title {
    font-size: var(--step-2);
  }

  .fold__intro {
    margin: 0;
    font-size: 0.95rem;
  }

  /* Only the current step's detail fits beside the box on a phone. */
  .fold.is-3d .fold__text {
    display: none;
  }

  .fold.is-3d .fold__step {
    padding: 0.5rem 0;
  }

  .fold.is-3d .fold__step.is-active:not(:has(~ .is-active)) .fold__text {
    display: block;
  }
}

/* Small screens: the pinned section has to fit one screen, so the steps become a
   row of numbers with the current step's text below. The texts share one grid
   cell, which keeps its height steady, and the box takes the space left over. */
@media (prefers-reduced-motion: no-preference) and (max-width: 600px),
  (prefers-reduced-motion: no-preference) and (max-width: 860px) and (max-height: 900px) {
  .fold.is-3d .fold__sticky {
    grid-template-rows: auto auto auto minmax(120px, 1fr) auto;
    align-content: stretch;
    gap: 0.7rem;
    padding-block: clamp(1rem, 2.6svh, 1.25rem);
  }

  .fold.is-3d .fold__stage {
    align-self: stretch;
    height: auto;
  }

  .fold.is-3d .fold__steps {
    --fold-step-size: 2.1rem;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) var(--fold-step-size);
    row-gap: 0.75rem;
    margin-top: 0.375rem;
  }

  .fold.is-3d .fold__steps::before {
    content: '';
    position: absolute;
    inset-inline: calc(var(--fold-step-size) / 2);
    top: calc(var(--fold-step-size) / 2 - 1px);
    height: 2px;
    background:
      linear-gradient(var(--leaf), var(--leaf)) left / var(--fold-track-progress, 0%) 100% no-repeat,
      repeating-linear-gradient(to right, var(--kraft) 0 6px, transparent 6px 12px);
    transition: background-size 360ms var(--ease);
  }

  .fold.is-3d .fold__steps:has(.fold__step:nth-child(2).is-active) { --fold-track-progress: 33.333%; }
  .fold.is-3d .fold__steps:has(.fold__step:nth-child(3).is-active) { --fold-track-progress: 66.667%; }
  .fold.is-3d .fold__steps:has(.fold__step:nth-child(4).is-active) { --fold-track-progress: 100%; }

  .fold.is-3d .fold__step {
    display: contents;
  }

  .fold.is-3d .fold__number {
    position: relative;
    grid-row: 1;
    width: var(--fold-step-size);
    height: var(--fold-step-size);
    background: var(--paper);
    box-shadow: 0 0 0 0.25rem var(--paper);
  }

  .fold.is-3d .fold__step > div {
    grid-area: 2 / 1 / auto / -1;
    opacity: 0;
    transition: opacity 240ms var(--ease);
  }

  .fold.is-3d .fold__step.is-active:not(:has(~ .is-active)) > div,
  .fold.is-3d .fold__steps:not(:has(.is-active)) .fold__step:first-child > div {
    opacity: 1;
  }

  .fold.is-3d .fold__name {
    padding-top: 0;
  }

  .fold.is-3d .fold__step .fold__text {
    display: block;
  }
}

/* ------------------------------------------------------------- steps -- */

.steps__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.steps__intro .section__intro {
  margin: 1rem 0 2rem;
}

.steps__photo {
  aspect-ratio: 4 / 3;
}

.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.steps__item:last-child {
  padding-bottom: 0;
}

/* The line joining the numbers: this content really is a sequence. */
.steps__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: calc(1.625rem - 1px);
  top: 3.5rem;
  bottom: 0.25rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--kraft) 0 6px, transparent 6px 12px);
}

.steps__number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.steps__name {
  font-size: var(--step-1);
  font-weight: 700;
  padding-top: 0.7rem;
  margin-bottom: 0.4rem;
}

.steps__text {
  color: var(--steel);
  max-width: 34rem;
}

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

/* Process: each step fills in as it scrolls into view. */
.js .steps__number {
  transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}

.js .steps__item:not(:last-child)::before {
  background:
    linear-gradient(var(--leaf), var(--leaf)) 0 0 / 100% var(--fill, 0%) no-repeat,
    repeating-linear-gradient(to bottom, var(--kraft) 0 6px, transparent 6px 12px);
  transition: --fill 600ms var(--ease);
}

.js .steps__item.is-reached .steps__number {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--lime);
}

.js .steps__item.is-reached::before {
  --fill: 100%;
}

@property --fill {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

/* ----------------------------------------------------------- sectors -- */

.sectors {
  max-width: none;
  background: var(--kraft-pale);
}

.sectors > * {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
}

.sectors .section__intro {
  color: #4d4a44;
}

.sectors__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 2rem;
}

.sectors__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 2px solid var(--graphite);
}

.sectors__name {
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.25;
}

.sectors__note {
  font-size: var(--step--1);
  color: #4d4a44;
}

@media (max-width: 960px) {
  .sectors__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Industries: the rule above each one picks up the brand green. */
.sectors__item {
  transition: border-color 200ms var(--ease);
}

.sectors__item:hover {
  border-top-color: var(--leaf);
}

/* ---------------------------------------------------------- promises -- */

.promises {
  max-width: none;
  background: var(--graphite);
  color: var(--liner);
}

.promises > * {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
}

.promises .section__title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.promises__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.promises__name {
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.promises__list p {
  color: #d4d7d1;
  font-size: 0.98rem;
}

.promises__more {
  margin-top: 2.5rem;
}

.promises {
  --focus-ring: var(--lime);
}

@media (max-width: 960px) {
  .promises__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------------------------------------------------------- products -- */

.page-products {
  --catalogue-width: calc(min(100%, var(--max)) - 2 * var(--gutter));
  --catalogue-gap: clamp(1.15rem, 2.6vw, 2.25rem);
}

/* The inset index sticks under the masthead as visitors browse the catalogue. */
.product-index {
  position: sticky;
  top: calc(var(--masthead-h, 64px) + .55rem);
  z-index: 10;
  width: var(--catalogue-width);
  margin-inline: auto;
  padding: .25rem .45rem;
  background: var(--liner);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
}

.product-index ul {
  display: flex;
  gap: clamp(.2rem, .45vw, .45rem);
  justify-content: safe center;
  margin: 0;
  padding: 6px;
  border-radius: var(--radius-pill);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.product-index ul::-webkit-scrollbar {
  display: none;
}

.product-index li {
  flex: none;
  scroll-snap-align: center;
}

.product-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: .45rem clamp(.5rem, .75vw, .7rem);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}

.product-index a:hover {
  border-color: var(--kraft-deep);
}

.product-index__pictogram {
  width: 26px;
  height: 26px;
  color: var(--kraft-deep);
}

.product-index a[aria-current='true'] {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--paper);
}

.product-index a[aria-current='true'] .product-index__pictogram {
  color: var(--lime);
}

/* Product colour spans the viewport while content keeps the catalogue gutters. */
.products {
  margin-top: var(--catalogue-gap);
}

.product {
  --product-background: var(--liner);
  --product-ink: var(--graphite);
  --muted: #4d4a44;
  --rule-tone: #d5d2c5;
  --art-accent: var(--leaf);
  color: var(--product-ink);
  background: var(--product-background);
  border-bottom: 1px solid var(--rule-tone);
  scroll-margin-top: calc(var(--masthead-h, 64px) + 4.5rem);
}

#printed-cartons { --product-background: #2f382e; }
#self-erection-boxes { --product-background: #d7b485; }
#corrugated-sheets { --product-background: #f3f0e4; }
#kraft-paper-rolls { --product-background: #654b35; }
#relocation-kits { --product-background: #29382b; }

.product:is(#printed-cartons, #kraft-paper-rolls, #relocation-kits) {
  --product-ink: var(--liner);
  --muted: #f0e9dc;
  --rule-tone: rgb(245 243 235 / .3);
  --art-accent: var(--lime);
  --focus-ring: var(--lime);
}
.product:is(#printed-cartons, #kraft-paper-rolls, #relocation-kits) .button--leaf {
  background: var(--liner);
  color: var(--graphite);
}
.product:is(#printed-cartons, #kraft-paper-rolls, #relocation-kits) .button--leaf:hover {
  background: var(--paper);
}

/* Title, art and details sit in named areas: art beside the text on wide screens
   (alternating sides), and on phones the name comes first, then the art, then the brief. */
.product__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    'art title'
    'art body';
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 6vw, 6rem);
  width: var(--catalogue-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 3.75rem);
}

.product:nth-child(even) .product__inner {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    'title art'
    'body art';
}

.product__title {
  grid-area: title;
  align-self: end;
}

.product__art {
  grid-area: art;
  align-self: center;
  width: 100%;
  background: radial-gradient(ellipse at 47% 50%, rgb(211 169 105 / .19), transparent 70%);
}

.product__content {
  grid-area: body;
  align-self: start;
}

.art-object {
  width: 100%;
  height: auto;
}

.art-object__lines polygon {
  stroke: #3d3226;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.art-object .tone-face { fill: #f5f1e6; }
.art-object .tone-side { fill: #d8cfb9; }
.art-object .tone-lid { fill: #e8e0cc; }
.art-object .tone-flap { fill: #ddd3bc; }
.art-object .tone-inner { fill: #c39a68; }
.art-object .tone-inner-deep { fill: #a07848; }
.art-object .tone-ink { fill: var(--leaf); stroke: none; }
.art-object .tone-ink-side { fill: #264d00; stroke: none; }

.art-object__print path {
  stroke: #f5f1e6;
  stroke-linecap: round;
}

.art-object__mark {
  fill: var(--lime);
}

.art-object__crease {
  fill: none;
  stroke: var(--art-accent, var(--leaf));
  stroke-width: 3.5;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
}

.art-object__label path {
  fill: none;
  stroke: var(--art-accent, var(--leaf));
  stroke-width: 1.5;
}

.art-object__label circle {
  fill: var(--product-background, var(--liner));
  stroke: var(--art-accent, var(--leaf));
  stroke-width: 2;
}

.art-object__label text {
  fill: var(--product-ink, var(--graphite));
  font: 600 17px var(--font);
}

.product__title {
  font-size: var(--step-3);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.product__detail {
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.25rem;
}

.spec__heading {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--rule-tone);
}

.spec__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
  color: var(--muted);
}

.spec__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  background: currentColor;
  opacity: 0.6;
  border-radius: 1px;
}

.button--lime {
  background: var(--lime);
  color: var(--graphite);
}

.button--lime:hover {
  background: #7fd61a;
}

@media (max-width: 860px) {
  .product__inner,
  .product:nth-child(even) .product__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'art' 'body';
    grid-template-rows: auto;
  }

  .product__art {
    max-width: 460px;
    margin: 0 auto 1.75rem;
  }
}

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

/* -------------------------------------------------------- box styles -- */

.box-styles__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.style-card {
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid rgb(78 65 40 / .12);
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-panel);
  transition: border-color 220ms var(--ease);
}

.style-card:hover {
  border-color: var(--kraft);
}

.style-card__art {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  color: var(--kraft-deep);
}

.style-card:hover .style-card__art path {
  animation: draw 1000ms var(--ease) both;
}

.style-card__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.style-card__code {
  margin: 0.2rem 0 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--leaf);
  font-variant-numeric: tabular-nums;
}

.style-card__use {
  font-size: 0.92rem;
  color: var(--steel);
}

@media (max-width: 1100px) {
  .box-styles__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .box-styles__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------- about -- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.story__text p {
  max-width: 65ch;
}

.story__text p + p {
  margin-top: 1.125rem;
}

.commitment__title {
  font-size: var(--step-2);
  font-weight: 750;
  margin-bottom: .7rem;
}

.services {
  max-width: none;
  background: var(--paper);
}

.services > * {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 3rem;
}

.service {
  padding-top: 1.25rem;
  border-top: 2px solid var(--kraft);
}

.service__name {
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service__text {
  color: var(--steel);
}

.served .section__title {
  margin-bottom: 1.75rem;
}

.served__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.served__list span {
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--graphite);
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------------------------------------------------- infrastructure -- */

.infrastructure {
  background: var(--graphite);
  color: var(--liner);
}

.infrastructure__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.infrastructure .section__intro {
  color: #d4d7d1;
}

.evolution {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* The track joining the three stages; it fills toward "now" when the section arrives. */
.evolution::before,
.evolution::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: calc((100% - 5rem) / 3 - 1.5rem);
  height: 2px;
  background: rgba(243, 244, 240, 0.2);
}

.evolution::after {
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}

.js .infrastructure.is-drawn .evolution::after {
  transform: scaleX(1);
  transition: transform 1600ms var(--ease) 200ms;
}

.no-js .evolution::after {
  transform: scaleX(1);
}

.evolution__stage {
  position: relative;
}

.evolution__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(243, 244, 240, 0.5);
  border-radius: 50%;
  background: var(--graphite);
  font-weight: 800;
  color: var(--liner);
}

.evolution__stage--now .evolution__marker {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--graphite);
}

/* A slow ring around the current stage: this is where the plant is today. */
.evolution__stage--now .evolution__marker::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  animation: now-ring 2.4s var(--ease) infinite;
}

@keyframes now-ring {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.evolution__name {
  font-size: var(--step-2);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.evolution__stage--now .evolution__name {
  color: var(--lime);
}

.evolution__text {
  color: #d4d7d1;
  max-width: 24rem;
}

.machines {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.machine {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 3.2vw, 2.75rem);
  border: 1px solid rgba(243, 244, 240, 0.18);
  border-radius: var(--radius-photo);
  background: linear-gradient(135deg, rgb(255 252 245 / .05), transparent);
  box-shadow: var(--shadow-panel-dark);
}

.machine__name {
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.15;
}

.machine__maker {
  margin-top: 0.45rem;
  color: var(--lime);
  font-weight: 600;
}

.machine__description {
  margin-top: 0.85rem;
  max-width: 55ch;
  color: #d4d7d1;
}

.machine__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1.25rem;
  margin: 0;
}

.machine__specs > div {
  padding-top: 0.65rem;
  border-top: 1px solid rgb(243 244 240 / .2);
}

.machine__specs dt {
  color: #d4d7d1;
  font-size: var(--step--1);
}

.machine__specs dd {
  margin: 0.25rem 0 0;
  font-size: var(--step-1);
  font-weight: 700;
}

/* Whatever comes last (the track while there are no machines or photos) ends on the section padding. */
.infrastructure__inner > :last-child {
  margin-bottom: 0;
}

.infrastructure__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.infrastructure__photo {
  aspect-ratio: 4 / 3;
}

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

  .evolution {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Stacked: each stage draws its own connector down to the next marker. */
  .evolution::before,
  .evolution::after {
    display: none;
  }

  .evolution__stage:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(1.5rem - 1px);
    top: 3rem;
    bottom: -2rem;
    width: 2px;
    background: var(--lime);
  }

  .evolution__stage {
    padding-left: 4.25rem;
  }

  .evolution__marker {
    position: absolute;
    left: 0;
    top: 0;
  }

  .infrastructure__photos {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------- contact -- */

.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) var(--section);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-photo);
}

.channel__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--kraft-pale);
  color: var(--kraft-deep);
}

.channel__icon svg {
  width: 22px;
  height: 22px;
}

.channel__label {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--steel);
}

.channel__value {
  font-weight: 700;
  color: var(--graphite);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.channel__value:hover {
  color: var(--leaf);
  text-decoration: underline;
}

.channel__address {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--paper);
  border-radius: var(--radius-panel);
  border-top: 6px solid var(--kraft);
}

.quote__intro .section__title {
  margin-bottom: 1rem;
}

.quote__intro p {
  color: var(--steel);
}

.quote__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.field--wide {
  grid-column: 1 / -1;
}

.field__label {
  font-weight: 700;
  font-size: 0.95rem;
}

.field__optional {
  font-weight: 500;
  color: var(--steel);
}

.field__hint {
  margin: 0;
  font-size: var(--step--1);
  color: var(--steel);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 2px solid #b9bcb4;
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--graphite);
  font: 500 1rem/1.4 var(--font);
}

.field__input:hover {
  border-color: var(--steel);
}

textarea.field__input {
  resize: vertical;
}

.field__input[aria-invalid='true'] {
  border-color: #b3261e;
}

.field__error {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: #b3261e;
}

.quote__details {
  margin-top: 0.75rem;
  border: 1px solid #b9bcb4;
  border-radius: var(--radius-control);
}

.quote__details:first-of-type {
  margin-top: 1.5rem;
}

.quote__details summary {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: inherit;
  cursor: pointer;
  font-weight: 700;
}

.quote__details summary::-webkit-details-marker {
  display: none;
}

.quote__details summary::before {
  content: '';
  flex: none;
  width: 0.55em;
  height: 0.55em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  border-radius: 1px;
  rotate: -45deg;
}

.quote__details[open]:not(.is-closing) summary::before {
  rotate: 45deg;
}

@media (prefers-reduced-motion: no-preference) {
  .quote__details summary::before {
    transition: rotate 260ms var(--ease);
  }
}

.quote__details summary:hover {
  color: var(--leaf);
}

.quote__details-hint {
  margin: 0 1rem 0.75rem;
  color: var(--steel);
  font-size: var(--step--1);
}

.quote__details.is-sliding .quote__details-body {
  overflow: clip;
}

.quote__details-body > .quote__grid {
  margin: 0;
  padding: 0 1rem 1rem;
}

.quote__form > .quote__notes {
  margin-top: 0.5rem;
}

.quote__attachment .field__input {
  min-width: 0;
  padding: 0.35rem 0.65rem;
}

.quote__attachment ::file-selector-button {
  margin-inline-end: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--leaf);
  font: inherit;
  cursor: pointer;
}

.no-js .quote__attachment,
.quote__share[hidden] {
  display: none;
}

.quote__send {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.quote__status {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--leaf);
}

.quote__status:empty {
  display: none;
}

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

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

/* ----------------------------------------------------------- 404 page -- */

.not-found {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.not-found__title {
  font-size: var(--step-4);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ------------------------------------------------ shared keyframes -- */

@keyframes wave-run {
  to {
    transform: translateX(16px);
  }
}

@keyframes draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}

/* ---------------------------------------------------- reduced motion -- */

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

  .board__toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* Shared editorial treatment for the printed catalogue and site. */
:root {
  --max: 1440px;
  --liner: #f5f3eb;
  --graphite: #222824;
  --paper: #fffcf5;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-panel: clamp(22px, 2.3vw, 34px);
  --radius-photo: clamp(18px, 1.8vw, 28px);
  --radius-control: 13px;
  --radius-pill: 999px;
  --shadow-panel: 0 3px 8px rgb(38 40 28 / .07), 0 18px 45px -17px rgb(38 40 28 / .26);
  --shadow-panel-dark: 0 4px 12px rgb(10 14 10 / .23), 0 23px 48px -20px rgb(10 14 10 / .65);
  --shadow-control: 0 1px 3px rgb(24 33 23 / .18), 0 5px 12px -5px rgb(24 33 23 / .38), inset 0 1px rgb(255 255 255 / .24);
}

html { background: var(--graphite); }
.section__title, .quote-band__title {
  font-size: clamp(2.25rem, 5.1vw, 5.25rem);
  font-weight: 750;
  line-height: .99;
  letter-spacing: -.064em;
}

.masthead { background: var(--liner); }

.button {
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-control);
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.button:is(.button--ghost, .button--outline-dark) {
  box-shadow: inset 0 1px rgb(255 255 255 / .3);
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgb(24 33 23 / .14), 0 10px 18px -8px rgb(24 33 23 / .36), inset 0 1px rgb(255 255 255 / .3);
  }
}
.button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgb(24 33 23 / .24);
}
.editorial-label {
  color: inherit;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.editorial-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-panel);
}
.editorial-image img { width: 100%; height: auto; display: block; }
.editorial-image figcaption {
  position: absolute;
  bottom: .9rem;
  left: .9rem;
  right: .8rem;
  width: fit-content;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--liner);
  font-size: .72rem;
  font-weight: 600;
}

/* Material photography leads; the grade controls reveal the technical cutaway. */
.hero {
  background: radial-gradient(ellipse at 77% 43%, #343d2d, #212920 63%, #1b231d 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 5vw, 5.2rem);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 7rem) var(--gutter);
}
.hero__copy { display: block; padding: 0; }
.hero__title {
  font-size: clamp(3.95rem, 6.55vw, 6.8rem);
  font-weight: 730;
  letter-spacing: -.068em;
  line-height: .88;
  text-wrap: initial;
}
.hero__title span { color: #a5df6c; }
.hero__lede {
  margin: 1.45rem 0 1.4rem;
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  max-width: 33ch;
}
.hero__actions { gap: .3rem 1.1rem; }
.hero__sample { min-width: 0; }
.board__visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  aspect-ratio: 1366 / 736;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel-dark);
  background: radial-gradient(ellipse at 70% 37%, #505645, #31382c 58%, #242d25 100%);
}
.board__visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgb(238 248 227 / .2), inset 0 0 0 1px rgb(238 248 227 / .08);
  pointer-events: none;
  content: "";
}
.board__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-area: 1 / 1;
}
/* These masks follow the edges in the material photograph at its native ratio. */
.board__photo-layers {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.board__photo-layer {
  position: absolute;
  inset: 0;
  background: url("../img/board-material-study.webp") center / 100% 100% no-repeat;
}
.board__photo-layer--top {
  clip-path: polygon(23.4% 14.5%, 100% 14.5%, 100% 48.3%, 10.5% 48.3%);
  --open-gap: -9%;
}
.board__photo-layer--upper {
  clip-path: polygon(10.5% 47.8%, 100% 47.8%, 100% 55.1%, 10.5% 55.1%);
  --open-gap: -3.5%;
}
.board__photo-layer--middle {
  clip-path: polygon(10.5% 54.6%, 100% 54.6%, 100% 65.2%, 10.5% 65.2%);
  --open-gap: 2%;
}
.board__photo-layer--lower {
  clip-path: polygon(10.5% 64.7%, 100% 64.7%, 100% 80.5%, 10.5% 80.5%);
  --open-gap: 8%;
}

@media (prefers-reduced-motion: no-preference) {
  .board.is-assembling .board__portrait {
    clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
      23.4% 14.5%, 10.5% 48%, 10.5% 80.5%, 100% 80.5%, 100% 14.5%, 23.4% 14.5%);
  }
  .board.is-assembling .board__photo-layers {
    visibility: visible;
    animation: photo-assembly 2.15s var(--ease) both;
  }
  .board.is-assembling .board__photo-layer {
    animation: photo-assembly 2.15s var(--ease) both;
  }
}

@keyframes photo-assembly {
  0%, 11%, 91%, 100% { transform: translateY(0); }
  43%, 54% { transform: translateY(var(--open-gap, 0%)); }
}

/* Grades emphasise the relevant bands on the same photographed sample. */
.board__grade-shade {
  position: absolute;
  inset: 0;
  background: #172018;
  clip-path: inset(55% 0 19.5% 10.5%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 230ms var(--ease), clip-path 230ms var(--ease);
}
.board[data-show="3"] .board__grade-shade { opacity: .72; }
.board[data-show="5"] .board__grade-shade { opacity: .72; clip-path: inset(65% 0 19.5% 10.5%); }

.board__annotations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}
.board.is-assembling .board__annotations { opacity: 0; }
.board__label path, .board__label circle {
  fill: none;
  stroke: #c3e697;
  stroke-width: 2.8;
}
.board__label path { stroke-dasharray: 5 5; }
.board__label circle { fill: #283526; }
.board__label text {
  fill: #f3f5e8;
  font: 650 30px var(--font);
  paint-order: stroke;
  stroke: #222b20;
  stroke-width: 4px;
}
/* Illuminate the same pixels in each fluted layer. Dark spaces contribute almost
   no light, so the sweep follows the ridges in the photograph. Each band is clipped
   to one layer of flutes at the photograph's native ratio. */
.board__traces {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.board__trace {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: url("../img/board-material-study.webp") center / 100% 100% no-repeat;
  filter: grayscale(1) contrast(4.5) brightness(.9) sepia(1) saturate(1.9) hue-rotate(36deg);
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, black 29%, black 71%, transparent);
  mask-size: 9% 100%;
  mask-repeat: no-repeat;
}
.board__trace--1 { clip-path: inset(49% 0 46.65% 11%); }
.board__trace--2 { clip-path: inset(55.4% 0 35.6% 11%); --trace-delay: 140ms; }
.board__trace--3 { clip-path: inset(65.6% 0 21% 11%); --trace-delay: 280ms; }
.board.is-tracing .board__trace {
  animation: board-trace 1.65s linear var(--trace-delay, 0ms) backwards;
}
/* A grade sweeps only the layers it has; the others stay under the shade. */
.board[data-show="3"] .board__trace:not(.board__trace--1),
.board[data-show="5"] .board__trace--3 { display: none; }
@keyframes board-trace {
  from { mask-position: 6% 0; opacity: 0; }
  15%, 87% { opacity: .9; }
  to { mask-position: 110% 0; opacity: 0; }
}
@media (max-width: 600px) {
  .board__label text { font-size: 43px; }
  .board__label path, .board__label circle { stroke-width: 4; }
}

.board__controls {
  margin-top: .75rem;
  padding: 0;
  justify-content: space-between;
  gap: .4rem;
}
.ply-switch {
  max-width: 100%;
  background: rgb(15 23 16 / .35);
  gap: .15rem;
  box-shadow: inset 0 1px 4px rgb(9 14 9 / .38);
}
.ply-switch__option[aria-pressed="true"] { box-shadow: var(--shadow-control); }
.board__toggle { border-color: rgb(238 248 227 / .18); font-size: .8rem; min-height: 44px; }
.board__note { margin: .7rem 0 0; padding: 0; max-width: 66ch; min-height: 3.1em; line-height: 1.45; }

/* Home alternates an image-led index, a carton demonstration and a plant section. */
.range__composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: start;
}
.range__image img { aspect-ratio: 1 / 1; object-fit: cover; }
.range__link {
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.6rem;
  grid-template-areas: "icon name arrow" "icon description arrow";
  gap: .2rem .8rem;
  padding: .85rem 0;
}
.range__pictogram { grid-area: icon; width: 2.1rem; align-self: start; }
.range__name { grid-area: name; }
.range__summary { grid-area: description; font-size: .86rem; line-height: 1.42; }
.link-arrow {
  grid-area: arrow;
  color: var(--leaf);
  justify-self: center;
  transition: transform 200ms var(--ease);
}
.range__link:is(:hover, :focus-visible) .link-arrow { transform: translate(3px, -3px); }
.range__more { margin-top: 1.4rem; }
.fold__stage {
  overflow: hidden;
  background: radial-gradient(ellipse at 48% 62%, #e8d8bd, #f4eee1 72%);
  box-shadow: inset 0 1px rgb(255 255 255 / .72), var(--shadow-panel);
}
.fold__fallback .art-object { width: min(80%, 470px); }
.fold__scroll-hint, .fold__skip { display: none; }
.fold.is-3d .fold__scroll-hint { display: inline; }
.fold.is-3d .fold__skip { display: inline-block; margin: 0 0 1rem; color: var(--leaf); }
.fold__copy .section__title { font-size: clamp(2rem, 4.25vw, 4rem); }
.steps__photo img { height: 100%; object-fit: cover; }

/* Shared type and spacing for inner-page openings. */
.page-intro__inner {
  padding-block: clamp(2.5rem, 6vw, 6rem);
}
.page-intro__title {
  color: inherit;
  font-size: clamp(3rem, 6.45vw, 6.8rem);
  font-weight: 730;
  line-height: .93;
  letter-spacing: -.06em;
  text-wrap: initial;
}
.page-intro__copy .editorial-label { color: #b6dc9b; margin-bottom: 1.2rem; }
.page-intro__lede { max-width: 38ch; margin-bottom: 0; }
/* The catalogue opens on one framed cover, with the still life running into the title area. */
.page-products .page-intro {
  padding: clamp(2.25rem, 5vw, 4.75rem) var(--gutter) clamp(1.25rem, 2.5vw, 2rem);
  background: var(--liner);
  color: var(--graphite);
}
.page-products .page-intro__inner {
  --cover: #eddfc8;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  max-width: calc(var(--max) - 2 * var(--gutter));
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-panel);
  background: var(--cover);
  box-shadow: var(--shadow-panel);
}
.page-products .page-intro__copy {
  z-index: 1;
  padding: clamp(1.6rem, 4vw, 4rem) 0 clamp(1.6rem, 4vw, 4rem) clamp(1.6rem, 4vw, 4rem);
}
.page-products .page-intro__copy .editorial-label { color: var(--leaf); }
.page-products .page-intro__title {
  font-size: clamp(2.45rem, 4.35vw, 4.55rem);
  text-wrap: balance;
}
.page-products .page-intro__lede { max-width: 34ch; color: #41443a; }
.page-products .page-intro__image {
  align-self: stretch;
  margin-left: clamp(-4.5rem, -4vw, -2rem);
  border-radius: 0;
  box-shadow: none;
}
.page-products .page-intro__image img { height: 100%; object-fit: cover; }
.page-products .page-intro__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cover), rgb(237 223 200 / .83) 10%, transparent 30%);
  pointer-events: none;
}
.page-products .page-intro__image figcaption { left: auto; z-index: 1; }

/* About mirrors the image and copy while using the same framed treatment as Home. */
.page-about .page-intro {
  background: radial-gradient(ellipse at 30% 45%, #343c30, var(--graphite) 74%);
}
.page-about .page-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .88fr);
  grid-template-areas: "image copy";
  gap: clamp(1.75rem, 5vw, 5.2rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 7rem);
}
.page-about .page-intro__copy { grid-area: copy; }
.page-about .page-intro__title {
  max-width: 12ch;
  font-size: clamp(2.75rem, 5.25vw, 5.5rem);
}
.page-about .page-intro__image {
  grid-area: image;
  box-shadow: var(--shadow-panel-dark);
}
.page-about .page-intro__image img {
  aspect-ratio: 1.42;
  object-fit: cover;
}

.page-intro__image img { animation: image-enter 700ms var(--ease) both; }
@keyframes image-enter {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.product-index a { border-color: transparent; background: transparent; }
.product-index a[aria-current] { box-shadow: var(--shadow-control); }
.product__title { font-size: clamp(2.2rem, 4.6vw, 4.9rem); letter-spacing: -.067em; }
.product__detail { font-size: clamp(1rem, 1.45vw, 1.2rem); }
.product.is-drawn .art-object { animation: study-enter 650ms var(--ease) both; }
@keyframes study-enter { from { transform: translateY(12px); } }

/* Pair the company story with one quieter surface for its commitments. */
.story__text .section__title {
  max-width: 18ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.15rem, 3.7vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.story__text p { color: #414640; }
.story__location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  max-width: 38rem;
  margin-top: 1.55rem;
  padding-top: 1rem;
  border-top: 1px solid #d6d9cc;
  font-size: .88rem;
}
.story__location > span:not(.story__pin) { font-weight: 600; }
.story__location a { font-size: .85rem; }
.story__pin {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--leaf);
  background: #e6ecdb;
}
.story__pin svg { width: 1rem; height: 1rem; }
.commitments {
  margin-top: clamp(.25rem, 2vw, 1.75rem);
  padding: clamp(1.5rem, 3.4vw, 3rem);
  border: 1px solid rgb(101 76 43 / .12);
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, var(--paper), #f0e6d2);
  box-shadow: inset 0 1px rgb(255 255 255 / .7), var(--shadow-panel);
}
.commitment + .commitment {
  border-top: 1px solid rgb(101 76 43 / .2);
  margin-top: clamp(1.2rem, 2.3vw, 2rem);
  padding-top: clamp(1.2rem, 2.3vw, 2rem);
}
.commitment p { color: #414640; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 1.65rem; }
  .commitments { margin-top: 0; }
}

.evolution__stage--now .evolution__marker::after { animation: none; }

/* Contact is laid out as a quotation brief with a narrow contact directory. */
.page-contact .page-intro { background: #e7e8d9; color: var(--graphite); }
.page-contact .page-intro__copy .editorial-label { color: var(--leaf); }
.page-contact .page-intro__lede { color: #424c41; }
.contact-layout {
  grid-template-columns: minmax(13rem, .8fr) minmax(0, 2.35fr);
  grid-template-areas: "channels quote";
  align-items: start;
}
.channels { grid-area: channels; grid-template-columns: 1fr; gap: 0; border-top: 1px solid #b9b9ab; }
.channel {
  border-width: 0 0 1px;
  border-color: #b9b9ab;
  border-radius: 0;
  background: none;
  padding: 1rem 0 1.1rem;
}
.channel__icon { width: auto; height: auto; background: transparent; border-radius: 0; color: var(--leaf); }
.quote {
  grid-area: quote;
  grid-template-columns: 1fr;
  gap: 1.7rem;
  border: 1px solid rgb(63 89 51 / .17);
  box-shadow: inset 0 1px white, var(--shadow-panel);
}
.quote__intro .section__title { font-size: clamp(2.1rem, 4vw, 4.1rem); }
.no-js .quote__whatsapp { display: none; }
.field__input { border-radius: var(--radius-control); background: var(--liner); box-shadow: inset 0 1px 3px rgb(38 40 28 / .09); }

.not-found {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(1rem, 5vw, 6rem);
  max-width: var(--max);
}
.not-found__title { font-size: clamp(3rem, 6vw, 6.8rem); letter-spacing: -.075em; }
.not-found__art {
  background: radial-gradient(ellipse at 45% 18%, #f5e9cb, #e1d2b3);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px rgb(255 255 255 / .5), var(--shadow-panel);
}
/* The quote panel sits on the page colour with the same space above and below it.
   A page-colour section just before it hands over its bottom padding, so that gap
   is the band's own too (Products ends with box styles, About with industries). */
.quote-band {
  background: var(--liner);
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
}
.box-styles:has(+ .quote-band),
.served:has(+ .quote-band) { padding-bottom: 0; }
.quote-band__inner {
  background: linear-gradient(135deg, #e6ebbb, #c9d28e);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px rgb(255 255 255 / .68), var(--shadow-panel);
}
.quote-band__title { font-size: clamp(2rem, 4.5vw, 4.4rem); }

@media (max-width: 860px) {
  .hero__inner, .range__composition, .not-found { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.6rem, 12.3vw, 6.8rem); line-height: .88; }
  .hero__lede { margin: 1.1rem 0 .65rem; }
  .range__image img { aspect-ratio: 1.38; }
  .page-products .page-intro__inner { grid-template-columns: 1fr; }
  .page-products .page-intro__copy { padding: 1.6rem clamp(1.2rem, 4vw, 2rem) 1rem; }
  .page-products .page-intro__image { margin-left: 0; }
  .page-products .page-intro__image img { height: auto; }
  .page-products .page-intro__image::after {
    background: linear-gradient(180deg, var(--cover), transparent 31%);
  }
  .page-about .page-intro__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "image";
  }
  .contact-layout { grid-template-columns: 1fr; grid-template-areas: "quote" "channels"; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; }
}

@media (max-width: 600px) {
  .board__controls { justify-content: flex-start; }
  .ply-switch__option, .board__toggle { padding-inline: .4rem; font-size: .75rem; }
  .not-found__art { max-width: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover, .button:active { transform: none; }
  .fold.is-3d .fold__text { display: block; }
  .fold.is-3d :is(.fold__scroll-hint, .fold__skip) { display: none; }
}

.page-contact .plant-location { padding-top: 0; }
.plant-location__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  background: radial-gradient(ellipse at 25% 0%, #394237, var(--graphite) 75%);
  color: var(--liner);
  border-radius: var(--radius-panel);
  padding: clamp(.85rem, 2vw, 1.5rem);
  box-shadow: inset 0 1px rgb(255 255 255 / .16), var(--shadow-panel);
  align-items: stretch;
  overflow: hidden;
}
.plant-location__copy { padding: clamp(1rem, 4vw, 3.75rem); }
.plant-location__copy p { color: #d7dbce; margin: 1.1rem 0 0; max-width: 32ch; }
.plant-location__address { margin-top: 1.3rem; line-height: 1.6; font-size: .92rem; }
.plant-location__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.plant-location__actions { --focus-ring: var(--lime); }
.plant-location__map {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  border-radius: var(--radius-photo);
  background: #e3e9e1;
  box-shadow: var(--shadow-panel-dark);
  overflow: hidden;
}

.plant-location__map-link {
  display: grid;
  justify-items: center;
  gap: .65rem;
  padding: .75rem;
  border-radius: var(--radius-control);
  font-weight: 700;
  text-align: center;
}

.plant-location__map-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-control);
}

.plant-location__map-icon svg { width: 1.4rem; height: 1.4rem; }
.plant-location__map-link[hidden] { display: none; }

.plant-location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 780px) {
  .plant-location__inner { grid-template-columns: 1fr; }
  .plant-location__copy { padding-bottom: 1.5rem; }
  .plant-location__map { min-height: 300px; }
}

/* ------------------------------------------------------ focus rings -- */

/* One keyboard focus ring for the whole site: 3px wide, 3px clear of the
   element, following its shape. Only its colour changes with the ground:
   leaf on light grounds, lime where a section sets a dark ground. Form fields
   have their own focus state instead (see "form fields" below). */
:root {
  --focus-ring: var(--leaf);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* A bare text link gets rounded corners rather than a tight box over its text;
   the hero call link, beside a pill button, gets a pill. */
a:not(.button):focus-visible {
  border-radius: 10px;
}

a.hero__call:focus-visible {
  border-radius: 999px;
}

/* The ring snaps onto a button or link: it arrives wide and tightens to its
   resting gap, so the eye catches where focus moved. */
@media (prefers-reduced-motion: no-preference) {
  :is(a, button):focus-visible {
    animation: focus-snap 260ms var(--ease);
  }
}

@keyframes focus-snap {
  from {
    outline-color: transparent;
    outline-offset: 11px;
  }
}

/* After a mouse or touch press there is no ring; the next key press brings it
   back (site.js keeps data-input up to date). Form fields keep theirs. */
[data-input="pointer"] :not(input, select, textarea):focus-visible {
  outline: none;
}

/* No browser tap highlight: phones flash a blue or grey rectangle over whatever
   is tapped. Every element inherits this. */
html {
  -webkit-tap-highlight-color: transparent;
}

/* ----------------------------------------------------- header button -- */

/* The quote button in the masthead has little room above and below, so the
   standard button shadow ran into the header's bottom edge and looked heavier
   than the same button in open space. Here it gets the same shadow, scaled to
   end inside the bar, and a 1px lift on hover. */
@media (min-width: 901px) {
  .masthead .nav__quote {
    box-shadow: 0 1px 2px rgb(24 33 23 / .18), 0 3px 7px -4px rgb(24 33 23 / .36), inset 0 1px rgb(255 255 255 / .24);
  }

  .masthead.is-scrolled .masthead__inner {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .masthead .nav__quote:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgb(24 33 23 / .16), 0 5px 9px -5px rgb(24 33 23 / .4), inset 0 1px rgb(255 255 255 / .3);
  }
}

/* ------------------------------------------------------ form fields -- */

/* Fields side by side share one set of rows (label, hint, input, error), so
   their inputs line up even when only one of them has a hint. Spacing comes
   from margins, so a row nobody uses collapses to nothing. */
@supports (grid-template-rows: subgrid) {
  /* Row gaps would also open around empty hint and error rows, so the space
     between fields sits above each label instead. */
  .quote__grid {
    row-gap: 0;
    margin-top: -1.25rem;
  }

  .field {
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .field__label { grid-row: 1; margin: 1.25rem 0 0.35rem; }
  .field__hint { grid-row: 2; margin-bottom: 0.35rem; }
  .field__input { grid-row: 3; align-self: start; }
  .field__error { grid-row: 4; margin-top: 0.35rem; }
}

/* Spotlight: a focused field rises to white with a leaf border, glow and a
   deeper shadow, its label turns leaf, and every other field softens back.
   Moving between fields crossfades the emphasis from one to the next.
   Mouse and keyboard focus look the same. */
.field {
  transition: opacity 300ms var(--ease);
}

.field__input {
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease), translate 300ms var(--ease);
}

.field__label {
  transition: color 200ms var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--leaf);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(106 194 0 / 0.16), 0 18px 32px -16px rgb(30 44 20 / 0.38);
  translate: 0 -2px;
}

/* The rest of the form steps back while one field is in use, and comes
   forward under the pointer so it still reads as clickable. */
.quote__grid:has(.field__input:focus) .field:not(:focus-within) {
  opacity: 0.72;
}

.quote__grid:has(.field__input:focus) .field:not(:focus-within):hover {
  opacity: 0.92;
}

.field:focus-within .field__label {
  color: var(--leaf);
}

/* A field with an error keeps the error colour while it is being fixed. */
.field__input[aria-invalid='true']:focus {
  border-color: #b3261e;
  box-shadow: 0 0 0 4px rgb(179 38 30 / 0.14), 0 14px 28px -18px rgb(179 38 30 / 0.5);
}

.field:has([aria-invalid='true']):focus-within .field__label {
  color: #b3261e;
}

@media (prefers-reduced-motion: reduce) {
  /* No rise; the emphasis still fades between fields. */
  .field__input:focus {
    translate: none;
  }

  .field__input,
  .field__label {
    transition: none;
  }
}

/* --------------------------------------------------- product dropdown -- */

/* The chevron sits in a small disc, like the numbered markers elsewhere. */
select.field__input {
  appearance: none;
  padding-right: 3.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23e3e7cc'/%3E%3Cpath d='M11 14l5 5 5-5' fill='none' stroke='%23356b00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 0.6rem center / 2rem 2rem no-repeat var(--liner);
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Where the browser lets the open list be styled, it matches the form card:
   paper, a soft shadow, rounded options and the leaf accent on the choice. */
@supports (appearance: base-select) {
  select.field__input,
  select.field__input::picker(select) {
    appearance: base-select;
  }

  select.field__input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.6rem 0.4rem 0.85rem;
    background: var(--liner);
  }

  select.field__input::picker-icon {
    content: '';
    flex: none;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23e3e7cc'/%3E%3Cpath d='M11 14l5 5 5-5' fill='none' stroke='%23356b00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
    transition: rotate 220ms var(--ease);
  }

  select.field__input:open::picker-icon {
    rotate: 180deg;
  }

  select.field__input:open {
    border-color: var(--leaf);
  }

  select.field__input::picker(select) {
    margin-block: 0.45rem;
    padding: 0.4rem;
    border: 1px solid #d7d9cb;
    border-radius: var(--radius-control);
    background: var(--paper);
    box-shadow: 0 22px 44px -22px rgb(30 38 24 / 0.42), 0 2px 6px rgb(30 38 24 / 0.08);
    opacity: 0;
    translate: 0 -4px;
    transition: opacity 160ms var(--ease), translate 160ms var(--ease), display 160ms allow-discrete, overlay 160ms allow-discrete;
  }

  select.field__input:open::picker(select) {
    opacity: 1;
    translate: 0 0;
  }

  @starting-style {
    select.field__input:open::picker(select) {
      opacity: 0;
      translate: 0 -4px;
    }
  }

  select.field__input option {
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 9px;
    color: var(--graphite);
    font: 500 1rem/1.4 var(--font);
    cursor: pointer;
  }

  select.field__input option:is(:hover, :focus-visible) {
    background: #eef1df;
    outline: none;
  }

  select.field__input option:checked {
    color: var(--leaf);
    font-weight: 700;
  }

  /* The tick for the current choice sits at the end of its row. */
  select.field__input option::checkmark {
    order: 1;
    margin-left: auto;
    color: var(--leaf);
  }
}

@media (prefers-reduced-motion: reduce) {
  select.field__input::picker-icon,
  select.field__input::picker(select) {
    transition: none;
  }
}
