/* ==========================================================================
   HOME PAGE — the sections below the first screen.

   The page lives INSIDE the centre panel. .hero-scroll is the only scrolling
   element on the desktop: the header and both rails are part of the frame and
   never move.

   DESIGN RULE (2026-08, after the founder's review): the frame around this
   column is already heavy machinery — plates, rivets, bevels, recesses. If
   the column repeats that vocabulary, the eye gets no rest and the content
   drowns (common-region overload). So the body is set EDITORIALLY, like the
   blueprint sheet the hero art sits on:

   - content sits directly on the paper; grouping is done with alignment,
     spacing and engraved hairlines, not boxes;
   - a raised plate is reserved for actual controls — the copper door, the
     final CTA — so "raised" reliably means "pressable";
   - one continuous paper ground from the hero to the dark closing band;
     no tonal banding between sections;
   - one measure: text blocks cap near 60-75ch, the column caps at 1040px.

   Container class is .hp, not .home: .home already belongs to the HOME button
   in the left rail (.plate-dark.home).

   Nothing here duplicates a route — every card links out to a page that
   already exists in app.js.
   ========================================================================== */

.hp {
  /* the shop's materials, declared once (still used by the hidden work
     section and the copper controls) */
  --face:  linear-gradient(180deg, #ded7cb 0%, #d7cfc2 45%, #cec5b7 100%);
  --tray:
    inset 0 2px 3px rgba(0,0,0,.55), inset 0 -2px 0 rgba(0,0,0,.4),
    inset 1px 0 1px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.22);
  --rivet:
    radial-gradient(circle at 2.5px 2.5px, #f4f1ea 0, #f4f1ea .6px, #5a564e 1.1px, #3a3730 1.8px, rgba(0,0,0,0) 2.6px);
  /* the engraved hairline: a dark line with its light return, cut into paper */
  --hairline: rgba(0,0,0,.16);
  --hairline-lit: rgba(255,240,216,.5);

  width: 100%;
  color: var(--ink);
  /* one continuous sheet of the paper the hero art sits on */
  background: linear-gradient(180deg, #e7dbcb 0%, #ddd0bf 100%);
}
.hw { width: min(100% - 96px, 1040px); margin: 0 auto; }

/* ---- the page map: rides the top of the panel, and knows where you are ---- */
.toc-band {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(0,0,0,.25);
  background: linear-gradient(180deg, #eadecd 0%, #e2d5c4 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 14px -12px rgba(0,0,0,.4);
}
.hp-toc {
  width: min(100% - 56px, 1180px); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px;
  padding: 5px 0 4px;
}
.hp-toc a {
  display: inline-flex; align-items: center; min-height: 34px;
  font: 700 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase;
  color: #7a4c22; transition: color .14s;
}
.hp-toc a:hover { color: #4a2c10; }
/* the you-are-here diamond: space is reserved so nothing shifts */
.hp-toc a::before {
  content: ""; width: 6px; height: 6px; margin-right: 8px; flex: none;
  background: #8a5327; transform: rotate(45deg) scale(0);
  transition: transform .18s;
}
.hp-toc a.is-here { color: #4a2c10; }
.hp-toc a.is-here::before { transform: rotate(45deg) scale(1); }

/* ---- the scroller --------------------------------------------------------- */
.hero-scroll {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(70,62,50,.5) transparent;
}
.hero-scroll::-webkit-scrollbar { width: 9px; }
.hero-scroll::-webkit-scrollbar-thumb { background: rgba(70,62,50,.45); border-radius: 5px; }
.hero-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,.1); }
/* the first screen keeps its own box so every measured coordinate inside it
   still resolves against the same origin */
.hero-screen { position: relative; height: 871px; }
/* a route page replaces the home content rather than sitting above it */
.has-view .hp { display: none; }
.has-view .hero-scroll { overflow: hidden; }

/* ---- sections: one warm family, several tones ------------------------------
   Still no boxes — the variety comes from the sheet itself changing material:
   parchment → warm tan → pale cream → parchment → dark leather → cream →
   charcoal. All one family (the hero's paper, copper and umber), so the page
   gains colour without gaining noise. A seam is engraved wherever the
   material changes. */
.hs { padding: 92px 0; position: relative; }
.hs + .hs:not(.hs-cta):not(.hs-conf)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(180deg, rgba(59,42,24,.42) 0 1px, rgba(255,238,214,.42) 1px 2px);
}
.hs-paths, .hs-who { background: linear-gradient(180deg, #f1e8d9 0%, #eadfcd 100%); }
/* the spec sheet sits on the rails' own steel — hard facts on a data plate */
.hs-caps  { background: linear-gradient(180deg, #d9d5cc 0%, #cdc8bc 100%); }
/* the working agreement sits on dark leather — the page's mid-scroll anchor */
.hs-conf {
  background: linear-gradient(180deg, #41301e 0%, #372a19 55%, #2f2415 100%);
  color: #e9decb;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.5), inset 0 3px 0 rgba(255,235,205,.06);
}
.hs-conf .hs-eyebrow { color: #d09a5e; text-shadow: none; }
.hs-conf .hs-h { color: #f2e7d4; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
/* the closing plate is the same dark steel as the HOME bar */
.hs-cta {
  background: linear-gradient(180deg, #26261f 0%, #1c1c19 45%, #131311 100%);
  color: #ece5da; padding-bottom: 64px;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.6), inset 0 3px 0 rgba(255,255,255,.07);
}

/* ---- section headings ----------------------------------------------------- */
/* Every section head is a drawing-sheet title bar: copper dash, the label, an
   engraved rule running the full width, and the section's own line-drawn mark
   at its end. The mark is the landmark — the eye can find a section from
   three screens away without reading a word. */
.hs-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 700 11.5px/1 var(--label); letter-spacing: .24em; text-transform: uppercase;
  color: #7f4d1c; margin: 0 0 22px;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.hs-eyebrow::before { content: ""; width: 26px; height: 2px; flex: none; background: #a5713f; }
.hs-rule {
  flex: 1; height: 2px; align-self: center;
  background: linear-gradient(180deg, rgba(59,42,24,.38) 0 1px, rgba(255,238,214,.45) 1px 2px);
}
.hs-mark { width: 60px; height: 60px; flex: none; color: #96602f; margin: -8px 0; }
.hs-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)); }
.hs-mark-q {
  width: auto; height: auto; margin: -18px 0;
  font: 600 58px/1 var(--serif); color: rgba(143,90,37,.55);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.hs-conf .hs-rule { background: linear-gradient(180deg, rgba(0,0,0,.5) 0 1px, rgba(255,235,205,.14) 1px 2px); }
.hs-conf .hs-mark { color: #c08b4e; }
.hs-conf .hs-mark svg { filter: none; }
.hs-cta .hs-eyebrow { color: #d09a5e; text-shadow: none; }
.hs-h {
  font: 600 36px/1.1 var(--serif); letter-spacing: -.014em;
  color: #14110d; margin: 0 0 20px; text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
/* the two "door" moments speak louder than the reference sections between them */
.hs-begin .hs-h, .hs-cta .hs-h { font-size: 42px; }
/* the hero headline's copper full stop, carried through every section */
.hs-h .dot { color: #8f5a25; }
.hs-conf .hs-h .dot, .hs-cta .hs-h .dot { color: #d09a5e; text-shadow: none; }
.hs-cta .hs-h { color: #f4ede1; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.hs-lede { font: 400 17px/28px var(--sans); color: #48402f; max-width: 60ch; margin: 0 0 40px; }
.hs-cta .hs-lede { color: #c1b7a7; }
.hs-note {
  font: 400 14.5px/24px var(--sans); color: #574d40; max-width: 64ch; margin: 28px 0 0;
  padding: 10px 0 10px 18px; border-left: 3px solid #a5713f;
  background: linear-gradient(90deg, rgba(165,113,63,.11), rgba(165,113,63,0) 70%);
}
.hs-cta .hs-note { color: #b0a696; border-left-color: #c08b4e; background: linear-gradient(90deg, rgba(192,139,78,.14), transparent 70%); }

.lnk {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font: 700 13.5px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: #7a4c22;
}
.lnk:hover { color: #5d3413; }
.arw {
  width: 15px; height: 9px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 4px / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 0 / 1.5px 7px no-repeat;
  transform: rotate(-45deg) translateX(1px); transition: transform .16s;
}
.lnk:hover .arw, .door:hover .arw, .cta-card:hover .arw { transform: rotate(-45deg) translateX(4px); }

/* ---- 2. where to begin: an index of starting points ----------------------- */
/* Set as a two-column engraved index, not a wall of buttons. Each row IS a
   control (it opens the form pre-filled), so it keeps a resting arrow and a
   generous 48px target — but the grouping is done by rules and alignment. */
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; list-style: none; padding: 0; margin: 0; }
.inputs li {
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 0 var(--hairline-lit);
}
.inputs li:nth-child(-n+2) {
  border-top: 1px solid var(--hairline);
  position: relative;
}
.inputs li:nth-child(-n+2)::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 1px;
  background: var(--hairline-lit);
}
.inputs a {
  display: flex; align-items: center; position: relative; min-height: 48px;
  padding: 12px 34px 12px 24px;
  font: 500 15px/22px var(--label); color: #2f2820; letter-spacing: .015em;
  transition: color .14s, background .14s;
}
.inputs a::before {
  content: ""; position: absolute; left: 2px; top: calc(50% - 4px); width: 7px; height: 7px;
  background: #8a5327; transform: rotate(45deg);
  box-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.inputs a .arw {
  position: absolute; right: 6px; top: calc(50% - 4px);
  color: #7a4c22; opacity: .3; transition: opacity .16s, transform .16s;
}
.inputs a::before { transition: transform .16s, background .16s; }
.inputs a:hover { color: #5d3413; background: linear-gradient(90deg, rgba(165,113,63,.14), rgba(165,113,63,0) 70%); }
.inputs a:hover::before { transform: rotate(45deg) scale(1.3); background: #7a4213; }
.inputs a:hover .arw, .inputs a:focus-visible .arw { opacity: 1; transform: rotate(-45deg) translateX(3px); }
/* the advisor: the section's spoken answer, centred under the schematic */
.advisor {
  margin: 4px auto 0; min-height: 56px; max-width: 74ch; text-align: center;
  font: italic 500 16.5px/28px var(--serif); color: #5d3413;
}
/* the situations filter, riding in the sticky head */
.sit-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.sit-filter button {
  font: 700 11.5px/1 var(--label); letter-spacing: .08em; text-transform: uppercase;
  color: #7a4c22; background: none; border: 1px solid rgba(122,76,34,.45); border-radius: 2px;
  padding: 9px 13px; min-height: 36px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.sit-filter button:hover { border-color: #7a4213; color: #5d3413; }
.sit-filter button.is-on { background: #8a5327; border-color: #8a5327; color: #fbf1e2; }
.sit-filter button:focus-visible { outline: 2px solid #b87333; outline-offset: 2px; }
.path { transition: opacity .28s, filter .28s; }
.path-dim { opacity: .2; filter: saturate(.5); }

/* the translation made tangible, out loud: rest a finger on an input and the
   intake lines run their current into the node, the node beats, the right
   branch carries the current on into its door, the door steps forward with a
   copper wash — and the other door steps well back. Works from the keyboard
   too (:focus-visible). */
.hw:has(.inputs a[data-door]:hover) .door,
.hw:has(.inputs a[data-door]:focus-visible) .door { opacity: .35; }
.hw:has(.inputs a[data-door="guided"]:hover) .door-a,
.hw:has(.inputs a[data-door="guided"]:focus-visible) .door-a,
.hw:has(.inputs a[data-door="tech"]:hover) .door:not(.door-a),
.hw:has(.inputs a[data-door="tech"]:focus-visible) .door:not(.door-a) {
  opacity: 1; transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(165,113,63,.13), rgba(165,113,63,0) 74%);
  box-shadow: 0 14px 26px -18px rgba(80,46,14,.55);
}
.hw:has(.inputs a[data-door="guided"]:hover) .door-a,
.hw:has(.inputs a[data-door="guided"]:focus-visible) .door-a { border-top-color: #8a5327; }
.hw:has(.inputs a[data-door="guided"]:hover) .door-a b,
.hw:has(.inputs a[data-door="guided"]:focus-visible) .door-a b { color: #5d3413; }
.hw:has(.inputs a[data-door="tech"]:hover) .door:not(.door-a),
.hw:has(.inputs a[data-door="tech"]:focus-visible) .door:not(.door-a) { border-top-color: rgba(0,0,0,.5); }
.hw:has(.inputs a[data-door="guided"]:hover) .door-a .arw,
.hw:has(.inputs a[data-door="guided"]:focus-visible) .door-a .arw,
.hw:has(.inputs a[data-door="tech"]:hover) .door:not(.door-a) .arw,
.hw:has(.inputs a[data-door="tech"]:focus-visible) .door:not(.door-a) .arw {
  transform: rotate(-45deg) translateX(4px);
}
/* the current: flowing dashes along the schematic (pathLength=1 units).
   Only the hovered COLUMN's intake line runs — grid auto-placement puts the
   odd rows in the left column and the even rows in the right. */
.hw:has(.inputs li:nth-child(odd) a[data-door]:hover) .route-in.route-l,
.hw:has(.inputs li:nth-child(odd) a[data-door]:focus-visible) .route-in.route-l,
.hw:has(.inputs li:nth-child(even) a[data-door]:hover) .route-in.route-r,
.hw:has(.inputs li:nth-child(even) a[data-door]:focus-visible) .route-in.route-r {
  stroke: #8a5327; stroke-dasharray: .05 .05; animation: route-flow .55s linear infinite;
}
.hw:has(.inputs li:nth-child(odd) a[data-door]:hover) .route-in.route-r,
.hw:has(.inputs li:nth-child(odd) a[data-door]:focus-visible) .route-in.route-r,
.hw:has(.inputs li:nth-child(even) a[data-door]:hover) .route-in.route-l,
.hw:has(.inputs li:nth-child(even) a[data-door]:focus-visible) .route-in.route-l {
  stroke: rgba(122,76,34,.18);
}
.hw:has(.inputs a[data-door="guided"]:hover) .route-out.route-l,
.hw:has(.inputs a[data-door="guided"]:focus-visible) .route-out.route-l,
.hw:has(.inputs a[data-door="tech"]:hover) .route-out.route-r,
.hw:has(.inputs a[data-door="tech"]:focus-visible) .route-out.route-r {
  stroke: #7a4213; stroke-width: 2.5; stroke-dasharray: .05 .05; animation: route-flow .55s linear infinite;
}
.hw:has(.inputs a[data-door="guided"]:hover) .route-out.route-r,
.hw:has(.inputs a[data-door="tech"]:hover) .route-out.route-l { stroke: rgba(122,76,34,.18); }
@keyframes route-flow { to { stroke-dashoffset: -0.1; } }
/* the node beats while current passes */
.route-node { transform-box: fill-box; transform-origin: center; }
.hw:has(.inputs a[data-door]:hover) .route-node,
.hw:has(.inputs a[data-door]:focus-visible) .route-node {
  animation: node-beat .9s ease-in-out infinite; fill: #7a4213;
}
@keyframes node-beat {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50%      { transform: rotate(45deg) scale(1.5); }
}

/* ---- 2b. the two doors ---------------------------------------------------- */
/* The ONLY raised plates in the light sections. The guided door is the same
   copper as UPLOAD in the rail; the technical door is an engraved outline —
   present, quieter, never the lesser option in copy or position. */
/* No cards. The two doors are ledger entries side by side: hierarchy comes
   from the rule above each column — a heavy copper bar over the guided path,
   a neutral hairline over the technical one — and an engraved divider
   between them. Nothing floats, nothing has corners. */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; margin-top: 46px; position: relative; }
.doors::before {
  content: ""; position: absolute; left: calc(50% - 1px); top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(90deg, rgba(59,42,24,.3) 0 1px, rgba(255,238,214,.42) 1px 2px);
}
.door {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 18px 0 6px;
  border-top: 2px solid rgba(0,0,0,.28);
  transition: border-color .16s, transform .16s, opacity .16s;
}
.door-a { border-top: 4px solid #a5713f; padding-top: 17px; }
.door b { display: block; font: 600 24px/1.2 var(--serif); color: #14110d; margin: 0 0 8px; transition: color .14s; }
.door > span:not(.way-cta):not(.door-formats) { display: block; font: 400 14.5px/23px var(--sans); color: #4a463d; margin: 0 0 16px; max-width: 44ch; }
.way-cta {
  display: inline-flex; align-items: center; gap: 9px; min-height: 34px;
  font: 700 13px/1 var(--label); letter-spacing: .07em; text-transform: uppercase; color: #7a4c22;
}
.door .way-cta { margin-top: auto; }
/* inside the doors these are BUTTONS in the header's own vocabulary — the
   Get-a-quote construction: a machined steel rim, corner rivets, a glossy
   inset face (charcoal for the technical door, copper for the guided one),
   centred in the door's column */
.door .way-cta, .cta-card .way-cta {
  align-self: center;
  min-width: 224px; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 6px;
  border: 4px solid transparent;
  font: 500 15.5px/1 var(--sans); letter-spacing: .01em; text-transform: none;
  color: #fff;
  background:
    var(--rivet) left 2px top 2px / 5px 5px no-repeat border-box,
    var(--rivet) right 2px top 2px / 5px 5px no-repeat border-box,
    var(--rivet) left 2px bottom 2px / 5px 5px no-repeat border-box,
    var(--rivet) right 2px bottom 2px / 5px 5px no-repeat border-box,
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 45%, rgba(255,255,255,0) 52%) padding-box,
    linear-gradient(180deg, #262523 0%, #1c1c19 45%, #161614 100%) padding-box,
    linear-gradient(180deg, #e2ded6 0%, #a8a49c 18%, #5c5953 45%, #3b3934 60%, #55524c 85%, #7d7972 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.5), 0 2px 3px rgba(0,0,0,.55),
    0 12px 16px -2px rgba(45,35,25,.5), 0 4px 10px rgba(45,35,25,.3);
  transition: transform .16s, box-shadow .16s, filter .16s;
}
.door-a .way-cta, .cta-a .way-cta {
  color: #fff3e3;
  background:
    var(--rivet) left 2px top 2px / 5px 5px no-repeat border-box,
    var(--rivet) right 2px top 2px / 5px 5px no-repeat border-box,
    var(--rivet) left 2px bottom 2px / 5px 5px no-repeat border-box,
    var(--rivet) right 2px bottom 2px / 5px 5px no-repeat border-box,
    linear-gradient(180deg, rgba(255,235,205,.22) 0%, rgba(255,235,205,.07) 45%, rgba(255,235,205,0) 52%) padding-box,
    linear-gradient(180deg, #935f33 0%, #7d502c 45%, #6a4325 100%) padding-box,
    linear-gradient(180deg, #e2ded6 0%, #a8a49c 18%, #5c5953 45%, #3b3934 60%, #55524c 85%, #7d7972 100%) border-box;
}
/* the rim's daylight catchlight is toned down on the dark closing band */
.hs-cta .door .way-cta, .hs-cta .cta-card .way-cta {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.16), 0 2px 3px rgba(0,0,0,.6),
    0 12px 16px -2px rgba(0,0,0,.5);
}
.door:hover .way-cta, .cta-card:hover .way-cta {
  transform: translateY(-1px); filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.5), 0 3px 5px rgba(0,0,0,.5),
    0 16px 22px -4px rgba(45,35,25,.55);
}
.door:hover b { color: #5d3413; }
.door:hover { border-top-color: rgba(0,0,0,.4); }
.door-a:hover { border-top-color: #8a5327; }
.hs-orient { font: 400 14.5px/24px var(--sans); color: #6b5f4e; margin: 26px 0 0; max-width: 66ch; }
/* in Where to begin both closing lines sit on the section's centre axis; the
   note trades its side bar for a centred copper dash */
/* the full-width sections sit on a centre axis: head, lede, notes and their
   closing links. The side-spread sections (situations, how-we-work) keep
   their own geometry. Centred notes trade the side bar for a copper dash. */
.hs-begin .hs-h, .hs-caps .hs-h, .hs-flow .hs-h, .hs-work .hs-h { text-align: center; }
.hs-begin .hs-lede, .hs-caps .hs-lede, .hs-flow .hs-lede, .hs-work .hs-lede {
  margin-left: auto; margin-right: auto; text-align: center;
}
.hs-begin .hs-note, .hs-flow .hs-note, .hs-work .hs-note {
  margin: 32px auto 0; max-width: 64ch; text-align: center;
  border-left: none; background: none; padding: 16px 0 0;
  position: relative;
}
.hs-begin .hs-note::before, .hs-flow .hs-note::before, .hs-work .hs-note::before {
  content: ""; position: absolute; top: 0; left: calc(50% - 13px);
  width: 26px; height: 2px; background: #a5713f;
}
.hs-begin .hs-orient { margin: 20px auto 0; text-align: center; }
/* the flow's foot: note and the nine-step link centred beside the detail */
.hs-flow .sec-foot > div { flex: 1; text-align: center; }
.hs-flow .sec-foot .hs-note { margin-top: 0; }
/* the gallery line under the reserved frames */
.hs-work p:has(> .lnk) { text-align: center; }

/* ---- 3. familiar situations: a magazine spread ----------------------------- */
/* The section head lives in a side column and stays put (sticky inside the
   panel) while the seven situations scroll past it — a different geometry
   from every other section on the page. */
.hw-split { display: grid; grid-template-columns: 300px 1fr; gap: 0 64px; align-items: start; }
/* the mirrored spread: on the leather band the head sits right, body left */
.hw-split-r { grid-template-columns: 1fr 300px; }
.hw-split-r .split-head { order: 2; }
.hw-split-r .split-body { order: 1; }
.hs-conf .split-mark { color: #c08b4e; }
.hs-conf .split-mark svg { filter: none; }
.hs-conf .conf { grid-template-columns: 1fr; }
.hs-conf .conf li:nth-child(2) { border-top: none; }
.split-head { position: sticky; top: 28px; }
.split-head .hs-eyebrow { margin-bottom: 16px; }
.split-head .hs-h { font-size: 30px; margin-bottom: 16px; }
.split-head .hs-lede { font-size: 15px; line-height: 25px; margin-bottom: 30px; }
.split-mark { display: block; width: 96px; height: 96px; color: #a5713f; opacity: .5; }
.split-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)); }
.split-body { min-width: 0; }

/* ---- 3b. the situation rows ------------------------------------------------ */
/* One column of engraved rows. Each row: small line icon in the left gutter,
   a serif headline that navigates, the you-bring/you-get line, and a plain
   small-caps line naming where it leads. Unnumbered on purpose — these are
   alternatives, not a sequence. */
.paths { list-style: none; margin: 0; padding: 0; }
.path {
  position: relative; padding: 28px 16px 26px 62px;
  border-top: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 var(--hairline-lit);
}
.paths .path:last-child {
  border-bottom: 1px solid var(--hairline);
}
.path-ic {
  position: absolute; left: 0; top: 31px; width: 30px; height: 30px;
  color: #8a5327;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.4));
}
.path h3 { font: 600 20px/1.25 var(--serif); color: #14110d; margin: 0 0 9px; }
.path-t { color: inherit; }
.path-t:hover { color: #5d3413; }
.path-t .arw { display: inline-block; margin-left: 8px; vertical-align: middle; color: #7a4c22; opacity: .4; }
.path-t:hover .arw { opacity: 1; transform: rotate(-45deg) translateX(4px); }
.path-flow { font: 400 15px/25px var(--sans); color: #4a4238; margin: 0 0 10px; max-width: 72ch; }
.path-flow b { font-weight: 700; color: #2c261f; }
.sep {
  display: inline-block; width: 22px; height: 3px; vertical-align: middle; margin: 0 5px;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0 1px, rgba(255,255,255,.5) 1px 2px, transparent 2px);
}
/* where it leads: quiet small-caps text links, no chip boxes */
.path-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0; }
.pl-k {
  font: 700 10.5px/1 var(--label); letter-spacing: .15em; text-transform: uppercase;
  color: #877a66;
}
.path-links a {
  display: inline-flex; align-items: center; min-height: 28px;
  font: 700 12px/1 var(--label); letter-spacing: .07em; text-transform: uppercase;
  color: #6b4520;
  border-bottom: 1px solid rgba(107,69,32,.35);
}
.path-links a:hover { color: #4a2c10; border-bottom-color: currentColor; }
/* resting on a situation row answers in the right rail: its goal card takes
   a copper frame — the same translation the doors above make tangible */
.features .card.rail-echo { outline: 2px solid rgba(165,113,63,.65); outline-offset: -1px; }

/* the quantity note closes the index as a marginal aside, not another card */
.path.qty {
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, rgba(165,113,63,.08), rgba(165,113,63,0) 62%);
}
.qty-k {
  font: 700 10.5px/1 var(--label); letter-spacing: .2em; text-transform: uppercase;
  color: #7f4d1c; margin: 0 0 8px; text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.qty h3 { font: 600 20px/1.25 var(--serif); color: #14110d; margin: 0 0 9px; }
.qty-list { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 12px; padding: 0; list-style: none; }
.qty-list li { font: 500 13.5px/20px var(--label); color: #4a4238; padding-left: 15px; position: relative; }
.qty-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px;
  background: #8a5327; transform: rotate(45deg); box-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.qty-note { font: 400 13.5px/21px var(--sans); color: #574d40; margin: 0; max-width: 66ch; }

/* ---- 4. capabilities: a real data plate ------------------------------------- */
/* The one place a raised plate is semantically true: a specification plate,
   the kind riveted to a machine. Solid face, corner rivets, a stamped title
   bar, firmly ruled rows and confident type. */
.caps-plate {
  position: relative; max-width: 960px; margin: 0 auto;
  padding: 24px 36px 14px; border-radius: 4px;
  background: linear-gradient(180deg, #e5e1d8 0%, #d8d3c8 55%, #ccc7ba 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.45),
    inset 1px 0 0 rgba(255,255,255,.4), inset -1px 0 0 rgba(0,0,0,.2),
    0 1px 0 rgba(0,0,0,.35), 0 14px 30px -14px rgba(0,0,0,.45);
}
.caps-plate::before, .caps-plate::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 8px;
  background:
    radial-gradient(circle at 4px 4px, #f6f3ec 0, #f6f3ec 1px, #5a564e 2px, #3a3730 3px, rgba(0,0,0,0) 4.2px) left center / 8px 8px no-repeat,
    radial-gradient(circle at 4px 4px, #f6f3ec 0, #f6f3ec 1px, #5a564e 2px, #3a3730 3px, rgba(0,0,0,0) 4.2px) right center / 8px 8px no-repeat;
  pointer-events: none;
}
.caps-plate::before { top: 11px; }
.caps-plate::after { bottom: 11px; }
.caps-title {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font: 800 11px/1 var(--label); letter-spacing: .26em; text-transform: uppercase;
  color: #4f4334; padding: 2px 0 14px; margin: 0 0 2px;
  border-bottom: 2px solid rgba(59,42,24,.55);
  box-shadow: 0 1px 0 rgba(255,240,216,.65);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.caps { margin: 0; }
.caps > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 0 34px;
  padding: 16px 0 15px; position: relative;
  border-bottom: 1px solid rgba(59,42,24,.35);
  box-shadow: 0 1px 0 rgba(255,240,216,.6);
  transition: background .15s;
}
.caps > div:last-of-type { border-bottom: none; box-shadow: none; }
/* the measure line: rest on a row and a copper datum marks it */
.caps > div::before {
  content: ""; position: absolute; left: -22px; top: 15px; bottom: 14px; width: 3px;
  background: #a5713f; opacity: 0; transition: opacity .15s;
}
.caps > div:hover { background: linear-gradient(90deg, rgba(165,113,63,.09), rgba(165,113,63,0) 70%); }
.caps > div:hover::before { opacity: 1; }
.caps > div:hover dt { color: #7a4213; }
.caps dt {
  font: 800 12px/23px var(--label); letter-spacing: .16em; text-transform: uppercase;
  color: #3f3527; align-self: start; padding-top: 1px;
  transition: color .15s;
}
.caps dd { margin: 0; font: 600 15px/25px var(--label); color: #201a12; letter-spacing: .01em; }
.caps-cta { display: flex; gap: 34px; margin: 26px 0 0; }
.door-formats {
  display: block; margin: -8px 0 16px;
  font: 700 11px/1 var(--label); letter-spacing: .12em; text-transform: uppercase;
  color: #877a66;
}

/* ---- 5. how a project moves: stations on the drawing ---------------------- */
/* The hero's own language — numbered stations on a dashed conveyor path,
   drawn flat on the paper. */
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 22px; position: relative; --prog: 0; }
.steps li { position: relative; padding: 0 2px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 50px; right: -24px;
  border-top: 2px dashed rgba(122,76,34,.55);
}
/* the copper diamond — the shop's own marker — rides the line as you scroll.
   Its travel runs exactly from the centre of station 01 to the centre of
   station 05: with five equal columns and a 22px gap, station i sits at
   i·(100% + 22px)/5 + 24px, so the full span is 80% + 17.6px. The diamond
   (13px wide) starts at 24px − 6.5px and slips UNDER each disc as it
   passes (the discs carry the higher z-index). */
.steps::before {
  content: ""; position: absolute; z-index: 2;
  top: 15.5px; left: calc(17.5px + (80% + 17.6px) * var(--prog));
  width: 13px; height: 13px; transform: rotate(45deg);
  background: linear-gradient(135deg, #b0784a 0%, #7d502c 100%);
  border: 1px solid rgba(0,0,0,.4);
  box-shadow: 0 1px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,220,180,.45);
}
/* the stations wait in steel and take the copper as the diamond passes */
.stp {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  font: 600 14px/1 var(--label); letter-spacing: .04em; color: #f3efe6;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  background-color: #8d8579;
  border: 1px solid rgba(0,0,0,.38);
  box-shadow:
    inset 0 0 0 3px rgba(255,245,230,.16), inset 0 0 0 4px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,220,180,.22), 0 1px 0 rgba(255,255,255,.35);
  margin: 0 0 16px;
  transition: background-color .35s, color .35s;
}
.steps li.lit .stp { background-color: #926034; color: #f6ead9; }
.steps h3 { font: 700 15px/20px var(--label); color: #14110d; margin: 0 0 7px; letter-spacing: .02em; }
.steps p  { font: 400 13.5px/20px var(--sans); color: #4d4539; margin: 0; }

/* ---- the reserved photograph: a drafting hold, not a broken frame ---------
   A hatched plate with a dashed keep-out line and a caption naming exactly
   what will stand there. Used wherever real photography belongs; swap the
   figure for a real <img> when the shot exists. */
.ph-slot {
  position: relative; margin: 0; border-radius: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(90,78,62,.07) 0 10px, rgba(90,78,62,0) 10px 20px),
    linear-gradient(180deg, #cdc4b4 0%, #c4bbaa 100%);
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.26), inset 0 -1px 0 rgba(255,255,255,.35),
    inset 1px 0 1px rgba(0,0,0,.14), 0 1px 0 rgba(255,255,255,.4);
}
.ph-slot::before {
  content: ""; position: absolute; inset: 9px; border-radius: 1px;
  border: 1px dashed rgba(122,76,34,.45); pointer-events: none;
}
.ph-k {
  font: 700 10px/1 var(--label); letter-spacing: .26em; text-transform: uppercase;
  color: #8a5327;
}
.ph-cap { font: 400 14px/20px var(--sans); color: #6b5f4e; text-align: center; max-width: 34ch; }
.split-head .ph-slot { margin: 0 0 26px; }
.ph-slot-wide { max-width: 880px; margin: 34px auto 0; }
/* on the leather band the hold flips to the dark stock */
.hs-conf .ph-slot {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.14) 0 10px, rgba(0,0,0,0) 10px 20px),
    linear-gradient(180deg, #4a3826 0%, #3f2f1e 100%);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.5), inset 0 -1px 0 rgba(255,235,205,.08);
}
.hs-conf .ph-slot::before { border-color: rgba(192,139,78,.4); }
.hs-conf .ph-k { color: #c08b4e; }
.hs-conf .ph-cap { color: #b3a48c; }

/* ---- 5. work — the three frames held for real projects -------------------- */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wk-wide { grid-column: 1 / -1; }
.wk { padding: 10px; }
.wk .ph-slot { height: 100%; }
.wk {
  overflow: hidden; border-radius: 3px;
  background: var(--face);
  box-shadow: 0 1px 0 rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.5), 0 3px 7px rgba(0,0,0,.14);
}
.ph {
  margin: 0; aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(90,78,62,.08) 0 10px, rgba(90,78,62,0) 10px 20px),
    linear-gradient(180deg, #c9c0b1 0%, #c0b7a7 100%);
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.3), inset 0 -1px 0 rgba(255,255,255,.35),
    inset 1px 0 1px rgba(0,0,0,.16);
}
.wk-b { padding: 18px 20px 20px; }
.wk-t { min-height: 20px; margin: 0 0 13px; font: 600 18px/22px var(--serif); color: #14110d; }
.wk-d { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.wk-d dt { font: 700 10.5px/16px var(--label); letter-spacing: .14em; text-transform: uppercase; color: #877a66; }
.wk-d dd {
  margin: 0; min-height: 16px;
  background: linear-gradient(180deg, transparent calc(100% - 2px), rgba(0,0,0,.32) calc(100% - 2px), rgba(255,255,255,.4) 100%);
}

/* ---- 6. who we build for: a centred colophon band -------------------------- */
/* The one centre-axis moment on the page — mark above, symmetric dashes,
   the audiences flowing as a centred field. */
.hw-centered { text-align: center; }
.who-mark { margin: 0 0 16px; text-align: center; }
.who-mark svg {
  width: 62px; height: 62px; display: inline-block; color: #96602f;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35));
}
.hs-eyebrow-c { justify-content: center; }
.hs-eyebrow-c::after { content: ""; width: 26px; height: 2px; flex: none; background: #a5713f; }
.hw-centered .hs-h { margin-bottom: 28px; }
.who {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 38px;
  max-width: 880px; margin: 0 auto 18px; padding: 0; list-style: none;
}
.who li {
  padding: 3px 0 3px 20px; position: relative;
  font: 500 14.5px/22px var(--label); color: #2f2820; letter-spacing: .015em;
  animation: who-call 18s linear infinite;
}
.who li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px;
  background: #8a5327; transform: rotate(45deg); box-shadow: 0 1px 0 rgba(255,255,255,.5);
  animation: who-diamond 18s linear infinite; animation-delay: inherit;
}
/* the roll-call: each audience takes the copper for a moment, in turn */
@keyframes who-call    { 0%, 100% { color: #2f2820; } 3%, 8% { color: #7a4213; } 11% { color: #2f2820; } }
@keyframes who-diamond { 0%, 100% { background: #8a5327; } 3%, 8% { background: #c08b4e; } 11% { background: #8a5327; } }
.who li:nth-child(1) { animation-delay: 0s; }
.who li:nth-child(2) { animation-delay: 2s; }
.who li:nth-child(3) { animation-delay: 4s; }
.who li:nth-child(4) { animation-delay: 6s; }
.who li:nth-child(5) { animation-delay: 8s; }
.who li:nth-child(6) { animation-delay: 10s; }
.who li:nth-child(7) { animation-delay: 12s; }
.who li:nth-child(8) { animation-delay: 14s; }
.who li:nth-child(9) { animation-delay: 16s; }

/* ---- 7. how we work: the working agreement -------------------------------- */
.conf { display: grid; grid-template-columns: 1fr 1fr; gap: 0 52px; margin: 0; padding: 0; list-style: none; }
.conf li {
  padding: 22px 0 22px 22px; position: relative;
  border-bottom: 1px solid var(--hairline); box-shadow: 0 1px 0 var(--hairline-lit);
}
.conf li:nth-child(-n+2) { border-top: 1px solid var(--hairline); }
.conf li::before {
  content: ""; position: absolute; left: 0; top: 27px; width: 8px; height: 8px;
  background: #8a5327; transform: rotate(45deg); box-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.conf h3 { font: 700 15px/21px var(--label); color: #14110d; margin: 0 0 6px; letter-spacing: .015em; }
.conf p  { font: 400 14.5px/23px var(--sans); color: #4d4539; margin: 0; }
/* on the dark leather band the engraving flips: light returns, copper studs */
.hs-conf .conf li { border-bottom-color: rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(255,235,205,.09); }
.hs-conf .conf li:nth-child(-n+2) { border-top-color: rgba(0,0,0,.45); }
.hs-conf .conf li::before { background: #c08b4e; box-shadow: 0 1px 0 rgba(0,0,0,.45); }
.hs-conf .conf h3 { color: #f2e7d4; }
.hs-conf .conf p  { color: #c9bba3; }

/* ---- 8. questions, in two topic columns ------------------------------------ */
/* Engraved index rows, open-in-place. No plates: the chevron and the rule
   carry the affordance. */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: start; }
.faq-label {
  font: 700 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase;
  color: #7f4d1c; margin: 0 0 6px; text-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.faq { display: block; }
.faq details {
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 0 var(--hairline-lit);
}
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 36px 15px 0; position: relative;
  font: 600 15.5px/23px var(--sans); color: #14110d; min-height: 44px;
  transition: color .14s, padding-left .18s;
}
.faq summary:hover { color: #5d3413; }
/* the copper diamond pins the question under your hand, and stays on the
   open ones so you can see what you have pulled out */
.faq summary::before {
  content: ""; position: absolute; left: 0; top: 23px; width: 7px; height: 7px;
  background: #8a5327; transform: rotate(45deg) scale(0);
  transition: transform .18s;
}
.faq summary:hover, .faq:not(.faq-js) details[open] summary, .faq details.is-open summary { padding-left: 19px; }
.faq summary:hover::before, .faq:not(.faq-js) details[open] summary::before,
.faq details.is-open summary::before { transform: rotate(45deg) scale(1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 21px; width: 9px; height: 9px;
  border-right: 1.5px solid #8a5327; border-bottom: 1.5px solid #8a5327;
  transform: rotate(45deg); transition: transform .18s;
}
.faq:not(.faq-js) details[open] summary::after,
.faq details.is-open summary::after { transform: rotate(-135deg); top: 25px; }
.faq details p {
  padding: 0 36px 18px 0; margin: 0;
  font: 400 15px/25px var(--sans); color: #4d4539;
  box-sizing: border-box; overflow: hidden;
  transition: height .34s cubic-bezier(.45,0,.2,1), padding-bottom .34s cubic-bezier(.45,0,.2,1), opacity .24s ease;
}

/* ---- final intake: the same two ledger entries, on the dark plate ---------- */
.cta-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; position: relative; }
.cta-2::before {
  content: ""; position: absolute; left: calc(50% - 1px); top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0 1px, rgba(236,229,218,.14) 1px 2px);
}
.cta-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 18px 0 6px;
  border-top: 2px solid rgba(236,229,218,.1);
  transition: border-color .6s ease, opacity .16s;
}
.cta-a { border-top: 4px solid rgba(192,139,78,.2); padding-top: 17px; }
/* the bars take power as the ending comes into view, guided door first */
.cta-2.armed .cta-a { border-top-color: #c08b4e; }
.cta-2.armed .cta-card:not(.cta-a) { border-top-color: rgba(236,229,218,.28); transition-delay: .18s; }
/* rest on one door and the other steps back, same as the doors above */
.cta-2:has(.cta-card:hover) .cta-card:not(:hover) { opacity: .55; }
.cta-2.armed .cta-card:hover { border-top-color: rgba(236,229,218,.45); transition: border-color .16s, opacity .16s; }
.cta-2.armed .cta-a:hover { border-top-color: #e0a468; }
.cta-card h3 { font: 600 24px/1.2 var(--serif); color: #f4ede1; margin: 0 0 8px; transition: color .14s; }
.cta-card:hover h3 { color: #ffe9cd; }
.cta-card p  { font: 400 14.5px/22px var(--sans); color: #b0a696; margin: 0 0 16px; max-width: 44ch; }
.cta-card .way-cta { margin-top: auto; }

.hfoot {
  display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 50px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.6); box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset;
}
.hfoot a {
  min-height: 44px; display: inline-flex; align-items: center;
  font: 700 12.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: #b9b0a2;
}
.hfoot a:hover { color: #e0a468; }
.hfoot-loc {
  margin: 6px 0 0; font: 500 11.5px/1.6 var(--label); letter-spacing: .18em;
  text-transform: uppercase; color: #948b7d;
}
.hfoot-mail { color: #b9b0a2; letter-spacing: .1em; text-transform: none; }
.hfoot-mail:hover { color: #e0a468; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Safari paints its blue ring around ANY element focused from script — and
   we focus the landing section after every page-map jump so assistive tech
   follows. The landing is programmatic, not keyboard: no ring. Interactive
   controls keep their copper focus-visible ring below. */
.hp .hs:focus, #home-more:focus, .hp [tabindex="-1"]:focus { outline: none; }

/* focus — same copper ring the dialog fields use */
.inputs a:focus-visible, .door:focus-visible, .path-t:focus-visible,
.path-links a:focus-visible, .cta-card:focus-visible, .lnk:focus-visible {
  outline: 2px solid #b87333; outline-offset: 2px;
}

/* skip link — visible only when focused, and above the canvas when it is */
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 10000;
  padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center;
  background: #14110d; color: #f4ede1; border-radius: 3px;
  font: 700 13px/1 var(--label); letter-spacing: .06em;
  transition: top .14s;
}
.skip:focus-visible { top: 12px; outline: 2px solid #e0a468; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .door, .cta-card, .inputs a, .inputs a .arw, .arw, .faq summary, .faq summary::after,
  .faq summary::before, .skip, .stp, .hp-toc a, .hp-toc a::before { transition: none; }
  .door:hover, .cta-card:hover { transform: none; }
  .door:hover .way-cta, .cta-card:hover .way-cta { transform: none; }
  .who li, .who li::before { animation: none; }
  .faq details p { transition: none; }
  .hw:has(.inputs a[data-door="guided"]:hover) .door-a,
  .hw:has(.inputs a[data-door="tech"]:hover) .door:not(.door-a) { transform: none; }
  .route-in, .route-out, .route-node { animation: none !important; }
  .cta-card, .cta-2.armed .cta-card:not(.cta-a) { transition: none; transition-delay: 0s; }
}

/* ==========================================================================
   THE PAGE IS DRAWN BY YOUR HAND — scroll-scrubbed drafting.
   Nothing below plays a one-shot entrance. Every drawable element carries a
   progress variable --p (0..1), written continuously from its position in
   the panel by the scrub script in index.html: scroll down and the rules
   extend, the marks stroke themselves, the spec rows stamp, the details
   develop — exactly as far as your hand has taken them. Scroll back and the
   ink retreats. Without the script (or with reduced motion) --p defaults to
   1 and everything simply stands complete.
   ========================================================================== */
.has-io .hs-rule { transform: scaleX(var(--p, 1)); transform-origin: left; }
.has-io .hs-mark svg *, .has-io .split-mark svg *, .has-io .who-mark svg *,
.has-io .path-ic * {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 1));
}

/* the routing schematic: the list flows through one review node into the two
   doors — drawn as far as you have scrolled, and the branch you are about to
   take answers on hover. */
.route { display: block; width: 100%; height: 74px; margin: 4px 0 -4px; overflow: visible; }
.route path {
  fill: none; stroke: rgba(122,76,34,.5); stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke .16s, stroke-width .16s;
}
.has-io .route path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.route-node { fill: #8a5327; }
.has-io .route-node { opacity: calc(var(--p, 1) * 1.6 - .6); }
.hw:has(.inputs a[data-door="guided"]:hover) .route-out.route-l,
.hw:has(.inputs a[data-door="tech"]:hover)   .route-out.route-r { stroke: #7a4213; stroke-width: 2.5; }

/* the spec rows stamp in under your hand — lower rows later, by geometry */
.has-io .hs-caps .caps > div {
  opacity: calc(var(--p, 1) * 1.25 - .25);
  transform: translateY(calc((1 - var(--p, 1)) * 9px));
}

/* the catalogue numbers on the questions */
.qn {
  font: 700 10.5px/1 var(--label); letter-spacing: .12em;
  color: #8a5327; margin-right: 10px; vertical-align: 1px;
}

/* the closing pass: the engraved rule under the last headline follows you in */
.hs-cta .hs-h { position: relative; display: inline-block; }
.hs-cta .hs-h::after {
  content: ""; position: absolute; left: 0; bottom: -12px; height: 2px; width: 100%;
  background: linear-gradient(90deg, #c08b4e 0%, #7d502c 85%, rgba(125,80,44,0) 100%);
}
.has-io .hs-cta .hs-h::after { transform: scaleX(var(--p, 1)); transform-origin: left; }

/* ==========================================================================
   DETAIL VIEWS — the drawing continues.
   The masthead is the main drawing (the 01–09 line); these are its circled
   detail views, cut from the same render and carried down the page: the
   scanner beside the situations, the printer at the flow's foot, the spindle
   on the spec sheet, the finished work at the close. A dashed phantom ring
   and a numbered caption, exactly as a draughtsman would call out a detail.
   ========================================================================== */
.detail { margin: 0; flex: none; width: 176px; text-align: center; }
.detail-img { position: relative; display: block; width: 176px; height: 176px; }
.detail-img img {
  width: 100%; height: 100%; display: block; border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.45),
    0 10px 22px -10px rgba(0,0,0,.4);
}
.detail-img::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px dashed rgba(122,76,34,.55); pointer-events: none;
}
.detail-cap {
  margin-top: 14px;
  font: 700 10.5px/1 var(--label); letter-spacing: .18em; text-transform: uppercase;
  color: #7f4d1c; text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.split-head .detail { margin-top: 28px; }
.sec-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 44px; margin-top: 10px; }
.sec-foot .hs-note { margin-top: 0; }
.sec-foot > div > .hs-note { margin-bottom: 6px; }
.hs-cta .detail-cap { color: #d09a5e; text-shadow: none; }
.hs-cta .detail-img img { box-shadow: 0 0 0 1px rgba(0,0,0,.65), 0 10px 24px -10px rgba(0,0,0,.65); }
.hs-cta .detail-img::after { border-color: rgba(192,139,78,.5); }
/* the detail develops under your hand: a circular wipe from the centre,
   the phantom ring and the callout arriving just behind it */
/* the visible circle is the inscribed one (radius 50%), so mapping the wipe
   to a full 100% keeps the develop finishable even for the detail at the
   very foot of the page, where the lazy stroke never passes ~0.5 */
.has-io .detail-img img { clip-path: circle(calc(var(--p, 1) * 100%)); }
.has-io .detail-img::after { opacity: calc(var(--p, 1) * 2.2 - .2); }
.has-io .detail-cap { opacity: calc(var(--p, 1) * 2.6 - .3); }


/* ---- the LOUEI family line: the holding's quiet corporate foot ---------- */
.hs-family {
  padding: 30px 20px 44px; text-align: center;
  background: linear-gradient(180deg, #1d1a14 0%, #141210 100%);
  border-top: 1px solid rgba(255, 235, 205, .12);
}
.hs-family-head {
  font: 500 12px/1 var(--label); letter-spacing: .22em; text-transform: uppercase;
  color: #8d8272; margin: 0 0 10px;
}
.hs-family-head b { color: #d8cfc0; font-weight: 600; }
.hs-family-head .dot { color: #d09a5e; }
.hs-family-line { font: 400 14px/22px var(--sans); color: #a99f8f; margin: 0; }
.hs-family-line a { color: #d09a5e; font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(208,154,94,.4); }
.hs-family-line a:hover { border-bottom-color: #d09a5e; }

/* the sister-shop callout on section pages */
.view-sister {
  margin: 26px 0 2px; padding: 14px 18px 14px 16px; max-width: 560px;
  border-left: 3px solid var(--copper);
  background: linear-gradient(90deg, rgba(122,76,34,.09), rgba(122,76,34,0) 78%);
  font: 400 14.5px/23px var(--sans); color: #4a423a;
}
.view-sister + .view-sister { margin-top: 10px; }        /* two in a row (the hub: resin, then FDM) read as one pair */
.view-sister a { color: var(--copper); font-weight: 600; white-space: nowrap; }
.view-sister a .arw { display: inline-block; width: 8px; height: 8px; margin-left: 6px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }


/* ---- the maker's plate, on the wide canvas ---------------------------------
   the same identity beat the phone got — who we are, and the three ways we
   help, in the slogan's own cadence — set generously for the desktop column.
   Scoped to wide viewports; the phone keeps its own setting. */
@media (min-width: 821px) {
  .hs-intro {
    padding: 66px 24px 58px; text-align: center;
    background:
      repeating-linear-gradient(0deg, rgba(240,230,214,.022) 0 1px, transparent 1px 30px),
      repeating-linear-gradient(90deg, rgba(240,230,214,.022) 0 1px, transparent 1px 30px),
      linear-gradient(180deg, #241e18 0%, #191510 62%, #15110d 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.5);
  }
  .hs-intro-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin: 0 0 16px; border-radius: 16px;
    background: linear-gradient(150deg, rgba(255,255,255,.96) 0%, #efe8dd 55%, #e2d9cb 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 8px 18px rgba(0,0,0,.5);
  }
  .hs-intro-mark img { width: 21px; height: 32px; }
  .hs-intro-kick {
    margin: 0 0 14px; font: 600 10px/1 var(--label); letter-spacing: .34em;
    text-transform: uppercase; color: #b98450;
    display: flex; align-items: center; justify-content: center; gap: 16px;
  }
  .hs-intro-kick::before, .hs-intro-kick::after {
    content: ""; width: 44px; height: 1px; background: rgba(185,132,80,.55);
  }
  .hs-intro-head { margin: 0 0 12px; font: 700 34px/1.15 var(--serif); color: #f4ede1; }
  .hs-intro-head .dot { color: #d09a5e; }
  .hs-intro-line { margin: 0 auto 30px; font: 400 15px/24px var(--label); color: #cfc1ab; max-width: 540px; }
  .hs-intro-ways {
    list-style: none; margin: 0 auto 26px; padding: 0; max-width: 860px;
    display: flex; align-items: stretch;
    border-top: 1px solid rgba(240,230,214,.09); border-bottom: 1px solid rgba(240,230,214,.09);
  }
  .hs-intro-ways li { flex: 1; }
  .hs-intro-ways li + li { border-left: 1px solid rgba(240,230,214,.09); }
  .hs-intro-ways a {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 22px 12px; text-decoration: none; font: 400 13.5px/1.4 var(--label);
  }
  .hs-intro-ways span { color: #a99b86; }
  .hs-intro-ways b { color: #e9dcc4; font-weight: 700; font-size: 15px; transition: color .18s; }
  .hs-intro-ways a:hover b { color: #d09a5e; }
  .hs-intro-cta { margin: 0; }
  .hs-intro-cta .lnk { color: #d09a5e; font-size: 13px; }
}
