/* HERE. Flooring — Option B: the written quote.
   World: a goldenrod carbon-copy estimate sheet. Print-ink for every line and letter,
   amber for alternate courses, white only as the border of a photo print.
   The brand dot is a rubber stamp: an orange disc inside an ink ring. Archivo, self-hosted. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo.woff2") format("woff2");
}

:root {
  --sheet: #f2b94a;        /* goldenrod sheet */
  --sheet-2: #d99a2b;      /* amber, alternate course */
  --sheet-dim: #bc903a;    /* sheet hue dimmed, secondary text on ink */
  --ink: #1a1408;          /* print ink: 10.3:1 on sheet, 7.5:1 on amber */
  --ink-soft: #352305;     /* secondary ink: 6.3:1 on sheet, 4.7:1 on amber measured under the grain tile */
  --ink-rgb: 26 20 8;
  --sheet-rgb: 242 185 74;
  --rule: rgb(var(--ink-rgb) / 0.4);
  --stamp: #ff972a;        /* the orange dot; always inside an ink ring on the sheet */
  --stamp-press: #f28a1c;
  --paper: #ffffff;        /* photo-print border only */
  --red-ink: #520d05;      /* error ink: 4.6:1 on amber measured under the grain tile */

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--sheet);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--ink);
  accent-color: var(--stamp);
}

::selection { background: var(--ink); color: var(--sheet); }
html { scrollbar-color: var(--ink) var(--sheet); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--sheet); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; border: 2px solid var(--sheet); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-stretch: 112%; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sheet); }
html { scroll-padding-top: calc(var(--header-real, var(--header-h)) + 1rem); }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: 0; z-index: 100; padding: 0.75rem 1rem; background: var(--stamp); color: var(--ink); border: 2px solid var(--ink); font-weight: 800; transform: translateY(-100%); }
.skip:focus { transform: translateY(1rem); }

/* Printed field names: condensed, uppercase, tracked. */
.fn, .field label, .nav a, .brand-service, .prints figcaption, .item-cta, .quotes footer span, .site-footer h3, .about-copy .area strong {
  font-size: 0.78rem;
  font-weight: 700;
  font-stretch: 80%;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- The period: the orange dot stamped on the sheet, ink ring so it reads on goldenrod ---------- */
.dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 26%, var(--stamp) 29%);
  box-shadow: 0 0 0 max(1.5px, 0.035em) var(--ink);
  vertical-align: baseline;
}
/* The stamp: orange disc, ink ring, ink centre. Line-item check, section marker, seal. */
.check {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 3px, var(--stamp) 3.5px);
  border: 2px solid var(--ink);
}
@keyframes stamp-land {
  from { transform: scale(1.9) rotate(calc(var(--rot, 0deg) - 22deg)); opacity: 0; filter: blur(2px); }
  55% { opacity: 1; filter: blur(0); }
  to { transform: scale(1) rotate(var(--rot, 0deg)); opacity: 1; filter: blur(0); }
}
@keyframes print-press {
  0%, 100% { transform: none; }
  40% { transform: translateY(1.5px) rotate(-0.25deg); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons: rectangular stamps ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--stamp);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-stretch: 88%;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 0 0 3px var(--stamp), inset 0 0 0 4px var(--ink);
  transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.btn:hover { background: var(--stamp-press); box-shadow: inset 0 0 0 3px var(--stamp-press), inset 0 0 0 4px var(--ink); }
.btn:active { background: var(--stamp-press); box-shadow: inset 0 0 0 2px var(--stamp-press), inset 0 0 0 4px var(--ink); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: rgb(var(--ink-rgb) / 0.08); box-shadow: none; }
.btn-ghost:active { box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.8rem; white-space: normal; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.site-header .btn-ghost, .mobile-menu .btn-ghost { border-color: var(--sheet); color: var(--sheet); }
.site-header .btn-ghost:hover, .mobile-menu .btn-ghost:hover { background: rgb(var(--sheet-rgb) / 0.12); }

/* The seal: the round stamp pressed into the corner of the print. No cast shadow: ink, not a badge. */
.seal {
  --rot: -8deg;
  position: absolute;
  left: -2.25rem;
  bottom: -2rem;
  width: clamp(8.1em, 12.5vw, 8.5em);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 50%;
  background: var(--stamp);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 4px var(--stamp), inset 0 0 0 5px var(--ink);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-stretch: 84%;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  transform: rotate(var(--rot));
  transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.seal span { display: block; max-width: 8ch; }
.seal:hover { background: var(--stamp-press); box-shadow: inset 0 0 0 4px var(--stamp-press), inset 0 0 0 5px var(--ink); }
.seal:active { background: var(--stamp-press); box-shadow: inset 0 0 0 3px var(--stamp-press), inset 0 0 0 5px var(--ink); }

/* ---------- Masthead (ink) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--sheet);
}
.header-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; min-height: var(--header-h); padding: 0.5rem var(--gutter); background: var(--ink); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 22px; }
.brand-service { color: var(--sheet); padding-left: 0.7rem; border-left: 1px solid rgb(var(--sheet-rgb) / 0.4); line-height: 1; transform: translateY(-1px); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { display: inline-block; padding: 0.6rem 0; color: var(--sheet); text-decoration: none; position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.25rem;
  height: 2px;
  background: var(--stamp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.phone-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.25rem; font-weight: 700; font-size: 0.95rem; color: var(--sheet); text-decoration: none; }
.phone-link:hover { color: var(--stamp); }
.brand { color: var(--sheet); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--sheet); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-bar { display: block; width: 24px; height: 2px; background: var(--sheet); transition: transform 0.3s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  color: var(--sheet);
  padding: calc(var(--header-real, var(--header-h)) + 1.25rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  clip-path: inset(0);
  transition: clip-path 0.3s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid rgb(var(--sheet-rgb) / 0.3); }
.mobile-menu nav a { display: block; color: var(--sheet); padding: 0.9rem 0; font-size: 1.9rem; font-weight: 800; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; border-bottom: 1px solid rgb(var(--sheet-rgb) / 0.3); transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.mobile-menu nav a:nth-child(2) { transition-delay: 40ms; }
.mobile-menu nav a:nth-child(3) { transition-delay: 80ms; }
.mobile-menu nav a:nth-child(4) { transition-delay: 120ms; }
.mobile-menu nav a:nth-child(5) { transition-delay: 160ms; }
@starting-style {
  .mobile-menu:not([hidden]) { clip-path: inset(0 0 100% 0); }
  .mobile-menu:not([hidden]) nav a { opacity: 0; transform: translateY(-6px); }
}
.mobile-menu-actions { display: grid; gap: 0.75rem; padding-top: 1.5rem; }

/* ---------- Sheet courses ---------- */
/* Carbon-copy sheet: the grain tile multiplies over the course colour. */
.sheet { padding: var(--section) var(--gutter); background-color: var(--sheet); background-image: url("assets/img/sheet-grain.webp"); background-blend-mode: multiply; }
.sheet + .sheet { border-top: 1px solid var(--ink); }
.sheet-alt { background-color: var(--sheet-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { font-size: 1.125rem; margin: 0; color: var(--ink-soft); }

/* ---------- Hero: the top of the sheet ---------- */
.hero { padding-block: clamp(2.25rem, 4vw, 3.25rem) 2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 5.25rem); line-height: 0.96; letter-spacing: -0.025em; max-width: 11ch; margin-bottom: 1rem; }
.hero h1 .here { white-space: nowrap; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.5; max-width: 50ch; margin: 0 0 1.25rem; }
/* Ruled line items: printed field name, dotted leader, written value, stamped check. */
.lines { max-width: 34rem; border-top: 1px solid var(--ink); }
.lines li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; min-width: 0; padding: 0.7rem 0; border-bottom: 1px solid var(--ink); }
.lines .fn { order: 1; flex-shrink: 0; }
.lines li::before { content: ""; order: 2; flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 2px dotted var(--rule); }
.lines .val { order: 3; min-width: 0; margin-left: auto; font-size: 1.05rem; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.lines .check { order: 4; align-self: center; }
.hero-cta { margin-top: 1.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.hero-print { position: relative; justify-self: end; width: min(100%, 520px); }

/* Prints: square photos with a paper border, laid on the sheet. */
.print { margin: 0; }
.print img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  padding: 7px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(var(--ink-rgb) / 0.25), 0 12px 26px -12px rgb(var(--ink-rgb) / 0.55);
}
.hero-print img { padding: 9px; }

/* Load: the three lines get checked as the eye reads down, then the seal lands as the conclusion and the print takes the press. Ends by ~1.1s; plays once per tab (.is-return). */
.hero .lines .check { animation: stamp-land 0.45s var(--ease-out) both; }
.hero .lines li:nth-child(1) .check { animation-delay: 0.15s; }
.hero .lines li:nth-child(2) .check { animation-delay: 0.27s; }
.hero .lines li:nth-child(3) .check { animation-delay: 0.39s; }
.seal { animation: stamp-land 0.6s var(--ease-out) 0.5s backwards; }
.hero-print .print { animation: print-press 0.3s var(--ease-out) 0.65s; }
.is-return .hero .lines .check, .is-return .seal, .is-return .hero-print .print { animation: none; }

/* ---------- The estimate block (quote form) ---------- */
.estimate { padding-top: clamp(2rem, 3vw, 2.75rem); }
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.quote-intro h2 { margin-bottom: 0.6rem; }
.quote-sub { color: var(--ink-soft); font-size: 1.125rem; margin: 0; max-width: 34ch; }
.field { position: relative; display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.5rem; }
.quote-lines { margin: 0; padding: 0; border: 0; min-width: 0; transition: opacity 0.25s var(--ease-out); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.field label { color: var(--ink); }
.field .opt { font-weight: 500; font-stretch: 100%; letter-spacing: 0.02em; text-transform: none; color: var(--ink-soft); margin-left: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1.6rem;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.field textarea {
  resize: none;
  field-sizing: content;
  min-height: 5.2rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(1.6rem - 1px), var(--rule) calc(1.6rem - 1px) 1.6rem);
  background-origin: content-box;
  background-attachment: local;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 1px 0 var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 3px 0 var(--ink); }
.field :disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; cursor: default; }
/* The line-end check: a hollow ring while you write on a line, orange once the line is written, red when it needs fixing. Lands like every other stamp; exits faster than it enters. */
.field::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 3px transparent;
  transform: scale(1.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.12s var(--ease-out), opacity 0.12s var(--ease-out), background-color 0.15s var(--ease-out), border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.field:has(> .select-wrap)::after { right: 1.7rem; }
.field:has(> textarea)::after { top: auto; bottom: 0.6rem; }
.field:where(:focus-within, .is-invalid, :has(> input:valid), :has(option:checked:not([value=""])), :has(> textarea:not(:placeholder-shown)))::after { transform: scale(1); opacity: 1; transition-duration: 0.25s, 0.25s, 0.15s, 0.15s, 0.15s; }
.field:where(:has(> input:valid), :has(option:checked:not([value=""])), :has(> textarea:not(:placeholder-shown)))::after, .quote.is-sent .field:where(:has(> input))::after { transform: scale(1); opacity: 1; background: var(--ink); box-shadow: inset 0 0 0 3px var(--stamp); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--red-ink); box-shadow: 0 1px 0 var(--red-ink); }
.field.is-invalid::after { background: var(--red-ink); border-color: var(--red-ink); box-shadow: inset 0 0 0 3px var(--red-ink); }
.field-msg { font-size: 0.85rem; font-weight: 600; color: var(--red-ink); margin-top: 0.3rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2rem; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute; right: 0.4rem; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.form-error { margin: 0 0 1.25rem; padding: 0.7rem 0.9rem; border: 1px solid var(--red-ink); color: var(--red-ink); font-size: 0.95rem; font-weight: 600; max-width: none; }
.form-error:empty { margin: 0; padding: 0; border: 0; }
.form-error a { color: var(--ink); }
.quote-sign { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: center; margin-top: 0.5rem; }
.quote-sign .btn-block { width: auto; }
.fine { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.btn-busy { display: none; }
.quote.is-busy .btn-label { display: none; }
.quote.is-busy .btn-busy { display: inline; }
.quote.is-busy .btn-busy::after { content: "…"; animation: dots 1.2s steps(1, end) infinite; }
@keyframes dots { 0% { content: "."; } 34% { content: ".."; } 67%, 100% { content: "..."; } }
.quote-sub-sent { display: none; }
.quote.is-sent .quote-sub { display: none; }
.quote.is-sent .quote-sub-sent { display: block; }
.quote.is-sent .quote-lines { opacity: 0.45; }
.quote.is-sent .quote-sign, .quote.is-sent .form-error { display: none; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.5rem; align-items: center; padding: 0.5rem 0 1rem; }
.form-success .dot { --rot: -10deg; grid-row: 1 / span 3; width: 84px; height: 84px; margin: 0; background: var(--stamp); border: 3px solid var(--ink); box-shadow: inset 0 0 0 5px var(--stamp), inset 0 0 0 6px var(--ink); transform: rotate(var(--rot)); }
.form-success h3 { font-size: 2.25rem; }
.form-success p { margin: 0; max-width: 40ch; }
.form-success a { font-weight: 700; }
.link-btn { justify-self: start; margin-top: 0.25rem; padding: 0.5rem 0; min-height: 44px; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.form-success .dot { animation: stamp-land 0.55s var(--ease-out) 0.15s backwards; }

/* ---------- Services: itemized ---------- */
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--ink); }
.item { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--ink); color: inherit; text-decoration: none; }
.item .print { width: 128px; transform: rotate(var(--tilt)); transition: transform 0.45s var(--ease-out); }
.items li { --tilt: -1.5deg; }
.items li:nth-child(even) { --tilt: 1.2deg; }
.item:hover .print, .item:focus-visible .print { transform: rotate(0deg); }
.item strong { display: block; overflow-wrap: anywhere; font-size: 1.4rem; font-weight: 800; font-stretch: 114%; letter-spacing: -0.015em; line-height: 1.05; }
.item-desc { display: block; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; margin: 0.35rem 0 0.6rem; max-width: 42ch; }
.item-cta { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; padding-bottom: 3px; }
.item-cta::after { content: ""; position: absolute; left: 0; right: calc(16px + 0.55rem); bottom: 0; height: 2px; background: var(--ink); transform: scaleY(0.5); transform-origin: left bottom; transition: transform 0.2s var(--ease-out); }
.item-cta .check { position: relative; width: 16px; height: 16px; background: transparent; }
.item-cta .check::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 2.5px, var(--stamp) 3px); transform: scale(1.6); opacity: 0; transition: transform 0.12s var(--ease-out), opacity 0.12s var(--ease-out); }
.item:hover .item-cta::after, .item:focus-visible .item-cta::after { transform: none; }
.item:hover .check::before, .item:focus-visible .check::before { transform: scale(1); opacity: 1; transition-duration: 0.25s; }

/* ---------- Work: prints laid on the amber course ---------- */
.prints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3rem) clamp(1rem, 2.5vw, 2rem); }
.prints figure { --tilt: -1.4deg; transform: rotate(var(--tilt)); }
.prints figure:nth-child(even) { --tilt: 1deg; }
.prints figcaption { margin-top: 0.8rem; overflow-wrap: anywhere; }

/* ---------- Process: four ruled rows, checked as you arrive ---------- */
.steps { border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 22px 1fr; gap: 0.35rem 1.1rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--ink); }
.steps li .check { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 0.15rem; background: radial-gradient(circle, var(--ink) 0 3.5px, var(--stamp) 4px); opacity: 0; transform: scale(1.9) rotate(-22deg); transition: transform 0.5s var(--ease-out), opacity 0.3s ease-out; }
.steps li h3 { font-size: 1.4rem; }
.steps li p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.steps.in-view li .check, .no-js .steps li .check { opacity: 1; transform: none; }
.steps.in-view li:nth-child(2) .check { transition-delay: 0.18s; }
.steps.in-view li:nth-child(3) .check { transition-delay: 0.36s; }
.steps.in-view li:nth-child(4) .check { transition-delay: 0.54s; }
@media (min-width: 901px) {
  .steps li { grid-template-columns: 22px minmax(11rem, 0.32fr) minmax(0, 1fr); gap: 1.75rem; align-items: baseline; }
  .steps li .check { grid-row: auto; align-self: start; }
}

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.quotes blockquote { display: flex; flex-direction: column; margin: 0; padding: 1.75rem 2rem 1.75rem 0; }
.quotes blockquote + blockquote { padding-left: 2rem; border-left: 1px solid var(--ink); }
.quotes blockquote:last-child { padding-right: 0; }
.quotes p { font-size: 1.125rem; line-height: 1.5; margin-bottom: 1.25rem; }
.quotes footer { margin-top: auto; font-weight: 800; font-size: 1rem; }
.quotes footer span { display: block; color: var(--ink-soft); margin-top: 0.3rem; }
.sample-note { max-width: 62ch; margin: 1.25rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-print { width: min(100%, 520px); transform: rotate(-1.2deg); }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { font-size: 1.125rem; line-height: 1.55; }
.about-copy .area { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--ink); font-size: 1rem; color: var(--ink-soft); }
.about-copy .area strong { display: block; color: var(--ink); margin-bottom: 0.3rem; }
.about-copy .area a { color: var(--ink); font-weight: 600; }

/* ---------- Final line ---------- */
.final-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.final h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 0.75rem; }
.final-copy > p { font-size: 1.125rem; margin-bottom: 1.75rem; }
.final-contact { margin-top: 2rem; }
.final-contact a.val { display: inline-block; padding-block: 0.55rem; margin-block: -0.55rem; }
.final-print { width: min(100%, 440px); justify-self: end; transform: rotate(1.4deg); }

/* ---------- Footer (ink backing) ---------- */
.site-footer { background: var(--ink); color: var(--sheet-dim); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 20px; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; }
.site-footer h3 { color: var(--sheet); margin-bottom: 1rem; }
.site-footer li { margin-bottom: 0.25rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: var(--sheet-dim); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--sheet); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgb(var(--sheet-rgb) / 0.25); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr); gap: clamp(2.5rem, 6vw, 4rem); }
  .hero h1 { max-width: 12ch; }
  .seal { left: -0.75rem; }
  .quote { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
  .items { grid-template-columns: 1fr; }
  .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .quotes blockquote { padding: 1.5rem 0; }
  .quotes blockquote + blockquote { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
  .about-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .about-print, .final-print { justify-self: start; width: min(100%, 440px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .phone-link span { display: none; }
  .phone-link { width: 44px; justify-content: center; padding: 0; }
  .header-row { column-gap: 1rem; }
  .header-actions { gap: 0.5rem; }
  .brand img { height: 18px; }
  .brand-service { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; margin-bottom: 0; }
  .hero-print { order: 2; width: min(78%, 360px); justify-self: end; margin: 0.5rem 0 1.75rem; }
  .lede { order: 3; margin-bottom: 0; }
  .lines { order: 4; }
  .hero-cta { order: 5; margin-top: 0; }
  .seal { left: -2rem; bottom: -1.5rem; }
  .btn { white-space: normal; }
  .cta-row .btn { flex: 1 1 auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .item { grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; }
  .item .print { width: 96px; }
  .quote-sign { grid-template-columns: 1fr; }
  .quote-sign .btn-block { width: 100%; }
  .form-success { grid-template-columns: 1fr; }
  .form-success .dot { grid-row: auto; width: 72px; height: 72px; margin-bottom: 0.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-sm { padding: 0.55rem 0.8rem; }
  .prints { gap: 1.5rem 0.9rem; }
}
@media (max-width: 360px) {
  .header-actions .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .seal, .hero .lines .check, .form-success .dot { animation-name: fade; animation-duration: 0.3s; }
  .hero-print .print, .quote.is-busy .btn-busy::after { animation: none; }
  .steps li .check { transform: none; transition: opacity 0.3s ease-out; }
  .item .print, .item-cta::after, .item-cta .check::before, .nav a::after, .menu-bar, .mobile-menu nav a { transition: none; }
  .field::after { transition: background-color 0.15s var(--ease-out), border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out); }
  .item:hover .print { transform: rotate(var(--tilt)); }
  .mobile-menu { transition: opacity 0.15s ease-out; }
  @starting-style {
    .mobile-menu:not([hidden]) { clip-path: inset(0); opacity: 0; }
    .mobile-menu:not([hidden]) nav a { opacity: 1; transform: none; }
  }
}
