/* ═══════════════════════════════════════
   MACELLERIA MINÒ — SHARED STYLESHEET
═══════════════════════════════════════ */
:root {
  --red:       #C0151A;
  --red-dim:   #8C0F12;
  --red-glow:  rgba(192,21,26,0.18);
  --ink:       #0E0C0B;
  --ink-2:     #1C1916;
  --ink-3:     #252220;
  --paper:     #F4EFE4;
  --paper-2:   #EAE3D5;
  --gold:      #B8963A;
  --gold-pale: rgba(184,150,58,0.15);
  --text-hi:   #F4EFE4;
  --text-mid:  rgba(244,239,228,0.62);
  --text-lo:   rgba(244,239,228,0.3);
  --border:    rgba(244,239,228,0.08);
  --border-r:  rgba(192,21,26,0.28);

  --fs-2xs: clamp(0.6rem,  1.1vw, 0.68rem);
  --fs-xs:  clamp(0.72rem, 1.3vw, 0.8rem);
  --fs-sm:  clamp(0.85rem, 1.6vw, 0.95rem);
  --fs-md:  clamp(0.95rem, 1.8vw, 1.05rem);
  --fs-lg:  clamp(1.1rem,  2vw,   1.3rem);
  --fs-xl:  clamp(1.4rem,  2.8vw, 1.9rem);
  --fs-2xl: clamp(1.9rem,  4vw,   3rem);
  --fs-3xl: clamp(2.5rem,  5.5vw, 4.2rem);
  --fs-hero:clamp(3rem,    7.5vw, 6rem);

  --pad-x:       clamp(1.2rem, 5vw, 5.5rem);
  --pad-section: clamp(3.5rem, 7vw, 6.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ink); color: var(--text-hi); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
body::before { content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.024; }

/* ── TYPOGRAPHY ── */
.t-display { font-family: 'Cormorant Garamond', serif; font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
.t-display em { font-style: italic; color: var(--red); }
.t-label { font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 0.75rem; }
.t-label::before { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--red); flex-shrink: 0; }
.t-body { font-size: var(--fs-sm); line-height: 1.82; color: var(--text-mid); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.16em; text-transform: uppercase; padding: 0.9rem 1.9rem; transition: transform 0.25s var(--ease-out), background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-red   { background: var(--red); color: var(--paper); }
.btn-red:hover { background: var(--red-dim); }
.btn-ghost { background: transparent; color: var(--text-hi); border: 1px solid rgba(244,239,228,0.22); }
.btn-ghost:hover { border-color: rgba(244,239,228,0.5); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--paper-2); }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad-x); height: 62px; background: rgba(14,12,11,0.88); backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--border); transition: background 0.3s; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; }
.nav-logo span { color: var(--red); font-style: italic; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); transition: color 0.2s; position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--text-hi); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-ham { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--text-hi); transition: transform 0.3s, opacity 0.3s; }
.nav-ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile { display: none; position: fixed; inset: 62px 0 0; background: rgba(14,12,11,0.97); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem; z-index: 199; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--text-hi); }
.nav-mobile a:hover { color: var(--red); }
@media (max-width: 820px) { .nav-links, .nav-cta-desk { display: none; } .nav-ham { display: flex; } }

/* ── PAGE HERO (subpages) ── */
.page-hero { padding-top: 62px; min-height: 48vh; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,12,11,1) 0%, rgba(14,12,11,0.7) 50%, rgba(14,12,11,0.4) 100%); }
.page-hero-content { position: relative; z-index: 1; padding: 4rem var(--pad-x) 3.5rem; max-width: 1400px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.page-hero-content .t-display { font-size: var(--fs-3xl); }
.page-hero-content .t-body { max-width: 52ch; }
.page-hero-border { border-top: 1px solid var(--border-r); }

/* ── SECTIONS ── */
.sec { padding: var(--pad-section) var(--pad-x); max-width: 1400px; margin: 0 auto; }
.sec-header { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 3.5rem; }
.sec-header .t-display { font-size: var(--fs-2xl); }

/* ── DIVIDERS ── */
.stripe-red { background: var(--red); }
.bg-ink2    { background: var(--ink-2); }
.bg-paper   { background: var(--paper); }

/* ── TICKER ── */
.ticker-bar { background: var(--red); padding: 0.65rem 1.3rem; display: flex; align-items: center; gap: 1rem; overflow: hidden; }
.ticker-label { font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,239,228,0.65); white-space: nowrap; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-text  { font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); white-space: nowrap; display: inline-block; animation: ticker 22s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer { background: #070605; padding: 2.5rem var(--pad-x); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 0.8rem; }
.footer-brand .t-body { font-size: var(--fs-xs); max-width: 28ch; }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: var(--fs-2xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: var(--fs-sm); color: var(--text-mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-hi); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--fs-sm); color: var(--text-mid); margin-bottom: 0.7rem; }
.footer-bottom { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.ft-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-lo); }
.ft-logo span { color: var(--red); font-style: italic; }
.ft-copy { font-size: var(--fs-2xs); color: var(--text-lo); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--red); }
