/* Blue Brick Construction: the yard sign.
   Brand-blue fields, fluted white coroplast panels, sky-blue rider strips, steel wire stakes.
   Palette from the owner's brand kit (BlueBrick-DesignStyle): #0046A7, #7ABEFA, #15181D, white. */

@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/bigshoulders-display-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-semicond-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sign: #0046A7;
  --sign-deep: #002F73;
  --sign-ink-soft: #DCEBFD;
  --panel: #FFFFFF;
  --panel-edge: #E1E7EF;
  --rider: #7ABEFA;
  --rider-hover: #A6D4FC;
  --ink: #15181D;
  --ink-soft: #4A5260;
  --steel: #59616C;
  --turf: #002F73;

  --display: "Big Shoulders Display", "Barlow Semi Condensed", sans-serif;
  --label: "Barlow Semi Condensed", "Barlow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1180px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* coroplast: faint vertical flutes every 6px */
  --flutes: repeating-linear-gradient(90deg, rgba(14,17,22,.035) 0 1px, transparent 1px 6px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--sign) var(--panel); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sign-deep);
  caret-color: var(--sign);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--rider); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--rider); border-radius: 2px; }
.field :focus-visible, .topbar :focus-visible, .foot :focus-visible { outline-color: #fff; }
p { margin: 0 0 1em; max-width: 65ch; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s6); } }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--s4); top: var(--s2); z-index: 20; background: var(--rider); color: var(--ink); padding: var(--s2) var(--s4); font-weight: 700; }
.arw { width: 1.1em; height: 1.1em; flex: none; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- top bar: brand + die-cut arrow tabs ---------- */
.topbar { background: var(--sign); color: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s4); flex-wrap: wrap; }
.mark { display: block; line-height: 0; }
.brandline { display: flex; align-items: center; gap: var(--s3); }
.badge-insured {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px;
  font-family: var(--label); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 3px; white-space: nowrap; --shield-tick: var(--sign);
}
.badge-insured .shield { color: var(--rider); }
.sign-insured {
  display: flex; align-items: center; gap: var(--s2); margin: var(--s3) 0 0; max-width: none;
  font-family: var(--label); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.25rem); letter-spacing: .03em; color: var(--ink);
  --shield-tick: #fff;
}
.sign-insured .shield { color: var(--sign); width: 22px; height: 22px; flex: none; }
.sign-insured strong { color: var(--sign); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 719px) { .badge-insured { font-size: .78rem; padding: 4px 8px 4px 6px; } .badge-insured .shield { width: 15px; height: 15px; } }
.mark img { width: auto; height: 44px; }
@media (max-width: 719px) { .mark img { height: 36px; } }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.tab {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 22px 0 12px;
  background: var(--panel); color: var(--ink);
  font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.tab:hover { background: var(--sign-ink-soft); transform: translateX(2px); }
.tab[aria-current="page"] { background: var(--rider); }
.tab-go { background: var(--rider); }
.tab-go:hover { background: var(--rider-hover); }
.tab:focus-visible { clip-path: none; }
@media (max-width: 719px) {
  .topbar nav { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 calc(var(--s4) * -1); padding-left: var(--s4); padding-right: var(--s4); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { min-height: 36px; font-size: .85rem; white-space: nowrap; }
}

/* ---------- the sign field (hero) ---------- */
.field { position: relative; background: var(--sign); color: #fff; padding: var(--s6) 0 0; overflow: hidden; }
.field-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.sign {
  position: relative; z-index: 2; width: 100%;
  background-color: var(--panel);
  background-image:
    radial-gradient(circle at 18px 18px, var(--sign-deep) 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 18px) 18px, var(--sign-deep) 0 5px, transparent 6px),
    var(--flutes);
  color: var(--ink);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 44px);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .45), 0 2px 0 var(--panel-edge);
  animation: plant .9s var(--ease-out) both;
}
.sign-logo { margin: 0; line-height: 0; }
.sign-logo img { width: min(100%, 560px); height: auto; }
.sign-what {
  margin: var(--s3) 0 0; font-family: var(--label); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem); letter-spacing: .06em; color: var(--ink); max-width: none;
}
.sign-what span { white-space: nowrap; }
.sign-rule { height: 6px; background: var(--sign); margin: clamp(18px, 3vw, 30px) 0 clamp(14px, 2.5vw, 22px); border: 0; }
.sign-phone {
  display: inline-block; font-family: var(--display); font-weight: 900;
  font-size: clamp(3rem, 12.5vw, 6rem); line-height: .9; letter-spacing: .01em;
  color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums lining-nums;
}
.sign-phone:hover { color: var(--sign); }
.sign-who { margin: var(--s3) 0 0; font-family: var(--label); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: .01em; color: var(--ink-soft); }

.sign-where { margin: var(--s3) 0 0; font-size: 1.05rem; color: var(--ink-soft); }

/* page-level sign (inner pages): same anatomy, smaller name, title is the sign copy */
.sign-title { color: var(--sign); font-size: clamp(3rem, 10vw, 5.75rem); }

/* riders: sky-blue strips hanging under the sign on two short wires; always links */
.riders { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s6); width: 100%; padding-top: 22px; }
.rider {
  position: relative; display: inline-flex; align-items: center; gap: var(--s3);
  background: var(--rider); color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem); line-height: 1; letter-spacing: .02em;
  padding: 14px 22px 13px;
  transform-origin: 50% -22px;
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .4);
}
.rider::before, .rider::after { content: ""; position: absolute; top: -22px; width: 2px; height: 22px; background: var(--steel); }
.rider::before { left: 22%; }
.rider::after { right: 22%; }
.rider:hover, .rider:focus-visible { animation: swing 1.1s var(--ease-out); background: var(--rider-hover); }
.rider .num { font-variant-numeric: tabular-nums lining-nums; }

/* stakes into the turf strip */
.stakes { position: relative; z-index: 1; display: flex; justify-content: space-between; width: min(62%, 560px); height: clamp(56px, 9vw, 110px); margin-top: -12px; }
.stakes span { width: 5px; background: linear-gradient(90deg, #6B737E, #4A515B); }
.turf { height: 14px; background: var(--turf); }
.field-proof { position: relative; z-index: 3; margin: var(--s5) 0 var(--s4); text-align: center; font-family: var(--label); font-weight: 700; letter-spacing: .02em; font-size: 1.05rem; color: var(--sign-ink-soft); max-width: none; }

/* ---------- white coroplast sections ---------- */
.board { background-color: var(--panel); color: var(--ink); padding: var(--s9) 0; }
.board + .board { border-top: 2px solid var(--panel-edge); }
.blue { background: var(--sign); color: #fff; padding: var(--s9) 0; }
.blue p { color: var(--sign-ink-soft); }
.sky { background: var(--rider); color: var(--ink); }
.h-sec { font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: var(--s6); }
.board .h-sec { color: var(--sign); }
.blue .h-sec { color: #fff; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; margin-top: calc(var(--s6) * -.5); margin-bottom: var(--s7); }
.blue .lede { color: var(--sign-ink-soft); }

/* directional sign rows (services) */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.dsign {
  --pt: 34px;
  display: block; padding: 2px; background: var(--ink); color: var(--ink); text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--pt)) 0, 100% 50%, calc(100% - var(--pt)) 100%, 0 100%);
  transition: transform .25s var(--ease-out);
}
.dsign-face {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s3) var(--s6);
  background: #fff; padding: var(--s5) clamp(18px, 3vw, 36px); padding-right: clamp(52px, 7vw, 88px);
  clip-path: polygon(0 0, calc(100% - var(--pt) + 1px) 0, calc(100% - 3px) 50%, calc(100% - var(--pt) + 1px) 100%, 0 100%);
  transition: background-color .25s var(--ease-out);
}
.dsign:hover { transform: translateX(6px); }
.dsign:hover .dsign-face { background: var(--rider); }
.dsign:focus-visible { clip-path: none; }
.dsign h3 { font-size: clamp(2rem, 5.2vw, 3.4rem); color: var(--sign); }
.dsign:hover h3 { color: var(--ink); }
.dsign p { margin: var(--s2) 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.dsign .tag { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s2); }
.dsign-lead { padding: 3px; }
.dsign-lead .dsign-face { padding-top: var(--s6); padding-bottom: var(--s6); }
.dsign-lead h3 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.dsign-lead .tag { background: var(--rider); padding: 8px 12px; font-size: 1.15rem; }
.dsign-lead:hover .tag { background: #fff; }
@media (max-width: 719px) { .dsign { --pt: 22px; } .dsign-face { grid-template-columns: 1fr; } }

/* the process: one unbroken wire with five stops */
.route { list-style: none; margin: var(--s7) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 4px; background: #fff; }
.route li { position: relative; padding-top: 64px; }
.route li::before {
  content: attr(data-step); position: absolute; top: 0; left: 0;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--sign); border: 4px solid #fff; color: #fff;
  font-family: var(--display); font-weight: 900; font-size: 1.6rem;
}
.route li:first-child::before { background: var(--rider); border-color: var(--rider); color: var(--ink); }
.route h3 { font-size: 1.7rem; color: #fff; margin-bottom: var(--s2); }
.route p { font-size: 1rem; }
.here {
  position: absolute; top: -34px; left: 58px; white-space: nowrap;
  background: var(--rider); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px;
}
@media (max-width: 899px) {
  .route { grid-template-columns: 1fr; gap: var(--s6); }
  .route::before { left: 23px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .route li { padding-top: 0; padding-left: 74px; min-height: 50px; }
  .route li:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
  .route li:first-child h3 { order: 1; margin: 0; }
  .route li:first-child .here { order: 2; position: static; }
  .route li:first-child p { order: 3; flex-basis: 100%; }
}

/* contents map: numbered list of exactly what's in the job */
.contents { list-style: none; margin: 0; padding: 0; counter-reset: item; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 var(--s7); }
.contents li { counter-increment: item; display: grid; grid-template-columns: 3.2rem 1fr; gap: var(--s3); padding: var(--s4) 0; border-top: 2px solid var(--ink); }
.contents li::before { content: counter(item); font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: .85; color: var(--sign); font-variant-numeric: tabular-nums; }
.contents strong { font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; }
.contents-plain li { grid-template-columns: 1fr; }
.contents-plain li::before { content: none; }
.blue .contents li { border-top-color: rgba(255,255,255,.55); }
.blue .contents li::before { color: var(--rider); }

/* price sign */
.price-sign { background: #fff; border: 3px solid var(--ink); }
.price-sign table { width: 100%; border-collapse: collapse; }
.price-sign th, .price-sign td { text-align: left; padding: var(--s4) var(--s5); vertical-align: baseline; }
.price-sign thead th { background: var(--ink); color: #fff; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.price-sign tbody tr + tr td { border-top: 2px solid var(--panel-edge); }
.price-sign td:first-child { font-weight: 600; }
.price-sign .amt { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--sign); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.price-sign .amt small { font-family: var(--label); font-size: .95rem; color: var(--ink-soft); letter-spacing: .03em; }
.price-sign td:last-child { color: var(--ink-soft); }
.price-foot { margin-top: var(--s4); color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 719px) {
  .price-sign thead { display: none; }
  .price-sign tr { display: grid; grid-template-columns: 1fr auto; padding: var(--s4) var(--s4); }
  .price-sign tbody tr + tr { border-top: 2px solid var(--panel-edge); }
  .price-sign tbody tr + tr td { border-top: 0; }
  .price-sign td { padding: 0; }
  .price-sign td:last-child { grid-column: 1 / -1; font-size: .95rem; }
  .price-sign td:last-child:empty { display: none; }
}

/* sky rider band: the towns we serve */
.promise-band { padding: var(--s6) 0; }
.promise-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); }
.promise-band li > span { white-space: nowrap; }
@media (max-width: 719px) { .promise-band ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s4); } }
.promise-band a { color: var(--ink); text-decoration: none; }
.promise-band a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.promise-band li { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1; }

/* people */
.people { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s7); align-items: end; }
.people .big { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--sign); font-size: clamp(4rem, 13vw, 6rem); line-height: .85; margin: 0; }
.people p { font-size: 1.2rem; }
@media (max-width: 899px) { .people { grid-template-columns: 1fr; gap: var(--s5); } }

/* notes, faq, town signs, contact panels */
.note-panel { border: 2px solid var(--ink); background: #fff; padding: var(--s5); margin-top: var(--s6); max-width: 70ch; }
.note-panel strong { font-family: var(--label); text-transform: uppercase; letter-spacing: .04em; }
.faq { display: grid; gap: var(--s3); max-width: 900px; }
.faq details { background: #fff; border: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); font-family: var(--label); font-weight: 700; letter-spacing: .01em; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center/14px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center/3px 14px no-repeat; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--rider); }
.faq details p { padding: 0 var(--s5) var(--s4); margin: 0; }
.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s5); }
.town { background: #fff; border: 3px solid var(--ink); padding: var(--s5); }
.town h2 { font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--sign); margin-bottom: var(--s3); }
.town p { margin-bottom: .6em; }
.town .k { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.action { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5); min-height: 220px; padding: var(--s5); background: var(--panel); background-image: var(--flutes); color: var(--ink); text-decoration: none; border: 3px solid var(--ink); transition: background-color .25s var(--ease-out); }
.action:hover { background-color: var(--rider); background-image: none; }
.action .verb { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 7vw, 4.75rem); line-height: .85; color: var(--sign); }
.action:hover .verb { color: var(--ink); }
.action .how { font-family: var(--label); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.action .how .arw { display: inline-block; vertical-align: -0.2em; margin-left: 6px; }
@media (max-width: 899px) { .actions { grid-template-columns: 1fr; } .action { min-height: 0; } }

/* closing sign */
.close-sign { text-align: center; }
.close-sign .h-sec { margin-bottom: var(--s4); }
.close-sign p { margin: 0 auto var(--s6); }
.close-sign .sign-phone { color: #fff; }
.close-sign .sign-phone:hover { color: var(--rider); }
.close-sign .riders { margin-top: var(--s6); padding-top: 0; }
.close-sign .rider::before, .close-sign .rider::after { display: none; }
.close-sign .rider { transform-origin: 50% 0; }

/* ---------- footer ---------- */
.foot { background: var(--sign-deep); color: var(--sign-ink-soft); padding: var(--s8) 0 var(--s7); }
.foot a { color: #fff; }
.foot-in { display: grid; gap: var(--s7); }
.foot-logo { display: block; margin-bottom: var(--s5); }
.foot-logo img { height: 44px; width: auto; }
.foot-who { margin: var(--s2) 0 0; font-family: var(--label); font-weight: 700; font-size: 1.15rem; color: #fff; }
.foot-phone { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 4.5rem); line-height: .9; text-decoration: none; font-variant-numeric: tabular-nums lining-nums; }
.foot-phone:hover { color: var(--rider); }
.foot-mail { display: inline-block; margin-top: var(--s3); font-weight: 600; overflow-wrap: anywhere; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.foot-h { font-size: 1.5rem; color: #fff; margin-bottom: var(--s3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot-legal { font-size: .9rem; color: var(--sign-ink-soft); margin: 0; max-width: 80ch; }
@media (max-width: 719px) { .foot-cols { grid-template-columns: 1fr; } }

/* sticky phone bar on small screens */
.callbar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: 60px; }
  .callbar { display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; box-shadow: 0 -6px 18px -8px rgba(0,0,0,.4); }
  .callbar a { display: grid; place-items: center; min-height: 56px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; text-decoration: none; }
  .callbar a:first-child { background: var(--rider); color: var(--ink); font-variant-numeric: tabular-nums; }
  .callbar a:last-child { background: var(--ink); color: #fff; }
}

/* ---------- motion: plant the sign once, riders swing on hover/focus ---------- */
@keyframes plant {
  from { transform: translateY(-14px) rotate(-.6deg); }
  60% { transform: translateY(2px) rotate(.15deg); }
  to { transform: none; }
}
@keyframes swing {
  0% { transform: rotate(0); }
  25% { transform: rotate(-2.2deg); }
  55% { transform: rotate(1.4deg); }
  80% { transform: rotate(-.5deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* our work: photo gallery (home featured + /work), fence feature photo, lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s5); }
.work-band .gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.gallery figure, .feature-shot { margin: 0; background: #fff; border: 3px solid var(--ink); }
.shot { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sign-ink-soft); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.shot:hover img { transform: scale(1.03); }
.shot:focus-visible { outline: 3px solid var(--rider); outline-offset: 2px; }
.gallery figcaption, .feature-shot figcaption {
  font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: var(--s3) var(--s4); border-top: 3px solid var(--ink); color: var(--ink);
}
.feature-shot { margin: var(--s6) 0 var(--s4); }
.feature-shot .shot { aspect-ratio: 16 / 9; }
.work-band .more { margin-top: var(--s6); display: flex; justify-content: center; }
.work-band .more .rider { font-size: clamp(1.25rem, 3vw, 1.75rem); }
@media (max-width: 719px) { .gallery { gap: var(--s4); } .feature-shot .shot { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot:hover img { transform: none; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; color: #fff; }
.lightbox::backdrop { background: rgba(8, 12, 22, .97); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 72px 76px 24px; }
.lightbox img { display: block; max-width: min(100%, 1200px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); width: 100%; max-width: min(100%, 1200px);
  background: #fff; color: var(--ink); padding: var(--s3) var(--s4); border-top: 4px solid var(--rider);
  font-family: var(--label); font-weight: 700; font-size: clamp(1rem, 2.6vw, 1.2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.25;
}
.lb-count { flex: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.lightbox button {
  position: fixed; z-index: 2; border: 0; padding: 0; margin: 0; background: var(--rider); color: var(--ink);
  width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; line-height: 0;
}
.lightbox button svg { display: block; width: 26px; height: 26px; }
.lightbox button:hover { background: var(--rider-hover); }
.lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 719px) {
  .lightbox figure { padding: 72px 12px 88px; }
  .lightbox img { max-height: calc(100dvh - 240px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
