/* Dal Corso Group. Direction B, "the route": map-paper sage, ink, and one wine-red route line.
   "Corso" means course; the route draws itself from Prague to Viterbo and through the brands as you scroll. */
:root {
  --paper: #DCE3D9;
  --paper-2: #CFD8CC;
  --paper-3: #C3CEC0;
  --ink: #1D2722;
  --ink-soft: #4A564F;
  --route: #8A2433;
  --route-lt: #C2475A;
  --line: rgba(29,39,34,.2);
  --display: 'Young Serif', Georgia, serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;
  --panel: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --gut: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.65,0,.25,1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--route); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }

.skip { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- intro: D and C swing together, the route dash draws under them, the curtain lifts ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .8s var(--ease); }
.intro.done { transform: translateY(-100%); }
.intro .mono { position: relative; display: flex; font-family: var(--display); font-size: clamp(72px, 14vw, 140px); line-height: 1; }
.intro .mono span { display: inline-block; opacity: 0; }
.intro .mono span:first-child { transform: translateX(-60px) rotate(-8deg); }
.intro .mono span:last-child { transform: translateX(60px) rotate(8deg); margin-left: -.06em; }
.intro.play .mono span { opacity: 1; transform: none; transition: transform .7s var(--ease), opacity .4s; }
.intro svg { position: absolute; left: -8%; bottom: -26px; width: 116%; max-width: none; height: 20px; }
.intro svg path { fill: none; stroke: var(--route-lt); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.intro.play svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease .45s; }
html.no-intro .intro { display: none; }

/* ---------- reveals ---------- */
.reveal { clip-path: inset(0 50% 0 50%); transition: clip-path 1.1s var(--ease); }
.reveal.in { clip-path: inset(-.2em 0 -.2em 0); }
.fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s var(--ease); }
.fade.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(220,227,217,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.mark { font-family: var(--display); font-size: 22px; text-decoration: none; white-space: nowrap; margin-right: auto; }
.mark small { font-family: var(--text); font-size: 15px; color: var(--ink-soft); margin-left: 6px; }
.links { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; padding: 8px 0; }
.links a:hover { color: var(--route); }
.langs { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.langs a { padding: 8px 7px; color: var(--ink-soft); text-decoration: none; }
.langs a:hover, .langs a[aria-current] { color: var(--ink); }
.langs a[aria-current] { text-decoration: underline; text-decoration-color: var(--route); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { display: none; padding: 11px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--route); }
.burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; padding: 10px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 960px) { .links, .nav-cta { display: flex; } .burger { display: none; } }

.menu { position: fixed; inset: 72px 0 0; z-index: 90; display: none; overflow-y: auto; background: var(--paper); padding: 24px var(--gut) 40px; }
body.menu-open .menu { display: block; }
.menu a { display: block; padding: 10px 0; font-family: var(--display); font-size: 38px; line-height: 1.2; text-decoration: none; }
.menu a:hover { color: var(--route); }

/* ---------- hero ---------- */
.hero { display: grid; gap: 32px; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; } }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8.6vw, 128px); line-height: .95; letter-spacing: -.025em; }
.hero h1 span { display: block; }
.lead { max-width: 30ch; margin-top: 26px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--ink-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 36px; }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { font-size: 15px; color: var(--ink-soft); }
.btn { display: inline-block; margin-top: 34px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; }
.btn:hover { background: var(--route); }

.map { width: 100%; height: auto; display: block; }
.map .grid { stroke: var(--ink); stroke-opacity: .09; }
.map .alps { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-dasharray: 1 7; stroke-linecap: round; stroke-width: 3; }
.map .line { fill: none; stroke: var(--route); stroke-width: 2.4; }
.map .city { fill: var(--paper); stroke: var(--route); stroke-width: 2.4; }
.map .stop { fill: var(--route); }
.map text { font-family: var(--text); fill: var(--ink); }
.map .big { font-family: var(--display); font-size: 30px; }
.map .small { font-size: 16px; fill: var(--ink-soft); }
.map .pin { opacity: 0; transition: opacity .5s; }
.map .pin.in { opacity: 1; }

/* ---------- brands, with the route drawn by scroll ---------- */
.stops { position: relative; padding-block: clamp(56px, 8vw, 112px) clamp(72px, 10vw, 128px); padding-left: calc(var(--gut) + var(--lane)); --lane: 64px; }
@media (max-width: 720px) { .stops { --lane: 34px; } }
.stops > h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.stops > p { max-width: 44ch; margin: -16px 0 clamp(32px, 4vw, 48px); color: var(--ink-soft); }
.track { position: absolute; top: 0; bottom: 0; left: var(--gut); width: var(--lane); height: 100%; max-width: none; pointer-events: none; overflow: visible; }
.track .base { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.track .ink { fill: none; stroke: var(--route); stroke-width: 3; stroke-linecap: round; }
.track .head { fill: var(--route); }
.track .head-ring { fill: none; stroke: var(--route); stroke-opacity: .35; stroke-width: 2; }

.place { display: grid; gap: 12px 48px; padding: 34px 0 40px; border-top: 2px solid var(--line); transition: border-color .5s; }
.place.lit { border-color: var(--ink); }
/* brand panels stop at 580 px wide, so on big screens they keep the proportions they have on a half screen
   (and their animations room to breathe); the extra width goes to the place-name column */
@media (min-width: 960px) { .place { grid-template-columns: minmax(280px, 1fr) minmax(0, 580px); } }
.place h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; color: rgba(29,39,34,.35); transition: color .6s; }
.place.lit h3 { color: var(--ink); }
.place h3 small { display: block; font-family: var(--text); font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.brands { display: grid; gap: 14px; }
/* brand panels: copied from "Dal Corso Brand Palettes" (colours, lettering and hover animations).
   --pb background, --pf name, --pd description, --pa accent, --pl border. */
/* panels slide in one after another when the route reaches their place, and fade back out when you scroll up past it.
   The slide uses `translate`, so it never fights the hover grow, which uses `transform`. */
.brand { opacity: 0; translate: 24px 0; }
.place.lit .brand { opacity: 1; translate: 0 0; }
.place .brand.panel { transition: opacity .45s ease, translate .5s var(--ease), transform .45s cubic-bezier(.2,.8,.2,1), border-radius .45s ease, margin .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.place.lit .brand.panel { transition-duration: .6s, .7s, .45s, .45s, .45s, .45s; transition-delay: calc(var(--i, 0) * 120ms), calc(var(--i, 0) * 120ms), 0s, 0s, 0s, 0s; }
.panel > div { position: relative; z-index: 3; min-width: 0; }
.panel .arr svg { width: 18px; height: 18px; }
.panel { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 26px 14px; font-family: var(--panel); text-decoration: none; background: var(--pb); color: var(--pf); border: 1px solid var(--pl, transparent); transform-origin: right center; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-radius .45s ease, margin .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.place.lit .panel:hover, .place.lit .panel:focus-visible { transform: scale(var(--grow, 1.4)); border-radius: 18px; margin-block: 28px; z-index: 6; box-shadow: 0 26px 55px -22px rgba(0,0,0,.5); }
.panel.props { overflow: hidden; }
.panel.props > div { position: relative; z-index: 3; }
/* Veloseatly: financial chart draws itself from the bottom-left to the full stop after "venues" */
@media (prefers-reduced-motion: reduce) { .panel, .pop, .oil { transition: none; } .oil .can, .panel.bling:hover .oil .can { animation: none; } .oil .stream { transform: scaleY(0); } .panel.bling:hover .oil .stream, .panel.bling:hover .oil .pool { animation: none; } .bld, .sky-b, .panel.props:hover .bld, .panel.props:hover .sky-b { transition: none; transform: translateY(0); } .cal, .hand, .key, .panel.props:hover .cal, .panel.props:hover .hand, .panel.props:hover .key { transition: none; transform: none; } .chartbg, .cline { transition: none; } .truck, .btl, .panel.dist:hover .truck, .panel.dist:hover .btl { animation: none; } }
.panel b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.panel b i { font-weight: 400; }
.o1 { text-shadow: 1.5px 0.0px 0 #E91E84, 1.47px 0.29px 0 #E91E84, 1.39px 0.57px 0 #E91E84, 1.25px 0.83px 0 #E91E84, 1.06px 1.06px 0 #E91E84, 0.83px 1.25px 0 #E91E84, 0.57px 1.39px 0 #E91E84, 0.29px 1.47px 0 #E91E84, 0.0px 1.5px 0 #E91E84, -0.29px 1.47px 0 #E91E84, -0.57px 1.39px 0 #E91E84, -0.83px 1.25px 0 #E91E84, -1.06px 1.06px 0 #E91E84, -1.25px 0.83px 0 #E91E84, -1.39px 0.57px 0 #E91E84, -1.47px 0.29px 0 #E91E84, -1.5px 0.0px 0 #E91E84, -1.47px -0.29px 0 #E91E84, -1.39px -0.57px 0 #E91E84, -1.25px -0.83px 0 #E91E84, -1.06px -1.06px 0 #E91E84, -0.83px -1.25px 0 #E91E84, -0.57px -1.39px 0 #E91E84, -0.29px -1.47px 0 #E91E84, -0.0px -1.5px 0 #E91E84, 0.29px -1.47px 0 #E91E84, 0.57px -1.39px 0 #E91E84, 0.83px -1.25px 0 #E91E84, 1.06px -1.06px 0 #E91E84, 1.25px -0.83px 0 #E91E84, 1.39px -0.57px 0 #E91E84, 1.47px -0.29px 0 #E91E84; }
.o2 { text-shadow: 1.5px 0.0px 0 #3EC7D6, 1.47px 0.29px 0 #3EC7D6, 1.39px 0.57px 0 #3EC7D6, 1.25px 0.83px 0 #3EC7D6, 1.06px 1.06px 0 #3EC7D6, 0.83px 1.25px 0 #3EC7D6, 0.57px 1.39px 0 #3EC7D6, 0.29px 1.47px 0 #3EC7D6, 0.0px 1.5px 0 #3EC7D6, -0.29px 1.47px 0 #3EC7D6, -0.57px 1.39px 0 #3EC7D6, -0.83px 1.25px 0 #3EC7D6, -1.06px 1.06px 0 #3EC7D6, -1.25px 0.83px 0 #3EC7D6, -1.39px 0.57px 0 #3EC7D6, -1.47px 0.29px 0 #3EC7D6, -1.5px 0.0px 0 #3EC7D6, -1.47px -0.29px 0 #3EC7D6, -1.39px -0.57px 0 #3EC7D6, -1.25px -0.83px 0 #3EC7D6, -1.06px -1.06px 0 #3EC7D6, -0.83px -1.25px 0 #3EC7D6, -0.57px -1.39px 0 #3EC7D6, -0.29px -1.47px 0 #3EC7D6, -0.0px -1.5px 0 #3EC7D6, 0.29px -1.47px 0 #3EC7D6, 0.57px -1.39px 0 #3EC7D6, 0.83px -1.25px 0 #3EC7D6, 1.06px -1.06px 0 #3EC7D6, 1.25px -0.83px 0 #3EC7D6, 1.39px -0.57px 0 #3EC7D6, 1.47px -0.29px 0 #3EC7D6; }
.bk { color: #0B0B0B; }
.panel.bling b { font-size: 36px; letter-spacing: .02em; }
.panel span.d { display: block; margin-top: 3px; font-size: 16px; font-style: italic; color: var(--pd); line-height: 1.4; }
.panel .arr { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--pa); color: var(--pa); font-family: var(--mono); font-size: 16px; }

/* Cin Cin: two glasses of red swing in, clink at the rims, recoil; the wine sloshes and settles level, drops fly */
  .toast { position: absolute; right: 62px; top: 0; bottom: 0; width: 130px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s; }
  .panel.cincin:hover .toast, .panel.cincin:focus-visible .toast { opacity: 1; }
  .toast svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .toast .glass-line { fill: none; stroke: #E8D9B0; stroke-width: 1.4; stroke-linejoin: round; }
  .toast .glass-tint { fill: rgba(240,232,216,.08); }
  .toast .shine { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1.6; stroke-linecap: round; }
  .toast .stem { stroke: #E8D9B0; stroke-width: 2; stroke-linecap: round; }
  .toast .surface { fill: #D2566C; }
  .toast .spark line { stroke: #D4A84B; stroke-width: 1.6; stroke-linecap: round; }
  .toast .drop { fill: #C23B55; }
  
  /* rest pose: glasses apart and hidden; every part starts where its keyframes start */
  .gl-l { transform: translateX(-36px) rotate(-6deg); opacity: 0; }
  .gl-r { transform: translateX(36px) rotate(6deg); opacity: 0; }
  .wine-l { transform: rotate(6deg); }
  .wine-r { transform: rotate(-6deg); }
  .toast .spark, .toast .drop { opacity: 0; }
  @media (prefers-reduced-motion: reduce) { .toast { display: none; } }

  .panel.cincin:hover .gl-l, .panel.cincin:focus-visible .gl-l { animation: glassL 1.6s cubic-bezier(.3,.6,.3,1) forwards; }
  .panel.cincin:hover .gl-r, .panel.cincin:focus-visible .gl-r { animation: glassR 1.6s cubic-bezier(.3,.6,.3,1) forwards; }
  .panel.cincin:hover .wine-l, .panel.cincin:focus-visible .wine-l { animation: wineL 1.6s ease-in-out forwards; }
  .panel.cincin:hover .wine-r, .panel.cincin:focus-visible .wine-r { animation: wineR 1.6s ease-in-out forwards; }
  .panel.cincin:hover .spark, .panel.cincin:focus-visible .spark { animation: spark 1.6s ease-out forwards; }
  .panel.cincin:hover .drop, .panel.cincin:focus-visible .drop { animation: drop 1.6s cubic-bezier(.2,.6,.4,1) forwards; }
  
  /* the glasses swing in, tilt toward each other and touch rims at 36%, recoil, then settle */
  @keyframes glassL {
    0% { transform: translateX(-36px) rotate(-6deg); opacity: 0; }
    14% { opacity: 1; }
    36% { transform: translateX(0) rotate(14deg); opacity: 1; }
    45% { transform: translateX(-6px) rotate(7deg); }
    60% { transform: translateX(-1px) rotate(12deg); }
    76% { transform: translateX(-3px) rotate(9.5deg); }
    100% { transform: translateX(-2px) rotate(10.5deg); opacity: 1; }
  }
  @keyframes glassR {
    0% { transform: translateX(36px) rotate(6deg); opacity: 0; }
    14% { opacity: 1; }
    36% { transform: translateX(0) rotate(-14deg); opacity: 1; }
    45% { transform: translateX(6px) rotate(-7deg); }
    60% { transform: translateX(1px) rotate(-12deg); }
    76% { transform: translateX(3px) rotate(-9.5deg); }
    100% { transform: translateX(2px) rotate(-10.5deg); opacity: 1; }
  }
  /* the wine lags behind the glass, sloshes past level when the rims hit, and settles flat (minus the glass tilt) */
  @keyframes wineL {
    0% { transform: rotate(6deg); }
    36% { transform: rotate(-5deg); }
    46% { transform: rotate(-26deg); }
    60% { transform: rotate(-3deg); }
    74% { transform: rotate(-16deg); }
    88% { transform: rotate(-8.5deg); }
    100% { transform: rotate(-10.5deg); }
  }
  @keyframes wineR {
    0% { transform: rotate(-6deg); }
    36% { transform: rotate(5deg); }
    46% { transform: rotate(26deg); }
    60% { transform: rotate(3deg); }
    74% { transform: rotate(16deg); }
    88% { transform: rotate(8.5deg); }
    100% { transform: rotate(10.5deg); }
  }
  /* a short gold flash where the rims meet */
  @keyframes spark {
    0%, 34% { opacity: 0; transform: scale(.4); }
    38% { opacity: 1; transform: scale(1); }
    56%, 100% { opacity: 0; transform: scale(1.5); }
  }
  /* drops jump out of the glasses at the clink and fall away */
  @keyframes drop {
    0%, 35% { opacity: 0; transform: translate(0, 0) scale(.6); }
    38% { opacity: 1; }
    58% { opacity: 1; transform: translate(var(--dx), var(--up)) scale(1); }
    82% { opacity: 0; transform: translate(calc(var(--dx) * 1.5), calc(var(--up) + 34px)) scale(.8); }
    100% { opacity: 0; transform: translate(calc(var(--dx) * 1.5), calc(var(--up) + 34px)) scale(.8); }
  }
/* Bling Bling Foods: label-style stickers slap on all over the panel, behind the text; bolts flicker, the smiley wags its tongue */
/* above the panel background, below the text and the arrow (both z-index 3) */
.bomb { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* a black halo round the letters, so a sticker under the text is cut by them and reads as behind */
.panel.bling .d, .panel.bling b i { text-shadow: 0 0 2px #0B0B0B, 2px 0 0 #0B0B0B, -2px 0 0 #0B0B0B, 0 2px 0 #0B0B0B, 0 -2px 0 #0B0B0B, 1.5px 1.5px 0 #0B0B0B, -1.5px 1.5px 0 #0B0B0B, 1.5px -1.5px 0 #0B0B0B, -1.5px -1.5px 0 #0B0B0B; }
.panel.bling .arr { position: relative; z-index: 3; }
.sk { position: absolute; width: var(--s); height: var(--s); opacity: 0; transform: translate(-50%, -50%) scale(1.7) rotate(calc(var(--r) - 25deg)); }
.sk svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sk .ol { stroke: #0B0B0B; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.sk .ln { fill: none; stroke: #0B0B0B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sk .hi { fill: #FFFFFF; opacity: .85; }
.panel.bling:hover .sk, .bomb.play .sk { animation: slap .42s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: var(--d); }
/* while the pointer stays: bolts flicker, the smiley wags its tongue, glints twinkle */
.panel.bling:hover .bolt, .bomb.play .bolt { animation: flicker 1.8s steps(1) 1.2s infinite; }
.tongue { transform-box: fill-box; transform-origin: 50% 0; }
.panel.bling:hover .tongue, .bomb.play .tongue { animation: wag .5s ease-in-out 1.3s infinite alternate; }
.gl { position: absolute; width: var(--s); height: var(--s); opacity: 0; transform: translate(-50%, -50%) scale(0); }
.gl svg { display: block; width: 100%; height: 100%; }
.panel.bling:hover .gl, .bomb.play .gl { animation: twinkle 1.4s ease-in-out infinite; animation-delay: var(--d); }

@keyframes slap {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.7) rotate(calc(var(--r) - 25deg)); }
  55% { opacity: 1; transform: translate(-50%, -50%) scale(.88) rotate(var(--r)); }
  78% { transform: translate(-50%, -50%) scale(1.06) rotate(var(--r)); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--r)); }
}
@keyframes flicker { 0%, 100% { opacity: 1; } 8% { opacity: .25; } 12% { opacity: 1; } 16% { opacity: .4; } 20% { opacity: 1; } }
@keyframes wag { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0); } 40% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(45deg); } 70% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .bomb { display: none; } }
/* ---------- Wine Tower: the stay ---------- */
.panel.props .arr { position: relative; z-index: 3; }
/* plaster halo round the letters, so the skyline under the text reads as behind it */
.panel.props b, .panel.props .d { text-shadow: 0 0 2px #EFE8DA, 2px 0 0 #EFE8DA, -2px 0 0 #EFE8DA, 0 2px 0 #EFE8DA, 0 -2px 0 #EFE8DA, 1.5px 1.5px 0 #EFE8DA, -1.5px 1.5px 0 #EFE8DA, 1.5px -1.5px 0 #EFE8DA, -1.5px -1.5px 0 #EFE8DA; }

/* the skyline: every building unfolds from the ground like a pop-up book, left to right */
/* fixed proportions (never stretched or cropped), so the skyline looks the same on a half or a full screen */
.ts-sky { position: absolute; left: 0; bottom: 0; height: 46px; aspect-ratio: 600 / 58; max-width: 100%; z-index: 1; pointer-events: none; }
.ts-sky svg { display: block; width: 100%; height: 100%; overflow: visible; } /* the Wine Tower stands taller than the skyline box */
.ts-b { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.ts-lit { opacity: 0; }

/* calendar, key and hand live in the space between the text and the arrow */
.ts-stay { position: absolute; right: 64px; top: 0; bottom: 0; width: 190px; z-index: 2; pointer-events: none; }
.ts-cal { position: absolute; left: 6px; top: 6px; width: 62px; z-index: 2; transform-origin: 50% 0; transform: translateY(-140%) rotate(-14deg); }
.ts-cal img, .ts-cal svg { display: block; width: 100%; }
.ts-cal svg { position: absolute; inset: 0; height: 100%; overflow: visible; }
.ts-ring { fill: none; stroke: #8A2433; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
/* hand and key: flat drawings in the skyline's palette, resting in the bottom-right corner */
/* the key falls from above the top edge, left of the arrow, and floats near the bottom */
.ts-key { position: absolute; left: calc(100% - 94px); top: -40px; width: 50px; z-index: 2; pointer-events: none; transform: translate(-50%, -50%) rotate(-30deg); }
.ts-key img { display: block; width: 100%; height: auto; }

.panel.props:hover .ts-b, .panel.props:focus-visible .ts-b { animation: tsPopup .5s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: var(--d); }
.panel.props:hover .ts-lit, .panel.props:focus-visible .ts-lit { animation: tsLightOn .5s ease 2.2s forwards; }
.panel.props:hover .ts-cal, .panel.props:focus-visible .ts-cal { animation: tsCalIn .9s cubic-bezier(.3,1.2,.4,1) .35s forwards; }
.panel.props:hover .ts-ring, .panel.props:focus-visible .ts-ring { animation: tsRing .55s ease-out 1.05s forwards; }
.panel.props:hover .ts-key, .panel.props:focus-visible .ts-key { animation: keyFall .9s 1.55s forwards, keyBob 1.6s ease-in-out 2.45s infinite alternate; }

@keyframes tsPopup { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.08); } 100% { transform: scaleY(1); } }
@keyframes tsLightOn { 0% { opacity: 0; } 40% { opacity: 1; } 55% { opacity: .5; } 100% { opacity: 1; } }
@keyframes tsCalIn { 0% { transform: translateY(-140%) rotate(-14deg); } 55% { transform: translateY(0) rotate(7deg); } 78% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
@keyframes tsRing { to { stroke-dashoffset: 0; } }
/* the key falls with gravity, bounces back up a little and stops in the air */
@keyframes keyFall {
  0% { top: -40px; transform: translate(-50%, -50%) rotate(-30deg); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  70% { top: calc(100% - 40px); transform: translate(-50%, -50%) rotate(8deg); animation-timing-function: ease-out; }
  86% { top: calc(100% - 48px); transform: translate(-50%, -50%) rotate(-3deg); }
  100% { top: calc(100% - 44px); transform: translate(-50%, -50%) rotate(0); }
}
/* then it hovers gently while the pointer stays */
@keyframes keyBob { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, calc(-50% - 3px)) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .ts-sky, .ts-stay, .ts-key { display: none; } }
/* ---------- Veloseatly: dashboard and POS ---------- */
.panel.velo { overflow: hidden; }
.panel.velo .arr { position: relative; z-index: 3; }
/* a black halo round the letters, so the dashboard under the text reads as behind it */
.panel.velo b, .panel.velo .d { text-shadow: 0 0 2px #0B0B0C, 2px 0 0 #0B0B0C, -2px 0 0 #0B0B0C, 0 2px 0 #0B0B0C, 0 -2px 0 #0B0B0C, 1.5px 1.5px 0 #0B0B0C, -1.5px 1.5px 0 #0B0B0C, 1.5px -1.5px 0 #0B0B0C, -1.5px -1.5px 0 #0B0B0C; }
.vs-scene { position: absolute; right: 62px; top: 8px; bottom: 8px; width: 220px; z-index: 2; pointer-events: none; }
.vs-scene svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* the system's own surfaces: cards, hairlines, muted labels */
.vp-card { fill: #18181A; stroke: #2A2A2C; stroke-width: 1; }
.vp-label { fill: #4A4A50; }
.vp-tile { opacity: 0; transform: translateY(6px); }
/* KPI values load in: revenue white, expenses red, net green */
.vp-val { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
/* Daily Revenue: white line, grey fill */
.vp-line { fill: none; stroke: #F5F5F5; stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.vp-area { fill: #3A3A3E; opacity: 0; }
.vp-grid { stroke: #2A2A2C; stroke-width: .6; stroke-dasharray: 2 2; }
/* Payment Methods donut: card blue, cash green */
.vp-ring { fill: none; stroke-width: 6; }
.vp-card-pay { stroke: #3B82F6; stroke-dasharray: 0 100; }
.vp-cash-pay { stroke: #22C55E; stroke-dasharray: 0 100; stroke-dashoffset: -85; }
/* POS: a card taps the terminal, a check appears, a receipt prints */
.vp-cardtap { opacity: 0; transform: translate(40px, -10px); }
.vp-check { fill: none; stroke: #22C55E; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.vp-receipt { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.vp-pulse { fill: none; stroke: #F5F5F5; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.vp-dot { fill: #F5F5F5; opacity: 0; }

.panel.velo:hover .vp-tile, .panel.velo:focus-visible .vp-tile { animation: tileIn .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
.panel.velo:hover .vp-val, .panel.velo:focus-visible .vp-val { animation: valIn .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
.panel.velo:hover .vp-line, .panel.velo:focus-visible .vp-line { animation: draw .9s ease-in-out .8s forwards; }
.panel.velo:hover .vp-area, .panel.velo:focus-visible .vp-area { animation: areaIn .5s ease 1.45s forwards; }
.panel.velo:hover .vp-card-pay, .panel.velo:focus-visible .vp-card-pay { animation: cardPay .6s ease-out 1.0s forwards; }
.panel.velo:hover .vp-cash-pay, .panel.velo:focus-visible .vp-cash-pay { animation: cashPay .3s ease-out 1.6s forwards; }
.panel.velo:hover .vp-cardtap, .panel.velo:focus-visible .vp-cardtap { animation: tap 1.2s cubic-bezier(.3,.7,.3,1) 1.5s forwards; }
.panel.velo:hover .vp-check, .panel.velo:focus-visible .vp-check { animation: draw .35s ease-out 2.0s forwards; }
.panel.velo:hover .vp-receipt, .panel.velo:focus-visible .vp-receipt { animation: print .6s steps(6) 2.1s forwards; }
.panel.velo:hover .vp-dot, .panel.velo:focus-visible .vp-dot { animation: areaIn .2s ease 2.4s forwards; }
.panel.velo:hover .vp-pulse, .panel.velo:focus-visible .vp-pulse { animation: pulse 1.4s ease-out 2.4s infinite; }

@keyframes tileIn { to { opacity: 1; transform: translateY(0); } }
@keyframes valIn { to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes areaIn { to { opacity: .55; } }
@keyframes cardPay { to { stroke-dasharray: 85 100; } }
@keyframes cashPay { to { stroke-dasharray: 15 100; } }
@keyframes tap { 0% { opacity: 0; transform: translate(40px, -10px); } 35% { opacity: 1; transform: translate(0, 0); } 48% { transform: translate(0, 3px); } 62% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(40px, -12px); } }
@keyframes print { to { transform: scaleY(1); } }
@keyframes pulse { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) { .vs-scene { display: none; } }
/* ---------- Wine Distribution: from the cellar to the table ---------- */
.panel.dist { overflow: hidden; }
.panel.dist .arr { position: relative; z-index: 3; }
/* a cellar-green halo round the letters, so the map under the text reads as behind it */
.panel.dist b, .panel.dist .d { text-shadow: 0 0 2px #1F3A30, 2px 0 0 #1F3A30, -2px 0 0 #1F3A30, 0 2px 0 #1F3A30, 0 -2px 0 #1F3A30, 1.5px 1.5px 0 #1F3A30, -1.5px 1.5px 0 #1F3A30, 1.5px -1.5px 0 #1F3A30, -1.5px -1.5px 0 #1F3A30; }
.wd-scene { position: absolute; right: 62px; top: 6px; bottom: 6px; width: 220px; z-index: 2; pointer-events: none; }
.wd-scene svg { display: block; width: 100%; height: 100%; overflow: visible; }

.wd-grid { fill: #EEE8DA; opacity: 0; }
.wd-crate, .wd-dest, .wd-gavel, .wd-block { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.4); }
.wd-dest { transform-origin: center; }
.wd-btl { opacity: 0; transform: translateY(12px); }
.wd-route { fill: none; stroke: #C2A070; stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; }
.wd-lit { fill: #C2A070; fill-opacity: 0; }
.wd-ring { fill: none; stroke: #C2A070; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wd-move { opacity: 0; }
.wd-gavel { transform-origin: 85% 85%; transform: rotate(-35deg); }
.wd-spark { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wd-hub { fill: none; stroke: #C2A070; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }

.panel.dist:hover .wd-grid, .panel.dist:focus-visible .wd-grid { animation: wdGridIn .6s ease forwards; }
.panel.dist:hover .wd-crate, .panel.dist:focus-visible .wd-crate { animation: wdPopIn .45s cubic-bezier(.3,1.5,.5,1) .1s forwards; }
.panel.dist:hover .wd-btl, .panel.dist:focus-visible .wd-btl { animation: wdRise .45s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: var(--d); }
.panel.dist:hover .wd-route, .panel.dist:focus-visible .wd-route { animation: wdDraw .6s ease-out forwards; animation-delay: var(--d); }
.panel.dist:hover .wd-dest, .panel.dist:focus-visible .wd-dest { animation: wdPopIn .4s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: var(--d); }
.panel.dist:hover .wd-m1, .panel.dist:focus-visible .wd-m1 { animation: m1 .9s ease-in-out 1.15s forwards; }
.panel.dist:hover .wd-m2, .panel.dist:focus-visible .wd-m2 { animation: m2 1s ease-in-out 1.3s forwards; }
.panel.dist:hover .wd-m3, .panel.dist:focus-visible .wd-m3 { animation: m3 1s ease-in-out 1.45s forwards; }
.panel.dist:hover .wd-m4, .panel.dist:focus-visible .wd-m4 { animation: m4 .8s ease-in-out 1.6s forwards; }
.panel.dist:hover .wd-lit, .panel.dist:focus-visible .wd-lit { animation: wdLit .4s ease forwards; animation-delay: var(--d); }
.panel.dist:hover .wd-ring, .panel.dist:focus-visible .wd-ring { animation: wdRing .7s ease-out forwards; animation-delay: var(--d); }
.panel.dist:hover .wd-block, .panel.dist:focus-visible .wd-block { animation: wdPopIn .35s ease 2.3s forwards; }
.panel.dist:hover .wd-gavel, .panel.dist:focus-visible .wd-gavel { animation: wdStrike .8s cubic-bezier(.4,0,.3,1) 2.35s forwards; }
.panel.dist:hover .wd-spark, .panel.dist:focus-visible .wd-spark { animation: wdSpark .6s ease-out 2.75s forwards; }
.panel.dist:hover .wd-hub, .panel.dist:focus-visible .wd-hub { animation: wdRing 1.8s ease-out 3.1s infinite; }

@keyframes wdGridIn { to { opacity: .12; } }
@keyframes wdPopIn { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes wdRise { to { opacity: 1; transform: translateY(0); } }
@keyframes wdDraw { to { stroke-dashoffset: 0; } }
@keyframes wdLit { to { fill-opacity: .35; } }
@keyframes wdRing { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2); } }
/* the gavel lifts, strikes the block, and settles */
@keyframes wdStrike { 0% { opacity: 0; transform: rotate(-35deg); } 30% { opacity: 1; transform: rotate(-40deg); } 50% { transform: rotate(8deg); } 62% { transform: rotate(-6deg); } 100% { opacity: 1; transform: rotate(0); } }
@keyframes wdSpark { 0% { opacity: 0; transform: scale(.3); } 35% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.5); } }
/* bottles travel each route: hub -> one third -> two thirds -> destination, then fade as they arrive */
@keyframes m1 { 0% { opacity: 0; transform: translate(52px, 52px); } 10% { opacity: 1; } 33% { transform: translate(73px, 35px); } 66% { transform: translate(93px, 25px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(112px, 22px); } }
@keyframes m2 { 0% { opacity: 0; transform: translate(54px, 56px); } 10% { opacity: 1; } 33% { transform: translate(101px, 45px); } 66% { transform: translate(143px, 39px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(180px, 40px); } }
@keyframes m3 { 0% { opacity: 0; transform: translate(54px, 62px); } 10% { opacity: 1; } 33% { transform: translate(95px, 80px); } 66% { transform: translate(132px, 90px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(166px, 92px); } }
@keyframes m4 { 0% { opacity: 0; transform: translate(50px, 66px); } 10% { opacity: 1; } 33% { transform: translate(63px, 82px); } 66% { transform: translate(77px, 92px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(92px, 94px); } }
@media (prefers-reduced-motion: reduce) { .wd-scene { display: none; } }
/* touch screens: no hover, so no grow and no decorations */
@media not all and (hover: hover) and (pointer: fine) {
  .place.lit .panel:hover, .place.lit .panel:focus-visible { transform: none; border-radius: 0; margin-block: 0; box-shadow: none; }
  .toast, .bomb, .ts-sky, .ts-stay, .ts-key, .vs-scene, .wd-scene { display: none; }
}
@media (max-width: 560px) { .panel { padding: 13px 16px 14px 18px; gap: 14px; } .panel b { font-size: 26px; } .panel.bling b { font-size: 30px; } .panel .arr { width: 36px; height: 36px; } }

/* ---------- about ---------- */
.about { display: grid; gap: 36px; padding-block: clamp(64px, 9vw, 128px); border-top: 2px solid var(--ink); }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; } }
.about-r > p { font-size: 19px; line-height: 1.7; margin-bottom: 20px; max-width: 60ch; }
.about-r > p em { font-style: normal; color: var(--route); }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 32px; border-top: 1px solid var(--line); }
.about-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.about-facts dt { font-size: 15px; color: var(--ink-soft); }
.about-facts dd { font-size: 19px; font-weight: 500; line-height: 1.35; }
.about-facts .wide { grid-column: 1 / -1; }
.founder { display: flex; gap: 20px; align-items: center; margin-top: 36px; padding: 24px; border-radius: 18px; background: var(--paper-2); }
.monogram { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 24px; }
.founder .role { font-size: 15px; color: var(--ink-soft); }
.founder .name { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.founder p:last-child { font-size: 16px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 520px) { .founder { flex-direction: column; align-items: flex-start; } }

/* ---------- how we work ---------- */
.work { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 128px); }
.quote { max-width: 26em; margin-top: 32px; font-family: var(--display); font-size: clamp(24px, 3vw, 40px); line-height: 1.35; }
.quote strong { font-weight: 400; color: #E59AA6; }
.attr { margin-top: 24px; font-size: 16px; color: rgba(220,227,217,.75); }
.values { display: grid; gap: 0 40px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { padding: 24px 0 30px; border-top: 1px solid rgba(220,227,217,.22); }
.value h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.value p { font-size: 16px; color: rgba(220,227,217,.78); max-width: 34ch; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; padding-block: clamp(64px, 9vw, 128px); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.contact-l p { max-width: 38ch; margin-top: 24px; font-size: 18px; color: var(--ink-soft); }
.topics { display: grid; gap: 10px; }
.topic { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 18px; background: var(--paper-2); text-decoration: none; transition: background .2s; }
.topic:hover { background: var(--paper-3); }
.topic b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; }
.topic span span { display: block; font-size: 15px; color: var(--ink-soft); }
.topic svg { flex: none; width: 20px; height: 20px; color: var(--route); transition: transform .25s var(--ease); }
.topic:hover svg { transform: translateX(4px); }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 16px; padding: 18px 24px; border-radius: 18px; border: 2px solid var(--ink); }
.mailrow code { font-family: var(--text); font-size: 18px; font-weight: 500; word-break: break-all; }
.copy { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; }
.copy:hover { background: var(--route); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 88px) 28px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.foot .mark { font-size: 28px; }
.foot .mark small { color: rgba(220,227,217,.7); }
.foot-about { max-width: 30ch; margin-top: 16px; font-size: 16px; color: rgba(220,227,217,.75); }
.foot h3 { font-size: 15px; font-weight: 500; color: rgba(220,227,217,.7); margin-bottom: 12px; }
.foot li a, .foot-col p { display: inline-block; padding: 4px 0; font-size: 17px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid rgba(220,227,217,.2); font-size: 15px; color: rgba(220,227,217,.75); }
.foot-langs a { display: inline-block; padding: 6px 2px; text-decoration: none; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .fade, .brand, .place.lit .brand, .place .brand.panel { clip-path: none; opacity: 1; translate: none; transform: none; transition: none; animation: none; }
  .place h3 { color: var(--ink); }
  .map .pin { opacity: 1; transition: none; }
}
