/* VieVin v8 — carnet de cave: the wine is the line.
   A sommelier's notebook on good paper: serious, editorial, generous white space, wine-list conventions (small caps,
   old-style numerals, dotted leaders, thin rules). The only ornament is one free pencil line (src/app.js) that continues
   the logo's own stroke from the glass. The chalkboard map is the one strong image. Caveat is used only on the map. */
:root {
  color-scheme: light;
  --paper: #FBF8F4;
  --paper-2: #F4EEE7;
  --ink: #1C1416;
  --muted: #6A5F5B;
  --rule: #E0D5CB;
  --rule-2: #C9BCB1;
  --graphite: #4D4846;
  --wine: #89132B;
  --wine-1: #A3203A;
  --wine-2: #6E0E22;
  --surf: #C4485E;
  --wine-soft: rgb(137 19 43 / .1);
  --on-wine: #FBF8F4;
  --board: #1E1F1F;
  --chalk: #EDE6D3;
  --f-display: "Piazzolla", "Noto Serif", Georgia, serif;
  --f-body: "Ysabeau Office", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --s-1: clamp(.8rem, .78rem + .1vw, .86rem);
  --s0: clamp(1.02rem, .98rem + .18vw, 1.12rem);
  --s1: clamp(1.15rem, 1.08rem + .3vw, 1.32rem);
  --s2: clamp(1.4rem, 1.25rem + .6vw, 1.8rem);
  --s3: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  --s4: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
  --maxw: 1200px;
  --gut: 18px;
  --gut-l: 40px;
  --top-h: 64px;
  --sec: clamp(54px, 6.3vw, 92px);
  /* the page background travels through these as you scroll (app.js interpolates into --bg) */
  --bg-straw: #FBF7EC;
  --bg-paper: #FBF8F4;
  --bg-rose: #FBF0EC;
  --bg-rouge: #F7E7E6;
  --map-label: #4A4541;
  --map-label-2: #6F6963;
  --map-leader: #8C857D;
  --room-wine: #F48A9C;
  --pencil-u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'%3E%3Cpath d='M1 2.7C18 1.5 38 3.3 58 2.3S88 1.5 99 2.5' fill='none' stroke='%234A4541' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 760px) { :root { --gut: 56px; --gut-l: 56px; --top-h: 76px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --pencil-u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'%3E%3Cpath d='M1 2.7C18 1.5 38 3.3 58 2.3S88 1.5 99 2.5' fill='none' stroke='%23D9D1CA' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); --map-label: #E6DFD8; --map-label-2: #B3AAA3; --map-leader: #7D746D; --bg-straw: #15130F; --bg-paper: #131011; --bg-rose: #170F10; --bg-rouge: #1C0E12; --paper: #131011; --paper-2: #1C1719; --ink: #F1EAE4; --muted: #ADA19B; --rule: #352D2E; --rule-2: #4A4041; --graphite: #C9C2BC; --wine: #E06A80; --wine-1: #C2354F; --wine-2: #7E1229; --surf: #E8899A; --wine-soft: rgb(224 106 128 / .14); --on-wine: #131011; color-scheme: dark; }
}
:root[data-theme="dark"] { --pencil-u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'%3E%3Cpath d='M1 2.7C18 1.5 38 3.3 58 2.3S88 1.5 99 2.5' fill='none' stroke='%23D9D1CA' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); --map-label: #E6DFD8; --map-label-2: #B3AAA3; --map-leader: #7D746D; --bg-straw: #15130F; --bg-paper: #131011; --bg-rose: #170F10; --bg-rouge: #1C0E12; --paper: #131011; --paper-2: #1C1719; --ink: #F1EAE4; --muted: #ADA19B; --rule: #352D2E; --rule-2: #4A4041; --graphite: #C9C2BC; --wine: #E06A80; --wine-1: #C2354F; --wine-2: #7E1229; --surf: #E8899A; --wine-soft: rgb(224 106 128 / .14); --on-wine: #131011; color-scheme: dark; }
/* the wine room: deep rouge */
.dark { --paper: #2A0B14; --paper-2: #3A111D; --ink: #F8EEEA; --muted: #D9BEC3; --rule: #5A2534; --rule-2: #75364A; --wine: #F48A9C; --on-wine: #2A0B14; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); overflow-x: clip; }
html.fiche-open { overflow: hidden; }
/* v10: the travelling background colour is one fixed layer (.bgl, colour set by app.js), not a variable on :root (that restyled the
   whole page on every scroll) */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.62 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
::selection { background: var(--wine); color: var(--on-wine); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.012em; font-variant-numeric: oldstyle-nums; }
h1 em, h2 em { font-style: italic; color: var(--wine); font-weight: 300; }
h2 { font-size: var(--s3); font-weight: 300; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: max(var(--gut-l), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 70; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* wine-list labels: small caps, tracked */
.eyebrow, .sec-label, .ev-h, .lc-reg, .ci-k, .fp-facts th { font-variant-caps: all-small-caps; letter-spacing: .13em; font-weight: 600; }
.eyebrow { font-size: 1.02rem; color: var(--muted); }
.sec-label { display: block; font-size: 1.02rem; color: var(--wine); margin-bottom: 14px; }
.sec-lead { color: var(--muted); max-width: 46ch; font-size: var(--s1); line-height: 1.5; font-weight: 300; margin-top: 18px; }
section { position: relative; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 .96rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--wine); color: var(--on-wine); }
.btn-ghost { color: var(--ink); border-color: var(--rule-2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wine { background: var(--wine); color: var(--on-wine); }
.btn-wine:hover { background: var(--ink); color: var(--paper); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--wine); font-weight: 600; text-decoration: none; padding-block: 8px; display: inline-block; }
.link-arrow:hover { text-decoration: underline; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: border-color .2s, opacity .2s; flex: none; }
.arrow:hover { border-color: var(--ink); }
.arrow:disabled { opacity: .3; cursor: default; }

/* ---------- header: quiet, sticky ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg, var(--paper)); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: linear-gradient(var(--bg, var(--paper)), transparent); pointer-events: none; opacity: 0; transition: opacity .3s; }
.top.scrolled::after { opacity: 1; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--top-h); max-width: var(--maxw); margin-inline: auto; padding-left: max(var(--gut-l), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; margin-right: auto; }
.brand-mark { height: 46px; width: auto; }
.brand-word { font: italic 400 1.62rem var(--f-display); letter-spacing: -.01em; }
@media (min-width: 760px) { .brand { gap: 6px; } .brand-mark { height: 53px; } .brand-word { font-size: 1.88rem; } }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; padding-block: 8px; position: relative; transition: color .2s; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--ink); }
.nav-list a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--wine); }
.langs { display: flex; font-size: .82rem; letter-spacing: .06em; font-weight: 600; }
.langs a { text-decoration: none; padding: 10px 6px; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--wine); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-nav { position: absolute; right: 0; top: 52px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 8px; min-width: 220px; box-shadow: 0 16px 40px rgb(0 0 0 / .12); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-list a { display: block; padding: 11px 12px; text-decoration: none; font-family: var(--f-display); font-size: 1.15rem; }
.menu-list a[aria-current] { color: var(--wine); }
.nav { display: none; }
@media (min-width: 900px) { .nav { display: block; } .menu { display: none; } .top-in .brand { margin-right: 12px; } .nav { margin-right: auto; margin-left: 24px; } }
@media (max-width: 899px) { .top-in { gap: 10px; } }

/* ---------- the pencil line ---------- */
.page { position: relative; }
/* the line is the wine that leaves the glass: wine on paper, a lighter rosé inside the dark room (app.js clips two copies) */
.line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 5; }
.line .wl-a { color: var(--wine); }
.line .wl-b { color: var(--room-wine); }
.line .pl { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.line .pl-string { stroke-width: 1.9; }
.line .pl-tip { fill: currentColor; stroke: none; }
main { display: block; }
/* blocks appear when the tip reaches them (html.lj = the line is running) */
.lj [data-rv] { opacity: 0; transform: translateY(12px); transition: opacity .75s ease, transform .75s var(--ease); }
.lj [data-rv].rv-on { opacity: 1; transform: none; }
.measure [data-rv] { transform: none !important; transition: none !important; }
/* safety net: if the engine never starts, show everything */
.lj:not(.lj-on) [data-rv], .lj:not(.lj-on) .lc-group .lc-list > li { animation: failsafe .3s 4s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }
main > section, .foot { position: relative; z-index: 1; }

/* ---------- logo ---------- */
.ink { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.w-1 { stop-color: var(--wine-1); }
.w-2 { stop-color: var(--wine-2); }
.surf { fill: none; stroke: var(--surf); stroke-width: 1.1; stroke-linecap: round; opacity: .85; }
.brand-mark .ink { stroke-width: 3; }
.brand-mark .surf { display: none; }
.hero-logo .ink { stroke-width: 1.2; }
/* entry (v9): one pen movement from the bottle's base to the rim, then the word, then the wine (app.js); render.js sets --d/--t */
/* v11: drawn by one JS pen (app.js heroEntry/replayHero) — single stroke, constant speed; only stroke-dashoffset changes */
.js .hero-logo { will-change: transform; }
.js .hero-logo .ln { stroke-dasharray: 1 2; stroke-dashoffset: 1.5; }
.hero-done .hero-logo .ln { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- hero: a wine label — one centred axis, the logo large in the middle ---------- */
.hero { padding-block: clamp(14px, 2vw, 28px) clamp(64px, 6vw, 84px); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 0; min-height: calc(100svh - var(--top-h) - var(--strip-h, 0px) - clamp(78px, 8vw, 112px)); }
.hero .eyebrow { margin-bottom: 14px; }
.hero-logo { display: block; width: auto; height: min(46vh, 470px); overflow: visible; }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); margin-top: 22px; max-width: 18ch; font-weight: 300; line-height: 1.08; }
.hero .lead { font-size: var(--s1); line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 46ch; font-weight: 300; }
.hero .ctas { margin-top: 24px; justify-content: center; }
.js .hero-in > :not(.hero-art) { opacity: 0; animation: rise 1.1s var(--ease) forwards; animation-delay: 1.3s; }
.js .hero-in > .eyebrow { animation-delay: .1s; }
.js .hero-in > .lead { animation-delay: 1.65s; }
.hero-done .hero-in > * { animation: none; opacity: 1; }
/* phones: the text keeps clear of the right edge, where the wine runs down */
@media (max-width: 759px) {
  .hero { padding-bottom: 80px; }
  .hero-in { padding-right: 34px; }
  .hero-logo { height: min(36vh, 300px); }
  .hero .btn { padding: 0 18px; }
  .hero .ctas { gap: 10px; }
}

/* ---------- about ---------- */
.about { padding-block: 0 var(--sec); }
.about-in { display: grid; gap: 40px; align-items: center; }
.about-txt h2 { max-width: 15ch; }
.about-p { display: grid; gap: 14px; max-width: 56ch; margin-top: 20px; }
.about-p p:first-child { font-size: var(--s1); line-height: 1.5; font-weight: 300; }
.about-p p + p { color: var(--muted); }
/* facts like a wine list: numerals in Piazzolla (old-style), labels in small caps, thin rules */
/* v14: one shared value column (subgrid) so the three labels line up whatever the length of the values */
.facts { margin: 26px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 22px; max-width: 560px; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.facts dd { margin: 0; font: 300 1.7rem/1.1 var(--f-display); font-variant-numeric: oldstyle-nums; }
.facts dt { font-variant-caps: all-small-caps; letter-spacing: .12em; font-weight: 600; color: var(--muted); font-size: 1rem; line-height: 1.3; }
.about-cta { margin-top: 22px; }
/* the photo: no frame; the pencil line holds it in a loose loop (room for the loop: 56px around) */
.about-ph { margin: 80px auto; width: min(calc(100% - 150px), 240px); }
.about-ph { overflow: hidden; }
.about-ph img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.88) contrast(1.02); }
/* v10: the photo drifts a few px inside its frame as the page scrolls (app.js, transform only) */
.lj .about-ph img { transform: scale(1.07); will-change: transform; }
@media (min-width: 900px) {
  .about-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(110px, 10vw, 150px); }
  .about-ph { width: min(100%, 270px); margin: 58px 30px 58px auto; }
}

/* ---------- producers: the big board, then La carte ---------- */
.producers { padding-block: 0 var(--sec); }
.sec-head { max-width: 720px; }
/* the map on paper: no board; the pencil traces France, regions in coloured pencil, graphite labels */
.board { position: relative; margin: 64px 0 0; }
@media (min-width: 1100px) { .board { margin-inline: -32px; } }
@media (max-width: 899px) { .board { margin: 76px calc(-1 * max(var(--gut), env(safe-area-inset-right, 0px))) 0 calc(-1 * max(var(--gut-l), env(safe-area-inset-left, 0px))); } }
.chalk { display: block; width: 100%; height: auto; overflow: visible; }
.chalk-ol { position: absolute; left: 0; top: 0; pointer-events: none; }
/* own compositing layers: the filtered map is rasterised once; the page line repaints only itself */
.js .chalk:not(.chalk-ol), .js .chalk-ol, .js .line { will-change: transform; }
.bgl { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--paper); }

.ch-line, .ch-exit { fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.js .ch-line, .js .ch-exit { stroke-dasharray: 0 2; }
.ch-wash { stroke: none; mix-blend-mode: multiply; opacity: .9; pointer-events: none; transition: opacity .4s; --o: .9; }
.ch-patch { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: opacity .4s; pointer-events: none; mix-blend-mode: multiply; }
.ch-patch.fine { stroke-width: 1.05; opacity: .9; }
.ch-patch.fine.ours { opacity: .85; }
/* dark paper: the pigments lighten instead of darken */
:root[data-theme="dark"] .ch-patch, :root[data-theme="dark"] .ch-wash { mix-blend-mode: screen; }
:root[data-theme="dark"] .ch-wash { --o: .22; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ch-patch, :root:not([data-theme="light"]) .ch-wash { mix-blend-mode: screen; } :root:not([data-theme="light"]) .ch-wash { --o: .22; } }
.ch-leader { fill: none; stroke: var(--map-leader); stroke-width: .9; stroke-linecap: round; }
.ch-label { font-family: var(--f-hand); font-weight: 500; fill: var(--map-label-2); }
.ch-label.ours { fill: var(--map-label); }
.ch-mlabel { display: none; font-family: var(--f-hand); font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--bg-rose, var(--paper)); stroke-width: 7px; stroke-linejoin: round; pointer-events: none; }
.ch-paris { font-family: var(--f-hand); font-size: 16px; letter-spacing: 2px; fill: var(--muted); }
.ch-star { fill: var(--graphite); }
.ch-pin { cursor: pointer; outline: none; }
.pin-s { --ps: 1; transform: scale(var(--ps)); }
.pin-hit { fill: transparent; }
.pin-ring { fill: none; stroke: var(--wine); stroke-width: 2; opacity: 0; transition: opacity .25s, transform .3s var(--ease); transform-box: fill-box; transform-origin: center; transform: scale(.6); }
.pin-dot { fill: var(--ink); stroke: var(--bg-rose, var(--paper)); stroke-width: 1.6; pointer-events: none; }
/* the producer's name in graphite handwriting next to its pin: on hover/focus of the pin or its row in La carte */
.ch-pname { font-family: var(--f-hand); font-weight: 500; font-size: 30px; fill: var(--ink); paint-order: stroke; stroke: var(--bg-rose, var(--paper)); stroke-width: 8px; stroke-linejoin: round; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ch-pin:hover .pin-ring, .ch-pin:focus-visible .pin-ring, .ch-pin.hl .pin-ring { opacity: 1; transform: none; }
.ch-pin:hover .pin-dot, .ch-pin.hl .pin-dot { fill: var(--wine); }
.ch-pin:hover .ch-pname, .ch-pin:focus-visible .ch-pname, .ch-pin.hl .ch-pname { opacity: 1; }
.board.pick .ch-pin:not(.hl) { opacity: .55; }
.ch-pin { transition: opacity .25s; }
@media (max-width: 899px) {
  .ch-leader, .ch-label { display: none; }
  .ch-mlabel { display: inline; }
  .ch-paris { display: none; }
  .ch-pname { font-size: 40px; }
  .pin-s { --ps: 1.4; }
}
/* drawing sequence once the pencil has closed the outline */
.js .board .ch-wash, .js .board .ch-patch, .js .board .ch-label, .js .board .ch-mlabel, .js .board .ch-paris, .js .board .ch-star { opacity: 0; }
.js .board .ch-leader { stroke-dasharray: 1 2; stroke-dashoffset: 1.5; }
.js .board .pin-s { opacity: 0; transform: scale(calc(var(--ps) * .6)); }
.js .board .ch-pins { pointer-events: none; }
.js .board.drawn .ch-pins { pointer-events: auto; }
.js .board.drawn .ch-patch, .js .board.drawn .ch-wash { animation: fadeTo .9s ease forwards; animation-delay: calc(var(--i) * 140ms); }
.js .board .ch-patch { --o: .6; } .js .board .ch-patch.fine { --o: .9; } .js .board .ch-patch.fine.ours { --o: .85; }
.js .board.drawn .ch-leader { animation: draw .6s ease-out forwards; animation-delay: calc(.6s + var(--i) * 120ms); }
.js .board.drawn .ch-label, .js .board.drawn .ch-mlabel { animation: labelIn .7s ease-out forwards; animation-delay: calc(.85s + var(--i) * 120ms); --o: 1; --dx: calc(-5px * var(--dir, 1)); }
.js .board.drawn .ch-label.a-end { --dx: calc(5px * var(--dir, 1)); }
.js .board.drawn .ch-label.ours, .js .board.drawn .ch-mlabel { --o: 1; }
.js .board.drawn .ch-star, .js .board.drawn .ch-paris { animation: fadeTo .6s ease 2.3s forwards; --o: 1; }
.js .board.drawn .pin-s { animation: pinIn .65s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: calc(2.5s + var(--i) * 110ms); }
.js .board.drawn.settled .ch-wash, .js .board.drawn.settled .ch-patch, .js .board.drawn.settled .ch-label, .js .board.drawn.settled .ch-mlabel, .js .board.drawn.settled .pin-s, .js .board.drawn.settled .ch-star, .js .board.drawn.settled .ch-paris { animation: none; opacity: var(--o, 1); transform: scale(var(--ps, 1)); }
.js .board.drawn.settled .ch-label { transform: none; }
/* the line is erased back above the map: everything on it fades (it is drawn again, differently, next time) */
.js .board.drawn.fading .ch-wash, .js .board.drawn.fading .ch-patch, .js .board.drawn.fading .ch-label, .js .board.drawn.fading .ch-mlabel, .js .board.drawn.fading .ch-star, .js .board.drawn.fading .ch-paris, .js .board.drawn.fading .pin-s, .js .board.drawn.fading .ch-leader { animation: fadeAway .6s ease forwards !important; }
@keyframes fadeAway { from { opacity: var(--o, 1); } to { opacity: 0; } }
/* hovering a producer in La carte tints its region a little stronger */
.ch-patch.rg-hl, .ch-wash.rg-hl { opacity: 1 !important; }
.ch-patch.rg-hl { stroke-width: 1.5 !important; }
@keyframes fadeTo { to { opacity: var(--o, 1); } }
@keyframes labelIn { from { opacity: 0; transform: translateX(var(--dx)); } to { opacity: var(--o, 1); transform: none; } }
@keyframes pinIn { to { opacity: 1; transform: scale(var(--ps)); } }

/* La carte: the producers as a wine list, grouped by region; scales to dozens of producers */
.carte { margin-top: 48px; }
/* one column: the line crosses this gap to reach the margin */
@media (max-width: 899px) { .carte { margin-top: 76px; } }
.lc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); max-width: 100%; }
.lc-title { font: italic 300 var(--s2)/1.1 var(--f-display); }
.lc-note { color: var(--muted); font-size: .95rem; max-width: 44ch; }
.lc-note a { color: var(--wine); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lc-note a:hover { text-decoration: underline; }
.lc-cols { margin-top: 30px; columns: 1; }
@media (min-width: 900px) { .lc-cols { columns: 2; column-gap: 128px; } .lc-head { max-width: calc(50% - 64px); border-bottom: 0; padding-bottom: 0; } .lc-cols { border-top: 1px solid var(--ink); padding-top: 26px; } }
.lc-group { break-inside: avoid; padding-bottom: 20px; }
.lc-reg { font-size: 1rem; color: var(--wine); margin: 0 0 6px; }
.lc-list { list-style: none; margin: 0; padding: 0; }
.lc-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); transition: color .2s; }
.lc-name { font: 400 1.14rem/1.3 var(--f-display); padding-bottom: 3px; background: var(--pencil-u) 0 100% / 0% 4px no-repeat; transition: background-size .45s cubic-bezier(.4,.1,.2,1); }
.lc-row:hover .lc-name, .lc-row.hl .lc-name, .lc-row:focus-visible .lc-name { background-size: 100% 4px; }
.lc-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1.5px dotted var(--rule-2); transform: translateY(-5px); }
.lc-place { color: var(--muted); font-size: .95rem; text-align: right; }
.lc-arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.lc-row:hover, .lc-row.hl, .lc-row:focus-visible { color: var(--wine); }
.lc-row:hover .lc-arrow, .lc-row.hl .lc-arrow, .lc-row:focus-visible .lc-arrow { color: var(--wine); transform: translateX(3px); }
.lc-row:focus-visible { outline-offset: 2px; }

/* ---------- the fiche: a page of a fine wine catalogue ---------- */
.fiche { border: 0; padding: 0; width: min(980px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: 0 40px 100px rgb(0 0 0 / .35); overflow: hidden; }
.fiche::backdrop { background: rgb(28 20 22 / .58); backdrop-filter: blur(3px); }
.fiche[open] { animation: drawout .42s cubic-bezier(.2,.7,.2,1); }
@keyframes drawout { from { opacity: 0; transform: translateY(34px) rotate(-1.2deg) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes dlg { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.fiche-sheet { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 30px 46px 32px; }
.fiche-line { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.fiche-line path { fill: none; stroke: var(--graphite); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.fiche-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.fiche-count { font: 400 1rem var(--f-display); font-variant-numeric: oldstyle-nums tabular-nums; color: var(--muted); min-width: 4.5em; text-align: center; }
.fiche-x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.fiche-x:hover { border-color: var(--ink); }
.js .fp:not(.on) { display: none; }
/* v10: the whole page fits the screen — the photo's height follows the viewport, the facts are one compact row */
.fp { display: grid; gap: 20px; }
@media (min-width: 900px) { .fp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: start; } }
.fp-media { display: grid; gap: 10px; }
.fp-main { position: relative; aspect-ratio: 3 / 2; max-height: min(52vh, 420px); width: 100%; background: var(--paper-2); overflow: hidden; }
@media (max-width: 899px) { .fp-main { aspect-ratio: auto; height: min(30vh, 320px); } }
.fp-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.fp-main img.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.fp-thumbs { display: flex; gap: 10px; }
.fp-thumb { width: 92px; aspect-ratio: 3 / 2; padding: 0; border: 1px solid var(--rule-2); background: var(--paper-2); cursor: pointer; overflow: hidden; transition: border-color .2s; }
.fp-thumb:hover { border-color: var(--ink); }
.fp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-txt { display: grid; gap: 8px; align-content: start; }
.fp .fp-logo { height: 36px; width: 170px; max-width: 70%; margin-bottom: 2px; -webkit-mask-position: left center; mask-position: left center; }
.fp h3 { font-size: clamp(1.55rem, 1.25rem + .9vw, 1.95rem); outline: none; }
.fp-place { color: var(--muted); font-size: .94rem; line-height: 1.4; }
.fp-line { font: italic 300 clamp(1.08rem, 1rem + .3vw, 1.22rem)/1.38 var(--f-display); margin-top: 2px; }
.fp-text { color: var(--muted); max-width: 60ch; font-size: .98rem; line-height: 1.56; }
/* the facts: one compact row (label over value) */
.fp-facts { display: block; width: 100%; margin-top: 6px; }
.fp-facts tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); column-gap: 18px; row-gap: 8px; padding-block: 9px; border-block: 1px solid var(--rule); }
.fp-facts tr { display: grid; align-content: start; gap: 1px; }
.fp-facts th, .fp-facts td { display: block; padding: 0; text-align: left; }
.fp-facts th { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.fp-facts td { font-family: var(--f-display); font-variant-numeric: oldstyle-nums; line-height: 1.3; }
.fp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 8px; }
.fp-links { display: flex; gap: 18px; }
.fp-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; padding-block: 6px; }
.fp-links a:hover { color: var(--wine); }
.plogo { display: block; min-width: 0; max-width: 100%; background: var(--ink); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.plogo-text { background: none; -webkit-mask: none; mask: none; font: italic 500 1.4rem/1.1 var(--f-display); display: flex; align-items: center; letter-spacing: .01em; aspect-ratio: auto; }
/* phones: a full-screen sheet with the same structure */
@media (max-width: 699px) {
  .fiche { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .fiche-sheet { max-height: 100dvh; height: 100dvh; padding: 14px 20px 16px; }
  .fiche-bar { margin-bottom: 10px; }
  .fiche-bar .arrow, .fiche-x { width: 40px; height: 40px; }
  .fp { gap: 10px; }
  .fp-media { gap: 8px; }
  .fp-main { height: min(23vh, 220px); }
  .fp-thumb { width: 62px; }
  .fp-txt { gap: 5px; }
  .fp .fp-logo { height: 26px; margin-bottom: 0; }
  .fp h3 { font-size: 1.42rem; }
  .fp-place { font-size: .86rem; }
  .fp-line { font-size: 1.02rem; margin-top: 0; }
  .fp-text { font-size: .9rem; line-height: 1.48; }
  .fp-facts { margin-top: 2px; }
  .fp-facts tbody { padding-block: 6px; column-gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-facts th { font-size: .74rem; }
  .fp-facts td { font-size: .9rem; }
  .fp-foot { margin-top: 4px; gap: 8px 16px; flex-wrap: nowrap; justify-content: space-between; }
  .fp-links { gap: 12px; }
  .fp-ask { min-height: 44px; padding: 0 16px; font-size: .88rem; white-space: nowrap; }
}
/* La carte: each region's rows follow its name in, one after another (v10; transform/opacity only) */
.lj .lc-group .lc-list > li { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s var(--ease); }
.lj .lc-group.rv-on .lc-list > li { opacity: 1; transform: none; }
.lj .lc-group.rv-on .lc-list > li:nth-child(1) { transition-delay: .12s; } .lj .lc-group.rv-on .lc-list > li:nth-child(2) { transition-delay: .2s; }
.lj .lc-group.rv-on .lc-list > li:nth-child(3) { transition-delay: .28s; } .lj .lc-group.rv-on .lc-list > li:nth-child(n+4) { transition-delay: .36s; }
.measure .lc-group .lc-list > li { transform: none !important; transition: none !important; }
/* the page's parts come in one after another when it opens or turns (v10) */
.fiche[open] .fp.on .fp-media, .fiche[open] .fp.on .fp-txt > * { animation: rise .5s var(--ease) both; }
.fiche[open] .fp.on .fp-txt > :nth-child(1) { animation-delay: .06s; } .fiche[open] .fp.on .fp-txt > :nth-child(2) { animation-delay: .1s; }
.fiche[open] .fp.on .fp-txt > :nth-child(3) { animation-delay: .14s; } .fiche[open] .fp.on .fp-txt > :nth-child(4) { animation-delay: .18s; }
.fiche[open] .fp.on .fp-txt > :nth-child(5) { animation-delay: .22s; } .fiche[open] .fp.on .fp-txt > :nth-child(6) { animation-delay: .26s; }
.fiche[open] .fp.on .fp-txt > :nth-child(n+7) { animation-delay: .3s; }
/* no JS: the fiches are simply listed under La carte */
html:not(.js) .fiche { display: block; position: static; width: auto; max-height: none; box-shadow: none; margin-top: 56px; background: transparent; }
html:not(.js) .fiche-sheet { max-height: none; padding: 0; }
html:not(.js) .fiche-bar, html:not(.js) .fiche-line { display: none; }
html:not(.js) .fp { padding-block: 40px; border-top: 1px solid var(--rule); }

/* ---------- events: the dark room, compact ---------- */
.events { padding-block: clamp(56px, 6vw, 88px); background: var(--paper); color: var(--ink); max-width: calc(var(--maxw) - 2 * var(--gut)); margin-inline: auto; border-radius: 14px; }
.events .wrap { padding-inline: clamp(20px, 3.4vw, 44px); }
@media (max-width: 1311px) and (min-width: 760px) { .events { margin-inline: var(--gut); } }
@media (max-width: 759px) { .events { margin-left: 24px; margin-right: 8px; } .events .wrap { padding-inline: 16px; } }
.events { padding-block: clamp(36px, 3.6vw, 54px) !important; }
.ev-intro { display: grid; gap: 28px; }
@media (min-width: 1000px) { .ev-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } .ev-intro .ev-upw, .ev-intro .ev-none { margin-top: 6px; } }
.ev-h { font-size: 1rem; color: var(--muted); margin: 0 0 14px; }
.ev-upw { margin-top: 0; }
.ev-none { display: grid; gap: 18px; padding: 24px; border: 1px dashed var(--rule-2); border-radius: 10px; }
@media (min-width: 800px) { .ev-none { grid-template-columns: 1.2fr 1fr; align-items: center; } .ev-none .ctas { justify-content: flex-end; } }
.ev-up { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.evu { position: relative; display: grid; gap: 14px; padding: 16px 16px 14px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--paper-2); transform: rotate(var(--tilt, 0deg)); box-shadow: 0 16px 30px -22px rgb(0 0 0 / .8); }
/* the push-pin lands when the card appears */
.pushpin { position: absolute; z-index: 2; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #FFC4CE 0 14%, #D23A57 38%, #7E1229 78%); box-shadow: 0 3px 4px rgb(0 0 0 / .45); }
.lj .evu .pushpin { opacity: 0; transform: translate(var(--pdx, 0px), -22px) scale(1.6) rotate(var(--prot, 0deg)); transition: opacity .5s, transform .5s; }
/* lands every time the line comes down past the card (app.js toggles .pinned, with a slightly different drop each time) */
.lj .evu.pinned .pushpin { animation: land .7s cubic-bezier(.3,.7,.3,1) .1s forwards; }
@keyframes land { to { opacity: 1; transform: none; } }
.ev-up { gap: 30px; }
.btn-quiet { display: inline-flex; align-items: center; min-height: 40px; margin-top: 4px; color: var(--wine); font-weight: 600; font-size: .94rem; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--wine) 45%, transparent); }
.btn-quiet:hover { border-bottom-color: var(--wine); }
@media (min-width: 700px) { .evu { grid-template-columns: 124px 1fr; align-items: start; } }
.evu-poster { padding: 0; border: 0; background: none; cursor: zoom-in; max-width: 220px; }
.evu-poster img { border-radius: 3px; }
.evu-txt { display: grid; gap: 7px; justify-items: start; }
.evu-txt h4 { font-size: var(--s2); }
.evu-p { max-width: 62ch; font-size: .96rem; line-height: 1.52; }
.clothes { margin-top: 22px; }
.ev-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ev-bar .ev-h { margin: 0; }
.ev-bar-t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 2px; }
.ev-count { font-size: .9rem; color: var(--muted); font-variant-numeric: oldstyle-nums; }
.ev-nav { display: flex; gap: 8px; margin-left: auto; }
/* the row: posters hang from the pencil string (app.js places the pegs on its sag) */
.ev-row { list-style: none; margin: 0; padding: 0 0 12px; display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; outline-offset: 4px; }
.ev-row::-webkit-scrollbar { display: none; }
.ev-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.ev-row.dragging .ev-btn { pointer-events: none; }
.ev-row.more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); }
.ev-row.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.ev-row.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 80px), transparent); }
@media (max-width: 759px) {
  .ev-row { margin-right: 48px; }
  /* phones: a short fade only, so the last caption in view is not washed out */
  .ev-row.more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
  .ev-row.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent); }
}
/* v12: body text justified with hyphenation (lang is set on <html>; French and English pages carry theirs); narrow measures stay ragged */
.about-p p, .sec-lead, .fp-text, .evu-p, .news-in > div > p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; text-wrap: pretty; }
@media (max-width: 430px) { .evu-p, .news-in > div > p { text-align: left; -webkit-hyphens: manual; hyphens: manual; } }
@media (max-width: 380px) { .about-p p, .sec-lead, .fp-text { text-align: left; -webkit-hyphens: manual; hyphens: manual; } }
@media (max-width: 759px) { .ev-row { gap: 16px; } .ev-year { flex-basis: 50px; } }
.ev, .ev-year { position: relative; padding-top: 62px; }
.ev { flex: 0 0 clamp(160px, 14.5vw, 196px); scroll-snap-align: start; transform-origin: 50% 0; }
/* posters clip onto the string one by one as it is drawn past them, and stay */
/* v9: each peg lands on the string as the pen passes it, then its poster drops in and swings (app.js paces them ~200 ms apart and
   varies the swing on every pass); when the string is erased they leave again */
.lj .ev > .peg, .lj .ev-year > .peg { opacity: 0; transform: translateY(-26px) rotate(-8deg); transition: opacity .45s, transform .45s; }
.lj .ev.clip > .peg, .lj .ev-year.clip > .peg { opacity: 1; transform: none; animation: pegIn .45s cubic-bezier(.3,.7,.3,1) both; }
.lj .ev:not(.clip) > .ev-btn, .lj .ev-year:not(.clip) > .ev-y { opacity: 0; transition: opacity .5s; }
.lj .ev.clip > .ev-btn { animation: catch 1.25s cubic-bezier(.3,.6,.3,1) .2s backwards; }
.lj .ev-year.clip > .ev-y { animation: fadeTo .7s ease .2s backwards; --o: 1; }
/* v13: when the string is erased, each peg and its poster fall away, one after another as the line retracts */
.lj .ev.fall > .ev-btn, .lj .ev-year.fall > .ev-y { animation: fallAway .9s cubic-bezier(.45, 0, .85, .35) forwards; }
.lj .ev.fall > .peg, .lj .ev-year.fall > .peg { animation: pegFall .75s cubic-bezier(.45, 0, .85, .35) forwards; }
@keyframes fallAway { from { opacity: 1; transform: rotate(var(--r, 0deg)); } to { opacity: 0; transform: translateY(80px) rotate(calc(var(--r, 0deg) + var(--fr, 8deg))); } }
@keyframes pegFall { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(54px) rotate(var(--fr, 8deg)); } }
@keyframes pegIn { from { opacity: 0; transform: translateY(-26px) rotate(-8deg); } 70% { opacity: 1; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@keyframes catch { 0% { opacity: 0; transform: translateY(-22px) rotate(calc(var(--r) + var(--sw, 1) * -7deg)); } 40% { opacity: 1; transform: translateY(0) rotate(calc(var(--r) + var(--sw, 1) * 4.5deg)); } 68% { transform: rotate(calc(var(--r) + var(--sw, 1) * -2deg)); } 86% { transform: rotate(calc(var(--r) + var(--sw, 1) * .8deg)); } 100% { opacity: 1; transform: rotate(var(--r)); } }
.ev-year { flex: 0 0 72px; scroll-snap-align: start; }
/* posters in view also sway softly with the scroll's speed (app.js sets the individual `rotate` property) */
.ev-btn { transform: rotate(var(--r)); transform-origin: 50% 0; transition: transform .6s var(--ease); }
.ev:hover .ev-btn { transform: rotate(calc(var(--r) * -1)); }
.peg { position: absolute; z-index: 2; left: 50%; top: 4px; width: 9px; height: 80px; margin-left: -4.5px; border-radius: 2px; background: linear-gradient(90deg, #C9B79C, #E7D9C0 45%, #B9A588); box-shadow: 0 2px 3px rgb(0 0 0 / .35); }
.peg::after { content: ""; position: absolute; left: 3px; top: 10px; width: 3px; height: 3px; border-radius: 50%; background: #7A6A55; }
.ev-year .peg { left: 14px; margin-left: 0; }
.ev-y { display: block; padding: 4px 0 0 4px; font: italic 300 1.7rem/1 var(--f-display); font-variant-numeric: oldstyle-nums; color: var(--wine); }
.ev-btn { width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: zoom-in; display: grid; gap: 3px; }
.ev-poster { display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; background: var(--paper-2); margin-bottom: 10px; box-shadow: 0 14px 28px -16px rgb(0 0 0 / .7); }
.ev-poster img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ev-date { color: var(--wine); font-size: .86rem; font-weight: 600; font-variant-numeric: oldstyle-nums; }
.ev-t { font-family: var(--f-display); font-size: 1.06rem; line-height: 1.25; }
.ev-v { color: var(--muted); font-size: .9rem; }
.lb { border: 0; padding: 0; background: var(--paper); color: var(--ink); width: min(1000px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 6px; box-shadow: 0 30px 80px rgb(0 0 0 / .3); }
.lb::backdrop { background: rgb(20 12 14 / .66); backdrop-filter: blur(4px); }
.lb[open] { animation: dlg .35s var(--ease); }
.lb-in { display: grid; position: relative; }
.lb-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-fig { margin: 0; background: #111; display: flex; align-items: center; justify-content: center; }
.lb-fig img { max-height: 62dvh; width: auto; }
.lb-txt { padding: 24px 22px 28px; display: grid; gap: 10px; align-content: start; }
.lb-txt h3 { font-size: var(--s2); padding-right: 40px; }
.lb-txt a { color: var(--wine); }
.lb-nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.lb-count { font-size: .9rem; color: var(--muted); font-variant-numeric: oldstyle-nums tabular-nums; min-width: 4.5em; text-align: center; }
@media (max-width: 799px) { .lb-in { padding-top: 64px; } }
@media (min-width: 800px) { .lb-in { grid-template-columns: 1.1fr 1fr; } .lb-fig img { max-height: calc(100dvh - 24px); } .lb-txt { padding: 56px 40px 40px; } }

/* ---------- contact ---------- */
.contact { padding-block: var(--sec) calc(var(--sec) + 30px); }
.c-head { max-width: 720px; }
.c-top { display: grid; gap: 14px; }
.c-cart { width: 200px; justify-self: end; margin-right: 6px; }
@media (min-width: 900px) { .c-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; } .c-cart { width: 236px; position: relative; top: 30px; } }
/* the cart, drawn in the line's stroke; it rolls in along the ground, parks, and rolls away when a request is sent */
.cart { display: block; width: 100%; height: auto; overflow: visible; transform: translateX(var(--x, 0px)); }
.cart path, .cart circle { fill: none; stroke: var(--wine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-sign { font: italic 500 14px var(--f-display); fill: var(--wine); }
.cart-wheel { transform: rotate(calc(var(--spin, 0deg) + var(--hov, 0deg))); transition: transform .7s ease; }
.lj .cart .cs { stroke-dasharray: 0 2; }
.cart-sign { transition: opacity .7s; }
.lj .cart:not(.signed) .cart-sign { opacity: 0; }
.cart-load { opacity: 0; }
/* v13: one stroke while it is being drawn; once drawn, the identical drawing in parts takes over (its wheels can turn) */
.cart-parts { opacity: 0; }
.cart.parked .cart-parts, .cart.leaving .cart-parts, .cart.loaded .cart-parts, html:not(.lj) .cart-parts { opacity: 1; }
.cart.parked .cs, .cart.leaving .cs, .cart.loaded .cs, html:not(.lj) .cart .cs { opacity: 0; }
/* the small envelope the line draws at the Lettre de Vin card's top-left corner */
.mini-env { position: absolute; z-index: 2; left: -30px; top: -24px; width: 48px; height: 34px; overflow: visible; pointer-events: none; }
@media (max-width: 699px) { .mini-env { left: -6px; top: -26px; width: 42px; height: 30px; } }
.mini-env path { fill: none; stroke: var(--wine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lj .mini-env .me { stroke-dasharray: 0 2; }
.cart.loaded .cart-load { opacity: 1; }
.cart.rolling, .cart.rolling .cart-wheel { transition: transform 1.6s cubic-bezier(.2, .7, .25, 1); }
/* v14: after a message has been sent, a quiet way to write another */
.f-again { justify-self: start; background: none; border-width: 0 0 1px; border-style: solid; padding: 0; cursor: pointer; font-family: inherit; }
.cart.leaving { opacity: 0; transition: transform 1.4s cubic-bezier(.5,0,.75,.4), opacity .45s 1s; }
.cart.leaving .cart-wheel { transition: transform 1.4s cubic-bezier(.5,0,.75,.4); }
/* the sent message: the form folds into a wine case drawn in the line's stroke, the flaps close, the case goes onto the cart */
.pack-fly { position: absolute; z-index: 15; left: 0; top: 0; pointer-events: none; transform-origin: 0 0; }
.pack { display: block; width: 100%; height: 100%; overflow: visible; }
.pack path { fill: none; stroke: var(--wine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pack .pk-flap { fill: var(--bg, var(--paper)); }
.pack-fly.go { transition: transform .65s cubic-bezier(.45,0,.25,1); }
.form.packing { transform-origin: 0 0; transition: transform .65s cubic-bezier(.5,0,.3,1), opacity .4s ease .3s; opacity: 0; pointer-events: none; }
.cart.parked:hover { --hov: -36deg; }
.cart.gone { opacity: 0; transition: opacity .4s; }
.contact-in { display: grid; gap: 36px; margin-top: 84px; }
@media (min-width: 900px) { .contact-in { margin-top: 86px; } }
.c-info { order: -1; }
@media (min-width: 1000px) { .contact-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 80px; align-items: start; } .c-info { order: 0; } }
.cinfo { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.cinfo li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); }
@supports (grid-template-columns: subgrid) {
  .cinfo { display: grid; grid-template-columns: minmax(84px, max-content) minmax(0, 1fr) auto; column-gap: 18px; }
  .cinfo li { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 18px; }
}
.ci-k { font-size: 1rem; color: var(--muted); }
.ci-v { min-width: 0; overflow-wrap: anywhere; }
.ci-v a { text-decoration: none; }
.ci-v a:hover { color: var(--wine); }
.ci-v small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.copy { font: 600 .76rem var(--f-body); color: var(--muted); background: none; border: 1px solid var(--rule-2); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink); }
.form { display: grid; gap: 22px; align-content: start; min-width: 0; }
/* v12 phones: a tighter form, still ≥16px text in the fields (no zoom on iOS) */
@media (max-width: 699px) { .form { gap: 16px; } .f-row { gap: 16px; } .f input, .f select, .f textarea { font-size: 16.5px; padding: 8px 2px; } .contact-in { gap: 28px; margin-top: 72px; } .c-cart { width: 172px; } }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-size: .88rem; color: var(--muted); margin-bottom: 10px; padding: 0; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: .9rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.topic span:hover { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.topic input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.f-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .f-row { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 560px) { .f-row[data-show="booking"] { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); } }
.f { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); min-width: 0; }
.f input, .f select, .f textarea { font: 400 1.02rem var(--f-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; padding: 10px 2px; width: 100%; }
.f textarea { resize: vertical; }
/* v12: the select (event booking) drawn like the other fields, with its own arrow; the native list follows the theme */
.f select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 30px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) calc(50% + 1px), calc(100% - 10px) calc(50% + 1px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.f select option { background-color: var(--paper); color: var(--ink); }
.f select:invalid, .f select option[disabled] { color: var(--muted); }
.f input:focus, .f select:focus, .f textarea:focus, .f.bad input, .f.bad textarea { outline: none; border-bottom-color: var(--wine); box-shadow: 0 1px 0 var(--wine); }
.err { color: var(--wine); font-size: .82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
input[type="checkbox"] { accent-color: var(--wine); width: 17px; height: 17px; margin-top: 3px; flex: none; }
.form .btn { justify-self: start; margin-top: 4px; }
.f-done { padding: 14px 16px; border-left: 2px solid var(--wine); background: var(--wine-soft); }

/* ---------- Lettre de Vin, Instagram, footer: thin rules ---------- */
.news { padding-block: 0 clamp(42px, 5vw, 66px); }
.news-in { display: grid; gap: 22px; align-items: end; border-top: 1px solid var(--rule); padding-top: clamp(32px, 3.6vw, 46px); }
.news h2 { font-style: italic; color: var(--wine); font-size: var(--s3); }
.news p { max-width: 44ch; margin-top: 12px; color: var(--muted); font-size: var(--s1); font-weight: 300; line-height: 1.45; }
.letter-wrap { position: relative; }
/* Lettre de Vin: a sheet of letter paper; on sign-up it folds into an envelope and slides away (quietly) */
.letter { position: relative; padding: 22px 22px 16px; background: color-mix(in srgb, var(--paper) 72%, #FFF); border: 1px solid var(--rule); border-radius: 2px; box-shadow: 0 14px 26px -22px rgb(0 0 0 / .45); transform-origin: 50% 50%; }
.letter .env { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; pointer-events: none; }
.letter .env path { fill: none; stroke: var(--wine); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.letter.sent .notify { opacity: 0; transition: opacity .22s; }
.letter.sent { animation: fold 1.2s cubic-bezier(.45,0,.25,1) forwards; }
.letter.sent .env { opacity: 1; transition: opacity .2s .22s; }
.letter.sent .env path { stroke-dashoffset: 0; transition: stroke-dashoffset .4s ease .3s; }
.letter.sent .env .env-flap { transition-delay: .55s; }
@keyframes fold { 0% { transform: none; opacity: 1; } 38% { transform: scale(.42, .78); opacity: 1; } 72% { transform: scale(.42, .78); opacity: 1; } 100% { transform: translateX(56px) scale(.42, .78); opacity: 0; } }
.news-done { padding: 14px 16px; }
.notify { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notify input { flex: 1 1 220px; min-height: 50px; padding: 0 20px; border: 1px solid var(--muted); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; }
.notify input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.notify small { flex-basis: 100%; color: var(--muted); font-size: .85rem; }
.notify .f-done, .notify .err { flex-basis: 100%; }
@media (min-width: 900px) { .news-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.insta { padding-block: 0 clamp(36px, 4.2vw, 58px); }
.ig-in { border-top: 1px solid var(--rule); padding-top: 30px; }
.ig-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.ig-head h2 { font-size: var(--s2); }
.ig-head a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; padding-block: 6px; }
.ig-head a:hover { color: var(--wine); }
.ig-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.ig-grid img.ig-next { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.ig-grid img.ig-next.on { opacity: 1; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ig-grid a:hover img { opacity: .85; }
.foot { padding-block: 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px 68px; align-items: center; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--rule); padding-top: 36px; }
.foot-logo { width: 80px; height: auto; display: block; overflow: visible; }
.foot-txt { display: grid; gap: 4px; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: var(--wine); }
.resp { font-size: .84rem; }
.preview-note { color: var(--wine); font-size: .82rem; }

/* ---------- age gate ---------- */
.age { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 97%, transparent); display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.age-card { max-width: 380px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.age-logo { width: 100px; height: auto; }
.age-t { font: 400 var(--s2)/1.2 var(--f-display); }
.age-card .ctas { justify-content: center; margin-top: 8px; }
.age-denied { color: var(--wine); }

/* ---------- reduced motion: everything drawn and visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-logo .ln, .js .board .ch-leader { animation: none !important; stroke-dashoffset: 0; }
  .js .hero-a > *, .js .hero-b > *, .js .board .ch-wash, .js .board .ch-wash, .js .board .ch-patch, .js .board .ch-label, .js .board .ch-paris, .js .board .ch-star, .js .board .ch-mlabel { animation: none !important; opacity: var(--o, 1); transform: none; }
  .js .board .pin-s { animation: none !important; opacity: 1; transform: scale(var(--ps)); }
  .js .board .ch-label { --o: 1; } .js .board .ch-mlabel { --o: 1; }
  .js .board .ch-pins { pointer-events: auto; }
  .ev-btn, .fp-main img, .fiche[open], .lb[open] { transition: none; animation: none; }
  body { transition: none; }
  .letter.sent { animation: fadeout .3s forwards; } .letter.sent .env { display: none; }
  .ev.clip, .ev-year.clip, .ev.clip > *, .ev-year.clip > * { animation: none !important; }
  .js .hero-in > * { animation: none !important; opacity: 1; }
  .cart, .cart-wheel, .ig-grid img.ig-next { transition: none !important; }
  .fiche[open], .fiche[open] .fp.on .fp-media, .fiche[open] .fp.on .fp-txt > * { animation: none; }
}
@keyframes fadeout { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
}

/* v10.1 — the hero glass is empty until its own pour starts (no wine while the stroke draws, even before app.js has run) */
.lj #hero-logo:not([data-lv]) g[clip-path], svg.lv0 g[clip-path] { visibility: hidden; }

/* ======================================================================================================
   QA v12 — phone pass (team/qa-v12.md). Overrides only; desktop (≥900px, fine pointer) is unchanged.
   ====================================================================================================== */
/* 1. justified Greek in a ~40ch phone column makes rivers (about, leads, events lead): ragged on phones; the two-line Lettre de Vin
      blurb is ragged at all widths (justify + text-wrap: pretty stretched its first line into huge gaps) */
@media (max-width: 480px) { .about-p p, .sec-lead, .fp-text, .evu-p, .news-in > div > p { text-align: left; -webkit-hyphens: manual; hyphens: manual; } }
.news-in > div > p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }   /* a 2-line blurb cannot be justified: it stretched line 1 at every width (1440 too) */
/* 2. La carte on phones: a long name and village no longer both break at their hyphens; the leader + village go to a second line */
@media (max-width: 480px) { .lc-row { flex-wrap: wrap; row-gap: 0; } .lc-place { white-space: nowrap; margin-left: auto; } }
/* 3. contact details on phones: label above the value (the value had ~100px beside ΔΙΕΥΘΥΝΣΗ and the copy column: the phone number broke) */
@media (max-width: 480px) {
  .cinfo { display: block; }
  .cinfo li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
  .ci-k { grid-column: 1 / -1; }
  .ci-v:last-child { grid-column: 1 / -1; }
  .ci-v a[href^="tel:"] { white-space: nowrap; }
}
/* 4. phones: the first poster (after the year) stays clear of the row's right fade, so its caption is never washed out */
@media (max-width: 759px) { .ev { flex-basis: min(160px, calc(100% - 100px)); } }
/* 5. touch targets ≥ 44px (WCAG 2.5.5) without changing the look: bigger boxes or an invisible hit area */
@media (pointer: coarse), (max-width: 699px) {
  .langs a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 4px; }
  .topic span, .btn-quiet, .link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
  .f input, .f select { min-height: 44px; }
  .copy, .ci-v a, .lc-note a, .ig-head a, .foot-in a { position: relative; }
  .copy::after, .ci-v a::after, .lc-note a::after, .ig-head a::after { content: ""; position: absolute; inset: -12px -4px; }
  .foot-in a::after { content: ""; position: absolute; inset: -5px -3px; }   /* footer lines are 28px apart: no overlap */
}
/* 6. phones in landscape: the whole map fits the screen (it was twice the viewport's height) */
@media (max-width: 899px) and (orientation: landscape) and (max-height: 520px) {
  .board { width: min(100%, calc(100svh - var(--top-h) - 28px)); margin: 48px auto 0; }
}
/* 7. dark mode: the Lettre de Vin sheet was a flat grey slab (paper mixed with white) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter { background: var(--paper-2); } }
:root[data-theme="dark"] .letter { background: var(--paper-2); }
/* 8. fiche on phones: "Website ↗ / Instagram ↗" broke after the word (arrow alone on a line); links, thumbnails and the bar's buttons
      were 31–41px tall. Links keep their arrow, stack only if they must; everything ≥ 44px */
@media (max-width: 699px) {
  .fp-links { flex-wrap: wrap; column-gap: 14px; row-gap: 0; }
  .fp-links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .fp-thumb { width: 66px; }
  .fiche-bar .arrow, .fiche-x { width: 44px; height: 44px; }
}
@media (max-width: 699px) and (max-height: 760px) { .fp-main { height: min(19vh, 220px); } }   /* 360×740: the stacked links still fit */
/* 9. lightbox on phones: the ← n/30 → bar was below the fold for every poster; it now stays at the dialog's bottom edge */
@media (max-width: 799px) {
  .lb-nav { position: sticky; bottom: 0; z-index: 1; background: var(--paper); margin: 10px -22px -28px; padding: 10px 22px 14px; box-shadow: 0 -12px 14px -14px rgb(0 0 0 / .35); }
}

/* =====================================================================================
   v15 — blocks («Ανακοινώσεις»): Σημείωμα (note) · Ανακοίνωση (feature) · Προβολή (spotlight) in 6 fixed slots
   (team/admin/design.md §1, team/admin/blocks-mock.html). Only site tokens, so dark mode follows by itself.
   ===================================================================================== */
.ev-none[hidden] { display: none; }
.slot { position: relative; z-index: 1; }
.blk { position: relative; margin-block: clamp(34px, 4vw, 56px); }
.blk + .blk { margin-top: 28px; }
.blk h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; font-variant-numeric: oldstyle-nums; margin: 0; }
.blk-kick { display: block; color: var(--wine); font-variant-caps: all-small-caps; letter-spacing: .16em; font-weight: 600; font-size: .98rem; margin-bottom: 10px; }
.blk-when { color: var(--muted); font-size: .9rem; font-variant-numeric: oldstyle-nums; }

/* 1 · Σημείωμα: one row of the wine list — rules above and below, small-caps label · text · dotted leader · link */
.blk-note .n-row { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.blk-note .n-k { flex: none; color: var(--wine); font-variant-caps: all-small-caps; letter-spacing: .14em; font-weight: 600; }
.blk-note .n-t { flex: 0 1 auto; min-width: 0; }
.blk-note .n-dots { flex: 1 1 40px; border-bottom: 1px dotted var(--rule-2); transform: translateY(-5px); min-width: 24px; }
.blk-note .n-a { flex: none; white-space: nowrap; padding-block: 0; }
/* two notes in one slot: one two-row list sharing the rules (like two lines of La carte) */
.blk-note + .blk-note { margin-top: calc(-1 * clamp(34px, 4vw, 56px)); }
.blk-note + .blk-note .n-row { border-top: 0; }
@media (max-width: 640px) {
  .blk-note .n-row { flex-wrap: wrap; row-gap: 4px; }
  .blk-note .n-t { flex-basis: 100%; order: 2; }
  .blk-note .n-dots { display: none; }
  .blk-note .n-k + .n-t + .n-dots + .n-a { order: 1; margin-left: auto; }
  .blk-note .n-a { order: 3; }
}

/* slot 0: the same note as a thin strip above the sticky header; it scrolls away and can be closed (× remembered) */
.strip { position: relative; z-index: 21; background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: .94rem; line-height: 1.45; }
.strip-in { max-width: var(--maxw); margin-inline: auto; padding: 9px max(var(--gut), env(safe-area-inset-right, 0px)) 9px max(var(--gut-l), env(safe-area-inset-left, 0px)); display: flex; gap: 14px; align-items: baseline; justify-content: center; text-align: center; }
.strip .n-k { color: var(--wine); font-variant-caps: all-small-caps; letter-spacing: .14em; font-weight: 600; }
.strip .link-arrow { padding-block: 0; }
.strip-x { margin-left: 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; min-width: 32px; min-height: 32px; border-radius: 50%; display: none; }
.js .strip-x { display: inline-block; }
.strip-x:hover { color: var(--wine); }
.strip-x:focus-visible { outline: 2px solid var(--wine); outline-offset: 1px; }
@media (max-width: 640px) {
  .strip-in { flex-wrap: wrap; row-gap: 2px; justify-content: flex-start; text-align: left; padding-top: 8px; padding-bottom: 8px; padding-right: 48px; position: relative; }
  .strip .n-t { flex-basis: 100%; }
  .strip-x { position: absolute; right: 8px; top: 4px; margin: 0; }
}

/* 2 · Ανακοίνωση: a catalogue card with a pencil border, no photo; title left, text + link right (desktop) */
.blk-feat { max-width: 880px; }
.blk-feat .f-card { position: relative; display: grid; gap: 14px 48px; padding: 30px 34px 28px; }
@media (min-width: 760px) { .blk-feat .f-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.blk-feat h3 { font-size: var(--s2); }
.blk-feat .f-p { margin: 0; color: var(--ink); font-weight: 300; text-wrap: pretty; }
.blk-feat .f-a { margin-top: 12px; padding-block: 0; }
@media (max-width: 640px) { .blk-feat .f-card { padding: 24px 20px 22px; } }
.pencil { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pencil path { fill: none; stroke: var(--graphite); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
/* drawn when the block is revealed: the strokes one after another, ~0.75 s in all; already drawn without JS or with reduced motion */
.lj .blk .pencil path { stroke-dasharray: 1 1.2; stroke-dashoffset: 1; transition: stroke-dashoffset .24s cubic-bezier(.5, .1, .3, 1) calc(var(--k, 0) * .17s); }
.lj .blk.rv-on .pencil path { stroke-dashoffset: 0; }

/* 3 · Προβολή: photo held by four pencil photo-corners + title, text, button, small print */
.blk-spot .s-in { display: grid; gap: 22px 56px; align-items: center; }
@media (min-width: 760px) { .blk-spot .s-in { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); } .blk-spot.no-photo .s-in { grid-template-columns: minmax(0, 1fr); } }
.s-ph { position: relative; margin: 0; padding: 14px; }
.s-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }
@media (max-width: 759px) { .s-ph img { aspect-ratio: 3 / 2; } }
.s-ph .pencil path { stroke-width: 1.2; }
.blk-spot h3 { font-size: var(--s3); }
.blk-spot .s-p { margin: 16px 0 0; max-width: 46ch; font-weight: 300; font-size: var(--s1); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.blk-spot .s-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
/* v15: the quiet «no event yet» state (now shown by date, also client-side): text above, the two links on one row, never a wrapped pill */
.ev-none .btn { white-space: nowrap; }
@media (min-width: 1000px) { .ev-intro .ev-none { grid-template-columns: minmax(0, 1fr); } .ev-intro .ev-none .ctas { justify-content: flex-start; } }

/* launch: spam trap, never seen by people */
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
