/* KERN Coffee Roasters: Swiss / international typographic concept */
:root {
  --paper: #f4f2ed; --ink: #0e0e0e; --red: #e5231b; --rule: rgba(14,14,14,.14); --mute: #5d5a55;
  --pad: clamp(16px, 3.4vw, 48px); --navh: 58px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --bk-bg: var(--paper); --bk-ink: var(--ink); --bk-line: var(--ink); --bk-accent: var(--red); --bk-on-accent: #fff;
  --vip-accent: #e5231b; --vip-curtain: #0e0e0e; --vip-curtain-ink: #e5231b; --line-d: #3a3835;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 78%; letter-spacing: -.035em; line-height: .9; }
h3 { font-size: clamp(22px, 2vw, 28px); font-stretch: 90%; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0; }
.meta { font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
[data-anchor] { scroll-margin-top: calc(64px + var(--navh)); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 64px; z-index: 50; display: flex; align-items: center; gap: 24px; height: var(--navh); padding: 0 var(--pad); background: var(--paper); border-bottom: 1px solid var(--ink); }
.nav__logo { display: flex; align-items: center; gap: 8px; font: 900 22px/1 var(--sans); font-stretch: 70%; letter-spacing: -.02em; text-decoration: none; }
.nav__logo i { width: 14px; height: 14px; background: var(--red); }
.nav__logo small { font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-inline-start: 4px; }
.nav__links { display: flex; gap: 22px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a { flex: none; padding: 6px 0; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a.is-active { border-color: var(--red); }
.nav__lang { flex: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 8px 12px; font: 700 13px/1 "IBM Plex Sans Arabic", var(--sans); cursor: pointer; }
.nav__lang:hover { background: var(--red); border-color: var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--sm { padding: 11px 14px; margin-top: auto; align-self: flex-start; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto auto auto; column-gap: 0; min-height: calc(100svh - 64px - var(--navh)); padding: 18px var(--pad) 0; overflow: clip; }
.rules { position: absolute; inset: 0 var(--pad); pointer-events: none; background: linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%; border-inline-end: 1px solid var(--rule); }
.meta--a { grid-area: 1 / 1 / 2 / 4; } .meta--b { grid-area: 1 / 5 / 2 / 9; } .meta--c { grid-area: 1 / 9 / 2 / 13; }
.hero__title { grid-area: 2 / 1 / 3 / 11; align-self: end; position: relative; z-index: 2; font-size: clamp(64px, 10.4vw, 172px); padding-top: 40px; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--red); }
.hero__sub { grid-area: 3 / 1 / 4 / 6; position: relative; z-index: 2; margin-top: 28px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); }
.hero__cta { grid-area: 4 / 1 / 5 / 9; position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 56px; }
.hero__art { grid-area: 1 / 8 / 5 / 13; position: relative; min-height: 420px; }
.bean { position: absolute; width: 74%; top: 6%; inset-inline-end: -14%; transform: rotate(24deg); }
.cup { position: absolute; width: 46%; bottom: 8%; inset-inline-start: 4%; }
.hero__bar { grid-area: 5 / 7 / 6 / 13; height: 26px; background: var(--red); }
[dir="rtl"] .vert { right: auto; left: calc(var(--pad) - 6px); }
.vert { position: absolute; top: 18px; right: calc(var(--pad) - 6px); z-index: 1; writing-mode: vertical-rl; font: 900 clamp(44px, 6vw, 96px)/.8 var(--sans); font-stretch: 70%; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--ink); pointer-events: none; }

/* motion (never in Basic) */
html:not([data-tier="basic"]) .cup__pour { animation: pour 5s cubic-bezier(.6,0,.3,1) infinite; }
html:not([data-tier="basic"]) .cup__fill { animation: fill 5s cubic-bezier(.6,0,.3,1) infinite; }
html:not([data-tier="basic"]) .bean { animation: drift 14s ease-in-out infinite alternate; }
html:not([data-tier="basic"]) .hero__bar { animation: bar 1.2s cubic-bezier(.7,0,.2,1) both .2s; transform-origin: right; }
@keyframes pour { 0% { clip-path: inset(0 0 100% 0); } 30%, 62% { clip-path: inset(0); } 85%, 100% { clip-path: inset(100% 0 0 0); } }
@keyframes fill { 0%, 15% { clip-path: inset(100% 0 0 0); } 62%, 88% { clip-path: inset(0); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes drift { to { transform: rotate(-8deg) translateY(30px); } }
@keyframes bar { from { transform: scaleX(0); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: flex; align-items: center; gap: 28px; padding: 18px 14px; font: 800 clamp(26px, 3vw, 42px)/1 var(--sans); font-stretch: 75%; letter-spacing: -.02em; text-transform: uppercase; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--red); }
@keyframes marq { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(56px, 8vw, 120px) var(--pad); border-top: 1px solid var(--ink); }
.sec.page-top { border-top: 0; padding-top: clamp(40px, 6vw, 88px); min-height: 70vh; }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 1100px; padding-inline-end: 80px; }
.sec__head--gap { margin-top: clamp(56px, 7vw, 104px); }
.sec__head h2 { font-size: clamp(44px, 7.4vw, 120px); }
.lede { max-width: 56ch; font-size: clamp(17px, 1.3vw, 19px); color: #2a2826; }
.demo { font: 400 12px/1.4 var(--mono); color: var(--red); text-transform: uppercase; }
.sec__more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.big { display: block; font: 900 clamp(72px, 9vw, 150px)/.8 var(--sans); font-stretch: 70%; letter-spacing: -.04em; color: var(--red); }

/* the grid of cells: each cell draws its own end + bottom rule */
.cells { display: grid; border-top: 1px solid var(--ink); border-inline-start: 1px solid var(--ink); }
.cells > * { border-inline-end: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cell { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 32px); background: var(--paper); text-decoration: none; transition: background-color .3s, color .3s; }
.cell p:not(.meta):not(.price) { color: inherit; opacity: .85; }
.price { margin-top: auto; padding-top: 14px; font: 800 26px/1 var(--sans); font-stretch: 85%; }
.price small { font: 400 12px var(--mono); opacity: .7; }
html:not([data-tier="basic"]) .cell:hover, .bag--red, .plan--hot { background: var(--red); color: #fff; }
html:not([data-tier="basic"]) .cell:hover .meta, html:not([data-tier="basic"]) .cell:hover .big, .bag--red .meta, .plan--hot .meta, .plan--hot .big { color: #fff; }
html:not([data-tier="basic"]) .cell:hover .btn, .bag--red .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cell--link { min-height: 260px; justify-content: space-between; font: 700 20px/1.1 var(--sans); }
.cell--link span::after { content: " →"; }
.bag { min-height: 300px; }
.plan h3 { font-size: 34px; }

/* visit */
.visit__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: end; }
.visit__big { font: 900 clamp(64px, 9vw, 150px)/.85 var(--sans); font-stretch: 68%; letter-spacing: -.04em; }
.visit__big::first-line { color: var(--red); }
.hours { margin: 0; display: grid; border-top: 1px solid var(--ink); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.hours dt { font: 400 12px/1.6 var(--mono); text-transform: uppercase; color: var(--mute); }
.hours dd { margin: 0; font-weight: 600; }
.visit__addr { font-size: 18px; line-height: 1.45; }

/* classes rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: grid; grid-template-columns: 130px 1.1fr 1.6fr auto; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ink); transition: padding .3s, background-color .3s; }
.rows b { font: 800 clamp(24px, 2.6vw, 36px)/1 var(--sans); font-stretch: 80%; }
.rows .price { margin: 0; padding: 0; }
html:not([data-tier="basic"]) .rows li:hover { padding-inline: 16px; background: var(--ink); color: var(--paper); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--ink); }
.steps li:last-child { border-bottom: 1px solid var(--ink); }
.steps h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 10px; }
.steps p { max-width: 52ch; }
.steps .meta { justify-self: end; text-align: end; }
html:not([data-tier="basic"]) .steps li:hover .big { transform: translateX(12px); }
.steps .big { transition: transform .4s cubic-bezier(.2,.7,.2,1); }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.form input, .form textarea, .form select { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 400 18px/1.4 var(--sans); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.form .btn { justify-self: start; }
.contact__side { display: grid; align-content: start; gap: 22px; }
.wa { display: flex; align-items: flex-end; min-height: 180px; padding: 22px; background: var(--red); color: #fff; font: 900 clamp(32px, 3.6vw, 52px)/.9 var(--sans); font-stretch: 72%; letter-spacing: -.03em; text-decoration: none; transition: background-color .25s; }
.wa:hover { background: var(--ink); }

/* VIP booking + maps */
.book { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; background: var(--ink); border: 1px solid var(--ink); } /* revealed as one block */
.book [data-booking] { border: 0; border-radius: 0; }
.bk__chips button, .bk__go { border-radius: 0; font-family: var(--mono); }
.book__note { display: grid; align-content: start; gap: 12px; padding: 26px; background: var(--paper); }
.map { position: relative; height: 220px; margin-bottom: 8px; overflow: hidden; border: 1px solid var(--ink); background: var(--paper) linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 22px 22px; }
.road { position: absolute; background: var(--ink); }
.road--h { left: -10%; right: -10%; top: 58%; height: 6px; }
.road--v { top: -10%; bottom: -10%; left: 34%; width: 4px; }
.road--d { left: 40%; top: -20%; width: 3px; height: 160%; transform: rotate(38deg); }
.map--b .road--h { top: 30%; height: 10px; } .map--b .road--v { left: 66%; } .map--b .road--d { transform: rotate(-52deg); }
.pin { position: absolute; left: calc(34% - 10px); top: calc(58% - 34px); width: 24px; height: 24px; background: var(--red); border: 3px solid var(--paper); outline: 1px solid var(--ink); }
.map--b .pin { left: calc(66% + 8px); top: calc(30% - 30px); }
html:not([data-tier="basic"]) .pin { animation: ping 2s ease-in-out infinite; }
@keyframes ping { 50% { transform: translateY(-6px); } }
.map .meta { position: absolute; right: 10px; bottom: 8px; background: var(--paper); padding: 2px 6px; color: var(--ink); }
.loc .hours { margin-top: 8px; }
html:not([data-tier="basic"]) .loc:hover { background: var(--paper); color: inherit; }
html:not([data-tier="basic"]) .loc:hover .meta { color: var(--mute); }

/* ---------- VIP sections ---------- */
.sec__head h2 .pk-badge { margin-inline-start: 6px; }
/* stats band */
.stats { padding: clamp(56px, 8vw, 120px) var(--pad); background: var(--ink); color: var(--paper); }
.stats .meta { color: #a8a49c; }
.stats__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 56px); }
.stats__head h2 { font-size: clamp(44px, 7.4vw, 120px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.stats__grid > div { display: grid; gap: 14px; align-content: end; min-height: 220px; padding: clamp(18px, 2.2vw, 32px); background: var(--ink); }
.stats b { font: 900 clamp(44px, 7vw, 120px)/.85 var(--sans); font-stretch: 66%; letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.stats__note { margin-top: 18px; }
/* quiz */
.quiz { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid var(--ink); }
.quiz__side { display: grid; align-content: space-between; gap: 28px; padding: clamp(20px, 2.4vw, 36px); background: var(--ink); color: var(--paper); }
.quiz__side .meta { color: #a8a49c; }
.quiz__n { font: 900 clamp(80px, 10vw, 170px)/.8 var(--sans); font-stretch: 66%; letter-spacing: -.04em; color: var(--red); }
.quiz__bar { display: block; height: 6px; background: var(--line-d); }
.quiz__bar i { display: block; width: 0; height: 100%; background: var(--red); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.quiz__body { min-height: 400px; padding: clamp(20px, 2.4vw, 36px); }
.quiz__q h3, .quiz__name { margin-bottom: 22px; font-size: clamp(30px, 3.6vw, 56px); font-stretch: 78%; line-height: .95; }
.quiz__opts { display: grid; border-top: 1px solid var(--ink); }
.quiz__opts button { display: flex; align-items: baseline; gap: 16px; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--ink); background: none; color: inherit; font: 700 clamp(18px, 1.6vw, 22px)/1.2 var(--sans); text-align: start; cursor: pointer; transition: padding .25s, background-color .25s, color .25s; }
.quiz__opts button:hover, .quiz__opts button:focus-visible { padding-inline-start: 18px; background: var(--red); color: #fff; outline: 0; }
.quiz__opts button:hover .meta, .quiz__opts button:focus-visible .meta { color: #fff; }
.quiz__res:not([hidden]) { display: grid; gap: 10px; }
.quiz__res .quiz__name { margin: 0; font-size: clamp(48px, 7vw, 110px); color: var(--red); }
.quiz__notes { font-size: clamp(18px, 1.6vw, 22px); }
.quiz__q:not([hidden]), .quiz__res:not([hidden]) { animation: qin .5s cubic-bezier(.2,.7,.2,1); }
@keyframes qin { from { opacity: 0; transform: translateX(24px); } }
/* origins map */
.omap__wrap { display: grid; grid-template-columns: 2fr 1fr; border: 1px solid var(--ink); }
.omap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-inline-end: 1px solid var(--ink); background: radial-gradient(rgba(14,14,14,.3) 1px, transparent 1.6px) 0 0 / 14px 14px; }
.omap__belt { position: absolute; inset: 18.75% 0; background: rgba(229,35,27,.07); border-block: 1px dashed var(--red); }
.omap__eq { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink); }
.omap__belt > .meta, .omap__eq > .meta { position: absolute; left: 10px; top: 6px; color: var(--red); }
.omap__eq > .meta { color: var(--ink); }
.omap__home, .dot { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.omap__home { background: var(--ink); }
.omap__home .meta { position: absolute; right: 24px; top: 0; white-space: nowrap; color: var(--ink); }
.dot { padding: 0; border: 2px solid var(--paper); outline: 1px solid var(--ink); background: var(--red); cursor: pointer; transition: transform .25s, background-color .25s; }
.dot::before { content: ""; position: absolute; inset: -10px; }
.dot span { position: absolute; left: 20px; top: -2px; font: 600 10px/1 var(--mono); color: var(--ink); }
.dot:hover, .dot:focus-visible, .dot.on { transform: scale(1.35); background: var(--ink); outline-color: var(--red); }
.dot.on::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--red); animation: ring 1.6s ease-out infinite; }
@keyframes ring { to { transform: scale(2.4); opacity: 0; } }
.omap__info { display: grid; align-content: end; gap: 12px; padding: clamp(20px, 2.4vw, 32px); }
.omap__info h3 { font-size: clamp(30px, 3vw, 48px); font-stretch: 78%; }
/* quote slider */
.slider__view { overflow: hidden; border-block: 1px solid var(--ink); touch-action: pan-y; }
.slider__track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.slider__track li { flex: 0 0 100%; display: grid; gap: 28px; padding: clamp(28px, 4vw, 64px) 0; }
.slider blockquote { margin: 0; max-width: 24ch; font: 800 clamp(30px, 4.4vw, 72px)/1 var(--sans); font-stretch: 78%; letter-spacing: -.03em; user-select: none; }
.slider__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.slider__btn { width: 56px; height: 56px; border: 1px solid var(--ink); background: none; color: var(--ink); font: 700 22px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.slider__btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
[dir="rtl"] .slider__btn { transform: scaleX(-1); }
/* faq */
.faq { max-width: 1100px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 800 clamp(20px, 2.2vw, 30px)/1.1 var(--sans); font-stretch: 85%; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 28px/1 var(--mono); color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red); }
.faq details p { max-width: 62ch; padding-bottom: 24px; color: #2a2826; }
/* roast club */
.sec.club { background: var(--red); color: #fff; border-top: 0; }
.club .meta, .club .lede { color: #fff; }
.club__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.club .sec__head { margin: 0; }
.club .form label { color: #fff; }
.club .form input, .club .form select { border-color: #fff; color: #fff; }
.club .form input::placeholder { color: rgba(255,255,255,.7); }
.club .form select option { color: var(--ink); }
.club .form input:focus, .club .form select:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.club .btn { background: var(--ink); border-color: var(--ink); }
.club .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* shop, wholesale, process extras */
.gift { margin-top: clamp(40px, 5vw, 72px); }
.partners .cell { justify-content: space-between; min-height: 140px; }
.partners b { font: 800 clamp(22px, 2.2vw, 30px)/1 var(--sans); font-stretch: 80%; }
.curve { margin: 0 0 clamp(28px, 4vw, 56px); padding: clamp(16px, 2vw, 28px); border: 1px solid var(--ink); background: linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 20%, linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 10% 100%; }
.curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.curve__bt, .curve__ror { fill: none; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.6s cubic-bezier(.6,0,.2,1) .3s; }
.curve__bt { stroke: var(--red); stroke-width: 5; }
.curve__ror { stroke: var(--ink); stroke-width: 2; }
.curve.in .curve__bt, .curve.in .curve__ror, html[data-tier="basic"] .curve path { stroke-dashoffset: 0; }
.curve__mark { stroke: var(--ink); stroke-dasharray: 4 6; }
.curve__drop { fill: var(--ink); }
.curve figcaption { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; color: var(--ink); }
.k { display: inline-block; width: 18px; height: 2px; margin-inline-end: 8px; vertical-align: middle; background: var(--ink); }
.k--bt { height: 5px; background: var(--red); }

/* footer */
.foot { display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; align-items: end; padding: 48px var(--pad) 32px; background: var(--ink); color: var(--paper); }
.foot__logo { grid-row: span 2; display: flex; align-items: flex-start; gap: 10px; font: 900 clamp(80px, 14vw, 220px)/.78 var(--sans); font-stretch: 66%; letter-spacing: -.05em; }
.foot__logo i { width: .16em; height: .16em; background: var(--red); }
.foot .meta { color: #a8a49c; }
.foot__note { font-size: 14px; color: #d8d4cb; }

/* ---------- Basic: plainer grid, no moving parts ---------- */
html[data-tier="basic"] .rules, html[data-tier="basic"] .vert, html[data-tier="basic"] .hero__bar { display: none; }
html[data-tier="basic"] .hero { min-height: 0; }
html[data-tier="basic"] .bean { transform: rotate(18deg); }
html[data-tier="basic"] * { transition: none !important; }

/* ---------- VIP: Arabic ---------- */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] .hero__sub, html[lang="ar"] .nav__links a { font-family: "IBM Plex Sans Arabic", var(--sans); letter-spacing: 0; font-stretch: normal; line-height: 1.2; }
html[lang="ar"] .hero__title { font-size: clamp(52px, 8.4vw, 136px); }
html[lang="ar"] .nav__links a { font-size: 14px; text-transform: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cells--4 { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr 1fr; } .visit__big { grid-column: 1 / -1; }
  .rows li { grid-template-columns: 100px 1fr auto; } .rows li > span:not(.meta):not(.price) { grid-column: 2 / -1; grid-row: 2; }
}
@media (max-width: 860px) {
  :root { --navh: 96px; }
  .nav { flex-wrap: wrap; height: auto; min-height: var(--navh); gap: 0 12px; padding-block: 10px 0; align-content: flex-start; }
  .nav__logo { flex: 1; height: 38px; }
  .nav__links { order: 3; flex: 1 1 100%; margin: 0 calc(var(--pad) * -1); padding: 8px var(--pad) 10px; gap: 18px; border-top: 1px solid var(--rule); }
  .hero { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; padding-bottom: 0; }
  .rules { background-size: 25% 100%; }
  .meta--a { grid-area: auto / 1 / auto / 5; } .meta--b { grid-area: auto / 1 / auto / 5; } .meta--c { display: none; }
  .hero__title { grid-area: auto / 1 / auto / 5; padding-top: 24px; font-size: clamp(50px, 15vw, 96px); padding-inline-end: 34px; }
  .hero__sub, .hero__cta { grid-area: auto / 1 / auto / 5; }
  .hero__art { grid-area: auto / 1 / auto / 5; min-height: 300px; margin-top: -10px; }
  .bean { width: 50%; inset-inline-end: -4%; top: 0; }
  .cup { width: 36%; bottom: 10%; }
  .hero__cta { margin-bottom: 8px; }
  .hero__bar { grid-area: auto / 2 / auto / 5; }
  .vert { font-size: 40px; }
  .page-top .vert { display: none; }
  .sec__head { padding-inline-end: 0; }
  .cells--3, .cells--2, .contact__grid, .book { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 10px; } .steps .meta { justify-self: start; text-align: start; }
  .foot { grid-template-columns: 1fr; } .foot__logo { grid-row: auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; } .stats__grid > div { min-height: 150px; }
  .quiz, .omap__wrap, .club__grid { grid-template-columns: 1fr; }
  .quiz__side { grid-template-columns: auto 1fr; align-items: end; } .quiz__side .meta { grid-column: 1 / -1; }
  .quiz__body { min-height: 0; }
  .omap { aspect-ratio: 4 / 3; border-inline-end: 0; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 640px) { .nav { top: 96px; } [data-anchor] { scroll-margin-top: calc(96px + var(--navh)); } }
@media (max-width: 520px) {
  .cells--4 { grid-template-columns: 1fr; }
  .cell--link { min-height: 160px; }
  .visit__grid { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 1fr auto; gap: 8px 16px; } .rows li > .meta { grid-column: 1 / -1; } .rows b { grid-column: 1; } .rows li > span:not(.meta):not(.price) { grid-column: 1 / -1; grid-row: 3; }
  .btn { padding: 14px 16px; }
}
