/* ==========================================================
   Lennon's · styles
   Colours and fonts live in :root. Change them there.
   ========================================================== */

:root {
  --graphite: #1A1D21;
  --paper:    #F6F5F2;
  --oak:      #D9C4A3;
  --stone:    #D8D6D1;
  --signal:   #FF5B23;
  --ink-2:    #4A4E55;      /* secondary text on light grounds */
  --on-dark-2:#B9B7B2;      /* secondary text on graphite */

  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body:    "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --m: clamp(16px, 4vw, 48px);          /* outer margin */
  --gutter: 0px;                         /* extra room for the tape on wide screens */
  --max: 1320px;
  --section: clamp(88px, 11vw, 168px);   /* space between sections */

  --line: 2px solid var(--graphite);
  --lift: 4px 4px 0 var(--graphite);
  --lift-soft: 6px 6px 0 rgba(26, 29, 33, .16);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-back: cubic-bezier(.3, 1.5, .5, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='120' viewBox='0 0 360 120'%3E%3Cg fill='none' stroke='%231A1D21' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M0 14 C60 8 120 22 180 14 S300 6 360 14'/%3E%3Cpath d='M0 34 C80 40 140 26 200 34 S320 42 360 34'/%3E%3Cpath d='M0 52 C50 48 110 60 170 52 S290 44 360 52'/%3E%3Cpath d='M0 74 C70 80 150 66 220 76 S320 82 360 74'/%3E%3Cpath d='M0 96 C60 90 130 104 190 96 S300 88 360 96'/%3E%3Cpath d='M120 62 c10 -6 24 -6 30 2 c-8 8 -22 8 -30 -2z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 1100px) {
  :root { --gutter: 44px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--body);
  font-size: clamp(16px, 1.1vw + 10px, 18px);
  line-height: 1.55;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--graphite); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

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

/* demo banner */
.demo-banner { margin: 0; padding: 7px 16px; background: var(--oak); color: var(--graphite); text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.35; border-bottom: 2px solid var(--graphite); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--signal); padding: 12px 16px; font-weight: 700; }
.skip:focus { left: 16px; top: 16px; }

/* placeholders: clearly marked so they are easy to find and replace */
.ph {
  background: rgba(255, 91, 35, .14);
  box-shadow: inset 0 -2px 0 var(--signal);
  padding: 0 .15em;
  border-radius: 2px;
  white-space: normal;
}
.slab .ph, .callpanel .ph, .footer .ph { background: rgba(255, 91, 35, .22); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.035em;
  max-width: 16ch;
  text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.kicker, .ticket__label, .slab__label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker { color: var(--ink-2); margin-bottom: 18px; }
.kicker--light { color: var(--on-dark-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--signal);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--bg);
  color: var(--graphite);
  border: var(--line);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--graphite);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--graphite); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--graphite); transition-duration: .06s; }
.btn--sm { min-height: 34px; padding: 6px 14px; font-size: .875rem; box-shadow: 2px 2px 0 var(--paper); border-color: var(--paper); }
.btn--sm:hover { box-shadow: 4px 4px 0 var(--paper); }
.btn--sm:active { box-shadow: 0 0 0 var(--paper); }
.btn--lg { min-height: 64px; padding: 18px 30px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--light { --bg: var(--paper); border-color: var(--paper); box-shadow: 3px 3px 0 var(--signal); }
.btn--light:hover { box-shadow: 5px 5px 0 var(--signal); }
.btn--ghost { --bg: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.btn--ghost:hover { box-shadow: 5px 5px 0 var(--paper); }
.btn--ghost:active, .btn--light:active { box-shadow: 0 0 0 transparent; }

/* panels: the outlined block with an offset shadow */
.panel { border: var(--line); box-shadow: var(--lift-soft); background: var(--paper); }
.panel--oak { background: var(--oak) var(--grain); }

/* line drawings */
.draw { overflow: visible; }
.draw .unit { fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.draw .handle { stroke-width: 3.5 !important; }
.draw .faint { fill: none; stroke: var(--graphite); stroke-opacity: .35; stroke-width: 1.4; }
.draw .top { fill: var(--graphite); }
.draw .plinth { fill: var(--graphite) !important; }
.draw .floor { stroke: var(--graphite); stroke-width: 2.5; }
.draw .dim line { stroke: var(--signal); stroke-width: 2; }
.draw .dim text, .draw text.cap { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .12em; fill: var(--graphite); }
.draw .accent { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.draw .pencil-tick { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================
   1. Top bar
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--graphite); color: var(--paper);
}
.topbar__inner { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); min-height: 52px; }
.topbar__brand { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.topbar__status, .topbar__time { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__time { color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.topbar__time time { color: var(--paper); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 640px) {
  .topbar__place { display: none; }
  .topbar__status { letter-spacing: .06em; font-size: 11.5px; }
  .topbar__time { letter-spacing: .04em; font-size: 11.5px; }
  .topbar__brand { font-size: 16px; }
  .topbar .btn--sm { display: none; }
}

/* ==========================================================
   2. Hero
   ========================================================== */
.hero { padding-block: clamp(40px, 7vw, 104px) var(--section); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(32px, 4.5vw, 64px);
}
.hero__title {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.3vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.hero__title .line { display: block; }

.hero__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 28px; }
.hero__lede { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 34ch; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.slab {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
  padding: 20px 24px 22px;
  background: var(--graphite); color: var(--paper);
  text-decoration: none;
  border: var(--line);
  box-shadow: 4px 4px 0 var(--signal);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.slab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--signal); }
.slab:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--signal); }
.slab__label { color: var(--on-dark-2); }
.slab__number { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05; }
.slab__number .ph { box-shadow: inset 0 -3px 0 var(--signal); }
.tape-case { position: absolute; width: 48px; height: 48px; left: calc(-1 * var(--gutter) / 2 - 26px); bottom: -14px; display: none; }
@media (min-width: 1100px) { .tape-case { display: block; } }

.hero__facts { display: grid; gap: 10px; font-weight: 600; }
.hero__facts li { display: flex; gap: 12px; align-items: baseline; }
.hero__facts li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg) translateY(-3px); }

.hero__art { grid-column: 6 / -1; padding: clamp(18px, 3vw, 40px); position: relative; align-self: start; }
.hero__art svg { width: 100%; height: auto; }
.hero__art figcaption { margin-top: 14px; font-weight: 600; font-size: .95rem; }

@media (max-width: 900px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__art { grid-column: 1 / -1; }
  .hero__lede { max-width: 40ch; }
}

/* ==========================================================
   3. Services board
   ========================================================== */
.services { padding-block: 0 var(--section); }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.services__intro { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.services__intro > p:not(.kicker):not(.toggle__note) { max-width: 38ch; }
.services__intro .kicker { margin-bottom: -4px; }

.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border: var(--line); background: var(--paper); width: max-content; box-shadow: var(--lift); }
.toggle__btn { position: relative; z-index: 1; border: 0; background: none; padding: 14px 22px; font-weight: 700; cursor: pointer; min-height: 52px; transition: color .25s; }
.toggle__btn.is-on { color: var(--paper); }
.toggle__thumb { position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--graphite); transition: transform .35s var(--ease); }
.toggle[data-mode="supply"] .toggle__thumb { transform: translateX(100%); }
.toggle__note { font-size: .95rem; color: var(--ink-2); min-height: 1.6em; }
.draw--joint { width: min(300px, 100%); margin-top: 12px; }

.board { border: var(--line); background: var(--paper); box-shadow: var(--lift-soft); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 24px;
  padding: 22px clamp(18px, 2.4vw, 32px);
  border-bottom: 2px solid var(--stone);
  transition: background-color .2s;
}
.row:hover { background: #EFEDE8; }
.row h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.row__name p { color: var(--ink-2); font-size: .95rem; margin-top: 4px; max-width: 46ch; }
.row__price { font-family: var(--display); font-size: clamp(1rem, 1.25vw, 1.2rem); letter-spacing: -.01em; text-align: right; overflow: hidden; }
.price { display: inline-block; }
.price.is-out { animation: priceOut .18s var(--ease) forwards; }
.price.is-in { animation: priceIn .32s var(--ease); }
@keyframes priceOut { to { transform: translateY(-110%); opacity: 0; } }
@keyframes priceIn { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.row__go { font-weight: 700; font-size: .9rem; text-decoration: none; padding: 10px 0 10px 8px; white-space: nowrap; }
.row__go span { display: inline-block; transition: transform .2s var(--ease); color: var(--signal); }
.row__go:hover span { transform: translateX(4px); }
.board__foot { padding: 18px clamp(18px, 2.4vw, 32px); font-weight: 600; background: var(--graphite); color: var(--paper); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .draw--joint { display: none; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row__name { grid-column: 1 / -1; }
  .row__price { text-align: left; }
  .toggle { width: 100%; }
}

/* ==========================================================
   4. How it works
   ========================================================== */
.steps { background: var(--graphite); color: var(--paper); padding-block: var(--section); }
.steps__head { margin-bottom: clamp(40px, 6vw, 80px); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: none; }
.step {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); color: var(--graphite);
  border: var(--line);
  box-shadow: 6px 6px 0 var(--oak);
  padding: clamp(22px, 2.6vw, 36px);
  overflow: hidden;
}
.step__num {
  font-family: var(--display);
  font-size: clamp(7rem, 13vw, 12.5rem);
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--signal);
  margin: 0 0 8px -.04em;
}
.step h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.step p { max-width: 34ch; }
.step__art { width: 150px; margin-top: auto; padding-top: 18px; align-self: flex-end; }
.step:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
.step:nth-child(3) { margin-top: clamp(0px, 8vw, 112px); }
@media (max-width: 900px) {
  .steps__list { grid-template-columns: 1fr; }
  .step:nth-child(n) { margin-top: 0; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
  .step__num { grid-row: 1 / span 3; font-size: 6.5rem; }
  .step__art { display: none; }
}

/* ==========================================================
   5. Where we work
   ========================================================== */
.area { padding-block: var(--section); }
.area__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.area__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px clamp(28px, 4vw, 56px); align-items: end; }
.area__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.area__head p:not(.kicker) { max-width: 40ch; }

.map { padding: clamp(10px, 2vw, 24px); position: relative; background: var(--paper); }
.map__svg { width: 100%; height: auto; }
.map__river { fill: none; stroke: var(--stone); stroke-width: 14; stroke-linecap: round; }
.map__river-label { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; fill: #8e8b85; }
.map__compass circle { fill: none; stroke: var(--graphite); stroke-width: 2; }
.map__compass path { fill: var(--graphite); }
.map__compass text { font-family: var(--display); font-size: 14px; fill: var(--graphite); }
.map__note { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(12px, 1.8vw, 24px); font-size: 13px; font-weight: 600; color: var(--ink-2); }

.route { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 9 9; }
.route-draw { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.town { cursor: pointer; outline: none; }
.town circle.hit { fill: transparent; }
.town circle.pin { fill: var(--paper); stroke: var(--graphite); stroke-width: 3; transition: fill .2s, r .25s var(--ease-back); }
.town text { font-family: var(--body); font-weight: 700; font-size: 15px; fill: var(--graphite); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.town:hover circle.pin, .town:focus-visible circle.pin { fill: var(--oak); }
.town:focus-visible text { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
.town.is-on circle.pin { fill: var(--signal); r: 11; }
.town--home circle.pin { fill: var(--graphite); }
.town--home text { font-family: var(--display); font-size: 17px; }
.town--home .home-sq { fill: var(--graphite); }

.area__side { display: flex; flex-direction: column; gap: 24px; }
.ticket { position: relative; background: var(--paper); border: var(--line); box-shadow: var(--lift); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: calc(var(--cut, 150px) - 13px); width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: var(--line); }
.ticket::before { left: -13px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -13px; clip-path: inset(0 50% 0 0); }
.ticket__top { padding: 22px 24px 20px; background: var(--oak) var(--grain); border-bottom: 2px dashed var(--graphite); min-height: 150px; }
.ticket__label { color: var(--ink-2); font-size: 11.5px; }
.ticket__route { font-weight: 600; margin-top: 10px; }
.ticket__route span[aria-hidden] { color: var(--signal); font-weight: 800; }
.ticket__town { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.035em; line-height: 1; margin-top: 4px; }
.ticket__town.flip { animation: priceIn .35s var(--ease); }
.ticket__body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 24px 8px; }
.ticket__value { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.01em; margin-top: 4px; }
.ticket__btn { margin: 16px 24px 24px; width: calc(100% - 48px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 14px; background: var(--paper); border: 2px solid var(--graphite); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .15s, transform .15s var(--ease); }
.chip:hover { background: #EFEDE8; transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--paper); }

@media (max-width: 900px) {
  .area__grid, .area__head { grid-template-columns: 1fr; }
  .map__note { position: static; padding: 4px 6px 2px; }
}

/* ==========================================================
   6. Reviews
   ========================================================== */
.reviews { padding-block: 0 var(--section); }
.reviews__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px clamp(28px, 4vw, 56px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.reviews__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.reviews__head p:not(.kicker) { max-width: 42ch; }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding-block: 12px; }
.review {
  --tilt: -2deg;
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--lift);
  padding: 26px 24px 24px;
  transform: rotate(var(--tilt));
  transition: transform .3s var(--ease);
}
.review:nth-child(2) { --tilt: 1.6deg; margin-top: 28px; }
.review:nth-child(3) { --tilt: -1deg; }
.review:hover { transform: rotate(0deg) translateY(-4px); }
.review::before, .review::after { content: ""; position: absolute; top: 118px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: var(--line); }
.review::before { left: -12px; clip-path: inset(0 0 0 50%); }
.review::after { right: -12px; clip-path: inset(0 50% 0 0); }
.review__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--signal); color: var(--graphite); padding: 4px 8px; transform: rotate(2deg); }
.review__money { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px dashed var(--graphite); padding-bottom: 18px; min-height: 76px; }
.review__money > div + div { padding-left: 16px; border-left: 2px solid var(--stone); }
.review__fig { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.review__job { font-weight: 700; }
.review blockquote { font-size: 1.05rem; }
.review__who { margin-top: auto; font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) {
  .reviews__head { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: 1fr; max-width: 520px; }
  .review:nth-child(2) { margin-top: 0; }
}

/* ==========================================================
   7. Promises
   ========================================================== */
.promises { background: var(--oak) var(--grain); padding-block: var(--section); border-block: var(--line); }
.promises .kicker, .promises .ticket__label { color: #5b5040; }
.promises__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 48px) clamp(24px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.promise { display: flex; flex-direction: column; gap: 16px; }
.promise h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.promise p { margin-top: 8px; max-width: 36ch; }

.stamp { --rot: -8deg; width: 104px; height: 104px; flex: none; color: var(--graphite); transform: rotate(var(--rot)); }
.promise:nth-child(2) .stamp { --rot: 6deg; color: #C2401A; }
.promise:nth-child(3) .stamp { --rot: -3deg; }
.promise:nth-child(4) .stamp { --rot: 9deg; color: #C2401A; }
.stamp circle { fill: none; stroke: currentColor; stroke-width: 4; }
.stamp circle + circle { stroke-width: 2.5; }
.stamp text { font-family: var(--display); font-size: 11.5px; letter-spacing: .14em; fill: currentColor; }
.stamp .stamp__big { font-size: 24px; letter-spacing: -.02em; }
.stamp path:not([id]) { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.stamp { opacity: .92; }

.js .stamp.will-press { opacity: 0; transform: scale(1.9) rotate(-22deg); }
.js .stamp.pressed { animation: press .55s var(--ease-back) forwards; }
@keyframes press {
  0% { opacity: 0; transform: scale(1.9) rotate(-22deg); }
  60% { opacity: .95; transform: scale(.94) rotate(var(--rot, -8deg)); }
  100% { opacity: .92; transform: scale(1) rotate(var(--rot, -8deg)); }
}

.sheet {
  position: relative;
  background: #FBFAF7;
  border: var(--line);
  box-shadow: 8px 8px 0 rgba(26, 29, 33, .22);
  padding: clamp(24px, 3vw, 40px);
  transform: rotate(1.2deg);
  margin-top: clamp(0px, 4vw, 48px);
}
.sheet h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 8px 0 22px; max-width: 14ch; }
.sheet__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 2px solid var(--stone); }
.sheet__rows dt { color: var(--ink-2); font-weight: 500; }
.sheet__rows dd { font-weight: 700; text-align: right; }
.sheet__sign { margin-top: 26px; }
.sheet__sign svg { width: 200px; height: auto; border-bottom: 2px solid var(--graphite); }
.sheet__sign p { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.sig { fill: none; stroke: var(--graphite); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.js .sig { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sheet.in .sig { transition: stroke-dashoffset 1.6s .5s ease-in-out; stroke-dashoffset: 0; }
.sheet__text { font-size: 1.1rem; max-width: 30ch; }
.stamp--sheet { position: absolute; right: clamp(14px, 2.4vw, 32px); top: -34px; width: 96px; height: 96px; color: #C2401A; --rot: 14deg; }

@media (max-width: 900px) {
  .promises__grid { grid-template-columns: 1fr; }
  .sheet { transform: none; max-width: 520px; }
}
@media (max-width: 560px) {
  .promise-list { grid-template-columns: 1fr; }
  .promise { flex-direction: row; align-items: flex-start; }
  .stamp { width: 76px; height: 76px; flex: none; }
  .stamp--sheet { width: 72px; height: 72px; }
}

/* ==========================================================
   8. Quote form
   ========================================================== */
.quote { padding-block: var(--section); }
.quote__head { margin-bottom: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px clamp(28px, 4vw, 56px); align-items: end; }
.quote__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.quote__head .h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 12ch; }
.quote__head p:not(.kicker) { max-width: 40ch; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; padding: clamp(20px, 3vw, 40px); box-shadow: 8px 8px 0 var(--oak); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field .label, .times legend { font-weight: 700; font-size: 1rem; }
.field input:not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  font-size: 1.0625rem;
  background: #fff;
  border: 2px solid var(--graphite);
  border-radius: 0;
  appearance: none;
  transition: box-shadow .15s, border-color .15s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231A1D21' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--signal); }
.field ::placeholder { color: #8a8780; }
.field__err { display: none; color: #B8330F; font-weight: 600; font-size: .9rem; }
.field.has-err .field__err { display: block; }
.field.has-err input, .field.has-err select { border-color: #B8330F; box-shadow: 4px 4px 0 rgba(184, 51, 15, .25); }

.drop {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  padding: 22px; min-height: 104px;
  background: var(--oak) var(--grain);
  border: 2px dashed var(--graphite);
  cursor: pointer;
  transition: background-color .2s, transform .15s var(--ease);
}
.drop:hover { transform: translate(-1px, -1px); }
.drop.is-over { background-color: #e6d6bb; }
.drop svg { grid-row: 1 / span 2; width: 48px; height: 48px; fill: none; stroke: var(--graphite); stroke-width: 2.5; stroke-linejoin: round; }
.drop__main { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }
.drop__sub { font-size: .95rem; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.field:has(.drop__input:focus-visible) .drop { outline: 3px solid var(--signal); outline-offset: 3px; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.previews:empty { display: none; }
.previews li { position: relative; aspect-ratio: 1; border: 2px solid var(--graphite); background: var(--stone); animation: priceIn .3s var(--ease); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--graphite); background: var(--paper); font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.previews button:hover { background: var(--signal); }

.times { border: 0; padding: 0; margin: 0; }
.times legend { padding: 0; margin-bottom: 10px; }
.times__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.times__opts label { position: relative; }
.times__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.times__opts span { display: grid; place-items: center; min-height: 54px; padding: 8px; border: 2px solid var(--graphite); background: #fff; font-weight: 600; text-align: center; transition: background-color .15s, color .15s, transform .15s var(--ease); }
.times__opts input:checked + span { background: var(--graphite); color: var(--paper); }
.times__opts input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 3px; }
.times__opts label:hover span { transform: translateY(-2px); }

.form__submit { display: flex; flex-direction: column; gap: 12px; }
.form__small { font-size: .9rem; color: var(--ink-2); }
.form__status { font-weight: 700; }
.form__status:empty { display: none; }
.hp, .hp[hidden] { display: none !important; }
.btn[disabled] { opacity: .7; cursor: progress; }

.form-done { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; box-shadow: 8px 8px 0 var(--oak); }
.form-done h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.form-done p { max-width: 42ch; font-size: 1.1rem; }

.callpanel { position: sticky; top: 92px; background: var(--graphite); color: var(--paper); padding: clamp(24px, 3vw, 36px); border: var(--line); box-shadow: 8px 8px 0 var(--signal); display: flex; flex-direction: column; gap: 16px; }
.callpanel h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.callpanel p { color: var(--on-dark-2); }
.callpanel__num { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; text-decoration: none; line-height: 1.1; overflow-wrap: anywhere; }
.callpanel__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.callpanel__hours { margin-top: 8px; border-top: 2px solid #33373d; }
.callpanel__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 2px solid #33373d; font-size: .95rem; }
.callpanel__hours dt { color: var(--on-dark-2); }
.callpanel__hours dd { text-align: right; font-weight: 600; }

@media (max-width: 900px) {
  .quote__head { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .callpanel { position: static; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .times__opts { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   9. Footer
   ========================================================== */
.footer { background: var(--graphite); color: var(--paper); padding-block: clamp(72px, 10vw, 140px) 40px; overflow: hidden; }
.footer__mark { position: relative; container-type: inline-size; }
.footer__name {
  font-family: var(--display);
  font-size: 15vw;
  font-size: 18.4cqw;
  line-height: .8;
  letter-spacing: -.055em;
  margin-left: -.04em;
  white-space: nowrap;
}
.footer__line { display: block; width: 100%; height: clamp(14px, 2vw, 28px); margin-top: clamp(10px, 1.4vw, 20px); overflow: visible; }
.footer__stroke { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.js .footer__stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pencil { position: absolute; left: 0; bottom: clamp(-6px, -.4vw, 0px); width: clamp(70px, 9vw, 120px); height: auto; transform-origin: 0 50%; opacity: 0; }
.js .footer.drawn .footer__stroke { transition: stroke-dashoffset 1.5s cubic-bezier(.5, 0, .3, 1); stroke-dashoffset: 0; }
.js .footer.drawn .pencil { animation: pencil 1.5s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes pencil {
  0% { opacity: 0; transform: translateX(0) rotate(-24deg); }
  8% { opacity: 1; }
  92% { opacity: 1; transform: translateX(calc(var(--run, 1000px) - 4px)) rotate(-24deg); }
  100% { opacity: 1; transform: translateX(calc(var(--run, 1000px) + 18px)) rotate(-38deg) translateY(-14px); }
}
.footer__tag { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2.2rem); letter-spacing: -.03em; margin-top: clamp(22px, 3vw, 40px); }
.footer__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px 40px; margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 2px solid #33373d; color: var(--on-dark-2); font-size: .95rem; }
.footer__row a { color: var(--paper); text-decoration-color: var(--signal); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.footer__row a:hover { color: var(--signal); }
@media (max-width: 760px) {
  .footer__row { grid-template-columns: 1fr; }
  .footer { padding-bottom: 104px; }
}

/* ==========================================================
   The tape measure
   ========================================================== */
.tape { position: absolute; top: 0; left: 0; width: 26px; z-index: 30; pointer-events: none; display: none; }
.tape.is-ready { display: block; }
.tape__track { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--stone); transform: translateX(-1px); }
.tape__strip {
  position: absolute; inset: 0;
  background-color: var(--signal);
  background-image:
    repeating-linear-gradient(to bottom, var(--graphite) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(to bottom, var(--graphite) 0 1.5px, transparent 1.5px 12px);
  background-size: 55% 100%, 30% 100%;
  background-repeat: repeat-y;
  border: 2px solid var(--graphite);
  border-top: 0;
  clip-path: inset(0 0 calc(100% - var(--drawn, 0px)) 0);
}
.tape__hook { position: absolute; left: -4px; right: -4px; top: 0; height: 8px; background: var(--graphite); transform: translateY(calc(var(--drawn, 0px) - 6px)); }
.tape__marks { position: absolute; inset: 0; }
.tape__mark { position: absolute; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; font-family: var(--display); font-size: 13px; color: #8e8b85; background: var(--paper); border: 2px solid var(--stone); border-radius: 50%; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease-back); }
.tape__mark.is-lit { background: var(--graphite); color: var(--signal); border-color: var(--graphite); transform: scale(1.12); }

@media (max-width: 1099.98px) {
  .tape { width: 6px; }
  .tape__strip { background-image: none; border: 0; opacity: .85; }
  .tape__track { border-left-width: 1px; border-left-style: solid; opacity: .6; }
  .tape__hook { left: -2px; right: -2px; height: 4px; }
  .tape__mark { width: 10px; height: 10px; margin: -5px 0 0 -5px; font-size: 0; border-width: 2px; }
  .tape__mark.is-lit { background: var(--signal); border-color: var(--graphite); transform: none; }
}

/* ==========================================================
   Mobile sticky quote button
   ========================================================== */
.mcta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 50; min-height: 58px; font-size: 1.1rem; display: none; transition: transform .3s var(--ease), opacity .3s; }
@media (max-width: 760px) {
  .mcta { display: flex; }
  .mcta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* ==========================================================
   Entrances (only when JavaScript is running)
   ========================================================== */
.js [data-reveal] > *, .js [data-reveal].step, .js .review[data-reveal], .js .sheet[data-reveal], .js .board[data-reveal], .js .map[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal]:not(.in) > * { opacity: 0; transform: translateY(24px); }
.js .step[data-reveal]:not(.in), .js .board[data-reveal]:not(.in), .js .map[data-reveal]:not(.in) { opacity: 0; transform: translateY(28px); }
.js .step[data-reveal]:not(.in) > *, .js .board[data-reveal]:not(.in) > *, .js .map[data-reveal]:not(.in) > *, .js .review[data-reveal]:not(.in) > *, .js .sheet[data-reveal]:not(.in) > * { opacity: 1; transform: none; }
.js .review[data-reveal]:not(.in) { opacity: 0; transform: translateY(40px) rotate(calc(var(--tilt) * -2)); }
.js .sheet[data-reveal]:not(.in) { opacity: 0; transform: translateY(40px) rotate(4deg); }
.js [data-reveal] > *:nth-child(2) { transition-delay: .07s; }
.js [data-reveal] > *:nth-child(3) { transition-delay: .14s; }
.js [data-reveal] > *:nth-child(4) { transition-delay: .21s; }
.js .step[data-reveal]:nth-child(2) { transition-delay: .1s; }
.js .step[data-reveal]:nth-child(3) { transition-delay: .2s; }
.js .review[data-reveal]:nth-child(2) { transition-delay: .1s; }
.js .review[data-reveal]:nth-child(3) { transition-delay: .2s; }

/* hero entrance */
.js .hero__title .line { animation: rise .8s var(--ease) both; }
.js .hero__title .line + .line { animation-delay: .08s; }
.js .hero__copy > * { animation: rise .8s var(--ease) both; animation-delay: .2s; }
.js .hero__copy > * + * { animation-delay: .28s; }
.js .hero__copy > * + * + * { animation-delay: .36s; }
.js .hero__art { animation: rise 1s var(--ease) both; animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js .pencil-tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .6s 1.1s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* ==========================================================
   Calm mode: people who turn animations off
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .dot::after { display: none; }
  .js [data-reveal] > *, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .review[data-reveal] { transform: rotate(var(--tilt)) !important; }
  .js .sheet[data-reveal] { transform: rotate(1.2deg) !important; }
  .js .stamp.will-press { opacity: .92; transform: rotate(var(--rot, -8deg)); }
  .js .sig, .js .footer__stroke, .js .pencil-tick { stroke-dashoffset: 0 !important; }
  .pencil { display: none; }
  .tape__hook { display: none; }
}

/* bigger map labels on small screens */
@media (max-width: 560px) {
  .town text { font-size: 22px; stroke-width: 8px; }
  .town--home text { font-size: 24px; }
  .town circle.pin { r: 11; }
  .town.is-on circle.pin { r: 14; }
  .map__river-label, .map__compass { display: none; }
}
