/* ============================================================
   Cafe Codex — V2 · "Noir"
   Minimal · professional · flashy
   ============================================================ */

:root {
    --bg: #0a0a0b;
    --bg-2: #0f0f11;
    --panel: #141416;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --text: #f4f4f5;
    --muted: #8c8c92;
    --accent: #ff7a3d;
    --accent-2: #ffb15c;
    --grad: linear-gradient(115deg, #ff7a3d 0%, #ffb15c 100%);

    --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

    --wrap: 1200px;
    --gutter: clamp(1.15rem, 4vw, 2.4rem);
    --radius: 18px;
    --radius-sm: 12px;
    --nav-h: 74px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.v2 {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.v2::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(820px 520px at 88% -12%, rgba(255, 122, 61, .10), transparent 62%);
}
body.v2.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #120a05; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262a; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 2000; background: var(--bg); display: grid; place-items: center; transition: opacity .5s, visibility .5s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.6rem; border-radius: 999px; font-family: var(--font-display); font-weight: 500;
    font-size: .82rem; letter-spacing: .01em; border: 1px solid transparent; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
    white-space: nowrap;
}
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--grad); color: #140a04; box-shadow: 0 14px 34px -16px rgba(255,122,61,.85); }
.btn--solid:hover { box-shadow: 0 20px 44px -14px rgba(255,122,61,1); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: .86rem; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; letter-spacing: -.01em; }
.logo__img { height: 30px; width: auto; display: block; }
.logo__mark { color: var(--accent); display: grid; place-items: center; }
.logo__v2 { font-family: var(--font-body); font-size: .54rem; font-weight: 700; letter-spacing: .16em; padding: .16rem .42rem; border-radius: 999px; color: var(--accent); border: 1px solid rgba(255,122,61,.4); background: rgba(255,122,61,.08); }
.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__links a { position: relative; font-size: .84rem; padding: .55rem .95rem; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.7px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 880; width: min(340px, 86vw); background: var(--bg-2); border-right: 1px solid var(--line); border-radius: 0 22px 22px 0; padding: calc(var(--nav-h) + 1.6rem) 1.4rem 2.2rem; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform .5s var(--ease); box-shadow: 40px 0 90px -40px rgba(0,0,0,.9); overflow-y: auto; }
.drawer.is-open { transform: none; }
.drawer nav { display: flex; flex-direction: column; gap: .3rem; }
.drawer nav a { display: flex; align-items: center; gap: .95rem; font-family: var(--font-display); font-size: 1.28rem; padding: .85rem .95rem; border-radius: var(--radius-sm); color: var(--text); opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer.is-open nav a:nth-child(1) { transition-delay: .10s; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .15s; }
.drawer.is-open nav a:nth-child(3) { transition-delay: .20s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .25s; }
.drawer.is-open nav a:nth-child(5) { transition-delay: .30s; }
.drawer.is-open nav a:nth-child(6) { transition-delay: .35s; }
.drawer nav a span { font-family: var(--font-body); font-size: .6rem; font-weight: 700; color: #140a04; background: var(--grad); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.drawer nav a:hover { background: var(--panel); }
.drawer nav a.is-active { background: var(--panel); }
.drawer__cta { justify-content: center !important; margin-top: .8rem; background: var(--grad) !important; color: #140a04 !important; font-size: .78rem !important; letter-spacing: .04em; }
.drawer__meta { margin-top: auto; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .45rem; font-size: .86rem; color: var(--muted); }
.drawer__meta a:hover { color: var(--accent); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 870; background: rgba(5,5,6,.62); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Typography helpers ---------- */
.section { position: relative; padding: clamp(4.2rem, 9vw, 7.5rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.14rem); max-width: 56ch; }
.section-head { max-width: 680px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin: 1rem 0 .8rem; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3.2rem) 0 4.5rem; overflow: hidden; --hero-shift: clamp(0px, 3.6vw, 48px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.5) 38%, rgba(10,10,11,.55) 64%, rgba(10,10,11,.94) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; padding-left: var(--hero-shift, 0px); }
.hero__inner--center {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
    padding-left: 0;
}
.hero__inner--center .eyebrow { justify-content: center; }
.hero__inner--center .hero__desc { margin-inline: auto; }
.hero__inner--center .hero__actions { justify-content: center; }
.hero__inner--center .hero__stats { justify-content: center; }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.2rem); margin: 1.3rem 0 1.2rem; letter-spacing: -.035em; }
.hero__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__desc { color: rgba(244,244,245,.76); max-width: 48ch; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats { display: flex; flex-wrap: wrap; margin-top: 2.6rem; }
.hero__stats > div { padding-right: 1.9rem; margin-right: 1.9rem; border-right: 1px solid var(--line); }
.hero__stats > div:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero__stats b { font-family: var(--font-display); font-weight: 600; font-size: 2rem; display: block; line-height: 1; }
.hero__stats span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__art { position: relative; }
.hero__art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-2); }
.hero__art::after { content: ""; position: absolute; inset: -22px -22px auto auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,61,.35), transparent 70%); filter: blur(12px); pointer-events: none; }
.hero__badge { position: absolute; bottom: -1.1rem; left: -1.1rem; display: flex; align-items: center; gap: .65rem; padding: .85rem 1.05rem; border-radius: 14px; background: rgba(16,16,18,.85); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.hero__badge i { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-style: normal; color: #140a04; font-weight: 700; font-size: .78rem; }
.hero__badge b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.hero__badge span { font-size: .72rem; color: var(--muted); }
.hero__scroll { position: absolute; left: calc(var(--gutter) + var(--hero-shift, 0px)); bottom: 1.8rem; z-index: 3; display: flex; align-items: center; gap: .7rem; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 44px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1rem 0; }
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 2.6rem; }
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .45s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text); background: rgba(10,10,11,.7); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: .32rem .68rem; border-radius: 999px; }
.card__price { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-family: var(--font-display); font-weight: 600; color: #140a04; background: var(--grad); padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.28rem; margin-bottom: .35rem; }
.card__desc { color: var(--muted); font-size: .9rem; margin: 0; }

.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .4s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: rgba(255,122,61,.08); border: 1px solid rgba(255,122,61,.25); margin-bottom: 1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Menu ---------- */
.menu-toolbar { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; margin-bottom: 2.4rem; }
.search { position: relative; width: min(460px, 100%); }
.search input { width: 100%; padding: .92rem 1.1rem .92rem 2.9rem; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); transition: border-color .3s, box-shadow .3s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,61,.12); }
.search svg { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; font-weight: 500; color: var(--muted); transition: all .3s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: var(--grad); color: #140a04; border-color: transparent; }

.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem clamp(1.4rem, 3vw, 3rem); }
.menu-row { display: flex; gap: 1rem; align-items: center; padding: .85rem .8rem; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s; }
.menu-row:hover { background: var(--panel); border-color: var(--line); transform: translateX(4px); }
.menu-row__thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.menu-row__main { flex: 1; min-width: 0; }
.menu-row__name { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; }
.menu-row__meta { font-size: .8rem; color: var(--muted); }
.menu-row__price { font-family: var(--font-display); font-weight: 600; color: var(--accent); white-space: nowrap; }
.menu-row.is-hidden { display: none; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- Gallery (masonry) ---------- */
.gallery-chips { margin-bottom: 2rem; }
.gallery-masonry { columns: 3; column-gap: 1rem; }
.gallery-card {
    break-inside: avoid; margin: 0 0 1rem; position: relative; display: block;
    border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line);
    cursor: pointer; background: var(--panel);
}
.gallery-card__media { overflow: hidden; }
.gallery-card__media img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--ease); }
.gallery-card:hover .gallery-card__media img { transform: scale(1.07); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.9), transparent 60%); opacity: 0; transition: opacity .4s; }
.gallery-card:hover::after { opacity: 1; }
.gallery-card figcaption {
    position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.1rem 1.2rem;
    display: flex; flex-direction: column; gap: .15rem;
    opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gallery-card:hover figcaption { opacity: 1; transform: none; }
.gallery-card__cat { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.gallery-card figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--text); }
.gallery-item--tall, .gallery-item--wide { }

/* ---------- Sub hero (inner pages) ---------- */
.subhero { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(1.4rem, 4vw, 2.6rem); text-align: center; }
.subhero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 1rem 0 .6rem; }
.subhero .lead { margin-inline: auto; }
.subhero .eyebrow::before { display: none; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: .9rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--line); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.1rem; color: var(--text); font-family: var(--font-display); font-size: .86rem; background: linear-gradient(0deg, rgba(10,10,11,.85), transparent); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(5,5,6,.95); display: grid; place-items: center; padding: 3rem var(--gutter); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close, .lightbox__nav { position: absolute; color: var(--text); background: rgba(20,20,22,.8); border: 1px solid var(--line-2); border-radius: 12px; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.4rem; transition: background .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #140a04; }
.lightbox__close { top: 1.3rem; right: 1.3rem; }
.lightbox__prev { left: 1.3rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.3rem; top: 50%; transform: translateY(-50%); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .8rem; height: 100%; transition: transform .4s var(--ease), border-color .4s; }
.quote:hover { transform: translateY(-5px); border-color: var(--line-2); }
.quote__stars { color: var(--accent); letter-spacing: .2em; }
.quote__text { font-size: .98rem; color: rgba(244,244,245,.9); margin: 0; }
.quote__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote__who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.quote__who b { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; }
.quote__who span { font-size: .76rem; color: var(--muted); }

/* ---------- Forms / panels ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { padding: .9rem 1.05rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); transition: border-color .3s, box-shadow .3s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select option { color: #141416; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,61,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.info-list { display: grid; }
.info-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-item h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.info-item a:hover { color: var(--accent); }
.map-frame { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(.5) invert(.92) contrast(.85); }

/* ---------- Track reservation ---------- */
.track-panel { max-width: 860px; margin-inline: auto; }
.track-form { display: flex; gap: 1rem; align-items: flex-end; margin-top: 2rem; }
.track-form .field { flex: 1; }
.track-form .btn { flex-shrink: 0; }
.track-empty { margin-top: 1.8rem; text-align: center; color: var(--muted); }
.track-empty strong { color: var(--text); }
.track-list { display: grid; gap: .8rem; margin-top: 1.8rem; }
.track-item { display: flex; align-items: center; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.track-item__when { width: 56px; flex-shrink: 0; text-align: center; background: rgba(255,122,61,.1); border: 1px solid rgba(255,122,61,.25); border-radius: 10px; padding: .4rem 0; line-height: 1.1; }
.track-item__when b { font-family: var(--font-display); font-weight: 600; display: block; font-size: 1.15rem; }
.track-item__when span { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.track-item__main { flex: 1; min-width: 0; }
.track-item__main strong { display: block; font-family: var(--font-display); font-weight: 500; }
.track-item__main span { font-size: .82rem; color: var(--muted); }
.btn--caps { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.badge { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.badge--pending { background: rgba(255,177,92,.16); color: #ffcf94; }
.badge--confirmed { background: rgba(80,200,140,.16); color: #a9edc7; }
.badge--cancelled { background: rgba(230,100,100,.16); color: #ffb4b4; }
.badge--completed { background: rgba(110,170,255,.16); color: #bcd6ff; }

/* ---------- Footer ---------- */
.v2-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(3rem, 7vw, 5rem) 0 2rem; margin-top: 2rem; }
.v2-cta { text-align: center; padding: clamp(1.9rem, 5vw, 3rem); border-radius: var(--radius); background: linear-gradient(140deg, rgba(255,122,61,.14), rgba(255,122,61,.02)); border: 1px solid rgba(255,122,61,.28); margin-bottom: 3.4rem; }
.v2-cta h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.v2-cta p { color: var(--muted); margin: .5rem 0 1.4rem; }
.v2-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 2rem; }
.v2-footer__brand p { color: var(--muted); margin-top: .9rem; max-width: 34ch; font-size: .9rem; }
.socials { display: flex; gap: 1.1rem; margin-top: 1rem; }
.socials a { font-size: .8rem; color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: .12rem; transition: color .3s, border-color .3s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.v2-footer__col h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.v2-footer__col a, .v2-footer__col span { display: block; color: var(--muted); font-size: .9rem; padding: .2rem 0; transition: color .3s, padding-left .3s; }
.v2-footer__col a:hover { color: var(--text); padding-left: .3rem; }
.v2-news { display: flex; gap: .5rem; margin-top: .4rem; border: 1px solid var(--line-2); border-radius: 999px; padding: .28rem .28rem .28rem 1rem; background: var(--panel); }
.v2-news input { flex: 1; background: none; border: none; color: var(--text); min-width: 0; }
.v2-news input:focus { outline: none; }
.v2-news button { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #140a04; flex-shrink: 0; }
.v2-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.v2-footer__bottom a:hover { color: var(--accent); }

/* ---------- Flash + to-top ---------- */
.flash-stack { position: fixed; top: calc(var(--nav-h) + 12px); right: 1.2rem; z-index: 1300; display: grid; gap: .5rem; }
.flash { padding: .8rem 1.15rem; border-radius: 12px; font-size: .88rem; border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.flash--success { background: rgba(80,200,140,.16); color: #bdf0d3; }
.flash--error { background: rgba(230,100,100,.16); color: #ffcaca; }
.flash--info { background: rgba(255,255,255,.08); color: var(--text); }
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 800; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ============================================================
   Home hero — light variant (image blended on white, no dark scrim)
   ============================================================ */
.hero.hero--light {
    color: #1b1712;
    background:
        radial-gradient(900px 620px at 84% -12%, rgba(255, 122, 61, .16), transparent 60%),
        radial-gradient(720px 520px at 4% 112%, rgba(255, 177, 92, .18), transparent 62%),
        #f7f4ef;
}
.hero--light .hero__bg img { opacity: .55; mix-blend-mode: multiply; }
.hero--light .hero__bg::after {
    background: linear-gradient(180deg,
        rgba(247, 244, 239, .95) 0%,
        rgba(247, 244, 239, .34) 42%,
        rgba(247, 244, 239, .58) 72%,
        rgba(247, 244, 239, .97) 100%);
}
.hero--light::after {
    content: "";
    position: absolute; right: -6%; bottom: -22%; z-index: 1;
    width: min(520px, 62vw); height: min(520px, 62vw);
    background: radial-gradient(circle, rgba(255, 122, 61, .2), transparent 68%);
    filter: blur(18px); pointer-events: none;
}
.hero--light .eyebrow { color: #6f665b; }
.hero--light .hero__title { color: #17130e; }
.hero--light .hero__desc { color: #5b534a; }
.hero--light .hero__stats b { color: #17130e; }
.hero--light .hero__stats span { color: #857b6f; }
.hero--light .hero__stats > div { border-right-color: rgba(20, 17, 13, .14); }
.hero--light .hero__scroll { color: #857b6f; }
.hero--light .hero__scroll i { background: rgba(20, 17, 13, .18); }
.hero--light .btn--ghost { border-color: rgba(20, 17, 13, .22); color: #17130e; }
.hero--light .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Nav switches to "on-light" while over the light home hero */
body.page-home .nav:not(.is-scrolled) .logo { color: #17130e; }
body.page-home .nav:not(.is-scrolled) .nav__links a { color: #61594f; }
body.page-home .nav:not(.is-scrolled) .nav__links a:hover,
body.page-home .nav:not(.is-scrolled) .nav__links a.is-active { color: #17130e; }
body.page-home .nav:not(.is-scrolled) .nav__classic { border-color: rgba(20, 17, 13, .22); color: #17130e; }
body.page-home .nav:not(.is-scrolled) .nav__classic:hover { border-color: var(--accent); color: var(--accent); }
body.page-home .nav:not(.is-scrolled) .burger { border-color: rgba(20, 17, 13, .22); }
body.page-home .nav:not(.is-scrolled) .burger span { background: #17130e; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { max-width: 460px; }
    .grid-3, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-footer__grid { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .nav__links { display: none; }
    .burger { display: block; }
    .nav__classic { display: none; }
    .menu-list { grid-template-columns: 1fr; }
    .gallery-masonry { columns: 2; }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 160px; }
}
@media (max-width: 640px) {
    .nav__reserve { display: none; }
    .grid-3, .grid-4, .quotes { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .hero__stats > div { padding-right: 1.2rem; margin-right: 1.2rem; }
    .track-form { flex-direction: column; align-items: stretch; }
    .track-form .btn { width: 100%; }
    .gallery-masonry { columns: 1; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
    .gallery-item--wide { grid-column: span 2; }
    .v2-footer__grid { grid-template-columns: 1fr; }
    .flash-stack { left: 1rem; right: 1rem; }
}
