/* ==========================================================================
   Threaded — additions on top of the Bound design system.
   Only components Bound doesn't already have. Bound tokens only.
   ========================================================================== */

/* --- Wordmark (placeholder until a drawn Threaded logotype exists) --- */

.thr-wordmark {
  font-family: var(--bound-font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--bound-color-text);
  white-space: nowrap;
}

.nav-brand {
  position: static;
  left: auto;
  width: 100px;
}

.nav-brand svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer__wordmark .thr-wordmark {
  font-size: 22.2vw;
  display: block;
  line-height: 0.9;
}

/* --- Card (pain points, benefits, edges) --- */

.thr-card {
  background-color: var(--bound-color-lift);
  border-radius: var(--bound-radius-lg);
  padding: var(--bound-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--bound-space-4);
  height: 100%;
  text-align: left;
}

.thr-card--depth {
  background-color: var(--bound-color-depth);
}

.thr-card__num {
  font-family: var(--bound-font-body);
  font-size: 10px;
  letter-spacing: var(--bound-tracking-wider);
  text-transform: uppercase;
  line-height: 12px;
  color: var(--bound-neutral-400);
}

.thr-card__heading {
  font-family: var(--bound-font-display);
  font-style: italic;
  font-size: var(--bound-text-lg);
  line-height: var(--bound-leading-snug);
  color: var(--bound-neutral-900);
  margin: 0;
}

.thr-card__body {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-sm);
  line-height: 20px;
  color: var(--bound-neutral-500);
  margin: 0;
}

/* --- From / to strip --- */

.thr-transform {
  width: 100%;
  border-top: 1px solid var(--bound-color-line);
}

.thr-transform__row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: var(--bound-space-4);
  padding: var(--bound-space-5) var(--bound-space-4);
  border-bottom: 1px solid var(--bound-color-line);
}

.thr-transform__from {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-md);
  color: var(--bound-neutral-400);
  text-align: right;
}

.thr-transform__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bound-color-warm-orange);
}

.thr-transform__to {
  font-family: var(--bound-font-display);
  font-style: italic;
  font-size: var(--bound-text-xl);
  line-height: var(--bound-leading-snug);
  color: var(--bound-color-text);
  text-align: left;
}

/* --- Proof line under the hero --- */

.thr-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--bound-space-3);
  margin-top: var(--bound-space-5);
}

.thr-proof__item {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-sm);
  color: var(--bound-neutral-500);
}

.thr-proof__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--bound-color-line);
}

/* --- Pricing note --- */

.thr-pricing-note {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-xs);
  color: var(--bound-neutral-500);
  text-align: center;
  padding: var(--bound-space-8) var(--bound-space-4) 0;
  width: 100%;
}

/* --- Form status --- */

.thr-form-status {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-sm);
  color: var(--bound-neutral-500);
  text-align: center;
}

.snapshot-form {
  display: flex;
  flex-direction: column;
  gap: var(--bound-space-5);
  text-align: left;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--bound-space-3);
  cursor: pointer;
}

.checkbox__box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--bound-color-warm-orange);
}

.checkbox__text {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-xs);
  line-height: 16px;
  color: var(--bound-neutral-500);
}

/* --- Reveal (replaces the GSAP ScrollReveal on the Next site) --- */

.thr-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.thr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .thr-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive --- */

@media (max-width: 991px) {
  .thr-transform__row {
    grid-template-columns: 1fr;
    gap: var(--bound-space-2);
    text-align: left;
  }
  .thr-transform__from {
    text-align: left;
  }
  .thr-transform__arrow {
    justify-content: flex-start;
    transform: rotate(90deg);
    width: 16px;
  }
}

@media (max-width: 767px) {
  .thr-wordmark {
    font-size: 19px;
  }
  .thr-card {
    padding: var(--bound-space-6);
  }
}

/* --- Book section: same colour as the page --- */

.snapshot-cta-section {
  background-color: transparent;
}

/* --- Enquiry form note --- */

.thr-form-note {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-xs);
  line-height: 18px;
  color: var(--bound-neutral-500);
  text-align: center;
}

.thr-inline-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Quiet note under a section --- */

.thr-note {
  max-width: 640px;
  margin: var(--bound-space-12) auto 0;
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-sm);
  line-height: 22px;
  color: var(--bound-neutral-500);
  text-align: center;
}

/* --- No margin hairlines, no nav rule --- */

.nav {
  border-bottom: none;
}

/* --- Hero sits higher so the sheets break the fold --- */

.hero--home {
  min-height: calc(100svh - 360px);
  padding-bottom: var(--bound-space-12);
}

/* --- Auto-scrolling A4 sheets (Bound's stratScroll keyframes) --- */

.thr-sheets {
  overflow: hidden;
  /* room for the cards' soft shadow — overflow:hidden would clip it flat */
  padding: var(--bound-space-10) 0 var(--bound-space-12);
}

.thr-sheets__track {
  display: flex;
  align-items: flex-start;
  gap: var(--bound-space-6);
  width: max-content;
  animation: stratScroll 90s linear infinite;
  will-change: transform;
}

.thr-sheets__card {
  flex-shrink: 0;
  width: 450px;
  aspect-ratio: 210 / 297;
  border-radius: var(--bound-radius-md);
  overflow: hidden;
  background-color: var(--bound-color-lift);
  box-shadow: var(--bound-shadow-soft);
}

.thr-sheets__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .thr-sheets__track {
    animation: none;
  }
}

@media (max-width: 991px) {
  .thr-sheets__card {
    width: 320px;
  }
  .hero--home {
    min-height: calc(100svh - 280px);
  }
}

@media (max-width: 767px) {
  .thr-sheets__card {
    width: 230px;
  }
  .hero--home {
    min-height: calc(100svh - 200px);
  }
}

/* --- Footer without the left block --- */

.footer__grid--simple {
  grid-template-columns: 1fr;
}

.footer__grid--simple .footer__columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
}

/* ==========================================================================
   Isometric hero — live grid with line / rhombus / circle tools
   ========================================================================== */

.iso-hero {
  --iso-gap: 28px;              /* must match G in iso.js */
  --iso-line: rgba(42, 42, 40, 0.13);
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--bound-color-base);
}

.iso-stage {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.iso-stage.is-drawing {
  cursor: crosshair;
  touch-action: none;
}

.iso-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.iso-draw.is-erasing {
  pointer-events: auto;
  cursor: pointer;
}

.iso-stroke {
  fill: none;
  stroke: var(--bound-color-text);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.iso-face {
  stroke: var(--bound-color-text);
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.iso-face--top   { fill: #ffffff; }
.iso-face--left  { fill: var(--bound-color-depth); }
.iso-face--right { fill: var(--bound-color-line); }

.iso-draw.is-wireframe .iso-face { fill: none; }

.is-ghost .iso-face,
.is-ghost .iso-stroke { stroke: var(--bound-color-warm-orange); }
.is-ghost .iso-face { fill-opacity: 0.55; }

.iso-draw.is-erasing .iso-obj { cursor: pointer; }
.iso-draw.is-erasing .iso-obj:hover .iso-face,
.iso-draw.is-erasing .iso-obj:hover .iso-stroke { stroke: var(--bound-color-red, #e43702); }

/* --- wordmark --- */

.iso-brand {
  background-color: var(--bound-color-base);
  border-right: 1px solid var(--bound-color-line);
  border-bottom: 1px solid var(--bound-color-line);
  padding: clamp(10px, 2vw, 26px) clamp(20px, 3vw, 46px) clamp(14px, 2.2vw, 30px);
  line-height: 1;
}

.iso-brand__text {
  font-family: var(--bound-font-body);
  font-size: clamp(42px, 7.2vw, 116px);
  letter-spacing: -0.02em;
  color: var(--bound-color-text);
  display: block;
}

/* --- tools --- */

.iso-tools {
  display: flex;
  flex-wrap: wrap;
  max-width: min(100vw, 560px);
}

.iso-tool {
  width: clamp(42px, 4vw, 62px);
  height: clamp(42px, 4vw, 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: var(--bound-color-base);
  border: 1px solid var(--bound-color-line);
  border-top: none;
  border-left: none;
  color: var(--bound-color-text);
  cursor: pointer;
  transition: background-color var(--bound-transition-fast), color var(--bound-transition-fast);
}

.iso-tool:hover {
  background-color: var(--bound-color-depth);
}

.iso-tool.is-active {
  background-color: var(--bound-color-text);
  color: var(--bound-color-base);
}

.iso-tool svg {
  width: 20px;
  height: 20px;
  display: block;
}

.iso-meta {
  margin-top: 14px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  gap: var(--bound-space-4);
}

.iso-meta button {
  padding: 4px 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--bound-font-body);
  font-size: 10px;
  letter-spacing: var(--bound-tracking-wider);
  text-transform: uppercase;
  color: var(--bound-neutral-400);
}

.iso-meta button:hover { color: var(--bound-color-text); }

.iso-hint {
  font-family: var(--bound-font-body);
  font-size: 11px;
  color: var(--bound-neutral-400);
}

/* --- bottom bar --- */

.iso-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 26% 20%;
  align-items: stretch;
  border-top: 1px solid var(--bound-color-line);
  background-color: var(--bound-color-base);
}

.iso-bar__headline {
  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px);
}

.iso-bar__headline h1 {
  font-family: var(--bound-font-body);
  font-style: normal;
  font-weight: var(--bound-weight-medium);
  font-size: clamp(22px, 2.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bound-color-text);
  margin: 0;
  max-width: 18em;
}

.iso-bar__mid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--bound-color-line);
}

.iso-bar__eyebrow {
  font-family: var(--bound-font-body);
  font-size: clamp(14px, 1.05vw, 19px);
  line-height: 1.3;
  color: var(--bound-color-text);
  padding: clamp(20px, 2.4vw, 36px) clamp(18px, 1.8vw, 32px);
  margin: 0;
}

.iso-bar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bound-color-espresso, #4a3f35);
  color: var(--bound-dark-text);
  font-family: var(--bound-font-body);
  font-size: clamp(13px, 0.95vw, 17px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: clamp(16px, 1.6vw, 26px);
  transition: background-color var(--bound-transition-base);
}

.iso-bar__cta:hover {
  background-color: var(--bound-color-warm-orange);
}

.iso-bar__list {
  border-left: 1px solid var(--bound-color-line);
  padding: clamp(20px, 2.4vw, 36px) clamp(18px, 1.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.iso-bar__list span {
  font-family: var(--bound-font-body);
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.35;
  color: var(--bound-color-text);
}

@media (max-width: 991px) {
  .iso-bar {
    grid-template-columns: 1fr 1fr;
  }
  .iso-bar__headline {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--bound-color-line);
  }
  .iso-bar__mid {
    border-left: none;
  }
}

@media (max-width: 600px) {
  .iso-bar {
    grid-template-columns: 1fr;
  }
  .iso-bar__list {
    border-left: none;
    border-top: 1px solid var(--bound-color-line);
  }
  .iso-bar__mid {
    border-top: 1px solid var(--bound-color-line);
  }
}

/* --- hero UI stack: wordmark, tools, meta --- */

.iso-ui {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.iso-ui > * { pointer-events: auto; }

/* no fixed nav on this page — the hero wordmark carries the identity */
body { padding-top: 0; }

/* --- live grid: hovered vertex --- */

.iso-dot {
  fill: var(--bound-color-text);
  opacity: 0;
  transition: opacity 120ms ease;
}

.iso-dot.is-on { opacity: 1; }

.iso-stage.is-drawing ~ .iso-draw .iso-dot,
.iso-draw .iso-dot.is-on { fill: var(--bound-color-text); }

/* --- dimension annotations --- */

.iso-anno__dim,
.iso-anno__ext {
  stroke: var(--bound-color-warm-orange);
  stroke-width: 1;
  fill: none;
}

.iso-anno__ext { opacity: 0.5; }

.iso-anno__arrow {
  stroke: var(--bound-color-warm-orange);
  stroke-width: 1;
  fill: none;
}

.iso-anno__text {
  font-family: var(--bound-font-body);
  font-size: 10px;
  letter-spacing: 0.04em;
  fill: var(--bound-color-warm-orange);
}

/* --- guide lines (sphere equator) --- */

.iso-guide {
  fill: none;
  stroke: var(--bound-color-text);
  stroke-width: 1;
  opacity: 0.35;
}

.iso-draw.is-picking { pointer-events: auto; }
.iso-draw.is-moving .iso-obj { cursor: grab; }
.iso-draw.is-moving .iso-obj:active { cursor: grabbing; }
.iso-draw.is-moving .iso-obj:hover .iso-face { stroke: var(--bound-color-warm-orange); }

/* --- the grid itself, drawn from the lattice constants in iso.js --- */

.iso-grid-line {
  fill: none;
  stroke: var(--iso-line);
  stroke-width: 1;
}

/* --- zoom controls --- */

.iso-zoom {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--bound-color-line);
  border-radius: var(--bound-radius-sm);
  background-color: var(--bound-color-base);
}

.iso-zoom button {
  width: 22px;
  height: 20px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: var(--bound-neutral-500);
}

.iso-zoom button:hover { color: var(--bound-color-text); }

.iso-zoom span {
  font-family: var(--bound-font-body);
  font-size: 10px;
  letter-spacing: var(--bound-tracking-wider);
  color: var(--bound-neutral-400);
  min-width: 34px;
  text-align: center;
}

/* strokes keep their weight at any zoom — a drawing, not a scaled image */
.iso-face,
.iso-stroke,
.iso-guide,
.iso-anno__dim,
.iso-anno__ext,
.iso-anno__arrow,
.iso-grid-line {
  vector-effect: non-scaling-stroke;
}

.iso-face--bevel { fill: #f2efe8; }
.iso-draw.is-wireframe .iso-face--bevel { fill: none; }

/* --- wordmark and tool strip share one width --- */

.iso-ui__stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* the wider of the two sets the width, the other matches */
}

.iso-ui__stack .iso-brand {
  border-right: 1px solid var(--bound-color-line);
}

.iso-ui__stack .iso-tools {
  max-width: none;
}

.iso-ui__stack .iso-tool {
  flex: 1 1 0;
  width: auto;
}

/* keep the hint out of the width negotiation */
.iso-meta {
  position: relative;
  align-self: flex-start;
}

.iso-hint {
  position: absolute;
  left: 2px;
  top: calc(100% + 8px);
  white-space: nowrap;
}

/* ==========================================================================
   Typography: Neue Montreal throughout, headings capitalised
   ========================================================================== */

:root {
  --bound-font-body: 'PP Neue Montreal', ui-sans-serif, system-ui, sans-serif;
  --bound-font-display: 'PP Neue Montreal', ui-sans-serif, system-ui, sans-serif;
}

body,
.body-base, .body-sm, .body-md, .body-lg, .body-xs,
.thr-card__body, .thr-prose p, .hero__body,
.input, .textarea, .checkbox__text, .footer-link,
.iso-bar__eyebrow, .iso-bar__list span {
  font-family: var(--bound-font-body);
  font-style: normal;
}

/* headings: capitalised, never italic */
h1, h2, h3, h4,
.hero__heading, .snapshot-cta__heading, .thr-card__heading,
.hiw-step__heading, .footer__mission, .pricing-header__name,
.iso-bar__headline h1 {
  font-family: var(--bound-font-display);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; }

.input, .textarea { font-style: normal; }
.footer__mission { text-transform: none; font-weight: 400; }

/* ==========================================================================
   Hero chrome: one horizontal bar — wordmark, then tools
   ========================================================================== */

.iso-ui__stack {
  flex-direction: row;
  align-items: stretch;
  border-bottom: 1px solid var(--bound-color-line);
  border-right: 1px solid var(--bound-color-line);
  background-color: var(--bound-color-base);
}

.iso-ui__stack .iso-brand {
  display: flex;
  align-items: center;
  padding: 0 clamp(14px, 1.6vw, 22px);
  border-right: 1px solid var(--bound-color-line);
  border-bottom: none;
}

.iso-brand__text {
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1;
}

.iso-ui__stack .iso-tools {
  border-left: none;
}

.iso-ui__stack .iso-tool {
  flex: 0 0 auto;
  width: clamp(40px, 3.4vw, 52px);
  height: clamp(40px, 3.4vw, 52px);
  border-bottom: none;
}

/* ==========================================================================
   Drawing cards — construction-line isometrics that ink in on hover
   ========================================================================== */

.section--drawings { padding-bottom: 0; }

.dw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-top: 1px solid var(--bound-color-line);
}

.dw-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--bound-color-line);
  padding: 0;
}

.dw-card:first-child { border-left: 1px solid var(--bound-color-line); }

.dw-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bound-space-4);
  padding: var(--bound-space-5) var(--bound-space-6);
  border-bottom: 1px dashed var(--bound-color-line);
}

.dw-card__label,
.dw-card__num {
  font-family: var(--bound-font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dw-card__label { color: var(--bound-color-text); }
.dw-card__num   { color: var(--bound-neutral-400); }

.dw-card__art {
  padding: var(--bound-space-10) var(--bound-space-6);
  border-bottom: 1px dashed var(--bound-color-line);
}

.dw-card__art svg {
  display: block;
  width: 100%;
  height: auto;
}

.dw-card__body {
  padding: var(--bound-space-8) var(--bound-space-6) var(--bound-space-12);
  display: flex;
  flex-direction: column;
  gap: var(--bound-space-6);
}

.dw-card__heading {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
  margin: 0;
}

.dw-card__text {
  font-family: var(--bound-font-body);
  font-size: var(--bound-text-sm);
  line-height: 1.5;
  color: var(--bound-neutral-500);
  margin: 0;
  max-width: 34ch;
}

/* --- the drawing itself --- */

.dw-card svg path,
.dw-card svg ellipse {
  fill: none;
  stroke-width: 1.1;
  stroke-linejoin: round;
  /* no non-scaling-stroke here: it resolves stroke-dasharray in screen pixels,
     which defeats the pathLength="1" normalisation the draw-in relies on */
}

.dw-ghost path,
.dw-ghost ellipse {
  stroke: var(--bound-color-line);
}

/* the ink layer draws itself in on hover */
.dw-ink path,
.dw-ink ellipse {
  stroke: var(--bound-color-text);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms cubic-bezier(0.25, 1, 0.5, 1);
}

.dw-card:hover .dw-ink path,
.dw-card:hover .dw-ink ellipse {
  stroke-dashoffset: 0;
}

/* each line inks in after the one before it */
.dw-card:hover .dw-ink .dw-line > *:nth-child(1)  { transition-delay: 0ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(2)  { transition-delay: 70ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(3)  { transition-delay: 140ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(4)  { transition-delay: 210ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(5)  { transition-delay: 270ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(6)  { transition-delay: 320ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(7)  { transition-delay: 365ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(8)  { transition-delay: 405ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(9)  { transition-delay: 440ms; }
.dw-card:hover .dw-ink .dw-line > *:nth-child(n+10) { transition-delay: 475ms; }

@media (prefers-reduced-motion: reduce) {
  .dw-ink path, .dw-ink ellipse {
    transition: none;
    stroke-dashoffset: 0;
    opacity: 0;
  }
  .dw-card:hover .dw-ink path, .dw-card:hover .dw-ink ellipse { opacity: 1; }
}

@media (max-width: 991px) {
  .dw-grid { grid-template-columns: 1fr; }
  .dw-card { border-left: 1px solid var(--bound-color-line); border-bottom: 1px solid var(--bound-color-line); }
}

/* ==========================================================================
   Softer accent: clay instead of the hot orange, ink instead of the brown
   ========================================================================== */

:root {
  --bound-color-warm-orange: #c08a62;   /* muted clay — reads as a mark, not a flag */
  --bound-color-orange: #c08a62;
}

/* --- hero CTA, top right, matching the tool bar --- */

.iso-cta {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  height: clamp(40px, 3.4vw, 52px);
  display: inline-flex;
  align-items: center;
  gap: var(--bound-space-3);
  padding: 0 clamp(16px, 1.8vw, 26px);
  background-color: var(--bound-color-text);
  color: var(--bound-color-base);
  border-left: 1px solid var(--bound-color-text);
  border-bottom: 1px solid var(--bound-color-text);
  font-family: var(--bound-font-display);
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--bound-transition-base);
}

.iso-cta:hover {
  background-color: var(--bound-neutral-700);
}

.iso-cta__arrow {
  display: flex;
  align-items: center;
  transition: transform var(--bound-transition-base);
}

.iso-cta:hover .iso-cta__arrow { transform: translateX(3px); }

/* the bottom bar keeps the eyebrow only */
.iso-bar__mid { justify-content: flex-start; }

@media (max-width: 600px) {
  .iso-cta {
    font-size: 10px;
    padding: 0 12px;
  }
}

/* --- drawing cards run the full width, with a rule closing the section --- */

.section--drawings {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.dw-grid {
  border-bottom: 1px solid var(--bound-color-line);
}

.dw-card:first-child { border-left: none; }
.dw-card:last-child  { border-right: none; }

@media (max-width: 991px) {
  .dw-card { border-left: none; border-right: none; }
  .dw-card:last-child { border-bottom: none; }
}

/* --- hero bar: headline, then room for body copy --- */

.iso-bar {
  grid-template-columns: 1fr minmax(320px, 38%);
}

.iso-bar__copy {
  border-left: 1px solid var(--bound-color-line);
  padding: clamp(28px, 4vw, 64px) clamp(20px, 2.6vw, 44px);
  display: flex;
  align-items: center;
}

.iso-bar__copy p {
  font-family: var(--bound-font-body);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.45;
  color: var(--bound-neutral-500);
  margin: 0;
  max-width: 46ch;
}

@media (max-width: 991px) {
  .iso-bar { grid-template-columns: 1fr; }
  .iso-bar__copy { border-left: none; border-top: 1px solid var(--bound-color-line); }
}

/* --- toolbar: the last tool's right edge was doubling up with the bar's --- */

.iso-ui__stack .iso-tool:last-child {
  border-right: none;
}

/* --- close the hero off from the section below --- */

.iso-hero {
  border-bottom: 1px solid var(--bound-color-line);
}

/* ==========================================================================
   Animated grain — fractal noise, nudged on a step timer
   ========================================================================== */

.grain {
  position: fixed;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(6) infinite;
  will-change: transform;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  16%  { transform: translate(-3%, -4%); }
  33%  { transform: translate(-6%, 2%); }
  50%  { transform: translate(2%, -5%); }
  66%  { transform: translate(5%, 3%); }
  83%  { transform: translate(-2%, 6%); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}
