/* Product pages. Same tokens, bar and dock as the homepage; the catalogue
   itself is a light, quiet grid, because every machine is photographed on white
   and the page should get out of their way. */

:root {
  --sc-canvas:     #F4F5F3;
  --sc-surface:    #FFFFFF;
  --sc-ink:        #0B1F17;
  --sc-ink-soft:   #6C7A72;
  --sc-accent:     #036C35;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "IBM Plex Sans", system-ui, sans-serif;
  --line: #DDE2DE;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overscroll-behavior-y: none; }
body { margin: 0; background: var(--sc-canvas); color: var(--sc-ink);
       font-family: var(--sc-font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
         text-transform: uppercase; color: var(--sc-ink-soft); margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
                   clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

/* --- bar, lifted from the homepage so the two pages read as one site ----- */
.bar { position: fixed; z-index: 40; display: flex; align-items: center; gap: 1.5rem;
       top: clamp(.6rem, 1.8vh, 1.2rem);
       left: clamp(.75rem, 3vw, 2.25rem); right: clamp(.75rem, 3vw, 2.25rem);
       padding: .8rem clamp(1rem, 2vw, 1.6rem);
       background: #3A3A3A; color: #fff; }
.bar__mark { display: block; line-height: 0; }
.bar__mark img { height: 42px; width: auto; }
.bar__index { margin-left: auto; display: flex; gap: 1.3rem; font-family: var(--mono);
              font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.bar__index a { text-decoration: none; opacity: .78; }
.bar__index a:hover, .bar__index a:focus-visible { opacity: 1; }
.bar__cta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
            text-transform: uppercase; border: 1px solid currentColor;
            padding: .5rem .9rem; text-decoration: none; }
.bar__cta:hover { background: var(--sc-accent); border-color: var(--sc-accent); }
.bar__menu { display: contents; }
.bar__burger { display: none; }

/* --- masthead: the category names itself, the family portrait sits beside it */
/* Content pages clear the floating bar. The homepage does not: its hero is
   full bleed and the bar is meant to sit on the photograph. */
body:not(.home) main { padding-top: clamp(6.5rem, 13vh, 9rem); }
.masthead { background: var(--sc-surface); display: grid; gap: clamp(1.5rem, 4vw, 3rem);
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
            padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); }
.masthead--index { grid-template-columns: 1fr; }
.masthead__copy { display: grid; gap: .9rem; justify-items: start; }
.masthead__copy .label a { text-decoration: none; border-bottom: 1px solid var(--line); }
.masthead__name { margin: 0; font-family: var(--sc-font-display);
                  font-variation-settings: "wdth" 88, "wght" 900;
                  text-transform: uppercase; line-height: .95; letter-spacing: -.015em;
                  font-size: clamp(2.4rem, 6vw, 5rem); }
.masthead__lede { margin: 0; max-width: 42ch; color: var(--sc-ink-soft);
                  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.55; }
.masthead__figure { min-width: 0; }
.masthead__figure img { width: 100%; height: auto; max-height: 42vh;
                        object-fit: contain; margin-inline: auto; }

/* --- the type strip: a jump list, which is the only filter this page needs -*/
.strip { position: sticky; top: calc(clamp(.6rem, 1.8vh, 1.2rem) + 66px); z-index: 20;
         background: #ECEEEB; border-block: 1px solid var(--line);
         padding: .7rem var(--gutter); }
.strip__jump { margin: 0; display: flex; flex-wrap: wrap; align-items: center;
               gap: .55rem 1.1rem; }
.strip__jump a { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
                 text-transform: uppercase; text-decoration: none;
                 border-bottom: 1px solid transparent; padding-bottom: 1px; }
.strip__jump a:hover { color: var(--sc-accent); border-bottom-color: currentColor; }

/* Search and count sit together on the left. The dock owns the right-hand side
   of the viewport at every scroll position, so anything parked there is covered. */
.tools { display: flex; flex-wrap: wrap; align-items: center;
         gap: .75rem 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter) .5rem; }
.search { display: block; flex: 0 1 24rem; min-width: 12rem; }
.search input { width: 100%; font: inherit; font-size: .92rem; color: #fff;
                background: #2A2E2B; border: 1px solid #2A2E2B; padding: .8rem 1rem; }
.search input::placeholder { color: #9AA39D; }
.search input:focus { border-color: var(--sc-accent); outline: none; }
.tools__count { margin: 0; font-family: var(--mono); font-size: .74rem;
                letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.tools__count b { color: var(--sc-ink); font-weight: 500; }

.empty { margin: 2rem var(--gutter) 0; color: var(--sc-ink-soft); }
.empty button { font: inherit; color: var(--sc-accent); background: none; border: 0;
                padding: 0; text-decoration: underline; cursor: pointer; }

/* --- a type, then its machines ------------------------------------------ */
.type { padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter) 0; }
.type[hidden] { display: none; }
.type__name { margin: 0; text-align: center; font-family: var(--sc-font-display);
              font-variation-settings: "wdth" 100, "wght" 400;
              font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.005em; }
.type__sub { margin: .5rem auto 0; text-align: center; max-width: 62ch;
             color: var(--sc-ink-soft); font-size: .95rem; line-height: 1.5; }

.cards { margin-top: clamp(1.5rem, 3vw, 2.25rem);
         display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem);
         grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.cards > * { min-width: 0; }

.card { display: grid; grid-template-rows: 1fr auto; text-decoration: none;
        background: var(--sc-surface); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,31,23,.1); }
/* Grid items default to min-width: auto, and a few catalogue names are one
   unbroken 20-character model code, which pushed the whole card past the grid. */
.card > *, .card__label > * { min-width: 0; overflow-wrap: anywhere; }
.card__pic { display: grid; place-items: center; padding: 1.4rem; aspect-ratio: 4 / 3; }
.card__pic img { width: 100%; height: 100%; object-fit: contain; }
.card__gap { display: block; }
.card__label { display: grid; gap: .2rem; background: #ECEEEB; padding: .85rem 1rem 1rem;
               text-align: center; }
.card:hover .card__label { background: var(--sc-accent); color: #fff; }
.card__name { font-size: .88rem; line-height: 1.3; }
.card__model { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
               color: var(--sc-ink-soft); }
.card:hover .card__model { color: rgba(255,255,255,.75); }

/* --- the index of categories -------------------------------------------- */
.tiles { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem);
         grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
         padding: clamp(1.75rem, 4vw, 3rem) var(--gutter); }
.tiles > * { min-width: 0; }
.tile { display: grid; grid-template-rows: 1fr auto; text-decoration: none;
        background: var(--sc-surface); transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,31,23,.1); }
/* Same trap as the cards: a grid item defaults to min-width auto, so a tall
   square category photo made the tile wider than its own column. */
.tile > *, .tile__label > * { min-width: 0; overflow-wrap: anywhere; }
.tile__pic { display: grid; place-items: center; padding: 1.6rem; aspect-ratio: 16 / 10; }
.tile__pic img { width: 100%; height: 100%; object-fit: contain; }
.tile__label { display: grid; gap: .3rem; padding: 1rem 1.15rem 1.2rem; background: #ECEEEB; }
.tile:hover .tile__label { background: var(--sc-accent); color: #fff; }
.tile:hover .tile__label .label { color: rgba(255,255,255,.75); }
.tile__name { font-family: var(--sc-font-display); font-variation-settings: "wdth" 92, "wght" 700;
              text-transform: uppercase; font-size: 1.05rem; line-height: 1.15; }

/* --- close --------------------------------------------------------------- */
.close { margin-top: clamp(3rem, 7vw, 5rem); background: var(--sc-surface);
         padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
         display: grid; gap: 1rem; justify-items: start; }
.close__title { margin: 0; font-family: var(--sc-font-display);
                font-variation-settings: "wdth" 88, "wght" 900; text-transform: uppercase;
                font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.05; }
.close__text { margin: 0; max-width: 58ch; color: var(--sc-ink-soft); line-height: 1.6; }
.close__cta { margin-top: .5rem; font-family: var(--mono); font-size: .74rem;
              letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
              background: var(--sc-accent); color: #fff; padding: .95rem 1.7rem; }
.close__cta:hover { background: var(--sc-ink); }

/* --- footer --------------------------------------------------------------- */
/* The three offices, head office in the middle. Bottom padding clears the dock,
   which floats over this corner at every scroll position. */
/* On the page colour, not white: the homepage ends on canvas, and a white slab
   there read as a panel bolted to the bottom rather than the end of the page. */
.foot { padding: clamp(2rem, 4vw, 2.75rem) var(--gutter) 9rem;
        background: var(--sc-canvas); border-top: 1px solid var(--line); }
/* The homepage's closing act already carries a full section's bottom padding.
   Left alone, that plus the footer's own left a void between the two. */
body.home main > .sc-section:last-of-type { padding-bottom: 0; }
.foot__offices { display: grid; gap: 1px; background: var(--line);
                 border: 1px solid var(--line);
                 grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.foot__office { background: var(--sc-surface); padding: 1.4rem 1.5rem; min-width: 0;
                display: grid; gap: .5rem; align-content: start; }
.foot__office p { margin: 0; color: var(--sc-ink-soft); font-size: .9rem; line-height: 1.55; }
.foot__office a { color: var(--sc-accent); text-decoration: none; }
.foot__office--hq { background: var(--sc-canvas); }
.foot__office--hq .label { color: var(--sc-accent); }
.foot__base { margin-top: 1.5rem; display: flex; flex-wrap: wrap;
              justify-content: space-between; gap: .5rem 1.5rem; }
.foot__base a { color: inherit; }

/* --- dock ---------------------------------------------------------------- */
.dock { position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
        z-index: 60; display: grid; gap: .5rem; }
.dock__btn { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em;
             text-transform: uppercase; text-decoration: none; text-align: center;
             padding: .85rem 1.15rem; background: rgba(255,255,255,.9);
             backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
             color: var(--sc-ink); border: 1px solid var(--line);
             box-shadow: 0 6px 24px rgba(11,31,23,.12);
             transition: background .15s ease, color .15s ease, transform .15s ease; }
.dock__btn:hover { transform: translateY(-1px); }
.dock__btn--wa { background: #25D366; color: #06301A; border-color: #25D366; }
.dock__btn--wa:hover { background: #1EBE5A; border-color: #1EBE5A; }

@media (max-width: 900px) {
  .bar__menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
               flex-direction: column; align-items: stretch; gap: 0;
               background: #3A3A3A; padding: .25rem 0 .9rem; }
  .bar.is-open .bar__menu { display: flex; }
  .bar__index { display: flex; flex-direction: column; margin: 0; gap: 0; font-size: .78rem; }
  .bar__index a { padding: .9rem clamp(1rem, 4vw, 1.6rem); opacity: 1; }
  .bar__cta { margin: .55rem clamp(1rem, 4vw, 1.6rem) 0; text-align: center; padding: .85rem; }
  .bar__burger { display: grid; gap: 5px; margin-left: auto; padding: .55rem .35rem;
                 background: none; border: 0; cursor: pointer; }
  .bar__burger span { display: block; width: 23px; height: 2px; background: #fff; }
  .masthead { grid-template-columns: 1fr; }
  .masthead__figure { order: -1; }
  .masthead__figure img { max-height: 30vh; }
}

@media (max-width: 560px) {
  /* One compact row, not a three-button block. Full width and two rows deep it
     stood permanently on the bottom 120px of every page: headings, form labels,
     the brochure's page controls. One row is 52px, and it tucks away on scroll. */
  .dock { left: 0; right: 0; bottom: 0; gap: 0;
          grid-template-columns: repeat(3, 1fr);
          padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dock__btn { padding: 1rem .4rem; font-size: .66rem; letter-spacing: .04em;
               box-shadow: none; border-width: 1px 0 0 1px; }
  .dock__btn:first-child { border-left-width: 0; }
  .dock__btn:hover { transform: none; }
  .bar__mark img { height: 30px; }
  .strip { top: calc(clamp(.6rem, 1.8vh, 1.2rem) + 54px);
           padding-inline: 0; }
  /* Eleven type names wrap to five lines on a phone and eat the screen. One
     row that scrolls sideways instead, which is what the strip is for. */
  .strip__jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
                 padding-inline: var(--gutter); }
  .strip__jump::-webkit-scrollbar { display: none; }
  .strip__jump > * { flex: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { padding-bottom: 12rem; }
}

/* --- one machine ---------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 var(--gutter) 1.25rem;
          font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
          text-transform: uppercase; color: var(--sc-ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sc-accent); }
.crumbs i { font-style: normal; opacity: .5; }

.item { background: var(--sc-surface); display: grid; align-items: start;
        gap: clamp(1.5rem, 4vw, 3.5rem);
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }
.item > * { min-width: 0; }
.item__stage { display: grid; place-items: center; aspect-ratio: 4 / 3; }
.item__stage img { width: 100%; height: 100%; object-fit: contain; }
/* Thumbnails, not a carousel: at most five shots exist, so they all fit. */
.item__shots { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.shot { width: 4.5rem; aspect-ratio: 1; padding: .35rem; cursor: pointer;
        background: var(--sc-canvas); border: 1px solid transparent; }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot.is-on { border-color: var(--sc-accent); }

.item__copy { display: grid; gap: 1rem; justify-items: start;
              padding-top: clamp(0rem, 2vw, 1.5rem); }
.item__name { margin: 0; font-family: var(--sc-font-display);
              font-variation-settings: "wdth" 90, "wght" 800;
              text-transform: uppercase; line-height: 1.02; letter-spacing: -.015em;
              font-size: clamp(1.7rem, 3.6vw, 3rem); }
.item__lede { margin: 0; max-width: 46ch; color: var(--sc-ink-soft); line-height: 1.6; }

/* The three figures a buyer compares on, pulled off the top of the spec list. */
.heads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
         width: 100%; background: var(--line); border: 1px solid var(--line); }
.head { background: var(--sc-surface); padding: .9rem 1rem; min-width: 0; }
.head b { display: block; font-family: var(--sc-font-display);
          font-variation-settings: "wdth" 100, "wght" 700; font-size: 1.15rem;
          line-height: 1.1; overflow-wrap: anywhere; }
.head span { display: block; margin-top: .3rem; font-family: var(--mono);
             font-size: .62rem; letter-spacing: .07em; text-transform: uppercase;
             color: var(--sc-ink-soft); }

.item__acts { margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.item__cta, .item__ghost { font-family: var(--mono); font-size: .74rem;
                           letter-spacing: .09em; text-transform: uppercase;
                           text-decoration: none; padding: .95rem 1.5rem; }
.item__cta { background: var(--sc-accent); color: #fff; }
.item__cta:hover { background: var(--sc-ink); }
.item__ghost { border: 1px solid var(--line); }
.item__ghost:hover { border-color: var(--sc-ink); }

.specs, .also { padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter) 0; }
.specs__title { margin: 0 0 1.25rem; font-family: var(--sc-font-display);
                font-variation-settings: "wdth" 100, "wght" 400;
                font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.specs__list { margin: 0; display: grid; gap: 1px; background: var(--line);
               border: 1px solid var(--line);
               grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
        background: var(--sc-surface); padding: .85rem 1.15rem; min-width: 0; }
.spec dt { color: var(--sc-ink-soft); font-size: .88rem; }
.spec dd { margin: 0; font-family: var(--mono); font-size: .84rem; text-align: right;
           overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .item { grid-template-columns: 1fr; }
  .heads { grid-template-columns: 1fr; }
  .head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .head span { margin-top: 0; }
}

/* --- datasheet gate ------------------------------------------------------- */
/* The download has always been behind an email form. That form is where the
   download leads come from, so the redesign keeps it rather than linking the
   PDF straight out. */
.gate { border: 0; padding: 0; max-width: min(30rem, calc(100vw - 2rem));
        background: var(--sc-surface); color: var(--sc-ink); }
.gate::backdrop { background: rgba(11, 31, 23, .55); }
.gate form { display: grid; gap: .85rem; padding: clamp(1.5rem, 4vw, 2.25rem); }
.gate__title { margin: 0; font-family: var(--sc-font-display);
               font-variation-settings: "wdth" 90, "wght" 800; text-transform: uppercase;
               font-size: 1.35rem; line-height: 1.1; }
.gate__text { margin: 0; color: var(--sc-ink-soft); font-size: .92rem; line-height: 1.5; }
.gate input { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line);
              background: var(--sc-canvas); color: inherit; }
.gate input:focus { border-color: var(--sc-accent); outline: none; }
.gate__acts { margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.gate__acts button { font-family: var(--mono); cursor: pointer; }
.gate__error { margin: 0; color: #A32B1C; font-size: .88rem; }

/* --- content pages -------------------------------------------------------
   Everything that is not the catalogue: industries, about, service, insight,
   the forms and the error pages. One set of parts, so a page is assembled
   rather than styled from scratch. */

.page { padding: 0 var(--gutter); }
.page__head { background: var(--sc-surface); margin: 0 calc(var(--gutter) * -1);
              padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
              display: grid; gap: 1rem; justify-items: start; }
.page__title { margin: 0; font-family: var(--sc-font-display);
               font-variation-settings: "wdth" 88, "wght" 900; text-transform: uppercase;
               line-height: .98; letter-spacing: -.015em;
               font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.page__lede { margin: 0; max-width: 52ch; color: var(--sc-ink-soft);
              font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; }

.band { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.band--surface { background: var(--sc-surface); margin: 0 calc(var(--gutter) * -1);
                 padding-inline: var(--gutter); }
.band__title { margin: 0 0 1.25rem; font-family: var(--sc-font-display);
               font-variation-settings: "wdth" 100, "wght" 400;
               font-size: clamp(1.35rem, 2.4vw, 2rem); }

/* Long-form copy out of the database: headings, lists and links all inherit. */
.prose { max-width: 72ch; color: var(--sc-ink-soft); line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { color: var(--sc-ink); font-family: var(--sc-font-display);
                       font-variation-settings: "wdth" 96, "wght" 700;
                       line-height: 1.2; margin: 2rem 0 .6rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose img { margin: 1.5rem 0; }
.prose a { color: var(--sc-accent); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: .3rem 0; }

/* Chips: a lookup, not a story, so they read as one line of options. */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em;
        text-transform: uppercase; text-decoration: none; padding: .7rem 1.1rem;
        background: var(--sc-surface); border: 1px solid var(--line); }
.chip:hover, .chip.is-on { background: var(--sc-accent); border-color: var(--sc-accent);
                           color: #fff; }

/* Native disclosure, so the questions work with JavaScript off. */
.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq details { background: var(--sc-surface); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem;
               display: flex; justify-content: space-between; gap: 1.5rem;
               align-items: baseline; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--sc-accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--sc-accent); }
.faq__body { padding: 0 1.25rem 1.25rem; color: var(--sc-ink-soft); line-height: 1.65;
             max-width: 78ch; }
.faq__body p { margin: 0 0 .55rem; }

/* Forms: one field pattern for the inquiry, quotation and brochure pages. */
.form { display: grid; gap: 1rem; max-width: 34rem; }
.form--wide { max-width: 46rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form--wide .field--full, .form--wide .form__acts { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > span { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
                text-transform: uppercase; color: var(--sc-ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; background: var(--sc-surface);
  border: 1px solid var(--line); color: inherit; width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sc-accent); outline: none; }
.form__acts { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.btn { font-family: var(--mono); font-size: .74rem; letter-spacing: .09em;
       text-transform: uppercase; text-decoration: none; cursor: pointer;
       padding: .95rem 1.7rem; border: 1px solid var(--sc-accent);
       background: var(--sc-accent); color: #fff; }
.btn:hover { background: var(--sc-ink); border-color: var(--sc-ink); }
.btn--ghost { background: none; color: var(--sc-ink); border-color: var(--line); }
.btn--ghost:hover { background: none; border-color: var(--sc-ink); color: var(--sc-ink); }
.note { margin: 0; color: var(--sc-ink-soft); font-size: .88rem; }
.note--bad { color: #A32B1C; }

/* A row of plain facts. Same part the machine page uses for its headline specs. */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
         gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--sc-surface); padding: 1.1rem 1.25rem; min-width: 0; }
.fact b { display: block; font-family: var(--sc-font-display);
          font-variation-settings: "wdth" 100, "wght" 700; font-size: 1.4rem; line-height: 1.1; }
.fact span { display: block; margin-top: .35rem; font-family: var(--mono);
             font-size: .62rem; letter-spacing: .07em; text-transform: uppercase;
             color: var(--sc-ink-soft); }

/* Articles and industries: the same card, different caption. */
.posts { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem);
         grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.posts > * { min-width: 0; }
.post { display: grid; grid-template-rows: auto 1fr; background: var(--sc-surface);
        text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.post:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,31,23,.1); }
.post__pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sc-canvas); }
.post__pic img { width: 100%; height: 100%; object-fit: cover; }
.post__body { display: grid; gap: .4rem; align-content: start; padding: 1.1rem 1.25rem 1.35rem; }
.post__name { font-family: var(--sc-font-display);
              font-variation-settings: "wdth" 94, "wght" 700; font-size: 1.05rem;
              line-height: 1.2; }
.post__text { margin: 0; color: var(--sc-ink-soft); font-size: .9rem; line-height: 1.5; }

/* Article body: a single measured column, because it is meant to be read. */
.article { max-width: 68ch; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 0 0 1rem; }
.article__hero { margin: 1.5rem 0 2rem; }

.offices { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
           grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.office { background: var(--sc-surface); padding: 1.4rem 1.5rem; display: grid; gap: .3rem;
          align-content: start; min-width: 0; }
.office h3 { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.35; }
.office p { margin: 0; color: var(--sc-ink-soft); font-size: .92rem; }
.office a { color: var(--sc-accent); text-decoration: none; }

/* Error pages: say what happened and give a way onward. Nothing else. */
.oops { min-height: 62vh; display: grid; align-content: center; gap: 1.1rem;
        justify-items: start; padding: clamp(3rem, 8vh, 6rem) var(--gutter); }
.oops__code { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
              text-transform: uppercase; color: var(--sc-accent); margin: 0; }

@media (max-width: 640px) {
  .form--wide { grid-template-columns: 1fr; }
}

/* --- the list ------------------------------------------------------------ */
/* One row per machine. It reuses nothing from the spec table: that one is a
   multi-column grid and put three cart lines side by side. */
.cart { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cart__row { background: var(--sc-surface); display: grid; align-items: center;
             grid-template-columns: 5.5rem minmax(0, 1fr) auto;
             gap: 1rem; padding: 1rem 1.25rem; }
.cart__pic { display: block; }
.cart__pic img { width: 100%; height: 4rem; object-fit: contain; }
.cart__name { min-width: 0; display: grid; gap: .2rem; }
.cart__name a { text-decoration: none; }
.cart__name a:hover { color: var(--sc-accent); }
.cart__acts { display: flex; align-items: center; gap: .5rem; }
.cart__qty { width: 4.5rem; font: inherit; padding: .55rem; background: var(--sc-canvas);
             border: 1px solid var(--line); color: inherit; }
.cart__acts .btn { padding: .6rem 1rem; }

@media (max-width: 640px) {
  .cart__row { grid-template-columns: 4rem minmax(0, 1fr); }
  .cart__acts { grid-column: 1 / -1; }
}

/* --- request a quotation -------------------------------------------------- */
/* The form is the page, so it gets the wider column; the right-hand side answers
   the question the visitor actually has, which is what happens after they send. */
.ask { display: grid; align-items: start; gap: clamp(1.5rem, 4vw, 3rem);
       grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ask > * { min-width: 0; }
.ask__form .form { max-width: none; }
.ask__side { display: grid; gap: 1px; background: var(--line);
             border: 1px solid var(--line); }
.ask__panel { background: var(--sc-surface); padding: 1.5rem; }
.ask__title { margin: 0 0 .75rem; font-family: var(--sc-font-display);
              font-variation-settings: "wdth" 96, "wght" 700; font-size: 1.05rem;
              line-height: 1.2; }
.ask__steps { margin: 0; padding-left: 1.1rem; display: grid; gap: .7rem;
              color: var(--sc-ink-soft); line-height: 1.55; font-size: .92rem; }
.ask__steps b { color: var(--sc-ink); font-weight: 500; }
.ask__panel .note a { color: var(--sc-accent); }

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

/* --- service ------------------------------------------------------------- */
/* A centred block: heading, one line under it, then equal panels. Used for the
   contract tiers, which read as a comparison and so must be the same width. */
.mid { text-align: center; max-width: 68ch; margin-inline: auto; }
.mid .band__title { margin-bottom: .6rem; }
.mid p { margin: 0 auto; color: var(--sc-ink-soft); line-height: 1.6; }

.tiers { margin-top: clamp(1.5rem, 3vw, 2.25rem);
         display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
         grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.tier { background: var(--sc-surface); padding: 1.6rem 1.5rem; min-width: 0;
        display: grid; gap: .5rem; align-content: start; }
.tier h3 { margin: 0; font-family: var(--sc-font-display);
           font-variation-settings: "wdth" 96, "wght" 700; font-size: 1.1rem;
           line-height: 1.25; }
.tier p { margin: 0; color: var(--sc-ink-soft); line-height: 1.6; font-size: .93rem; }

.acts--mid { justify-content: center; margin-top: 1.75rem; }

/* The workshop shot runs the full width under the masthead: it is the page's
   one piece of evidence, and cropping it into a column wastes it. */
.shot-band { margin: 0 calc(var(--gutter) * -1); }
.shot-band img { width: 100%; height: clamp(18rem, 42vh, 32rem); object-fit: cover; }

/* --- opening screen ------------------------------------------------------ */
/* Heading across the top, photograph left, the three programs stacked to its
   right, both actions along the bottom. One block, no scroll to reach any of it. */
.lead { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "head head" "figure plans" "acts acts";
        background: var(--sc-surface); margin: 0 calc(var(--gutter) * -1);
        padding: clamp(1.5rem, 3.5vw, 2.5rem) var(--gutter); }
.lead > * { min-width: 0; }
.lead__head { grid-area: head; display: grid; gap: .6rem; }
.lead__figure { grid-area: figure; }
.lead__plans { grid-area: plans; }
.lead__acts { grid-area: acts; }

.lead__title { margin: 0; font-family: var(--sc-font-display);
               font-variation-settings: "wdth" 88, "wght" 900; text-transform: uppercase;
               line-height: .98; letter-spacing: -.015em;
               font-size: clamp(1.9rem, 3.9vw, 3.1rem); }
.lead__text { margin: 0; max-width: 62ch; color: var(--sc-ink-soft);
              font-size: clamp(.98rem, 1.1vw, 1.06rem); line-height: 1.55; }

/* The photograph matches the height of the three programs beside it, so the two
   columns read as one row rather than two things that happen to be adjacent. */
.lead__figure img { width: 100%; height: 100%; min-height: 13rem; object-fit: cover; }

/* The three share the column's full height rather than stopping short and
   leaving the border colour showing under them. */
.lead__plans { display: grid; gap: 1px; background: var(--line);
               border: 1px solid var(--line);
               grid-template-rows: repeat(3, minmax(0, 1fr)); }
.plan { background: var(--sc-surface); padding: .9rem 1.1rem; min-width: 0;
        display: grid; gap: .15rem; align-content: center; }
.plan h2 { margin: 0; font-family: var(--sc-font-display);
           font-variation-settings: "wdth" 96, "wght" 700; font-size: 1.02rem;
           line-height: 1.25; }
.plan p { margin: 0; color: var(--sc-ink-soft); font-size: .88rem; line-height: 1.5; }

/* Both actions are the same shape and sit together, because they are the same
   kind of ask: one books the visit, the other opens the conversation. */
.lead__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.lead__acts .btn { min-width: 12rem; text-align: center; }
.lead__acts .note { flex: 1 1 16rem; }

@media (max-width: 860px) {
  .lead { grid-template-columns: 1fr;
          grid-template-areas: "head" "figure" "plans" "acts"; }
  .lead__figure img { height: clamp(10rem, 24vh, 15rem); min-height: 0; }
}

/* Short laptop screens: pull the opening block in so the three plans still clear
   the fold at 1280x720, which is where the smallest common laptop lands. */
@media (min-width: 861px) and (max-height: 800px) {
  .lead { padding-block: clamp(1rem, 2.5vh, 1.6rem); gap: 1rem 1.75rem; }
  .lead__figure img { min-height: 11rem; }
  .lead__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
  .plan { padding: .75rem 1.1rem; }
}

/* --- brochure flipbook ---------------------------------------------------- */
/* The book sits on the page colour with the spread centred. Pages are plain
   images: without the script they stack and still read, which is the point of
   not rendering the brochure into a canvas. */
/* This page is the book. The head states what it is and gets out of the way. */
.page__head--tight { padding-block: clamp(1.25rem, 2.5vw, 1.75rem); gap: .5rem; }
.page__head--tight .page__title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.flip { display: grid; justify-items: center; gap: 1.25rem;
        padding-top: clamp(1rem, 2vw, 1.5rem); }
.flip__stage { width: 100%; display: flex; justify-content: center; }
.flip__book { margin-inline: auto; }
.flip__page { background: var(--sc-surface); overflow: hidden; }
.flip__page img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Before the script measures the book, the raw pages would stack full width and
   throw the page height around. Show the first one only until it is ready. */
.flip__book:not(.is-ready) .flip__page { display: none; }
.flip__book:not(.is-ready) .flip__page:first-child { display: block; max-width: 34rem; }

.flip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
             gap: .6rem 1rem; }
.flip__nav { width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
             cursor: pointer; border: 1px solid var(--line); background: var(--sc-surface);
             color: var(--sc-ink); font-size: 1.2rem; line-height: 1;
             font-family: var(--sc-font-text); }
.flip__nav:hover { border-color: var(--sc-ink); }
.flip__count { margin: 0; min-width: 4.5rem; text-align: center; font-family: var(--mono);
               font-size: .74rem; letter-spacing: .08em; color: var(--sc-ink-soft); }
.flip__count b { color: var(--sc-ink); font-weight: 500; }

/* The library draws the shadow on the leaf; this is the shadow under the book. */
.flip__stage .stf__parent { filter: drop-shadow(0 18px 40px rgba(11, 31, 23, .18)); }

/* The dock steps out of the way while the page is scrolling down. Nothing here
   applies above 560px, where it is a small box in a corner rather than a band
   across the bottom of the screen. */
@media (max-width: 560px) {
  .dock { transition: transform .25s ease, opacity .25s ease; }
  .dock.is-tucked { transform: translateY(100%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dock { transition: none; }
}

.dock__short { display: none; }
@media (max-width: 560px) {
  .dock__long { display: none; }
  .dock__short { display: inline; }
}
