/* That Painting Company. A ledger on near-black: ruled, numbered, their lime green (#99cc00, the colour of every
   heading on Phil's old site) glowing like a signwriter's enamel. The dots after a heading are from that site too. */
:root {
  --night: #121311;
  --night-2: #1a1c19;
  --chalk: #ecebe4;
  --chalk-2: #b3b2a8;
  --lime: #99cc00;
  --lime-deep: #7aa300;
  --rule: rgba(236, 235, 228, .13);
  --rule-2: rgba(236, 235, 228, .26);
  --paper: #f1ece0;
  --sign: "Bahnschrift Condensed", "Bahnschrift SemiCondensed", Bahnschrift, "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --gut: clamp(18px, 5vw, 44px);
  --head: 58px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 10px); background: var(--night); }
body { margin: 0; color: var(--chalk); font: 400 1.0625rem/1.6 var(--text); background:
  repeating-linear-gradient(to bottom, transparent 0 39px, rgba(236, 235, 228, .028) 39px 40px), var(--night); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--lime); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 10px; top: -50px; z-index: 99; background: var(--lime); color: var(--night); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 10px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

/* signwriting: tall, condensed capitals */
.sign { font-family: var(--sign); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0 0 .35em; text-wrap: balance; }
.sign--xl { font-size: clamp(2.9rem, 13vw, 6.4rem); }
.sign--l { font-size: clamp(2.4rem, 10vw, 4.6rem); }
.sign--m { font-size: clamp(1.7rem, 6vw, 2.5rem); }
.glow { color: var(--lime); text-decoration: none; text-shadow: 0 0 22px rgba(153, 204, 0, .38), 0 0 2px rgba(153, 204, 0, .5); }
.lede { color: var(--chalk-2); font-size: clamp(1.06rem, 2.4vw, 1.22rem); max-width: 36em; }
.lede a { color: var(--chalk); }

/* the book: each section is a sheet, opened with a folio line */
.sheet { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--gut); border-top: 1px solid var(--rule); }
.sheet--flush { border-top: 0; padding-top: 0; }
.folio { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; font: 600 .78rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--chalk-2); }
.folio-no { color: var(--lime); }
.dots { flex: 1; min-width: 20px; height: 1em; background: radial-gradient(circle, var(--lime) 1.1px, transparent 1.6px) 0 70% / 9px 9px repeat-x; opacity: .75; }
.more { margin: 22px 0 0; }
.more a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--lime); padding-bottom: 2px; }
.more a::after { content: " …"; color: var(--lime); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .65em 1.3em; font: 600 1rem/1.15 var(--text); text-decoration: none; border: 1.5px solid var(--lime); border-radius: 3px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .3s; }
.btn-lime { background: var(--lime); color: #11140a; }
.btn-lime:hover { background: #a9dc12; color: #11140a; box-shadow: 0 0 26px rgba(153, 204, 0, .35); }
.btn-line { background: transparent; color: var(--chalk); border-color: var(--rule-2); }
.btn-line:hover { border-color: var(--lime); color: var(--lime); }
.btn-big { min-height: 56px; font-size: 1.05rem; }

/* ------------------------------------------------ header */
.bar-top { position: sticky; top: 0; z-index: 40; height: var(--head); background: rgba(18, 19, 17, .94); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease); }
.bar-in { display: flex; align-items: center; gap: 16px; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.mark { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1; }
.mark-name { font: 700 1.45rem/1 var(--sign); font-stretch: 75%; text-transform: uppercase; color: var(--chalk); }
.mark-who { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-top: 4px; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
.menu-no { color: var(--lime); font-size: .72em; margin-right: .6em; letter-spacing: .1em; }
.top-phone { display: none; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 10px; background: none; border: 0; color: var(--chalk); font: 600 .9rem var(--text); cursor: pointer; }
.burger { width: 20px; height: 9px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
@media (max-width: 1099px) {
  .menu { position: fixed; inset: var(--head) 0 0; background: var(--night); padding: 10px var(--gut) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .menu.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .menu li { border-bottom: 1px solid var(--rule); }
  .menu a { display: flex; align-items: baseline; padding: 14px 0; font: 700 2rem/1 var(--sign); font-stretch: 75%; text-transform: uppercase; }
  .menu a[aria-current] { color: var(--lime); }
  html.menu-on body { overflow: hidden; }
  .bar-top.is-tucked { transform: translateY(-100%); }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .bar-top { height: auto; position: relative; }
  html:not(.js) .bar-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 8px; }
  html:not(.js) .menu { position: static; visibility: visible; opacity: 1; padding: 0; width: 100%; overflow-x: auto; background: none; }
  html:not(.js) .menu ol { display: flex; gap: 16px; }
  html:not(.js) .menu li { border: 0; }
  html:not(.js) .menu a { font-size: 1.15rem; padding: 6px 0; white-space: nowrap; }
}
@media (min-width: 760px) { .top-phone { display: inline-flex; } }
@media (min-width: 1100px) {
  :root { --head: 68px; }
  .menu-toggle { display: none; }
  .menu ol { display: flex; gap: 4px; }
  .menu a { display: block; padding: 8px 9px; font-size: .9rem; white-space: nowrap; border-bottom: 2px solid transparent; }
  .menu a[aria-current] { border-bottom-color: var(--lime); }
  .menu-no { display: none; }
}

/* ------------------------------------------------ the opening: the places, signwritten, before the name */
.open { display: grid; }
.open-words { border-top: 0; padding-top: clamp(26px, 6vw, 60px); padding-bottom: 18px; }
.open-kicker { font: 600 .8rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.open-places { font-size: clamp(3.1rem, 15.5vw, 7.6rem); line-height: .9; margin-bottom: 22px; }
.open-places .pl { display: block; }
.open-places em { font-style: normal; color: var(--lime); text-shadow: 0 0 24px rgba(153, 204, 0, .5); }
.open-who { color: var(--chalk-2); max-width: 32em; }
.open-who b { color: var(--chalk); font-weight: 600; }
.open-act { display: grid; gap: 10px; margin: 20px 0 22px; }
.open-art { padding: 0 var(--gut) 34px; max-width: 1200px; width: 100%; margin: 0 auto; }
@media (min-width: 640px) { .open-act { display: flex; flex-wrap: wrap; } }
@media (min-width: 1000px) {
  .open { grid-template-columns: 1fr 1fr; align-items: end; max-width: 1300px; margin: 0 auto; min-height: min(calc(100svh - var(--head)), 820px); }
  .open-words { padding-bottom: 50px; }
  .open-places { font-size: clamp(4rem, 7vw, 7rem); }
  .open-art { grid-column: 1 / -1; padding: 0 var(--gut) 56px; max-width: 1300px; }
  .open-words { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; max-width: 1300px; width: 100%; }
  .open-kicker { grid-column: 1; grid-row: 1; }
  .open-places { grid-column: 1; grid-row: 2 / span 3; align-self: start; margin: 0; }
  .open-who { grid-column: 2; grid-row: 2; align-self: end; }
  .open-act { grid-column: 2; grid-row: 3; }
  .open-ledger { grid-column: 2; grid-row: 4; }
}
/* the places are painted on, one line after the next, like a signwriter's brush */
@media (prefers-reduced-motion: no-preference) {
  .open-places .pl { clip-path: inset(0 100% 0 0); animation: letter 1s var(--ease) forwards; }
  .open-places .pl-1 { animation-delay: .15s; }
  .open-places .pl-2 { animation-delay: .7s; }
  .open-places .pl-3 { animation-delay: 1.25s; }
  .open-places em { animation: lit 1.4s 1.5s ease-out both; }
}
@keyframes letter { to { clip-path: inset(0 -2% 0 0); } }
@keyframes lit { from { text-shadow: none; color: var(--chalk); } }

/* the ledger lines: a label, then dots, then the entry */
.ledger { margin: 0; display: grid; gap: 0; }
.ledger > div { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.ledger > div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { color: var(--chalk-2); font-size: .9rem; white-space: nowrap; }
.ledger dt::after { content: ""; display: inline-block; }
.ledger > div::before { content: none; }
.ledger dd { margin: 0 0 0 auto; text-align: right; font-weight: 600; }
.ledger > div dt { order: 0; } .ledger > div dd { order: 2; }
.ledger > div::after { content: ""; order: 1; flex: 1; min-width: 16px; height: 1em; background: radial-gradient(circle, var(--lime) 1.1px, transparent 1.6px) 0 70% / 9px 9px repeat-x; opacity: .6; }
.open-ledger { max-width: 520px; font-size: .95rem; }

/* paper: the drawings sit on it */
.card-paper { display: block; background: var(--paper); border-radius: 3px; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .45); }
.inkwash { width: 100%; height: auto; }
.inkwash--region { aspect-ratio: 1200 / 330; }
.inkwash .pen { fill: none; stroke: #2a2925; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.inkwash .pen-2 { stroke-width: .8; opacity: .55; }
.inkwash .fine { stroke-width: 1.2; }
.inkwash .pen-2.fine { stroke-width: .6; }
.inkwash .hair { stroke-width: .9; }
.inkwash .pen-2.hair { display: none; }
.inkwash .drip { stroke: #5c7d00; }
.inkwash .wash { mix-blend-mode: multiply; }
.inkwash .w-green { fill: #99cc00; stroke: #6f9400; stroke-width: 4; stroke-opacity: .35; opacity: .42; }
.inkwash .w-sky { fill: #e3b768; stroke: #c99a45; stroke-width: 4; stroke-opacity: .3; opacity: .38; }
.inkwash .w-sea { fill: #5d9db5; stroke: #3f7d96; stroke-width: 4; stroke-opacity: .35; opacity: .38; }
.inkwash .w-roof { fill: #b5553b; opacity: .5; }
.inkwash .w-cloud { fill: #9fb3bd; opacity: .25; }
.inkwash .tags text { font: 700 15px var(--sign); font-stretch: 75%; letter-spacing: .14em; text-transform: uppercase; fill: #56534b; }
@media (prefers-reduced-motion: no-preference) {
  .inkwash .pen { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ink 1.6s var(--ease) forwards; }
  .inkwash .pen-2 { animation-delay: .5s; }
  .inkwash .wash { transform-box: fill-box; transform-origin: center; animation: bloom 2.2s .8s var(--ease) both; }
  .inkwash .b2, .inkwash .b6 { animation-delay: 1.1s; } .inkwash .b3, .inkwash .b7 { animation-delay: 1.3s; } .inkwash .b4, .inkwash .b8 { animation-delay: 1.5s; }
  .inkwash .tags { animation: fade 1s 2s both; }
  .js .wait .inkwash .pen, .js .wait .inkwash .wash { animation-play-state: paused; }
}
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes bloom { from { opacity: 0; transform: scale(.82); } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------ the before-and-after book */
.cmp { display: grid; gap: 18px; margin-top: 10px; }
.cmp-stage { position: relative; }
.cmp-frame { margin: 0; }
.cmp-frame[hidden] { display: none; }
.cmp-pics { position: relative; overflow: hidden; border-radius: 3px; background: var(--night-2); touch-action: pan-y; --x: 50%; }
.cmp-pics.r-land { aspect-ratio: 4 / 3; }
.cmp-pics.r-tall { aspect-ratio: 3 / 4; max-height: 76svh; margin: 0 auto; }
.cmp-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-tag { position: absolute; top: 12px; padding: 5px 9px; font: 700 .8rem/1 var(--sign); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; background: rgba(18, 19, 17, .78); color: var(--chalk); }
.cmp-tag--b { left: 12px; } .cmp-tag--a { right: 12px; color: var(--lime); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--lime); box-shadow: 0 0 14px rgba(153, 204, 0, .8); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(18, 19, 17, .55), 0 0 24px rgba(153, 204, 0, .6); }
.cmp-knob::before, .cmp-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-knob::before { left: 6px; border-right-color: #11140a; } .cmp-knob::after { right: 6px; border-left-color: #11140a; }
.cmp-range { position: absolute; inset: 0; bottom: auto; height: 0; }
.cmp-range input { position: absolute; left: 0; right: 0; width: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp figcaption { color: var(--chalk-2); font-size: .95rem; margin-top: 12px; max-width: 40em; }
.cmp figcaption b { color: var(--chalk); font-weight: 600; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; }
.cmp-list li { scroll-snap-align: start; flex: 0 0 auto; }
.cmp-pick { display: flex; align-items: baseline; gap: 8px; min-height: 46px; padding: 10px 14px; background: var(--night-2); border: 1px solid var(--rule); border-radius: 3px; color: var(--chalk); font: 600 .95rem/1.2 var(--text); cursor: pointer; white-space: nowrap; }
.cmp-pick .dots, .cmp-pick .cmp-kind { display: none; }
.cmp-no { color: var(--lime); font-size: .78rem; letter-spacing: .1em; }
.cmp-pick[aria-pressed="true"] { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.cmp-carry { margin: 0; }
/* without script, the two pictures sit side by side and the controls go away */
html:not(.js) .cmp-before { position: static; clip-path: none; }
html:not(.js) .cmp-pics { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: auto !important; gap: 4px; }
html:not(.js) .cmp-pics img { position: static; aspect-ratio: inherit; }
html:not(.js) .cmp-after { order: 2; }
html:not(.js) .cmp-line, html:not(.js) .cmp-range, html:not(.js) .cmp-list, html:not(.js) .cmp-tag { display: none; }
html:not(.js) .cmp-frame[hidden] { display: block; margin-top: 26px; }
@media (min-width: 1000px) {
  .cmp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
  .cmp-stage { grid-row: 1 / 3; }
  .cmp-list { display: block; overflow: visible; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
  .cmp-pick { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 14px 4px; white-space: normal; }
  .cmp-pick .dots, .cmp-pick .cmp-kind { display: block; }
  .cmp-kind { color: var(--chalk-2); font-weight: 400; font-size: .85rem; }
  .cmp-pick[aria-pressed="true"] { box-shadow: none; color: var(--lime); }
  .cmp-pick:hover { color: var(--lime); }
  .cmp-pics.r-tall { max-height: 74svh; width: auto; }
}

/* ------------------------------------------------ services, as ledger lines that open */
.ledger-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger-list > li { border-bottom: 1px solid var(--rule); }
.ledger-list summary { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.ledger-list summary::-webkit-details-marker { display: none; }
.ledger-list summary::after { content: "+"; color: var(--lime); font: 600 1.4rem/1 var(--text); transition: transform .25s; }
.ledger-list details[open] summary::after { transform: rotate(45deg); }
.ledger-list details p { color: var(--chalk-2); padding: 0 0 16px 2.3em; margin: 0; max-width: 40em; }
.ll-no { color: var(--lime); font: 600 .8rem/1 var(--text); letter-spacing: .1em; min-width: 1.8em; }
.ll-name { font: 700 clamp(1.5rem, 6vw, 2.1rem)/1 var(--sign); font-stretch: 75%; text-transform: uppercase; }
.ledger-list--plain > li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; flex-wrap: wrap; }
.ledger-list--plain .ll-name { font-size: clamp(1.3rem, 5vw, 1.7rem); }
.ll-note { color: var(--chalk-2); font-size: .95rem; flex-basis: 100%; }
@media (min-width: 760px) { .ll-note { flex-basis: auto; text-align: right; } }
.svc { list-style: none; margin: 0; padding: 0; }
.svc-row { display: grid; gap: 18px; padding: 34px 0; border-top: 1px solid var(--rule); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-words p:last-child { color: var(--chalk-2); max-width: 36em; }
.svc-pic img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 3px; }
@media (min-width: 1000px) { .svc-row { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }

/* ------------------------------------------------ small jobs */
.small-grid { display: grid; gap: 26px; }
.small-art { max-width: min(420px, 78vw); transition: transform .5s var(--ease); }
.small-art:hover { transform: rotate(-1.2deg); }
.pull { margin: 22px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--lime); }
.pull p { font: 500 1.1rem/1.5 var(--text); margin-bottom: .5em; }
.pull footer { color: var(--chalk-2); font-size: .9rem; }
@media (min-width: 1000px) { .small-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; } }

/* ------------------------------------------------ testimonials: notes to swipe */
.slips { list-style: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 14px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: thin; scrollbar-color: var(--lime-deep) transparent; }
.note { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 22px 20px 18px; background: var(--night-2); border: 1px solid var(--rule); border-radius: 3px; background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(236, 235, 228, .05) 27px 28px); }
.note blockquote { margin: 0 0 14px; }
.note blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.75rem; }
.note-who { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--rule-2); font-weight: 600; }
.note-who span { display: block; font: 700 .95rem/1.2 var(--sign); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
@media (max-width: 999px) { .slips--all { display: grid; overflow: visible; margin: 0; padding: 0; } .slips--all .note { flex: none; } }
@media (min-width: 1000px) { .slips { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } .slips--all { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------ the years */
.years { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--rule); }
.years li { display: grid; grid-template-columns: 7.2em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.yr { font: 700 1.35rem/1.1 var(--sign); font-stretch: 75%; text-transform: uppercase; color: var(--lime); }
.big-phone { font: 700 clamp(3rem, 15vw, 6rem)/1 var(--sign); font-stretch: 75%; margin: 0 0 16px; letter-spacing: .01em; }
.ask-or { margin: 0; }

/* ------------------------------------------------ inner pages */
.head { border-top: 0; padding-bottom: 20px; }
.head-pic { margin-top: 26px; }
.head-pic img { width: 100%; max-height: 64svh; object-fit: cover; border-radius: 3px; }
.head-pic .card-paper { max-width: 560px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid--wide { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } .grid--wide { grid-template-columns: 1fr 1fr; } }
.ph { margin: 0; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.ph figcaption { font-size: .85rem; color: var(--chalk-2); margin-top: 8px; line-height: 1.45; }
.pairs { display: grid; gap: 30px; }
.pair { margin: 0; }
.pair-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pair-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pair figcaption { color: var(--chalk-2); margin-top: 10px; font-size: .95rem; }
.pair figcaption b { color: var(--chalk); }
@media (min-width: 1000px) { .pairs { grid-template-columns: 1fr 1fr; } }
.ask { text-align: left; }
.prose { max-width: 760px; }
.prose p { color: var(--chalk-2); }
.enq { display: grid; gap: 34px; }
@media (min-width: 1000px) { .enq { grid-template-columns: 7fr 5fr; align-items: start; } }
.lost-art { max-width: 360px; margin-bottom: 24px; }

/* ------------------------------------------------ the enquiry slip, rising over the page */
.slip { color: var(--night); background: var(--paper); border: 0; padding: 0; border-radius: 4px; }
.slip-in { padding: 20px 20px 24px; background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(42, 41, 37, .09) 35px 36px); }
.slip-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; }
.slip-no { width: 100%; margin: 0; font: 600 .72rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: #4a6400; }
.slip-head h2 { flex: 1; margin: 0; font-size: 2rem; color: #1b1c18; }
.slip-x { width: 44px; height: 44px; border: 1px solid rgba(42, 41, 37, .3); border-radius: 50%; background: none; font-size: 1.6rem; line-height: 1; color: #1b1c18; cursor: pointer; }
.slip-form { display: grid; gap: 6px; }
.line { display: grid; grid-template-columns: 5.2em 1fr; align-items: end; gap: 10px; border-bottom: 1.5px solid rgba(42, 41, 37, .55); padding: 8px 0 2px; }
.line span { font: 700 1.05rem/1.4 var(--sign); font-stretch: 75%; text-transform: uppercase; color: #3b3a35; padding-bottom: 6px; }
.line input, .line textarea { width: 100%; min-height: 40px; border: 0; background: transparent; font: 400 1.05rem/1.4 var(--text); color: #1b1c18; padding: 6px 2px; resize: vertical; }
.line input:focus, .line textarea:focus { outline: none; background: rgba(153, 204, 0, .12); }
.line--tall { align-items: start; }
.slip .btn-lime { justify-self: start; margin-top: 14px; min-width: 200px; }
.slip-fine { font-size: .8rem; color: #55534c; margin: 8px 0 0; }
.slip-fine a, .slip a { color: #1b1c18; }
.slip-noted { margin: 0 0 4px; padding: 8px 10px; background: rgba(153, 204, 0, .2); font-size: .9rem; color: #2a2c1c; }
.slip-noted[hidden] { display: none; }
dialog.slip { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 94svh; margin: 0; overflow-y: auto; border-radius: 6px 6px 0 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .6); }
dialog.slip::backdrop { background: rgba(8, 9, 7, .72); }
dialog.slip .slip-in { padding-bottom: calc(24px + env(safe-area-inset-bottom)); max-width: 620px; margin: 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  dialog.slip[open] { animation: rise .45s var(--ease); }
  dialog.slip[open]::backdrop { animation: fade .3s; }
}
@keyframes rise { from { transform: translateY(100%) rotate(1.5deg); } }
@media (min-width: 1000px) {
  dialog.slip { inset: auto 28px 28px auto; width: 500px; border-radius: 4px; max-height: calc(100svh - 56px); transform: rotate(-.6deg); }
}
.slip--page { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }

/* ------------------------------------------------ footer and the bar under the thumb */
.foot { border-top: 1px solid var(--rule); padding-bottom: 96px; }
.foot-sheet { border-top: 0; display: grid; gap: 22px; padding-top: 40px; padding-bottom: 36px; }
.foot-name { font: 700 2rem/1 var(--sign); font-stretch: 75%; text-transform: uppercase; margin-bottom: 8px; }
.foot-a p:last-child { color: var(--chalk-2); max-width: 30em; }
.foot-ledger { font-size: .92rem; }
.foot-fine { font-size: .82rem; color: var(--chalk-2); margin: 0; }
.foot .credit { color: var(--chalk-2); }
@media (min-width: 1000px) { .foot { padding-bottom: 0; } .foot-sheet { grid-template-columns: 1fr 1fr; gap: 20px 60px; } .foot-fine { grid-column: 1 / -1; } }
.thumb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: var(--night); border-top: 1px solid var(--rule-2); padding-bottom: env(safe-area-inset-bottom); transition: transform .3s var(--ease); }
.thumb a { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 18px; text-decoration: none; font-weight: 600; transition: min-height .3s var(--ease); }
.thumb-call { flex: 1; background: var(--lime); color: #11140a; }
.thumb-call b { font-weight: 700; margin-left: 4px; }
.thumb-call:hover { color: #11140a; }
.thumb-ask { color: var(--chalk); }
.thumb.is-low a { min-height: 50px; }
html.slip-on .thumb { transform: translateY(110%); }
@media (max-width: 349px) { .thumb-call span { font-size: .9rem; } }
@media (min-width: 1000px) { .thumb { display: none; } }

/* sections arrive as they are reached */
.js .wait { opacity: 0; transform: translateY(18px); }
.js .wait.seen { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .wait.seen .inkwash .pen, .js .wait.seen .inkwash .wash { animation-play-state: running; }

/* a card's picture grows into the top of its own page */
@view-transition { navigation: auto; }
.vt-book .cmp-stage { view-transition-name: book; }
.vt-small { view-transition-name: small-art; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.3, .7, .1, 1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
