@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500&family=Figtree:wght@400;500;600;700&display=swap');

/* VesproTavola — editorial trattoria, not a poster */

:root {
    --ink: #14110d;
    --ink-soft: #3a342c;
    --cypress: #16352d;
    --cypress-deep: #0c221c;
    --paper: #f3ece0;
    --cream: #faf6ef;
    --sand: #e4d8c4;
    --line: #cfc2ab;
    --muted: #6a6156;
    --terracotta: #c24a28;
    --terracotta-deep: #9a3518;
    --olive: #7a8a4e;
    --gold: #c9a66b;
    --max: 1180px;
    --font-display: "Fraunces", "Times New Roman", serif;
    --font-body: "Figtree", "Segoe UI", sans-serif;
    --radius: 0;
    --shadow: 0 24px 48px rgba(12, 34, 28, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.62;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.cookie-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    z-index: 1000;
    width: min(calc(100% - 32px), 360px);
    padding: 1.05rem 1.1rem 1.15rem;
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--ink);
    box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-inner { display: grid; gap: 0.8rem; }
.cookie-banner h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}
.cookie-banner p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}
.cookie-actions { display: flex; gap: 0.45rem; }
.cookie-actions .btn {
    min-height: 40px;
    flex: 1;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
}
.btn-reject {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-reject:hover { background: var(--ink); color: var(--cream); }
.cookie-banner a { color: var(--terracotta); }

.ad-strip {
    background: var(--cypress-deep);
    color: var(--gold);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.42rem 1rem;
    text-align: center;
}

.site-header {
    background: var(--cream);
    color: var(--ink);
    padding: 0.85rem 0 0.95rem;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid var(--ink);
}
.header-inner {
    width: min(100% - 1.4rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.8rem;
    min-height: 52px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
    justify-self: start;
}
.logo-mark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--ink);
    background:
        radial-gradient(circle at 50% 58%, var(--olive) 0 3px, transparent 3.2px),
        linear-gradient(135deg, var(--terracotta) 0 40%, transparent 41%);
    flex-shrink: 0;
    transform: rotate(45deg);
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}
.logo-text em { font-style: italic; font-weight: 500; color: var(--terracotta); }
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
}
.main-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.main-nav a:hover { color: var(--ink); }
.nav-cta {
    justify-self: end;
    background: var(--ink) !important;
    color: var(--cream) !important;
    padding: 0.5rem 0.9rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
}
.nav-cta:hover { background: var(--terracotta) !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 0;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
    background: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}
.btn-primary:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250, 246, 239, 0.45);
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-lg { padding: 1rem 1.45rem; }
.btn-invert {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
}
.btn-invert:hover { background: var(--gold); color: var(--ink); }

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(86vh, 720px);
    background: var(--cypress);
    color: var(--cream);
}
.hero-copy {
    padding: clamp(2.4rem, 6vw, 4.6rem) clamp(1.4rem, 5vw, 4.2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    position: relative;
    z-index: 1;
}
.hero-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.6vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 0.85rem;
    color: #fff;
    font-style: italic;
}
.hero-line {
    font-size: 1.12rem;
    font-weight: 500;
    color: #f0e2c8;
    margin-bottom: 1rem;
    max-width: 28rem;
}
.hero-sub {
    color: rgba(250, 246, 239, 0.78);
    margin-bottom: 1.1rem;
    font-size: 0.98rem;
    max-width: 32rem;
}
.hero-merchant {
    font-size: 0.82rem;
    color: rgba(250, 246, 239, 0.62);
    margin-bottom: 0.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.hero-visual {
    position: relative;
    min-height: 420px;
}
.hero-visual img.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.04);
}
.hero-cover-float {
    position: absolute;
    left: -42px;
    bottom: 8%;
    width: min(38%, 210px);
    z-index: 2;
    box-shadow: var(--shadow);
    border: 0;
    outline: 8px solid var(--cream);
}

.colophon {
    background: var(--sand);
    color: var(--ink);
    padding: 1.25rem 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
.colophon h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.colophon p { max-width: 64rem; margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

.context {
    padding: 4.2rem 0;
    background: var(--cream);
}
.context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--ink);
}
.context figure { overflow: hidden; margin: 0; }
.context figure img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
.context figure img.diagram {
    object-fit: contain;
    background: #ece6dc;
    padding: 0.6rem;
}
.context-copy {
    padding: clamp(1.6rem, 4vw, 2.8rem);
    background: var(--paper);
}
.context h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    font-style: italic;
}
.context p { color: var(--muted); margin-bottom: 0.75rem; max-width: 38rem; }
.eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.55rem;
}

.catalog { padding: 4.4rem 0 4rem; background: var(--cypress-deep); color: var(--cream); }
.catalog-grid {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 2.6rem;
    align-items: start;
}
.book-frame {
    background: var(--sand);
    padding: 1rem;
}
.book-frame img { width: 100%; height: auto; }
.book-note { margin-top: 0.6rem; font-size: 0.74rem; color: var(--cypress); }
.catalog .eyebrow { color: var(--gold); }
.catalog h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0.4rem 0 0.25rem;
    font-style: italic;
    color: #fff;
}
.subtitle { font-size: 1rem; color: var(--gold); font-weight: 600; margin-bottom: 0.9rem; }
.lead { color: rgba(250, 246, 239, 0.78); margin-bottom: 1.2rem; max-width: 40rem; }
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(250, 246, 239, 0.16);
    margin-bottom: 1rem;
    border: 1px solid rgba(250, 246, 239, 0.16);
}
.spec-grid div {
    background: var(--cypress);
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
}
.spec-grid span {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}
.price-caveat { font-size: 0.82rem; color: rgba(250, 246, 239, 0.62); margin: 0.7rem 0 1.1rem; }

.section-head {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto 1.5rem;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    font-style: italic;
}
.section-head p { color: var(--muted); max-width: 38rem; font-size: 0.96rem; }

.essay { padding: 3.6rem 0 1.4rem; background: var(--paper); }
.essay-grid {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink);
    border: 1px solid var(--ink);
}
.essay-card {
    background: var(--cream);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.essay-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.essay-card:nth-child(2) img { object-position: center 22%; }
.essay-card .tile-body { padding: 1.1rem 1.1rem 1.25rem; }
.essay-card h3 {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.essay-card p { color: var(--muted); font-size: 0.9rem; }
.essay-num {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mosaic { padding: 1.4rem 0 3.6rem; background: var(--paper); }
.mosaic-grid {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1px;
    background: var(--ink);
    border: 1px solid var(--ink);
}
.tile { background: var(--cream); overflow: hidden; }
.tile img { width: 100%; height: 240px; object-fit: cover; }
.tile.tall img { height: 280px; }
.tile-body { padding: 1.15rem 1.2rem 1.3rem; }
.tile h3 {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.tile p { color: var(--muted); font-size: 0.92rem; }

.ticket-section { padding: 3.4rem 0 4.2rem; background: var(--sand); }
.ticket-section h2 {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    font-weight: 700;
    font-style: italic;
}
.ticket {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    background: var(--cream);
    border: 1px solid var(--ink);
    padding: 1.4rem 1.3rem 1.4rem;
}
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin-bottom: 1.2rem;
    border: 1px solid var(--line);
}
.steps li {
    display: grid;
    gap: 0.4rem;
    background: var(--paper);
    padding: 1rem 0.95rem;
}
.steps li::before {
    content: attr(data-n);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--terracotta);
    font-style: italic;
    line-height: 1;
}
.steps strong { display: block; font-size: 0.98rem; }
.steps span { color: var(--muted); font-size: 0.86rem; }
.ticket-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--cypress);
    color: var(--cream);
    padding: 1.15rem 1.2rem;
}
.price-ref { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.price-now {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    font-style: italic;
}
.price-was { font-size: 0.82rem; opacity: 0.75; margin-top: 0.2rem; }
.price-was s { text-decoration: line-through; }
.policy-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); }

.faq { background: var(--cream); padding: 3.6rem 0; }
.faq h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 1rem;
    font-style: italic;
}
.faq-list { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--ink); }
.faq-list details {
    background: transparent;
    border-bottom: 1px solid var(--ink);
    padding: 0.9rem 0;
}
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "＋  "; color: var(--terracotta); font-weight: 500; }
.faq-list details[open] summary::before { content: "–  "; }
.faq-list p { margin-top: 0.45rem; color: var(--muted); font-size: 0.94rem; }

.about { padding: 3.2rem 0 3.6rem; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.about h2, .about h3 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.55rem;
}
.about h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); font-style: italic; }
.doc-links { list-style: none; display: grid; gap: 0.35rem; }

.site-footer {
    background: var(--cypress-deep);
    color: rgba(250, 246, 239, 0.72);
    padding-top: 2.4rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.8rem;
    padding-bottom: 1.8rem;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text em { color: var(--gold); }
.footer-tag { margin: 0.55rem 0; font-size: 0.86rem; }
.footer-entity { font-size: 0.82rem; margin-bottom: 0.8rem; }
.footer-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.5rem;
}
.site-footer h4 { color: #fff; font-size: 0.82rem; margin-bottom: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 0.28rem; }
.site-footer a { color: rgba(250, 246, 239, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-disclosure {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 1.2rem 0;
    font-size: 0.82rem;
}
.footer-disclosure h3 { color: #fff; font-size: 0.92rem; margin-bottom: 0.3rem; }
.footer-disclosure p { margin-bottom: 0.3rem; max-width: 70rem; }
.footer-bar {
    background: #071410;
    color: rgba(255,255,255,0.42);
    padding: 0.85rem 0 1rem;
    font-size: 0.74rem;
}
.footer-bar a { color: var(--gold); }
.footer-bar-inner { display: grid; gap: 0.25rem; }

.page { padding: 2rem 0 3.6rem; }
.dossier {
    width: min(100% - 2rem, 1080px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.dossier-nav {
    position: sticky;
    top: 5.2rem;
    background: var(--cream);
    border: 1px solid var(--ink);
    padding: 1rem 0.95rem;
    font-size: 0.84rem;
}
.dossier-nav h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}
.dossier-nav ul { list-style: none; display: grid; gap: 0.32rem; }
.dossier-nav a { text-decoration: none; color: var(--ink-soft); }
.dossier-nav a:hover, .dossier-nav a[aria-current="page"] { color: var(--terracotta); font-weight: 700; }
.page-card {
    background: var(--cream);
    border: 1px solid var(--ink);
    padding: clamp(1.4rem, 3.5vw, 2.3rem);
}
.doc-badge {
    display: inline-block;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.5rem;
    margin-bottom: 0.8rem;
}
.page-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.45rem;
    font-style: italic;
}
.page-card .muted { color: var(--muted); margin-bottom: 1.3rem; }
.page-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.45rem;
}
.page-card h3 { font-size: 1.02rem; margin: 1rem 0 0.3rem; }
.page-card p, .page-card li { margin-bottom: 0.5rem; color: var(--ink-soft); }
.page-card ul, .page-card ol { padding-left: 1.15rem; margin-bottom: 0.8rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0.9rem 0 1.2rem; font-size: 0.92rem; }
.legal-table th, .legal-table td {
    text-align: left;
    padding: 0.55rem 0.4rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.legal-table th { width: 36%; color: var(--muted); font-weight: 600; }
.cookie-table { font-size: 0.88rem; }
.cookie-table th { width: auto; color: var(--ink); font-weight: 700; background: var(--sand); }

.inner-header .header-inner { display: flex; justify-content: space-between; }
.inner-header .main-nav { justify-content: flex-end; }
.mini-footer .footer-bar { border: 0; }

@media (max-width: 960px) {
    .header-inner { display: flex; justify-content: space-between; }
    .main-nav a:not(.nav-cta) { display: none; }
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-cover-float { display: none; }
    .hero-visual { min-height: 280px; }
    .catalog-grid,
    .context-grid,
    .essay-grid,
    .mosaic-grid,
    .steps,
    .about-grid,
    .footer-top,
    .dossier {
        grid-template-columns: 1fr;
    }
    .hero-brand { font-size: 2rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .dossier-nav { position: static; }
}

@media (max-width: 640px) {
    .cookie-banner { left: 12px; right: 12px; width: auto; }
    .nav-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
