/* ==========================================================
   Los Hermanos Parrilleros — Argentine BBQ Catering, Barcelona
   Shared stylesheet
   ========================================================== */

:root {
    --bg: #0a0807;
    --bg-soft: #141110;
    --bg-card: #1a1614;
    --ink: #f3ede2;
    --ink-soft: #b6ac9c;
    --ink-mute: #6e655a;
    --gold: #c9a55c;
    --gold-soft: #e0c281;
    --ember: #c84a1f;
    --line: #2a2520;
    --whatsapp: #25d366;
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max: 1240px;
    --nav-h: 78px;
}
@media (max-width: 720px) {
    :root { --nav-h: 60px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.005em;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow.center { display: block; text-align: center; }

.lead {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.5;
}

.divider {
    width: 56px;
    height: 1px;
    background: var(--gold);
    margin: 24px 0;
}

.divider.center { margin: 24px auto; }

/* ---------- NAV ---------- */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 8, 7, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.04em;
}

.brand-mark {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gold);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--bg);
}

.menu-toggle {
    display: none;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* spacer for fixed nav */
.nav-spacer { height: var(--nav-h); }

/* ---------- HERO — full-bleed dark immersive (asado photo) ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h)); /* mobile-safe: accounts for url bar */
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: grayscale(15%) contrast(1.05);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(200, 74, 31, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 8, 7, 0.55) 0%, rgba(10, 8, 7, 0.85) 60%, rgba(10, 8, 7, 0.95) 100%);
}

.hero-content {
    max-width: 720px;
    padding: 120px 0;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--ink);
    margin: 18px 0 12px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}

.hero .lead {
    margin-top: 24px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 44px;
    flex-wrap: wrap;
}

/* ---------- Argentine flag badge (pinned to hero) ---------- */
.ar-badge {
    position: absolute;
    top: 110px;
    right: 32px;
    z-index: 5;
    display: flex;
    align-items: stretch;
    background: rgba(10, 8, 7, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 165, 92, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.02);
    transition: transform 0.4s cubic-bezier(.2,.9,.2,1), box-shadow 0.4s ease;
    overflow: hidden;
    max-width: 320px;
}
.ar-badge:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.6), 0 0 36px rgba(116, 172, 223, 0.18);
}
/* Argentine flag stripes — celeste / blanco / celeste */
.ar-stripes {
    width: 12px;
    flex-shrink: 0;
    background:
        linear-gradient(
            180deg,
            #74acdf 0%, #74acdf 33.33%,
            #ffffff 33.33%, #ffffff 66.66%,
            #74acdf 66.66%, #74acdf 100%
        );
    position: relative;
}
.ar-stripes::after {
    /* sol de mayo dot in the middle white band */
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #f5c542 0%, #d49b1a 60%, #a06a00 100%);
    box-shadow: 0 0 4px rgba(245, 197, 66, 0.6);
}
.ar-badge-text {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.ar-badge-flag {
    font-size: 1.7rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.ar-badge-line {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}
.ar-badge-line strong {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}
.ar-badge-line em {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--ink-soft);
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    .ar-badge {
        top: 96px;
        right: 16px;
        max-width: 220px;
    }
    .ar-badge-text { padding: 10px 12px; gap: 10px; }
    .ar-badge-flag { font-size: 1.3rem; }
    .ar-badge-line strong { font-size: 0.62rem; letter-spacing: 0.14em; }
    .ar-badge-line em { font-size: 0.72rem; }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    background: none;
    color: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: rgba(243, 237, 226, 0.3);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
}

.btn-wa {
    background: var(--whatsapp);
    color: #fff;
}

.btn-wa:hover { background: #20bd5a; }

.btn-large {
    padding: 20px 40px;
    font-size: 0.88rem;
}

/* ---------- SECTIONS ---------- */
section { padding: 110px 0; }

.section-head {
    max-width: 720px;
    margin-bottom: 64px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.6rem);
    margin-top: 14px;
}

.section-head .lead { margin-top: 20px; }

/* ---------- FEATURE GRID ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.feature {
    background: var(--bg);
    padding: 44px 36px;
    transition: background 0.3s ease;
}

.feature:hover { background: var(--bg-soft); }

.feature-num {
    font-family: var(--serif);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 22px;
}

.feature h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.feature p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* ---------- SPLIT SECTION (image + text) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-media {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.split-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 165, 92, 0.2);
    pointer-events: none;
}

.split-body h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin: 14px 0 22px;
}

.split-body p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.split-body .btn { margin-top: 18px; }

/* ---------- LIST (menu, includes) ---------- */
.spec-list {
    display: grid;
    gap: 0;
}

.spec-list > li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    list-style: none;
}

.spec-list > li:first-child { border-top: 1px solid var(--line); }

.spec-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--ink);
}

.spec-desc {
    color: var(--ink-soft);
    font-size: 0.92rem;
    flex: 1;
    text-align: right;
    font-style: italic;
}

/* ---------- MENU CARDS ---------- */
.menu-section + .menu-section { margin-top: 80px; }

.menu-section-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px 48px;
}

.menu-item h4 {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.menu-item h4 .es {
    font-style: italic;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 400;
    align-self: flex-end;
}

.menu-item p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- EVENT CARDS ---------- */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.event-card {
    background: var(--bg-soft);
    padding: 48px 36px;
    border-top: 2px solid var(--gold);
    transition: transform 0.3s ease;
}

.event-card:hover { transform: translateY(-4px); }

.event-card h3 {
    font-size: 1.8rem;
    margin: 12px 0 18px;
}

.event-card p {
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.event-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.event-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.event-card ul li::before {
    content: '·';
    color: var(--gold);
    margin-right: 10px;
    font-weight: 700;
}

/* ---------- STAT STRIP ---------- */
.stat-strip {
    background: var(--bg-soft);
    padding: 72px 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.stat-num {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ---------- QUOTE ---------- */
.quote-section {
    background: var(--bg-soft);
    text-align: center;
}

.quote-section blockquote {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.4;
    color: var(--ink);
}

.quote-section blockquote::before { content: '\201C'; color: var(--gold); margin-right: 8px; }
.quote-section blockquote::after { content: '\201D'; color: var(--gold); margin-left: 4px; }

.quote-attribution {
    margin-top: 32px;
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* ---------- BOOKING FORM ---------- */
.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.booking-form {
    background: var(--bg-soft);
    padding: 48px;
    border: 1px solid var(--line);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full { grid-column: 1 / -1; }

.field label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}

.contact-card {
    background: var(--bg-soft);
    padding: 40px;
    border: 1px solid var(--line);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
}

.contact-person {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contact-person:last-child { border-bottom: none; }

.contact-person .name {
    font-family: var(--serif);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.contact-person .line {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-person .line a { color: var(--gold); }
.contact-person .line a:hover { color: var(--gold-soft); }

/* ---------- FOOTER ---------- */
.site-footer {
    background: #050403;
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand h4 {
    font-size: 1.4rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-brand p {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    max-width: 280px;
}

.footer-col h5 {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--ink-mute);
    font-size: 0.82rem;
}

.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background:
        linear-gradient(180deg, rgba(10, 8, 7, 0.6), rgba(10, 8, 7, 0.85)),
        radial-gradient(ellipse at center, rgba(200, 74, 31, 0.25), transparent 70%);
    padding: 100px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(2.25rem, 5vw, 3.8rem);
    margin: 16px 0 24px;
}

.cta-banner .lead {
    max-width: 620px;
    margin: 0 auto 36px;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .split, .booking-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .split.reverse > :first-child { order: 0; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    section { padding: 72px 0; }

    /* Compact mobile nav so the dropdown lands right below it */
    .site-nav { height: var(--nav-h); }
    .nav-inner {
        padding: 0 18px;
        height: 100%;
        gap: 14px;
    }
    .brand { gap: 6px; }
    .brand-mark {
        font-size: 0.92rem;
        letter-spacing: 0.08em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70vw;
    }
    .brand-sub { display: none; }

    .menu-toggle { display: flex; flex-shrink: 0; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        z-index: 99;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 18px 20px 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(0,0,0,0.5);
        transform: translateY(calc(-100% - var(--nav-h) - 20px));
        transition: transform 0.32s ease;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 0.88rem;
        border-bottom: 1px solid var(--line);
    }
    .nav-links li:last-child a { border-bottom: none; }

    .nav-cta { display: none; }

    /* Hero — give content room, don't let it touch the nav */
    .hero-content { padding: 90px 0 110px; max-width: 100%; }
    .hero-actions { gap: 12px; margin-top: 28px; }
    .hero-actions .magnet { display: inline-block; width: auto; }
    .hero-actions .btn { padding: 16px 24px; font-size: 0.78rem; letter-spacing: 0.18em; }

    /* Argentine flag badge: hide on mobile — it collides with hero text */
    .ar-badge { display: none; }

    /* Section heads + h1 a bit tighter */
    .section-head { margin-bottom: 44px; }
    .hero h1 {
        font-size: clamp(2.6rem, 11vw, 4.2rem);
        line-height: 1;
    }

    .form-row { grid-template-columns: 1fr; }
    .booking-form { padding: 28px 22px; }
    .contact-card { padding: 24px 22px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .spec-list > li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .spec-desc { text-align: left; }

    /* The booking grid stacks already; tighten gap */
    .booking-grid { gap: 28px; }
}

/* Very narrow phones (≤380px) — additional compaction */
@media (max-width: 380px) {
    .brand-mark { font-size: 0.82rem; max-width: 64vw; }
    .nav-inner { padding: 0 14px; gap: 10px; }
    .hero h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
    .container { padding: 0 16px; }
}

/* ==========================================================
   DISTINCTIVE LAYER — shapes, asymmetry, micro-interactions
   Visually differentiates this site from other client work.
   ========================================================== */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--ember), var(--gold));
    z-index: 200;
    transition: width 0.08s linear;
    box-shadow: 0 0 12px rgba(201, 165, 92, 0.6);
}

/* ---------- Diagonal section divider ---------- */
.cut-top {
    position: relative;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}
.cut-bottom {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}
.cut-both {
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

/* ---------- Decorative oversized numeral ---------- */
.deco-numeral {
    position: absolute;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.06;
    font-size: clamp(14rem, 30vw, 28rem);
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.deco-numeral.tl { top: -40px; left: -20px; }
.deco-numeral.tr { top: -40px; right: -20px; }
.deco-numeral.bl { bottom: -40px; left: -20px; }
.deco-numeral.br { bottom: -40px; right: -20px; }

/* ---------- Stamp / badge ---------- */
.stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.86rem;
    text-align: center;
    line-height: 1.2;
    transform: rotate(-8deg);
    position: relative;
    transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
}
.stamp::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(201, 165, 92, 0.35);
    border-radius: 50%;
}
.stamp:hover { transform: rotate(0) scale(1.05); }

/* ---------- Marquee ticker ---------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 26px 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    color: var(--ink);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.marquee-item .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 28px;
    transform: translateY(-4px);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Cut-corner card ---------- */
.cut-card {
    background: var(--bg-soft);
    padding: 44px 36px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    transition: transform 0.4s cubic-bezier(.2,.9,.2,1), background 0.3s ease;
}
.cut-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0.6;
}
.cut-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card);
}

/* ---------- Tilt card (JS-driven 3D) ---------- */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out;
    will-change: transform;
}
.tilt > * { transform: translateZ(0); }

/* ---------- Magnetic CTA wrapper ---------- */
.magnet {
    display: inline-block;
    transition: transform 0.18s cubic-bezier(.2,.9,.2,1);
    will-change: transform;
}

/* ---------- Sweep underline on link/btn ---------- */
.sweep {
    position: relative;
    overflow: hidden;
}
.sweep::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.sweep:hover::before { transform: translateX(100%); }

/* ---------- Letter reveal for hero h1 ---------- */
.split-chars { display: inline-block; }
.split-chars .char {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(.2,.9,.2,1), opacity 0.5s ease;
    transition-delay: calc(var(--i) * 35ms);
}
.split-chars.in .char {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Image clip-reveal on scroll ---------- */
.clip-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(.85,0,.15,1);
}
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* ---------- Counter num ---------- */
.counter { display: inline-block; }

/* ---------- Brothers typographic spread (no image) ---------- */
.bro-spread {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}
.bro-names {
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 0.86;
    pointer-events: none;
}
.bro-names span {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(4.2rem, 12vw, 11rem);
    color: var(--ink);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    transition: transform 0.6s cubic-bezier(.2,.9,.2,1), color 0.4s ease, text-shadow 0.4s ease;
    will-change: transform;
}
.bro-names span.amp {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    margin-left: 1.6em;
    font-size: clamp(3.4rem, 10vw, 9rem);
}
.bro-names span.second {
    margin-left: 0.8em;
    color: var(--ink-soft);
}
.bro-names:hover span:first-child {
    transform: translateX(-12px);
    color: var(--gold);
}
.bro-names:hover span.second {
    transform: translateX(12px);
    color: var(--ink);
    text-shadow: 0 0 30px rgba(201,165,92,0.3);
}

.bro-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.bro-tag {
    border: 1px solid var(--line);
    padding: 8px 18px;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: all 0.3s ease;
    cursor: default;
}
.bro-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ---------- Brothers stacked manifesto (about page) ---------- */
.bro-manifesto {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 80px;
    align-items: start;
    padding: 60px 0;
    position: relative;
}
.bro-manifesto .stamp-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 120px;
}
.bro-manifesto .signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 12px;
}
@media (max-width: 980px) {
    .bro-manifesto { grid-template-columns: 1fr; gap: 40px; }
    .bro-manifesto .stamp-col { position: static; }
}

/* ---------- Section eyebrow rail (sticky) ---------- */
.rail-section {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 80px;
    position: relative;
}
.rail-side {
    position: sticky;
    top: 120px;
    align-self: start;
}
.rail-side .eyebrow { display: block; margin-bottom: 18px; }
.rail-side h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}
@media (max-width: 980px) {
    .rail-section { grid-template-columns: 1fr; gap: 32px; }
    .rail-side { position: static; }
}

/* ---------- Enhanced button hover ---------- */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--gold-soft) 0%, var(--ember) 50%, var(--gold-soft) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.6s ease;
    z-index: -1;
}
.btn-primary:hover::after { background-position: 0 0; }

.btn-ghost {
    position: relative;
    overflow: hidden;
}
.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
    z-index: -1;
}
.btn-ghost:hover {
    color: var(--bg);
    border-color: var(--gold);
}
.btn-ghost:hover::before { transform: translateY(0); }

/* ---------- Nav link refined hover ---------- */
.nav-links a::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}
.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---------- Feature card uplift ---------- */
.feature {
    transition: background 0.3s ease, transform 0.4s cubic-bezier(.2,.9,.2,1);
    position: relative;
    overflow: hidden;
}
.feature::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--gold), var(--ember));
    transition: height 0.5s ease;
}
.feature:hover::after { height: 100%; }
.feature:hover .feature-num { color: var(--ink); }
.feature-num { transition: color 0.4s ease; }

/* ---------- Event card distinctive ---------- */
.event-card {
    position: relative;
    overflow: hidden;
}
.event-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 36px 36px 0;
    border-color: transparent var(--gold) transparent transparent;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.event-card:hover::before { opacity: 1; }

/* ---------- Quote section dramatic ---------- */
.quote-section blockquote {
    position: relative;
    z-index: 2;
}
.quote-section .quote-glyph {
    position: absolute;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(14rem, 30vw, 26rem);
    color: var(--gold);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    line-height: 0.6;
}

/* ---------- Booking form distinctive ---------- */
.booking-form.cut {
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    position: relative;
}
.booking-form.cut::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 32px; height: 32px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.booking-form.cut::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 32px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    opacity: 0.6;
}
.field input,
.field select,
.field textarea {
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    background: rgba(201, 165, 92, 0.04);
}

/* ---------- Hero h1 layered effect ---------- */
.hero h1 {
    position: relative;
    z-index: 1;
}

/* ---------- Footer credit ---------- */
.credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-mute);
    transition: color 0.3s ease;
}
.credit a {
    color: var(--gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.credit a:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

/* ---------- Reveal stagger children ---------- */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.9,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* ---------- Smoke / ember in hero ---------- */
.embers {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ember);
    opacity: 0;
    animation: rise 7s linear infinite;
}
@keyframes rise {
    0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
    10%  { opacity: 0.7; }
    50%  { transform: translateY(-50vh) translateX(20px) scale(1); opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(-15px) scale(0.4); opacity: 0; }
}

/* ---------- Stat counter pulse on reveal ---------- */
.stat-num {
    transition: color 0.4s ease, transform 0.5s cubic-bezier(.2,.9,.2,1);
    display: inline-block;
}
.stat-num.pulse { animation: pulse 0.8s ease; }
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); color: var(--gold-soft); }
    100% { transform: scale(1); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track { animation: none; }
    .embers { display: none; }
}

/* ==========================================================
   BESPOKE COMPONENTS — replacing template-y patterns
   ========================================================== */

/* ==========================================================
   QUALITY SMOKE + BUTTON FIRE-ON-HOVER
   ========================================================== */

/* ---------- Smoke wisp particle (realistic, soft) ---------- */
.smoke-veil {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
    contain: layout style paint;
}
.wisp {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.18);
    opacity: 0;
    /* asymmetric, multi-layer gradients give an irregular cloud shape */
    background:
        radial-gradient(ellipse 60% 80% at 40% 55%, rgba(220, 215, 210, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 75% 60% at 60% 45%, rgba(190, 188, 184, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 90% at 50% 35%, rgba(160, 158, 155, 0.14) 0%, transparent 75%),
        radial-gradient(circle at 50% 60%, rgba(140, 138, 135, 0.10) 0%, transparent 70%);
    filter: blur(14px);
    mix-blend-mode: screen;
    will-change: transform, opacity, filter;
    animation: wisp-drift var(--dur, 2s) cubic-bezier(.22,.55,.30,1) forwards;
}
@keyframes wisp-drift {
    0%   {
        transform: translate(-50%, -50%) scale(0.18) rotate(0deg);
        opacity: 0;
        filter: blur(4px);
    }
    18%  { opacity: 0.85; }
    55%  { opacity: 0.55; filter: blur(16px); }
    100% {
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -220px)))
                   scale(var(--scale, 4))
                   rotate(var(--rot, 20deg));
        opacity: 0;
        filter: blur(28px);
    }
}

/* ---------- Button: catches fire on hover ---------- */
.btn-primary {
    position: relative;
    overflow: visible;
    isolation: isolate;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.18s ease,
        box-shadow 0.5s ease;
}
.btn-primary:hover {
    background: linear-gradient(180deg, #efc77b 0%, #d6a249 50%, #a86d1c 100%);
    color: #1a0e08;
    box-shadow:
        0 0 18px rgba(255, 140, 60, 0.55),
        0 0 38px rgba(200, 74, 31, 0.35),
        0 8px 26px rgba(200, 74, 31, 0.30),
        inset 0 0 14px rgba(255, 200, 110, 0.35);
    animation: btn-fire-pulse 1.4s ease-in-out infinite;
}
@keyframes btn-fire-pulse {
    0%, 100% {
        box-shadow:
            0 0 18px rgba(255, 140, 60, 0.55),
            0 0 38px rgba(200, 74, 31, 0.35),
            0 8px 26px rgba(200, 74, 31, 0.30),
            inset 0 0 14px rgba(255, 200, 110, 0.35);
    }
    50% {
        box-shadow:
            0 0 26px rgba(255, 170, 90, 0.75),
            0 0 54px rgba(200, 74, 31, 0.50),
            0 10px 34px rgba(200, 74, 31, 0.40),
            inset 0 0 18px rgba(255, 220, 140, 0.50);
    }
}

/* Flame licks pseudo-element at the top edge of the button on hover */
.btn-primary::after {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: -16px;
    height: 22px;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 14px 22px at 10% 100%, rgba(255, 200, 110, 0.95) 0%, rgba(255, 130, 50, 0.65) 35%, transparent 70%),
        radial-gradient(ellipse 16px 26px at 30% 100%, rgba(255, 220, 140, 0.9) 0%, rgba(255, 130, 50, 0.55) 35%, transparent 70%),
        radial-gradient(ellipse 12px 18px at 50% 100%, rgba(255, 180, 90, 0.95) 0%, rgba(200, 74, 31, 0.6) 40%, transparent 75%),
        radial-gradient(ellipse 16px 24px at 70% 100%, rgba(255, 210, 130, 0.95) 0%, rgba(255, 110, 40, 0.6) 35%, transparent 72%),
        radial-gradient(ellipse 14px 20px at 90% 100%, rgba(255, 195, 100, 0.9) 0%, rgba(200, 74, 31, 0.55) 38%, transparent 72%);
    filter: blur(2px);
    opacity: 0;
    transform: translateY(6px) scaleY(0.6);
    transform-origin: bottom center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
}
.btn-primary:hover::after {
    opacity: 0.95;
    transform: translateY(0) scaleY(1);
    animation: flame-flicker 0.32s ease-in-out infinite alternate;
}
@keyframes flame-flicker {
    0%   { transform: translateY(0) scaleY(1)    scaleX(1);    filter: blur(2px) brightness(1); }
    50%  { transform: translateY(-2px) scaleY(1.18) scaleX(0.96); filter: blur(2.5px) brightness(1.2); }
    100% { transform: translateY(-1px) scaleY(0.92) scaleX(1.04); filter: blur(2px) brightness(0.95); }
}

/* Container for live embers + smoke spawned by JS while button is hovered */
.fire-host {
    position: absolute;
    left: 0; right: 0;
    top: -200px;
    bottom: -30px;
    pointer-events: none;
    overflow: visible;
    z-index: -1;
}
.fire-ember {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd58a 0%, #ff7a2c 60%, transparent 100%);
    box-shadow: 0 0 8px rgba(255, 130, 50, 0.85);
    opacity: 0;
    animation: ember-fly var(--dur, 1.4s) ease-out forwards;
}
@keyframes ember-fly {
    0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translate(var(--dx, 0px), var(--dy, -120px)) scale(0.3); opacity: 0; }
}
.fire-wisp {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    background:
        radial-gradient(ellipse 60% 80% at 40% 55%, rgba(220, 215, 210, 0.16) 0%, transparent 70%),
        radial-gradient(ellipse 75% 60% at 60% 45%, rgba(190, 188, 184, 0.12) 0%, transparent 75%);
    filter: blur(10px);
    mix-blend-mode: screen;
    animation: wisp-drift var(--dur, 1.8s) cubic-bezier(.22,.55,.30,1) forwards;
}

/* ---------- Doneness slider (menu) ---------- */
.doneness {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 40px 36px;
    border-radius: 6px;
    margin: 0 auto 80px;
    max-width: 720px;
    text-align: center;
}
.doneness h3 {
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: 8px;
}
.doneness .lead {
    font-size: 1rem;
    margin-bottom: 36px;
}
.steak-svg {
    width: 220px;
    height: 140px;
    margin: 0 auto 32px;
}
.steak-body {
    transition: fill 0.5s ease;
}
.steak-char {
    fill: #1a0e08;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.steak-grill {
    stroke: #1a0e08;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.doneness-track {
    position: relative;
    height: 6px;
    background: linear-gradient(90deg, #c4564b 0%, #a64134 25%, #823023 50%, #5e2317 75%, #38150d 100%);
    border-radius: 999px;
    margin: 0 auto;
    max-width: 520px;
}
.doneness-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    background: transparent;
    cursor: pointer;
    position: absolute;
    top: -13px; left: 0;
    margin: 0;
}
.doneness-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--gold), 0 4px 12px rgba(0,0,0,0.5);
    cursor: grab;
    transition: transform 0.2s ease;
}
.doneness-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.doneness-input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.doneness-input::-moz-range-thumb {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--bg);
    cursor: grab;
}
.doneness-labels {
    display: flex;
    justify-content: space-between;
    max-width: 520px;
    margin: 22px auto 0;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    user-select: none;
}
.doneness-labels span {
    transition: color 0.3s ease, transform 0.3s ease;
    flex: 1;
    text-align: center;
}
.doneness-labels span.active {
    color: var(--gold);
    transform: translateY(-2px);
}
.doneness-readout {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 14px;
    min-height: 1.5em;
}
/* On mobile, swap the full labels for short abbreviations to keep them readable */
.doneness-labels span .full { display: inline; }
.doneness-labels span .abbr { display: none; }
@media (max-width: 600px) {
    .doneness { padding: 30px 22px; }
    .doneness-labels { font-size: 0.6rem; letter-spacing: 0.1em; margin-top: 18px; }
    .doneness-labels span .full { display: none; }
    .doneness-labels span .abbr { display: inline; }
    .doneness-readout { font-size: 1.15rem; }
    .steak-svg { width: 170px; height: 110px; }
}

/* ==========================================================
   I18N — EN / ES language toggle
   ========================================================== */

/* Default state: hide the inactive language. Both versions live in DOM. */
html[lang="en"] [data-lang="es"],
html[lang="es"] [data-lang="en"] { display: none !important; }

/* Slim lang bar above the nav — fixed so it's always reachable */
.lang-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 110;
    background: rgba(5, 4, 3, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding: 6px 32px;
    font-family: var(--sans);
    height: 26px;
}
.lang-bar .lang-opt {
    background: none;
    border: 0;
    color: var(--ink-mute);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 2px;
    transition: color 0.2s ease;
    position: relative;
}
.lang-bar .lang-opt::after {
    content: '';
    position: absolute;
    left: 2px; right: 2px;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s cubic-bezier(.2,.9,.2,1);
}
.lang-bar .lang-opt:hover { color: var(--ink-soft); }
.lang-bar .lang-opt.active {
    color: var(--gold);
}
.lang-bar .lang-opt.active::after { transform: scaleX(1); }
.lang-bar .sep {
    color: var(--ink-mute);
    opacity: 0.4;
    font-size: 0.7rem;
}

/* The fixed-nav offset must include the lang bar height (~26px) */
.site-nav { top: 26px; }
.nav-spacer { height: calc(var(--nav-h) + 26px); }

@media (max-width: 720px) {
    .lang-bar { padding: 5px 16px; gap: 10px; }
    .lang-bar .lang-opt { font-size: 0.62rem; letter-spacing: 0.18em; }
    .site-nav { top: 24px; }
    .nav-spacer { height: calc(var(--nav-h) + 24px); }
}

/* ---------- Doneness color states ---------- */
.steak-body.d-0 { fill: #c4564b; }   /* raw */
.steak-body.d-1 { fill: #a64134; }   /* rare */
.steak-body.d-2 { fill: #823023; }   /* medium-rare */
.steak-body.d-3 { fill: #5e2317; }   /* medium */
.steak-body.d-4 { fill: #38150d; }   /* well */
