.hero { padding-block: var(--sp-8) var(--sp-8); }
.wall { border-top: var(--border-w) solid var(--border-subtle); }
.sel { padding-block: var(--section-main); }
.sel .rows { margin-top: var(--sp-5); border-top: var(--border-w) solid var(--border-subtle); }
.sel .rows a { display: grid; grid-template-columns: 160px 1fr auto; gap: var(--sp-5); align-items: baseline; padding-block: var(--sp-4); border-bottom: var(--border-w) solid var(--border-subtle); text-decoration: none; color: inherit; }
.sel .rows a:hover .h4 { color: var(--link-hover); }
.sel .rows .k { color: var(--link); }
.sel .rows .h4 { transition: color .18s ease; }
.sel .rows p { margin: 6px 0 0; color: var(--text); font-size: var(--text-s); max-width: 62ch; }
.sel .rows .r { color: var(--text); white-space: nowrap; }
.offer { padding-block: var(--section-main); border-top: var(--border-w) solid var(--border-subtle); }
.offer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.offer .col { display: grid; gap: var(--sp-3); align-content: start; padding-top: var(--sp-4); border-top: var(--border-w) solid var(--border-subtle); }
.offer .col p { margin: 0; color: var(--text); font-size: var(--text-s); }
.offer a.col { text-decoration: none; color: inherit; transition: border-color .2s ease; }
.offer a.col:hover { border-color: var(--link); }
.offer a.col .link { padding-block: 4px; margin-top: auto; }
.clients { padding-block: var(--section-small) var(--section-main); border-top: var(--border-w) solid var(--border-subtle); }
.clients .names { margin: var(--sp-4) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; font-family: var(--f-03); font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .06em; text-transform: uppercase; color: var(--text-heading); line-height: 1.3; }
.clients .names li::after { content: "/"; color: var(--link); margin: 0 14px; }
.clients .names li:last-child::after { content: none; }
@media (max-width: 860px) {
  .sel .rows a { grid-template-columns: 1fr; gap: 6px; }
  .offer .cols { grid-template-columns: 1fr; }
}

/* Home as a landing page (2026-10-05): one billboard per nav page (the index under the hero went 2026-10-06).
   Every billboard alternates its side and its ground, so each reads as its own poster. */
.bb { --bb-pad: var(--section-main); padding-block: var(--bb-pad); border-top: var(--border-w) solid var(--border-subtle); scroll-margin-top: 80px; }
/* the flipped billboards sit on a second ground: the darker one in the dark theme; in the light theme --background-2
   (#aaabb5) read as a grey slab, so it is one step off the page instead */
.bb.flip { background: var(--background-2); }
:root[data-theme="light"] .bb.flip { background: #cdced8; }
/* each billboard fits a short wide window (his is about 1887 x 684): less padding when the window is short */
@media (max-height: 820px) { .bb { --bb-pad: var(--sp-6); } }
.bb-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-6); row-gap: var(--sp-6); align-items: center; min-height: min(calc(100svh - 240px), 720px); }
.bb-copy { grid-column: 1 / 7; grid-row: 1; display: grid; gap: var(--sp-4); align-content: center; min-width: 0; }
.bb-art { grid-column: 7 / 13; grid-row: 1; min-width: 0; }
.bb.flip .bb-copy { grid-column: 7 / 13; }
.bb.flip .bb-art { grid-column: 1 / 7; }
.bb-k { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--link); letter-spacing: .12em; text-transform: uppercase; }
.bb-k .n { color: var(--text); }
.bb-h { margin: 0; font-weight: 500; font-size: clamp(32px, min(4.3vw, 8.4vh), 72px); line-height: 1; letter-spacing: -.02em; color: var(--text-heading); text-wrap: balance; }
.bb-say { margin: 0; max-width: 54ch; color: var(--text); font-size: clamp(17px, 1.2vw, 20px); line-height: 1.5; }
.bb-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); padding-top: var(--sp-4); border-top: var(--border-w) solid var(--border-subtle); }
.bb-facts dt { font-weight: 500; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.05; letter-spacing: -.01em; color: var(--text-heading); }
.bb-facts dd { margin: 6px 0 0; color: var(--text); font-size: var(--text-s); line-height: 1.4; }
.bb .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
/* the pictures: a grid of tiles per page, each laid out for what it shows */
/* the pictures are as wide as the column allows, and no taller than the window: --r is each layout's height per
   unit of width, so the width that fits is the free height divided by it */
.bb-art { display: grid; gap: var(--sp-3); text-decoration: none; color: inherit; justify-self: center;
  width: min(100%, calc((100svh - 80px - 2 * var(--bb-pad)) / var(--r, .75))); }
.bb-art .tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-small); border: var(--border-w) solid var(--border-subtle); background: var(--background); }
.bb-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease; }
.bb-art:hover img { filter: brightness(1.08); }
.bb-art .cap { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: var(--radius-small); background: rgba(10, 11, 18, .78); color: #f2f2f7; letter-spacing: .1em; text-transform: uppercase; }
.bb-art .artcap { grid-column: 1 / -1; color: var(--link); letter-spacing: .12em; text-transform: uppercase; }
.art-pairs { --r: 1.02; grid-template-columns: 1fr 1fr; }
.art-pairs .t2 img, .art-pairs .t3 img { object-fit: contain; padding: 10%; }
.art-pairs .tile { aspect-ratio: 1; }
.art-reel { --r: .8; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-reel .tile { aspect-ratio: 16 / 9; }
.art-reel .t0 { grid-column: 1 / -1; }
.art-reel .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; display: grid; place-items: center; font-size: 72px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.art-gens { --r: .64; grid-template-columns: 1fr 1fr; }
.art-gens .tile { aspect-ratio: 16 / 9; }
.art-grid { --r: .69; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-grid .tile { aspect-ratio: 1; }
.art-founder { --r: .52; grid-template-columns: 2fr 3fr; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.art-founder .t0 { grid-row: 1 / 4; aspect-ratio: 4 / 5; }
.art-founder .t1, .art-founder .t2, .art-founder .t3 { min-height: 0; }
@media (max-width: 860px) {
  .bb-in { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .bb-copy, .bb.flip .bb-copy, .bb-art, .bb.flip .bb-art { grid-column: 1 / -1; grid-row: auto; }
  .bb-art { width: 100%; }
}
@media (max-width: 600px) {
  .bb-facts { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .bb-facts div { display: flex; align-items: baseline; gap: var(--sp-3); }
  .bb-facts dd { margin: 0; }
  .art-reel .play { width: 48px; height: 48px; font-size: 48px; }
}

/* the card under the work carousel (2026-10-02): his photo, then "What I do" in three columns. Each column is a
   3-row grid (title, body, link) with the body row taking the slack, so the three links sit on one line */
.callcard { display: grid; gap: var(--sp-5); padding: var(--sp-6); border: var(--border-w) solid var(--border); border-radius: var(--radius-main); }
.callcard > .eyebrow { margin: 0; }
.cc-who { display: flex; align-items: center; gap: var(--sp-3); }
.cc-who img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; flex: none; border: 2px solid var(--link); }
.cc-who > span { display: grid; gap: 2px; }
.cc-who b { font-weight: 500; font-size: var(--h5); color: var(--text-heading); }
.cc-who span span { color: var(--text); font-size: var(--text-s); }
.cc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.cc-cols .col { display: grid; grid-template-rows: auto 1fr auto; gap: var(--sp-3); padding-top: var(--sp-4); border-top: var(--border-w) solid var(--border-subtle); text-decoration: none; color: inherit; transition: border-color .2s ease; }
.cc-cols .col:hover { border-color: var(--link); }
.cc-cols .col .h4 { margin: 0; }
.cc-cols .col .body { margin: 0; color: var(--text); font-size: var(--text-s); }
.cc-cols .col .link { justify-self: start; padding-block: 4px; }
@media (max-width: 860px) { .callcard { padding: var(--sp-5); } .cc-cols { grid-template-columns: minmax(0, 1fr); } }
/* the reviews carousel (2026-09-30, owner: "show like 3 at a time ... make the body copy smaller"): 3 cards per view
   on a wide screen, 2 on a tablet, 1 on a phone. Scroll-snapped, so a swipe works with no script; the arrows and the
   six faces move it one card at a time, and the faces of the cards in view are lit. */
.revs { grid-column: 1 / 13; margin-top: var(--sp-3); --per: 3; --gap: var(--sp-4); }
.revs-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.revs-track::-webkit-scrollbar { display: none; }
.revs-track:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.rev { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; margin: 0; padding: var(--sp-5); border: var(--border-w) solid var(--border-subtle); border-radius: var(--radius-main); display: flex; flex-direction: column; gap: var(--sp-4); }
.rev .qmark { font-size: 32px; color: var(--link); line-height: 1; }
.rev blockquote { margin: 0; display: grid; gap: var(--sp-2); }
.rev blockquote p { margin: 0; color: var(--text-heading); font-size: var(--text-s); line-height: 1.6; text-wrap: pretty; }
.rev figcaption { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-4); border-top: var(--border-w) solid var(--border-subtle); min-height: calc(var(--sp-4) + 64px); }   /* room for a 2-line title, so every card's divider sits at the same height */
.rev figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; flex: none; }
.rev .who { display: grid; gap: 2px; min-width: 0; }
.rev .who a { color: var(--text-heading); font-weight: 500; text-decoration: none; }
.rev .who a:hover { color: var(--link-hover); text-decoration: underline; }
.rev .who span { color: var(--text); font-size: var(--text-xs); line-height: 1.4; }
.revs-nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-5); }
.revs-btn { width: 44px; height: 44px; border-radius: 50%; border: var(--border-w) solid var(--border); background: transparent; color: var(--icon); display: grid; place-items: center; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.revs-btn:hover { border-color: var(--link); color: var(--link); }
.revs-dots { display: flex; gap: var(--sp-2); }
.revs-dot { width: 44px; height: 44px; padding: 2px; border-radius: 50%; border: 2px solid transparent; background: transparent; cursor: pointer; opacity: .45; transition: opacity .2s ease, border-color .2s ease; }
.revs-dot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.revs-dot:hover { opacity: .85; }
.revs-dot.is-on { opacity: 1; border-color: var(--link); }
.revs-btn:focus-visible, .revs-dot:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1000px) { .revs { --per: 2; } }
@media (max-width: 600px) { .revs { --per: 1; } .rev { padding: var(--sp-4); } .revs-dots { gap: 2px; } .revs-dot { width: 36px; height: 36px; } .revs-nav { gap: var(--sp-2); } }
@media (prefers-reduced-motion: reduce) { .revs-track { scroll-behavior: auto; } }

/* ---- the hero dot field (2026-10-05): flat squircles at rest; the mouse leaves a wake that settles back to flat ---- */
.hero[data-bg] { position: relative; isolation: isolate; }   /* IC: the canvas sits at z-index -1 inside the hero */
.hero[data-bg] .hero-dots { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 100%; display: block; pointer-events: none;
  --dots-fade: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / .5) 9%, #000 26%, #000 46%, rgb(0 0 0 / .45) 72%, transparent 100%);
  --dots-text: linear-gradient(90deg, rgb(0 0 0 / .3) 0%, rgb(0 0 0 / .5) 42%, #000 72%, #000 86%, rgb(0 0 0 / .35) 100%);
  -webkit-mask-image: var(--dots-fade), var(--dots-text); -webkit-mask-composite: source-in; mask-image: var(--dots-fade), var(--dots-text); mask-composite: intersect; }
/* no light field behind it (owner, 2026-10-05: "remove the gradients in the background"): the hero's two glow layers
   are switched off on this page, so the squircles sit on the plain page ground. hero_glows.py still writes the rules
   the other builders share; this page simply never draws them. */
html .hero[data-bg]::before, html .hero[data-bg]::after { content: none; }   /* html: this sheet loads before theme.css, which draws them */
