/* Lovi 1963 — brand identity: Manrope, blu notte #151f2b, avorio #dbdad8, grigio caldo #8e8984 */
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-ExtraLight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #151f2b;          /* sfondo */
  --ink-soft: #1e2a38;     /* riempimento immagini in caricamento */
  --paper: #dbdad8;        /* titoli, pulsanti */
  --muted: #8e8984;        /* testi, etichette */
  --line: rgba(219, 218, 216, 0.14);
  --shade: 21, 31, 43;     /* #151f2b in rgb, per i gradienti */

  --f: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1440px;
  --sec: clamp(88px, 13vw, 200px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--f);
  font-weight: 400;
  font-size: clamp(15px, 0.45vw + 12.5px, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--paper); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-size: clamp(42px, 6.4vw, 104px);
}
.display--l { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -0.025em; }
.display--xl { font-size: clamp(38px, 5.8vw, 92px); }
.eyebrow, .label {
  font-family: var(--f);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.lead { font-size: clamp(18px, 1.35vw, 22px); line-height: 1.6; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-family: var(--f); font-weight: 500; font-size: 15px; letter-spacing: 0;
  text-decoration: none; border: 1px solid var(--paper);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: #fff; border-color: #fff; }
.btn--ghost { color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: rgba(219, 218, 216, 0.1); }
.link {
  display: inline-block; padding-block: 10px;
  font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s;
}
.link:hover { border-color: var(--paper); }

/* ---------- Progress + Nav ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--paper); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(var(--shade), 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: block; padding-block: 8px; }
.nav__logo img { height: clamp(42px, 4vw, 54px); width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding-block: 12px; color: var(--muted); transition: color .3s;
}
.nav__links a:hover { color: var(--paper); }
.nav__links .nav__cta { color: var(--paper); border: 1px solid var(--paper); padding: 12px 20px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.nav__links .nav__cta:hover { background: rgba(219, 218, 216, 0.1); }
.nav__toggle { display: none; }

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 48px; padding: 0 4px; background: none; border: 0; color: var(--paper);
    font: inherit; font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
    position: relative; z-index: 2;
  }
  .nav__toggle-lines { width: 22px; height: 8px; position: relative; }
  .nav__toggle-lines::before, .nav__toggle-lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease);
  }
  .nav__toggle-lines::before { top: 0; }
  .nav__toggle-lines::after { top: 7px; }
  .nav.is-open .nav__toggle-lines::before { top: 4px; transform: rotate(45deg); }
  .nav.is-open .nav__toggle-lines::after { top: 4px; transform: rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
    padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .nav__links a {
    font-weight: 600; font-size: 34px; letter-spacing: -0.02em; text-transform: none;
    color: var(--paper); padding-block: 8px;
  }
  .nav__links .nav__cta { margin-top: 24px; font-weight: 500; font-size: 15px; letter-spacing: 0; padding: 16px 24px; }
  .nav__logo { position: relative; z-index: 2; }
  .nav__logo img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), 0) 26%),
    linear-gradient(0deg, rgba(var(--shade), 1) 0%, rgba(var(--shade), .5) 38%, rgba(var(--shade), 0) 66%),
    linear-gradient(90deg, rgba(var(--shade), .75) 0%, rgba(var(--shade), .3) 45%, rgba(var(--shade), 0) 70%);
}
.hero__inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(96px, 13vh, 150px);
}
.hero h1 { max-width: 11ch; margin-bottom: 28px; }
.hero__sub { max-width: 36em; margin-bottom: 40px; font-size: clamp(16px, 1.1vw, 19px); }
.hero__caption, .living__caption {
  position: absolute; right: var(--gutter); bottom: 44px; margin: 0;
  font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-weight: 500; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; color: var(--muted);
  padding: 8px;
}
.hero__scroll i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--paper), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 820px) { .hero__scroll { display: none; } .hero__inner { padding-bottom: 72px; } }
@media (max-width: 899px) {
  .hero__caption, .hero__scroll, .living__caption { display: none; }
  .hero__media img { object-position: 40% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 18%),
      linear-gradient(0deg, rgba(var(--shade), 1) 0%, rgba(var(--shade), .8) 48%, rgba(var(--shade), .2) 78%);
  }
}

/* ---------- Manifesto ---------- */
.manifesto h2 { max-width: 18ch; margin-bottom: clamp(48px, 6vw, 88px); }
.manifesto__grid { display: grid; gap: 32px clamp(32px, 6vw, 120px); grid-template-columns: 1.15fr 1fr; align-items: start; }
.manifesto__grid p:last-child { padding-top: 6px; }
.stats {
  margin: clamp(64px, 8vw, 120px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stats div { padding: 32px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font-weight: 200; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--paper); margin-bottom: 14px; }
.stats dd { margin: 0; max-width: 22em; font-size: 15px; }
@media (max-width: 899px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div, .stats div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: 1fr; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head h2 { max-width: 20ch; }
.section-head__text { max-width: 36em; margin-top: 28px; }

/* ---------- Rooms index ---------- */
.rooms .section-head__text { color: var(--paper); }
.rooms__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.rooms__list li:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.room { display: block; text-decoration: none; }
.room__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-soft); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), opacity .6s; }
.room:hover .room__media img { transform: scale(1.08); }
.room__meta { display: flex; align-items: baseline; gap: 16px; padding: 22px 0 8px; border-bottom: 1px solid var(--line); color: var(--paper); }
.room__num { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; color: var(--muted); min-width: 2.2em; }
.room__name { font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.1; flex: 1; }
.room__arrow { transition: transform .5s var(--ease); }
.room:hover .room__arrow { transform: translateX(8px); }
@media (max-width: 899px) {
  .rooms__list { grid-template-columns: 1fr; }
  .rooms__list li:nth-child(2) { margin-top: 0; }
  .room__media { aspect-ratio: 4 / 3; }
}

/* ---------- Frames (shared image treatment) ---------- */
.frame__img { overflow: hidden; background: var(--ink-soft); aspect-ratio: 4 / 3; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.frame figcaption { padding-top: 16px; font-size: 14px; max-width: 34em; }
.frame--tall .frame__img { aspect-ratio: 4 / 5; }
.frame--low { margin-top: clamp(0px, 12vw, 200px); }

/* ---------- Chapter (Zona notte) ---------- */
.chapter__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.chapter__sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.chapter__text p:not(.label) { max-width: 30em; }
.chapter__text h2 { margin-bottom: 32px; }
.features { margin-top: 36px; border-top: 1px solid var(--line); color: var(--paper); font-size: 15px; }
.features li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.features li::before { content: ""; width: 18px; height: 1px; background: var(--muted); flex: none; transform: translateY(-5px); }
.chapter__pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start;
  width: min(100%, 76%); margin: clamp(56px, 8vw, 140px) 0 0 auto;
}
.chapter__pair .frame--low { margin-top: clamp(0px, 8vw, 140px); }
@media (max-width: 899px) {
  .chapter__grid { grid-template-columns: 1fr; }
  .chapter__sticky { position: static; }
  .chapter__pair { grid-template-columns: 1fr; width: 100%; gap: 48px; }
  .chapter__pair .frame--low { margin-top: 0; }
}

/* ---------- Living (scale stage) ---------- */
.living__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.living__media { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 60%; }
.living__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.living__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .45) 45%, rgba(var(--shade), .12) 70%), linear-gradient(90deg, rgba(var(--shade), .6), rgba(var(--shade), 0) 60%); }
.living__copy { position: relative; padding-bottom: clamp(56px, 10vh, 120px); padding-top: 30vh; }
.living__copy h2 { max-width: 12ch; margin-bottom: 28px; }
.living__copy p:not(.label) { max-width: 34em; color: var(--paper); }
.living__caption { max-width: 26em; text-align: right; font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; }
.living__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 899px) {
  .living__shade { background: linear-gradient(0deg, rgba(var(--shade), .98) 0%, rgba(var(--shade), .8) 50%, rgba(var(--shade), .15) 80%); }
  .living__pair { grid-template-columns: 1fr; }
  .frame--low { margin-top: 0; }
}

/* ---------- Kitchen (horizontal) ---------- */
.kitchen { position: relative; }
.kitchen__pin { overflow: hidden; }
.kitchen__track {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: var(--sec) var(--gutter);
  width: max-content;
}
.kitchen__intro { width: min(34vw, 520px); flex: none; }
.kitchen__intro h2 { margin-bottom: 28px; }
.kitchen__hint { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 32px; }
.kitchen__hint span { display: inline-block; color: var(--paper); }
.panel { flex: none; width: min(60vw, 980px); }
.panel:nth-child(odd) { transform: translateY(6vh); }
.panel__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-soft); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { padding-top: 16px; font-size: 14px; display: flex; gap: 16px; }
.panel figcaption span { color: var(--paper); font-weight: 500; letter-spacing: 0.15em; }

/* Fallback / mobile: native horizontal scroll with snap */
.kitchen:not(.is-pinned) .kitchen__pin { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.kitchen:not(.is-pinned) .panel, .kitchen:not(.is-pinned) .kitchen__intro { scroll-snap-align: start; }
.kitchen:not(.is-pinned) .panel:nth-child(odd) { transform: none; }
@media (max-width: 899px) {
  .kitchen__track { flex-direction: column; align-items: stretch; width: 100%; gap: 48px; padding-block: var(--sec); }
  .kitchen__intro, .panel { width: 100%; }
  .kitchen__hint { display: none; }
  .kitchen:not(.is-pinned) .kitchen__pin { overflow: visible; }
}

/* ---------- Details ---------- */
.details__grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-areas: "a t" "a b"; gap: clamp(32px, 5vw, 80px) clamp(32px, 6vw, 100px); align-items: start; }
.details__a { grid-area: a; }
.details__a .frame__img { aspect-ratio: 4 / 5; }
.details__text { grid-area: t; }
.details__text h2 { margin-bottom: 28px; }
.details__b { grid-area: b; }
@media (max-width: 899px) {
  .details__grid { grid-template-columns: 1fr; grid-template-areas: "t" "a" "b"; }
}

/* ---------- Method ---------- */
.method { background: var(--paper); color: var(--ink); }
.method .label, .method h2, .method h3 { color: var(--ink); }
.method .label { opacity: .7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(var(--shade), .2); }
.steps li { padding: 32px clamp(16px, 2vw, 32px) 0 0; }
.steps li + li { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid rgba(var(--shade), .2); }
.steps__n { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0.2em; opacity: .7; margin-bottom: 48px; }
.steps h3 { font-weight: 600; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.steps p { font-size: 15px; }
@media (max-width: 1099px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } .steps li { padding-bottom: 32px; } }
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(var(--shade), .2); }
  .steps__n { margin-bottom: 20px; }
}

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__media { position: sticky; top: calc(var(--nav-h) + 48px); }
.story__media .frame__img { aspect-ratio: 4 / 5; }
.story__text h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-weight: 200; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--paper); }
.timeline p { margin: 0; }
@media (max-width: 899px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { position: static; order: 2; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Brands ---------- */
.brands__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands__list li {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(112px, 11vw, 160px);
  padding: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .4s;
}
.brands__list img { width: auto; height: auto; max-width: 80%; max-height: 56px; opacity: .78; transition: opacity .4s; }
.brands__list li:hover { background: rgba(219, 218, 216, .03); }
.brands__list li:hover img { opacity: 1; }
@media (max-width: 899px) { .brands__list { grid-template-columns: 1fr 1fr; } .brands__list li { min-height: 96px; } }

/* ---------- Visit / CTA ---------- */
.visit { position: relative; overflow: hidden; isolation: isolate; padding-block: calc(var(--sec) * 1.1); }
.visit__media { position: absolute; inset: 0; z-index: -1; }
.visit__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .55; }
.visit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 1) 0%, rgba(var(--shade), .45) 30%, rgba(var(--shade), .5) 60%, rgba(var(--shade), .85) 100%); }
.visit h2 { max-width: 13ch; margin-bottom: 32px; }
.visit__lead { max-width: 34em; color: var(--paper); margin-bottom: 44px; }
.visit__info { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.visit__info h3 { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.visit__info p { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5; color: var(--paper); }
.visit__info p a { text-decoration: none; display: inline-block; padding-block: 8px; }
.visit__info p a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) { .visit__info { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { justify-self: start; }
.footer__logo img { width: 150px; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer__nav a { text-decoration: none; padding-block: 9px; font-size: 15px; transition: color .3s; }
.footer__nav a:hover { color: var(--paper); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__base p { margin: 0; }
.footer__base a { text-decoration: none; display: inline-block; padding-block: 12px; }
.footer__base a:hover { color: var(--paper); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__logo { grid-column: 1 / -1; } }

/* ---------- Motion states (only when JS motion is active) ---------- */
.has-motion [data-reveal] { opacity: 0; transform: translateY(32px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .frame__img img { transform: none; }
}
