/* ============ Jungle Barber Spot — tokens ============ */
:root {
  --jungle: #10221a;
  --jungle-2: #183327;
  --leaf: #2d5a3c;
  --leaf-2: #4f7d55;
  --cream: #f1e6cc;
  --paper: #f7efdc;
  --paper-2: #ece0c2;
  --ink: #1b1712;
  --muted: #6c6252;
  --red: #b8322a;
  --red-2: #8e221c;
  --gold: #c9a45c;
  --terra: #d88c76;

  /* Alfa Slab One has no Cyrillic: those letters fall through to Bitter Black, same slab spirit */
  --display: 'Alfa Slab One', 'Bitter', 'Rockwell', Georgia, serif;
  --serif: 'Playfair Display', 'PT Serif', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Jungle trim: a chain of gold leaves and terracotta seeds on deep green (replaces the red/white checker) */
  --trim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Crect width='32' height='16' fill='%23183327'/%3E%3Cpath d='M3 8Q10 1 17 8Q10 15 3 8z' fill='%23c9a45c'/%3E%3Cpath d='M5 8h11' stroke='%23183327' stroke-width='1.2'/%3E%3Ccircle cx='24.5' cy='8' r='2.2' fill='%23d88c76'/%3E%3C/svg%3E") 0 50% / 32px 16px repeat-x, var(--jungle-2);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 18px;
  --pad: clamp(18px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);

  /* palm & monstera leaves, line-drawn */
  --leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none' stroke='%234f7d55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M40 320 C80 240 150 200 230 190'/%3E%3Cpath d='M70 270 l-30 -30 M95 245 l-25 -42 M125 225 l-14 -48 M158 208 l-2 -50 M192 197 l10 -46 M100 252 l40 12 M130 232 l44 6 M163 214 l44 -2 M196 202 l40 -10'/%3E%3Cpath d='M250 40 c40 20 70 70 60 120 c-50 -6 -90 -46 -96 -96 c10 -12 22 -20 36 -24z'/%3E%3Cpath d='M256 52 c10 34 22 66 50 104 M248 80 l30 4 M244 108 l40 10 M252 132 l40 18'/%3E%3Cpath d='M300 300 c-20 -40 -10 -80 30 -110 M310 270 l26 -10 M306 240 l28 -16'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }   /* the tilted marquee is a few px wider than the screen */
body {
  font-synthesis: none;
  margin: 0; font-family: var(--body); font-size: clamp(15px, 1rem + .15vw, 17px); line-height: 1.55;
  color: var(--cream); background: var(--jungle);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.loading main { opacity: 0; }
main { transition: opacity .5s; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(34px, 5.2vw, 68px); text-transform: uppercase; }

/* grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker { font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }

/* ============ buttons ============ */
.btn {
  --bg: var(--cream); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.btn-red { --bg: var(--red); --fg: var(--cream); }
.btn-red:hover { --bg: #c93b31; }
.btn-cream { --bg: var(--cream); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--cream); border-color: rgba(241,230,204,.45); box-shadow: none; }
.btn-ghost:hover { border-color: var(--cream); box-shadow: none; }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); border-color: rgba(27,23,18,.25); box-shadow: none; }
.btn-ghost-dark:hover { border-color: var(--ink); box-shadow: none; }
.btn-wide { width: 100%; }
.btn.loading { pointer-events: none; color: transparent; position: relative; }
.btn.loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--cream); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad); transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(16,34,26,.88); backdrop-filter: blur(12px); padding-block: 9px; box-shadow: 0 1px 0 rgba(241,230,204,.1); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.brand small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 14px; position: relative; opacity: .85; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(241,230,204,.1); }
.lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; opacity: .7; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); opacity: 1; }
.view-team [data-view="barber"] { display: none; }

/* ============ hero ============ */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px var(--pad) 70px; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, var(--jungle-2), var(--jungle) 60%); }
.leaves { position: absolute; inset: -40px; background: var(--leaves) 0 0 / 360px; opacity: .22; animation: sway 40s linear infinite; }
@keyframes sway { to { background-position: 360px 360px; } }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-title {
  font-size: clamp(64px, 11vw, 190px); text-transform: uppercase; overflow-wrap: anywhere; line-height: .86; color: var(--cream);
  text-shadow: 5px 5px 0 var(--red), 10px 10px 0 rgba(0,0,0,.35);
  animation: rise 1s var(--ease) both .1s;
}
.hero-tag { font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); color: var(--terra); margin: 26px 0 10px; animation: rise 1s var(--ease) both .2s; }
.hero-sub { max-width: 440px; opacity: .8; margin: 0 0 30px; animation: rise 1s var(--ease) both .3s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 1s var(--ease) both .4s; }
.hero .kicker { animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

.portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); animation: rise 1.2s var(--ease) both .25s; }
/* frameless: the photo itself, cropped in on Andriy's face, melting into the jungle at the bottom */
.portrait-frame { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 5; background: var(--leaf);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%);
  transform: scale(var(--z, 1)); transform-origin: var(--pos, 50% 30%); opacity: 0; transition: opacity 1.2s ease, transform 6s linear; }
.portrait-frame img.on { opacity: 1; transform: scale(calc(var(--z, 1) * 1.05)); }   /* slow push-in while a slide is shown */
.hero-dots { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; z-index: 2; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(16,34,26,.55); backdrop-filter: blur(6px); }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(241,230,204,.45); transition: width .35s var(--ease), background .3s; }
.hero-dots button[aria-current="true"] { width: 24px; background: var(--gold); }
.portrait-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 72% 26%, transparent 40%, rgba(16,34,26,.55) 100%); }
.portrait-ig { position: absolute; right: -6px; top: 30px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 13px; transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.portrait-ig:hover { transform: rotate(0) scale(1.05); }
.portrait-ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* barber pole */
.pole { position: absolute; left: var(--pad); bottom: 0; width: 26px; height: 120px; border-radius: 13px 13px 0 0; overflow: hidden;
  border: 3px solid var(--cream); border-bottom: 0; background: var(--cream); }
.pole i { position: absolute; inset: -57px 0 0; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--cream) 10px 20px, #1e4b8f 20px 30px, var(--cream) 30px 40px); animation: pole 1.6s linear infinite; }
/* stripes repeat every 40px across, i.e. 40·√2 ≈ 56.57px vertically: move exactly one period → seamless loop */
@keyframes pole { to { transform: translateY(56.5685px); } }

/* ============ marquee ============ */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; transform: rotate(-1.5deg); margin: -16px -10px 0; position: relative; z-index: 2; border-block: 3px solid var(--cream); }
.marquee-track { display: flex; gap: 28px; padding: 14px 0; width: max-content; animation: marq 30s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.5vw, 30px); text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); align-self: center; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { padding: var(--section) var(--pad); max-width: 1240px; margin: 0 auto; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head p { margin: 0; max-width: 420px; opacity: .75; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* price board: illustrated jungle card (paper, arched frame, red ribbons, turtle, fountain), live text on top */
.board { --ink-2: #4a4034; --red-ink: #a3221d;
  position: relative; container-type: inline-size; color: var(--ink); border-radius: 12px; overflow: hidden;
  aspect-ratio: 1402 / 1122; padding: 11% 8.6% 22% 10.6%;
  background: url('/photos/price-board.webp') center / 100% 100% no-repeat, #e9dcc0;
  box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.board-head { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 30px;
  padding-bottom: max(10px, 1.6cqw); margin-bottom: max(6px, 1.2cqw); border-bottom: 1.5px solid rgba(27,23,18,.55); }
.board-head::after { content: ''; position: absolute; left: 16%; bottom: -6px; width: 10px; height: 10px; transform: rotate(45deg);
  background: #ecdfc2; border: 1.5px solid rgba(27,23,18,.7); }
.board-head h2 { font-family: var(--serif); font-weight: 900; font-size: max(40px, 6.6cqw); line-height: .95; color: var(--red-ink); letter-spacing: .01em; }
.board-head p { margin: 0 0 .5em; font-family: var(--serif); font-style: italic; font-size: max(14px, 1.3cqw); color: #2f2a22; }
.services { display: grid; }
.svc { display: grid; gap: max(4px, .5cqw); text-align: left; background: none; border: 0; border-top: 1.5px dotted rgba(27,23,18,.28); padding: max(14px, 2.15cqw) 8px; color: var(--ink);
  opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d), transform .7s var(--ease) var(--d), background .25s; border-radius: 6px; }
.svc:first-child { border-top: 0; }
.svc.in { opacity: 1; transform: none; }
.svc:hover { background: rgba(255,248,228,.45); }
.svc-top { display: flex; align-items: baseline; gap: 12px; }
.svc-top b { font-family: var(--serif); font-weight: 900; font-size: max(20px, 2.75cqw); text-transform: uppercase; letter-spacing: .02em; color: #1d1a15; }
.svc-dots { flex: 1; border-bottom: 2px dotted rgba(27,23,18,.4); transform: translateY(-.3em); min-width: 20px; }
.svc-price { font-family: var(--serif); font-weight: 900; font-size: max(22px, 3.1cqw); color: var(--red-ink); white-space: nowrap; font-variant-numeric: lining-nums; transition: transform .3s var(--ease); }
.svc:hover .svc-price { transform: scale(1.08) rotate(-3deg); }
.svc-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: max(14px, 1.3cqw); }
.svc-time { font-family: var(--body); font-style: normal; font-weight: 800; white-space: nowrap; background: #1c2a20; color: #f3ead3; padding: 3px 11px; border-radius: 999px; font-size: max(11px, .95cqw); }
/* phones and long price lists: top & bottom of the illustration, paper in between, leafy sides */
.board.stack { aspect-ratio: auto; padding: 17% 9% 27%;
  background: url('/photos/price-top.webp') top center / 100% auto no-repeat, url('/photos/price-bottom.webp') bottom center / 100% auto no-repeat,
              url('/photos/price-side-l.webp') left top / 5.6% auto repeat-y, url('/photos/price-side-r.webp') right top / 5.6% auto repeat-y,
              url('/photos/price-paper.webp') center / 420px auto repeat, #e9dcc0; }
.board.stack .board-head h2 { font-size: max(40px, 9cqw); }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.member { display: grid; text-decoration: none; background: var(--jungle-2); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(241,230,204,.12); transition: transform .35s var(--ease), border-color .3s; }
.member:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--gold); }
.member-photo { aspect-ratio: 4 / 5; background: var(--leaf); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.05); }
.mono { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-size: 80px; color: var(--cream); background: var(--leaves) center / 260px, var(--leaf); }
.member-meta { padding: 18px 20px 6px; }
.member-meta h3 { font-size: 28px; text-transform: uppercase; }
.member-meta p { margin: 4px 0 0; opacity: .7; font-size: 14px; }
.member-from { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 800; }
.member-go { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 18px; font-weight: 800; color: var(--terra); }
.member-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ============ fade scene ============ */
.fade { height: 260vh; position: relative; background: var(--jungle-2); }
.fade-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(24px, 6vw, 90px); padding: 80px var(--pad) 40px; max-width: 1240px; margin: 0 auto; }
.fade-stage { position: relative; height: min(76svh, 640px); aspect-ratio: 3 / 4; justify-self: center; border-radius: 16px; overflow: visible; }
.fade-stage > img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 4px solid var(--cream); }
.fade-cover {
  position: absolute; inset: 0; border-radius: 16px;
  background: var(--leaves) 0 0 / 180px, radial-gradient(circle at 30% 20%, var(--leaf-2), var(--leaf) 50%, var(--jungle) 100%);
  clip-path: inset(0 0 calc(var(--p, 0) * 100%) 0 round 16px);
}
.fade-cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--leaves) 90px 90px / 140px; opacity: .8; }
.clipper { position: absolute; left: 50%; top: calc((1 - var(--p, 0)) * 100%); width: 26%; transform: translate(-50%, calc(-1% - var(--lift, 0) * 115%)) rotate(calc(-3deg + var(--lift, 0) * 10deg)); opacity: calc(1 - var(--lift, 0) * 1.1); filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); pointer-events: none; }
.clipper img { width: 100%; height: auto; }
.fade-copy h2 { font-size: clamp(32px, 4.6vw, 62px); margin-bottom: 18px; }
.fade-copy p:not(.kicker) { opacity: .75; max-width: 400px; }
.fade-meter { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; }
.fade-meter span { font-family: var(--display); font-size: clamp(60px, 9vw, 120px); color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; min-width: 1.3em; text-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.fade-meter small { font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }

/* ============ works ============ */
.link-ig { font-weight: 800; color: var(--terra); text-decoration: none; }
.link-ig:hover { text-decoration: underline; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 14px; }
.gallery .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile { border-radius: 14px; overflow: hidden; background: var(--leaf); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.92); }
.tile:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ============ vibe ============ */
.vibe { max-width: none; padding-inline: 0; }
.vibe .section-head { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
/* edge-to-edge film strip: tall frames, staggered up/down, no paper borders */
.vibe-strip { display: flex; gap: 10px; overflow-x: auto; padding: 30px var(--pad) 50px; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: start; }
.vibe-strip::-webkit-scrollbar { display: none; }
.vibe-card { position: relative; flex: 0 0 clamp(190px, 21vw, 280px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; scroll-snap-align: center;
  background: var(--leaf); cursor: zoom-in; transition: transform .5s var(--ease); }
.vibe-card:nth-child(even) { margin-top: 48px; }
.vibe-card:last-child { flex-basis: clamp(300px, 40vw, 560px); aspect-ratio: auto; align-self: stretch; margin-top: 0; }
.vibe-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.vibe-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(16,34,26,.55), transparent 40%); box-shadow: inset 0 0 0 1px rgba(241,230,204,.12); transition: opacity .5s; }
.vibe-card:hover img { transform: scale(1.06); filter: saturate(1.1) contrast(1.05); }
.vibe-card:hover::after { opacity: .3; }

/* ============ visit ticket ============ */
.ticket { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--paper); color: var(--ink); border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.ticket-main { padding: clamp(28px, 5vw, 56px); }
.ticket-main h2 { color: var(--leaf); margin-bottom: 18px; }
.addr { font-size: clamp(18px, 2vw, 22px); font-weight: 800; margin: 0 0 12px; }
.hours { color: var(--muted); font-weight: 600; margin: 0 0 26px; }
.hours b { color: var(--ink); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-actions .btn-cream { --bg: var(--ink); --fg: var(--paper); }
.ticket-side { padding: clamp(28px, 5vw, 56px); background: var(--leaf); color: var(--cream); border-left: 3px dashed var(--paper); position: relative; }
.ticket-side::before, .ticket-side::after { content: ''; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--jungle); }
.ticket-side::before { top: -15px; } .ticket-side::after { bottom: -15px; }
.ticket-side p { font-weight: 700; margin: 0 0 18px; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msg { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(241,230,204,.12); text-decoration: none; font-weight: 800; font-size: 14px; transition: background .2s, transform .25s var(--ease); }
.msg:hover { background: rgba(241,230,204,.22); transform: translateY(-2px); }
.msg i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); display: grid; place-items: center; }
.msg svg { width: 19px; height: 19px; fill: #fff; }
.messengers-light .msg { background: var(--paper-2); color: var(--ink); }

/* ============ finale ============ */
.finale { position: relative; text-align: center; padding: calc(var(--section) * 1.2) var(--pad); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 110% at 50% 0%, var(--leaf) 0%, var(--jungle-2) 55%, var(--jungle) 100%); }
.finale::before { content: ''; position: absolute; inset: -60px; z-index: -1; background: var(--leaves) 0 0 / 320px; opacity: .35; animation: sway 60s linear infinite reverse; }
.finale::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--trim); border-bottom: 2px solid var(--gold); }
.finale-copy { position: relative; }
.finale h2 { font-size: clamp(46px, 9vw, 130px); color: var(--cream); text-shadow: 5px 5px 0 var(--red), 10px 10px 0 rgba(0,0,0,.35); margin-bottom: 34px; }
.finale .kicker { color: var(--gold); }
.finale-copy::before { content: ''; display: block; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; border: 3px solid var(--gold);
  background: url('/photos/jungle-logo.jpg') center / cover; box-shadow: 0 12px 30px rgba(0,0,0,.45); }

.footer { padding: 30px var(--pad) 90px; text-align: center; font-size: 13px; opacity: .65; }
.footer a { color: var(--gold); }

.fab { position: fixed; z-index: 40; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translate(-50%, 140%); padding: 15px 30px; border-radius: 999px; border: 2px solid var(--cream);
  background: var(--red); color: var(--cream); font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .45s var(--ease); display: none; }
.fab.show { transform: translate(-50%, 0); }
body:has(.fan.open) .fab { transform: translate(-50%, 140%); }   /* the open fan needs the bottom edge */

/* ============ lightbox / toast ============ */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(10,20,15,.92); opacity: 0; transition: opacity .35s; cursor: zoom-out; }
.lightbox.show { opacity: 1; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; border: 4px solid var(--cream); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.show img { transform: none; }
.toast { position: fixed; z-index: 95; left: 50%; top: 18px; transform: translate(-50%, -150%); background: var(--cream); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .45s var(--ease); max-width: 92vw; text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ============ booking sheet ============ */
.booking { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; }
.booking.open { pointer-events: auto; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(8,16,12,.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.booking.open .booking-backdrop { opacity: 1; }
.booking-sheet {
  position: relative; width: min(620px, 94vw); max-height: min(860px, 92vh); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); border-radius: 22px; overflow: hidden;
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--ease);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.booking-sheet::before { content: ''; height: 16px; flex: none; background: var(--trim); border-bottom: 2px solid var(--gold); }
.booking.open .booking-sheet { opacity: 1; transform: none; }
.sheet-grip { display: none; }
.sheet-close { position: absolute; right: 14px; top: 22px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-2); font-size: 24px; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.sheet-close:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }

.steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 20px 64px 12px 24px; transition: opacity .3s; }
.steps.hide { opacity: 0; height: 0; padding: 0; overflow: hidden; }
.steps li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.steps li::before { content: ''; height: 4px; border-radius: 2px; background: var(--paper-2); transition: background .4s; }
.steps li.done::before, .steps li.on::before { background: var(--red); }
.steps li.on { color: var(--ink); }
.steps span { display: none; }
.steps em { font-style: normal; }

.panes { position: relative; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.pane { display: none; padding: 10px 24px 26px; }
.pane.active { display: block; animation: paneIn .45s var(--ease); }
.pane.active.back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(26px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-26px); } }
.pane h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 16px; }
.pane h3 small { font-family: var(--body); font-size: 14px; text-transform: none; color: var(--muted); font-weight: 700; }

.chosen { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--paper-2); }
.chosen:empty { display: none; }
.chosen-ph, .bpick-ph { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--leaf); border: 2px solid var(--gold); }
.chosen-ph img, .bpick-ph img { width: 100%; height: 100%; object-fit: cover; }
.chosen-ph .mono, .bpick-ph .mono { font-size: 20px; }
.chosen b { display: block; font-size: 15px; }
.chosen small { color: var(--muted); font-weight: 600; }

.barber-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bpick { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px; border-radius: 14px; border: 2px solid var(--paper-2); background: #fff8; animation: rise .5s var(--ease) both calc(var(--i) * .05s); transition: border-color .2s, transform .2s; }
.bpick:hover, .bpick.sel { border-color: var(--red); transform: translateY(-2px); }
.bpick b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; text-transform: uppercase; }
.bpick small { color: var(--muted); font-weight: 700; }

.svc-pick { display: grid; gap: 8px; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--paper-2); background: #fff8;
  animation: rise .5s var(--ease) both calc(var(--i) * .05s); transition: border-color .2s, transform .2s, background .2s; }
.pick:hover { border-color: var(--ink); transform: translateX(4px); }
.pick.sel { border-color: var(--red); background: #fff; }
.pick b { font-size: 16px; }
.pick small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 2px; }
.pick em { font-style: normal; font-family: var(--display); font-size: 22px; color: var(--red); white-space: nowrap; }

.cal { margin-top: 4px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { text-transform: capitalize; font-size: 16px; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--paper-2); background: none; font-size: 20px; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-grid { transition: opacity .2s; }
.cal-grid.fade-out { opacity: 0; }
.day { position: relative; height: 52px; border: 0; border-radius: 12px; background: #fff9; font-weight: 800; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: background .2s, color .2s, transform .2s; }
.day:hover:not(:disabled) { background: var(--paper-2); transform: translateY(-2px); }
.day:disabled { background: none; color: rgba(27,23,18,.25); cursor: default; }
.day.today span { text-decoration: underline 2px var(--red); text-underline-offset: 3px; }
.day.sel { background: var(--ink); color: var(--paper); }
.day .load { width: 60%; height: 3px; border-radius: 2px; background: rgba(27,23,18,.1); overflow: hidden; position: relative; }
.day .load::after { content: ''; position: absolute; inset: 0; background: var(--leaf-2); transform-origin: left; transform: scaleX(var(--f)); }
.day.sel .load { background: rgba(247,239,220,.25); }
.day.sel .load::after { background: var(--gold); }
.day:disabled .load { visibility: hidden; }

.slots-title { scroll-margin-top: 10px; margin-top: 24px !important; }
.tgroup h4 { margin: 14px 0 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trow { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.time { padding: 11px 0; border-radius: 10px; border: 2px solid var(--paper-2); background: #fff; font-weight: 800; font-variant-numeric: tabular-nums;
  animation: pop .4s var(--ease) both calc(var(--i) * .02s); transition: border-color .2s, background .2s, color .2s, transform .2s; }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }
.time:hover:not(:disabled) { border-color: var(--red); transform: translateY(-2px); }
.time.picked { background: var(--red); border-color: var(--red); color: var(--cream); }
.time.taken { background: transparent; color: rgba(27,23,18,.28); text-decoration: line-through; cursor: default; border-style: dashed; }
.empty { padding: 22px; border-radius: 14px; background: var(--paper-2); color: var(--muted); font-weight: 700; text-align: center; }
.pane-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }

/* form */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: block; margin-bottom: 10px; }
.field input, .field textarea { width: 100%; padding: 22px 14px 8px; border-radius: 12px; border: 2px solid var(--paper-2); background: #fff; font: inherit; color: var(--ink); resize: vertical; transition: border-color .2s; }
.field textarea { min-height: 70px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field span { position: absolute; left: 16px; top: 16px; color: var(--muted); font-weight: 600; pointer-events: none; transition: transform .2s var(--ease), font-size .2s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 12px; }
.field-at input { padding-left: 30px; }
.field-at span { left: 30px; }
.field-at i { position: absolute; left: 15px; top: 22px; font-style: normal; font-weight: 800; color: var(--muted); }
.field.err input { border-color: var(--red); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.hint { font-size: 13px; color: var(--muted); font-weight: 600; margin: 4px 0 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin: 6px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.form-error { color: var(--red); font-weight: 800; min-height: 1.2em; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* success: a printed ticket stub */
.pane-success { text-align: center; padding-top: 30px; }
.pane-success p { margin: 0 0 12px; }
.stub { display: flex; max-width: 340px; margin: 0 auto 22px; border-radius: 14px; overflow: hidden; background: var(--jungle); color: var(--cream); text-align: left; box-shadow: 0 16px 30px rgba(0,0,0,.25); clip-path: inset(0 0 100% 0); }
.stub.print { animation: print 1.1s steps(14) forwards .15s; }
@keyframes print { to { clip-path: inset(0 0 0 0); } }
.stub-pole { width: 34px; flex: none; overflow: hidden; position: relative; }
.stub-pole i { position: absolute; inset: -57px 0 0; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--cream) 10px 20px, #1e4b8f 20px 30px, var(--cream) 30px 40px); animation: pole 1.6s linear infinite; }
.stub-body { padding: 16px 20px; display: grid; gap: 2px; border-left: 3px dashed var(--paper); }
.stub-body small { font-size: 10px; letter-spacing: .25em; color: var(--gold); font-weight: 800; }
.stub-body strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.stub-body span { font-weight: 800; text-transform: capitalize; }
.stub-body em { font-style: normal; opacity: .75; font-size: 14px; }
.demo-note { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.success-actions { margin: 6px 0 16px; }
.pane-success .messengers { justify-content: center; margin-bottom: 20px; }
.snip { position: absolute; top: 150px; width: 3px; height: 14px; border-radius: 2px; background: var(--ink); pointer-events: none; z-index: 5; }
.snip.leaf { width: 14px; height: 9px; border-radius: 0 100% 0 100%; background: var(--leaf-2); }

.cal-choice { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; animation: rise .35s var(--ease); }
.cal-choice .btn { padding: 11px 18px; font-size: 14px; box-shadow: 0 3px 0 rgba(0,0,0,.2); }
#icsBtn svg { width: 18px; height: 18px; }

/* ============ reviews ============ */
.rv-sum { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.rv-sum b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--gold); line-height: 1; }
.rv-sum small { opacity: .6; font-weight: 700; }
.rv-stars { color: var(--gold); letter-spacing: 2px; }
.rv-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rv-card { margin: 0; padding: 22px 22px 18px; border-radius: var(--r); background: var(--jungle-2); border: 1px solid rgba(241,230,204,.1);
  position: relative; animation: rise .6s var(--ease) both calc(var(--i) * .06s); }
.rv-card::before { content: '“'; position: absolute; right: 16px; top: -6px; font-family: var(--display); font-size: 80px; color: var(--leaf); line-height: 1; }
.rv-card blockquote { margin: 10px 0 14px; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.rv-card figcaption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rv-card figcaption small { opacity: .55; font-size: 12px; }
.rv-empty { margin: 0; padding: 34px 26px; border-radius: var(--r); border: 2px dashed rgba(241,230,204,.2); text-align: center; font-weight: 700; opacity: .75;
  background: var(--leaves) center / 260px; }
.rv-box { background: var(--paper); color: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.rv-box::before { content: ''; display: block; height: 16px; background: var(--trim); border-bottom: 2px solid var(--gold); }
.rv-form, .rv-done { padding: 24px clamp(20px, 3vw, 30px) 28px; }
.rv-form h3 { font-size: 26px; text-transform: uppercase; color: var(--leaf); margin-bottom: 8px; }
.rv-form .field { margin-bottom: 10px; }
.rv-form .btn { width: 100%; }
.stars { display: flex; gap: 4px; margin: 4px 0 12px; }
.star { border: 0; background: none; padding: 2px; font-size: 34px; line-height: 1; color: var(--paper-2); transition: color .15s, transform .2s var(--ease); }
.star.on { color: var(--gold); }
.star:hover { transform: scale(1.15) rotate(-8deg); }
.rv-done { text-align: center; }
.rv-done span { font-size: 44px; display: block; margin-bottom: 6px; }
.rv-done p { margin: 0; font-weight: 700; }

/* ============ corner fan ============ */
.fan { position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 76px; height: 76px; }
.fan-toggle { position: absolute; inset: 0; border: 0; padding: 0; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.45); transition: transform .45s var(--ease); }
.fan-toggle svg { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); animation: spin 18s linear infinite; }
.fan-toggle text { font-family: var(--body); font-weight: 800; font-size: 17px; letter-spacing: 1.6px; fill: var(--cream); }
.fan-toggle img { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); transition: transform .45s var(--ease); }
.fan-toggle:hover { transform: scale(1.06); }
.fan.open .fan-toggle { transform: rotate(-90deg) scale(.92); }
.fan.open .fan-toggle img { transform: rotate(90deg); }
.fan-item { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.4); border: 3px solid var(--cream);
  opacity: 0; transform: translate(0, 0) scale(.3); pointer-events: none;
  transition: transform .45s var(--ease) var(--d), opacity .25s var(--d); }
.fan.open .fan-item { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); pointer-events: auto; }
.fan-item img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.fan-item svg { width: 26px; height: 26px; fill: var(--gold); stroke: var(--ink); stroke-width: 1.2; }
#fanReviews { background: var(--jungle); border-color: var(--gold); }
.ig-dot { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cream);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Crect x='4' y='4' width='16' height='16' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.8'/%3E%3C/svg%3E") center / 14px no-repeat,
              linear-gradient(45deg, #f9a63a, #e1306c, #833ab4); }
.fan-item::after { content: attr(data-tip); position: absolute; right: calc(100% + 8px); top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none;
  padding: 5px 10px; border-radius: 999px; background: var(--jungle); color: var(--cream); font-size: 12px; font-weight: 800; opacity: 0; transition: opacity .2s; }
.fan-item:hover::after, .fan-item:focus-visible::after { opacity: 1; }
#fanReviews::after { right: auto; left: 50%; top: auto; bottom: calc(100% + 8px); translate: -50% 0; }

/* ============ jungle leaves scattered over the page ============ */
.has-deco { position: relative; }
.deco { position: absolute; z-index: 0; pointer-events: none; width: clamp(150px, 24vw, 360px); height: auto;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.35)); transform-origin: 30% 100%; animation: leafSway 9s ease-in-out infinite alternate; }
.deco.flip { transform: scaleX(-1); transform-origin: 70% 100%; animation-name: leafSwayFlip; }
@keyframes leafSway { from { rotate: -1.2deg; } to { rotate: 1.6deg; } }
@keyframes leafSwayFlip { from { rotate: 1.2deg; } to { rotate: -1.6deg; } }
.has-deco > :not(.deco):not(.leaves):not(.pole) { position: relative; z-index: 1; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; }
  .portrait { width: min(58%, 300px); order: -1; }
  .portrait-ig { font-size: 11px; padding: 7px 10px; right: -26px; }
  .fade-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding-top: 70px; gap: 18px; }
  .fade-copy { order: -1; text-align: center; }
  .fade-copy p:not(.kicker) { margin-inline: auto; }
  .fade-meter { display: none; }
  .fade-stage { height: 56svh; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 56vw; }
  .gallery .tile:last-child:nth-child(even) { grid-column: span 2; }   /* big tile + pairs: a lone last photo goes full width */
  .ticket { grid-template-columns: 1fr; }
  .ticket-side { border-left: 0; border-top: 3px dashed var(--paper); }
  .ticket-side::before, .ticket-side::after { top: -16px; bottom: auto; left: auto; }
  .ticket-side::before { left: -15px; } .ticket-side::after { right: -15px; }
  .fab { display: block; }
  .deco-sm { display: none; }
  .has-deco { overflow-x: clip; }   /* leaves stick out past the screen edge: keep phones from zooming out */
  .deco { width: clamp(120px, 34vw, 200px) !important; }
  .rv-wrap { grid-template-columns: 1fr; }
  .fan { width: 64px; height: 64px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .fan-toggle img { width: 36px; height: 36px; }
  .fan-toggle text { font-size: 19px; }
  .fan-item { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .pole { display: none; }
}
@media (max-width: 640px) {
  .booking { place-items: end center; }
  .booking-sheet { width: 100%; max-height: 94svh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .booking.open .booking-sheet { transform: none; }
  .sheet-grip { display: block; position: absolute; top: 18px; left: 50%; width: 44px; height: 5px; border-radius: 3px; background: var(--paper-2); transform: translateX(-50%); z-index: 2; }
  .steps { padding-top: 34px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .brand small { display: none; }
  .lang button { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .svc { opacity: 1; transform: none; }
  .stub { clip-path: none; }
}

/* ================================================================
   PAPER THEME — aged paper, ink, red serif, jungle leaves & red flowers
   (overrides the dark-green look above)
   ================================================================ */
:root { --paper-bg: #ebdfc3; --ink-green: #22382a; --red-ink: #a3221d; }
body { color: var(--ink); background: url('/photos/paper-tile.webp') center top / 900px auto repeat, var(--paper-bg); }
body::after { opacity: .12; mix-blend-mode: multiply; }
h2 { color: var(--red-ink); }
.kicker { color: var(--ink-green); }
:focus-visible { outline-color: var(--red); }
.btn { box-shadow: 0 4px 0 rgba(60,40,20,.28); }
.btn:hover { box-shadow: 0 6px 0 rgba(60,40,20,.28); }
.btn-ghost { --fg: var(--ink); border-color: rgba(27,23,18,.35); }
.btn-ghost:hover { border-color: var(--ink); }

.nav.scrolled { background: rgba(236,224,196,.9); box-shadow: 0 1px 0 rgba(27,23,18,.12); }
.nav { color: var(--ink); }
.brand img { border-color: var(--ink-green); }
.brand small { color: var(--red-ink); }
.lang { background: rgba(27,23,18,.07); }
.lang button[aria-pressed="true"] { background: var(--ink-green); color: var(--cream); }

/* hero: centred poster like the mockup */
.hero { background: none; text-align: center; padding-top: 96px; padding-bottom: clamp(60px, 8vw, 100px); }
.hero .leaves { opacity: .1; }
.hero-inner { grid-template-columns: 1fr; justify-items: center; gap: clamp(18px, 2.6vw, 30px); max-width: 860px; }
.hero-brand { display: grid; line-height: 1; animation: rise 1s var(--ease) both; }
.hero-brand b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 48px); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-green); }
.hero-brand small { font-weight: 700; font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; color: var(--ink-green); }
.portrait { width: min(78vw, 440px); order: 0; }
/* no hard frame: the photo dissolves into the paper on every side */
.portrait-frame { border-radius: 34px; background: #d9caa6; aspect-ratio: 5 / 6; -webkit-mask-image: none; mask-image: none;
  box-shadow: 0 0 0 1px rgba(34,56,42,.18), 0 18px 40px -12px rgba(60,40,20,.35); }
.portrait-frame img { filter: sepia(.22) saturate(.92) contrast(1.03); }
/* soft edge: a faint outline plus a light paper glow on the inside, so the photo sits on the page without a hard cut */
.portrait-frame::after { background: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(34,56,42,.28), inset 0 0 22px 4px rgba(235,223,195,.55); }.portrait-ig { right: -10px; top: 18px; box-shadow: 0 8px 18px rgba(60,40,20,.25); background: #f7efdc; }
.hero-copy { width: 100%; display: grid; justify-items: center; }
.rule { position: relative; width: min(100%, 720px); height: 1.5px; background: rgba(27,23,18,.55); margin: 4px 0 22px; }
.rule::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--ink-green); transform: translate(-50%, -50%) rotate(45deg); }
.rule-bot { margin: 22px 0 6px; }
.hero .kicker { color: var(--ink); letter-spacing: .24em; margin-bottom: 14px; }
.hero-title { color: var(--red-ink); text-shadow: none; line-height: .95; font-size: clamp(64px, 11vw, 150px); }
.hero-tag { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-green); margin: 18px 0 6px; }
.hero-sub { margin-inline: auto; opacity: .75; }
.hero-actions { justify-content: center; }
.deco-tl { left: -20px; top: 58px; width: clamp(170px, 26vw, 400px); }
.deco-br { right: -20px; bottom: -6px; width: clamp(220px, 34vw, 520px); }
.deco-tl, .deco-br { animation-duration: 11s; }

.marquee { border-block-color: var(--paper-bg); }

/* sections */
.board { box-shadow: 0 30px 60px rgba(60,40,20,.28); }
.member { background: rgba(255,250,236,.55); border-color: rgba(27,23,18,.14); }
.member:hover { border-color: var(--red-ink); }
.member-from, .member-go { color: var(--red-ink); }
.fade { background: rgba(34,56,42,.06); }
.fade-stage > img { border-color: #f7efdc; box-shadow: 0 30px 60px rgba(60,40,20,.3); }
.fade-meter span { text-shadow: none; color: var(--red-ink); }
.fade-meter small { color: var(--ink-green); }
.link-ig { color: var(--red-ink); }
.tile, .vibe-card { box-shadow: 0 14px 30px rgba(60,40,20,.18); }
.ticket { background: #f8f1df; box-shadow: 0 30px 60px rgba(60,40,20,.25); }
.ticket-side { background: var(--ink-green); }
.ticket-side::before, .ticket-side::after { background: var(--paper-bg); }
.finale { background: none; }
.finale::before { opacity: .1; }
.finale::after { display: none; }
.finale h2 { color: var(--red-ink); text-shadow: none; }
.finale .kicker { color: var(--ink-green); }
.finale-copy::before { border-color: var(--ink-green); box-shadow: 0 10px 24px rgba(60,40,20,.25); }
.footer a { color: var(--red-ink); }
.rv-sum b, .rv-stars { color: var(--red-ink); }
.rv-card { background: rgba(255,250,236,.6); border-color: rgba(27,23,18,.12); }
.rv-card::before { color: rgba(34,56,42,.25); }
.rv-empty { border-color: rgba(27,23,18,.22); }
.rv-box { background: #f8f1df; box-shadow: 0 24px 50px rgba(60,40,20,.22); }
.rv-box::before, .booking-sheet::before { background: linear-gradient(var(--ink-green), var(--ink-green)) bottom / 100% 1.5px no-repeat, #f8f1df; height: 10px; border: 0; }
.deco { filter: drop-shadow(0 12px 16px rgba(40,50,20,.25)); }

@media (max-width: 900px) {
  .hero { padding-top: 86px; }
  .portrait { width: min(76vw, 340px); }
  .portrait-ig { right: -14px; }
  .deco-tl { width: 34vw !important; left: -14px; top: 52px; }
  .hero { padding-bottom: 38vw; }
  .deco-br { width: 56vw !important; right: -12px; }
}

/* terracotta accents (buttons, ribbon, headings) — from the 26 mockup */
:root { --red: #c14f2f; --red-2: #a5401f; --red-ink: #b9472a; }
.board { --red-ink: #b9472a; }
.btn-red:hover { --bg: #cf5b39; }
.btn { box-shadow: 0 4px 0 rgba(150,95,55,.35); }
.btn:hover { box-shadow: 0 6px 0 rgba(150,95,55,.35); }
.btn-ghost { --bg: #f8f1df; --fg: var(--ink-green); border-color: var(--ink-green); box-shadow: none; }
.btn-ghost:hover { --bg: #fffaf0; border-color: var(--ink-green); }
.marquee { border-block-color: #f3e9d2; }
.fab { border-color: #f3e9d2; box-shadow: 0 10px 24px rgba(120,70,40,.35); }
.fan-toggle { box-shadow: 0 10px 24px rgba(120,70,40,.35); border: 3px solid #f3e9d2; }

/* finale title fits a phone: 'ОСВЕЖИТЬСЯ' is one long word */
.finale h2 { font-size: clamp(38px, 10.5vw, 130px); overflow-wrap: normal; }

/* success ticket: smooth print-out instead of the stepped one */
.stub.print { animation: printSmooth 1.2s cubic-bezier(.22,1,.36,1) forwards .15s; }
@keyframes printSmooth { from { clip-path: inset(0 0 100% 0 round 14px); transform: translateY(-14px) scale(.98); opacity: .3; } 60% { opacity: 1; } to { clip-path: inset(0 0 0 0 round 14px); transform: none; opacity: 1; } }

/* turtle sitting on the ticket's corner; climbs on once the ticket has printed */
.stub-wrap { position: relative; max-width: 340px; margin: 34px auto 22px; }
.stub-wrap .stub { margin: 0; }
.stub-turtle { position: absolute; right: 6px; bottom: calc(100% - 6px); width: 118px; height: auto; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); opacity: 0; transform-origin: 50% 100%; }
.stub.print ~ .stub-turtle, .stub-wrap:has(.stub.print) .stub-turtle { animation: turtleIn .9s cubic-bezier(.22,1,.36,1) forwards 1.1s, turtleNod 3.5s ease-in-out infinite 2.2s; }
@keyframes turtleIn { from { opacity: 0; transform: translate(26px, 10px) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes turtleNod { 0%, 100% { rotate: 0deg; } 50% { rotate: -2deg; } }

/* success ticket = the illustrated ticket with the turtle on top (ticket.webp), live text and a moving pole over it */
.stub-wrap { max-width: 440px; margin: 10px auto 22px; }
.stub { position: relative; display: block; max-width: none; margin: 0; aspect-ratio: 1341 / 706; container-type: inline-size;
  background: url('/photos/ticket.webp') center / 100% 100% no-repeat; box-shadow: none; border-radius: 0; overflow: visible;
  filter: drop-shadow(0 14px 18px rgba(60,40,20,.25)); }
.stub-pole { position: absolute; left: .3%; top: 22.1%; bottom: 1.9%; width: 9.3%; border-radius: 3.2cqw 0 0 3.2cqw; overflow: hidden; }
.stub-body { position: absolute; left: 16.4%; right: 4%; top: 30.5%; bottom: 5%; border: 0; padding: 0; gap: .4cqw; align-content: start; }
.stub-body small { font-size: max(9px, 2.5cqw); letter-spacing: .22em; }
.stub-body strong { font-size: 11cqw; line-height: .95; margin-bottom: .8cqw; }
.stub-body span { font-size: max(13px, 3.5cqw); }
.stub-body em { font-size: max(12px, 3.3cqw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub.print { animation: printSmooth 1.2s cubic-bezier(.22,1,.36,1) forwards .15s; }
@keyframes printSmooth { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px) scale(.98); opacity: .3; } 60% { opacity: 1; } to { clip-path: inset(-20% -20% -20% -20%); transform: none; opacity: 1; } }
