/* ==========================================================================
   The Fabrication section: /fabrication and its two service pages,
   /custom-display-cases and /laser-cutting-and-engraving. Loaded last on
   those three pages, after system.css. Heroes use the shared .bleed-hero;
   this file adds each page's body, the closing band with a real review and
   the service FAQ. Type comes from the token scale only. See DESIGN.md,
   "Fabrication section".
   ========================================================================== */

/* --- shared pieces ----------------------------------------------------------- */

.is-navy { --focus: #fff; }

/* Section heading with an optional link on the right. */
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem var(--layout-gap);
  margin-bottom: var(--content-gap);
}
.svc-head h2 { max-width: 20ch; }
.svc-head p { max-width: 52ch; margin-top: 0.85rem; color: var(--ink-2); line-height: 1.65; }
.svc-head .tlink { min-height: 44px; }

/* Closing band: the ask on the left, one verbatim Google review on the right. */
.svc-close {
  padding-block: var(--section-y);
  background: #284080;
  color: #fff;
}
.svc-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--layout-gap) clamp(2rem, 6vw, 7rem);
}
.svc-close h2 {
  max-width: 18ch;
  font-size: var(--type-section);
  font-weight: var(--w-medium);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}
.svc-close__ask p { max-width: 54ch; margin-top: 1rem; color: #dfe5f4; line-height: 1.6; }
.svc-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.6rem;
}
.svc-close .tlink { color: #fff; min-height: 44px; }
.svc-close__review { margin: 0; }
.svc-close__review blockquote { margin: 0; }
.svc-close__review blockquote p {
  max-width: 24ch;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: var(--w-light);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-indent: -0.42em;
  text-wrap: balance;
  color: #fff;
}
.svc-close__review .spec { margin-top: 1.25rem; color: #c9d3ee; }

/* Service FAQ: the site's drawn plus that turns into a minus. */
.svc-faq details { border-top: 1px solid var(--rule-strong); }
.svc-faq details:last-child { border-bottom: 1px solid var(--rule-strong); }
.svc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding-block: 1rem;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: var(--w-medium);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary:hover, .svc-faq details[open] summary { color: var(--accent); }
.svc-faq__plus { position: relative; flex: none; width: 16px; height: 16px; }
.svc-faq__plus::before,
.svc-faq__plus::after {
  content: '';
  position: absolute;
  top: 7.5px;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.svc-faq__plus::after { transform: rotate(90deg); }
.svc-faq details[open] .svc-faq__plus::after { transform: rotate(0); }
.svc-faq details p { max-width: 62ch; padding: 0 2.5rem 1.25rem 0; color: var(--ink-2); line-height: 1.7; }
@media (prefers-reduced-motion: no-preference) {
  .svc-faq__plus::after { transition: transform var(--fast) var(--ease); }
}

@media (max-width: 820px) {
  .svc-close__grid { grid-template-columns: 1fr; align-items: start; }
  .svc-close__review { padding-top: var(--content-gap); border-top: 1px solid rgb(255 255 255 / 0.22); }
}
@media (max-width: 700px) {
  .svc-close__actions .btn,
  .workshop-fabrication .fab-intake__actions .btn { flex: 1 1 100%; }
  .svc-faq details p { padding-right: 0; }
}

/* --- /fabrication ------------------------------------------------------------ */

.workshop-fabrication main h1,
.workshop-fabrication main h2,
.workshop-fabrication main h3 { font-weight: var(--w-medium); }

.workshop-fabrication .fab-hero { --bleed-focus: 62% 38%; }
.workshop-fabrication .fab-hero h1 { max-width: 16ch; line-height: 0.98; }
.workshop-fabrication .fab-hero .project-trail { margin: -0.25rem 0 1.25rem; border-color: rgb(255 255 255 / 0.3); }
.workshop-fabrication .fab-hero .project-trail p { color: #fff; }
.workshop-fabrication .fab-hero .project-trail a { color: #d8e0f3; }
.workshop-fabrication .fab-hero .project-trail a:hover { color: #fff; }
.workshop-fabrication .fab-hero__verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  list-style: none;
  color: #d8e0f3;
}
.workshop-fabrication .fab-hero__verbs li + li::before { content: '/'; margin-inline: 0.7rem; color: #9fb0da; }
@media (max-width: 760px) {
  /* Two by two on phones, so no line starts with a separator. */
  .workshop-fabrication .fab-hero__verbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; }
  .workshop-fabrication .fab-hero__verbs li + li::before { content: none; }
}

/* How a job runs: four steps in one ruled row. */
.workshop-fabrication .fab-route { padding-block: var(--section-y) var(--section-compact); background: var(--paper); }
.workshop-fabrication .fab-route__title {
  margin-bottom: var(--content-gap);
  font-size: var(--type-sub);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.workshop-fabrication .fab-route__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--content-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.workshop-fabrication .fab-route__list li { padding-top: 1rem; border-top: 2px solid var(--ink); }
.workshop-fabrication .fab-route__list .spec { color: var(--accent); }
.workshop-fabrication .fab-route__list h3 {
  margin-top: 0.85rem;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.workshop-fabrication .fab-route__list p { margin-top: 0.45rem; max-width: 30ch; color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }

/* Cut. Bend. Bond.: one large photo stage beside the six services. With JS and a
   hover pointer, hovering or focusing a row puts that row's own photo on the stage
   (js/fab-stage.js). Without either, every row keeps its photo in place. */
.workshop-fabrication .fab-floor { padding-block: var(--section-compact) var(--section-y); background: var(--paper); }
.workshop-fabrication .fab-floor__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: var(--content-gap) var(--layout-gap);
  margin-bottom: var(--layout-gap);
}
.workshop-fabrication .fab-floor__title {
  font-size: var(--type-statement);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.workshop-fabrication .fab-floor__head p { max-width: 46ch; color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.workshop-fabrication .fab-floor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: var(--layout-gap);
}
.fab-stage { position: sticky; top: 96px; margin: 0; }
.fab-stage__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--paper-sunk);
}
.fab-stage__frame picture { position: absolute; inset: 0; }
.fab-stage__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.fab-stage__frame [data-fit='contain'] img { object-fit: contain; }
.fab-stage__plate {
  position: absolute;
  left: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  max-width: calc(100% - 2rem);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
}
.fab-services { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.fab-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10rem;
  align-items: start;
  gap: 1rem 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule-strong);
  scroll-margin-top: 96px;
}
.fab-service__copy { grid-column: 1; }
.fab-service--lead { grid-template-columns: minmax(0, 1fr); }
.workshop-fabrication .fab-service h3 {
  font-size: var(--type-sub);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.fab-service p { max-width: 50ch; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.fab-service .tlink { min-height: 44px; margin-top: 0.15rem; color: var(--ink); }
.fab-service__photo { display: block; grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius-panel); overflow: hidden; background: var(--paper-sunk); }
.fab-service__photo img { width: 100%; height: 100%; object-fit: contain; }
.fab-service__photo[data-fit='cover'] img { object-fit: cover; object-position: 50% 62%; }

/* The live stage: rows become a compact text list, the active row takes the accent. */
@media (min-width: 900px) and (hover: hover) {
  .fab-floor[data-stage-ready] .fab-service { grid-template-columns: minmax(0, 1fr); cursor: default; }
  .fab-floor[data-stage-ready] .fab-service__photo { display: none; }
  .fab-floor[data-stage-ready] .fab-service h3 { transition: color var(--fast) var(--ease); }
  .fab-floor[data-stage-ready] .fab-service[data-active] h3 { color: var(--accent); }
}
@media (prefers-reduced-motion: no-preference) {
  .fab-stage__frame picture { transition: opacity 320ms var(--ease); }
  .fab-stage__frame picture[data-entering] { opacity: 0; }
}

/* Two closer looks: pairs share a bottom line so their captions align. */
.workshop-fabrication .fab-stories { padding-block: var(--section-y); background: var(--paper); }
.fab-stories__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem var(--content-gap);
  margin-bottom: var(--layout-gap);
}
.workshop-fabrication .fab-stories__head h2 {
  max-width: 17ch;
  font-size: var(--type-section);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.fab-stories__head .tlink, .fab-bench__head .tlink { min-height: 44px; color: var(--ink); }
.fab-story {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.8fr);
  align-items: end;
  gap: var(--layout-gap);
}
.fab-story + .fab-story { margin-top: var(--layout-gap); padding-top: var(--layout-gap); border-top: 1px solid var(--rule-strong); }
.fab-story__copy { align-self: start; }
.workshop-fabrication .fab-story__copy h3 { max-width: 16ch; font-size: var(--type-sub); line-height: 1.1; letter-spacing: -0.03em; }
.fab-story__copy p { max-width: 38ch; margin-top: 0.85rem; color: var(--ink-2); line-height: 1.65; }
.fab-story__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: var(--content-gap); }
.fab-story__pair--model { grid-template-columns: minmax(0, 0.5625fr) minmax(0, 1fr); }
.fab-story__photo { min-width: 0; margin: 0; }
.fab-story__photo a { display: block; border-radius: var(--radius-photo); }
.fab-story__photo picture { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-photo); overflow: hidden; }
.fab-story__photo--portrait picture { aspect-ratio: 3 / 4; }
.fab-story__photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fab-story__photo a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.fab-story__photo figcaption { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fab-story__photo img { transition: transform 650ms var(--ease); }
  .fab-story__photo a:hover img { transform: scale(1.025); }
}

/* Start with what you have: the established deep-navy intake. */
.workshop-fabrication .fab-intake { padding-block: var(--section-y); background: var(--navy-deep); color: #fff; scroll-margin-top: 72px; }
.workshop-fabrication .fab-intake__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--layout-gap); }
.workshop-fabrication .fab-intake h2 {
  max-width: 13ch;
  font-size: var(--type-section);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}
.workshop-fabrication .fab-intake__copy p { max-width: 46ch; margin-top: 1rem; color: #dfe5f4; line-height: 1.65; }
.workshop-fabrication .fab-intake__copy .fab-intake__promise { color: #fff; font-weight: var(--w-medium); }
.workshop-fabrication .fab-intake__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.workshop-fabrication .fab-intake .tlink { min-height: 44px; color: #fff; }
.workshop-fabrication .fab-intake__inputs { margin: 0; border-top: 1px solid rgb(255 255 255 / 0.32); }
.workshop-fabrication .fab-intake__inputs div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.35rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
}
.workshop-fabrication .fab-intake__inputs dt { font-size: var(--type-sub); font-weight: var(--w-medium); line-height: 1.1; letter-spacing: -0.03em; }
.workshop-fabrication .fab-intake__inputs dd { margin: 0; padding-top: 0.35rem; color: #dfe5f4; line-height: 1.6; }

/* The fly bench: the cylinder photo runs to the left edge at its own 4:3. */
.workshop-fabrication .fab-fly {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  background: var(--paper);
  scroll-margin-top: 72px;
}
.fab-fly__photo { position: relative; margin: 0; }
.fab-fly__photo picture { display: block; aspect-ratio: 4 / 3; background: var(--paper-sunk); }
.fab-fly__photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fab-fly__photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 1.25rem 0.7rem max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter)));
  border-top-right-radius: var(--radius-panel);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.85rem;
}
.fab-fly__copy {
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter))) var(--section-y) var(--layout-gap);
}
.workshop-fabrication .fab-fly h2 { max-width: 14ch; font-size: var(--type-section); line-height: 1.02; letter-spacing: -0.035em; }
.fab-fly__copy p { max-width: 48ch; margin-top: 1rem; color: var(--ink-2); line-height: 1.65; }
.fab-fly__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--content-gap);
  max-width: 34rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.fab-fly__list li {
  padding-block: 0.7rem;
  border-top: 1px solid var(--rule-strong);
  font-weight: var(--w-medium);
  line-height: 1.3;
}

/* More from the workbench: three equal 4:3 project photos. */
.workshop-fabrication .fab-bench { padding-block: var(--section-compact) var(--section-y); background: var(--paper); }
.fab-bench__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem var(--content-gap);
  margin-bottom: var(--content-gap);
  padding-top: var(--section-compact);
  border-top: 1px solid var(--rule);
}
.workshop-fabrication .fab-bench__head h3 { font-size: var(--type-sub); line-height: 1.1; letter-spacing: -0.03em; }
.fab-bench__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--content-gap); }

@media (max-width: 1000px) {
  .fab-story { grid-template-columns: 1fr; gap: 1.25rem; }
  .fab-story__copy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--content-gap); align-items: start; }
  .fab-story__copy p { max-width: 52ch; margin-top: 0; }
}
@media (max-width: 899px) {
  .workshop-fabrication .fab-floor__head,
  .workshop-fabrication .fab-floor__grid { grid-template-columns: 1fr; }
  .fab-stage { position: relative; top: auto; }
  /* The stage already shows the CNC router; the other rows bring their own photo. */
  .fab-service:not(.fab-service--lead) { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .workshop-fabrication .fab-route__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .workshop-fabrication .fab-intake__grid { grid-template-columns: 1fr; }
  .workshop-fabrication .fab-fly { grid-template-columns: 1fr; }
  .fab-fly__copy { padding: var(--section-compact) var(--gutter) 0; }
}
@media (max-width: 620px) {
  .fab-service:not(.fab-service--lead) { grid-template-columns: 1fr; }
  .fab-service__photo { grid-column: 1; grid-row: auto; }
  .fab-story__copy { display: block; }
  .fab-story__copy p { margin-top: 0.75rem; }
  /* Photo pairs and the bench strip become swipe rows; the next photo peeks in. */
  .fab-story__pair,
  .fab-story__pair--model,
  .fab-bench__row {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 80vw;
    align-items: end;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .fab-story__pair::-webkit-scrollbar, .fab-bench__row::-webkit-scrollbar { display: none; }
  .fab-story__pair--model { grid-auto-columns: 60vw 80vw; }
  .fab-story__photo { scroll-snap-align: start; }
  .workshop-fabrication .fab-intake__inputs div { grid-template-columns: 1fr; }
  .workshop-fabrication .fab-intake__inputs dd { padding-top: 0; }
  .fab-fly__list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .workshop-fabrication .fab-route__list { grid-template-columns: 1fr; row-gap: 1rem; }
  .workshop-fabrication .fab-route__list p { max-width: none; }
}

/* --- service pages: /custom-display-cases, /laser-cutting-and-engraving ------ */

.cases-page main h2 {
  font-size: var(--type-section);
  font-weight: var(--w-medium);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cases-page main h3 { font-weight: var(--w-medium); }
.cases-page .cases-intro { --bleed-focus: 50% 78%; }
/* Tablets: the shared plate is nearly full width from 761px, which leaves only a strip of
   photo above it. Fabrication and Display Cases narrow it so the photo shows beside it too. */
@media (min-width: 761px) and (max-width: 1199px) {
  .workshop-fabrication .fab-hero .bleed-hero__panel,
  .cases-page:not(.laser-page) .cases-intro .bleed-hero__panel { width: min(100%, calc(var(--gutter) + 26rem + 10vw)); }
}
/* Laser. The lettering on the orange sign runs from 30.9% to 68.7% of the photo's width, so
   no single crop keeps it whole beside a plate on a tablet: from 761 to 1199px the photo
   sits above a full-width plate instead. From 1200px the plate is sized to the H1
   ("Laser cutting" is about 5.2em) and the photo, anchored at its left edge, is scaled so
   the whole sign lands between the plate and the right edge:
   width = (plate + 16px) / 0.309 midpoint with (100% - 16px) / 0.687. */
.laser-page .cases-intro { --bleed-focus: 50% 30%; }
@media (min-width: 761px) and (max-width: 1199px) {
  .laser-page .cases-intro { display: block; min-height: 0; background: #284080; }
  .laser-page .cases-intro .bleed-hero__photo { position: relative; z-index: auto; aspect-ratio: auto; height: min(56.25vw, 62svh); max-height: none; }
  .laser-page .cases-intro .bleed-hero__panel { width: 100%; border-radius: 0; }
}
@media (min-width: 1200px) {
  .laser-page .cases-intro {
    --bleed-focus: 50% 27%;
    --laser-plate: calc(var(--gutter) + var(--type-hero) * 5.4 + clamp(1.5rem, 3vw, 3rem));
  }
  .laser-page .cases-intro .bleed-hero__panel { width: var(--laser-plate); }
  .laser-page .cases-intro .bleed-hero__photo img {
    width: calc((var(--laser-plate) + 16px) * 1.618 + (100% - 16px) * 0.728);
    max-width: none;
  }
}
@media (min-width: 1761px) {
  .laser-page .cases-intro { --laser-plate: calc((100vw - var(--page)) / 2 + var(--gutter) + var(--type-hero) * 5.4 + 3rem); }
}
/* Past 2100px the frame cannot hold the mountain and the lettering together; keep the fly. */
@media (min-width: 2101px) {
  .laser-page .cases-intro { --bleed-focus: 50% 20%; }
}
.cases-page .cases-intro h1 { max-width: 12ch; }
.laser-page .cases-intro h1 { max-width: 11ch; }
.cases-page main .tlink { min-height: 44px; }
.cases-page main :is(.section, .svc-close) { scroll-margin-top: 72px; }
.cases-photo { margin: 0; min-width: 0; }
.cases-photo a { display: block; border-radius: var(--radius-photo); }
.cases-photo picture { display: block; border-radius: var(--radius-photo); overflow: hidden; }
.cases-photo img { display: block; width: 100%; height: auto; }
.cases-photo figcaption { padding-top: 0.65rem; color: var(--ink-2); font-size: 0.85rem; line-height: 1.5; }
.cases-page :is(.cases-photo a, .laser-proof__item a):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

/* Four project examples in two rows; subgrid keeps photos, titles and links on shared lines. */
.cases-examples__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-gap) var(--layout-gap);
}
.cases-example { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
.cases-example .cases-photo { align-self: end; }
.cases-example h3 { margin-top: 1.25rem; font-size: var(--type-sub); line-height: 1.1; letter-spacing: -0.03em; }
.cases-example > p { max-width: 56ch; margin-top: 0.6rem; color: var(--ink-2); line-height: 1.65; }
.cases-example .tlink { align-self: start; justify-self: start; margin-top: 0.35rem; }

/* Preparation notes and questions: ruled sheets on the same paper. */
.cases-planning__grid,
.cases-questions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--layout-gap);
  padding-top: var(--section-compact);
  border-top: 1px solid var(--rule);
}
.cases-page .cases-planning,
.cases-page .cases-questions { padding-top: 0; }
.cases-planning__intro > p { max-width: 44ch; margin-top: 1rem; color: var(--ink-2); line-height: 1.7; }
.cases-questions h2 { max-width: 12ch; }
.cases-notes { margin: 0; }
.cases-notes > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem; padding-block: 1rem; border-top: 1px solid var(--rule-strong); }
.cases-notes > div:first-child { padding-top: 0; border-top: 0; }
.cases-notes dt { font-weight: var(--w-medium); }
.cases-notes dd { margin: 0; color: var(--ink-2); line-height: 1.65; }

/* Laser: the result above, the machine here, then more work from the shop. */
.laser-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: var(--layout-gap);
}
.laser-story__copy > p { max-width: 52ch; margin-top: 1rem; color: var(--ink-2); line-height: 1.7; }
.laser-story__copy .cases-notes { margin-top: 1.5rem; }
.laser-story__copy .tlink { margin-top: 0.5rem; }
.laser-machine { justify-self: end; width: 100%; max-width: 27.5rem; }
.laser-page .laser-proof { padding-top: 0; }
.laser-proof .svc-head { padding-top: var(--section-compact); border-top: 1px solid var(--rule); }
.laser-proof__rail { display: grid; gap: var(--content-gap); }
/* Each row is justified: widths follow each photo's ratio, so heights match and nothing is cropped. */
.laser-proof__row { display: flex; gap: var(--content-gap); }
.laser-proof__item { flex: var(--r) 1 0%; min-width: 0; margin: 0; }
.laser-proof__item a { display: block; border-radius: var(--radius-photo); }
.laser-proof__item picture { display: block; aspect-ratio: var(--r); border-radius: var(--radius-photo); overflow: hidden; background: var(--paper-sunk); }
.laser-proof__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.laser-proof__item figcaption { margin-top: 0.65rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .laser-proof__item img, .cases-photo img { transition: transform 650ms var(--ease); }
  .laser-proof__item a:hover img, .cases-photo a:hover img { transform: scale(1.025); }
}

@media (max-width: 900px) {
  .cases-planning__grid, .cases-questions__grid { grid-template-columns: 1fr; }
  .laser-story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); }
}
@media (max-width: 700px) {
  .cases-examples__grid { grid-template-columns: 1fr; }
  .cases-example { grid-row: auto; grid-template-rows: none; }
  .cases-notes > div { grid-template-columns: 1fr; gap: 0.4rem; }
  .laser-story__grid { grid-template-columns: 1fr; }
  .laser-machine { justify-self: start; max-width: 20rem; }
  /* One swipe row of every photo at a common height. */
  .laser-proof__rail {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .laser-proof__rail::-webkit-scrollbar { display: none; }
  .laser-proof__row { display: contents; }
  .laser-proof__item { flex: none; width: calc(16rem * var(--r)); scroll-snap-align: start; }
}
