/* Harbor & Associates: a fictional StoneBridge Media Group concept.
   Identity: the tape measure of months (the one loud thing), the accountant's double rule (quiet, repeated),
   ledger-green paper, bottle-green bindings, and the carbon-copy slip. One family: Archivo, using its width axis. */

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

:root {
  --bottle: #13291f;      /* ledger binding green */
  --bottle-2: #1c3a2d;
  --bottle-3: #2a4d3d;
  --paper: #edf1ea;       /* ledger paper */
  --paper-2: #e2e9de;
  --paper-3: #d5dfd1;
  --rule: #b7cab6;        /* ledger column rules */
  --graphite: #1a201d;
  --muted: #4a5850;
  --on-bottle: #eef2ea;
  --on-bottle-2: #b4c6b9;
  --tape: #f2c230;        /* tape measure blade */
  --tape-2: #e2ac17;
  --tape-ink: #16130b;
  --red: #b3302a;         /* double rule, stud marks */
  --canary: #f8eba2;      /* carbon-copy slip */
  --steel: #b9c0bd;
  --sans: "Harbor Sans", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --wrap: 82rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--graphite); font: 400 1.0625rem/1.6 var(--sans); font-stretch: 100%; font-kerning: normal; font-variant-numeric: lining-nums; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 2px; }
.light :focus-visible, .pad:not(.hero) :focus-visible { outline-color: var(--graphite); }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--tape); color: var(--tape-ink); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: .5rem; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.pad { padding-block: clamp(3.5rem, 8vw, 7rem); }
.pad-s { padding-block: clamp(2rem, 5vw, 4rem); }
.light { background: var(--paper-2); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 760; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.9rem); line-height: .98; font-stretch: 118%; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.05; font-stretch: 112%; }
h3 { font-size: 1.15rem; line-height: 1.25; font-stretch: 105%; font-weight: 700; }
p, li, dd { text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; max-width: 36em; }
.lede-s { font-size: 1.15rem; line-height: 1.55; max-width: 38em; }
.who { font-size: .95rem; font-weight: 600; font-stretch: 108%; margin-bottom: 1rem; }
.note, .hint { font-size: .9rem; color: var(--muted); }
.illus { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); font-style: italic; }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; margin-left: .3em; }

/* the accountant's double rule: drawn under a final total, used here under section titles */
.ruled { padding-bottom: .55em; margin-bottom: 1.25rem; background: linear-gradient(var(--red), var(--red)) left calc(100% - 5px) / 3.2em 2px no-repeat, linear-gradient(var(--red), var(--red)) left 100% / 3.2em 2px no-repeat; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .8rem 1.5rem; border: 0; border-radius: 3px; font: 700 1.05rem/1.15 var(--sans); font-stretch: 110%; text-decoration: none; cursor: pointer; text-align: center; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s; }
.btn.cta { background: var(--tape); color: var(--tape-ink); box-shadow: inset 0 -3px 0 var(--tape-2), 0 1px 0 rgb(0 0 0 / .25); }
.btn.cta:hover { background: #f7cd45; transform: translateY(-1px); box-shadow: inset 0 -3px 0 var(--tape-2), 0 6px 14px -6px rgb(0 0 0 / .45); }
.btn.cta:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--tape-2); }
.btn.big { min-height: 3.6rem; padding-inline: 1.9rem; font-size: 1.12rem; }
.textbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.textlink { font-weight: 650; }

/* ---------- concept strip + header ---------- */
.concept { background: var(--graphite); color: #c9d3cc; font-size: .78rem; line-height: 1.35; padding: .45rem var(--gutter); text-align: center; }
.concept-short { display: none; }
@media (max-width: 40rem) { .concept-long { display: none; } .concept-short { display: inline; } }
.top { position: sticky; top: 0; z-index: 20; background: var(--bottle); color: var(--on-bottle); transition: box-shadow .2s; }
.top.is-scrolled { box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 10px 24px -14px rgb(0 0 0 / .7); }
.top-in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.mark { text-decoration: none; display: inline-flex; align-items: baseline; gap: .1em; white-space: nowrap; font-size: 1.2rem; line-height: 1; }
.mark-name { font-weight: 820; font-stretch: 125%; letter-spacing: -.01em; padding-bottom: 6px; background: linear-gradient(var(--tape), var(--tape)) 0 100% / 100% 2px no-repeat, linear-gradient(var(--tape), var(--tape)) 0 calc(100% - 4px) / 100% 2px no-repeat; }
.mark-rest { font-weight: 500; font-stretch: 100%; color: var(--on-bottle-2); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .6rem .8rem; font-size: .95rem; font-weight: 550; text-decoration: none; border-radius: 3px; color: var(--on-bottle); }
.nav a:hover { background: rgb(255 255 255 / .07); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--tape); border-radius: 0; }
.nav .nav-cta { margin-left: .75rem; background: var(--tape); color: var(--tape-ink); font-weight: 700; font-stretch: 108%; box-shadow: inset 0 -2px 0 var(--tape-2); border-radius: 3px; }
.nav .nav-cta:hover { background: #f7cd45; }
.nav .nav-cta[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--tape-2); }
.menu { display: none; }
@media (max-width: 59.99rem) {
  .top-in { min-height: 3.6rem; gap: .75rem; }
  .menu { display: inline-flex; margin-left: auto; align-items: center; min-height: 2.75rem; padding: 0 1rem; background: transparent; color: var(--on-bottle); border: 1px solid rgb(238 242 234 / .35); border-radius: 3px; font: 650 .95rem/1 var(--sans); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; background: var(--bottle); border-top: 1px solid rgb(255 255 255 / .08); box-shadow: 0 20px 30px -16px rgb(0 0 0 / .6); }
  .top.is-open .nav { display: flex; }
  .nav a { padding: .95rem 0; font-size: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / .08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--tape); }
  .nav .nav-cta { margin: 1rem 0 0; text-align: center; padding: 1rem; border: 0; }
}

/* =========================================================
   HOME HERO
   ========================================================= */
.hero { background: var(--bottle); color: var(--on-bottle); position: relative; overflow: clip; }
.hero::before { /* faint ledger columns in the binding cloth */ content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), rgb(255 255 255 / .035) calc(8.333% - 1px) 8.333%); }
.hero-grid { position: relative; display: grid; gap: 1.5rem; padding-block: 1.6rem 2.5rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "measure" "photo"; }
.hero-text { grid-area: text; }
.hero-photo { grid-area: photo; }
.measure { grid-area: measure; }
.hero .who { color: var(--tape); margin-bottom: .8rem; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 1rem; color: var(--on-bottle-2); }
.hero-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.hero-note { font-size: .9rem; color: var(--on-bottle-2); max-width: 22em; }
.hero-photo { margin-inline: calc(-1 * var(--gutter)); position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

@media (max-width: 51.99rem) {
  .hero h1 { font-size: clamp(2.15rem, 1.1rem + 5.2vw, 3.4rem); }
  .hero .lede { font-size: 1.02rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-note { font-size: .85rem; }
}
@media (max-width: 51.99rem) and (max-height: 44rem) {
  .hero-grid { padding-top: 1.1rem; }
  .hero .who { margin-bottom: .5rem; }
  .hero h1 { font-size: 2.05rem; }
  .hero .lede { margin-top: .7rem; line-height: 1.45; }
  .hero-cta { margin-top: 1.1rem; }
}
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(1rem, 2vw, 2rem); row-gap: 0; padding-block: clamp(2rem, 4vh, 3.5rem) clamp(2rem, 4vh, 3rem); grid-template-areas: none; }
  .hero-text { grid-column: 1 / span 7; grid-row: 1; align-self: center; padding-bottom: 2.5rem; }
  .hero-photo { grid-column: 8 / -1; grid-row: 1 / span 2; margin: 0 var(--bleed) 0 0; align-self: stretch; }
  .hero-grid { --bleed: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); }
  .hero-photo img { aspect-ratio: auto; height: 100%; min-height: 30rem; max-height: calc(100svh - 9.5rem); object-position: 45% 40%; }
  .measure { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 2; margin-right: var(--bleed); }
  .hero h1 { max-width: 11.5ch; }
}

/* =========================================================
   THE TAPE: last twelve months as a measuring tape
   ========================================================= */
.measure-q { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; margin-bottom: 2.1rem; } /* room for the pencil-mark label above the tape */
.nw { white-space: nowrap; }
.measure-q h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-stretch: 115%; }
.measure-q p { color: var(--on-bottle-2); font-size: .98rem; }
.tape { position: relative; display: grid; grid-template-columns: minmax(2.6rem, .55fr) repeat(12, minmax(0, 1fr)); height: 5.4rem; border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #f7d45a 0%, var(--tape) 22%, var(--tape) 78%, var(--tape-2) 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 -1px 0 rgb(0 0 0 / .15) inset, 0 18px 30px -16px rgb(0 0 0 / .8), 0 3px 6px -2px rgb(0 0 0 / .5); }
.mo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: .9rem; cursor: pointer; color: var(--tape-ink); -webkit-tap-highlight-color: transparent;
  /* the month line, plus a week tick at each quarter along the top and bottom edges */
  background:
    linear-gradient(var(--tape-ink), var(--tape-ink)) 0 0 / 2px 46% no-repeat,
    linear-gradient(var(--tape-ink), var(--tape-ink)) 0 100% / 2px 18% no-repeat,
    linear-gradient(90deg, transparent calc(25% - .5px), var(--tape-ink) calc(25% - .5px) calc(25% + .5px), transparent 0, transparent calc(50% - .5px), var(--tape-ink) calc(50% - .5px) calc(50% + .5px), transparent 0, transparent calc(75% - .5px), var(--tape-ink) calc(75% - .5px) calc(75% + .5px), transparent 0) 0 0 / 100% 20% no-repeat,
    linear-gradient(90deg, transparent calc(25% - .5px), var(--tape-ink) calc(25% - .5px) calc(25% + .5px), transparent 0, transparent calc(50% - .5px), var(--tape-ink) calc(50% - .5px) calc(50% + .5px), transparent 0, transparent calc(75% - .5px), var(--tape-ink) calc(75% - .5px) calc(75% + .5px), transparent 0) 0 100% / 100% 12% no-repeat;
  transition: background-color .2s; }
.mo input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mo-name { position: relative; font-weight: 800; font-stretch: 75%; font-size: clamp(.82rem, .5rem + 1.3vw, 1.45rem); line-height: 1; letter-spacing: -.01em; }
.mo-yr { position: absolute; top: 24%; left: 5px; font-size: clamp(.58rem, .5rem + .25vw, .72rem); font-weight: 700; font-stretch: 85%; line-height: 1; }
.mo.is-year .mo-name { color: #fff8e0; background: var(--red); padding: .12em .2em .1em; border-radius: 1px; } /* like the red stud marks on a real tape */
.mo:hover { background-color: rgb(255 255 255 / .2); }
.mo:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: -3px; z-index: 3; }
.mo.hook { background: linear-gradient(180deg, #e3e7e5, var(--steel) 40%, #8e9692); border-right: 3px solid #6f7773; border-radius: 2px 0 0 2px; color: #1d2421; padding-bottom: 0; justify-content: center; }
.mo.hook .mo-name { font-size: clamp(.68rem, .55rem + .5vw, .95rem); font-stretch: 80%; font-weight: 750; writing-mode: vertical-rl; rotate: 180deg; }
.mo.hook:hover { background: linear-gradient(180deg, #f1f4f3, #c9d0cd 40%, #9aa29e); }
.today { position: absolute; top: -.6rem; bottom: -.6rem; left: calc(var(--d, .8) * 100%); width: 2px; background: var(--red); pointer-events: none; }
.today span { position: absolute; top: 100%; left: 50%; translate: -50% .25rem; font-size: .68rem; font-weight: 700; color: var(--on-bottle-2); white-space: nowrap; }
.measure-light .today span { color: var(--muted); }

/* chosen: a carpenter's pencil mark at the end of the last good month, and the gap hatched after it */
.mo.is-mark { background-color: rgb(255 255 255 / .28); }
.mo.is-mark::after { content: ""; position: absolute; right: -2px; top: -.9rem; bottom: -.9rem; width: 4px; background: var(--graphite); border-radius: 2px; z-index: 2; box-shadow: 0 0 0 2px var(--tape); }
.mo.is-mark::before { content: "books right to here"; position: absolute; bottom: calc(100% + 1.05rem); right: -2px; translate: 50% 0; white-space: nowrap; font-size: .72rem; font-weight: 700; font-stretch: 95%; color: var(--tape); background: var(--graphite); padding: .2rem .45rem; border-radius: 2px; z-index: 3; }
.measure-light .mo.is-mark::before { color: var(--paper); }
.mo.is-gap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-45deg, rgb(26 32 29 / .5) 0 2px, transparent 2px 7px); animation: hatch .55s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
.mo.is-gap.is-mark::after { animation: none; }
.tape.is-earlier .mo.hook { background: linear-gradient(180deg, #fff, #d8dedb 40%, #a3aba7); box-shadow: inset 0 0 0 3px var(--graphite); }
@keyframes hatch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* the pencil-mark label must not run off the right edge of small screens */
.mo[data-i="10"].is-mark::before, .mo[data-i="11"].is-mark::before { translate: 0 0; right: -2px; }
.mo[data-i="0"].is-mark::before, .mo[data-i="1"].is-mark::before { translate: 100% 0; right: 2px; }

.readout { margin-top: 1.9rem; min-height: 3.2em; font-size: 1.02rem; color: var(--on-bottle-2); max-width: 46em; }
.readout strong { color: var(--on-bottle); font-weight: 700; }
.readout-go { color: var(--tape); font-weight: 650; white-space: nowrap; }
.measure-light .measure-q p, .measure-light .readout { color: var(--muted); }
.measure-light .readout strong { color: var(--graphite); }
.measure-light .readout-go { color: var(--graphite); text-decoration-color: var(--tape-2); text-decoration-thickness: 3px; }
@media (max-width: 51.99rem) {
  .hero .measure { margin-top: .5rem; }
  .tape { height: 5rem; grid-template-columns: 2.1rem repeat(12, minmax(0, 1fr)); }
  .mo-name { font-size: clamp(.7rem, .45rem + 1.1vw, .9rem); }
  .mo-yr { left: 3px; font-size: .56rem; }
  .mo { padding-bottom: .75rem; }
}
@media (min-width: 52rem) {
  .hero .measure { padding-top: .25rem; }
  .hero .tape { rotate: -.6deg; transform-origin: 0 50%; }
}

/* the one orchestrated moment on load: the tape pays out from its hook */
@media (prefers-reduced-motion: no-preference) {
  .hero .tape { animation: payout 1.1s .25s var(--ease) both; }
  @keyframes payout { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-3rem -3rem -3rem 0); } }
}
@media (prefers-reduced-motion: reduce) { .mo.is-gap::after { animation: none; } }

/* =========================================================
   HARBOR'S REPLY (appears once a month is chosen)
   ========================================================= */
.reply { background: var(--paper); padding-block: clamp(2.75rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 4rem; }
.reply.is-in .reply-grid > * { animation: rise .6s var(--ease) both; }
.reply.is-in .reply-grid > :nth-child(2) { animation-delay: .08s; }
.reply.is-in .reply-grid > :nth-child(3) { animation-delay: .16s; }
.reply.is-in .reply-grid > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .reply.is-in .reply-grid > * { animation: none; } }
.reply-grid { display: grid; gap: 2.25rem; }
.reply-head h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); max-width: 22ch; outline: none; }
.reply-sub { font-size: 1.12rem; max-width: 38em; color: var(--muted); }
.reply h3 { margin-bottom: 1rem; }
.plan { list-style: none; counter-reset: step; display: grid; gap: .1rem; }
.plan li { counter-increment: step; position: relative; padding: .8rem 0 .8rem 2.6rem; border-top: 1px solid var(--rule); }
.plan li::before { content: counter(step); position: absolute; left: 0; top: .78rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--graphite); font-size: .85rem; font-weight: 750; font-stretch: 90%; }
.plan strong { font-weight: 700; }
.estimate { margin-top: 1.1rem; padding: .9rem 1rem; background: var(--paper-2); border-left: 4px solid var(--tape); font-size: .98rem; }
.bring { list-style: none; display: grid; gap: .1rem; }
.bring li { position: relative; padding: .65rem 0 .65rem 2rem; border-top: 1px solid var(--rule); }
.bring li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: 1rem; height: 1rem; border: 1.5px solid var(--graphite); border-radius: 2px; }
.bring li.told::before { background: var(--graphite); box-shadow: inset 0 0 0 3px var(--paper); }
.reply-bring .note { margin: -.5rem 0 .6rem; }
.also { margin-top: 1.6rem; }
.also legend { font-weight: 700; margin-bottom: .7rem; font-size: 1rem; }
.also-list, .checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .9rem; border: 1.5px solid var(--rule); border-radius: 2rem; background: #f7f9f5; font-size: .93rem; line-height: 1.25; transition: background-color .15s, border-color .15s; }
.chip span::before { content: ""; flex: none; width: .9rem; height: .9rem; border: 1.5px solid var(--muted); border-radius: 2px; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.chip input:checked + span::before { border-color: var(--tape); background: linear-gradient(var(--tape), var(--tape)) center / 50% 50% no-repeat; }
.chip input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 2px; }
.reply-go { display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 40rem) { .reply-go .btn { width: 100%; } }
@media (min-width: 60rem) {
  .reply-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2.5rem; }
  .reply-head { grid-column: 1 / -1; }
  .reply-plan { grid-column: 1 / span 6; }
  .reply-bring { grid-column: 8 / -1; }
  .reply-go { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--graphite); }
}

/* =========================================================
   THE EXAMPLE: what was sent, what came back
   ========================================================= */
.example { background: var(--bottle); color: var(--on-bottle); }
.ex-head { max-width: 44rem; margin-bottom: 2.5rem; }
.ex-head p { margin-top: 1rem; color: var(--on-bottle-2); font-size: 1.08rem; }
.ex-pair { display: grid; gap: 1.25rem; align-items: start; }
.ex-in h3, .ex-out h3 { font-size: 1rem; font-stretch: 112%; margin-bottom: .9rem; color: var(--tape); }
.pile { list-style: none; display: grid; gap: .55rem; }
.pile li { display: grid; gap: .15rem; padding: .85rem 1rem; background: var(--bottle-2); border: 1px solid rgb(255 255 255 / .07); border-radius: 2px; rotate: var(--r, 0deg); }
.pile li:nth-child(1) { --r: -.6deg; } .pile li:nth-child(2) { --r: .5deg; } .pile li:nth-child(3) { --r: -.3deg; } .pile li:nth-child(4) { --r: .7deg; } .pile li:nth-child(5) { --r: -.4deg; background: #f6efc9; color: #2a2412; border-color: transparent; }
.pile strong { font-weight: 700; }
.pile span { font-size: .93rem; color: var(--on-bottle-2); }
.pile li:nth-child(5) span { color: #4b432a; font-style: italic; }
.ex-turn { display: flex; align-items: center; gap: .75rem; font-size: .85rem; font-weight: 650; color: var(--on-bottle-2); }
.ex-turn::before, .ex-turn::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / .2); }
/* the ledger page: green columnar paper with a red margin rule */
.ledger { position: relative; color: var(--graphite); padding: 1.2rem 1rem 1.25rem 1.4rem; border-radius: 2px;
  background: linear-gradient(90deg, transparent .55rem, var(--red) .55rem calc(.55rem + 1px), transparent 0, transparent calc(.55rem + 3px), var(--red) calc(.55rem + 3px) calc(.55rem + 4px), transparent 0),
              repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), rgb(110 150 115 / .28) calc(2rem - 1px) 2rem),
              #f2f6ec;
  box-shadow: 0 30px 50px -30px rgb(0 0 0 / .8), 0 2px 4px rgb(0 0 0 / .25); }
.jobs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; font-size: .9rem; }
.jobs caption { text-align: left; font-weight: 750; font-stretch: 108%; font-size: 1rem; padding-bottom: .5rem; }
.jobs th, .jobs td { padding: .42rem .4rem; text-align: right; border-bottom: 1px solid rgb(90 130 95 / .3); white-space: nowrap; }
.jobs thead th { font-size: .74rem; font-weight: 650; color: var(--muted); border-bottom: 1.5px solid var(--graphite); }
.jobs th[scope="row"], .jobs thead th:first-child { text-align: left; font-weight: 500; white-space: normal; }
.jobs tfoot th, .jobs tfoot td { font-weight: 750; border-bottom: 0; padding-top: .6rem; }
.jobs .total { background: linear-gradient(var(--graphite), var(--graphite)) 0 100% / 100% 1.5px no-repeat, linear-gradient(var(--graphite), var(--graphite)) 0 calc(100% - 4px) / 100% 1.5px no-repeat; }
.back { list-style: none; margin-top: 1rem; display: grid; gap: .1rem; font-size: .93rem; }
.back li { padding: .35rem 0 .35rem 1.5rem; position: relative; }
.back li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .8rem; height: .45rem; border-left: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); rotate: -45deg; }
.example .illus { color: var(--on-bottle-2); }
@media (max-width: 40rem) { .jobs .c-x { display: none; } .ledger { padding-left: 1.3rem; padding-right: .75rem; } }
@media (min-width: 60rem) {
  .ex-pair { grid-template-columns: 5fr auto 7fr; gap: 2rem; }
  .ex-turn { writing-mode: vertical-rl; rotate: 180deg; align-self: stretch; }
  .ex-turn::before, .ex-turn::after { width: 1px; height: auto; }
}

/* ---------- services on home ---------- */
.work-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--graphite); }
.work-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .45rem; }
.work-list h3 { font-size: 1.3rem; font-stretch: 110%; }
.work-list h3 a { text-decoration: none; background: linear-gradient(var(--tape), var(--tape)) 0 100% / 0 3px no-repeat; transition: background-size .25s var(--ease); }
.work-list h3 a:hover { background-size: 100% 3px; }
.work-list p { max-width: 34em; color: var(--muted); }
.work-list .price { color: var(--graphite); font-weight: 650; font-size: .95rem; }
@media (min-width: 60rem) {
  .work-list li { grid-template-columns: 4fr 5fr 3fr; column-gap: 2rem; align-items: baseline; }
}

/* ---------- trades band ---------- */
.trades { position: relative; color: var(--on-bottle); background: var(--bottle); isolation: isolate; }
.trades img { width: 100%; aspect-ratio: 4 / 5; max-height: 34rem; object-fit: cover; object-position: 50% 45%; }
.trades-in { padding-block: 2rem 3.5rem; }
.trades-list { font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2; font-weight: 640; font-stretch: 112%; margin: .9rem 0 1.75rem; max-width: 30ch; text-wrap: balance; }
.trades h2 { font-size: 1rem; font-stretch: 108%; color: var(--tape); }
@media (min-width: 52rem) {
  .trades img { aspect-ratio: auto; height: min(44rem, 80svh); max-height: none; object-position: 50% 40%; }
  .trades::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .trades-in { position: absolute; inset: auto 0 0 0; padding-block: 0 clamp(2.5rem, 6vh, 4rem); }
  .trades-in > * { max-width: 40rem; }
  .trades picture { display: block; position: relative; }
  .trades picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(19 41 31 / .92) 0%, rgb(19 41 31 / .7) 38%, transparent 70%); }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-grid { display: grid; gap: 2rem; align-items: center; }
.page-text h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); max-width: 16ch; }
.page-text .lede { margin-top: 1.1rem; color: var(--muted); }
.page-text .who { color: var(--muted); }
.page-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 30px 50px -34px rgb(0 0 0 / .6); }
.page-photo.tall img { aspect-ratio: 4 / 5; max-height: 36rem; }
@media (min-width: 52rem) { .page-grid { grid-template-columns: 7fr 5fr; gap: 3rem; } }
@media (max-width: 51.99rem) { .page-head .btn { width: 100%; } .page-photo { order: -1; margin-inline: calc(-1 * var(--gutter)); margin-top: calc(-1 * clamp(3.5rem, 8vw, 7rem)); } .page-photo img { border-radius: 0; aspect-ratio: 16 / 10; } .page-photo.tall img { aspect-ratio: 16 / 10; } }

.price-it { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.measure-light .measure-q h2 { color: var(--graphite); }

.two { display: grid; gap: 1rem 3rem; }
@media (min-width: 60rem) { .two { grid-template-columns: 4fr 7fr; align-items: start; } }

.steps { list-style: none; counter-reset: s; display: grid; }
.steps li { counter-increment: s; position: relative; padding: 1.1rem 0 1.1rem 3.25rem; border-top: 1px solid var(--rule); color: var(--muted); }
.steps li strong { display: block; color: var(--graphite); font-size: 1.1rem; font-stretch: 105%; margin-bottom: .15rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1.05rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--tape); color: var(--tape-ink); font-weight: 800; font-stretch: 85%; border-radius: 2px; box-shadow: inset 0 -2px 0 var(--tape-2); }

.send { display: grid; margin-top: 1.5rem; border-top: 2px solid var(--graphite); }
.send > div { display: grid; gap: .2rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.send dt { font-weight: 700; font-stretch: 105%; }
.send dd { color: var(--muted); }
@media (min-width: 40rem) { .send > div { grid-template-columns: 11rem 1fr; } }

.hear { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.hear article { background: var(--paper); padding: 1.5rem 1.4rem 1.6rem; }
.hear h3 { font-size: 1.2rem; font-stretch: 100%; font-style: italic; font-weight: 600; margin-bottom: .6rem; }
.hear p { color: var(--muted); }
@media (min-width: 40rem) { .hear { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .hear { grid-template-columns: repeat(3, 1fr); } }

.costs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; border-top: 2px solid var(--graphite); }
.costs th, .costs td { text-align: left; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.costs thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.costs tbody th { font-weight: 700; white-space: nowrap; }
@media (max-width: 40rem) { .costs { font-size: .92rem; } }

.close { background: var(--bottle); color: var(--on-bottle); }
.close-in { display: grid; gap: 1.5rem; justify-items: start; }
.close h2 { max-width: 22ch; }
.close .note, .close .illus { color: var(--on-bottle-2); margin: 0; }
.close .note a { color: var(--on-bottle); }
@media (max-width: 40rem) { .close .btn { width: 100%; } .close-in > p { width: 100%; } }

.price-big { font-size: 1.15rem; font-weight: 700; font-stretch: 108%; }
.ticks { list-style: none; display: grid; border-top: 2px solid var(--graphite); }
.ticks li { position: relative; padding: .85rem 0 .85rem 1.9rem; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: 1.2rem; width: .85rem; height: .45rem; border-left: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); rotate: -45deg; }
.onepage { margin-top: 2rem; max-width: 30rem; }
.op-title { font-weight: 750; font-stretch: 108%; margin-bottom: .4rem; }
.op > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgb(90 130 95 / .3); font-size: .95rem; }
.op dt { color: var(--muted); }
.op dd { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.onepage figcaption { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: .6rem; }
.rules { list-style: none; display: grid; border-top: 2px solid var(--graphite); }
.rules li { padding: 1rem 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.rules strong { display: block; color: var(--graphite); font-size: 1.1rem; font-stretch: 105%; }
.credits { display: grid; gap: 1rem; color: var(--muted); max-width: 42em; }
.credits ul { padding-left: 1.2rem; display: grid; gap: .3rem; }

/* =========================================================
   CONSULTATION FORM
   ========================================================= */
.consult-in { background: var(--paper); }
.consult-grid { display: grid; gap: 2rem; align-items: start; }
.consult-side h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); }
.consult-side .lede { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.context { margin-top: 1.5rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--bottle); color: var(--on-bottle); border-radius: 2px; border-top: 5px solid var(--tape); }
.context h2 { font-size: 1rem; font-stretch: 108%; color: var(--tape); margin-bottom: .6rem; }
.context ul { list-style: none; display: grid; gap: .45rem; }
.context li { padding-left: 1.4rem; position: relative; }
.context li::before { content: ""; position: absolute; left: .1rem; top: .5rem; width: .7rem; height: .4rem; border-left: 2px solid var(--tape); border-bottom: 2px solid var(--tape); rotate: -45deg; }
.context .note { color: var(--on-bottle-2); margin-top: .8rem; }
.form { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: #f8faf6; border: 1px solid var(--rule); border-radius: 3px; box-shadow: 0 30px 60px -40px rgb(19 41 31 / .55); }
.form-demo { font-size: .85rem; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px dashed var(--rule); }
.field { display: grid; gap: .45rem; }
.field > label, .field legend { font-weight: 700; font-size: 1rem; font-stretch: 104%; }
.field legend { margin-bottom: .55rem; }
.field input[type="text"], .field select, .field textarea { width: 100%; min-height: 3.1rem; padding: .7rem .85rem; font: 400 1.05rem/1.35 var(--sans); color: var(--graphite); background: #fff; border: 1.5px solid #9fb39f; border-radius: 3px; }
.field textarea { min-height: 5.5rem; resize: vertical; field-sizing: content; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--tape); outline-offset: 0; border-color: var(--graphite); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .92rem; font-weight: 600; }
.choices { display: grid; gap: .5rem; }
.choices.row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .choices.row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { flex: 1; display: flex; align-items: center; gap: .7rem; min-height: 3rem; padding: .6rem .9rem; border: 1.5px solid var(--rule); border-radius: 3px; background: #fff; font-size: .98rem; line-height: 1.25; }
.choice span::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 1.5px solid var(--muted); }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite); background: #fffbea; }
.choice input:checked + span::before { border: 5px solid var(--graphite); background: var(--tape); }
.choice input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 2px; }
.since { padding: 1rem; background: #fffbea; border-left: 4px solid var(--tape); }
.form-go .btn { width: 100%; }
@media (min-width: 60rem) {
  .consult-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .consult-side { position: sticky; top: 6.5rem; }
  .form-go .btn { width: auto; }
  .done { grid-column: 2; }
}

/* confirmation, with a carbon-copy slip */
.done { display: grid; gap: 1rem; align-content: start; }
.done h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); outline: none; }
.done-demo { padding: .8rem 1rem; background: var(--paper-2); border-left: 4px solid var(--muted); font-size: .95rem; }
.done h3 { margin-top: .75rem; }
.next { list-style: none; counter-reset: n; display: grid; }
.next li { counter-increment: n; position: relative; padding: .8rem 0 .8rem 2.6rem; border-top: 1px solid var(--rule); }
.next li::before { content: counter(n); position: absolute; left: 0; top: .78rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; background: var(--tape); border-radius: 2px; font-weight: 800; font-size: .85rem; font-stretch: 90%; box-shadow: inset 0 -2px 0 var(--tape-2); }
.slip { margin-top: 1.25rem; padding: 1.4rem 1.25rem 1rem; max-width: 30rem; background: var(--canary); color: #2b2710; rotate: -.8deg; position: relative; box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 24px 40px -26px rgb(0 0 0 / .55);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 4px, #000 4.5px) 0 0 / 14px 100% repeat-x; mask: radial-gradient(circle at 50% 0, transparent 4px, #000 4.5px) 0 0 / 14px 100% repeat-x; } /* torn along the perforation */
.slip-head, .slip-foot { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; font-weight: 700; font-stretch: 95%; }
.slip-head { padding-bottom: .6rem; border-bottom: 1.5px solid #2b2710; }
.slip-head span:first-child { font-stretch: 120%; font-weight: 800; }
.slip dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid rgb(43 39 16 / .22); font-size: .93rem; }
.slip dt { color: #6a6235; }
.slip dd { font-weight: 600; color: #26304a; overflow-wrap: anywhere; } /* the carbon writes in blue */
.slip-foot { padding-top: .7rem; color: #6a6235; }
@media (max-width: 26rem) { .slip dl > div { grid-template-columns: 1fr; gap: 0; } }
.done-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem; font-weight: 600; }

/* ---------- footer ---------- */
.foot { background: var(--graphite); color: #c9d3cc; padding-block: 3rem 2.5rem; font-size: .95rem; }
.foot-in { display: grid; gap: 2rem; }
.foot-mark { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.foot-mark .mark-name { padding-bottom: 6px; }
.foot-firm p + p { margin-top: .5rem; }
.foot-links { list-style: none; display: grid; gap: .3rem; }
.foot-links a { display: inline-block; padding: .3rem 0; color: #fff; }
.fiction { font-size: .85rem; color: #9fb0a5; max-width: 60em; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
@media (min-width: 52rem) { .foot-in { grid-template-columns: 2fr 1fr; } .fiction { grid-column: 1 / -1; } }
