/* ═══════════════════════════════════════════════════════
   NOZZE D'ARGENTO — token system
   Concept: argento spazzolato, luce di luna, sigilli incisi.
   Base fredda (antracite) + argento/platino metallico +
   un filo di rosa cipria per lo sguardo romantico.
   ═══════════════════════════════════════════════════════ */
:root {
  --ink-950: #0f1115;
  --ink-900: #15181e;
  --ink-800: #1c2027;
  --ink-700: #262b34;

  --platinum-50: #f7f8fa;
  --platinum-100: #eceef2;
  --platinum-200: #dde1e8;
  --platinum-300: #c3c9d4;
  --platinum-400: #9aa3b2;
  --platinum-500: #767f8f;
  --platinum-600: #5b6472;

  --blush: #d9beb2;
  --blush-dim: #9c8880;

  --line: rgba(200, 206, 219, 0.14);
  --line-strong: rgba(210, 216, 227, 0.28);

  --metal-flat: linear-gradient(135deg, #dfe3ea 0%, #aab2c1 50%, #dfe3ea 100%);
  --metal-shine: linear-gradient(
    100deg,
    #838c9c 0%,
    #eef0f4 18%,
    #ffffff 30%,
    #c7cdd8 42%,
    #7d8698 58%,
    #eef0f4 75%,
    #ffffff 88%,
    #838c9c 100%
  );

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0.55, 0.3, 1);
}

/* ── RESET ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--ink-950);
  color: var(--platinum-200);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  padding-top: 64px;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--platinum-100);
  outline-offset: 3px;
}

/* Shared metallic sheen text treatment — the signature */
.metal-text {
  background: var(--metal-shine);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerSweep 7s linear infinite;
}
@keyframes shimmerSweep {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: -260% 0;
  }
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  background: rgba(15, 17, 21, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  z-index: 900;
  transition: box-shadow 0.4s var(--ease);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  font-style: italic;
  color: var(--platinum-100);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-center {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--platinum-300);
  opacity: 0.85;
  white-space: nowrap;
}
.nav-right {
  text-align: right;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  white-space: nowrap;
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 20%,
      rgba(180, 188, 202, 0.09),
      transparent 60%
    ),
    var(--ink-950);
  clip-path: inset(-200px 0 0 0);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.55) 1px,
    transparent 1.5px
  );
  background-size: 130px 130px;
  opacity: 0.25;
  animation: twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes twinkle {
  from {
    opacity: 0.12;
  }
  to {
    opacity: 0.32;
  }
}

.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(14rem, 30vw, 28rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 206, 219, 0.055);
  user-select: none;
  pointer-events: none;
  animation: bgFade 2s 0s var(--ease-out) both;
}

/* Big 25 — brushed-metal engraving */
.hero-big-25 {
  position: absolute;
  top: calc(-64px - 0.18em);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: min(145vh, 145vw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(200, 206, 219, 0.32);
  background: linear-gradient(
    180deg,
    rgba(210, 216, 227, 0.32) 0%,
    rgba(180, 188, 202, 0.18) 40%,
    rgba(140, 148, 164, 0.06) 80%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  animation: bgFade 2s 0.1s var(--ease-out) both;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.hero-sup {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blush);
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 0, 0, 0.95);
  margin-bottom: 2.5rem;
  animation: riseIn 0.9s 0.4s var(--ease-out) both;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.9;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}
.hero-title-line {
  font-size: clamp(5rem, 14vw, 11rem);
  display: block;
  letter-spacing: -0.02em;
  color: var(--platinum-100);
}
.hero-title-line.line1 {
  animation: riseIn 1s 0.5s var(--ease-out) both;
}
.hero-title-line.line2 {
  animation: riseIn 1s 0.65s var(--ease-out) both;
  font-style: italic;
}
.hero-title-line.metal-text {
  text-shadow: 0 0 80px rgba(200, 206, 219, 0.25);
}
.hero-title-amp {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--platinum-400);
  font-style: italic;
  animation: riseIn 0.9s 0.58s var(--ease-out) both;
  margin: -0.1em 0;
}

.hero-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 238, 242, 0.85);
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 0, 0, 0.9);
  animation: riseIn 0.9s 0.78s var(--ease-out) both;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  justify-content: center;
  animation: riseIn 0.9s 0.9s var(--ease-out) both;
}
.hero-divider span:first-child,
.hero-divider span:last-child {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--line-strong);
}
.hero-diamond {
  font-size: 0.5rem;
  color: var(--platinum-200);
  letter-spacing: 0;
  transform: rotate(0deg);
  display: inline-block;
  animation: gemSpin 5s linear infinite;
}
@keyframes gemSpin {
  0%,
  92% {
    transform: scaleX(1);
    filter: brightness(1);
  }
  96% {
    transform: scaleX(0.2);
    filter: brightness(1.8);
  }
  100% {
    transform: scaleX(1);
    filter: brightness(1);
  }
}

/* ── TIMELINE SECTION HEADING ────────────── */
.tl-heading {
  text-align: center;
  padding: 7rem 2rem 0;
  position: relative;
}
.tl-heading-eyebrow {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.2rem;
}
.tl-heading-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--platinum-100);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tl-heading-title em {
  font-style: italic;
}
.tl-heading-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}
.tl-heading-rule span {
  display: block;
  height: 1px;
  width: 80px;
  background: var(--line-strong);
}
.tl-heading-rule i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--platinum-500);
  letter-spacing: 0.18em;
}

/* ── FILTER CHIPS ─────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2.75rem auto 0;
  max-width: 920px;
  padding: 0 1.5rem;
}
.filter-chip {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platinum-400);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--platinum-100);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: var(--metal-flat);
  color: var(--ink-950);
  border-color: transparent;
  font-weight: 500;
}

/* ── TIMELINE WRAP ───────────────────────── */
.tl-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2.5rem 10rem;
}
.tl-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(180, 188, 202, 0.35) 4%,
    rgba(180, 188, 202, 0.35) 96%,
    transparent 100%
  );
  overflow: hidden;
}
.tl-center-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #eef0f4 8%,
    #ffffff 50%,
    #c3c9d4 92%,
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(238, 240, 244, 0.55);
  transition: height 0.15s linear;
}

/* ── TIMELINE EVENTS ─────────────────────── */
.tl-event {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    max-height 0.5s var(--ease),
    margin 0.5s var(--ease);
}
.tl-event.visible {
  opacity: 1;
  transform: none;
}
.tl-event.filtered-out {
  display: none;
}

.tl-node {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  position: relative;
}
.tl-node-year {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--platinum-200);
  letter-spacing: 0.04em;
  order: -1;
}

/* Medallion node — a small engraved silver seal */
.tl-dot-outer {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    #eef0f4,
    #8f97a8,
    #eef0f4 40%,
    #5b6472 60%,
    #eef0f4 85%,
    #8f97a8
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 5px var(--ink-950),
    0 2px 10px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease);
}
.tl-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #ffffff, #b0b8c6);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transition: transform 0.4s var(--ease);
}
.tl-event:hover .tl-dot-outer {
  transform: scale(1.25) rotate(45deg);
}
.tl-event:hover .tl-dot {
  transform: rotate(90deg) scale(1.15);
}

.tl-event.left .tl-card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}
.tl-event.left .tl-spacer {
  grid-column: 3;
  grid-row: 1;
}
.tl-event.right .tl-spacer {
  grid-column: 1;
  grid-row: 1;
}
.tl-event.right .tl-card {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

/* ── CARD ────────────────────────────────── */
.tl-card {
  width: 100%;
  max-width: 420px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.tl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: var(--metal-flat);
  opacity: 0;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.tl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-color: transparent;
}
.tl-card:hover::before {
  opacity: 1;
}
.tl-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.tl-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
  filter: brightness(0.88) saturate(0.75);
}
.tl-card:hover .tl-card-img {
  transform: scale(1.07);
  filter: brightness(0.95) saturate(0.9);
}
.tl-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 17, 21, 0.88) 0%,
    transparent 55%
  );
}
.tl-card-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 17, 21, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--platinum-100);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tl-card-emoji {
  font-size: 0.8rem;
}
.tl-card-body {
  padding: 1.4rem 1.6rem 1.6rem;
}
.tl-card-date {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 0.5rem;
}
.tl-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--platinum-100);
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}
.tl-card-excerpt {
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--platinum-200);
  opacity: 0.65;
}
.tl-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-300);
  opacity: 0.75;
  transition:
    opacity 0.3s,
    letter-spacing 0.3s;
}
.tl-card:hover .tl-card-cta {
  opacity: 1;
  letter-spacing: 0.3em;
  color: var(--platinum-100);
}
.tl-card-cta-arrow {
  font-size: 0.9rem;
  transition: transform 0.3s;
}
.tl-card:hover .tl-card-cta-arrow {
  transform: translateX(4px);
}

/* ── MODAL BACKDROP ──────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: rgba(28, 32, 39, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 100%;
  max-width: 900px;
  max-height: 90svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  position: relative;
}
.modal-backdrop.open .modal {
  transform: none;
}
.modal-x {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(236, 238, 242, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--platinum-200);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.modal-x svg {
  width: 14px;
  height: 14px;
}
.modal-x:hover {
  background: rgba(236, 238, 242, 0.16);
  transform: scale(1.1) rotate(90deg);
}

.modal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 0;
  flex: 1;
}
.modal-visual {
  position: relative;
  overflow: hidden;
}
.modal-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(0.7);
}
.modal-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 17, 21, 0.55) 0%,
    transparent 60%
  );
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.modal-badge {
  align-self: flex-start;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum-100);
  border: 1px solid rgba(221, 228, 239, 0.35);
  padding: 0.28rem 0.8rem;
  border-radius: 2px;
  background: rgba(15, 17, 21, 0.45);
  backdrop-filter: blur(6px);
}
.modal-body {
  padding: 2.5rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.modal-date {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 0.6rem;
}
.modal-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--platinum-100);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.modal-desc {
  font-size: 0.83rem;
  line-height: 1.9;
  color: var(--platinum-200);
  opacity: 0.8;
  flex: 1;
}
.modal-gallery-wrap {
  margin-top: auto;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.modal-photos-label {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum-500);
  margin-bottom: 0.75rem;
}
.modal-gallery {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.modal-gallery img {
  height: 84px;
  width: auto;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.65);
  transition:
    filter 0.25s,
    transform 0.25s;
  border: 1px solid transparent;
}
.modal-gallery img:hover {
  filter: brightness(0.98) saturate(0.9);
  transform: scale(1.04);
  border-color: var(--platinum-300);
}

/* ── LIGHTBOX ────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.97);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 88vw;
  max-height: 82svh;
  object-fit: contain;
  border-radius: 3px;
}
.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  width: 40px;
  height: 40px;
  color: rgba(236, 238, 242, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    transform 0.2s;
}
.lb-close svg {
  width: 20px;
  height: 20px;
}
.lb-close:hover {
  color: var(--platinum-100);
  transform: scale(1.12) rotate(90deg);
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  color: rgba(236, 238, 242, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    transform 0.2s;
}
.lb-arrow svg {
  width: 28px;
  height: 28px;
}
.lb-prev {
  left: 1.5rem;
}
.lb-next {
  right: 1.5rem;
}
.lb-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}
.lb-next:hover {
  transform: translateY(-50%) translateX(3px);
}
.lb-counter {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: rgba(236, 238, 242, 0.55);
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  pointer-events: none;
}
.lb-counter .lb-cur {
  font-size: 1.5rem;
  color: var(--platinum-100);
  font-weight: 300;
}
.lb-counter .lb-sep {
  font-size: 0.8rem;
  color: rgba(168, 180, 200, 0.4);
}
.lb-counter .lb-tot {
  font-size: 1rem;
  color: rgba(236, 238, 242, 0.4);
}

/* ── CLOSING ─────────────────────────────── */
.closing {
  position: relative;
  background: linear-gradient(165deg, #eef0f4 0%, #dde1e8 55%, #cdd2dc 100%);
  padding: 10rem 2rem;
  text-align: center;
  overflow: hidden;
}
.closing-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
.closing-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.closing-sup {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blush-dim);
  margin-bottom: 1.2rem;
}
.closing-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 300;
  color: var(--ink-950);
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.closing-title em {
  font-style: italic;
  color: var(--platinum-600);
}
.closing-text {
  font-size: 0.9rem;
  line-height: 2;
  color: #3a4050;
  margin-bottom: 4rem;
  max-width: 480px;
}
.closing-nums {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.cnum {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.cnum-n {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 300;
  color: var(--ink-950);
  line-height: 1;
}
.cnum-l {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum-600);
}
.cnum-arrow {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--platinum-500);
  flex-shrink: 0;
  margin-top: -0.5rem;
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: #0a0b0e;
  border-top: 1px solid var(--line);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--platinum-200);
  font-weight: 300;
}
.footer-copy {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.18);
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bgFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .modal-split {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 88svh;
  }
  .modal-visual img {
    min-height: 220px;
    height: 220px;
  }
  .modal-body {
    padding: 1.6rem 1.4rem;
  }
  .modal-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 680px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 1rem;
  }
  .nav-logo {
    font-size: 1.3rem;
  }
  .nav-center {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    opacity: 0.8;
  }
  .nav-right {
    display: block;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }
  .hero-big-25 {
    top: calc(-56px + 2rem);
  }
  .tl-wrap {
    padding: 4rem 1rem 6rem;
  }
  .tl-center-line {
    left: 20px;
  }
  .tl-event {
    display: block;
    padding-left: 52px;
    position: relative;
    margin-bottom: 3.5rem;
  }
  .tl-node {
    position: absolute;
    left: 0;
    top: 1rem;
  }
  .tl-node-year {
    font-size: 0.72rem;
  }
  .tl-card {
    max-width: 100%;
  }
  .tl-spacer {
    display: none;
  }
  .hero-title-line {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }
  .closing {
    padding: 6rem 1.5rem;
  }
  .closing-nums {
    gap: 2rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .tl-heading {
    padding: 4rem 1.5rem 0;
  }
  .tl-heading-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .filter-bar {
    gap: 0.4rem;
    margin-top: 2rem;
  }
  .filter-chip {
    font-size: 0.56rem;
    padding: 0.48rem 0.9rem;
  }

  .modal-x {
    width: 52px;
    height: 52px;
    top: 0.8rem;
    right: 0.8rem;
    background: rgba(236, 238, 242, 0.25);
    border: 2px solid rgba(236, 238, 242, 0.6);
    color: rgba(236, 238, 242, 0.9);
  }
  .modal-x svg {
    width: 22px;
    height: 22px;
  }
  .modal-x:hover {
    background: rgba(236, 238, 242, 0.35);
    border-color: rgba(236, 238, 242, 0.8);
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 56px;
  }
  .nav {
    height: 56px;
  }
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0;
    padding: 0 1rem;
  }
  .nav-logo {
    font-size: 1.2rem;
  }
  .nav-center {
    font-size: 0.42rem;
    letter-spacing: 0.14em;
    text-align: center;
    opacity: 0.8;
  }
  .nav-right {
    display: block;
    font-size: 0.42rem;
    letter-spacing: 0.12em;
  }
}
