/* ═══════════════════════════════════════════════════════════════
   NoruCore – style.css
   Shared Design System · Playfair Display + Satoshi
═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Typography */
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans: 'Satoshi', 'Inter', sans-serif;

  /* Colors */
  --clr-white: #ffffff;
  --clr-black: #0a0a0a;
  --clr-dark: #111111;
  --clr-grey: #F2F1EF;
  --clr-grey-mid: #E0E0E0;
  --clr-border: #D0CFC8;
  --clr-border-dark: #444444;
  --clr-blue: #0056b3;
  --clr-text-sec: #5a5a52;
  --clr-text-wm: #1a1a1a;

  /* Alert colors */
  --clr-red: #c62828;
  --clr-red-bg: rgba(198, 40, 40, 0.05);
  --clr-red-border: rgba(198, 40, 40, 0.3);
  --clr-amber: #a85400;
  --clr-amber-bg: rgba(168, 84, 0, 0.05);
  --clr-amber-border: rgba(168, 84, 0, 0.3);
  --clr-info-bg: rgba(0, 86, 179, 0.05);
  --clr-info-border: rgba(0, 86, 179, 0.3);

  /* Layout */
  --page-pad: 160px;
  --section-gap: 80px;

  /* Radii — flatter, more editorial */
  --r-card: 20px;
  --r-btn: 8px;
  --r-pill: 100px;

  /* Transitions */
  --ease: .35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ─────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  background: var(--clr-white);
  color: var(--clr-black);
  line-height: 1.2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--ff-sans);
  cursor: pointer;
}

/* ── Layout helpers ───────────────────────────── */
.page-inner {
  width: 100%;
  max-width: 1440px;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  margin: 0 auto;
}

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px var(--page-pad);
  position: relative;
  z-index: 3000;
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--clr-black);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link {
  font-family: var(--ff-sans);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--clr-black);
  position: relative;
  padding-bottom: 2px;
  transition: opacity var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.btn-download {
  padding: 12px 24px;
  background: var(--clr-dark);
  color: var(--clr-white);
  border: 1px solid var(--clr-dark);
  border-radius: var(--r-btn);
  font-family: var(--ff-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.btn-download:hover {
  background: transparent;
  color: var(--clr-dark);
  border-color: var(--clr-dark);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-black);
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
  }
}

/* ── HERO NEW ─────────────────────────────────── */
.hero-new {
  padding: 80px var(--page-pad) 160px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative; 
}

/* ── HERO SCROLL INDICATOR ───────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(0,0,0,0.45);
  opacity: 0;
  animation: scrollHintFadeIn 0.8s ease 2.4s forwards;
  transition: border-color 0.25s ease, color 0.25s ease;
  z-index: 10;
  cursor: pointer;
}
.hero-scroll-hint:hover {
  border-color: rgba(0,0,0,0.5);
  color: rgba(0,0,0,0.75);
}
.hero-scroll-hint svg {
  animation: scrollArrowBounce 2.2s cubic-bezier(0.4,0,0.2,1) infinite;
  flex-shrink: 0;
}
@keyframes scrollArrowBounce {
  0%, 100% { transform: translateY(-3px); opacity: 0.5; }
  50%       { transform: translateY(3px);  opacity: 1; }
}
@keyframes scrollHintFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Contenitore dell'immagine di sfondo */
.hero-new-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-new-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* La sfumatura per amalgamarsi col sito (Sopra e Sotto) */
.hero-new-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom, 
    var(--clr-white) 0%,             
    rgba(255, 255, 255, 0) 15%,      
    rgba(255, 255, 255, 0) 65%,      
    var(--clr-white) 100%            
  );
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  position: relative; 
  z-index: 10;
  width: 100%;
}

.hero-glitch-title {
  font-family: var(--ff-sans);
  font-size: clamp(60px, 9vw, 160px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--clr-black);
}

.hero-glitch-title span {
  display: block;
}

.hero-subline {
  margin-top: 40px;
  font-family: var(--ff-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

/* Hero About section */
.hero-about {
  margin-top: 140px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 52px;
}

.about-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.about-divider {
  flex: 1;
  height: 1.5px;
  background: var(--clr-black);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
}

.about-col p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  max-width: 460px;
}

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-glitch-title {
    font-size: 12vw;
  }
}

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  /* Use visibility+opacity+transform instead of display:none
     so we can animate the slide-in and always sit above the navbar */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: #0c0c0c;
  z-index: 9999;           /* above navbar z-index:3000 */
  display: flex;           /* always flex — animation handles show/hide */
  flex-direction: column;
  transform: translateY(-16px);
  transition:
    opacity   0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.28s;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity   0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.mobile-menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.mobile-menu-wordmark {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  padding: 0;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  gap: 0;
}

.mobile-menu-links a {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 9vw, 48px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
  opacity: 1 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mobile-menu-links a:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-links a:hover {
  color: #fff !important;
  padding-left: 8px;
}

.mobile-menu-footer {
  padding: 24px 40px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.20);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ── ARTICLE CARD (BASE FRAMEWORK) ───────────── */
.article-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  text-decoration: none;
  transition: transform .6s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.6s ease;
  padding: 32px;
  background: var(--theme-bg-color, #f5f5f5);
  box-sizing: border-box;
}

.home-article-card {
  height: 540px !important;
  width: 380px !important;
  min-width: 380px !important;
  flex-shrink: 0;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 32px !important;
  padding: 40px !important;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.bento-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-1x1 { grid-column: span 1; grid-row: span 1; }

.article-card.bento-2x2 { padding: 56px; justify-content: space-between; }
.article-card.bento-2x1 { padding: 40px; justify-content: center; }
.article-card.bento-1x1 { padding: 32px; justify-content: flex-end; }

.article-card-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-serif);
  font-size: 200px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03 !important;
  color: var(--clr-black);
  letter-spacing: -0.04em;
  transition: transform 0.2s ease-out;
}

.bento-2x2 .article-card-bg-text { font-size: 320px; }
.bento-1x1 .article-card-bg-text { display: none; }

.article-card-img-wrap {
  position: relative;
  z-index: 5;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.home-article-card .article-card-img-wrap {
  width: 240px;
  height: 240px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  position: relative !important;
}

.article-card:hover .article-card-bg-text { transform: translate(-55%, -50%); }

.home-article-card .article-card-bg-text {
  font-size: 160px;
  opacity: 0.15 !important;
  color: var(--theme-text-color) !important;
}

.article-card-marquee-grid { display: none; }

.articles-grid .article-card-img-wrap {
  position: absolute !important;
  top: auto; left: auto; right: auto; bottom: auto;
}

.bento-2x2 .article-card-img-wrap {
  top: 50%; right: -10%; width: 80%; height: 80%;
  transform: translateY(-50%); border-radius: 40px; opacity: 0.9;
}
.bento-2x1 .article-card-img-wrap {
  top: 0; right: 0; width: 45%; height: 100%; border-radius: 0;
}
.bento-1x1 .article-card-img-wrap {
  bottom: -10%; right: -10%; width: 70%; height: 70%; border-radius: 50%; opacity: 0.8;
}

.article-card:hover .article-card-img-wrap { transform: scale(1.04) rotate(1deg); }
.bento-2x2:hover .article-card-img-wrap { transform: translateY(-52%) scale(1.05); }

.article-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.home-article-card .article-card-play {
  display: flex; position: absolute; bottom: 16px; left: 16px;
  align-items: center; gap: 6px; font-family: var(--ff-sans); font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; z-index: 3;
}
.home-article-card .article-card-play svg { width: 12px; height: 12px; fill: currentColor; }
.article-card-play { display: none; }

.article-card-footer {
  position: relative; width: 100%; display: flex; flex-direction: column;
  gap: 12px; z-index: 4; pointer-events: none;
}
.home-article-card .article-card-footer {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center; z-index: 20;
}
.home-article-card .card-label, .home-article-card .card-author {
  font-family: var(--ff-sans); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--theme-text-color); opacity: 0.8;
}
.home-article-card .card-title { display: none; }
.bento-2x2 .article-card-footer { width: 65%; }
.bento-2x1 .article-card-footer { width: 50%; }
.bento-1x1 .article-card-footer { width: 100%; }
.article-card-footer .card-title {
  margin: 0; font-family: var(--ff-serif); font-weight: 400; line-height: 1.1; color: var(--clr-black);
}
.bento-2x2 .article-card-footer .card-title { font-size: clamp(32px, 3.5vw, 42px); }
.bento-2x1 .article-card-footer .card-title { font-size: clamp(24px, 2.5vw, 30px); }
.bento-1x1 .article-card-footer .card-title { font-size: 20px; }

/* Themes */
.theme-teal { background: #1a352f; --theme-text-color: #34f07a; }
.theme-periwinkle { background: #bcc7da; --theme-text-color: #ff4d15; }
.theme-beige { background: #e1d8cc; --theme-text-color: #ff4d15; }
.theme-maroon { background: #4a282e; --theme-text-color: #f8b8d8; }

/* ── HOME ARTICLES OUTER ──────────────────────── */
.articles-outer {
  width: 100%;
  max-width: none; /* Rimuove ogni limite per permettere l'uscita dallo schermo */
  padding: 0;
  margin: 0;
}

/* ── HOME ARTICLES GRID (Lo Slider) ───────────── */
.home-articles-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-left: 0;
  
  /* Spazio fantasma a destra per quando si scorre fino in fondo */
  padding-right: var(--page-pad);
  padding-bottom: 32px; /* Lascia spazio vitale per l'ombra dell'hover */
  
  /* Effetto "calamita" (Swipe) per Mobile e Desktop */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-articles-grid::-webkit-scrollbar {
  display: none;
}

/* ── HOME CARD (.hc) ──────────────────────────── */
.hc {
  /* La formula CLAMP garantisce che ci stiano 3 card e la 4° sia SEMPRE tagliata:
     Minimo 280px (Mobile), Ottimale 24vw (Desktop standard), Massimo 400px (Schermi giganti) */
  flex: 0 0 clamp(280px, 24vw, 400px); 
  scroll-snap-align: start; /* Punto di ancoraggio dello swipe */
  
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .22s, border-color .22s, transform .22s;
}
.hc:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* Image section — fixed aspect ratio */
.hc-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.hc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hc:hover .hc-img img { transform: scale(1.04); }

/* Text section */
.hc-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #F7F4EF;
}
.hc-accent {
  width: 22px;
  height: 2px;
  background: #C8352A;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.hc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
  display: block;
}
.hc-eyebrow-red { color: #C8352A; }
.hc-title {
  font-family: var(--ff-serif);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: #0D0D0D;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.hc-excerpt {
  font-size: 12.5px;
  color: #6B6B6B;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.hc-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.hc-date, .hc-author { font-size: 11px; color: #999; }
.hc-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(0,0,0,0.15); flex-shrink: 0; }
.hc-arrow {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s;
}
.hc:hover .hc-arrow { border-color: rgba(0,0,0,0.28); }

@media (max-width: 1024px) {
  .home-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .article-card { aspect-ratio: 4/3; }
  .bento-2x2, .bento-2x1, .bento-1x1 { grid-column: span 1; grid-row: span 1; }
}

/* ── FOOTER ───────────────────────────────────── */
.footer { width: 100%; padding: 0 12px 24px; margin-top: 120px; }
.footer-box { background: var(--clr-grey); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; padding: 80px 0 0; position: relative; }
.footer-top-row { display: flex; justify-content: space-between; gap: 60px; padding: 0 80px 60px; align-items: flex-start; z-index: 2; }
.footer-left { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.footer-text-block { display: flex; flex-direction: column; gap: 16px; }
.footer-cta-title { font-family: var(--ff-serif); font-size: clamp(28px, 3vw, 40px); max-width: 480px; line-height: 1.15; letter-spacing: -0.02em; }
.footer-cta-body { font-size: 16px; color: var(--clr-text-sec); max-width: 500px; line-height: 1.65; }
.footer-btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-footer-dark { padding: 14px 32px; background: var(--clr-dark); color: var(--clr-white); border-radius: var(--r-btn); border: 1px solid var(--clr-dark); font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--ease), color var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.btn-footer-dark:hover { background: transparent; color: var(--clr-dark); }
.btn-footer-outline { padding: 14px 32px; border: 1px solid var(--clr-border-dark); border-radius: var(--r-btn); font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; background: transparent; color: var(--clr-black); transition: background var(--ease), border-color var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.btn-footer-outline:hover { background: rgba(0, 0, 0, 0.04); border-color: var(--clr-black); }

.footer-nav-cols { display: flex; gap: 64px; }
.footer-nav-heading { font-family: var(--ff-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-text-sec); margin-bottom: 20px; }
.footer-nav-list { display: flex; flex-direction: column; gap: 12px; padding-left: 0; margin-left: 0; }
.footer-nav-list li { padding-left: 0; margin-left: 0; text-align: left; }
.footer-nav-list a { font-size: 15px; color: var(--clr-black); transition: opacity var(--ease); opacity: 0.6; padding-left: 0; }
.footer-nav-list a:hover { opacity: 1; }

.footer-wordmark { font-family: var(--ff-serif); font-size: clamp(80px, 20vw, 480px); font-weight: 700; color: var(--clr-black); text-align: center; opacity: .06; line-height: 0.8; margin-top: 20px; user-select: none; pointer-events: none; position: relative; z-index: 1; letter-spacing: -0.04em; }

.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; font-size: 11px; letter-spacing: 0.04em; color: var(--clr-black); background: var(--clr-white); position: relative; z-index: 2; }
.footer-info-group { display: flex; gap: 24px; align-items: center; }
.footer-info-item { display: flex; align-items: center; gap: 6px; opacity: 0.55; }

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--clr-dark); color: var(--clr-white); border: 1px solid var(--clr-dark); border-radius: var(--r-btn); font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--ease), color var(--ease); }
.btn-primary:hover { background: transparent; color: var(--clr-dark); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border: 1px solid var(--clr-border-dark); border-radius: var(--r-btn); font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; background: transparent; color: var(--clr-black); transition: border-color var(--ease), background var(--ease); }
.btn-outline:hover { border-color: var(--clr-black); background: rgba(0, 0, 0, 0.03); }

/* ── ALERTS ───────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: 8px; font-size: 15px; line-height: 1.5; }
.alert-error { background: var(--clr-red-bg); border: 1px solid var(--clr-red-border); color: var(--clr-red); }
.alert-warning { background: var(--clr-amber-bg); border: 1px solid var(--clr-amber-border); color: var(--clr-amber); }
.alert-info { background: var(--clr-info-bg); border: 1px solid var(--clr-info-border); color: var(--clr-blue); }

/* ── SECTION TITLES ───────────────────────────── */
.section-title { font-family: var(--ff-serif); font-size: clamp(28px, 3.5vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.section-body { font-size: 17px; color: var(--clr-text-sec); line-height: 1.7; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1200px) {
  :root { --page-pad: 80px; }
  .footer-top-row { gap: 60px; }
}

@media (max-width: 900px) {
  :root { --page-pad: 40px; }
  .articles-grid { gap: 20px; padding-bottom: 40px; }
  .article-card { min-width: 280px; width: 280px; height: 420px; scroll-snap-align: center; padding: 24px; }
  .article-card-bg-text { font-size: 100px; }
  .article-card-img-wrap { width: 180px; height: 230px; border-radius: 20px; }
  .article-card-footer { padding: 24px 32px; }
  .footer-top-row { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  .navbar { z-index: 3000; }
  :root { --section-gap: 48px; }
  .footer { padding: 0; margin-top: 80px; }
  .footer-box { border-radius: 0; padding-top: 40px; }
  .footer-top-row { padding: 0 16px 40px; }
  .footer-wordmark { height: 70px; font-size: 21vw; white-space: nowrap; overflow: hidden; line-height: 1; margin-top: 30px; text-align: center; }
  .footer-btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-footer-dark, .btn-footer-outline { width: 100%; justify-content: center; }
  .footer-nav-cols { flex-direction: column; gap: 40px; }
  .section-title { font-size: 26px !important; }
  .section-body { font-size: 16px !important; }
  .footer-copy, .footer-info-item, .article-date { font-size: 13px !important; }
}
