/*
THESIS: le site est le tableau de liège du club-house. Chaque information est un objet punaisé ; on refuse la page « club de tir » habituelle (photo sombre plein écran, capitales condensées, cartes 01/02/03).
OWN-WORLD: liège moucheté, cadre en chêne sombre, feuilles photocopiées blanches, papier Canson bleu et vert, feuille fluo jaune, tirages photo scotchés, ruban Dymo, punaises bleu-blanc-rouge, tampon encreur rouge, carton de cible.
STORY: le visiteur voit tout de suite si le club est ouvert, ce que coûte une séance découverte et comment appeler ; il comprend que c'est un vrai club vivant et appelle ou écrit.
FIRST VIEWPORT: grande affiche blanche « Le tir sportif, ça s'essaie. » à gauche (7 col.) avec bandelettes téléphone détachables ; à droite le panneau OUVERT/FERMÉ suspendu au-dessus de la feuille fluo des horaires ; un tirage photo scotché et une cible en carton débordent dessous. Action principale : Dymo rouge « Réserver une séance découverte · 40 € ».
FORM: tableau d'affichage du club-house, direction 5 de la liste, mise en scène « une seule planche », seed d6972841.
*/

@layer reset, base, board, components, pages;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  a { color: inherit; }
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/kalam-700-latin.woff2") format("woff2");
}

@layer base {
  :root {
    --cork: #b5844f;
    --cork-deep: #8b5d31;
    --oak: #3d2a1c;
    --oak-dark: #24180f;
    --paper: #fbfaf6;
    --paper-shade: #ecebe4;
    --blue: #2350a0;
    --blue-deep: #183a78;
    --yellow: #f5e23a;
    --green: #2f7a52;
    --red: #d32a1f;
    --red-deep: #a81d14;
    --ink: #17181c;
    --ink-soft: #45464d;
    --shadow-paper: 0 1px 1px rgb(40 20 0 / .28), 0 10px 22px -10px rgb(40 20 0 / .55);
    --shadow-lift: 0 2px 3px rgb(40 20 0 / .25), 0 22px 38px -14px rgb(40 20 0 / .6);
    --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --hand: "Kalam", "Comic Sans MS", cursive;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --gap: clamp(18px, 2.4vw, 36px);
    color-scheme: light;
  }

  body {
    min-height: 100vh;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink);
    background-color: var(--cork);
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .27 0 0 0 0 .15 0 0 0 0 .05 0 0 0 2.2 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='1' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .76 0 0 0 0 .52 0 0 0 2.6 -1.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E"),
      radial-gradient(120% 80% at 50% 0%, rgb(255 230 190 / .18), transparent 60%);
    font-variation-settings: "wdth" 100;
  }

  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); padding: 10px 16px; font-weight: 700; text-decoration: none; }
  .skip:focus { top: 12px; }

  h1, h2, h3 { font-weight: 850; font-variation-settings: "wdth" 118; line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
  p { text-wrap: pretty; }
  .mark { background: linear-gradient(100deg, transparent .08em, rgb(245 226 58 / .9) .12em, rgb(245 226 58 / .75) calc(100% - .1em), transparent 100%); padding: 0 .12em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; }
}

/* ---------- Frame (header & footer rails) ---------- */
@layer board {
  .rail {
    position: relative;
    z-index: 20;
    background:
      repeating-linear-gradient(91deg, rgb(255 255 255 / .025) 0 2px, transparent 2px 9px),
      repeating-linear-gradient(89deg, rgb(0 0 0 / .08) 0 1px, transparent 1px 23px),
      linear-gradient(180deg, #4a3423, var(--oak) 45%, #2f2015);
    color: #f3ece2;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 -2px 0 rgb(0 0 0 / .35);
  }
  .rail-top { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 6px 14px -4px rgb(30 15 0 / .6); }
  .rail-inner { max-width: 1400px; margin: 0 auto; padding: 12px clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 22px; }

  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
  .brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 2px 4px rgb(0 0 0 / .5); }
  .brand-text { display: grid; line-height: 1.05; }
  .brand-text strong { font-size: 1.15rem; font-weight: 900; font-variation-settings: "wdth" 120; }
  .brand-text span { font-size: .84rem; color: #d9cbb7; }

  .nav { margin-left: auto; }
  .nav ul { display: flex; flex-wrap: wrap; gap: 10px 8px; justify-content: flex-end; }
  .nav a { display: block; text-decoration: none; }
  .nav a .dymo { transition: transform .25s var(--ease-out), background-color .2s; }
  .nav a:hover .dymo { transform: translateY(-2px) rotate(-1deg); }
  .nav a[aria-current="page"] .dymo { background: var(--red); }

  .menu-button { display: none; margin-left: auto; border: 0; padding: 0; background: none; cursor: pointer; }
  .menu-button .dymo { font-size: .9rem; padding: .5em .9em; }

  .board { max-width: 1400px; margin: 0 auto; padding: clamp(28px, 4vw, 64px) clamp(14px, 3vw, 40px) clamp(64px, 8vw, 120px); }
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .grid + .grid, .grid + .board-title, .board-title + .grid { margin-top: clamp(40px, 6vw, 96px); }
  .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
  .span-12 { grid-column: 1 / -1; }
  .start-2 { grid-column-start: 2; } .start-3 { grid-column-start: 3; }
  .drop-1 { margin-top: clamp(16px, 3vw, 48px); } .drop-2 { margin-top: clamp(32px, 6vw, 96px); }
  .stack { display: grid; gap: var(--gap); }

  .board-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 20px; }
  .board-title .dymo { font-size: clamp(1rem, 1.5vw, 1.25rem); }
  .board-title h2 { font: inherit; letter-spacing: 0; line-height: 1; }
  .board-title p { font-family: var(--hand); font-weight: 700; font-size: 1.25rem; color: #2b1a0c; transform: rotate(-1deg); }

  .rail-bottom { margin-top: 0; }
  .footer { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 40px) 28px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
  .footer h2 { font-size: 1rem; font-variation-settings: "wdth" 100; font-weight: 700; margin-bottom: 12px; color: #fff; letter-spacing: 0; }
  .footer p, .footer li { color: #e2d6c6; font-size: .97rem; }
  .footer li + li { margin-top: 6px; }
  .footer a { text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 3px; }
  .footer a:hover { text-decoration-color: var(--yellow); }
  .footer .brand { margin-bottom: 14px; }
  .footer-base { max-width: 1400px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 40px) 28px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #c8b9a5; }
}

/* ---------- Pinned objects ---------- */
@layer components {
  .dymo {
    display: inline-block;
    background: #141414;
    color: #f5f5f5;
    font-family: var(--font);
    font-variation-settings: "wdth" 80;
    font-weight: 700;
    font-size: .82rem;
    line-height: 1.1;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .42em .72em .38em;
    border-radius: 2px;
    text-shadow: 0 -1px 0 rgb(0 0 0 / .7), 0 1px 0 rgb(255 255 255 / .28);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 -1px 0 rgb(0 0 0 / .5), 0 1px 2px rgb(0 0 0 / .45);
    white-space: nowrap;
  }
  .dymo.is-red { background: var(--red); }
  .dymo.is-blue { background: var(--blue); }
  .dymo.is-green { background: var(--green); }

  .note {
    --r: 0deg;
    --pin: var(--red);
    position: relative;
    background: var(--paper);
    padding: calc(clamp(22px, 2.6vw, 38px) + 12px) clamp(22px, 2.6vw, 38px) clamp(22px, 2.6vw, 38px);
    box-shadow: var(--shadow-paper);
    transform: rotate(var(--r));
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  }
  .note.is-photocopy { background-image: linear-gradient(180deg, rgb(0 0 0 / .025), transparent 18%, transparent 82%, rgb(0 0 0 / .035)); }
  .note.is-blue { background: var(--blue); color: #fff; }
  .note.is-green { background: var(--green); color: #fff; }
  .note.is-yellow { background: var(--yellow); }
  .note.is-card { background: #fff; border-radius: 3px; }
  .note::before {
    content: "";
    position: absolute;
    top: 10px; left: 50%;
    width: 18px; height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .85) 0 2px, transparent 3px), radial-gradient(circle at 50% 50%, var(--pin) 55%, color-mix(in srgb, var(--pin), black 35%) 100%);
    box-shadow: 2px 4px 3px rgb(30 15 0 / .45);
    z-index: 3;
  }
  .note.pin-blue { --pin: #2b5fc0; }
  .note.pin-white { --pin: #f1f1ee; }
  .note.pin-yellow { --pin: #f2cf1d; }
  .note.pin-left::before { left: 12%; }
  .note.pin-right::before { left: 88%; }
  .note.no-pin::before { display: none; }
  .note.has-link:hover, .note.has-link:focus-within { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); }

  .tape::after, .print::after {
    content: "";
    position: absolute;
    top: -14px; left: 50%;
    width: 112px; height: 30px;
    margin-left: -56px;
    background: rgb(236 226 196 / .82);
    transform: rotate(-3deg);
    clip-path: polygon(2% 8%, 6% 0, 12% 6%, 20% 1%, 30% 7%, 42% 0, 55% 6%, 66% 1%, 78% 7%, 88% 0, 96% 6%, 100% 2%, 98% 92%, 92% 100%, 84% 94%, 72% 100%, 60% 93%, 48% 100%, 36% 94%, 24% 100%, 12% 93%, 4% 100%, 0 94%);
    box-shadow: 0 1px 2px rgb(0 0 0 / .15);
    z-index: 3;
  }

  .print {
    --r: 0deg;
    position: relative;
    background: #fff;
    padding: 10px 10px 0;
    box-shadow: var(--shadow-paper);
    transform: rotate(var(--r));
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  }
  .print img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; background: #ddd; }
  .print figcaption, .print .print-cap { display: block; font-family: var(--hand); font-weight: 700; font-size: 1.08rem; line-height: 1.25; padding: 9px 4px 12px; color: #1d2a6b; }
  .print.no-caption { padding-bottom: 10px; }
  .no-tape::after { display: none; }
  button.print, a.print { display: block; width: 100%; border: 0; cursor: zoom-in; text-align: left; }
  a.print { cursor: pointer; text-decoration: none; }
  button.print:hover, button.print:focus-visible, a.print:hover, a.print:focus-visible { transform: rotate(0deg) translateY(-4px) scale(1.01); box-shadow: var(--shadow-lift); }

  .kicker { font-family: var(--hand); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--red-deep); margin-bottom: 10px; transform: rotate(-1.5deg); transform-origin: left; }
  .is-blue .kicker, .is-green .kicker { color: var(--yellow); }

  .poster-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-variation-settings: "wdth" 122; font-weight: 900; line-height: .9; letter-spacing: -.035em; }
  .note-title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
  .note h3 { font-size: 1.3rem; font-variation-settings: "wdth" 110; line-height: 1.05; letter-spacing: -.01em; }
  .lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 52ch; }
  .note p + p { margin-top: .8em; }
  .note-title + p, .poster-title + p, .note-title + .lede, .poster-title + .lede { margin-top: 18px; }
  .is-blue p, .is-green p { color: rgb(255 255 255 / .92); }
  .muted { color: var(--ink-soft); }

  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
  .btn {
    display: inline-flex; align-items: center; gap: .55em;
    border: 0; cursor: pointer; text-decoration: none;
    background: var(--red); color: #fff;
    font-variation-settings: "wdth" 85; font-weight: 750; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
    padding: .85em 1.2em .8em;
    border-radius: 3px;
    text-shadow: 0 -1px 0 rgb(0 0 0 / .45), 0 1px 0 rgb(255 255 255 / .2);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 -2px 0 rgb(0 0 0 / .25), 0 2px 3px rgb(60 10 0 / .35);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
  }
  .btn:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 -2px 0 rgb(0 0 0 / .25), 0 8px 14px -4px rgb(60 10 0 / .45); }
  .btn:active { transform: translateY(1px); }
  .btn.is-dark { background: #141414; }
  .btn.is-dark:hover { background: #000; }
  .btn.is-light { background: #fff; color: var(--ink); text-shadow: none; }
  .link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--red); }
  .link:hover { text-decoration-color: currentColor; }
  .is-blue .link, .is-green .link { text-decoration-color: var(--yellow); }

  /* Tear-off tabs */
  .tabs { display: flex; margin: 30px calc(-1 * clamp(22px, 2.6vw, 38px)) calc(-1 * clamp(22px, 2.6vw, 38px)); border-top: 2px dashed rgb(23 24 28 / .35); }
  .tabs a, .tabs span {
    flex: 1;
    min-height: 132px;
    display: flex; align-items: center; justify-content: center;
    writing-mode: vertical-rl; transform: rotate(180deg);
    text-decoration: none;
    font-weight: 700; font-variation-settings: "wdth" 90; font-size: .9rem;
    border-left: 1px dashed rgb(23 24 28 / .3);
    padding: 10px 0;
    transition: background-color .2s, transform .3s var(--ease-out);
  }
  .tabs a:hover { background: var(--yellow); }
  .tabs .is-torn { background: var(--cork); visibility: visible; border-left: 0; box-shadow: inset 0 6px 6px -6px rgb(0 0 0 / .4); color: transparent; }
  .tabs a:nth-child(2n) { transform: rotate(180deg) translateY(1px); }

  /* Hours sheet */
  .hours { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 1.02rem; }
  .hours th { text-align: left; font-weight: 750; padding: 9px 0; width: 38%; }
  .hours td { text-align: right; padding: 9px 0; font-variant-numeric: tabular-nums; }
  .hours tr { border-top: 1.5px solid rgb(23 24 28 / .8); position: relative; }
  .hours tr.is-closed td, .hours tr.is-closed th { color: rgb(23 24 28 / .7); font-weight: 500; }
  .hours th span { position: relative; display: inline-block; }
  .hours tr.is-today th span::after {
    content: "";
    position: absolute; left: -14px; top: 50%;
    width: calc(100% + 28px); height: 42px; margin-top: -21px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M12 34C10 14 70 6 118 8s80 12 74 28-62 20-110 18S6 46 18 22' fill='none' stroke='%23d32a1f' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
  }
  .hours-foot { margin-top: 14px; font-size: .92rem; }

  /* Door sign */
  .sign-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: -6px; position: relative; z-index: 4; }
  .sign-string { width: 120px; height: 46px; }
  .sign {
    margin-top: -6px;
    min-width: 230px;
    padding: 14px 22px 13px;
    border-radius: 6px;
    background: var(--paper);
    border: 3px solid var(--ink);
    text-align: center;
    box-shadow: var(--shadow-paper);
    transform-origin: 50% -40px;
    animation: sway 6s ease-in-out infinite alternate;
  }
  .sign strong { display: block; font-size: 2.1rem; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: .02em; line-height: 1; }
  .sign span { display: block; margin-top: 6px; font-size: .95rem; font-weight: 600; }
  .sign.is-open { border-color: var(--green); }
  .sign.is-open strong { color: var(--green); }
  .sign.is-closed strong { color: var(--red); }
  @keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.4deg); } }

  /* Target card */
  .target-card { background: #f4f1e8; padding: 16px 16px 12px; }
  .target-card svg { width: 100%; height: auto; }
  .target-card figcaption { font-family: var(--hand); font-weight: 700; font-size: 1.1rem; text-align: center; padding-top: 8px; color: #1d2a6b; }

  /* Stamp */
  .stamp {
    position: absolute;
    width: 118px; height: 118px;
    border: 3px solid currentColor;
    border-radius: 50%;
    color: rgb(211 42 31 / .82);
    display: grid; place-items: center; text-align: center;
    font-weight: 900; font-variation-settings: "wdth" 110; font-size: .82rem; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
    transform: rotate(-14deg);
    box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px rgb(211 42 31 / .7);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)'/%3E%3C/svg%3E");
    pointer-events: none;
  }
  .stamp span { display: block; padding: 0 12px; }

  /* Price list */
  .prices { margin-top: 18px; }
  .prices li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
  .prices li::after { content: none; }
  .prices .label { flex: 0 1 auto; }
  .prices .dots { flex: 1; border-bottom: 2px dotted rgb(23 24 28 / .45); transform: translateY(-4px); min-width: 20px; }
  .prices .price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .is-blue .prices .dots, .is-green .prices .dots { border-color: rgb(255 255 255 / .45); }
  .prices .price-note { display: block; font-size: .86rem; color: var(--ink-soft); }
  .prices h3 { margin-top: 22px; margin-bottom: 4px; }

  .big-price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
  .big-price strong { font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .9; letter-spacing: -.03em; }

  .checks li { position: relative; padding-left: 34px; margin-top: 12px; }
  .checks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13c3 2 5 5 6 7 3-7 8-13 13-17' fill='none' stroke='%23d32a1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  }
  .is-blue .checks li::before, .is-green .checks li::before { filter: brightness(0) invert(1); }

  .steps { counter-reset: step; display: grid; gap: 20px; margin-top: 22px; }
  .steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
  .steps li::before {
    content: counter(step);
    display: grid; place-items: center;
    width: 46px; height: 46px;
    font-family: var(--hand); font-weight: 700; font-size: 1.6rem; color: var(--red);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M26 4C12 3 4 14 5 26s10 20 22 19 19-10 18-22S36 4 22 6' fill='none' stroke='%23d32a1f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .steps h3 { margin-bottom: 4px; }
  .is-blue .steps li::before { color: var(--yellow); filter: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M26 4C12 3 4 14 5 26s10 20 22 19 19-10 18-22S36 4 22 6' fill='none' stroke='%23f5e23a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

  /* Rental rack: compact pinned cards */
  .rack-section { margin-top: clamp(40px, 6vw, 96px); }
  .rack-tools {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 30px;
    margin-top: 22px; padding: 22px 22px 18px;
    --r: -.3deg;
  }
  .rack-tools[hidden] { display: none; }
  .rack-sort { display: grid; gap: 6px; font-weight: 750; font-size: .95rem; }
  .rack-sort select {
    min-height: 44px; padding: 0 38px 0 12px; border: 2px solid var(--ink); border-radius: 3px; background: #fff;
    font-weight: 600; font-size: 1rem; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317181c' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 12px;
  }
  .chips { border: 0; padding: 0; margin: 0; min-width: 0; }
  .chips legend { font-weight: 750; font-size: .95rem; padding: 0; margin-bottom: 6px; }
  .chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { position: relative; }
  .chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .chip span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    border: 2px solid var(--ink); border-radius: 3px; background: #fff;
    font-weight: 700; font-size: .95rem; white-space: nowrap;
    transition: background-color .15s, color .15s;
  }
  .chip input:hover + span { background: rgb(245 226 58 / .55); }
  .chip input:checked + span { background: var(--ink); color: #fff; }
  .chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

  .rack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); margin-top: 26px; }
  .rack-item { display: flex; min-width: 0; }
  .rack-item[hidden] { display: none; }
  .rc.note {
    width: 100%;
    display: flex; flex-direction: column; gap: 8px;
    padding: 9px 9px 14px;
    overflow-wrap: anywhere;
  }
  .rc.note::before { top: 2px; }
  .rc:hover, .rc:focus-within { transform: rotate(0deg) translateY(-3px); box-shadow: var(--shadow-lift); }
  .rc-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e5dc; }
  .rc-photo img { width: 100%; height: 100%; object-fit: cover; }
  .rc-photo.is-contain img { object-fit: contain; padding: 4px; }
  .rc-photo.is-empty { display: grid; place-items: center; font-family: var(--hand); font-weight: 700; color: var(--ink-soft); }
  .rc-title { font-size: clamp(1rem, 1.5vw, 1.22rem); font-variation-settings: "wdth" 106; line-height: 1.08; letter-spacing: -.01em; padding: 4px 4px 0; text-wrap: pretty; }
  .rc-brand { display: block; font-size: .8em; font-weight: 700; font-variation-settings: "wdth" 100; color: var(--ink-soft); margin-bottom: 2px; }
  .rc-facts, .rc-prices { padding: 0 4px; }
  .rc-facts { display: grid; gap: 2px; font-size: .92rem; line-height: 1.3; }
  .rc-facts div, .rc-prices div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
  .rc-facts dt { color: var(--ink-soft); }
  .rc-facts dd { font-weight: 700; }
  .rc-count { padding: 0 4px; font-family: var(--hand); font-weight: 700; font-size: 1rem; color: var(--blue-deep); line-height: 1.2; }
  .rc-details { padding: 0 4px; font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
  .rc-details p + p { margin-top: .5em; }
  .rc-prices { margin-top: auto; padding-top: 10px; border-top: 2px dotted rgb(23 24 28 / .4); display: grid; gap: 2px; }
  .rc-rent dt, .rc-ammo dt { font-size: .86rem; color: var(--ink-soft); }
  .rc-rent { justify-content: space-between; }
  .rc-rent dd { order: -1; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 900; font-variation-settings: "wdth" 118; line-height: 1; letter-spacing: -.02em; background: linear-gradient(100deg, transparent .06em, rgb(245 226 58 / .9) .1em, rgb(245 226 58 / .75) calc(100% - .08em), transparent 100%); padding: 0 .1em; }
  .rc-ammo dd { font-weight: 800; font-size: .95rem; }
  .rc-ammo small { font-weight: 500; font-size: .84rem; color: var(--ink-soft); }
  .rc-stamp {
    position: absolute; top: 20%; left: 50%; translate: -50% 0; rotate: -10deg;
    padding: 4px 10px; border: 3px solid currentColor; border-radius: 4px;
    color: var(--red-deep); background: rgb(251 250 246 / .9);
    font-weight: 900; font-variation-settings: "wdth" 110; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
    z-index: 2; pointer-events: none;
  }
  .rc.is-out .rc-photo img { filter: grayscale(1); opacity: .7; }
  .rack-empty { margin-top: 22px; text-align: center; padding: 22px; font-weight: 600; }
  .rack-empty[hidden] { display: none; }
  .rack-empty button { border: 0; background: none; cursor: pointer; padding: 4px; font-size: inherit; }
  .rack-foot { margin: 34px auto 0; max-width: 60ch; padding: 12px 18px; background: var(--paper); box-shadow: var(--shadow-paper); rotate: .4deg; font-size: .95rem; text-align: center; }
  .members-only { margin-top: 22px; display: inline-block; max-width: 44ch; padding: 12px 16px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .3); rotate: -.8deg; }
  .is-green p.members-only { color: var(--ink); }

  /* Events */
  .event-when { font-weight: 800; font-variation-settings: "wdth" 110; font-size: 1.15rem; margin-top: 12px; }
  .event-where { color: var(--ink-soft); margin-top: 2px; }
  .upcoming .event-when + p, .upcoming .event-where + p { margin-top: 14px; }
  .upcoming .print { margin-top: 22px; }
  .event-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .event-extra .print { padding: 5px 5px 5px; margin-top: 14px; }
  .event-extra .print::after { display: none; }
  .results { list-style: decimal; padding-left: 1.4em; margin-top: 16px; }
  .results li { padding-left: 4px; font-variant-numeric: tabular-nums; }
  .results li + li { margin-top: 6px; }
  .results li::marker { font-weight: 800; }
  .prose { margin-top: 16px; max-width: 68ch; }
  .prose p + p { margin-top: .9em; }
  .link-list { margin-top: 14px; display: grid; gap: 10px; }

  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

  /* Contact form */
  .form { display: grid; gap: 18px; margin-top: 18px; }
  .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
  .form input:not([type="checkbox"]), .form select, .form textarea {
    width: 100%;
    border: 0;
    border-bottom: 2px solid var(--ink);
    background: transparent;
    padding: 8px 2px;
    font-weight: 400;
    font-size: 1.05rem;
    border-radius: 0;
  }
  .form textarea {
    resize: vertical;
    line-height: 32px;
    background: repeating-linear-gradient(180deg, transparent 0 31px, rgb(35 80 160 / .35) 31px 32px);
    border-bottom: 0;
  }
  .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background-color: rgb(245 226 58 / .25); }
  .form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; }
  .form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
  .form-note { font-size: .95rem; font-weight: 600; }
  .form-note[data-tone="ok"] { color: var(--green); }
  .form-note[data-tone="error"] { color: var(--red-deep); }
  .form .btn:disabled { opacity: .6; cursor: progress; }

  /* Lightbox */
  .lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; overflow: visible; }
  .lightbox::backdrop { background: rgb(26 16 8 / .86); }
  .lightbox figure { background: #fff; padding: 12px 12px 0; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); }
  .lightbox img { max-width: calc(92vw - 24px); max-height: calc(92vh - 70px); width: auto; height: auto; }
  .lightbox figcaption { font-family: var(--hand); font-weight: 700; font-size: 1.15rem; padding: 10px 4px 12px; color: #1d2a6b; min-height: 46px; }
  .lightbox-close { position: absolute; top: -18px; right: -14px; z-index: 2; border: 0; cursor: pointer; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; cursor: pointer; }
  .lightbox-prev { left: -18px; } .lightbox-next { right: -18px; }

  .empty { text-align: center; }
  .empty .poster-title { font-size: clamp(2rem, 4vw, 3.2rem); }

  .card-biz { background: #fff; padding: 26px 28px; font-variation-settings: "wdth" 95; border-radius: 4px; }
  .card-biz strong { display: block; font-size: 1.55rem; font-variation-settings: "wdth" 115; font-weight: 900; letter-spacing: -.01em; }
}

/* ---------- Motion ---------- */
@layer components {
  @media (prefers-reduced-motion: no-preference) {
    .js .pin-in { opacity: 0; transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 2.5deg)) scale(1.02); box-shadow: 0 30px 40px -18px rgb(40 20 0 / .5); }
    .js .pin-in.is-pinned {
      opacity: 1; transform: rotate(var(--r, 0deg)); box-shadow: var(--shadow-paper);
      transition: opacity .35s ease-out var(--delay, 0s), transform .7s var(--ease-out) var(--delay, 0s), box-shadow .7s var(--ease-out) var(--delay, 0s);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .sign { animation: none; }
    .note, .print, .btn, .dymo { transition: none !important; }
  }
}

/* ---------- Responsive ---------- */
@layer pages {
  @media (max-width: 1080px) {
    .nav { display: none; }
    .menu-button { display: block; }
    .nav.is-open {
      display: block;
      position: absolute; top: calc(100% + 10px); right: clamp(12px, 3vw, 40px); left: clamp(12px, 3vw, 40px);
      background: var(--paper); color: var(--ink);
      padding: 34px 22px 22px;
      box-shadow: var(--shadow-lift);
      transform: rotate(-.6deg);
    }
    .nav.is-open::before { content: ""; position: absolute; top: 10px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fffd 0 2px, transparent 3px), var(--red); box-shadow: 2px 4px 3px rgb(30 15 0 / .4); }
    .nav.is-open ul { flex-direction: column; align-items: stretch; gap: 10px; }
    .nav.is-open .dymo { font-size: 1rem; padding: .7em .9em; display: block; text-align: left; }
    .span-3, .span-4 { grid-column: span 6; }
    .span-5, .span-7 { grid-column: span 12; }
    .span-6 { grid-column: span 6; }
    .span-8 { grid-column: span 12; }
    .start-2, .start-3 { grid-column-start: auto; }
    .footer { grid-template-columns: 1fr 1fr; }
  }
  @media (min-width: 721px) { .rack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1081px) { .rack { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 720px) {
    body { font-size: 1rem; }
    .grid { grid-template-columns: minmax(0, 1fr); }
    .grid > * { grid-column: 1 / -1 !important; }
    .drop-1, .drop-2 { margin-top: 0; }
    .note, .print { transform: rotate(calc(var(--r, 0deg) * .5)); }
    .js .pin-in.is-pinned { transform: rotate(calc(var(--r, 0deg) * .5)); }
    .brand img { width: 44px; height: 44px; }
    .brand-text span { display: none; }
    .tabs a, .tabs span { min-height: 112px; font-size: .82rem; }
    .form .row { grid-template-columns: 1fr; }
    .footer { grid-template-columns: 1fr; }
    .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; } .lightbox-close { right: 4px; }
    .rack { gap: 12px; }
    .rc.note { padding: 6px 6px 12px; gap: 6px; }
    .rc-title { font-size: 1rem; }
    .rc-facts, .rc-details { font-size: .86rem; }
    .rc-details { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .rc-rent dd { font-size: 1.4rem; }
    .rc-stamp { font-size: .78rem; padding: 3px 7px; }
    .rack-tools { padding: 18px 14px 14px; gap: 14px; }
    .chip span { padding: 0 11px; font-size: .9rem; }
    .grid.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .grid.photo-grid > * { grid-column: auto !important; }
    .photo-grid .drop-1 { margin-top: 18px; }
    .photo-grid .print { padding: 6px 6px 0; }
    .photo-grid .print.no-caption { padding-bottom: 6px; }
    .photo-grid .print .print-cap { font-size: .9rem; }
    .stamp { display: none; }
    .poster-title { font-size: clamp(2.05rem, 11vw, 2.6rem); }
    .target-card { max-width: 300px; margin-inline: auto; }
    .sign { min-width: 200px; }
    .sign strong { font-size: 1.8rem; }
  }
}
