/* ===== MARGINALIA · Kinetic Typography Landing ===== */

:root {
  --bg: #f4efe6;
  --ink: #1a1a1a;
  --accent: #c8472e;
  --muted: #8a8275;
  --line: rgba(26, 26, 26, 0.12);
  --paper: #ebe4d6;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --speed: 1;
  --bold-mult: 1;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) var(--paper);
  scrollbar-gutter: stable;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 2px solid var(--paper);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink); }

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* === Grain overlay === */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
}

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav__logo { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.02em; text-transform: none; }
.nav__logo i { color: var(--accent); font-style: normal; }
.nav__menu { display: flex; gap: 32px; }
.nav__menu a { position: relative; padding: 4px 0; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 116px;
}
.nav__visit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.nav__visit::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.nav__visit::after {
  content: "->";
  color: var(--accent);
  transition: transform 0.3s ease;
}
.nav__visit:hover::after { transform: translateX(4px); }
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.nav__toggle:hover {
  background: var(--ink);
  color: var(--bg);
}
.nav--open .nav__toggle {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(6deg);
}
.nav__toggle-mark {
  display: grid;
  width: 18px;
  gap: 4px;
}
.nav__toggle-mark span {
  display: block;
  height: 1px;
  background: currentColor;
}
.nav__toggle-mark span:nth-child(2) {
  width: 12px;
  justify-self: end;
}
.nav__panel {
  position: absolute;
  top: calc(100% + 4px);
  right: var(--pad);
  left: var(--pad);
  display: grid;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 18px 60px rgba(26, 26, 26, 0.22);
}
.nav__panel[hidden] { display: none; }
.nav__panel a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid rgba(244, 239, 230, 0.16);
  padding: 18px;
  font-family: var(--f-display);
  font-size: clamp(26px, 6vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: none;
  opacity: 0;
  transform: translateY(-8px);
  animation: menuItemIn 0.36s ease forwards;
  animation-delay: calc(var(--i) * 45ms);
}
.nav__panel a:last-child { border-bottom: 0; }
.nav__panel a:hover { color: var(--accent); }
.nav__panel a span {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}

.hero__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hero__top span { display: block; opacity: 0.6; margin-bottom: 4px; }

.hero__title {
  font-family: var(--f-display);
  font-size: calc(clamp(64px, 14vw, 220px) * var(--bold-mult, 1));
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 32px 0;
}
.hero__title .row { display: flex; align-items: baseline; overflow: hidden; }
.hero__title .word { display: inline-flex; overflow: hidden; padding: 0.05em 0; }
.hero__title .char {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero__title .word:hover .char {
  transform: translateY(-8px);
}
.hero__title .word:hover .char:nth-child(odd) {
  transform: translateY(-14px);
}

.hero__title .italic { font-style: italic; }
.hero__title .accent { color: var(--accent); }
.hero__title .small {
  font-size: 0.18em;
  font-family: var(--f-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-left: 0.3em;
  display: inline-block;
  transform: translateY(-0.6em);
  opacity: 0.6;
}

.hero__lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 36ch;
  text-transform: none;
  color: var(--ink);
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: end;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  overflow: hidden;
  position: relative;
}
.hero__cta:hover { background: var(--ink); color: var(--bg); padding-right: 30px; }
.hero__cta .arrow { transition: transform 0.4s; }
.hero__cta:hover .arrow { transform: translateX(4px); }

.hero__scroll {
  text-align: right;
  opacity: 0.6;
}
.hero__scroll::after {
  content: "↓";
  display: inline-block;
  margin-left: 8px;
  animation: bob 2s ease infinite;
}
@keyframes bob { 50% { transform: translateY(4px); } }
@keyframes menuItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MARQUEE === */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.marquee__track {
  display: flex; gap: 60px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: marquee 32s linear infinite;
}
.marquee__track > span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track .star { color: var(--accent); font-family: var(--f-sans); font-size: 0.5em; transform: translateY(-0.1em); }
.marquee__track em { font-style: italic; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee.reverse .marquee__track { animation-direction: reverse; animation-duration: 40s; }

/* === SECTION HEAD === */
.section {
  padding: 100px var(--pad);
  border-top: 1px solid var(--line);
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
}
.section__num {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
}
.section__title {
  font-family: var(--f-display);
  font-size: calc(clamp(48px, 8vw, 130px) * var(--bold-mult, 1));
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.section__title em { color: var(--accent); }

/* === SELECTION (coups de cœur) === */
.selection__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.book {
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer;
}
.book__cover {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}
.book__cover::before,
.news__cover::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent),
    var(--accent);
  transform: translateY(-104%);
  transition: transform 0.85s cubic-bezier(0.7, 0, 0.2, 1);
  pointer-events: none;
}
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.82) contrast(1.2);
  mix-blend-mode: multiply;
  opacity: 0.72;
  transition: filter 0.5s ease, opacity 0.5s ease;
}
.book__cover::after,
.news__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(244, 239, 230, 0.03), rgba(26, 26, 26, 0.18)),
    color-mix(in oklab, currentColor 16%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.book:hover .book__cover {
  box-shadow: 0 18px 45px rgba(26, 26, 26, 0.14);
}
.book:hover .book__cover::before,
.news__item:hover .news__cover::before {
  transform: translateY(104%);
}
.book:hover .cover-img,
.news__item:hover .cover-img {
  filter: grayscale(0.2) contrast(1.05);
  opacity: 0.92;
}

.book__cover[data-tone="red"] { background: var(--accent); color: var(--bg); }
.book__cover[data-tone="ink"] { background: var(--ink); color: var(--bg); }
.book__cover[data-tone="cream"] { background: var(--paper); }
.book__cover[data-tone="olive"] { background: #6b6a3c; color: var(--bg); }

.book__cover .cover-title {
  position: relative;
  z-index: 3;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.book__cover .cover-title.italic { font-style: italic; }

.book__cover .cover-author {
  position: relative;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.book__cover .cover-mark {
  position: absolute; top: 16px; right: 16px;
  z-index: 3;
  font-family: var(--f-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.12em;
  opacity: 0.6;
}

.book__cover .cover-shape {
  position: absolute; inset: auto -20% -10% -20%;
  z-index: 3;
  height: 40%;
  background: currentColor;
  opacity: 0.15;
  border-radius: 50%;
  transition: transform 0.6s ease;
}
.book:hover .cover-shape { transform: scale(1.4) translateY(-10%); }

.book__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
}
.book__meta h3 {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.book__meta .author {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-top: 2px;
}
.book__price {
  font-family: var(--f-mono);
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}
.book__price s { opacity: 0.4; }

/* hover title kinetic */
.book__meta h3 .char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.5, 0, 0.3, 1);
  transition-delay: calc(var(--i) * 18ms);
}
.book:hover .book__meta h3 .char {
  transform: translateY(-3px);
  color: var(--accent);
}

/* === QUOTE BLOCK (scroll fill) === */
.quote {
  padding: 160px var(--pad);
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
}
.quote__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.quote__attr {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 40px;
}
.quote__text {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.quote__text .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0.18;
  transition: opacity 0.5s ease, color 0.5s ease;
}
.quote__text .word.lit { opacity: 1; }
.quote__text .word.lit.accent { color: var(--accent); font-style: italic; }
.quote__text .pause { display: inline-block; width: 0.5em; }

.quote__sig {
  margin-top: 60px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.15em;
  opacity: 0.6;
}
.quote__sig .line { flex: 1; height: 1px; background: currentColor; margin: 0 24px; opacity: 0.4; }

/* === NOUVEAUTÉS (asymmetric grid) === */
.news {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
}
.news__item {
  position: relative;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
}
.news__item:nth-child(1) { grid-column: 1 / span 5; }
.news__item:nth-child(2) { grid-column: 7 / span 3; margin-top: 80px; }
.news__item:nth-child(3) { grid-column: 10 / span 3; margin-top: 30px; }
.news__item:nth-child(4) { grid-column: 2 / span 3; margin-top: 40px; }
.news__item:nth-child(5) { grid-column: 6 / span 4; margin-top: -40px; }
.news__item:nth-child(6) { grid-column: 11 / span 2; margin-top: 80px; }

.news__cover {
  aspect-ratio: 2/3;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: box-shadow 0.5s ease;
}
.news__cover .cover-typo {
  position: relative;
  z-index: 3;
  font-family: var(--f-display);
  font-size: clamp(18px, 2.6vw, 36px);
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.02em;
}
.news__cover[data-tone="red"] { background: var(--accent); color: var(--bg); }
.news__cover[data-tone="ink"] { background: var(--ink); color: var(--bg); }
.news__cover[data-tone="olive"] { background: #6b6a3c; color: var(--bg); }
.news__cover[data-tone="sky"] { background: #4a6b88; color: var(--bg); }
.news__cover[data-tone="blush"] { background: #d4988f; color: var(--ink); }
.news__cover[data-tone="blush"] .cover-typo,
.news__cover[data-tone="cream"] .cover-typo {
  color: var(--bg);
}

.news__item:hover .news__cover { box-shadow: 0 18px 45px rgba(26, 26, 26, 0.14); }

.news__label {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.news__title {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.news__author {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* === EVENTS === */
.events__list {
  border-top: 1px solid var(--ink);
}
.event {
  display: grid;
  grid-template-columns: 100px 1fr 2fr 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: padding 0.4s ease, color 0.3s ease;
}
.event::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: var(--ink);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  z-index: 0;
}
.event:hover { padding-left: 24px; padding-right: 24px; color: var(--bg); }
.event:hover::before { transform: scaleY(1); transform-origin: top; }

.event > * { position: relative; z-index: 2; }
.event__date {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.event__date sup {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  vertical-align: top;
  margin-left: 6px;
  opacity: 0.6;
}
.event__type {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.event__title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.event__title em { color: var(--accent); }
.event:hover .event__title em { color: inherit; }

.event__guest {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.event:hover .event__type,
.event:hover .event__guest {
  opacity: 0.86;
}
.event__cta {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.event__cta::after { content: " →"; transition: margin 0.3s; }
.event:hover .event__cta::after { margin-left: 6px; }

/* === INFOS PRATIQUES === */
.practical {
  padding-top: 0;
}
.practical__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.practical__card {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.practical__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.practical__card h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.practical__card p,
.practical__card address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.78;
}
.practical__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* === À PROPOS === */
.about__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}
.about__manifesto {
  display: flex; flex-direction: column;
  gap: 28px;
  max-width: 56ch;
}
.about__lede {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.about__lede em {
  color: var(--accent);
  font-style: italic;
}
.about__lede sup {
  font-family: var(--f-mono);
  font-size: 0.3em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  vertical-align: super;
  opacity: 0.6;
}
.about__body {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.86;
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about__facts .fact {
  background: var(--bg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: background 0.4s ease, color 0.4s ease;
}
.about__facts .fact:hover {
  background: var(--ink);
  color: var(--bg);
}
.about__facts .fact:hover .fact__num { color: var(--accent); }
.about__facts .fact:hover .fact__label { opacity: 0.86; }
.fact__num {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: color 0.4s ease;
}
.fact__label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

.about__team {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.about__team-head {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 32px;
}
.team {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team__member {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
  transition: border-color 0.4s ease;
}
.team__member:hover { border-top-color: var(--accent); }
.team__name {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.team__name i {
  color: var(--accent);
  font-style: italic;
}
.team__role {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

/* === NEWSLETTER === */
.newsletter {
  padding: 140px var(--pad);
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  border-top: 1px solid var(--ink);
}
.newsletter__pretitle {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0.8;
}
.newsletter__title {
  font-family: var(--f-display);
  font-size: calc(clamp(48px, 9vw, 150px) * var(--bold-mult, 1));
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.newsletter__title em { font-style: italic; }
.newsletter__form {
  display: inline-flex;
  border-bottom: 1px solid currentColor;
  padding-bottom: 14px;
  min-width: 480px;
  max-width: 100%;
  gap: 16px;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.newsletter__form input::placeholder { color: currentColor; opacity: 0.5; }
.newsletter__form button {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.newsletter__form button::after { content: " ↗"; transition: transform 0.3s; display: inline-block; }
.newsletter__form button:hover::after { transform: translate(2px, -2px); }

/* === FOOTER (giant kinetic logo) === */
.footer {
  padding: 80px var(--pad) 0;
  background: var(--ink);
  color: var(--bg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
}
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  opacity: 0.5;
  font-weight: 400;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__col p { font-family: var(--f-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.footer__col .hours { font-family: var(--f-mono); font-size: 12px; line-height: 1.7; }

.footer__giant {
  font-family: var(--f-display);
  font-size: calc(clamp(100px, 22vw, 360px) * var(--bold-mult, 1));
  line-height: 0.82;
  letter-spacing: -0.03em;
  white-space: nowrap;
  user-select: none;
  text-align: center;
  position: relative;
  margin: 0 calc(-1 * var(--pad));
  padding-bottom: 20px;
  overflow: hidden;
}
.footer__giant span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s;
}
.footer__giant span.italic { font-style: italic; }
.footer__giant span:hover { transform: translateY(-12px); color: var(--accent); }

.footer__base {
  display: flex; justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

/* ===== Responsive shortcuts ===== */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__visit { display: none; }
  .nav__actions { min-width: 0; }
  .nav__toggle { display: grid; }
  .nav__logo,
  .nav__actions {
    position: relative;
    z-index: 2;
  }
  .nav--open {
    background: transparent;
  }
  .nav--open .nav__logo {
    opacity: 0;
    pointer-events: none;
  }
  .nav__panel {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vh, 34px);
    border: 0;
    padding: max(92px, env(safe-area-inset-top)) var(--pad) max(48px, env(safe-area-inset-bottom));
    background: var(--bg);
    color: var(--ink);
    box-shadow: none;
    text-align: center;
  }
  .nav__panel a {
    display: block;
    border-bottom: 0;
    padding: 0;
    font-family: var(--f-display);
    font-size: clamp(52px, 12vw, 112px);
    line-height: 0.9;
    letter-spacing: 0;
  }
  .nav__panel a span {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 24px; }
  .section__head { grid-template-columns: 1fr; }
  .selection__rail { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .news__item { grid-column: auto !important; margin-top: 0 !important; }
  .event { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .event__guest, .event__type { display: none; }
  .practical__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter__form { min-width: 0; width: 100%; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; gap: 0; }
  .team__member { padding: 20px 0; }
}

@media (max-width: 640px) {
  .practical__grid { grid-template-columns: 1fr; }
}
