/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg: #f4f0e8;          /* crème doux */
  --bg-2: #ebe5d6;
  --ink: #1f1c18;
  --soft: #6e6759;
  --mute: #9c948 4;
  --mute: #9c9484;
  --line: #d6cfbf;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--soft);
}

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
}
.loader-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Fraunces', serif;
}
.loader-brand {
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.loader-brand span { font-size: 0.55em; opacity: 0.6; }
.loader-pct {
  font-family: 'Fraunces', serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  margin-top: auto;
}
.loader-pct sup {
  font-size: 0.35em;
  font-style: normal;
  margin-left: 4px;
  vertical-align: top;
  opacity: 0.7;
}
.loader-bar {
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}
.loader-bar i {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--bg);
  width: 0%;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  mix-blend-mode: difference;
  color: #fff;
}
.brand {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand span { font-size: 0.6em; opacity: 0.6; margin-left: 1px; }
.nav nav {
  display: flex;
  gap: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.nav nav a { opacity: 0.85; transition: opacity 0.3s; }
.nav nav a:hover { opacity: 1; }
.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav nav { display: none; }
}

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

/* ============ HERO SPLIT ============ */
.hero-split {
  min-height: 100vh;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}
.hero-split .hero-left {
  padding: 100px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.hero-split .hero-right {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.hero-split .hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  to { transform: scale(1.1); }
}
.hero-img-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-img-caption span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.hero-img-caption strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}
.hero-top { margin-top: 20px; }

.hero-split .hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-align: left;
  margin: 0;
}
.hero-split .hero-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.hero-split .hero-tag {
  text-align: left;
  max-width: 380px;
  font-size: 0.95rem;
  color: var(--soft);
  line-height: 1.6;
}
.hero-split .scroll-cue {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .hero-split .hero-left {
    padding: 100px 24px 40px;
    min-height: auto;
    order: 2;
  }
  .hero-split .hero-right {
    order: 1;
    height: 55vh;
    min-height: 360px;
  }
}

/* ============ HERO (ancien minimal, conservé pour ref) ============ */

/* Kanji en fond */
.hero-kanji {
  position: absolute;
  top: 50%;
  right: -3vw;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: 38vw;
  font-weight: 300;
  line-height: 0.85;
  color: var(--ink);
  opacity: 0.04;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* Méta haut : grille 4 colonnes */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--soft);
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.meta-block { display: flex; flex-direction: column; gap: 4px; }
.meta-block.right { text-align: right; align-items: flex-end; }
.meta-label {
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.meta-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0;
}

/* Index latéral gauche */
.hero-index {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  color: var(--soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  z-index: 2;
}
.hero-index li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  letter-spacing: 0.02em;
}
.hero-index li span {
  font-size: 0.62rem;
  color: var(--mute);
  letter-spacing: 0.15em;
  font-style: normal;
  width: 18px;
}
.hero-index li:first-child {
  color: var(--ink);
  font-style: italic;
}
.hero-index li:first-child span { color: var(--ink); }

/* Carte produit mise en avant — milieu droite */
.hero-feature {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 260px;
  background: var(--bg-2);
  padding: 14px;
  border: 1px solid var(--line);
  z-index: 2;
  transition: transform 0.5s ease;
}
.hero-feature:hover { transform: translateY(calc(-50% - 4px)); }
.feature-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}
.hero-feature figure {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 12px;
}
.hero-feature img { width: 100%; height: 100%; object-fit: cover; }
.feature-info > span {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: 6px;
}
.feature-info h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .hero-index { display: none; }
  .hero-feature { display: none; }
}
@media (max-width: 700px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .meta-block.right { text-align: left; align-items: flex-start; }
  .hero-kanji { font-size: 65vw; }
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: auto 0;
  text-align: center;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--soft); }

/* Hero minimal — centre + bas espacé */
.hero-minimal .hero-foot {
  align-items: center;
  gap: 24px;
}
.hero-minimal .hero-tag {
  text-align: right;
  max-width: 360px;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}
.scroll-arrow {
  font-size: 0.95rem;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.hero-tag {
  max-width: 320px;
  text-align: right;
  font-size: 0.88rem;
  color: var(--soft);
  line-height: 1.55;
}
@media (max-width: 700px) {
  .hero { padding: 80px 20px 24px; }
  .hero-title { font-size: 3.2rem; }
  .hero-title .line:nth-child(2),
  .hero-title .line:nth-child(3) { padding-left: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-tag { text-align: left; }
}

/* ============ FULL BLEED ============ */
.full-bleed {
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.full-bleed img {
  width: 100%;
  height: 70vh;
  min-height: 460px;
  object-fit: cover;
  will-change: transform;
}
.full-bleed figcaption {
  position: absolute;
  bottom: 20px;
  left: 32px;
  right: 32px;
  font-size: 0.72rem;
  color: #f4f0e8;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ============ CHAPTER ============ */
.chapter {
  padding: 100px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.chapter-head {
  display: flex;
  gap: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.chapter-num { font-weight: 500; color: var(--ink); }
.chapter-label::before { content: '·'; padding-right: 14px; color: var(--mute); }

.chapter-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.chapter-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.chapter-text {
  font-size: 0.95rem;
  color: var(--soft);
  line-height: 1.7;
  max-width: 380px;
}
.chapter-text p + p { margin-top: 0.9em; }

@media (max-width: 900px) {
  .chapter { padding: 70px 20px; }
  .chapter-body { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.marquee-alt {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-marquee 38s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.marquee-track span { flex-shrink: 0; }
.marquee-track .dot { color: var(--mute); }
.marquee-track em { font-style: italic; color: var(--soft); }
.marquee-alt .marquee-track em { color: var(--mute); }
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ DUAL ============ */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 60px 32px;
}
.dual figure { overflow: hidden; }
.dual img {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
  will-change: transform;
}
.dual figcaption {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
@media (max-width: 700px) {
  .dual { grid-template-columns: 1fr; padding: 40px 20px; }
  .dual img { height: 55vh; min-height: 340px; }
}

/* ============ FAMILY (catégorie de produits) ============ */
.family {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.family-head {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: -20px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  row-gap: 14px;
}
.family-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--soft);
}
.family-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.family-desc {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--soft);
  line-height: 1.6;
  max-width: 540px;
}
@media (max-width: 700px) {
  .family-head { grid-template-columns: 30px 1fr; gap: 12px; }
  .family-desc { grid-column: 2; }
}

/* ============ COLLECTION (legacy class) ============ */
.collection {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 40px;
}

/* ============ PIECE SPECS ============ */
.piece-specs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.piece-specs li {
  font-size: 0.85rem;
  color: var(--soft);
  padding: 6px 0;
  border-top: 1px solid var(--line);
  position: relative;
  padding-left: 18px;
  max-width: 340px;
}
.piece-specs li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--mute);
  font-family: 'Fraunces', serif;
}
.piece-specs li:last-child { border-bottom: 1px solid var(--line); }
.piece {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.piece.reverse { grid-template-columns: 1fr 1.2fr; }
.piece.reverse figure { order: 2; }
.piece-num {
  position: absolute;
  top: -22px;
  left: 0;
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--soft);
}
.piece.reverse .piece-num { left: auto; right: 0; }
.piece figure { overflow: hidden; }
.piece img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.piece:hover img { transform: scale(1.03); }
.piece-info { padding: 0 12px; }
.piece-info > span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: 10px;
}
.piece-info h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.piece-info p {
  font-size: 0.92rem;
  color: var(--soft);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 340px;
}
.piece-price {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.78rem;
  color: var(--soft);
}
.piece-price strong {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 400;
  font-family: 'Fraunces', serif;
  margin-left: 6px;
}
@media (max-width: 900px) {
  .collection { gap: 60px; }
  .piece, .piece.reverse { grid-template-columns: 1fr; gap: 20px; }
  .piece.reverse figure { order: 0; }
  .piece-info { padding: 0; }
}

/* ============ TECH LIST ============ */
.tech-list {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.tech-row {
  display: grid;
  grid-template-columns: 50px 1fr 2fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.tech-i {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--mute);
}
.tech-row h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.tech-row p {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 480px;
}
@media (max-width: 700px) {
  .tech-row { grid-template-columns: 30px 1fr; gap: 16px; padding: 20px 0; }
  .tech-row p { grid-column: 1 / -1; padding-left: 46px; }
}

/* ============ QUOTE ============ */
.quote {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: center;
  padding: 60px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}
.quote cite {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft);
  font-style: normal;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label {
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color 0.3s;
}
.contact-form label:focus-within { border-color: var(--ink); }
.contact-form label span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  resize: none;
  padding-bottom: 4px;
}
.contact-form button {
  align-self: flex-start;
  margin-top: 12px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  transition: padding-right 0.3s;
}
.contact-form button:hover { padding-right: 14px; }
.form-ok {
  display: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.form-ok.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info > div {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-info span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.contact-info p {
  font-family: 'Fraunces', serif;
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: #d8d0bc;
  padding: 80px 32px 32px;
  margin-top: 80px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2c2924;
  max-width: 1320px;
  margin: 0 auto;
}
.brand-big {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand-big span { font-size: 0.32em; opacity: 0.6; }
.footer-brand p {
  color: var(--mute);
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  padding: 5px 0;
  color: var(--bg);
  transition: padding-left 0.3s;
}
.footer-cols a:hover { padding-left: 6px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--mute);
  max-width: 1320px;
  margin: 0 auto;
}
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--bg); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============ REVEAL (discret) ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--mute); }
