/* fibersprung.com
   One stylesheet. Tokens first, then base, layout, components, sections.
   Layout unit: 1 column = 8 inches of floor. Pro's 16 in. span is 2 columns,
   Light's 24 in. span is 3. --in is one inch of floor at the current scale. */

/* ---------- Fonts (self-hosted, SIL Open Font License, see /fonts) ---------- */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-variable-latin.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-variable-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-italic-variable-latin.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
/* Fallbacks sized to the real fonts so text does not jump when they load */
@font-face { font-family: "Oswald Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 200 700; size-adjust: 78.3%; ascent-override: 152.4%; descent-override: 36.9%; line-gap-override: 0%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 102.4%; ascent-override: 98.2%; descent-override: 28.8%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  /* color: eight values, used by rule */
  --green: #76BC21;
  --black: #000000;
  --white: #FFFFFF;
  --orange: #DB681B;
  --gray-1: #4F4F4F;
  --gray-2: #919191;
  --gray-3: #C9C9C9;
  --canvas: #EFEFEF;

  /* type */
  --font-head: "Oswald", "Oswald Fallback", Impact, "Arial Narrow", sans-serif;
  --font-body: "Geist", "Geist Fallback", Arial, Helvetica, sans-serif;
  --fs-display: clamp(2.75rem, 1.543rem + 4.952vw, 6rem);
  --fs-page: clamp(2.5rem, 1.757rem + 3.048vw, 4.5rem);
  --fs-sheet: clamp(2.75rem, 2.007rem + 3.048vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.443rem + 2.286vw, 3.5rem);
  --fs-floor: clamp(1.75rem, 1.471rem + 1.143vw, 2.5rem);
  --fs-lede: clamp(1.125rem, 1.032rem + 0.381vw, 1.375rem);
  --fs-step: clamp(1.375rem, 1.282rem + 0.381vw, 1.625rem);
  --fs-body: clamp(1rem, 0.954rem + 0.19vw, 1.125rem);
  --fs-data-xl: clamp(2.5rem, 1.943rem + 2.286vw, 4rem);
  --fs-data: 1.125rem;
  --fs-label: 0.9375rem;
  --fs-small: 0.875rem;
  --measure: 33em;

  /* space: 4 px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 192px;
  --section-y: clamp(3.5rem, 2.571rem + 3.81vw, 6rem);

  /* grid */
  --margin: 24px;
  --cols: 6;
  --container: calc(100vw - 2 * var(--margin));
  --u: calc(var(--container) / var(--cols));
  --in: calc(var(--u) / 8);

  /* lines and corners */
  --rule: 3px;
  --line-annot: 1.5px;
  --radius: 6px;
  --header-h: 56px;
  --header-offset: var(--header-h);
}
@media (min-width: 768px) { :root { --margin: 40px; --cols: 12; } }
@media (min-width: 1024px) { :root { --margin: 48px; --rule: 4px; --header-h: 64px; } }
@media (min-width: 1248px) { :root { --container: 1152px; } }

/* Themes. A section picks one; components read these, never the raw colors. */
.on-dark { --bg: var(--black); --fg: var(--white); --fg-2: var(--gray-2); --hair: var(--gray-1); --focus: var(--green); --annot-text: var(--orange); }
.on-white { --bg: var(--white); --fg: var(--black); --fg-2: var(--gray-1); --hair: var(--gray-3); --focus: var(--black); --annot-text: var(--black); }
.on-canvas { --bg: var(--canvas); --fg: var(--black); --fg-2: var(--gray-1); --hair: var(--gray-2); --focus: var(--black); --annot-text: var(--black); }
.on-dark, .on-white, .on-canvas { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 var(--fs-body) / 1.55 var(--font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; }
img { max-width: 100%; height: auto; }
p { max-width: var(--measure); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus, var(--black)); outline-offset: 3px; }
@media (min-width: 1024px) { html { scroll-padding-top: calc(var(--header-h) + var(--s-5)); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-2); top: var(--s-2); z-index: 100; padding: var(--s-3) var(--s-4); background: var(--green); color: var(--black); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; outline: 3px solid var(--white); outline-offset: 0; }

[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: var(--container); margin-inline: auto; position: relative; }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.section { position: relative; padding-block: var(--section-y); }
.section--clip { overflow: clip; }

/* ---------- Type ---------- */
.display { font: 700 var(--fs-display) / 0.95 var(--font-head); letter-spacing: -0.01em; text-transform: uppercase; }
.lede { font-size: var(--fs-lede); line-height: 1.4; }
.note { font-size: var(--fs-small); font-weight: 300; font-style: italic; line-height: 1.45; }
.caption { font-size: var(--fs-label); line-height: 1.4; color: var(--fg-2); }

/* Sandwich heading: the logo's two bars. Thickness and gap are the mark's own
   ratios to cap height (0.172 and 0.203), times Oswald's cap height of 0.81 em. */
.rule-head {
  width: fit-content;
  max-width: 100%;
  padding: 0.023em 0.07em 0.117em;
  border-block: 0.14em solid currentColor;
  font: 700 var(--fs-h2) / 1 var(--font-head);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
@supports (text-box: trim-both cap alphabetic) {
  .rule-head { padding-block: 0.165em; text-box: trim-both cap alphabetic; }
}

/* Numbered block. Used on the four process steps and their photo twins only. */
.num {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; flex: none;
  background: var(--fg); color: var(--bg);
  font: 600 1rem / 1 var(--font-body);
}

/* ---------- Buttons: the only rounded things besides fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s-5);
  border: var(--line-annot) solid transparent; border-radius: var(--radius);
  font: 600 1rem / 1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
@media (min-width: 1024px) { .btn { font-size: 1.0625rem; } }
.btn--primary { background: var(--green); color: var(--black); }
.on-dark .btn--primary:hover { background: var(--white); }
.on-white .btn--primary:hover, .on-canvas .btn--primary:hover { background: var(--black); color: var(--white); }
.btn--ghost { border-color: var(--fg); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); max-width: none; }

/* ---------- Readout: heavy rule, hairlines, heavy rule ---------- */
.readout { border-block: var(--rule) solid var(--fg); }
.readout > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-block: var(--s-3); border-top: 1px solid var(--hair); }
.readout > div:first-child { border-top: 0; }
.readout dt { font-size: var(--fs-label); color: var(--fg-2); }
.readout dd { font-size: var(--fs-data); font-weight: 500; text-align: right; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: auto; height: 28px; }
.menu-btn {
  display: grid; align-content: center; gap: 7px;
  width: 44px; height: 44px; padding: 0 8px; margin-right: -8px;
  background: none; border: 0; border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.menu-btn span { display: block; height: 5px; background: currentColor; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.site-nav a { text-decoration: none; }
.site-nav__list a:not(.btn) { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--gray-1); font-size: 1.5rem; font-weight: 500; }
.site-nav__list a[aria-current="page"]:not(.btn) { box-shadow: inset 4px 0 0 var(--green); padding-left: var(--s-4); }
.site-nav__cta { padding-top: var(--s-5); }
.site-nav__cta .btn { width: 100%; }
.site-nav__contact { display: grid; gap: var(--s-2); padding-top: var(--s-5); font-size: 1rem; color: var(--gray-2); }
.site-nav__contact a { color: var(--white); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; position: absolute; inset: 100% calc(-1 * var(--margin)) auto; padding: 0 var(--margin) var(--s-6); background: var(--black); border-top: 1px solid var(--gray-1); }
@media (max-width: 1023px) {
  /* Without script there is no menu to open, so the list sits under the logo. */
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .site-header__in { flex-wrap: wrap; padding-top: var(--s-4); }
  html:not(.js) .site-nav { flex: 1 1 100%; padding-bottom: var(--s-6); }
}
@media (max-width: 1023px) {
  /* With script, the bar sticks, slides away on the way down the page and returns on the
     way up (site.js sets .header-hidden). --header-offset is the room it is taking. */
  .js .site-header { position: sticky; top: 0; transition: transform 0.2s ease-out; }
  .js.header-hidden { --header-offset: 0px; }
  .js.header-hidden .site-header { transform: translateY(-100%); }
  .js .site-nav.is-open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 379px) { .site-header__logo img { height: 24px; } }
@media (min-width: 1024px) {
  .site-header { position: sticky; top: 0; }
  .site-header__logo img { height: 32px; }
  .menu-btn { display: none; }
  .site-nav, .js .site-nav { display: block; position: static; padding: 0; border: 0; }
  .site-nav__list { display: flex; align-items: center; gap: var(--s-6); }
  .site-nav__home, .site-nav__contact { display: none; }
  .site-nav__list a:not(.btn) { min-height: 0; padding-block: 6px 3px; border-bottom: 3px solid transparent; font-size: 1rem; }
  .site-nav__list a:not(.btn):hover { border-bottom-color: var(--white); }
  .site-nav__list a[aria-current="page"]:not(.btn) { box-shadow: none; padding-left: 0; border-bottom-color: var(--green); }
  .site-nav__cta { padding: 0; }
  .site-nav__cta .btn { width: auto; min-height: 40px; }
}

/* ---------- 01 Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero__in { position: relative; z-index: 1; padding-top: var(--s-7); }
.hero__text { grid-column: 1 / -1; }
.hero .display { margin-bottom: var(--s-5); }
.hero .lede { max-width: 21em; margin-bottom: var(--s-6); }
.hero__media { margin-top: var(--s-7); }
.hero__media img { width: 100%; height: auto; }
@media (max-width: 479px) { .hero .btn { flex: 1 1 100%; } }
@media (min-width: 768px) {
  .hero { display: grid; align-items: center; min-height: clamp(35rem, 82svh, 50rem); }
  .hero__in { padding-block: var(--s-8); }
  .hero__text { grid-column: 1 / span 7; }
  .hero__media { position: absolute; inset-block: 0; left: calc((100% - var(--container)) / 2 + var(--u) * 7); margin: 0; }
  .hero__media picture { height: 100%; }
  .hero__media img { width: auto; max-width: none; height: 100%; }
}

/* ---------- 02 Who uses it ---------- */
/* Home: a wall of client logos. Each column is as wide as its widest logo, so wide marks
   get wide columns. --w is a logo's full width in px, set for even visual weight; it
   scales down with the layout unit on smaller screens. About uses the type list below. */
.who { padding-block: calc(var(--s-6) + var(--s-2)); }
.who .rule-head { grid-column: 1 / -1; margin-bottom: var(--s-5); }
.logos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; justify-items: center; align-items: center; gap: 20px var(--s-3); max-width: 30rem; }
.logos li { display: grid; place-items: center; }
.logos img { width: min(calc(var(--w) * 1px), calc(var(--w) * var(--u) / 70)); height: auto; }
@media (min-width: 768px) {
  .who { padding-block: var(--s-7); }
  .who .rule-head { margin-bottom: var(--s-6); }
  .logos { grid-template-columns: repeat(6, auto); max-width: none; row-gap: var(--s-5); }
  .logos img { width: min(calc(var(--w) * 1px), calc(var(--w) * var(--u) / 64)); }
}
@media (min-width: 1024px) {
  .logos { grid-column: 5 / -1; row-gap: var(--s-6); }
  .logos img { width: calc(var(--w) * var(--u) / 96); }
}
.who__list { grid-column: 1 / -1; border-block: var(--rule) solid var(--fg); }
.who__row { padding-block: var(--s-4); border-top: 1px solid var(--hair); }
.who__row:first-child { border-top: 0; }
.who__floor { font: 600 var(--fs-data) / 1.4 var(--font-body); }
.who__floor a { text-decoration: none; }
.who__floor a:hover { text-decoration: underline; }
.names { font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.who__names { overflow: hidden; }
@media (min-width: 1024px) {
  .who .rule-head { grid-column: 1 / span 4; margin-bottom: 0; align-self: start; }
  .who__list { grid-column: 5 / -1; }
}
@media (min-width: 768px) {
  .who__row { display: grid; grid-template-columns: var(--u) minmax(0, 1fr); align-items: baseline; }
  .names { font-size: 1.25rem; }
  /* Green squares sit before every name; the list is pulled left so a square
     that would start a line falls outside the clipped box. */
  .names { display: flex; flex-wrap: wrap; margin-left: -1.6em; }
  .names li { position: relative; padding-left: 1.6em; white-space: nowrap; }
  .names li::before { content: ""; position: absolute; left: calc(0.8em - 4px); top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--green); }
}

/* ---------- 03 Thesis and the numbers ledger ---------- */
.thesis__text { grid-column: 1 / -1; margin-bottom: var(--s-7); }
.thesis__text .rule-head { margin-bottom: var(--s-5); }
.thesis__photo { margin-top: var(--s-6); }
.thesis__photo img { width: 100%; }
.ledger { grid-column: 1 / -1; border-block: var(--rule) solid var(--fg); }
.ledger__row { display: grid; grid-template-columns: 1fr; padding-block: var(--s-4); border-top: 1px solid var(--hair); }
.ledger__row:first-child { border-top: 0; }
.ledger dd { order: -1; display: flex; align-items: baseline; gap: 0.5rem; }
.ledger__num { font: 500 var(--fs-data-xl) / 1 var(--font-body); letter-spacing: -0.02em; }
.ledger__unit { font-size: var(--fs-data); font-weight: 500; }
.ledger dt { max-width: 26em; padding-top: var(--s-2); line-height: 1.4; }
@media (min-width: 768px) and (max-width: 1023px) {
  .thesis__photo img { aspect-ratio: 5 / 2; object-fit: cover; }
}
@media (min-width: 1024px) {
  /* The left column is as tall as the ledger; the photo fills what the text leaves. */
  .thesis__text { grid-column: 1 / span 5; margin-bottom: 0; display: flex; flex-direction: column; }
  .thesis__photo { position: relative; flex: 1 1 auto; min-height: 12rem; }
  .thesis__photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .ledger { grid-column: 7 / -1; align-self: start; }
}
@media (min-width: 768px) {
  .ledger__row { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-5); align-items: baseline; }
  .ledger dd { min-width: 11.5rem; }
  .ledger__num { min-width: 2em; text-align: right; }
  .ledger dt { padding-top: 0; }
}

/* Hairline grid at the product's real span. A corner detail, never a background. */
.gridmark { display: none; }
@media (min-width: 768px) {
  .gridmark { display: block; position: absolute; bottom: calc(-1 * var(--section-y)); pointer-events: none; }
  .gridmark svg { width: 100%; height: 100%; overflow: visible; }
  .gridmark line, .gridmark rect { vector-effect: non-scaling-stroke; }
  .gridmark__grid { stroke: var(--hair); stroke-width: 1; fill: none; }
  .gridmark__node { fill: var(--bg); stroke: var(--hair); stroke-width: 1; }
  .gridmark__dim { stroke: var(--orange); stroke-width: 1.5; fill: none; }
  .gridmark__label { position: absolute; transform: translate(-50%, -50%); padding: 0 6px; background: var(--bg); color: var(--annot-text); font: 500 var(--fs-small) / 1 var(--font-body); white-space: nowrap; }
  .gridmark--light { right: 0; width: calc(var(--u) * 6); height: calc(var(--u) * 2); }
  .gridmark--light .gridmark__label { left: calc(var(--u) * 4.5); top: calc(var(--u) * 1.25); }
}

/* ---------- 04 The layer story ---------- */
/* Default layout is static: each step is a row with its own figure. This is what
   reduced motion, no JavaScript and print get. The pinned version is added below. */
.layers__head { margin-bottom: var(--s-7); }
.layers__head .rule-head { margin-bottom: var(--s-5); }
.step { padding-block: var(--s-6); border-top: 1px solid var(--hair); }
.step__title { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); font: 700 var(--fs-step) / 1.2 var(--font-body); }
.step__body > p + p, .step__body > p + .readout, .step__body > .readout + p { margin-top: var(--s-4); }
.step__body .readout { max-width: 22rem; }
.beat__title { font: 700 1.25rem / 1.3 var(--font-body); }
.beat__text { padding-top: var(--s-4); }
.beat__text p { color: var(--fg-2); }
.surface-switch { display: none; }

.plate { position: relative; margin-top: var(--s-5); background: var(--canvas); }
.plate__art { position: relative; aspect-ratio: 2874 / 2406; container-type: size; }
.plate__art img, .plate__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate__outline path { fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.plate__edge { fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
/* "Choose your surface": the marley render is clipped to its own sheet and laid on the plywood render */
[data-surface="choice"] .plate__marley { clip-path: polygon(47.858% 6.640%, 85.520% 64.356%, 32.472% 97.703%, 0.739% 31.686%); /* measured from the render */ }

/* Callouts. Orange is drawn over canvas only, never across wood or marley.
   Positions are percentages of the shared 2874 x 2406 render box. */
.callout__label {
  position: absolute; left: calc(var(--lx) * 1cqw); width: max-content; min-width: min-content; max-width: calc(var(--mw, 44) * 1cqw);
  color: var(--black); font: 500 clamp(0.75rem, 3.8cqw, 0.8125rem) / 1.25 var(--font-body);
}
.callout--below .callout__label { top: calc(var(--sy) * 1cqh); padding-top: 4px; border-top: var(--line-annot) solid var(--orange); }
.callout--above .callout__label { bottom: calc((100 - var(--sy)) * 1cqh); padding-bottom: 4px; border-bottom: var(--line-annot) solid var(--orange); }
.callout--right .callout__label { left: auto; right: calc((100 - var(--lx)) * 1cqw); text-align: right; }
.callout__box {
  position: absolute; left: calc(var(--ax) * 1cqw); top: calc(var(--ay) * 1cqh);
  width: calc(var(--bs, 3.4) * 1cqw); aspect-ratio: 1; translate: -50% -50%;
  border: var(--line-annot) solid var(--orange); border-radius: 22%;
}
.callout__lead { display: none; }
@supports (width: hypot(1px, 1px)) and (rotate: atan2(1px, 1px)) {
  .callout__lead {
    --x0: calc(var(--lx) * 1cqw); --y0: calc(var(--sy) * 1cqh);
    --dx: calc(var(--ex, var(--ax)) * 1cqw - var(--x0)); --dy: calc(var(--ey, var(--ay)) * 1cqh - var(--y0));
    display: block; position: absolute; left: var(--x0); top: var(--y0);
    width: calc(hypot(var(--dx), var(--dy)) - var(--trim, 0) * 1cqw + var(--join, 0px)); height: 0;
    border-top: var(--line-annot) solid var(--orange);
    transform-origin: 0 0; rotate: atan2(var(--dy), var(--dx));
  }
}
@container (min-width: 480px) { .callout__label { font-size: var(--fs-small); } }
/* Where each callout sits, in percent of the render box.
   a = the part. l = where the label's rule starts (its right end on right-aligned labels).
   s = the rule's height. e = where the leader ends, when there is no box. mw = label max width.
   trim = exact distance from the box center to its rounded border along the leader;
   join = 1px into the 1.5px border so the leader always touches. e points sit on the measured sheet edges. */
.co-fitting { --ax: 22.7; --ay: 22.0; --bs: 3.4; --lx: 18; --sy: 9; --trim: 1.852; --join: 1px; }
.co-tube { --ax: 21.0; --ay: 57.7; --bs: 2.4; --lx: 2; --sy: 84; --mw: 18; --trim: 1.471; --join: 1px; }
.co-bracket, .co-perimeter { --ax: 82.8; --ay: 66.7; --bs: 3; --lx: 77; --sy: 84; --trim: 1.616; --join: 1px; }
.co-bracket { --mw: 23; }
.co-perimeter { --mw: 21; }
.co-plywood { --lx: 24; --sy: 9; --ex: 26; --ey: 18.775; }
.co-hardwood { --lx: 21; --sy: 9; --ex: 23; --ey: 20.111; }
.co-marley { --lx: 15; --sy: 9; --ex: 17; --ey: 23.042; }
@container (max-width: 619px) {
  .co-fitting { --lx: 33; --trim: 2.093; }
  .co-tube { --sy: 80; --mw: 22; --trim: 1.478; }
  .co-bracket { --lx: 71; --sy: 80; --mw: 27; --trim: 1.847; }
  .co-perimeter { --lx: 68; --mw: 31; --sy: 80; --trim: 1.815; }
  .co-plywood { --lx: 32; --mw: 30; --sy: 12; --ex: 33; --ey: 15.050; }
  .co-hardwood { --lx: 26; --mw: 24; --sy: 12; --ex: 27; --ey: 17.984; }
  .co-marley { --lx: 29; --ex: 30; --ey: 16.132; }
}

@media (min-width: 900px) {
  .step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; padding-block: var(--s-7); }
  .step__body { grid-column: 1 / span 4; }
  .step > .plate-track { grid-column: 6 / -1; }
  .step .plate { margin-top: 0; }
  .step--surface .beats { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; }
}
.layers__end { padding-top: var(--s-6); border-top: var(--rule) solid var(--fg); }

/* Pinned version. layers.js adds .layers-pin to <html> only when motion is allowed. */
/* --header-offset is the header's height while it shows and 0 while it is hidden, so the
   stage always starts below the header and the callouts are never covered. */
.layers-pin .layers { --stage-top: var(--header-offset); --stage-h: min(83.7vw, 44svh); }
.layers-pin .steps { position: relative; padding-top: calc(var(--stage-h) + var(--s-5)); }
.layers-pin .step { display: block; padding-block: 0; border-top: 0; }
.layers-pin .step__body, .layers-pin .beat__text { min-height: 60svh; padding-top: var(--s-5); }
.layers-pin .step--surface .step__body { min-height: 0; padding-bottom: var(--s-6); }
.layers-pin .beat__text { border-top: 1px solid var(--hair); }
.layers-pin .beats { display: block; }
.layers-pin .surface-switch { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); max-width: none; }
.layers-pin .surface-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); white-space: nowrap; border: var(--line-annot) solid var(--black); border-radius: var(--radius); font-size: var(--fs-label); font-weight: 600; text-decoration: none; }
.layers-pin .surface-switch a[aria-current="true"] { background: var(--black); color: var(--white); }
.layers-pin .beat { scroll-margin-top: 62svh; }
.layers-pin .plate-track { position: absolute; inset: 0 calc(-1 * var(--margin)) 0 calc(-1 * var(--margin)); pointer-events: none; }
.layers-pin .plate { position: sticky; top: var(--stage-top); z-index: 2; display: flex; justify-content: center; height: var(--stage-h); margin: 0; padding-block: var(--s-3); border-bottom: 1px solid var(--hair); }
.layers-pin .plate__art { height: 100%; }
.layers-pin .plate { clip-path: inset(0 100% 0 0); transition: clip-path 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), top 0.2s ease-out; }
.layers-pin .plate.is-on { clip-path: inset(0 0 0 0); }
.layers-pin .plate--base { clip-path: none; transition: top 0.2s ease-out; }
.layers-pin .plate--fade { clip-path: none; opacity: 0; transition: opacity 0.5s ease-out, top 0.2s ease-out; }
.layers-pin .plate--fade.is-on { opacity: 1; }
.layers-pin .callouts { opacity: 0; transition: opacity 0.15s; }
.layers-pin .plate.is-current .callouts { opacity: 1; transition: opacity 0.2s 0.5s; }
.layers-pin .plate__outline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.layers-pin .layers.is-started .plate__outline path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease-in-out; }
.layers-pin .step__title .num, .layers-pin .twin .num { transition: background-color 0.15s, color 0.15s; }
.layers-pin .step.is-current .step__title .num { background: var(--green); color: var(--black); }
.layers-pin .layers__end { position: relative; z-index: 3; margin-top: var(--s-7); background: var(--canvas); }
@media (min-width: 900px) {
  .layers-pin .layers { --stage-top: calc(var(--header-offset) + var(--s-5)); --stage-h: min(calc(var(--u) * 8 * 2406 / 2874), calc(100svh - var(--header-h) - var(--s-5) - var(--s-6))); }
  .layers-pin .steps { padding-top: 0; }
  .layers-pin .step__body, .layers-pin .beat__text { width: calc(var(--u) * 4); min-height: 70svh; }
  .layers-pin .beat__text { min-height: 60svh; }
  /* Lands a surface jump with its top above the middle of the screen, where the
     watcher's line is, allowing for the sticky header's scroll padding. */
  .layers-pin .beat { scroll-margin-top: 28svh; }
  .layers-pin .plate-track { inset: 0 0 0 auto; width: calc(var(--u) * 8); }
  .layers-pin .plate { justify-content: flex-end; padding-block: 0; border-bottom: 0; }
}

/* ---------- 05 The same steps in a real room ---------- */
.twin__head { margin-bottom: var(--s-6); }
.twin__head .rule-head { grid-column: 1 / -1; margin-bottom: var(--s-4); }
.twin__head p { grid-column: 1 / -1; }
.twin__frames { display: grid; gap: var(--s-5); }
.twin__frames img { width: 100%; }
.twin__frames figcaption { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--margin) 0; font-weight: 500; }
@media (min-width: 768px) {
  .twin__head .rule-head { grid-column: 1 / span 7; margin-bottom: 0; }
  .twin__head p { grid-column: 9 / -1; align-self: end; }
  .twin__frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
  .twin__frames figcaption { align-items: flex-start; padding: var(--s-4) var(--s-5) 0; }
}
@media (min-width: 1024px) {
  .twin__frames { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 06 Technology ---------- */
.tech { padding-top: 0; }
.tech__photo img { width: 100%; }
.tech__in { padding-top: var(--section-y); row-gap: var(--s-7); }
.tech__text { grid-column: 1 / -1; }
.tech__text .rule-head { margin-bottom: var(--s-5); }
.tech__text p { margin-bottom: var(--s-6); }
.bend { grid-column: 1 / -1; }
.bend__title { margin-bottom: var(--s-4); font-size: var(--fs-label); color: var(--fg-2); }
.bend__plot { position: relative; padding-inline: 10px; }
.bend__scale { position: relative; height: 34px; border-bottom: 1px solid var(--white); }
.bend__scale span { position: absolute; left: calc(var(--v) * 10%); bottom: 0; translate: -50% 0; padding-bottom: 12px; font-size: var(--fs-small); font-weight: 500; line-height: 1; }
.bend__scale span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 8px; background: var(--white); }
.bend__scale span.minor { color: transparent; }
.bend__scale span.minor::after { height: 5px; background: var(--gray-2); }
.bend__track { position: relative; height: 56px; }
.bend__track::before { content: ""; position: absolute; inset: 50% 0 auto 0; border-top: 1px solid var(--gray-1); }
/* The 3 mm guide is drawn inside each track, so it never runs through the captions. */
.bend__track::after { content: ""; position: absolute; left: 30%; top: 0; bottom: 0; border-left: 1px dashed var(--gray-1); }
.bend__mark { position: absolute; left: calc(var(--v) * 10%); top: 50%; width: 16px; height: 16px; translate: -50% -50%; background: var(--green); border-radius: 3px; }
.bend__bar { position: absolute; left: calc(var(--a) * 10%); right: calc((10 - var(--b)) * 10%); top: 50%; height: 16px; translate: 0 -50%; background: var(--gray-2); }
.bend__out { position: absolute; left: calc(var(--v) * 10%); top: 50%; width: 16px; height: 16px; translate: -50% -50%; border: 2px solid var(--gray-2); background: var(--black); border-radius: 3px; }
.bend__tag { position: absolute; top: 50%; translate: 0 -50%; font-size: var(--fs-small); font-weight: 500; line-height: 1; white-space: nowrap; }
.bend__tag--fs { left: calc(30% + 16px); }
.bend__span { position: absolute; left: 30%; right: 30%; top: 4px; height: 9px; border: var(--line-annot) solid var(--orange); border-bottom: 0; }
.bend__span b { position: absolute; left: 50%; bottom: 100%; translate: -50% 0; padding-bottom: 3px; color: var(--orange); font-size: var(--fs-small); font-weight: 500; line-height: 1; white-space: nowrap; }
.bend__track--pine { height: 72px; }
.bend__track--pine::before, .bend__track--pine .bend__bar, .bend__track--pine .bend__out { top: 62%; }
.bend__key { margin-top: var(--s-2); padding-left: 10px; font-size: var(--fs-label); line-height: 1.45; color: var(--fg-2); }
.bend__key strong { color: var(--fg); }
.bend__row + .bend__row { margin-top: var(--s-4); }
.materials { grid-column: 1 / -1; display: grid; border-block: var(--rule) solid var(--fg); }
.materials > div { padding-block: var(--s-4); border-top: 1px solid var(--hair); }
.materials > div:first-child { border-top: 0; }
.materials dt { font-size: var(--fs-label); color: var(--fg-2); }
.materials dd { font-size: var(--fs-data); font-weight: 500; line-height: 1.35; }
@media (min-width: 900px) {
  .tech__text { grid-column: 1 / span 8; }
  .bend { grid-column: 8 / -1; align-self: center; }
  .materials { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .materials > div { padding: var(--s-5) var(--s-5) var(--s-5) 0; border-top: 0; }
  .materials > div + div { padding-left: var(--s-5); border-left: 1px solid var(--hair); }
}

/* ---------- 07 Comparison ---------- */
.compare__text { grid-column: 1 / -1; margin-bottom: var(--s-6); }
.compare__text .rule-head { margin-bottom: var(--s-5); }
.compare__table { grid-column: 1 / -1; width: 100%; border-collapse: collapse; border-block: var(--rule) solid var(--fg); table-layout: fixed; font-size: var(--fs-data); line-height: 1.3; }
.compare__table th, .compare__table td { padding: var(--s-4); text-align: left; vertical-align: top; font-weight: 400; }
.compare__table tbody th { padding-left: 0; }
.compare__table thead th { font-weight: 600; }
.compare__table tbody tr > * { border-top: 1px solid var(--hair); }
.compare__table .is-fs { background: var(--black); color: var(--white); font-weight: 600; border-top-color: var(--gray-1); }
.compare__table thead .is-fs { background: var(--green); color: var(--black); }
@media (max-width: 767px) {
  /* Each row is two lines: the label over the wood and foam values. The FiberSprung cell
     spans both, so its black runs unbroken from the green head to the bottom rule. */
  .compare__table, .compare__table thead, .compare__table tbody { display: block; }
  .compare__table tr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "fs label label" "fs wood foam"; }
  .compare__table thead th { font-size: 0.9375rem; }
  .compare__table thead tr { grid-template-areas: "fs wood foam"; }
  .compare__table .is-corner { display: none; }
  .compare__table th, .compare__table td { padding: var(--s-3); font-size: 1rem; }
  .compare__table tbody th { grid-area: label; padding: var(--s-3) var(--s-3) var(--s-1); font-size: var(--fs-label); color: var(--fg-2); }
  .compare__table .is-fs { grid-area: fs; }
  .compare__table .is-wood { grid-area: wood; }
  .compare__table .is-foam { grid-area: foam; }
  .compare__table tbody .is-wood, .compare__table tbody .is-foam { border-top: 0; padding-top: 0; }
  /* The FiberSprung value sits on the same line as the other two values. */
  .compare__table tbody .is-fs { display: flex; align-items: flex-end; }
  @supports (grid-template-rows: subgrid) {
    .compare__table tbody .is-fs { display: grid; grid-template-rows: subgrid; align-items: start; padding-top: 0; }
    .compare__table tbody .is-fs::before { content: ""; }
  }
}
@media (min-width: 1024px) {
  .compare__text { grid-column: 1 / span 4; margin-bottom: 0; }
  .compare__table { grid-column: 5 / -1; }
}

/* ---------- 08 Range: a floor schedule ---------- */
.range__head { margin-bottom: var(--s-7); row-gap: var(--s-5); }
.range__head .rule-head { grid-column: 1 / -1; }
.range__head .lede { grid-column: 1 / -1; }
.range__cols { display: none; }
.range__list { border-block: var(--rule) solid var(--fg); }
.floor { padding-block: var(--s-5); border-top: 1px solid var(--hair); }
.floor:first-child { border-top: 0; }
.floor__name { font: 600 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.floor__name a { text-decoration: none; }
.floor__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.floor__tag { margin-top: var(--s-1); color: var(--fg-2); }
.floor__specs { margin-top: var(--s-4); }
.floor__specs > div { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-block: var(--s-3); border-top: 1px solid var(--hair); }
.floor__specs dt { flex: none; font-size: var(--fs-label); color: var(--fg-2); }
.floor__specs dd { font-size: var(--fs-data); font-weight: 500; line-height: 1.3; text-align: right; }
.floor__specs .floor__price { display: block; }
.floor__price dd { margin-top: var(--s-1); text-align: left; }
.floor__price .note { display: block; margin-top: var(--s-2); max-width: 22rem; }
.price__num { font-size: 1.75rem; line-height: 1; letter-spacing: -0.01em; }
.dim { display: block; position: relative; width: calc(var(--len) * var(--in)); margin: 10px 0 0 auto; padding-top: 7px; border-top: var(--line-annot) solid var(--orange); color: var(--orange); font: 500 var(--fs-small) / 1.2 var(--font-body); text-align: center; white-space: nowrap; }
.dim::before, .dim::after { content: ""; position: absolute; top: -5px; width: 8px; height: 8px; background: var(--white); border-radius: 2px; }
.dim::before { left: -4px; }
.dim::after { right: -4px; }
.floor__height dd { display: flex; align-items: center; gap: var(--s-5); white-space: nowrap; }
.slab { position: relative; display: block; flex: none; width: 56px; height: calc(var(--h) * var(--in)); border-block: var(--rule) solid var(--fg); }
.slab::after { content: ""; position: absolute; left: calc(100% + 6px); top: calc(-1 * var(--rule)); bottom: calc(-1 * var(--rule)); width: 6px; border: var(--line-annot) solid var(--orange); border-left: 0; }
.range__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }
.range__scale { margin-top: var(--s-5); font-size: var(--fs-label); color: var(--fg-2); }
@media (min-width: 900px) {
  .range__head .rule-head { grid-column: 1 / span 6; }
  .range__head .lede { grid-column: 7 / -1; align-self: end; }
}
@media (min-width: 1024px) and (max-width: 1247px) {
  .floor__height dd { gap: 20px; }
  .slab { width: 40px; }
}
@media (min-width: 1024px) {
  .range__cols, .floor { display: grid; grid-template-columns: calc(var(--u) * 2) calc(var(--u) * 3) calc(var(--u) * 2) calc(var(--u) * 2) calc(var(--u) * 3); }
  .range__cols span:nth-child(n+3) { padding-left: var(--s-5); }
  .range__cols { padding-bottom: var(--s-3); font-size: var(--fs-label); color: var(--fg-2); }
  .floor { align-items: start; padding-block: var(--s-6); }
  .floor__specs { display: contents; }
  .floor__specs > div { display: block; padding: 0 0 0 var(--s-5); border: 0; }
  .floor__specs > .floor__type { padding-left: 0; }
  .floor__specs dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .floor__specs dd { text-align: left; }
  .floor__price dd { margin-top: 0; }
  .dim { margin-left: 0; }
}

/* ---------- 09 Origin ---------- */
.origin__photo { grid-column: 1 / -1; margin-bottom: var(--s-6); }
.origin__photo img { width: 100%; }
.origin__text { grid-column: 1 / -1; }
.origin__text .rule-head { margin-bottom: var(--s-5); }
.origin__text p + p { margin-top: var(--s-4); }
@media (min-width: 768px) {
  .origin__photo { grid-column: 1 / span 6; margin-bottom: 0; }
  .origin__text { grid-column: 8 / -1; align-self: center; }
}

/* ---------- 10 Payoff ---------- */
.payoff__lead { grid-column: 1 / -1; }
.payoff figure img { width: 100%; }
.payoff figcaption { padding-top: var(--s-3); }
.payoff__text { grid-column: 1 / -1; margin-bottom: var(--s-6); }
.payoff__text .rule-head { margin-bottom: var(--s-5); }
.payoff__text p + p { margin-top: var(--s-4); }
.payoff__second { grid-column: 1 / -1; margin-top: var(--s-6); }
@media (min-width: 768px) {
  .payoff__in { grid-template-rows: auto 1fr; }
  .payoff__lead { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .payoff__text { grid-column: 7 / -1; grid-row: 1; }
  .payoff__second { grid-column: 7 / -1; grid-row: 2; margin-top: 0; align-self: end; }
}

/* ---------- 11 Contact ---------- */
.contact__text { grid-column: 1 / -1; margin-bottom: var(--s-6); }
.contact__text .rule-head { margin-bottom: var(--s-5); }
.contact__text p { margin-bottom: var(--s-5); }
.contact__fin { margin-top: var(--s-5); }
.contact__ways { grid-column: 1 / -1; align-self: start; }
.contact__ways a:not(.btn) { text-decoration: none; }
.contact__ways a:not(.btn):hover { text-decoration: underline; }
.contact__ways .btn { min-height: 40px; }
@media (min-width: 768px) {
  .contact { padding-bottom: calc(var(--section-y) + var(--u) * 1.75); }
  .contact .gridmark { bottom: calc(-1 * (var(--section-y) + var(--u) * 1.75)); }
  .contact__text { grid-column: 1 / span 5; margin-bottom: 0; }
  .contact__ways { grid-column: 7 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-8) var(--s-6); }
.site-footer__in { row-gap: var(--s-7); }
.site-footer__logo { grid-column: 1 / -1; }
.site-footer__logo img { width: 200px; }
.site-footer__col { grid-column: 1 / -1; }
.site-footer__label { margin-bottom: var(--s-3); font: 600 1rem / 1.3 var(--font-body); }
.site-footer li { padding-block: 5px; line-height: 1.4; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__pages ul { columns: 2; }
/* A phone number never breaks across two lines. */
.site-footer__talk a[href^="tel:"] { white-space: nowrap; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--gray-1); font-size: var(--fs-small); color: var(--gray-2); }
.site-footer__base p { max-width: none; }
@media (min-width: 768px) {
  .site-footer__logo img { width: 240px; max-width: 100%; }
  .site-footer__pages { grid-column: 1 / span 4; }
  .site-footer__pages ul { columns: 1; }
  .site-footer__talk { grid-column: 5 / span 4; }
  .site-footer__social { grid-column: 9 / span 4; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  /* The column is too narrow for a name and its number, so each number sits under its name. */
  .site-footer__talk a[href^="tel:"] { display: block; }
}
@media (min-width: 1024px) {
  .site-footer__logo { grid-column: 1 / span 3; }
  .site-footer__pages { grid-column: 5 / span 3; }
  .site-footer__talk { grid-column: 8 / span 3; }
  .site-footer__social { grid-column: 11 / span 2; }
}

/* ---------- Interior pages: head and jump list ---------- */
.page-head { padding-block: var(--s-7) var(--s-6); }
.page-head__title { grid-column: 1 / -1; margin-bottom: var(--s-5); font-size: var(--fs-page); }
.page-head__lede { grid-column: 1 / -1; max-width: 26em; }
.page-head .btn-row { grid-column: 1 / -1; margin-top: var(--s-6); }
.jump { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--hair); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.jump a:hover { text-decoration: underline; }
@media (max-width: 479px) { .page-head .btn { flex: 1 1 100%; } }
@media (min-width: 1024px) {
  .page-head { padding-block: var(--s-9) var(--s-7); }
  .page-head__title { grid-column: 1 / span 7; margin-bottom: 0; }
  .page-head__lede { grid-column: 8 / -1; align-self: end; }
}

/* Orange dimension line with end ticks. The label sits on the line. */
.dimline { position: absolute; height: 0; border-top: var(--line-annot) solid var(--orange); }
.dimline::before, .dimline::after { content: ""; position: absolute; top: -7px; height: 12px; border-left: var(--line-annot) solid var(--orange); }
.dimline::before { left: 0; }
.dimline::after { right: 0; }
.dimline b { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 0 6px; background: var(--bg); color: var(--annot-text); font: 500 var(--fs-small) / 1 var(--font-body); white-space: nowrap; }
.dimline--y { width: 0; height: auto; border-top: 0; border-left: var(--line-annot) solid var(--orange); }
.dimline--y::before, .dimline--y::after { top: auto; left: -7px; width: 12px; height: 0; border-left: 0; border-top: var(--line-annot) solid var(--orange); }
.dimline--y::before { top: 0; }
.dimline--y::after { bottom: 0; right: auto; }
.dimline--y b { left: 0; top: 50%; }

/* Floors in section, standing on one floor line. Heights share one scale. */
.lineup { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); --lin: calc(var(--in) * 3); }
.lineup li { display: grid; grid-template-rows: calc(5.4 * var(--lin)) auto; }
.lineup__bar { position: relative; align-self: end; width: min(var(--u), 58%); height: calc(var(--h) * var(--lin)); border: var(--line-annot) solid var(--fg); border-top-width: var(--rule); border-bottom: 0; }
.lineup__bar::after { content: ""; position: absolute; left: calc(100% + 6px); top: calc(-1 * var(--rule)); bottom: 0; width: 6px; border: var(--line-annot) solid var(--orange); border-left: 0; }
.lineup__text { padding: var(--s-3) var(--s-2) 0 0; border-top: var(--rule) solid var(--fg); }
.lineup__name { display: block; font: 600 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.lineup__name a { text-decoration: none; }
.lineup__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lineup__h { display: block; margin-top: var(--s-1); font-size: var(--fs-data); font-weight: 500; white-space: nowrap; }
.lineup-note { margin-top: var(--s-4); font-size: var(--fs-label); color: var(--fg-2); }
@media (max-width: 479px) { .lineup__name { font-size: 1.5rem; } .lineup__h { font-size: 1rem; } }

/* ---------- Products: compare ---------- */
.compare-all .rule-head { margin-bottom: var(--s-7); }
.spec { width: 100%; margin-top: var(--s-7); border-collapse: collapse; border-block: var(--rule) solid var(--fg); }
.spec th, .spec td { padding: var(--s-3) var(--s-4) var(--s-3) 0; text-align: left; vertical-align: top; font-size: var(--fs-data); font-weight: 500; line-height: 1.35; }
.spec thead th { padding-block: var(--s-4); font: 600 var(--fs-step) / 1 var(--font-head); text-transform: uppercase; }
.spec tbody th { font-size: var(--fs-label); font-weight: 400; color: var(--fg-2); }
.spec tbody tr > * { border-top: 1px solid var(--hair); }
.spec__more { display: block; font-size: var(--fs-label); font-weight: 400; color: var(--fg-2); }
.spec-note { margin-top: var(--s-4); }
@media (min-width: 768px) {
  .spec { table-layout: fixed; }
  .spec th:first-child { width: calc(var(--u) * 2); }
}
@media (max-width: 767px) {
  .spec, .spec tbody { display: block; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--s-3); border-top: 1px solid var(--hair); }
  .spec tbody tr:first-child { border-top: 0; }
  .spec tbody tr > * { border-top: 0; }
  .spec tbody th { grid-column: 1 / -1; padding: 0 0 var(--s-2); }
  .spec td { padding: var(--s-1) var(--s-3) var(--s-2) 0; font-size: 1rem; }
  .spec td::before { content: attr(data-floor); display: block; font: 600 1rem / 1.3 var(--font-head); text-transform: uppercase; }
  .spec .spec__na { display: none; }
}

/* ---------- Products: one sheet per floor ---------- */
.sheet { row-gap: var(--s-6); padding-top: var(--s-5); border-top: var(--rule) solid var(--fg); }
.sheet + .sheet { margin-top: var(--section-y); }
.sheet__head, .sheet__fig, .sheet__data, .sheet__photos { grid-column: 1 / -1; }
.sheet__name { font: 700 var(--fs-sheet) / 0.95 var(--font-head); letter-spacing: -0.01em; text-transform: uppercase; }
.sheet__line { margin-top: var(--s-2); font-size: var(--fs-lede); font-weight: 500; line-height: 1.3; }
.sheet__what { margin-top: var(--s-4); }
.sheet__label { margin: var(--s-6) 0 var(--s-2); font-size: var(--fs-label); color: var(--fg-2); }
.sheet__price { margin-top: var(--s-5); }
.sheet__price .sheet__label { margin-top: 0; }
.sheet__price .note { margin-top: var(--s-2); max-width: 24rem; }
.sheet__data .btn { margin-top: var(--s-6); }
.sheet__data .names { font-size: 1.125rem; }
.sheet__data .names li::before { display: none; }
.sheet__data .names { display: block; margin-left: 0; }
.sheet__data .names li { padding-left: 0; white-space: normal; }
.sheet__render { margin-top: var(--s-7); }
.sheet__render img { width: 100%; }
.shot img { width: 100%; }
.shot figcaption { padding-top: var(--s-3); }
.sheet__photos { display: grid; gap: var(--s-5); }
.sheet__photo-one { width: calc(var(--u) * 4); max-width: 100%; }
@media (min-width: 600px) {
  .sheet__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .sheet__photos figcaption { padding-right: var(--s-4); }
}
@media (min-width: 768px) {
  .sheet { grid-template-rows: auto 1fr; }
  .sheet__head { grid-column: 1 / span 6; grid-row: 1; }
  .sheet__fig { grid-column: 1 / span 6; grid-row: 2; }
  .sheet__data { grid-column: 8 / -1; grid-row: 1 / span 2; padding-top: var(--s-3); }
  .sheet__photos { grid-row: 3; margin-top: var(--s-5); }
}

/* Plan window: 4 ft by 4 ft of floor at the layout scale (6 units = 48 in.). */
.plan { position: relative; width: calc(var(--u) * 6); max-width: 100%; margin-block: 2.75rem 2.75rem; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan line, .plan rect { vector-effect: non-scaling-stroke; }
.plan__tube { stroke: var(--fg); stroke-width: 2; }
.plan__node { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; }
.plan__panel { fill: none; stroke: var(--fg); stroke-width: 3; }
.plan__tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: var(--fs-data); font-weight: 500; text-align: center; line-height: 1.35; }
.plan .dimline--span { left: 0; top: -1.5rem; width: calc(100% * var(--span) / 48); }
.plan .dimline--all { left: 0; top: calc(100% + 1.5rem); width: 100%; }
.plan-note { font-size: var(--fs-label); color: var(--fg-2); }

/* ---------- Products: surfaces and React Marley ---------- */
.surfaces__head { row-gap: var(--s-5); margin-bottom: var(--s-7); }
.surfaces__head > * { grid-column: 1 / -1; }
.surfaces__head .lede + p { margin-top: var(--s-3); }
.surface-list { border-block: var(--rule) solid var(--fg); }
.surface { row-gap: var(--s-4); align-items: start; padding-block: var(--s-5); border-top: 1px solid var(--hair); }
.surface:first-child { border-top: 0; }
.surface > * { grid-column: 1 / -1; }
.surface__name { font: 600 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.surface__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 100%; }
.surface__photo figcaption { padding-top: var(--s-2); }
@media (min-width: 768px) {
  .surfaces__head .rule-head { grid-column: 1 / span 5; }
  .surfaces__head div { grid-column: 7 / -1; align-self: end; }
  .surface { padding-block: var(--s-6); }
  .surface__name { grid-column: 1 / span 4; }
  .surface__text { grid-column: 5 / span 4; padding-right: var(--s-5); }
  .surface__photo { grid-column: 9 / -1; }
}
.facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.facts dd { text-align: left; line-height: 1.4; }
.facts dd li + li { margin-top: var(--s-1); }
.marley__text, .marley .facts { grid-column: 1 / -1; }
.marley__text { margin-bottom: var(--s-6); }
.marley__text .rule-head { margin-bottom: var(--s-5); }
.marley__text .btn { margin-top: var(--s-6); }
@media (min-width: 900px) {
  .marley__text { grid-column: 1 / span 5; margin-bottom: 0; }
  .marley .facts { grid-column: 7 / -1; align-self: start; }
}
.pointer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); max-width: none; margin-bottom: var(--s-7); padding-bottom: var(--s-6); border-bottom: 1px solid var(--hair); font-size: var(--fs-lede); }

/* ---------- Stage Floor ---------- */
.duo { display: grid; row-gap: var(--s-8); }
.duo__sheet { padding-top: var(--s-5); border-top: var(--rule) solid var(--fg); }
.duo__sheet .sheet__what { min-height: 0; margin-bottom: var(--s-5); }
.duo__sheet .btn { margin-top: var(--s-6); }
.duo-lineup { margin-top: var(--s-8); }
@media (min-width: 768px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--u); }
  .duo__sheet .sheet__what { min-height: 3.2em; }
}
@media (min-width: 768px) and (max-width: 1023px) { .duo__sheet .sheet__what { min-height: 4.8em; } }
.test__lead, .loads, .rig, .test__facts, .test__doc { grid-column: 1 / -1; }
.test__lead .rule-head { margin-bottom: var(--s-5); }
.test__scope { margin-top: var(--s-4); }
.loads { margin-top: var(--s-7); --lw: 5.25rem; }
.loads__title { margin-bottom: var(--s-4); font-size: var(--fs-label); color: var(--fg-2); }
.loads__scale { position: relative; height: 34px; margin-left: var(--lw); border-bottom: 1px solid var(--white); }
.loads__scale span { position: absolute; left: calc(var(--v) / 3500 * 100%); bottom: 0; translate: -50% 0; padding-bottom: 12px; font-size: var(--fs-small); font-weight: 500; line-height: 1; }
.loads__scale span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 8px; background: var(--white); }
.loads__rows { position: relative; margin-left: var(--lw); padding-block: var(--s-4); }
.loads__grid span { position: absolute; top: 0; bottom: 0; left: calc(var(--v) / 3500 * 100%); border-left: 1px solid var(--gray-1); }
.loads__group { position: relative; }
.loads__group + .loads__group { margin-top: var(--s-5); }
.loads__group dt { position: absolute; right: 100%; top: 0; width: var(--lw); font-size: var(--fs-label); line-height: 28px; }
.loads__bar { position: relative; display: flex; align-items: center; justify-content: flex-end; width: calc(var(--v) / 3500 * 100%); height: 28px; padding-right: var(--s-2); background: var(--green); color: var(--black); font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
.loads__bar + .loads__bar { margin-top: var(--s-1); }
.rig { margin-top: var(--s-8); }
.rig__draw { position: relative; margin: 0 4.5rem 2.75rem 0; }
.rig__draw svg { width: 100%; height: auto; overflow: visible; }
.rig__draw rect, .rig__draw line, .rig__draw circle { vector-effect: non-scaling-stroke; }
.rig__sample { fill: none; stroke: var(--white); stroke-width: 2; }
.rig__joint { stroke: var(--gray-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.rig__plate { fill: var(--white); }
.rig__tag { position: absolute; font-size: var(--fs-small); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.rig__tag--plate { left: calc(50% + 100% * 3 / 48 + 10px); top: 50%; transform: translateY(-50%); }
.rig__tag--joint { left: calc(50% + 10px); top: 8px; color: var(--fg-2); }
.rig .dimline--w { left: 0; top: calc(100% + 1.5rem); width: 100%; }
.rig .dimline--d { top: 0; bottom: 0; left: calc(100% + 2.25rem); }
.rig figcaption { font-size: var(--fs-label); color: var(--fg-2); }
.test__facts { margin-top: var(--s-7); align-self: start; }
.test__doc { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--hair); }
.test__doc .btn-row { align-items: center; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-5); }
.test__doc p { color: var(--fg-2); font-size: var(--fs-label); max-width: 44em; }
.test__doc p + p { margin-top: var(--s-2); }
.test__meta { font-size: var(--fs-label); color: var(--fg-2); }
@media (max-width: 479px) { .rig__tag--plate { max-width: 5.2em; white-space: normal; } }
@media (max-width: 479px) { .test__doc .btn { white-space: normal; text-align: center; padding-block: var(--s-3); line-height: 1.25; } }
@media (min-width: 900px) {
  .test__lead { grid-column: 1 / span 6; }
  .loads { grid-column: 8 / -1; margin-top: 0; align-self: end; }
  .rig { grid-column: 1 / span 6; }
  .test__facts { grid-column: 8 / -1; margin-top: var(--s-8); }
}

/* ---------- Technology & Process ---------- */
.bendfull { padding-top: var(--s-7); }
.bendfull__text, .bendfull .readout { grid-column: 1 / -1; }
.bendfull__text { margin-bottom: var(--s-7); }
.bendfull__text .rule-head { margin-bottom: var(--s-5); }
.bend.bend--wide { grid-column: 1 / -1; }
.bend--wide .bend__key { max-width: none; }
.bendfull .readout { margin-top: var(--s-7); }
@media (min-width: 900px) {
  .bendfull__text, .bendfull .readout { grid-column: 1 / span 7; }
}
.mat .rule-head, .mat__fig, .mat__data { grid-column: 1 / -1; }
.mat .rule-head { margin-bottom: var(--s-6); }
.mat__fig .plate { margin-top: 0; }
.mat__data { margin-top: var(--s-6); }
.mat__data .sheet__label { margin-top: var(--s-7); }
.plain-list li { padding-block: 3px; font-size: var(--fs-data); font-weight: 500; }
@media (min-width: 900px) {
  .mat__fig { grid-column: 1 / span 7; }
  .mat__data { grid-column: 9 / -1; margin-top: 0; align-self: center; }
}
.process__head { margin-bottom: var(--s-7); }
.process__head .rule-head { margin-bottom: var(--s-5); }
.psteps { border-bottom: var(--rule) solid var(--fg); }
.pstep { row-gap: var(--s-5); align-items: start; padding-block: var(--s-6); border-top: 1px solid var(--hair); }
.pstep:first-child { border-top: var(--rule) solid var(--fg); }
.pstep > * { grid-column: 1 / -1; }
.pstep__media { display: grid; gap: var(--s-5); align-items: start; }
.pstep__media .plate { margin-top: 0; }
.pstep__media img { width: 100%; }
.pstep__media figcaption { padding-top: var(--s-2); }
@media (min-width: 600px) { .pstep__media { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 900px) {
  .pstep__body { grid-column: 1 / span 4; padding-right: var(--s-6); }
  .pstep__media { grid-column: 5 / -1; }
}
.strip-head { row-gap: var(--s-4); margin-bottom: var(--s-6); }
.strip-head > * { grid-column: 1 / -1; }
.strip4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) 2px; }
.strip4 img { width: 100%; }
.strip4 figcaption { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) var(--s-3) 0 0; font-weight: 500; line-height: 1.3; }
.strip4 figcaption span:last-child { padding-top: 0.35em; }
@media (min-width: 768px) {
  .strip-head .rule-head { grid-column: 1 / span 7; }
  .strip-head p { grid-column: 9 / -1; align-self: end; }
  .strip4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.payoff__text .ledger { margin-top: var(--s-6); }
.payoff__text .ledger + p { margin-top: var(--s-5); }
@media (min-width: 768px) and (max-width: 1023px) {
  /* Half-width column: number first, its label under it, as on phones. */
  .payoff__text .ledger__row { grid-template-columns: 1fr; }
  .payoff__text .ledger dd { min-width: 0; }
  .payoff__text .ledger__num { min-width: 0; text-align: left; }
  .payoff__text .ledger__row dt { padding-top: var(--s-2); }
}

/* ---------- About ---------- */
.team .rule-head { margin-bottom: var(--s-6); }
.team__list { border-block: var(--rule) solid var(--fg); }
.team__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: var(--s-4); padding-block: var(--s-4); border-top: 1px solid var(--hair); }
.team__photo { grid-row: 1 / -1; align-self: center; }
.team__photo img { width: 120px; height: 120px; }
.team__name { grid-area: 2 / 2; }
.team__what { grid-area: 3 / 2; }
.team__row:first-child { border-top: 0; }
.team__name { font: 600 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.team__what { max-width: none; margin-top: var(--s-2); font-size: var(--fs-data); font-weight: 500; }
@media (min-width: 768px) {
  .team__row { grid-template-columns: 120px calc(var(--u) * 3) minmax(0, 1fr); grid-template-rows: auto; column-gap: var(--s-6); align-items: center; padding-block: var(--s-5); }
  .team__photo { grid-row: auto; }
  .team__name, .team__what { grid-area: auto; }
  .team__what { margin-top: 0; }
}
.pair { display: grid; gap: var(--s-5) 2px; }
.pair img { width: 100%; }
.pair-cap { padding-top: var(--s-3); }
@media (min-width: 600px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop .rule-head, .work .rule-head { margin-bottom: var(--s-6); }
.work .who__list { margin-bottom: var(--s-8); }
.work__press { margin-top: var(--s-7); }
.forever__text, .forever__data { grid-column: 1 / -1; }
.forever__text { margin-bottom: var(--s-6); }
.forever__text .rule-head { margin-bottom: var(--s-5); }
.forever__data .sheet__label { margin-top: var(--s-6); }
@media (min-width: 900px) {
  .forever__text { grid-column: 1 / span 5; margin-bottom: 0; }
  .forever__data { grid-column: 7 / -1; }
}

/* ---------- Contact: the quote form ---------- */
.quote, .quote__done, .lines { grid-column: 1 / -1; }
.lines { order: -1; margin-bottom: var(--s-7); }
.lines a:not(.btn) { text-decoration: none; }
.lines a:not(.btn):hover { text-decoration: underline; }
.lines .btn { min-height: 40px; }
.quote__title { margin-bottom: var(--s-5); font: 700 var(--fs-step) / 1.2 var(--font-body); }
.quote__grid { display: grid; gap: var(--s-5); }
.field label { display: block; margin-bottom: var(--s-2); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.field__opt { font-weight: 400; color: var(--fg-2); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  border: var(--line-annot) solid var(--fg); border-radius: var(--radius);
  background: var(--white); color: var(--black); font: 400 1rem / 1.4 var(--font-body);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field__hint { display: block; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--fg-2); }
.field__error { display: block; margin-top: var(--s-2); padding-left: var(--s-2); border-left: 3px solid var(--orange); font-size: var(--fs-label); font-weight: 600; line-height: 1.35; }
.field [aria-invalid="true"] { border-color: var(--orange); border-width: 2px; padding: 10.5px 13.5px; }
.quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote button.btn { margin-top: var(--s-6); cursor: pointer; }
.quote__status { margin-top: var(--s-4); font-weight: 600; }
.quote__status:empty { display: none; }
.quote__done { align-self: start; padding: var(--s-6); border-block: var(--rule) solid var(--fg); }
/* The thanks box takes focus by script so screen readers announce it; it is not a control, so no focus ring. */
.quote__done:focus { outline: none; }
.quote__done h3 { margin-bottom: var(--s-3); font: 700 var(--fs-step) / 1.2 var(--font-body); }
.quote__done p + p { margin-top: var(--s-3); }
.quote__done a { white-space: nowrap; }
.fin { padding-block: var(--s-7); }
.fin p { max-width: none; font-size: var(--fs-lede); }
@media (min-width: 600px) {
  .quote__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .quote, .quote__done { grid-column: 1 / span 7; }
  .lines { grid-column: 9 / -1; order: 0; align-self: start; margin-bottom: 0; }
}

/* ---------- Talk to us ---------- */
/* Stands in for live chat until it is connected. The wrapper is the last thing in <main>,
   has no height and sticks to the bottom of the screen, so the button behaves as fixed
   while the page content is showing and stops above the footer instead of covering it. */
.talk { display: none; }
.js .talk { display: block; position: sticky; bottom: 0; z-index: 40; height: 0; }
.talk__btn {
  position: absolute; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  min-height: 44px; padding: 0 var(--s-5);
  background: var(--black); color: var(--white);
  border: var(--line-annot) solid var(--white); border-radius: var(--radius);
  font: 600 1rem / 1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s, visibility 0.15s;
}
.talk__btn:hover, .talk__btn[aria-expanded="true"] { background: var(--white); color: var(--black); border-color: var(--black); }
/* A white ring inside a black one, so the focus shows on black and on light sections. */
.talk__btn:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
.talk.is-away .talk__btn { opacity: 0; visibility: hidden; }
@media (max-width: 767px) {
  /* Room under the last block of a page for the button to rest in, clear of the content. */
  .js main > .section:has(+ .talk) { padding-bottom: calc(var(--section-y) + var(--s-5)); }
  .js main > .fin:has(+ .talk) { padding-bottom: calc(var(--s-7) + var(--s-6)); }
}
.talk__panel {
  position: absolute; right: var(--s-4); bottom: calc(var(--s-4) + 44px + var(--s-2) + env(safe-area-inset-bottom, 0px));
  width: min(21rem, calc(100vw - 2 * var(--s-4))); padding: var(--s-3) var(--s-5) var(--s-5);
  border: var(--line-annot) solid var(--white);
}
.talk__panel:focus { outline: none; }
.talk__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-2); }
.talk__title { font: 700 1.125rem / 1.2 var(--font-body); }
.talk__close { min-height: 44px; margin-right: calc(-1 * var(--s-2)); padding: 0 var(--s-2); background: none; border: 0; color: var(--white); font: 500 var(--fs-label) / 1 var(--font-body); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.talk__close:hover { text-decoration-thickness: 2px; }
.talk__panel a { text-decoration: none; }
.talk__panel a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.lost { padding-block: var(--s-9); }
.lost .display { margin-bottom: var(--s-5); font-size: var(--fs-page); }
.lost .btn-row { margin-top: var(--s-6); }
.lost ul { margin-top: var(--s-6); border-block: var(--rule) solid var(--fg); max-width: 28rem; }
.lost li + li { border-top: 1px solid var(--hair); }
.lost li a { display: flex; align-items: center; min-height: 52px; font-size: var(--fs-data); font-weight: 500; text-decoration: none; }
.lost li a:hover { text-decoration: underline; }

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

/* ---------- Print ---------- */
@media print {
  .site-header, .menu-btn, .hero__media, .site-footer__pages, .talk { display: none; }
  .on-dark { --bg: var(--white); --fg: var(--black); --fg-2: var(--gray-1); --hair: var(--gray-3); }
}

/* ---------- Choose your floor, simplified to selection and price ---------- */
.range__group + .range__group { margin-top: var(--s-7); }
.range__label { margin-bottom: var(--s-3); font: 600 var(--fs-label) / 1.3 var(--font-body); color: var(--fg-2); }
.range--simple .floor { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3) var(--s-5); align-items: end; }
.range--simple .floor__id { grid-column: 1 / -1; }
.range--simple .floor__price { font-size: var(--fs-data); font-weight: 500; }
.range--simple .price__unit { font-size: var(--fs-small); font-weight: 400; color: var(--fg-2); }
.range--simple .floor__go { text-align: right; white-space: nowrap; }
@media (min-width: 1024px) {
  .range--simple .floor { grid-template-columns: calc(var(--u) * 6) calc(var(--u) * 3) 1fr; align-items: center; }
  .range--simple .floor__id { grid-column: auto; }
}

/* paragraph spacing where a second paragraph was added */
.thesis__text p + p, .compare__text p + p { margin-top: var(--s-4); }

/* Stage Floor */
.duo__intro { max-width: 44em; margin-bottom: var(--s-7); font-size: 1.125rem; }
.sheet__tag { margin-top: var(--s-2); font-weight: 600; }
.duo__note { margin-top: var(--s-6); font-size: var(--fs-label); color: var(--fg-2); }

/* Technology. The bend test drawing, the five-frame Bronx strip */
.bendart { grid-column: 1 / -1; }
.bendart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bendart .ba-base { stroke: var(--gray-1); stroke-width: 2; stroke-dasharray: 8 8; }
.bendart .ba-pine { fill: none; stroke: var(--gray-2); stroke-width: 2.5; }
.bendart .ba-pine--uneven { stroke-dasharray: 10 7; }
.bendart .ba-fs { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; }
.bendart .ba-support { fill: none; stroke: var(--white); stroke-width: 2.5; }
.bendart .ba-load { stroke: var(--white); stroke-width: 4; }
.bendart .ba-load-head { fill: var(--white); }
.bendart .ba-dim { stroke: var(--orange); stroke-width: 2; }
.bendart .ba-text { fill: var(--white); font: 500 26px / 1 var(--font-body); }
.bendart .ba-text--fs { fill: var(--green); }
.bendart .ba-text--pine { fill: var(--gray-2); }
.bendart .ba-text--dim { fill: var(--orange); }
.bendart__key { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.bendart__key li { display: flex; gap: var(--s-4); align-items: baseline; }
.bendart__key .sw { flex: none; display: inline-block; width: 32px; height: 0; border-top: 6px solid var(--green); translate: 0 -4px; }
.bendart__key .sw--pine { border-top: 3px solid #D9B98A; }
.bendart__note { margin-top: var(--s-4); font-size: var(--fs-label); color: var(--gray-2); }
@media (max-width: 599px) { .bendart .ba-text { font-size: 40px; } }
.mat__pat { margin-top: var(--s-5); font-size: var(--fs-label); color: var(--fg-2); }
@media (min-width: 1024px) { .strip5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.payoff__text p + p { margin-top: var(--s-4); }

/* About. Built in Rhode Island map */
.shop__text, .shop__map { grid-column: 1 / -1; }
.shop__text .rule-head { margin-bottom: var(--s-5); }
.shop__text p + p, .shop__addr + p { margin-top: var(--s-5); }
.shop__addr { margin-top: var(--s-5); font-style: normal; font-weight: 500; line-height: 1.5; }
.shop__map { margin-top: var(--s-7); }
.shop__map svg { display: block; width: 100%; max-width: 360px; height: auto; margin-inline: auto; }
.shop__state path { fill: var(--canvas, #efefef); stroke: var(--black); stroke-width: 1.5; stroke-linejoin: round; }
.shop__pin { fill: var(--green); stroke: var(--black); stroke-width: 2.5; }
.shop__label { fill: var(--black); font: 600 18px / 1 var(--font-body); }
@media (min-width: 900px) {
  .shop__text { grid-column: 1 / span 6; align-self: center; }
  .shop__map { grid-column: 8 / -1; margin-top: 0; }
}

/* Contact */
.lines__note, .lines__social { margin-top: var(--s-5); font-size: var(--fs-label); }
.fin__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.fin__logo img { display: block; width: 180px; height: auto; }

/* ---------- Products, floors first (black), surfaces second (gray) ---------- */
.stepmark { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-label); font-weight: 600; color: var(--fg-2); }
.stepmark .num { width: 1.75rem; height: 1.75rem; font-size: 0.875rem; }
.compare-all__intro { max-width: 40rem; margin-top: calc(var(--s-5) * -1); }
.compare-all .spec thead a { color: inherit; text-decoration: none; }
.compare-all .spec thead a:hover { text-decoration: underline; }
.jump--split { align-items: center; }
.jump__label { font-size: var(--fs-label); color: var(--fg-2); }
.jump__label + a { margin-left: calc(var(--s-6) * -0.5); }
.jump__label:not(:first-child) { margin-left: var(--s-4); padding-left: var(--s-6); border-left: 1px solid var(--hair); }
.sheet__photos--one { max-width: 30rem; }
.surfaces__soon { max-width: 40rem; margin-top: var(--s-6); }
.marley__media, .marley__care { grid-column: 1 / -1; }
.marley__media { margin-bottom: var(--s-6); }
.marley__text p + p, .marley__text .lede + p { margin-top: var(--s-4); }
.marley__care { margin-top: var(--s-7); }
.marley__care .sheet__label { margin-top: 0; }
.marley__care li { max-width: 40rem; font-weight: 400; }
.marley .facts { margin-top: var(--s-6); }
@media (min-width: 900px) {
  .marley__media { grid-column: 7 / -1; grid-row: 1; align-self: start; margin-bottom: 0; }
  .marley .facts { grid-column: 1 / span 5; margin-top: var(--s-7); }
  .marley__care { grid-column: 7 / -1; align-self: end; }
}
.sheet__photos--one { grid-template-columns: minmax(0, 1fr); max-width: none; }
@media (min-width: 900px) { .sheet__photos--one { grid-column: 1 / span 4; } }
.surfaces__head .surfaces__title { grid-column: 1 / -1; align-self: end; }
@media (min-width: 900px) {
  .surfaces__head .surfaces__title { grid-column: 1 / span 5; }
  .marley__care { align-self: start; }
}
@media (max-width: 767px) {
  .jump--split .jump__label { flex-basis: 100%; margin: var(--s-3) 0 0; padding: 0; border: 0; }
  .jump--split .jump__label + a { margin-left: 0; }
}

/* Bend test: render plus the measured curves as an overlay */
.bendviz { position: relative; }
.bendviz img { display: block; width: 100%; height: auto; }
.bendart .bendviz__inset { display: block; width: 100%; height: auto; margin-top: var(--s-4); overflow: visible; }
.bv-base { stroke: var(--gray-2); stroke-width: 1.5; stroke-dasharray: 6 6; }
.bv-pine { fill: none; stroke: #D9B98A; stroke-width: 2; opacity: 0.85; }
.bv-fs { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }
.bv-pin { fill: var(--black); stroke: var(--white); stroke-width: 2.5; }
.bv-dim { stroke: var(--orange); stroke-width: 2; }
.bv-dim-head { fill: none; stroke: var(--orange); stroke-width: 2; }
.bv-text { fill: var(--white); font: 500 21px / 1 var(--font-body); }
.bv-text--pine { fill: #D9B98A; }
@media (min-width: 700px) {
  .bendart .bendviz__inset { position: absolute; top: 5%; right: 3%; width: 42%; margin-top: 0; }
}

/* more current-site photos */
.sheet__photos--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
@media (min-width: 900px) { .sheet__photos--two { grid-column: 1 / span 7; } }
.marley__samples, .crew { grid-column: 1 / -1; display: grid; gap: var(--s-4); margin-top: var(--s-7); }
.crew { grid-column: 1 / -1; }
@media (min-width: 768px) { .marley__samples, .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; } }
.marley__samples img, .crew img { width: 100%; height: auto; }

/* Photo captions show on hover only. Numbered sequence labels, drawing notes and layer text are not .caption and stay visible. On touch screens the caption is kept for screen readers only. */
figure:has(> figcaption.caption) { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
figure:has(> figcaption.caption) > * { grid-area: 1 / 1; }
figure > figcaption.caption { align-self: end; z-index: 1; margin: 0; padding: var(--s-6) var(--s-4) var(--s-3); background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .78)); color: var(--white); font-weight: 500; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
figure:hover > figcaption.caption, figure:focus-within > figcaption.caption { opacity: 1; }
figure:has(> figcaption.caption) img { display: block; }
@media (prefers-reduced-motion: reduce) { figure > figcaption.caption { transition: none; } }
@media not all and (hover: hover) {
  figure > figcaption.caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 1; }
}

/* Products page jump links as buttons, floor cards at the top, Go render as the lead figure */
.jump--split { gap: var(--s-2); padding-top: var(--s-4); }
.jump--split a { padding: 0 var(--s-4); border: 1px solid var(--hair); border-radius: var(--radius); transition: background-color .15s, border-color .15s, color .15s; }
.jump--split a:hover, .jump--split a:focus-visible { background: var(--green); border-color: var(--green); color: var(--black); text-decoration: none; }
@media (min-width: 768px) {
  .jump--split .jump__label + a { margin-left: var(--s-2); }
  .jump--split .jump__label:not(:first-child) { margin-left: var(--s-4); padding-left: var(--s-5); }
}
.fcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin: var(--s-6) 0 var(--s-7); padding: 0; list-style: none; }
@media (min-width: 1024px) { .fcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border: 1px solid var(--hair); border-top: 4px solid var(--green); transition: transform .2s ease; }
.fcard__link:hover, .fcard__link:focus-visible { transform: translateY(-3px); }
.fcard__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fcard__name { padding: var(--s-4) var(--s-4) 0; font: 700 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.fcard__line { padding: var(--s-2) var(--s-4) 0; font-weight: 500; line-height: 1.35; }
.fcard__price { margin-top: auto; padding: var(--s-4); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .fcard__link { transition: none; } }
.gorender { align-self: start; background: var(--black); padding: var(--s-5); }
.gorender img { display: block; width: 100%; height: auto; }
.gorender__tag { margin-top: var(--s-4); color: var(--white); font-weight: 500; }
.go-media { display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 768px) { .crew--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.crew--pair + .crew { margin-top: 2px; }
@media (max-width: 767px) { .crew--pair + .crew { margin-top: var(--s-4); } }

/* About, "On the job": one composed grid. The crew selfie is the lead, tall on the left; four smaller photos fill a 2 by 2 block beside it. */
.crew-wrap { margin-top: var(--s-8); }
.crew-wrap__head { margin-bottom: var(--s-5); font: 700 var(--fs-floor) / 1 var(--font-head); text-transform: uppercase; }
.crew-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 2px; }
.crew-grid > figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 768px) {
  .crew-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(150px, 19vw, 290px); }
  .crew-grid > figure:first-child { grid-column: 1; grid-row: 1 / span 2; }
}
.crew-grid > figure { height: 100%; grid-template-rows: 100%; align-content: stretch; }
.crew-grid picture { display: block; height: 100%; }
.crew-grid img { width: 100%; height: 100%; object-fit: cover; }
.crew-grid > figure:first-child img { object-position: 50% 30%; }

/* About, Built in Rhode Island v2: US map drawn as the grid, green lines out of Coventry */
.shop__text, .shipmap { grid-column: 1 / -1; }
.shop__lede { margin-bottom: var(--s-4); }
.shipmap { margin-top: var(--s-7); }
.shipmap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sm-gridfill { fill: url(#sm-grid); }
#sm-grid path { fill: none; stroke: var(--gray-1); stroke-width: 0.9; }
.sm-coast { fill: none; stroke: var(--gray-2); stroke-width: 1.3; stroke-linejoin: round; }
.sm-arcs { filter: drop-shadow(0 0 3px rgba(118, 188, 33, .6)); }
.sm-arc { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sm-city { fill: var(--white); stroke: var(--black); stroke-width: 2.5; }
.sm-label { fill: var(--white); font: 500 16px / 1 var(--font-body); paint-order: stroke; stroke: var(--black); stroke-width: 5px; stroke-linejoin: round; }
.sm-label--ri { font-weight: 600; }
.sm-mini { fill: var(--white); font: 500 9.5px / 1 var(--font-body); paint-order: stroke; stroke: var(--black); stroke-width: 3px; }
.sm-mini--strong { font-weight: 700; fill: var(--green); }
.sm-pin { fill: var(--green); stroke: var(--black); stroke-width: 2; }
.sm-pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.sm-zoom { fill: none; stroke: var(--white); stroke-width: 1.2; }
.sm-lead { fill: none; stroke: var(--gray-2); stroke-width: 1; stroke-dasharray: 3 3; }
.sm-box { fill: var(--black); stroke: var(--white); stroke-width: 1.2; }
.sm-ri { fill: #1a1a1a; stroke: var(--white); stroke-width: 4; stroke-linejoin: round; }
.shipmap__note { margin-top: var(--s-4); color: var(--fg-2); font-size: var(--fs-label); }
.shipmap.is-armed:not(.is-in) .sm-arc { stroke-dashoffset: 1; }
.shipmap.is-armed:not(.is-in) .sm-city:not(.sm-city--still), .shipmap.is-armed:not(.is-in) .sm-label:not(.sm-label--ri) { opacity: 0; }
.shipmap.is-in .sm-arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.3, .6, .2, 1) calc(var(--i) * 110ms + 200ms); }
.shipmap.is-in .sm-city, .shipmap.is-in .sm-label { opacity: 1; transition: opacity .35s ease calc(var(--i) * 110ms + 1100ms); }
@media (prefers-reduced-motion: no-preference) {
  .sm-pulse { animation: sm-pulse 2.6s ease-out infinite; }
  @keyframes sm-pulse { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3); } }
}
@media (max-width: 599px) {
  .sm-label { font-size: 30px; stroke-width: 8px; }
  .sm-label--wide { display: none; }
  .sm-arc { stroke-width: 3.5; }
  .sm-city { r: 7; }
  .sm-mini { font-size: 0; }
  .sm-label--ri { font-size: 20px; stroke-width: 6px; }
  .shipmap { margin-inline: calc(var(--margin) * -1); }
  .shipmap__note { padding-inline: var(--margin); }
  .shipmap__svg { width: calc(100% - 12px); margin-inline: auto; }
  .sm-label--la { transform: translateX(34px); }
}
@media (min-width: 1024px) {
  .shop__text { grid-column: 1 / span 4; align-self: center; }
  .shipmap { grid-column: 5 / -1; margin-top: 0; }
}

/* Social links with platform icons */
.soc__ico { width: 18px; height: 18px; flex: none; fill: currentColor; }
.site-footer__social a, .lines__social a { display: inline-flex; align-items: center; gap: var(--s-2); }
.site-footer__social a:hover .soc__ico, .lines__social a:hover .soc__ico { fill: var(--green); }
.lines__social { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.lines__social a { min-height: 44px; }
.lines__social { gap: 0 var(--s-5); }
.lines__social-label { flex-basis: 100%; }
.lines__social a { min-height: 40px; }

/* About, team cards: portraits in a black-to-green duotone (grayscale photo under a green multiply layer); hover or focus shows the plain photo. */
.tcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tcards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); } }
.tcard__media { position: relative; overflow: hidden; background: var(--black); }
.tcard__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: contrast(1.08); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tcard__media picture { display: block; position: relative; overflow: hidden; }
.tcard__media picture::after { content: none; }
.tcard__name { position: relative; z-index: 1; margin: 0; padding: var(--s-3) var(--s-4) var(--s-3); border-top: 4px solid var(--green); background: var(--black); color: var(--white); font: 700 clamp(1.35rem, 2vw, 1.9rem) / 1 var(--font-head); letter-spacing: .01em; text-transform: uppercase; }
.tcard__what { max-width: none; margin-top: var(--s-3); font-size: var(--fs-label); font-weight: 500; line-height: 1.4; }
.tcard:hover .tcard__media picture::after, .tcard:focus-within .tcard__media picture::after { opacity: 0; }
.tcard:hover .tcard__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tcard__media img, .tcard__media picture::after { transition: none; } .tcard:hover .tcard__media img { transform: none; } }
@media (max-width: 599px) { .tcard__name { padding: var(--s-2) var(--s-3); } }

/* Home, Trusted by: one compact band. Logos run in a slow loop (second copy is aria-hidden); hover pauses; reduced motion shows a static wrapped row. */
.who { padding-block: var(--s-5); }
.who__in { display: flex; flex-direction: column; gap: var(--s-3); }
.who__label { flex: none; font: 600 1.25rem / 1 var(--font-head); text-transform: uppercase; }
.logorun { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.logorun__list { display: flex; flex: none; align-items: center; gap: 44px; margin: 0; padding: 0 44px 0 0; list-style: none; animation: logorun 45s linear infinite; }
.logorun__list li { flex: none; }
.logorun__list img { display: block; width: calc(var(--w) * .8px); height: auto; }
.logorun:hover .logorun__list { animation-play-state: paused; }
@keyframes logorun { to { transform: translateX(-100%); } }
@media (min-width: 768px) {
  .who__in { flex-direction: row; align-items: center; gap: var(--s-6); }
  .logorun { flex: 1; min-width: 0; }
  .logorun__list { gap: 56px; padding-right: 56px; }
  .logorun__list img { width: calc(var(--w) * 1px); }
}
@media (prefers-reduced-motion: reduce) {
  .logorun { -webkit-mask-image: none; mask-image: none; }
  .logorun__list { flex: 1; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-6); padding: 0; animation: none; }
  .logorun__list[aria-hidden] { display: none; }
}

/* Home "From the grid up." photo field */
.field__head { row-gap: var(--s-5); margin-bottom: var(--s-7); }
.field__head .rule-head, .field__lede { grid-column: 1 / -1; }
.field__lede { max-width: var(--measure); color: var(--gray-3); }
.field__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.field__item { position: relative; margin: 0; overflow: hidden; background: #111; aspect-ratio: 1; }
.field__item--a { grid-column: 1 / -1; }
.field__item picture, .field__item img { display: block; width: 100%; height: 100%; }
.field__item img { object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .field__item:hover img { transform: scale(1.04); } }
@media (min-width: 768px) {
  .field__head { align-items: end; }
  .field__head .rule-head { grid-column: 1 / span 6; }
  .field__lede { grid-column: 7 / -1; }
  .field__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
  .field__item { grid-column: span 3; }
  .field__item--a { grid-column: 1 / span 7; grid-row: 1 / span 2; aspect-ratio: auto; }
  .field__item--a picture { position: absolute; inset: 0; }
  .field__item--b, .field__item--c { grid-column: 8 / -1; aspect-ratio: 4 / 3; }
}

/* Motion: scroll reveals and count-up numbers, set up by js/site.js only when motion is allowed.
   Nothing is hidden without JS, and anything already on screen at load is never hidden. */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media print { .motion [data-reveal] { opacity: 1; transform: none; } }

/* Hero settle: the photo eases in from slightly larger on load. CSS only, so it starts with the first paint. */
.hero__media { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 2.4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 60% 50%; }
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }

/* Home hero v5: the photo breaks its own frame. Box and spill are cut from one black-and-white
   pass of IMG_7701 at the same scale: the box starts at x 1100 of the original, the spill is x 0 to 1100,
   cut along the plywood edge and fading out to the left. Both are sized from the box (container units),
   so the seam lines up at every width. The spill is static: it is in place from the first paint. */
.hero__spill { display: none; }
@media (min-width: 768px) {
  .hero { overflow: clip; }
  .hero__media { right: 0; container-type: size; overflow: visible; }
  .hero__media .hero__box { position: absolute; inset: 0; overflow: hidden; }
  .hero__media .hero__box img { position: absolute; top: 0; left: 0; max-width: none; width: auto; height: max(100cqh, 83.16cqw); }
  .hero__media .hero__spill { display: block; position: absolute; top: -1px; right: calc(100% - 2px); height: max(100cqh, 83.16cqw); aspect-ratio: 1100 / 1600; pointer-events: none; }
  .hero__media .hero__spill img { display: block; width: 100%; height: 100%; }
  .hero__in { z-index: 2; }
  .hero .display, .hero .lede { text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
}
@media (max-width: 1023px) { .hero__media .hero__spill { display: none; } }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: none; }
}
@media (min-width: 1024px) {
  .hero__text { position: relative; }
  .hero__text::before { /* soft shade so the text reads over the grid */ content: ""; position: absolute; z-index: -1; left: -6%; right: -14%; top: 38%; bottom: -14%;
    background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,.35) 60%, transparent); pointer-events: none; }
}

/* X-ray floor: Home, "One room". Finished marley on top; the grid photo from the same spot shows
   through a lens on mouse devices, or left of a drag line on touch. --x, --y set by js/site.js. */
.xray-wrap { margin-bottom: var(--s-7); }
.xray { margin: 0; --r: clamp(84px, 12vw, 160px); }
.xray__stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #1a1a1a; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.xray__stage picture, .xray__stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.xray__stage img { object-fit: cover; }
.xray__under { clip-path: circle(var(--r) at var(--x) var(--y)); }
.xray__ring { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% -50%;
  border: 2px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 14px 40px rgba(0, 0, 0, .45); pointer-events: none; }
.xray__tag { position: absolute; padding: 4px 10px; border-radius: 999px; background: var(--black); color: var(--white);
  font: 500 var(--fs-small) / 1.2 var(--font-body); white-space: nowrap; pointer-events: none; }
.xray__ring .xray__tag { left: 50%; bottom: -14px; translate: -50% 0; color: var(--green); }
.xray__split { display: none; }
.xray.is-live .xray__stage { cursor: none; }
.xray.is-split .xray__stage { cursor: ew-resize; }
.xray.is-split .xray__under { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.xray.is-split .xray__ring { display: none; }
.xray.is-split .xray__split { display: block; position: absolute; inset: 0 auto 0 var(--x); width: 0; border-left: 2px solid var(--green); pointer-events: none; }
.xray__knob { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; background: var(--green);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.xray__knob::before, .xray__knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-block: 6px solid transparent; translate: 0 -50%; }
.xray__knob::before { left: 9px; border-right: 8px solid var(--black); }
.xray__knob::after { right: 9px; border-left: 8px solid var(--black); }
.xray__tag--l, .xray__tag--r { top: 12px; }
.xray__tag--l { right: 12px; color: var(--green); }
.xray__tag--r { left: 12px; }
.xray__cap { margin-top: var(--s-3); font-size: var(--fs-label); color: var(--fg-2); }
.xray__hint { display: none; margin-right: .35em; color: var(--fg); font-weight: 500; }
.xray.is-live:not(.is-split) .xray__hint--lens, .xray.is-live.is-split .xray__hint--drag { display: inline; }
.xray:has(.xray__range:focus-visible) .xray__stage { outline: 3px solid var(--green); outline-offset: 3px; }

/* quote form marks the two required fields; social handle; icons larger, green on the black footer */
.field__req { color: var(--fg); margin-left: 2px; }
.quote__req { margin-top: calc(var(--s-3) * -1); margin-bottom: var(--s-5); font-size: var(--fs-label); color: var(--fg-2); }
.soc__handle { margin-bottom: var(--s-3); font-weight: 500; }
.soc__ico { width: 22px; height: 22px; }
.site-footer__social .soc__ico { fill: var(--green); }
.site-footer__social a:hover .soc__ico { fill: var(--white); }
.lines__social-label strong { font-weight: 600; }

/* About origin: founders photo with the early workshop beneath it */
.origin__media { grid-column: 1 / -1; margin-bottom: var(--s-6); }
.origin__media .origin__photo { margin: 0; }
.origin__media img { display: block; width: 100%; height: auto; }
.origin__early { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }
.origin__early figure { margin: 0; }
.origin__early-cap { grid-column: 1 / -1; font-size: var(--fs-label); color: var(--fg-2); }
@media (min-width: 768px) {
  .origin__media { grid-column: 1 / span 6; margin-bottom: 0; }
}

/* Home comparison: a black band between the white thesis and the grey layer story, a full column of
   space between the text and the table, and rows sized to their content instead of stretched to the text. */
.compare .compare__table { align-self: start; }
.compare.on-dark .compare__table tbody .is-fs { background: #121a08; color: var(--green); border-top-color: #2b3d12; }
.compare.on-dark .compare__text p { color: var(--gray-3); }
@media (min-width: 1024px) {
  .compare__text { grid-column: 1 / span 4; }
  .compare__table { grid-column: 6 / -1; }
  .compare__table th, .compare__table td { padding-block: var(--s-5); }
}

/* Home technology band v2: the grid photo is the background of the whole section, darkened, with the
   heading over it and the materials on frosted cards (green top edge). */
.tech.on-dark { position: relative; padding-top: 0; isolation: isolate; }
.tech .tech__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tech .tech__photo picture, .tech .tech__photo img { width: 100%; height: 100%; }
.tech .tech__photo img { object-fit: cover; object-position: 50% 50%; }
.tech .tech__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.82) 100%),
              linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.tech .tech__in { padding-block: clamp(6rem, 4rem + 8vw, 11rem) var(--section-y); }
.tech .tech__text .rule-head { font-size: var(--fs-page); }
.tech .tech__text p { font-size: var(--fs-lede); max-width: 30em; }
.tech .materials { border: 0; gap: var(--s-3); }
.tech .materials > div { background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--green); border-radius: var(--radius); padding: var(--s-5) var(--s-4); }
.tech .materials dt { color: var(--gray-3); font-size: var(--fs-small); }
.tech .materials dd { font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); font-weight: 600; line-height: 1.25; margin-top: var(--s-2); }
@media (max-width: 767px) {
  .tech .materials { display: grid; grid-template-columns: 1fr 1fr; }
  .tech .materials > div:last-child { grid-column: 1 / -1; }
}

/* Home origin: founders photo with the early workshop layered over its lower right corner */
.origin__stack { position: relative; margin-bottom: calc(var(--s-6) + 12%); }
.origin__stack > picture img { display: block; width: 86%; height: auto; }
.origin__inset { position: absolute; right: 0; bottom: -12%; width: 52%; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); outline: 6px solid var(--white); }
.origin__inset img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .origin__stack { margin-bottom: 0; align-self: center; }
}
/* Home layer story step 1: the Bronx Music Hall layout as a CAD sheet. The linework comes from the
   layout PDF, traced in orange and drawn in on scroll; measurements and the bill of materials are set as text. */
.plate__cad .cad-fine { fill: none; stroke: var(--orange); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate__cad .cad-heavy { fill: none; stroke: var(--orange); stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.plate__cad .cad-fill { fill: var(--orange); stroke: none; }
.cad__labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.cad__dim { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; padding: 0 3px;
  background: var(--canvas); color: var(--black); font: 500 clamp(0.625rem, 2.6cqw, 0.8125rem) / 1 var(--font-body);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.cad__dim--v { rotate: -90deg; }
.cad__bom { position: absolute; left: 66%; top: 18%; width: 31%; border-top: var(--line-annot) solid var(--orange); padding-top: 6px; }
.cad__bom-title { margin: 0 0 4px; font: 600 clamp(0.6875rem, 2.8cqw, 0.875rem) / 1.2 var(--font-body); color: var(--black); }
.cad__bom table { border-collapse: collapse; width: 100%; font: 400 clamp(0.625rem, 2.5cqw, 0.8125rem) / 1.35 var(--font-body); color: var(--black); }
.cad__bom td { padding: 1px 0; border-bottom: 1px solid rgba(219, 104, 27, .35); vertical-align: top; }
.cad__bom td:first-child { width: 2.6em; font-variant-numeric: tabular-nums; font-weight: 600; }
.cad__title { position: absolute; left: 66%; bottom: 14%; width: 31%; margin: 0; padding-top: 6px; border-top: var(--line-annot) solid var(--orange);
  font: 400 clamp(0.625rem, 2.5cqw, 0.8125rem) / 1.35 var(--font-body); color: var(--fg-2, #4f4f4f); }
.cad__title strong { display: block; color: var(--black); font-weight: 600; }
.layers-pin .cad__labels, .layers-pin .cad__bom, .layers-pin .cad__title { opacity: 0; transition: opacity .6s ease .9s; }
.layers-pin .layers.is-started .cad__labels, .layers-pin .layers.is-started .cad__bom, .layers-pin .layers.is-started .cad__title { opacity: 1; }

/* Layer story timing: shorter runway per step (about a third less scrolling) and the surface shows as soon
   as "Performance surface" arrives. The switch line sits a little below the middle (layers.js). */
.layers-pin .step__body, .layers-pin .beat__text { min-height: 44svh; }
.layers-pin .step--surface .step__body { min-height: 0; }
@media (min-width: 900px) {
  .layers-pin .step__body { min-height: 48svh; }
  .layers-pin .beat__text { min-height: 40svh; }
  .layers-pin .step--surface .step__body { min-height: 0; }
  .layers-pin .layers__end { margin-top: var(--s-6); }
}
/* Choose your floor gets its photos. Phones and tablets: a square thumbnail leads each row.
   Desktop: one large photo beside the list shows the floor you point at, tab to or scroll past. */
.range--simple .floor { grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--s-4); row-gap: var(--s-2); }
.range--simple .floor__thumb { grid-row: 1 / span 3; align-self: start; display: block; width: 72px; height: 72px; background: var(--gray-1); }
.range--simple .floor__thumb img { width: 100%; height: 100%; object-fit: cover; }
.range--simple .floor__id, .range--simple .floor__price, .range--simple .floor__go { grid-column: 2 / -1; }
.range--simple .floor__go { text-align: left; }
.range--simple .floor__price .price__unit { display: inline-block; }
@media (min-width: 600px) and (max-width: 1023px) {
  .range--simple .floor__thumb { width: 96px; height: 96px; grid-row: 1 / span 2; }
  .range--simple .floor { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: var(--s-5); }
  .range--simple .floor__price { grid-column: 2; }
  .range--simple .floor__go { grid-column: 3; text-align: right; }
}
.range__view { display: none; }
@media (min-width: 1024px) {
  .range__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-8); align-items: start; }
  .range--simple .floor { position: relative; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id price" "id go"; row-gap: var(--s-2); align-items: center; padding-block: var(--s-5); }
  .range--simple .floor__thumb { display: none; }
  .range--simple .floor__id { grid-area: id; grid-column: auto; transition: translate .35s cubic-bezier(.2, .7, .2, 1); }
  .range--simple .floor__price { grid-area: price; grid-column: auto; align-self: end; text-align: right; }
  .range--simple .floor__go { grid-area: go; grid-column: auto; align-self: start; justify-self: end; text-align: right; }
  .range--simple .price__num { font-size: 2rem; }
  .range--simple .floor::before { content: ""; position: absolute; left: 0; top: var(--s-5); bottom: var(--s-5); width: 4px; background: var(--green); transform: scaleY(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .range--simple .floor.is-active::before { transform: scaleY(1); }
  .range--simple .floor.is-active .floor__id { translate: var(--s-5) 0; }
  .range--simple .floor__name a { transition: color .2s ease; }
  .range--simple .floor.is-active .floor__name a { color: var(--green); }
  .range__view { display: block; position: sticky; top: 96px; margin: 0; margin-top: calc(var(--fs-label) * 1.3 + var(--s-3)); aspect-ratio: 4 / 5; max-height: calc(100svh - 128px); overflow: hidden; background: var(--gray-1); }
  .range__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
  .range__shot.is-on { opacity: 1; }
  .range__shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .range__shot.is-on img { transform: scale(1); }
  .range__view::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); pointer-events: none; }
  .range__chip { position: absolute; z-index: 1; left: 0; top: 0; padding: var(--s-2) var(--s-4); background: var(--green); color: var(--black); font: 700 1.5rem / 1 var(--font-head); text-transform: uppercase; }
  .range__cap { position: absolute; z-index: 1; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); color: var(--white); font-size: var(--fs-label); font-weight: 500; }
}
@media (min-width: 1024px) and (max-width: 1247px) {
  .range--simple .floor__price .price__unit { display: block; margin: 2px 0 0; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .range__shot, .range__shot img, .range--simple .floor__id, .range--simple .floor::before { transition: none; }
  .range__shot img { transform: none; }
}
/* Products floor sheets as spec cards. Key numbers up top, one gallery where the plan drawing
   (or the Go panel render) is its own frame after the photos, specs in a compact two-column grid, price beside the quote button. */
.sheet--v2 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "data"; row-gap: var(--s-6); }
.sheet--v2 + .sheet--v2 { margin-top: var(--s-9); }
.sheet--v2 .sheet__head { grid-area: head; grid-column: auto; grid-row: auto; }
.sheet--v2 .sheet__media { grid-area: media; position: relative; }
.sheet--v2 .sheet__data { grid-area: data; grid-column: auto; grid-row: auto; padding-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); padding-top: var(--s-3); border-top: 4px solid var(--green); }
.stats dt { font-size: var(--fs-small); line-height: 1.3; color: var(--fg-2); }
.stats dd { font: 500 clamp(1.75rem, 1.2rem + 2.2vw, 3rem) / 1 var(--font-body); letter-spacing: -0.02em; white-space: nowrap; }
.stats dd span { font-size: max(0.875rem, 0.4em); font-weight: 500; letter-spacing: 0; }
.gal__stage { position: relative; aspect-ratio: 4 / 3; background: var(--gray-3); }
.gal__shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .4s ease; }
.gal__shot.is-on { opacity: 1; }
.gal__shot picture { display: block; width: 100%; height: 100%; }
.gal__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gal__shot::after { content: ""; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.gal__shot figcaption { position: absolute; z-index: 1; right: var(--s-4); top: var(--s-3); max-width: 52%; color: var(--white); font-size: var(--fs-small); font-weight: 500; line-height: 1.35; text-align: right; }
.gal__thumbs { display: flex; gap: var(--s-2); margin-top: var(--s-2); }
.gal__thumb { flex: 0 1 96px; padding: 0; border: 0; background: none; cursor: pointer; }
.gal__thumb > img, .gal__thumb > svg { opacity: .55; transition: opacity .2s ease; }
.gal__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__thumb:hover > img, .gal__thumb:hover > svg, .gal__thumb[aria-pressed="true"] > img, .gal__thumb[aria-pressed="true"] > svg { opacity: 1; }
.gal__thumb[aria-pressed="true"] { outline: 3px solid var(--green); outline-offset: 2px; }
.sheet__buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-5); align-items: end; margin-top: var(--s-6); }
.sheet__buy .sheet__price { display: contents; }
.sheet__buy .sheet__price > * { grid-column: 1; }
.sheet__buy .sheet__price .price__num { font-size: 2.25rem; }
.sheet__buy .sheet__price .note { grid-column: 1 / -1; max-width: 30rem; margin-top: var(--s-3); }
.sheet__buy .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.readout--grid > div { display: block; }
.readout--grid dd { margin-top: 2px; text-align: left; }
.sheet__media > .readout { margin-top: var(--s-5); }
.sheet--v2 .sheet__data .btn { margin-top: 0; }
.sheet--v2 .sheet__data .names.names--inline { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin-left: 0; font-size: 1rem; line-height: 1.5; }
.sheet--v2 .sheet__data .names--inline li { position: relative; padding-left: 14px; white-space: nowrap; }
.sheet--v2 .sheet__data .names--inline li::before { content: ""; display: block; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--green); }
.sheet--v2 .sheet__data > .sheet__label { margin-top: var(--s-6); }
.readout--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); }
.readout--grid > div:nth-child(2) { border-top: 0; }
@media (max-width: 599px) {
  .gal__shot figcaption { max-width: 56%; font-size: 0.75rem; }
}
@media (min-width: 900px) {
  .sheet--v2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head media" "data media"; grid-template-rows: auto 1fr; column-gap: var(--s-8); }
  .sheet--v2 .sheet__media { align-self: start; margin-top: var(--s-2); }
  .gal__thumb { flex-basis: 104px; }
}
@media (prefers-reduced-motion: reduce) { .gal__shot, .gal__thumb > img, .gal__thumb > svg { transition: none; } }
#kit .sheet__buy .btn { grid-row: 1 / span 3; }
/* Gallery frames that are drawings, not photos: the plan on canvas, the Go render on black. */
.gal__shot--plan { display: flex; align-items: center; justify-content: center; background: var(--bg); }
.gal__shot--plan::after, .gal__shot--render::after { display: none; }
.gal__shot--plan .plan { width: auto; height: 64%; aspect-ratio: 1; margin: 0 0 4%; }
.gal__shot--plan .plan svg { width: 100%; height: 100%; }
.gal__shot--plan figcaption { top: auto; right: auto; left: var(--s-4); bottom: var(--s-3); max-width: none; color: var(--gray-1); text-align: left; }
.gal__shot--render { display: flex; flex-direction: column; justify-content: center; padding: var(--s-6); background: var(--black); }
.gal__shot--render picture { height: auto; }
.gal__shot--render img { height: auto; object-fit: contain; }
.gal__shot--render figcaption { top: auto; right: auto; left: var(--s-4); bottom: var(--s-3); max-width: none; text-align: left; }
.gal__thumb--plan, .gal__thumb--render { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 4 / 3; background: var(--canvas); color: var(--black); font-size: 0.75rem; font-weight: 600; }
.gal__thumb--render { background: var(--black); color: var(--white); }
.gal__thumb--plan svg { width: 52%; height: auto; overflow: visible; }
.gal__thumb--plan svg line { stroke: var(--black); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.gal__thumb--render img { width: 86%; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 599px) {
  .gal__shot--plan .plan { height: 54%; margin-bottom: 9%; }
  .gal__shot--plan .dimline b { font-size: 0.75rem; }
  .gal__shot--plan figcaption { font-size: 0.75rem; }
  .gal__shot--render { padding: var(--s-4); }
}
/* gallery thumbnails read as buttons. A hairline frame on every thumbnail, lighter dimming, a small
   lift on hover, a green frame on the one showing, bolder labels on the drawing thumbnails, and a 1 / 3
   counter on the large image (added by the gallery script). */
.gal__thumbs { gap: var(--s-3); margin-top: var(--s-3); }
.gal__thumb { flex: 1 1 0; max-width: 112px; outline: 1px solid var(--gray-3); outline-offset: 0; transition: transform .2s ease, outline-color .2s ease; }
.gal__thumb > img, .gal__thumb > svg { opacity: .8; }
.gal__thumb:hover { transform: translateY(-2px); outline-color: var(--black); }
.gal__thumb[aria-pressed="true"] { outline: 3px solid var(--green); outline-offset: 2px; transform: none; }
.gal__thumb--plan > span, .gal__thumb--render > span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gal__count { position: absolute; z-index: 1; left: var(--s-3); top: var(--s-3); padding: 4px 10px; background: rgba(0, 0, 0, .72); color: var(--white); font: 600 0.75rem / 1.2 var(--font-body); letter-spacing: 0.04em; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .gal__thumb { transition: none; } .gal__thumb:hover { transform: none; } }
/* Products page-head jump buttons stand out. Floors are the main choice: green outline on a dark green
   tint. Surfaces are second: a brighter white outline. Each carries a small down chevron (these jump down the
   page) that nudges down on hover. Group labels in small caps. */
.jump--split a { gap: 10px; min-height: 46px; padding: 0 var(--s-4) 0 calc(var(--s-4) + 2px); font-weight: 600; border-width: 1.5px; }
.jump--split a::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.jump--split a:hover::after, .jump--split a:focus-visible::after { transform: translateY(3px) rotate(45deg); }
.jump--split a[href="#pro"], .jump--split a[href="#light"], .jump--split a[href="#kit"], .jump--split a[href="#go"] { border-color: var(--green); background: #121a08; }
.jump--split a[href="#surfaces"], .jump--split a[href="#react-marley"] { border-color: rgba(255, 255, 255, .55); }
.jump--split a:hover, .jump--split a:focus-visible { background: var(--green); border-color: var(--green); color: var(--black); }
.jump--split .jump__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-3); }
@media (prefers-reduced-motion: reduce) { .jump--split a::after { transition: none; } }
@media (max-width: 479px) { .jump--split a { gap: 8px; padding: 0 12px 0 14px; } }
/* Products floor sheets as separate cards in one set. Each floor sits on a light grey card with a green
   top edge and a "01 / 04" marker; white space between cards. Phones and tablets: cards run edge to edge. */
.sheets { counter-reset: floor; }
.sheets .sheet--v2 { position: relative; counter-increment: floor; margin-inline: calc(-1 * var(--margin)); padding: var(--s-6) var(--margin) var(--s-7); background: var(--canvas); border-top: 4px solid var(--green); }
.sheets .sheet--v2 + .sheet--v2 { margin-top: var(--s-6); }
.sheets .sheet--v2::before { content: counter(floor, decimal-leading-zero) " / 04"; position: absolute; top: var(--s-4); right: var(--margin); font: 600 0.75rem / 1 var(--font-body); letter-spacing: 0.08em; color: var(--gray-1); }
@media (min-width: 1024px) {
  .sheets .sheet--v2 { margin-inline: 0; padding: var(--s-8) var(--s-8) var(--s-8); }
  .sheets .sheet--v2 + .sheet--v2 { margin-top: var(--s-7); }
  .sheets .sheet--v2::before { top: var(--s-5); right: var(--s-6); }
}
/* Home, Moveable, repairable, resellable. The asset line as a lede beside the heading, the three words
   as three white cards (green top edge, green step number), the two Bronx photos side by side at one height,
   and "We are your flooring partner for life." as the closing line with the link. */
.payoff--v2 .payoff__head { row-gap: var(--s-5); margin-bottom: var(--s-7); }
.payoff--v2 .payoff__head .rule-head { grid-column: 1 / -1; margin: 0; }
.payoff__lede { grid-column: 1 / -1; max-width: 28em; font-size: var(--fs-lede); font-weight: 500; line-height: 1.35; }
.pillars { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.pillar { padding: var(--s-5) var(--s-5) var(--s-6); background: var(--white); border-top: 4px solid var(--green); }
.pillar .num { background: var(--green); color: var(--black); }
.pillar__name { margin: var(--s-4) 0 var(--s-2); font: 700 clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem) / 1 var(--font-head); text-transform: uppercase; }
.payoff__photos { display: grid; gap: var(--s-2); margin-top: var(--s-6); }
.payoff__photos figure { margin: 0; }
.payoff__photos img { display: block; width: 100%; height: auto; }
.payoff__photos .payoff__lead img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.payoff__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--gray-2); }
.payoff__partner { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem) / 1.1 var(--font-head); text-transform: uppercase; }
.payoff__link { font-weight: 600; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
  .payoff__photos { display: flex; align-items: flex-start; }
  .payoff__photos .payoff__lead { flex: 0.75 1 0; }
  .payoff__photos .payoff__second { flex: 1.3333 1 0; }
  .payoff__photos .payoff__lead img { aspect-ratio: 3 / 4; }
}
@media (min-width: 900px) {
  .payoff--v2 .payoff__head .rule-head { grid-column: 1 / span 6; }
  .payoff__lede { grid-column: 8 / -1; align-self: end; }
}
@media (max-width: 767px) {
  .pillar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--s-3); padding: var(--s-4) var(--s-5) var(--s-5); }
  .pillar__name { margin: 0; }
  .pillar p { grid-column: 1 / -1; margin-top: var(--s-3); }
  .pillars { gap: var(--s-3); }
}

/* Bend test, animated drawing with hanging kettlebell (replaces the AI render) */
.bendanim .bendanim__rig + .bendanim__rig { margin-top: var(--s-6); }
.bendanim__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--gray-1); }
.bendanim__name { font: 500 var(--fs-step) / 1.1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.bendanim__rig--fs .bendanim__name { color: var(--green); }
.bendanim__rig--pine .bendanim__name { color: #D9B98A; }
.bendanim__tally { display: flex; gap: .4em; align-items: baseline; font: 500 var(--fs-data-xl) / 1 var(--font-head); font-variant-numeric: tabular-nums; }
.bendanim__tally .u { font: 400 var(--fs-data) / 1 var(--font-body); color: var(--gray-2); }
.bendanim__tally .t { transition: opacity .35s ease; }
.bendanim.is-armed .bendanim__tally .t { opacity: .15; }
.bendanim.is-armed .bendanim__tally .t.on { opacity: 1; }
.bendanim svg { display: block; width: 100%; height: auto; overflow: visible; }
.bendanim .ba2-bench { fill: var(--gray-1); }
.bendanim .ba2-ref { stroke: var(--gray-1); stroke-width: 2; stroke-dasharray: 8 8; }
.bendanim .ba2-sup, .bendanim .ba2-base { fill: url(#ba2-steel); }
.bendanim .ba2-beam { fill: none; stroke-width: 18; stroke-linejoin: round; }
.bendanim .ba2-edge { fill: none; stroke-width: 3; stroke-linejoin: round; }
.bendanim__rig--fs .ba2-beam { stroke: #2A2A2A; }
.bendanim__rig--fs .ba2-edge { stroke: var(--green); }
.bendanim .ba2-trace { fill: none; stroke-width: 2.5; }
.bendanim__rig--fs .ba2-trace { stroke: var(--green); }
.bendanim__rig--pine .ba2-trace { stroke: #D9B98A; opacity: .85; }
.bendanim .ba2-rope { fill: none; stroke: #E9E4D8; stroke-width: 3; stroke-linecap: round; }
.bendanim .ba2-wrap { fill: #E9E4D8; }
.bendanim .ba2-kb-handle { fill: none; stroke: #5C5C5C; stroke-width: 11; stroke-linecap: round; }
.bendanim .ba2-kb-body { fill: url(#ba2-iron); stroke: #6E6E6E; stroke-width: 1.5; }
.bendanim .ba2-kb-shine { fill: #FFFFFF; opacity: .14; }
.bendanim .ba2-wt-label { font: 600 20px / 1 var(--font-body); fill: #D8D8D8; }
.bendanim__replay { margin-top: var(--s-5); padding: .6em 1.1em; font: 500 var(--fs-small) / 1 var(--font-body); color: var(--white); background: none; border: 1px solid var(--gray-1); border-radius: var(--radius); cursor: pointer; }
.bendanim__replay:hover { border-color: var(--green); color: var(--green); }
.bendanim__replay:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 599px) { .bendanim .ba2-wt-label { display: none; } }
.field__opt { font-weight: 400; color: var(--fg-2); }
.duo__pitch { max-width: 44em; margin-bottom: var(--s-5); font-size: 1.25rem; line-height: 1.45; }
/* Laura's review: step numbers sit on the first line of a wrapped title; ledger numbers left-aligned with labels centered beside them; jump buttons without arrows */
.step__title { align-items: flex-start; }
@media (min-width: 768px) {
  .ledger__row { align-items: center; }
  .ledger__num { min-width: 0; text-align: left; }
}
.jump--split a::after { content: none; }
.jump--split a { padding-right: calc(var(--s-4) + 2px); }
/* Ledger, wide layout: numbers right-aligned in a fixed column so the units and labels line up */
@media (min-width: 768px) {
  .ledger__row:not(.payoff__text .ledger__row) { align-items: center; }
  .ledger:not(.payoff__text .ledger) dd { min-width: 0; display: grid; grid-template-columns: auto 3.25rem; column-gap: 0.5rem; align-items: baseline; }
  .ledger:not(.payoff__text .ledger) .ledger__num { width: 2.35em; text-align: right; }
}
/* The plus of 30+ sits small above its unit, so the digits of every row line up */
.ledger__num { font-variant-numeric: tabular-nums; }
.ledger__unit { position: relative; }
.ledger__plus { position: absolute; left: 0; bottom: 100%; font-size: 1.5em; font-weight: 600; line-height: 1; }
