/*
 * Weinerei Tipoenoteca — Stylesheet v2
 * Design: Minimal Editorial · Mobile-first
 */

/* ============================================================
   VARIABLES
============================================================ */
:root {
  --bg:         #F2EDE5;
  --bg-warm:    #EDE5D8;
  --bg-dark:    #111110;
  --white:      #FAF8F4;
  --fg:         #111110;
  --fg-inv:     #F2EDE5;
  --accent:     #C0431A;
  --muted:      #7A7570;
  --muted-inv:  rgba(242,237,229,0.5);
  --border:     rgba(17,17,16,0.12);
  --border-inv: rgba(242,237,229,0.1);

  --font:    'Space Grotesk', -apple-system, sans-serif;
  --font-it: 'Fraunces', Georgia, serif;

  --pad: 1.25rem;
  --max: 1120px;
  --nav-h: 60px;

  --t: 0.24s ease;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h2 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}
.section--dark  { background: var(--bg-dark); color: var(--fg-inv); }
.section--warm  { background: var(--bg-warm); }

/* Section headers */
.sec-header {
  margin-bottom: 3.5rem;
  text-align: center;
}
.sec-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.sec-header--light .sec-label { color: var(--accent); }
.sec-title { color: inherit; margin-bottom: 0.5rem; }
.sec-title.light { color: var(--fg-inv); }
.sec-sub {
  font-family: var(--font-it);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
}
.sec-header--light .sec-sub { color: var(--muted-inv); }

/* Divider mark (×) */
.x-mark {
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--accent);
  margin: 0.5rem 0 1.5rem;
  opacity: 0.6;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--fg);
  color: var(--fg);
  background: transparent;
  transition: background var(--t), color var(--t);
}
.btn-outline:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn-outline--inv {
  border-color: var(--fg-inv);
  color: var(--fg-inv);
}
.btn-outline--inv:hover {
  background: var(--fg-inv);
  color: var(--bg-dark);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-inv);
  transition: box-shadow var(--t);
}
.nav--shadow { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__logo-img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.nav__brand-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-inv);
  letter-spacing: 0.06em;
}
.nav__brand-sub {
  font-size: 0.58rem;
  font-weight: 300;
  color: rgba(242,237,229,0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  background: none;
  border: none;
  padding: 2px 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg-inv);
  transition: all var(--t);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__links {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(17,17,16,0.98);
  border-bottom: 1px solid var(--border-inv);
  padding: 1.5rem 0 2rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--t);
}
.nav__links.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__link {
  display: block;
  padding: 0.65rem var(--pad);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-inv);
  transition: color var(--t);
}
.nav__link:hover { color: var(--accent); }

@media (min-width: 800px) {
  .nav__burger { display: none; }
  .nav__links {
    position: static;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: none;
    border: none;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 0; font-size: 0.72rem; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100svh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 3rem var(--pad);
}

.hero__logo {
  width: clamp(140px, 35vw, 220px);
  height: auto;
  /* subtle ring so the circle reads on dark bg */
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(242,237,229,0.12);
}

.hero__sub {
  font-family: var(--font-it);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(242,237,229,0.55);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.hero__loc {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242,237,229,0.35);
}

.hero__manifesto {
  font-family: var(--font-it);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.88rem, 2vw, 1.1rem);
  color: rgba(242,237,229,0.5);
  max-width: 440px;
  line-height: 1.7;
  text-align: center;
  margin-top: 0.25rem;
}

.hero__down {
  margin-top: 1.5rem;
  color: rgba(242,237,229,0.3);
  animation: bounce 2.4s ease-in-out infinite;
  transition: color var(--t);
}
.hero__down:hover { color: rgba(242,237,229,0.7); }

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  55% { transform: translateY(8px); }
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  background: var(--bg);
}

.about__pull {
  font-family: var(--font-it);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 3rem;
  max-width: 700px;
}

.about__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 680px) {
  .about__body { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
}

.about__text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.about__text strong { color: var(--fg); font-weight: 600; }
.about__text em {
  font-family: var(--font-it);
  font-style: italic;
  color: var(--fg);
}
.about__subhead {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.about__aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__kpi { border-top: 1px solid var(--border); padding-top: 1rem; }
.about__kpi-n {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.about__kpi-l {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}


/* ============================================================
   VINI
============================================================ */
.vini { /* inherits .section--dark */ }

/* Countries */
.countries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
  border-top: 1px solid var(--border-inv);
  border-left: 1px solid var(--border-inv);
}
@media (min-width: 480px) {
  .countries { grid-template-columns: repeat(4, 1fr); }
}

.country {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--border-inv);
  border-bottom: 1px solid var(--border-inv);
  text-align: center;
  transition: background var(--t);
}
.country:hover { background: rgba(242,237,229,0.04); }

.country__flag { display: block; font-size: 1.6rem; line-height: 1; margin-bottom: 0.5rem; }
.country__name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-inv);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.country__note {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-inv);
  line-height: 1.4;
}

/* Wine types */
.wine-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--accent);
}
@media (min-width: 640px) {
  .wine-types { grid-template-columns: repeat(3, 1fr); }
}

.wine-type {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border-inv);
}
@media (min-width: 640px) {
  .wine-type { border-bottom: none; border-right: 1px solid var(--border-inv); }
  .wine-type:last-child { border-right: none; }
}
.wine-type h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.wine-type p {
  font-size: 0.88rem;
  color: var(--muted-inv);
  line-height: 1.7;
}

/* ============================================================
   CIBO
============================================================ */
.cibo { background: var(--bg); }

.moments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 560px) {
  .moments { grid-template-columns: 1fr 1fr; }
}

.moment {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background var(--t);
}
.moment:hover { background: var(--white); }

.moment__time {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.moment__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   ORARI
============================================================ */
.orari { /* inherits .section--warm */ }

.hours-grid {
  max-width: 600px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-day {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg);
  flex-shrink: 0;
}
.hours-time {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.hours-row--closed .hours-day,
.hours-row--closed .hours-time {
  color: var(--muted);
}
.hours-row--closed .hours-time {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hours-row--special .hours-day { font-weight: 600; }
.hours-row--special .hours-time { color: var(--fg); }

/* ============================================================
   INSTAGRAM — SEZIONE COMPLETA
============================================================ */
.instagram { background: var(--bg); }

/* Padding manuale al posto di .section */
.instagram__header {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .instagram__header { padding-top: 7rem; padding-bottom: 3rem; }
}
.instagram__carousel {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .instagram__carousel { padding-bottom: 7rem; }
}

/* ---- Hero post: primo / ultimo pubblicato ---- */
.ig-hero {
  display: block;
  width: 100%;
  height: 56vw;
  min-height: 300px;
  max-height: 82vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  cursor: pointer;
  text-decoration: none;
}
.ig-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s ease;
}
.ig-hero:hover .ig-hero__img { transform: scale(1.03); }

.ig-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.18) 55%,
    transparent 100%
  );
  z-index: 1;
}
.ig-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem var(--pad);
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .ig-hero__content { padding: 3rem calc(var(--pad) + (100vw - var(--max)) / 2); }
}
.ig-hero__label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.ig-hero__caption {
  font-family: var(--font-it);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(242,237,229,0.92);
  line-height: 1.4;
  max-width: 680px;
  margin-bottom: 0.9rem;
}
.ig-hero__cta {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,229,0.4);
  transition: color var(--t);
}
.ig-hero:hover .ig-hero__cta { color: rgba(242,237,229,0.85); }

/* Skeleton loading dell'hero */
.ig-hero--loading {
  animation: ig-pulse 1.6s ease-in-out infinite;
}

/* Wrapper: contiene il carousel + le frecce */
.ig-wrap {
  position: relative;
  /* estende oltre i bordi del container per un effetto edge-to-edge su mobile */
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  margin-bottom: 1.5rem;
  overflow: hidden; /* taglia il peek del prossimo slide */
}

/* La striscia scorrevole */
.ig-carousel {
  display: flex;
  gap: 3px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: var(--pad);
  /* padding-right ampio: lascia un "respiro" dopo l'ultimo slide */
  padding-right: var(--pad);
}
.ig-carousel::-webkit-scrollbar { display: none; }

/* Singolo post */
.ig-slide {
  flex: 0 0 82vw;          /* mobile: ~82% schermo → peek naturale */
  max-width: 340px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
@media (min-width: 560px) {
  .ig-slide { flex: 0 0 calc(50% - 2px); max-width: none; }
}
@media (min-width: 900px) {
  .ig-slide { flex: 0 0 calc(33.333% - 2px); aspect-ratio: 1 / 1; }
  .ig-wrap  { margin-left: 0; margin-right: 0; }
  .ig-carousel { padding-left: 0; padding-right: 0; }
}

/* Immagine / sfondo */
.ig-slide__img {
  position: absolute;
  inset: 0;
  background: var(--bg-dark); /* colore base mentre l'img carica */
  transition: transform 0.55s ease;
  overflow: hidden;
}
.ig-slide:hover .ig-slide__img { transform: scale(1.04); }

/* Foto reale Instagram */
.ig-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Stato di caricamento (skeleton) */
.ig-loading {
  display: flex;
  gap: 3px;
  padding-left: var(--pad);
  width: 100%;
}
.ig-loading__block {
  flex: 0 0 82vw;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  background: rgba(17,17,16,0.07);
  animation: ig-pulse 1.6s ease-in-out infinite;
}
.ig-loading__block:nth-child(2) { animation-delay: 0.2s; opacity: 0.7; }
.ig-loading__block:nth-child(3) { animation-delay: 0.4s; opacity: 0.4; }
@keyframes ig-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   }
}
@media (min-width: 560px) {
  .ig-loading__block { flex: 0 0 calc(50% - 2px); max-width: none; }
}
@media (min-width: 900px) {
  .ig-loading         { padding-left: 0; }
  .ig-loading__block  { flex: 0 0 calc(33.333% - 2px); aspect-ratio: 1 / 1; }
}

/* Stato di errore */
.ig-error {
  width: 100%;
  padding: 3rem var(--pad);
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.ig-error a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity var(--t);
}
.ig-error a:hover { opacity: 0.7; }

/* Barra info in basso */
.ig-slide__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}
.ig-slide__label {
  font-family: var(--font-it);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(242,237,229,0.92);
  letter-spacing: 0.02em;
}
.ig-slide__ext {
  font-size: 0.9rem;
  color: rgba(242,237,229,0.4);
  transition: color var(--t);
}
.ig-slide:hover .ig-slide__ext { color: rgba(242,237,229,0.9); }

/* Overlay hover */
.ig-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,16,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
  z-index: 3;
}
.ig-slide:hover .ig-slide__overlay { opacity: 1; }
.ig-slide__overlay span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-inv);
}

/* Frecce prev/next — solo desktop */
.ig-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  background: var(--bg-dark);
  border: 1.5px solid rgba(242,237,229,0.18);
  color: var(--fg-inv);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.ig-arrow:hover { background: var(--accent); border-color: var(--accent); }
@media (min-width: 900px) {
  .ig-arrow { display: flex; }
  .ig-arrow--prev { left:  -21px; }
  .ig-arrow--next { right: -21px; }
}

/* Pallini indicatori */
.ig-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 2.5rem;
}
.ig-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(17,17,16,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.ig-dot--active {
  background: var(--accent);
  transform: scale(1.5);
}

.ig-cta { text-align: center; }

/* ============================================================
   DOVE / CONTATTI
============================================================ */
.dove { /* inherits .section--dark */ }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 560px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.contact-block__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-inv);
}
.contact-block__body {
  font-size: 0.9rem;
  color: var(--muted-inv);
  line-height: 1.8;
}

.contact-link {
  color: var(--fg-inv);
  font-weight: 500;
  transition: color var(--t);
}
.contact-link:hover { color: var(--accent); }

.contact-block__body--hours {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hours-brief-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted-inv);
}
.hours-brief-row span:first-child { white-space: nowrap; flex-shrink: 0; }
.hours-brief-row span:last-child  { text-align: right; white-space: nowrap; }
.hours-brief-row--closed { opacity: 0.4; font-style: italic; }

.map-cta { text-align: center; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-inv);
  padding: 2.5rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-inv);
}
@media (min-width: 640px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-inv);
  letter-spacing: 0.06em;
}
.footer__addr {
  font-size: 0.72rem;
  color: var(--muted-inv);
  margin-top: 0.2rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}
.footer__nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-inv);
  transition: color var(--t);
}
.footer__nav a:hover { color: var(--fg-inv); }

.footer__bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer__bottom p {
  font-size: 0.7rem;
  color: rgba(242,237,229,0.2);
  margin: 0;
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   ACCESSIBILITY & MISC
============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(192,67,26,0.2); color: var(--fg); }

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