/* Asgari Home Services — generated bundle. Edit src/assets/css/*.css, not this file. */

/* ===== 01-tokens.css ===== */
/* =========================================================================
   Design tokens — Asgari Home Services · "Yard sign & work order"
   Every colour, size and duration resolves to a value here. The contrast
   checker (tools/contrast-check.js) reads the --c-* hex values directly.

   The palette comes from the job site, not a mood board:
     paper   — the cream stock of a carbon-copy work order
     ink     — marker black, the yard-sign lettering
     yellow  — tape-measure yellow; used for the primary action only
     chalk   — highlighter lavender; marks the phrase that matters
     marker  — the violet felt-tip handwriting on a ticket
   ========================================================================= */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/work-sans-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("/assets/fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Metric-matched fallbacks so the swap does not shove the hero around. */
@font-face {
  font-family: "Display Fallback";
  src: local("Arial Narrow"), local("Roboto Condensed"), local("Arial");
  size-adjust: 82%;
  ascent-override: 105%;
}

:root {
  /* --- Palette --------------------------------------------------------- */
  --c-paper: #f2ecdf;
  --c-paper-deep: #e6ddc9;
  --c-white: #fffdf8;
  --c-ink: #151412;
  --c-ink-raised: #24221e;
  --c-ink-soft: #4d483f;
  --c-yellow: #ffd31a;
  --c-yellow-deep: #f0c000;
  --c-chalk: #c8c1ff;
  --c-chalk-soft: #e4e0ff;
  --c-marker: #4632c4;
  --c-marker-light: #b3a9ff;
  --c-fog: #bdb6a8;
  --c-line-soft: #cfc5b0;

  /* --- Roles ----------------------------------------------------------- */
  --bg: var(--c-paper);
  --ink: var(--c-ink);
  --ink-soft: var(--c-ink-soft);
  --rule: var(--c-ink);
  --focus: var(--c-marker);

  /* --- Type ------------------------------------------------------------ */
  --f-display: "Big Shoulders Display", "Display Fallback", "Arial Narrow", sans-serif;
  --f-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Courier Prime", "Courier New", ui-monospace, monospace;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;

  --fs-mega: clamp(3.5rem, 1.2rem + 7.4vw, 8rem);
  --fs-d1: clamp(2.9rem, 1.4rem + 5vw, 6rem);
  --fs-d2: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem);
  --fs-d3: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem);
  --fs-d4: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-mono: 0.8125rem;
  --fs-marker: clamp(1.05rem, 0.95rem + 0.5vw, 1.45rem);

  --lh-display: 0.88;
  --lh-tight: 1.1;
  --lh-body: 1.65;

  /* --- Space (4px base) ------------------------------------------------ */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);

  /* --- Shape ----------------------------------------------------------- */
  --border: 2px solid var(--c-ink);
  --border-thick: 3px solid var(--c-ink);
  --shadow-hard: 6px 6px 0 var(--c-ink);
  --shadow-hard-sm: 4px 4px 0 var(--c-ink);
  --shadow-photo: 0 1px 1px rgb(21 20 18 / 0.12), 0 10px 24px -8px rgb(21 20 18 / 0.35);

  /* --- Motion ---------------------------------------------------------- */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-snap: cubic-bezier(0.3, 1.4, 0.5, 1);
  --t-fast: 140ms;
  --t-med: 280ms;
  --t-slow: 600ms;

  --header-h: 96px;
}

@media (max-width: 1023px) {
  :root {
    --header-h: 80px;
  }
}


/* ===== 02-base.css ===== */
/* =========================================================================
   Base — reset, type roles, shared utilities
   ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Big Shoulders ships with an optical-size axis; pin it to the display cut so
   headlines stay heavy and condensed at every size, including on phones. */
.display,
.hero__title,
[class*="__title"],
[class*="__name"],
.btn,
.yardsign__num,
.action-bar__btn,
.step__num,
.footer-sign__line,
.creed li,
.wont__claim,
.member__first,
.notfound__code,
.ruler__nums,
.related__title,
.mnav__link {
  font-variation-settings: "opsz" 72;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

strong {
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--c-yellow);
}

::selection {
  background: var(--c-chalk);
  color: var(--c-ink);
}

/* --- Accessibility helpers ------------------------------------------------ */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--c-yellow);
  color: var(--c-ink);
  border: var(--border);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}

.skip-link:focus {
  transform: none;
}

/* --- Layout primitives --------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section);
}

.section--flush-top {
  padding-top: 0;
}

.on-dark {
  background: var(--c-ink);
  color: var(--c-white);
}

.band-deep {
  background: var(--c-paper-deep);
}

/* --- Type roles ------------------------------------------------------------
   Display: Big Shoulders, always upper-case, tight leading. Used for section
   titles and the hero only — never for running text. */

.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-d1);
  line-height: var(--lh-display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.display--2 {
  font-size: var(--fs-d2);
  line-height: 0.92;
}

.display--3 {
  font-size: var(--fs-d3);
  line-height: 0.95;
  font-weight: 800;
}

/* Marker: the felt-tip note on the ticket. One per section at most. */
.marker {
  font-family: var(--f-marker);
  font-size: var(--fs-marker);
  line-height: 1.25;
  color: var(--c-marker);
  letter-spacing: 0.01em;
}

.on-dark .marker {
  color: var(--c-marker-light);
}

/* Section notes: black felt-tip on a lavender label strip with softened
   corners, stuck on at a slight upward angle. Same on light and dark bands.
   Paragraph-length marker text (.diff__note) stays plain and level. */
p.marker:not(.diff__note),
.marker--tilt {
  display: inline-block;
  padding: 0.22em 0.6em 0.12em;
  background: var(--c-chalk);
  color: var(--c-ink);
  border-radius: 5px;
  transform: rotate(-0.75deg);
  transform-origin: 0 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.on-dark p.marker:not(.diff__note),
.on-dark .marker--tilt {
  color: var(--c-ink);
}

.marker--tilt {
  transform: rotate(-1deg);
}

/* Tag: the typewritten box label stamped at the top of a section. */
.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem 0.15rem;
  border: 1.5px solid currentColor;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.02em;
}

/* Highlighter swipe behind a phrase — a slightly irregular block of chalk
   that sits low, the way a real highlighter misses the cap height. */
.hl {
  background: linear-gradient(
      to bottom,
      transparent 0 34%,
      var(--c-chalk) 34% 96%,
      transparent 96%
    )
    no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}

.hl--yellow {
  background-image: linear-gradient(
    to bottom,
    transparent 0 40%,
    var(--c-yellow) 40% 94%,
    transparent 94%
  );
}

/* On a dark band the phrase turns tape-yellow and gets a hand-drawn chalk
   underline instead of a fill — no ink letters sitting half on black. */
.on-dark .hl,
.on-dark .hl--yellow {
  color: var(--c-yellow);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 60 4, 110 14, 170 8 S 260 5, 297 9' fill='none' stroke='%23c8c1ff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    0 100% / 100% 0.2em no-repeat;
  padding: 0 0.04em 0.16em;
  margin-inline: 0;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.soft {
  color: var(--ink-soft);
}

.on-dark .soft {
  color: var(--c-fog);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-d3);
  line-height: 1;
  text-transform: uppercase;
  margin-top: 2em;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.6em;
}

.prose ul {
  list-style: square;
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose a {
  color: var(--c-marker);
}

/* Arrow link — the quiet secondary action. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  line-height: 1.2;
}

.link-arrow span {
  transition: transform var(--t-fast) var(--ease-out);
}

.link-arrow:hover span {
  transform: translateX(4px);
}


/* ===== 03-components.css ===== */
/* =========================================================================
   Components
   ========================================================================= */

/* --- Buttons ---------------------------------------------------------------
   Printed-sign buttons: hard ink border, hard offset shadow that the button
   "presses into" on click. Yellow is reserved for the estimate action. */

.btn {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-ink);
  --btn-shadow: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 54px;
  padding: 0.55rem 1.35rem 0.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2.5px solid var(--c-ink);
  box-shadow: 4px 4px 0 var(--btn-shadow);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    background-color var(--t-fast);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--btn-shadow);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--btn-shadow);
}

.btn--yellow {
  --btn-bg: var(--c-yellow);
}

.btn--ink {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-white);
  --btn-shadow: var(--c-yellow);
}

.btn--chalk {
  --btn-bg: var(--c-chalk);
}

.on-dark .btn {
  border-color: var(--c-white);
  --btn-shadow: var(--c-white);
}

.on-dark .btn--yellow {
  border-color: var(--c-ink);
  --btn-shadow: var(--c-chalk);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* --- Yard sign ---------------------------------------------------------------
   The phone number as a lawn sign on a stake: the most characteristic object
   of a working contractor in an American neighbourhood. */

.yardsign {
  position: relative;
  display: inline-grid;
  justify-items: center;
  padding: 0.85rem 1.6rem 0.9rem;
  margin-bottom: 26px;
  background: var(--c-chalk);
  color: var(--c-ink);
  border: var(--border-thick);
  box-shadow: 7px 7px 0 var(--c-ink);
  text-decoration: none;
  transform: rotate(-1.6deg);
  transition: transform var(--t-med) var(--ease-snap);
}

.yardsign::after {
  /* the wire stake */
  content: "";
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  width: 8px;
  height: 24px;
  margin-left: -4px;
  background: linear-gradient(90deg, #5c5141, #8b7a5e 45%, #5c5141);
  z-index: -1;
}

.yardsign:hover {
  transform: rotate(0deg) translateY(-2px);
}

.yardsign__label {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.yardsign__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}

.yardsign--yellow {
  background: var(--c-yellow);
}

/* --- Polaroid ------------------------------------------------------------- */

.polaroid {
  --tilt: -2deg;
  position: relative;
  display: block;
  padding: 10px 10px 0;
  background: var(--c-white);
  box-shadow: var(--shadow-photo);
  transform: rotate(var(--tilt));
  transition: transform var(--t-med) var(--ease-out);
  text-decoration: none;
  color: var(--c-ink);
}

.polaroid img {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  background: var(--c-paper-deep);
}

.polaroid figcaption,
.polaroid__cap {
  display: block;
  padding: 0.6rem 0.2rem 0.7rem;
  font-family: var(--f-marker);
  font-size: 1rem;
  line-height: 1.2;
  color: var(--c-ink);
}

a.polaroid:hover,
.polaroid--lift:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.015);
  z-index: 5;
}

/* Masking tape: translucent yellow, torn-looking ends via clip-path. */
.tape-strip {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: rgb(255 211 26 / 0.82);
  transform: rotate(var(--tape-tilt, -3deg));
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 94%, 0 50%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
  z-index: 2;
}

/* --- Tape measure ----------------------------------------------------------
   Section divider. Ticks are drawn with gradients (16ths, quarters, inches);
   the inch numbers are real text, hidden from assistive tech. */

.ruler {
  --inch: 64px;
  position: relative;
  height: 46px;
  overflow: hidden;
  background-color: var(--c-yellow);
  border-block: 2px solid var(--c-ink);
  background-image:
    linear-gradient(90deg, var(--c-ink) 2px, transparent 2px),
    linear-gradient(90deg, var(--c-ink) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--c-ink) 1px, transparent 1px);
  background-size:
    var(--inch) 20px,
    calc(var(--inch) / 4) 13px,
    calc(var(--inch) / 8) 7px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

.ruler__nums {
  position: absolute;
  left: 0;
  bottom: 3px;
  display: flex;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.ruler__nums span {
  width: var(--inch);
  flex: none;
  text-align: right;
  transform: translateX(50%);
}

.ruler__nums span:nth-child(12n) {
  color: #c41e1e;
}

/* --- Work-order ticket -------------------------------------------------------
   The signature: a contractor's carbon-copy job ticket. Used interactively on
   the homepage, read-only on service pages and on the estimate page. */

.ticket {
  position: relative;
  background: var(--c-white);
  border: var(--border-thick);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.ticket__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 1rem;
  background: var(--c-paper-deep);
  border-bottom: var(--border);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ticket__head strong {
  font-weight: 700;
}

.ticket__no {
  color: #b3261e;
  font-weight: 700;
}

.ticket__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1rem;
  border-top: var(--border);
  background: var(--c-paper);
}

.ticket__note {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  max-width: 34ch;
}

.ticket__count {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ticket__count strong {
  display: inline-grid;
  place-items: center;
  min-width: 2em;
  height: 2em;
  margin-inline: 0.3em;
  background: var(--c-yellow);
  border: 2px solid var(--c-ink);
  font-weight: 700;
}

/* Check box drawn as a marker tick */
.tick {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--c-ink);
  background: var(--c-white);
}

.tick svg {
  position: absolute;
  left: -2px;
  top: -10px;
  width: 36px;
  height: 36px;
  overflow: visible;
}

.tick path {
  fill: none;
  stroke: var(--c-marker);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 260ms var(--ease-out);
}

.is-done .tick path,
input:checked + label .tick path {
  stroke-dashoffset: 0;
}

/* Static ticket list (service scope, estimate summary) */
.ticket__lines li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.6rem 1rem;
  border-bottom: 1px dashed var(--c-line-soft);
  line-height: 1.45;
}

.ticket__lines li:last-child {
  border-bottom: 0;
}

.ticket__lines .tick {
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
}

.ticket__lines .tick svg {
  width: 28px;
  height: 28px;
  top: -8px;
}

/* --- Before / after comparison -------------------------------------------- */

.compare {
  --reveal: 50%;
  position: relative;
  aspect-ratio: var(--ratio, 4 / 5);
  overflow: hidden;
  background: var(--c-ink-raised);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.compare__pane {
  position: absolute;
  inset: 0;
}

.compare__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare__pane--before {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  margin-left: -1.5px;
  background: var(--c-yellow);
  pointer-events: none;
}

.compare__handle {
  position: absolute;
  top: 50%;
  left: var(--reveal);
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: var(--c-yellow);
  border: 2.5px solid var(--c-ink);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.35);
}

.compare__handle::after {
  content: "\2039\00a0\203A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-ink);
  padding-bottom: 3px;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.compare:has(.compare__range:focus-visible) {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

.compare__tag {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.5rem 0.1rem;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare__tag--before {
  left: 0.75rem;
  background: var(--c-white);
  color: var(--c-ink);
}

.compare__tag--after {
  right: 0.75rem;
  background: var(--c-yellow);
  color: var(--c-ink);
}

/* --- Chips --------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 2px solid currentColor;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}

.chip--static {
  min-height: 0;
  padding: 0.35rem 0.75rem;
  font-weight: 400;
  background: var(--c-white);
  border-color: var(--c-ink);
}

.filter-chip {
  transition: background-color var(--t-fast), color var(--t-fast);
}

.filter-chip:hover {
  background: rgb(255 255 255 / 0.08);
}

.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-ink);
}

/* --- Breadcrumb ---------------------------------------------------------- */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6rem;
  opacity: 0.6;
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* --- Steps (a real sequence, so numbered) --------------------------------- */

.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps--row {
    grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
    gap: var(--sp-4);
  }
}

.step {
  position: relative;
  padding-top: var(--sp-4);
  border-top: var(--border-thick);
}

.on-dark .step {
  border-top-color: var(--c-white);
}

.step__num {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 0.8;
  color: var(--c-ink);
  -webkit-text-stroke: 0;
}

.step__title {
  margin-top: var(--sp-3);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.step p {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-soft);
}

.on-dark .step__num {
  color: var(--c-yellow);
}

.on-dark .step p {
  color: var(--c-fog);
}

@media (max-width: 899px) {
  .steps .step {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    column-gap: var(--sp-4);
  }
  .steps .step__num {
    grid-row: span 2;
    font-size: 3rem;
  }
  .steps .step__title {
    margin-top: 0;
  }
}

.steps--stack .step {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  column-gap: var(--sp-4);
}

.steps--stack .step__num {
  grid-row: span 2;
}

.steps--stack .step__title {
  margin-top: 0;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  border-top: var(--border-thick);
}

.faq__item {
  border-bottom: var(--border);
}

.faq__q {
  position: relative;
  display: block;
  padding: 1.15rem 3.5rem 1.15rem 0;
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: -1.05rem;
  border: 2px solid var(--c-ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}

.faq__item[open] > .faq__q::after {
  content: "\2013";
  background: var(--c-yellow);
}

.faq__a {
  padding: 0 3.5rem 1.4rem 0;
  color: var(--ink-soft);
}

.faq__a a {
  color: var(--c-marker);
}

/* --- Callout ------------------------------------------------------------- */

.callout {
  padding: var(--sp-5);
  border: var(--border);
  background: var(--c-white);
  box-shadow: var(--shadow-hard-sm);
}

.callout__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.on-dark .callout {
  background: var(--c-ink-raised);
  border-color: var(--c-fog);
  box-shadow: 4px 4px 0 var(--c-yellow);
}

.pending-note {
  padding: var(--sp-5);
  border: 2px dashed var(--c-marker);
  background: var(--c-chalk-soft);
}

.pending-note__title {
  font-size: 1.2rem;
  margin: 0.4rem 0;
}

.pending-note .eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* --- Housecall Pro lead form ---------------------------------------------- */

.hcp-embed {
  background: var(--c-white);
  border: var(--border-thick);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.hcp-embed__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hcp-embed__body {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
}

.hcp-embed__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-d3);
  line-height: 0.95;
  text-transform: uppercase;
}

.hcp-embed__text {
  margin-top: var(--sp-3);
  color: var(--ink-soft);
}

.hcp-embed__frame {
  margin-top: var(--sp-4);
  border-top: 1px dashed var(--c-line-soft);
}

.hcp-embed__iframe {
  display: block;
  width: 100%;
  /* Measured height of the vendor form; it is cross-origin, so it cannot
     auto-fit. Re-check if the form fields change in Housecall Pro. */
  min-height: 660px;
  border: 0;
}

@media (max-width: 700px) {
  .hcp-embed__iframe {
    min-height: 720px;
  }
}

.hcp-embed__note {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px dashed var(--c-line-soft);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* --- Lightbox ------------------------------------------------------------- */

.lightbox {
  width: min(96vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(21 20 18 / 0.92);
}

.lightbox__stage {
  display: grid;
  gap: 0.75rem;
  padding: 12px;
  background: var(--c-white);
}

.lightbox__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--c-ink);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox__caption {
  font-family: var(--f-marker);
  font-size: 1.05rem;
}

.lightbox__nav {
  display: flex;
  gap: 0.5rem;
}

.lightbox__btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.9rem;
  background: var(--c-yellow);
  border: 2px solid var(--c-ink);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.lightbox__close {
  position: absolute;
  top: -58px;
  right: 0;
}

/* --- Project card (projects page + service pages) ------------------------- */

.project {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
}

.project__media {
  position: relative;
  border-bottom: 2px solid var(--c-ink);
}

.project__media > img,
.project__media .photo-frame img {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
}

.project__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.1rem 1.1rem 1.2rem;
}

.project__cat {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-marker);
}

.project__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.project__text {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-soft);
}

.project__meta {
  font-family: var(--f-marker);
  font-size: 1rem;
  color: var(--c-marker);
}

.project__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.project__thumb {
  display: block;
  width: 64px;
  height: 64px;
  border: 2px solid var(--c-ink);
  overflow: hidden;
}

.project__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease-out);
}

.project__thumb:hover img {
  transform: scale(1.08);
}

.project__link {
  margin-top: auto;
  padding-top: 0.5rem;
  align-self: flex-start;
}

/* Photo frame used for single images (no comparison). */
.photo-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--c-paper-deep);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
}

/* Placeholder for a photo slot the client has not supplied yet. */
.photo-frame--pending {
  aspect-ratio: var(--ratio, 4 / 5);
  display: grid;
  place-items: center;
  border: 2px dashed var(--c-ink-soft);
}

.photo-frame__pending {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  text-align: center;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
}


/* ===== 04-chrome.css ===== */
/* =========================================================================
   Site chrome — top bar, header, navigation, footer, mobile action bar,
   and the closing "what happens next" section shared by every page.
   ========================================================================= */

/* --- Top bar ----------------------------------------------------------------
   Phone on a yellow tab at the left, a slow ticker of what we do in the
   middle (the sort of thing painted on the side of a work truck), and the
   estimate link at the right. The ticker is decorative; its content is
   repeated for screen readers in a visually hidden line. */

.topbar {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  align-items: stretch;
  min-height: 40px;
}

.topbar__call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  padding: 0.35rem 1.1rem 0.35rem max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  background: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-right: 2rem;
}

.topbar__call strong {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  font-variation-settings: "opsz" 72;
}

.topbar__call:hover strong {
  text-decoration: underline;
}

.topbar__icon {
  flex: none;
}

.topbar__ticker {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.topbar__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--c-fog);
}

.topbar__track span {
  display: inline-flex;
  align-items: center;
}

.topbar__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline: 1.1rem;
  background: var(--c-yellow);
  transform: rotate(45deg);
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  padding: 0.35rem max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 0.35rem 1.2rem;
  color: var(--c-chalk);
  font-weight: 700;
  text-decoration: none;
}

.topbar__cta:hover {
  color: var(--c-yellow);
}

@media (prefers-reduced-motion: no-preference) {
  .topbar__track {
    animation: ticker 60s linear infinite;
  }
  .topbar__ticker:hover .topbar__track {
    animation-play-state: paused;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1023px) {
  .topbar__cta {
    display: none;
  }
}

@media (max-width: 639px) {
  .topbar__label {
    display: none;
  }
  .topbar__call {
    padding-left: var(--gutter);
  }
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: var(--border-thick);
  transition: box-shadow var(--t-med);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 0 rgb(21 20 18 / 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
  text-decoration: none;
}

/* --- Logo (approved Nov 2026) ---------------------------------------------
   Inline SVG; the lettering is Reggae One drawn as outlines, so no font loads.
   The roof gable doubles as the A; the crossbar is tape-measure yellow. */

.logo {
  display: block;
  height: 74px;
  width: calc(74px * 222 / 84);
  overflow: visible;
}

.logo__tile {
  fill: var(--c-ink);
}

.logo__roof {
  stroke: var(--c-white);
  stroke-width: 9;
  stroke-linejoin: miter;
}

.logo__fg {
  fill: var(--c-white);
}

.logo__bar {
  fill: var(--c-yellow);
}

.logo__word,
.logo__con,
.logo__sub {
  fill: var(--c-ink);
}

.brand:hover .logo__bar {
  fill: var(--c-chalk);
}

.brand__note {
  padding-left: 0.9rem;
  border-left: 1.5px solid var(--c-line-soft);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

@media (max-width: 1023px) {
  .logo {
    height: 62px;
    width: calc(62px * 222 / 84);
  }
}

@media (max-width: 1180px) {
  .brand__note {
    display: none;
  }
}

/* Desktop navigation */

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  background: none;
  border: 0;
  font-family: var(--f-body);
  font-weight: 550;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 6px;
  height: 3px;
  background: var(--c-marker);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item[data-open] .nav__link::after {
  transform: scaleX(1);
}

.nav__link.is-active::after {
  background: var(--c-yellow-deep);
  height: 5px;
}

.nav__chevron {
  transition: transform var(--t-med) var(--ease-out);
}

.nav__item[data-open] .nav__chevron {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -1.5rem;
  width: min(760px, 70vw);
  z-index: 60;
}

.nav__menu::before {
  /* hover bridge across the gap */
  content: "";
  position: absolute;
  inset: -20px 0 auto;
  height: 20px;
}

.nav__menu-inner {
  background: var(--c-white);
  border: var(--border-thick);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.nav__menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: var(--c-paper-deep);
  border-bottom: var(--border);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav__menu-head .eyebrow {
  font-weight: 700;
}

.nav__menu-all {
  color: var(--c-marker);
  font-weight: 700;
  text-decoration: none;
}

.nav__menu-all:hover {
  text-decoration: underline;
}

.nav__sublist {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nav__sublink {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--c-line-soft);
  transition: background-color var(--t-fast);
}

.nav__sublist li:nth-child(odd) .nav__sublink {
  border-right: 1px dashed var(--c-line-soft);
}

.nav__sublink:hover,
.nav__sublink:focus-visible {
  background: var(--c-chalk-soft);
}

.nav__subtitle {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
}

.nav__subdesc {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: none;
}

.header-cta {
  min-height: 50px;
  font-size: 1.25rem;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--c-yellow);
  border: 2.5px solid var(--c-ink);
  box-shadow: 3px 3px 0 var(--c-ink);
}

.menu-toggle__bar {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: var(--c-ink);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}

.menu-toggle__bar:nth-child(1) {
  top: 16px;
}
.menu-toggle__bar:nth-child(2) {
  top: 23px;
}
.menu-toggle__bar:nth-child(3) {
  top: 30px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    margin-left: auto;
  }
}

/* --- Mobile drawer ------------------------------------------------------- */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(21 20 18 / 0.55);
  opacity: 0;
  transition: opacity var(--t-med);
}

.nav-scrim[data-open] {
  opacity: 1;
}

.mnav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(440px, 100%);
  background: var(--c-paper);
  border-left: var(--border-thick);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 380ms var(--ease-out),
    visibility 0s linear 380ms;
}

.mnav[data-open] {
  transform: none;
  visibility: visible;
  transition: transform 380ms var(--ease-out);
}

.mnav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 var(--gutter) 2rem;
}

.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  margin-bottom: var(--sp-4);
}

.mnav__logo .logo {
  height: 62px;
  width: calc(62px * 222 / 84);
}

.mnav__close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 0.9rem;
  background: var(--c-yellow);
  border: 2.5px solid var(--c-ink);
  box-shadow: 3px 3px 0 var(--c-ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-variation-settings: "opsz" 72;
}

.mnav__close span {
  font-size: 1.6rem;
  line-height: 1;
}

.mnav__list > li {
  border-bottom: var(--border);
}

.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0.5rem 0;
  background: none;
  border: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
}

.mnav__link.is-active {
  color: var(--c-marker);
}

.mnav__chevron {
  transition: transform var(--t-med);
}

.mnav__toggle[aria-expanded="true"] .mnav__chevron {
  transform: rotate(180deg);
}

.mnav__sublist {
  padding: 0 0 1rem;
}

.mnav__sublink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0 0.2rem 0.9rem;
  border-left: 3px solid var(--c-yellow-deep);
  font-weight: 550;
  text-decoration: none;
}

.mnav__sublink--all {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-marker);
}

.mnav__footer {
  display: grid;
  gap: var(--sp-4);
  margin-top: auto;
  padding-top: var(--sp-6);
}

.mnav__meta {
  font-family: var(--f-marker);
  color: var(--c-marker);
  text-align: center;
}

/* --- Mobile action bar --------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  background: var(--c-white);
  border-top: var(--border-thick);
  padding-bottom: env(safe-area-inset-bottom);
}

.action-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 60px;
  padding: 0.4rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink);
}

.action-bar__btn + .action-bar__btn {
  border-left: var(--border-thick);
}

.action-bar__btn--primary {
  background: var(--c-yellow);
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .action-bar {
    display: none;
  }
}

/* --- Closing section: what happens after you call ------------------------- */

.closer {
  position: relative;
  padding-block: var(--section);
  overflow: hidden;
}

.closer__top {
  display: grid;
  gap: var(--sp-6);
  align-items: end;
}

@media (min-width: 960px) {
  .closer__top {
    grid-template-columns: 1.3fr 1fr;
  }
}

.closer__title {
  margin-top: var(--sp-3);
}

.closer__steps {
  margin-top: var(--sp-8);
}

.closer__deal {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--c-ink-raised);
  border: 2px solid #3a3731;
}

@media (min-width: 960px) {
  .closer__deal {
    grid-template-columns: auto 1fr;
    gap: var(--sp-8);
  }
}

.closer__deal .yardsign {
  justify-self: start;
  color: var(--c-ink);
  border-color: var(--c-ink);
  box-shadow: 7px 7px 0 var(--c-yellow);
}

.closer__terms {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-fog);
  max-width: 70ch;
}

.closer__terms strong {
  color: var(--c-white);
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--c-paper);
  border-top: var(--border-thick);
}

/* The phone number gets a full-width row of its own and is sized from the
   footer's own width (container units), so it can never run into anything,
   whatever the browser's zoom or default font size. */
.footer-sign {
  container-type: inline-size;
  padding-block: var(--sp-9) var(--sp-7);
  border-bottom: var(--border-thick);
}

.footer-sign__num {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: var(--sp-5);
  padding-bottom: 0.06em;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 15.5cqi, 11rem);
  line-height: 1;
  letter-spacing: 0;
  font-variation-settings: "opsz" 72;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(var(--c-yellow), var(--c-yellow)) 0 92% / 0 0.14em no-repeat;
  transition: background-size var(--t-med) var(--ease-out);
}

.footer-sign__num:hover,
.footer-sign__num:focus-visible {
  background-size: 100% 0.14em;
}

.footer-sign__hint {
  margin-top: var(--sp-3);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-sign__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5) var(--sp-7);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: var(--border);
}

.footer-sign__text {
  flex: 1 1 26rem;
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.footer-sign__btns {
  flex: 0 0 auto;
}

@media (max-width: 479px) {
  .footer-sign__btns,
  .footer-sign__btns .btn {
    width: 100%;
  }
}

.footer-grid {
  display: grid;
  gap: var(--sp-7) var(--sp-6);
  padding-block: var(--sp-8);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1.2fr 0.9fr 1fr;
  }
}

.brand--footer {
  display: inline-block;
}

.brand--footer .logo--stacked {
  width: 190px;
  height: calc(190px * 166 / 168);
}

.footer-brand__text {
  margin-top: var(--sp-4);
  max-width: 40ch;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.footer-brand__tagline {
  margin-top: var(--sp-4);
}

.footer-col__title {
  margin-bottom: var(--sp-4);
}

.footer-list li + li {
  margin-top: 0.35rem;
}

.footer-list a {
  display: inline-block;
  padding-block: 0.2rem;
  text-decoration: none;
  font-size: 0.97rem;
}

.footer-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--c-marker);
}

.footer-list--cols {
  columns: 2;
  column-gap: var(--sp-5);
}

.footer-list--cols li {
  break-inside: avoid;
}

@media (min-width: 1100px) {
  .footer-list--cols {
    columns: 1;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-5);
  border-top: var(--border);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}


/* ===== 05-home.css ===== */
/* =========================================================================
   Homepage
   ========================================================================= */

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2rem, 0.5rem + 3.5vw, 3.75rem) clamp(3rem, 1rem + 5vw, 5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
    gap: var(--sp-7);
  }
}

.hero__kicker {
  margin-bottom: var(--sp-3);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 0.9rem + 6.2vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
}

@media (min-width: 640px) {
  .hero__line {
    white-space: nowrap;
  }
}

.hero__title .hl {
  background-position: 0 0.02em;
}

.hero__lead {
  margin-top: var(--sp-5);
  max-width: 34em;
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-6);
}

.hero__btns {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: var(--sp-5);
  color: var(--ink-soft);
}

.hero__checks li::before {
  content: "\2713";
  margin-right: 0.4em;
  color: var(--c-marker);
  font-weight: 700;
}

/* The board: three taped prints pinned at angles. */

.hero__board {
  position: relative;
  aspect-ratio: 1 / 1.2;
  width: 100%;
  max-width: 580px;
  justify-self: center;
}

.hero__board .polaroid {
  position: absolute;
}

/* Two prints side by side on top, the third pinned below them — every
   caption stays readable. */
.board__a {
  left: 0;
  top: 4%;
  width: 48%;
  z-index: 2;
}

.board__b {
  right: 0;
  top: 0;
  width: 48%;
  z-index: 3;
}

.board__c {
  left: 21%;
  bottom: 0;
  width: 56%;
  z-index: 4;
}

@media (max-width: 1023px) {
  .hero__board {
    max-width: 520px;
  }
}

@media (max-width: 639px) {
  .hero__board {
    aspect-ratio: 1 / 1.36;
    margin-top: var(--sp-3);
  }
  .hero__board .polaroid {
    padding: 7px 7px 0;
  }
  .hero__board .polaroid__cap {
    font-size: 0.8rem;
    padding: 0.45rem 0.1rem 0.5rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .yardsign {
    justify-self: stretch;
  }
  .hero__btns .btn {
    width: 100%;
  }
  .hero__checks {
    flex-direction: column;
  }
}

/* --- Work order ----------------------------------------------------------- */

.wo-head {
  display: grid;
  gap: var(--sp-5);
  align-items: end;
  margin-bottom: var(--sp-7);
}

@media (min-width: 900px) {
  .wo-head {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-8);
  }
}

.wo-head__title {
  margin-top: var(--sp-4);
}

.wo-head__text {
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
}

.wo__body {
  display: grid;
}

@media (min-width: 960px) {
  .wo__body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.wo__list {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wo__row {
  position: relative;
  border-bottom: 1px dashed var(--c-line-soft);
}

.wo__row:last-child {
  border-bottom: 0;
}

.wo__input {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  width: 26px;
  height: 26px;
  margin: -13px 0 0;
  opacity: 0;
}

.wo__label {
  display: grid;
  grid-template-columns: 26px minmax(9rem, 13.5rem) minmax(0, 1fr);
  gap: 0.25rem 1.1rem;
  align-items: center;
  min-height: 64px;
  padding: 0.7rem 4.2rem 0.7rem 1.1rem;
  cursor: pointer;
  transition: background-color var(--t-fast);
}

.wo__label:hover {
  background: var(--c-paper);
}

.wo__input:checked + .wo__label {
  background: var(--c-chalk-soft);
}

.wo__input:focus-visible + .wo__label {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.wo__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.wo__desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.wo__desc em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-marker);
}

.wo__more {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 2px solid transparent;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.wo__more:hover {
  border-color: var(--c-ink);
  background: var(--c-yellow);
}

@media (max-width: 759px) {
  .wo__label {
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    padding-right: 3.6rem;
  }
  .wo__desc {
    display: none;
  }
  .wo__label {
    align-items: center;
    min-height: 56px;
  }
  .wo__name {
    font-size: 1.45rem;
  }
  .wo__hint {
    display: none;
  }
}

.wo__photo {
  position: relative;
  display: none;
  margin: 0;
  padding: 1.5rem 1.5rem 1.2rem;
  background: var(--c-paper-deep);
  border-left: var(--border);
}

@media (min-width: 960px) {
  .wo__photo {
    display: flex;
    flex-direction: column;
  }
}

.wo__photo .tape-strip {
  top: 0.6rem;
}

.wo__photo [data-wo-img] {
  display: block;
  flex: 1;
  min-height: 0;
  padding: 8px;
  background: var(--c-white);
  box-shadow: var(--shadow-photo);
  transform: rotate(1.2deg);
}

.wo__photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: opacity 220ms;
}

.wo__photo img.is-swapping {
  opacity: 0.2;
}

.wo__cap {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.wo__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-5);
}

@media (max-width: 639px) {
  .wo__send,
  .wo__send .btn {
    width: 100%;
  }
  .wo .ticket__foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Finished-work wall ---------------------------------------------------
   A mosaic of finished rooms. Desktop: 4 columns, the first tile tall, the
   second wide. Captions sit on a black tab like a label on a print. */

.wall {
  padding-block: var(--section);
}

.wall__head {
  display: grid;
  gap: var(--sp-5);
  align-items: end;
  margin-bottom: var(--sp-7);
}

@media (min-width: 960px) {
  .wall__head {
    grid-template-columns: 1.5fr 1fr;
  }
}

.wall__heading {
  margin-top: var(--sp-4);
  font-size: clamp(2.8rem, 1rem + 5.4vw, 6.25rem);
}

.wall__intro {
  max-width: 38ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.wall__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 10px;
}

/* Phones: the first photo runs full width, the rest pair up below it. */
.wall__tile--1 {
  grid-column: span 2;
  grid-row: span 2;
}

@media (min-width: 900px) {
  .wall__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 17vw, 250px);
    gap: 12px;
  }
  .wall__tile--1 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .wall__tile--2 {
    grid-column: 2 / span 2;
    grid-row: 1;
  }
  .wall__tile--3 {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

.wall__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--c-ink-raised);
  outline-offset: -3px;
}

.wall__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter var(--t-med);
}

.wall__link:hover img,
.wall__link:focus-visible img {
  transform: scale(1.05);
}

.wall__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 0.35rem 0.6rem 0.3rem;
  background: var(--c-ink);
  color: var(--c-white);
  line-height: 1.15;
}

.wall__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  font-variation-settings: "opsz" 72;
}

.wall__when {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-yellow);
}

.wall__foot {
  margin-top: var(--sp-7);
}

@media (max-width: 479px) {
  .wall__grid {
    grid-auto-rows: 150px;
    gap: 8px;
  }
  .wall__title {
    font-size: 0.9rem;
  }
  .wall__foot .btn {
    width: 100%;
  }
}

/* --- Family -------------------------------------------------------------- */

.fam__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 960px) {
  .fam__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--sp-9);
  }
}

.fam__photos {
  position: relative;
  padding-bottom: 14%;
}

.fam__a {
  width: 76%;
}

.fam__b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
}

.fam__lead {
  margin-top: var(--sp-5);
  max-width: 40em;
}

.crew {
  margin-top: var(--sp-6);
  border-bottom: var(--border-thick);
}

.crew__row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: var(--sp-4);
  align-items: baseline;
  padding-block: 0.55rem 0.5rem;
  border-top: var(--border-thick);
}

.crew__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.crew__role {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  line-height: 1.4;
}

.fam__links {
  margin-top: var(--sp-6);
  gap: var(--sp-6);
}

/* --- Testimonials (shown only when real reviews exist) ------------------- */

.quotes {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: var(--sp-5);
  background: var(--c-white);
  border: var(--border);
  box-shadow: var(--shadow-hard-sm);
}

.quote__text {
  font-size: 1.1rem;
}

.quote__by {
  margin-top: var(--sp-4);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
}

.quotes__more {
  margin-top: var(--sp-6);
}


/* ===== 06-pages.css ===== */
/* =========================================================================
   Inner pages — shared heroes and section patterns, then page specifics
   ========================================================================= */

/* --- Page hero ----------------------------------------------------------- */

.phero {
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.5rem) clamp(3rem, 1.5rem + 4vw, 5.5rem);
  overflow: hidden;
}

.phero--plain {
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.phero--compact .phero__title {
  font-size: clamp(3rem, 1.2rem + 5vw, 6rem);
}

.phero .breadcrumb {
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.phero__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 960px) {
  .phero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: var(--sp-8);
  }
}

.phero__split {
  display: grid;
  gap: var(--sp-5);
  align-items: end;
}

@media (min-width: 960px) {
  .phero__split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: var(--sp-8);
  }
}

.phero__title {
  margin-top: var(--sp-3);
  font-size: clamp(2.9rem, 1.2rem + 4.6vw, 5.6rem);
  line-height: 0.88;
}

.phero__lead {
  margin-top: var(--sp-5);
  max-width: 36em;
}

.phero__support {
  margin-top: var(--sp-4);
  max-width: 40em;
}

.phero__actions {
  margin-top: var(--sp-6);
}

.phero__call {
  margin-top: var(--sp-4);
  font-size: 0.95rem;
}

.phero__call a {
  font-weight: 700;
}

.phero__media {
  justify-self: center;
  width: min(100%, 440px);
  padding-top: 14px;
}

@media (max-width: 959px) {
  .phero__media {
    width: min(82%, 380px);
  }
}

.phero--dark .phero__accent {
  display: block;
  color: var(--c-chalk);
}

.tally {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.tally li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--c-white);
}

.tally strong {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--c-yellow);
}

.tally span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Section heads & splits ---------------------------------------------- */

.sec-head {
  margin-bottom: var(--sp-7);
}

.sec-head > .display,
.sec-head__title {
  margin-top: var(--sp-3);
}

.sec-head--split {
  display: grid;
  gap: var(--sp-5);
  align-items: end;
}

@media (min-width: 900px) {
  .sec-head--split {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--sp-8);
  }
  .sec-head--split > :last-child {
    justify-self: start;
  }
}

.sec-head--split > p {
  max-width: 44ch;
}

.split {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--sp-9);
    align-items: start;
  }
  .split--tight {
    gap: var(--sp-7);
  }
}

.split__title {
  margin-top: var(--sp-3);
}

.split__sub {
  margin-top: var(--sp-4);
  max-width: 40ch;
}

/* --- Services index: the stacked type list -------------------------------- */

.sx {
  border-top: var(--border-thick);
}

.sx__row {
  border-bottom: var(--border);
}

.sx__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem var(--sp-5);
  align-items: center;
  padding: 1.1rem 0;
  text-decoration: none;
}

.sx__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.6rem);
  line-height: 0.9;
  text-transform: uppercase;
  transition: color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.sx__blurb {
  grid-column: 1;
  max-width: 52ch;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.sx__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 2.5px solid var(--c-ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.7rem;
  transition: background-color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.sx__thumb {
  display: none;
}

.sx__link:hover .sx__arrow,
.sx__link:focus-visible .sx__arrow {
  background: var(--c-yellow);
  transform: translateX(4px);
}

.sx__link:hover .sx__name {
  color: var(--c-marker);
}

@media (min-width: 1024px) {
  .sx__link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem) auto;
    padding-block: 0.9rem;
  }
  .sx__blurb {
    grid-column: 2;
    grid-row: 1;
  }
  .sx__arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .sx__link:hover .sx__name {
    transform: translateX(0.6rem);
  }
  /* The photo appears pinned beside the row on hover/focus. */
  .sx__thumb {
    position: absolute;
    top: 50%;
    left: 52%;
    z-index: 4;
    display: block;
    width: 230px;
    padding: 8px 8px 30px;
    background: var(--c-white);
    box-shadow: var(--shadow-photo);
    opacity: 0;
    transform: translate(-50%, -46%) rotate(4deg) scale(0.92);
    transition:
      opacity var(--t-med),
      transform var(--t-med) var(--ease-snap);
    pointer-events: none;
  }
  .sx__thumb img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .sx__link:hover .sx__thumb,
  .sx__link:focus-visible .sx__thumb {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-3deg) scale(1);
  }
  .sx__row:nth-child(even) .sx__thumb {
    left: 40%;
  }
}

@media (max-width: 1023px) {
  .sx__link {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    column-gap: var(--sp-4);
  }
  .sx__thumb {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    border: 2px solid var(--c-ink);
  }
  .sx__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .sx__name,
  .sx__blurb {
    grid-column: 2;
  }
  .sx__arrow {
    grid-column: 3;
    width: 2.75rem;
    height: 2.75rem;
  }
}

.ticket--mini {
  margin-top: var(--sp-6);
  box-shadow: 6px 6px 0 var(--c-ink);
}

/* --- Service pages ------------------------------------------------------- */

.svc-intro {
  display: grid;
  gap: var(--sp-8);
}

@media (min-width: 1024px) {
  .svc-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: start;
  }
}

.svc-intro__title {
  margin-top: var(--sp-3);
}

.svc-intro__body {
  margin-top: var(--sp-5);
  color: var(--ink-soft);
}

.svc-intro__body p:first-child {
  font-size: var(--fs-lead);
  color: var(--ink);
}

.svc-intro__label {
  margin: var(--sp-6) 0 var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.svc-scope {
  transform: rotate(0.6deg);
}

.scope__group + .scope__group {
  border-top: var(--border);
}

.scope__title {
  padding: 0.85rem 1rem 0.2rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.scope__group .ticket__lines li {
  font-size: 0.95rem;
}

.svc-scope .ticket__foot {
  display: block;
  max-width: none;
}

.benefits {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 760px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .benefits--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.benefit {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  background: var(--c-white);
  border: var(--border);
}

.benefit::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 0.5rem;
  margin-bottom: var(--sp-4);
  background: var(--c-yellow);
  border: 2px solid var(--c-ink);
}

.benefit:nth-child(even)::before {
  background: var(--c-chalk);
}

.benefit__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.benefit__text {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-soft);
}

.pinboard {
  display: grid;
  gap: var(--sp-7) var(--sp-6);
  padding-top: 14px;
}

@media (min-width: 640px) {
  .pinboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .pinboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pinboard > li:nth-child(3n + 2) {
    margin-top: var(--sp-7);
  }
}

.pinboard .polaroid__cap {
  font-size: 0.95rem;
}

.project-grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.on-dark .project {
  border-color: var(--c-white);
}

.project-grid--wall {
  margin-top: var(--sp-6);
}

.related {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 760px) {
  .related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.related__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1rem;
  height: 100%;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border: var(--border);
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.related__link:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

.related__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.related__blurb {
  grid-column: 1;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.related__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
}

.faq-wrap {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 960px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: var(--sp-9);
    align-items: start;
  }
}

.faq-wrap__title {
  margin-top: var(--sp-3);
}

.faq-wrap__text {
  margin-top: var(--sp-4);
  max-width: 34ch;
}

/* --- About / Why: story blocks ------------------------------------------- */

.story {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 960px) {
  .story {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--sp-9);
  }
  .story--reverse > :first-child {
    order: 2;
  }
}

.story__media {
  width: min(100%, 440px);
  justify-self: center;
  padding-top: 14px;
}

.story__title {
  margin-top: var(--sp-3);
}

.story__body {
  margin-top: var(--sp-5);
}

.creed {
  margin-top: var(--sp-5);
  border-top: 2px solid var(--c-white);
}

.creed li {
  padding-block: 0.4rem 0.3rem;
  border-bottom: 2px solid var(--c-white);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 1rem + 4vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.creed li:nth-child(2) {
  color: var(--c-yellow);
}

.creed li:nth-child(3) {
  color: var(--c-chalk);
}

.creed__body {
  margin-top: var(--sp-7);
}

.members {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 900px) {
  .members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.member {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  container-type: inline-size;
}

.member--yellow {
  background: var(--c-yellow);
}

.member--chalk {
  background: var(--c-chalk);
}

.member--white {
  background: var(--c-white);
}

.member__first {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(5rem, 3rem + 5vw, 8rem);
  /* Never wider than the card: "PARSA" is the longest name. */
  font-size: min(clamp(5rem, 3rem + 5vw, 8rem), 44cqi);
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.member__name {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: var(--border);
  font-size: 1.1rem;
}

.member__role {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.member__text {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.member__photo {
  margin-bottom: var(--sp-4);
  border: var(--border);
}

.diffs {
  display: grid;
  border-top: var(--border-thick);
}

@media (min-width: 900px) {
  .diffs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-8);
  }
}

.diff {
  padding-block: var(--sp-5) var(--sp-6);
  border-bottom: var(--border);
}

.diff__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-d3);
  line-height: 0.95;
  text-transform: uppercase;
}

.diff__text {
  margin-top: var(--sp-3);
  max-width: 50ch;
  color: var(--ink-soft);
}

.diff__note {
  margin-top: var(--sp-3);
  font-size: 1rem;
}

.wont li {
  padding-block: var(--sp-4) var(--sp-5);
  border-top: 2px solid #3d3a33;
}

.wont li:first-child {
  border-top-color: var(--c-white);
}

.wont__claim {
  margin-bottom: var(--sp-2);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: line-through;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 4px;
}

/* --- Estimate + contact -------------------------------------------------- */

.est {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}

@media (min-width: 1024px) {
  .est {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--sp-8);
  }
  .page--contact .est {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.est__side {
  display: grid;
  gap: var(--sp-7);
}

.est-ticket .ticket__lines {
  min-height: 3.5rem;
}

.est-ticket .ticket__lines li {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  align-items: center;
}

.est-ticket .ticket__lines li.est-ticket__empty {
  display: block;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--fs-sm);
  line-height: 1.55;
  text-transform: none;
  color: var(--ink-soft);
}

.est-ticket__empty a {
  color: var(--c-marker);
  font-weight: 600;
}

.est-ticket__foot .ticket__note {
  max-width: 30ch;
}

.est-include__list {
  margin-top: var(--sp-4);
  border-top: var(--border-thick);
}

.est-include__list > div {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.75rem;
  border-bottom: 1px dashed var(--c-line-soft);
}

@media (min-width: 560px) {
  .est-include__list > div {
    grid-template-columns: 8.5rem 1fr;
    gap: var(--sp-4);
  }
}

.est-include__list dt {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.15rem;
}

.est-include__list dd {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.est-include__list a {
  color: var(--c-marker);
  font-weight: 600;
  word-break: break-word;
}

.est-alt {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border: 2px dashed var(--c-ink);
}

.est__side .est-alt {
  margin-top: 0;
}

.est-alt__text {
  margin-bottom: var(--sp-4);
  font-weight: 600;
}

.est__label {
  margin: var(--sp-6) 0 var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.chips--lg .chip {
  font-size: 1rem;
  padding: 0.6rem 1rem;
}

.contact__sign {
  margin-bottom: var(--sp-7);
}

.contact__rows {
  border-top: var(--border-thick);
}

.contact__row {
  display: grid;
  gap: 0.5rem;
  padding-block: var(--sp-4);
  border-bottom: var(--border);
}

@media (min-width: 560px) {
  .contact__row {
    grid-template-columns: 8rem 1fr;
    gap: var(--sp-4);
  }
}

.contact__row dt {
  justify-self: start;
  align-self: start;
}

.contact__row dd {
  display: grid;
  gap: 0.2rem;
  font-weight: 600;
  font-size: 1.1rem;
  word-break: break-word;
}

.contact__row dd a {
  color: var(--c-marker);
}

.contact__row dd .soft {
  font-weight: 400;
  font-size: var(--fs-sm);
}

/* --- Legal & 404 --------------------------------------------------------- */

.rule-bronze {
  height: 0;
  margin-block: var(--sp-7);
  border: 0;
  border-top: var(--border);
}

.notfound__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 900px) {
  .notfound__grid {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.notfound__code {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(7rem, 4rem + 12vw, 15rem);
  line-height: 0.8;
  color: var(--c-yellow);
  -webkit-text-stroke: 3px var(--c-ink);
}

.notfound .display {
  margin-top: var(--sp-3);
}

.notfound__text {
  margin-block: var(--sp-5) var(--sp-6);
  max-width: 36em;
}

.notfound__links a {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

.notfound__links a:hover {
  color: var(--c-marker);
}


/* ===== 07-proof-story.css ===== */
/* =========================================================================
   Projects opener (reference B) and the About page story pieces
   ========================================================================= */

/* --- Projects opener: before | after, full bleed -------------------------- */

.bigproof__photo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(460px, 68vh, 640px);
  overflow: hidden;
  background: var(--c-ink);
}

.bigproof__half {
  position: relative;
  min-width: 0;
}

.bigproof__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bigproof__half--after {
  border-left: 4px solid var(--c-yellow);
}

/* Shade under the headline so white type holds on any photo. */
.bigproof__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(21 20 18 / 0.8) 0%, rgb(21 20 18 / 0.3) 45%, transparent 70%),
    linear-gradient(180deg, rgb(21 20 18 / 0.55) 0%, transparent 22%);
  pointer-events: none;
}

.bigproof__tag {
  position: absolute;
  top: 1rem;
  z-index: 2;
  padding: 0.2rem 0.55rem 0.1rem;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.bigproof__tag--before {
  left: 1rem;
  background: var(--c-white);
}

.bigproof__tag--after {
  right: 1rem;
  background: var(--c-yellow);
}

.bigproof__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.bigproof__copy .breadcrumb {
  margin-bottom: var(--sp-4);
  color: var(--c-white);
}

.bigproof__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 1rem + 7.4vw, 8.5rem);
  line-height: 0.84;
  text-transform: uppercase;
  font-variation-settings: "opsz" 72;
  color: var(--c-white);
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}

.bigproof__title span {
  display: block;
  color: var(--c-chalk);
}

.bigproof__cap {
  display: inline-block;
  margin-top: var(--sp-4);
  padding: 0.3rem 0.6rem;
  background: rgb(21 20 18 / 0.85);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  color: var(--c-white);
}

.bigproof__band {
  background: var(--c-yellow);
  color: var(--c-ink);
  border-block: 3px solid var(--c-ink);
}

.bigproof__band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1rem;
}

.bigproof__band p {
  font-family: var(--f-mono);
  font-size: 0.88rem;
}

.bigproof__band a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  font-variation-settings: "opsz" 72;
}

.bigproof__band a:hover {
  text-decoration: underline;
}

.bigproof__band a:focus-visible {
  outline-color: var(--c-ink);
}

@media (max-width: 639px) {
  .bigproof__photo {
    height: 500px;
  }
}

.work-sec .sec-head {
  margin-bottom: var(--sp-6);
}

/* --- About: crew board in the hero ---------------------------------------- */

.phero__board {
  width: 100%;
  max-width: 540px;
  margin-top: 14px;
}

/* --- About: job-log timeline (a real sequence, by year) ------------------- */

.tl {
  border-top: var(--border-thick);
}

.tl__year {
  display: grid;
  gap: var(--sp-5) var(--sp-7);
  padding-block: var(--sp-6);
  border-bottom: var(--border);
}

@media (min-width: 900px) {
  .tl__year {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

.tl__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 2.5rem + 6vw, 8rem);
  line-height: 0.8;
  font-variation-settings: "opsz" 72;
}

.tl__year:nth-child(odd) .tl__num {
  color: var(--c-yellow);
  -webkit-text-stroke: 3px var(--c-ink);
}

.tl__count {
  margin-top: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.tl__thumbs {
  display: flex;
  margin-top: var(--sp-5);
  padding-left: 4px;
}

.tl__thumb {
  display: block;
  width: 108px;
  padding: 5px 5px 16px;
  background: var(--c-white);
  box-shadow: var(--shadow-photo);
  transform: rotate(var(--t));
}

.tl__thumb + .tl__thumb {
  margin-left: -16px;
}

.tl__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (min-width: 640px) {
  .tl__jobs {
    columns: 2;
    column-gap: var(--sp-6);
  }
}

.tl__jobs li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.5rem;
  padding-block: 0.45rem;
  border-bottom: 1px dashed var(--c-line-soft);
  break-inside: avoid;
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.tl__month {
  font-family: var(--f-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-marker);
}

/* --- About: pull quote ---------------------------------------------------- */

.pull {
  margin-top: var(--sp-6);
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  border-left: 8px solid var(--c-yellow);
  background: var(--c-white);
  box-shadow: var(--shadow-hard-sm);
}

.pull p {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
  font-variation-settings: "opsz" 72;
}

.pull cite {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tl__more {
  margin-top: var(--sp-6);
}

/* --- Housecall Pro reviews widget ----------------------------------------- */

.reviews__frame {
  background: var(--c-white);
  border: var(--border-thick);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.reviews__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Cross-origin iframe: its height cannot be read, so it is sized to the
   widget's layout. Re-check if Housecall Pro changes the widget. */
.reviews__iframe {
  display: block;
  width: 100%;
  height: 1000px;
  border: 0;
}


/* ===== 09-motion.css ===== */
/* =========================================================================
   Motion
   One orchestrated moment (the hero: headline lines rise, prints are pinned
   to the board one by one) plus quiet scroll reveals. Everything here is
   behind prefers-reduced-motion: no-preference, and the `js` class, so
   content is never hidden from people without scripts or motion.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 700ms var(--ease-out),
      transform 700ms var(--ease-out);
  }

  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 600ms var(--ease-out),
      transform 600ms var(--ease-out);
  }

  .js [data-reveal-group].is-revealed > * {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal-group].is-revealed > *:nth-child(2) { transition-delay: 70ms; }
  .js [data-reveal-group].is-revealed > *:nth-child(3) { transition-delay: 140ms; }
  .js [data-reveal-group].is-revealed > *:nth-child(4) { transition-delay: 210ms; }
  .js [data-reveal-group].is-revealed > *:nth-child(5) { transition-delay: 280ms; }
  .js [data-reveal-group].is-revealed > *:nth-child(6) { transition-delay: 350ms; }
  .js [data-reveal-group].is-revealed > *:nth-child(n + 7) { transition-delay: 420ms; }

  /* --- Hero load sequence ------------------------------------------------ */

  .js .hero__line {
    animation: line-rise 760ms var(--ease-out) backwards;
  }
  .js .hero__line:nth-child(2) { animation-delay: 80ms; }
  .js .hero__line:nth-child(3) { animation-delay: 160ms; }
  .js .hero__line:nth-child(4) { animation-delay: 240ms; }

  .js .hero__title .hl {
    animation: swipe 520ms var(--ease-out) 820ms backwards;
  }

  .js .hero__kicker,
  .js .hero__lead,
  .js .hero__actions,
  .js .hero__checks {
    animation: fade-up 700ms var(--ease-out) both;
  }
  .js .hero__kicker { animation-delay: 0ms; }
  .js .hero__lead { animation-delay: 380ms; }
  .js .hero__actions { animation-delay: 480ms; }
  .js .hero__checks { animation-delay: 580ms; }

  .js .hero__board .polaroid {
    animation: pin 640ms var(--ease-snap) backwards;
  }
  .js .hero__board .board__a { animation-delay: 300ms; }
  .js .hero__board .board__b { animation-delay: 480ms; }
  .js .hero__board .board__c { animation-delay: 660ms; }

  .js .hero__board .tape-strip {
    animation: tape 300ms var(--ease-out) backwards;
  }
  .js .hero__board .board__a .tape-strip { animation-delay: 620ms; }
  .js .hero__board .board__b .tape-strip { animation-delay: 800ms; }
  .js .hero__board .board__c .tape-strip { animation-delay: 980ms; }

  /* Polaroids elsewhere settle into their tilt as they are revealed. */
  .js [data-reveal] .polaroid {
    transition: transform 900ms var(--ease-snap);
  }
}

@keyframes line-rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 -20% 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes swipe {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

@keyframes pin {
  from {
    opacity: 0;
    transform: translateY(-40px) rotate(calc(var(--tilt) + 9deg)) scale(1.06);
  }
  to {
    opacity: 1;
    transform: rotate(var(--tilt));
  }
}

@keyframes tape {
  from {
    opacity: 0;
    transform: rotate(var(--tape-tilt)) scaleX(0.4);
  }
  to {
    opacity: 1;
    transform: rotate(var(--tape-tilt));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
