/* ===================================================================
   Max Rizzo — Barman & Scrittore
   Palette: warm ink, cream paper, brass gold, olive, filo rosso
   Type: Cormorant Garamond (display) + Inter (text)
   =================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #15110B;
  --ink-2:      #1D1810;
  --ink-3:      #262016;
  --paper:      #F6F0E5;
  --paper-2:    #EDE3D2;
  --paper-3:    #E4D8C2;
  --gold:       #C29A54;
  --gold-bright:#D9B673;
  --gold-deep:  #9B7736;
  --olive:      #7E8A4C;
  --rosso:      #9C2F27;
  --text-dark:  #23201A;
  --text-light: #EDE4D4;
  --muted-light:#A99C86;
  --muted-dark: #6E6759;
  --line-dark:  rgba(194,154,84,.22);
  --line-light: rgba(35,32,26,.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --shadow: 0 24px 60px -30px rgba(0,0,0,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: .01em; }
.display  { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 600; }
h2.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-bright); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted-dark); }
.on-dark .lead, .dark .lead { color: var(--muted-light); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.dark { background: var(--ink); color: var(--text-light); }
.dark h1,.dark h2,.dark h3 { color: #fff; }
.ink-2 { background: var(--ink-2); }
.cream-2 { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .35s, color .35s, box-shadow .35s;
  will-change: transform;
}
.btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194,154,84,.6); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold-deep); }
.dark .btn-outline, .on-dark .btn-outline { color: var(--gold-bright); border-color: rgba(194,154,84,.5); }
.btn-outline:hover { background: var(--gold); color: #1a1408; transform: translateY(-2px); }
.dark .btn-outline:hover { color: #1a1408; }

.text-link {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .55rem;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color .35s, gap .35s;
}
.dark .text-link, .on-dark .text-link { color: var(--gold-bright); }
.text-link svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.text-link:hover { border-color: currentColor; gap: .85rem; }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.15rem;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1; }
/* Blur/background lives on a pseudo-element, NOT on the header itself.
   backdrop-filter on the header would make it the containing block for its
   fixed-position child (.nav), breaking the mobile menu on iOS Safari. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(21,17,11,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .45s var(--ease);
  pointer-events: none;
}
.site-header.scrolled { padding-block: .7rem; border-color: var(--line-dark); }
.site-header.scrolled::before { opacity: 1; }
/* pages with light hero start solid */
.site-header.solid { border-color: var(--line-dark); }
.site-header.solid::before { opacity: 1; background: rgba(21,17,11,.96); }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 46px; width: auto; transition: height .4s; }
.site-header.scrolled .brand img { height: 40px; }
.brand-name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: #fff; letter-spacing: .02em; line-height: 1;
}
.brand-name small {
  display: block; font-family: var(--sans); font-size: .56rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold-bright); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; color: var(--text-light);
  position: relative; padding-block: .3rem;
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold-bright);
  transition: width .35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--gold-bright); }
.nav a.active::after, .nav a:hover::after { width: 100%; }
.nav .btn { padding: .7rem 1.4rem; }

.nav-toggle { display: none; width: 38px; height: 38px; position: relative; z-index: 110; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--text-light);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  overflow: hidden;
  padding-top: 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 15%, rgba(194,154,84,.14), transparent 55%),
    radial-gradient(90% 80% at 15% 85%, rgba(156,47,39,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center; width: 100%;
}
.hero-copy .eyebrow { margin-bottom: 1.6rem; }
.hero-copy .display { margin-bottom: 1.6rem; }
.hero-copy .display .accent { color: var(--gold-bright); }
.hero-copy p { max-width: 30rem; margin-bottom: 2.4rem; font-size: 1.1rem; color: var(--muted-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-figure { position: relative; display: flex; justify-content: center; }
.hero-figure .glass {
  width: min(320px, 78%);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
  animation: floaty 7s ease-in-out infinite;
}
.hero-figure .ring {
  position: absolute; inset: 50% auto auto 50%;
  width: 118%; aspect-ratio: 1; transform: translate(-50%,-50%);
  border: 1px solid var(--line-dark); border-radius: 50%;
  pointer-events: none;
}
.hero-figure .ring.two { width: 92%; border-color: rgba(194,154,84,.12); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  z-index: 3; font-family: var(--sans); font-size: .6rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero-scroll .line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); }

/* ===================================================================
   Page hero (interior pages)
   =================================================================== */
.page-hero {
  background: var(--ink); color: var(--text-light);
  padding-top: clamp(9rem, 16vw, 12rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 80% 10%, rgba(194,154,84,.13), transparent 55%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.2rem; }
.page-hero p { max-width: 40rem; color: var(--muted-light); font-size: 1.12rem; }
.breadcrumb { margin-top: 2rem; font-size: .78rem; letter-spacing: .1em; color: var(--muted-light); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span { color: var(--gold-bright); }

/* ===================================================================
   Values / feature cards
   =================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform .5s var(--ease), border-color .5s, background .5s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(194,154,84,.4); background: var(--ink-3); }
.card:hover::after { transform: scaleX(1); }
.card .num {
  font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1;
  display: block; margin-bottom: 1.2rem;
}
.card .icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem; color: var(--gold-bright);
}
.card h3 { color: #fff; margin-bottom: .8rem; }
.card p { color: var(--muted-light); font-size: .96rem; margin-bottom: 1.4rem; }

/* light variant */
.card.light { background: #fff; border-color: var(--line-light); }
.card.light h3 { color: var(--text-dark); }
.card.light p { color: var(--muted-dark); }
.card.light:hover { background: #fff; border-color: rgba(194,154,84,.5); }
.card.light .num, .card.light .icon { color: var(--gold-deep); }

/* ===================================================================
   Split (image + text)
   =================================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 4px; box-shadow: var(--shadow); position: relative; z-index: 2; width: 100%; object-fit: cover; }
.split-media .frame {
  position: absolute; inset: -18px -18px auto auto; width: 55%; aspect-ratio: 3/4;
  border: 1px solid var(--gold); border-radius: 4px; z-index: 1;
}
.split.reverse .split-media .frame { inset: -18px auto auto -18px; }
.split-copy .eyebrow { margin-bottom: 1.1rem; }
.split-copy h2 { margin-bottom: 1.4rem; }
.split-copy p { margin-bottom: 1.2rem; }
.split-copy p:last-of-type { margin-bottom: 2rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.pill {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .5rem 1rem; border: 1px solid var(--line-light); border-radius: 100px; color: var(--muted-dark);
}
.dark .pill, .on-dark .pill { border-color: var(--line-dark); color: var(--gold-bright); }

/* ===================================================================
   Books
   =================================================================== */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.book {
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease);
}
.book-cover {
  position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: 0 20px 45px -20px rgba(0,0,0,.7);
  aspect-ratio: 3/4; margin-bottom: 1.6rem;
  transition: transform .55s var(--ease), box-shadow .55s;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.14), transparent 40%);
}
.book:hover .book-cover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 32px 55px -20px rgba(0,0,0,.8); }
.book .tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .6rem;
}
.dark .book .tag { color: var(--gold-bright); }
.book h3 { margin-bottom: .7rem; font-size: 1.5rem; }
.book p { font-size: .95rem; color: var(--muted-dark); }
.dark .book p { color: var(--muted-light); }

/* ===================================================================
   Cocktail gallery
   =================================================================== */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: 12px;
}
.gallery figure {
  position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 3/4;
}
.gallery figure.tall { grid-row: span 2; aspect-ratio: 3/5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21,17,11,.55));
  opacity: 0; transition: opacity .5s;
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure:hover::after { opacity: 1; }

/* ===================================================================
   Quote / statement band
   =================================================================== */
.statement { text-align: center; }
.statement .mark {
  font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: .5; height: 2.2rem;
  display: block;
}
.statement blockquote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.28;
  max-width: 24ch; margin: 1.5rem auto 1.8rem; color: #fff;
}
.statement cite {
  font-family: var(--sans); font-style: normal; font-size: .78rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright);
}

/* ===================================================================
   Stats strip
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold-bright); line-height: 1; }
.stat .l { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin-top: .6rem; }

/* ===================================================================
   Contact
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info .info-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding-block: 1.5rem; border-bottom: 1px solid var(--line-dark);
}
.contact-info .info-item:first-of-type { padding-top: 0; }
.contact-info .info-item .ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--gold-bright);
}
.contact-info .info-item .ic svg { width: 18px; height: 18px; }
.contact-info .info-item h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); margin-bottom: .35rem; }
.contact-info .info-item a, .contact-info .info-item p { color: var(--text-light); font-size: 1.05rem; }
.contact-info .info-item a:hover { color: var(--gold-bright); }
.socials { display: flex; gap: .8rem; margin-top: 2rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--text-light); transition: all .35s;
}
.socials a:hover { background: var(--gold); color: #1a1408; border-color: var(--gold); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 5px; padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 3px;
  padding: .85rem 1rem; color: var(--text-light); font-family: var(--sans); font-size: .95rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,154,84,.12);
}
.form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--muted-light); margin-top: 1rem; text-align: center; }

/* ===================================================================
   Map / address block
   =================================================================== */
.map-embed { position: relative; border-radius: 5px; overflow: hidden; border: 1px solid var(--line-dark); height: 100%; min-height: 300px; background: var(--ink-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
/* Placeholder mostrato finché non c'è consenso ai contenuti di terze parti */
.cc-map-ph {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; text-align: center;
  padding: 2rem; background: var(--ink-2); color: var(--text-light);
}
.map-embed.cc-loaded .cc-map-ph { display: none; }
.cc-map-ph .ic { display: inline-flex; width: 48px; height: 48px; color: var(--gold-bright); margin-bottom: 1rem; }
.cc-map-ph .ic svg { width: 100%; height: 100%; }
.cc-map-ph h3 { color: #fff; margin-bottom: .6rem; }
.cc-map-ph p { color: var(--muted-light); max-width: 42ch; margin: 0 auto 1.6rem; font-size: .96rem; }
.cc-map-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cc-map-ph .btn-outline { color: var(--gold-bright); border-color: rgba(194,154,84,.5); }
.cc-map-ph .btn-outline:hover { color: #1a1408; }

/* ===================================================================
   CTA band
   =================================================================== */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(194,154,84,.16), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band .eyebrow { margin-bottom: 1.2rem; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.4rem; color: #fff; }
.cta-band p { max-width: 38rem; margin: 0 auto 2.4rem; color: var(--muted-light); font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: #0F0C07; color: var(--muted-light); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.footer-brand img { height: 58px; width: auto; }
.footer-brand .brand-name { color: #fff; }
.footer-col p { font-size: .92rem; line-height: 1.7; max-width: 26rem; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.2rem; }
.footer-col ul li { margin-bottom: .7rem; }
.footer-col ul a, .footer-col address a { font-size: .92rem; transition: color .3s; font-style: normal; }
.footer-col address { font-style: normal; font-size: .92rem; line-height: 1.8; }
.footer-col ul a:hover, .footer-col address a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--muted-light); transition: all .3s; }
.footer-social a:hover { color: var(--gold-bright); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .78rem; }
.footer-bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ===================================================================
   Reveal animation
   =================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-figure .glass { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Prose (privacy)
   =================================================================== */
.prose { max-width: 800px; margin-inline: auto; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.6rem; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--text-dark); margin: 2.4rem 0 .9rem; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--text-dark); margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; color: var(--muted-dark); }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose ul li { margin-bottom: .5rem; color: var(--muted-dark); }
.prose a { color: var(--gold-deep); border-bottom: 1px solid rgba(155,119,54,.4); }
.prose a:hover { color: var(--rosso); }
.prose strong { color: var(--text-dark); }
.prose em { font-style: normal; color: var(--text-dark); font-weight: 500; }
.prose-meta { font-size: .82rem; letter-spacing: .04em; color: var(--gold-deep); text-transform: uppercase; margin-bottom: 2rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
.ck-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
.ck-table th, .ck-table td { text-align: left; padding: .7rem .9rem; border: 1px solid var(--line-light); vertical-align: top; }
.ck-table th { background: var(--paper-2); color: var(--text-dark); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.ck-table td { color: var(--muted-dark); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-figure { display: none; }
  .grid-3, .books, .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 0; right: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(82vw, 330px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--ink-2); padding: 2.5rem; z-index: 105;
    transform: translateX(100%); transition: transform .5s var(--ease);
    border-left: 1px solid var(--line-dark);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .4s; z-index: 104; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media .frame, .split.reverse .split-media .frame { display: none; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-3, .books, .stats, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
