/* --- Bhorus Studio --- */

:root {
  --bg: #0c0b09;
  --bg-alt: #131210;
  --ink: #ece4d2;
  --ink-dim: #a39a85;
  --ink-faint: #6b6453;
  --accent: #c9a961;
  --accent-soft: #d8c089;
  --accent-cracked: #4ea3ff;
  --accent-cracked-dim: #6b8db5;
  --rule: rgba(236, 228, 210, 0.08);
  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* GPU-composited color wash — transitions smoothly without
   forcing a full-viewport canvas repaint each frame. */
.theme-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: transparent;
  transition: background-color 0.7s ease;
  will-change: background-color;
  pointer-events: none;
}

/* Blueprint grid background — global, faint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(236, 228, 210, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 228, 210, 0.025) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: -1;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { color: var(--accent-soft); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus {
  left: 16px; top: 16px;
  background: var(--ink); color: var(--bg);
  padding: 8px 14px; z-index: 100; border-radius: 4px;
}

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(12, 11, 9, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(12, 11, 9, 0.85);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: 24px; letter-spacing: 0.02em;
}
.nav__brand img { height: 64px; width: auto; filter: invert(1); opacity: 0.95; }
@media (max-width: 560px) {
  .nav__brand img { height: 48px; }
  .nav__brand { font-size: 20px; }
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-dim);
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .nav__links { gap: 18px; font-size: 12px; }
  .nav__brand span { display: none; }
  .nav { padding: 14px var(--pad); }
}

/* --- Hero --- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(80px, 14vw, 160px) var(--pad) clamp(80px, 10vw, 140px);
  max-width: var(--max);
  margin: 0 auto;
}
.hero::before {
  content: "";
  position: absolute;
  top: 10%; left: 50%; transform: translateX(-50%);
  width: min(900px, 90%); height: 600px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.10), transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero__mark {
  height: clamp(120px, 16vw, 180px);
  margin: 0 auto 40px;
  display: flex; justify-content: center;
}
.hero__mark img { height: 100%; width: auto; filter: invert(1); opacity: 0.92; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-soft);
}

.hero__lede {
  max-width: 660px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-dim);
  line-height: 1.7;
}

.hero__brands {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink);
}
.hero__brands li { padding: 0 18px; position: relative; }
.hero__brands li + li::before {
  content: "·";
  position: absolute;
  left: -3px;
  color: var(--ink-faint);
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-soft); color: var(--bg); }
.btn--ghost { border-color: rgba(236, 228, 210, 0.25); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

/* --- Sections --- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--rule);
}
.section--alt {
  background: var(--bg-alt);
  max-width: none;
}
.section--alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section__head { margin-bottom: 60px; }
.section__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

/* --- Brand block --- */
.brand {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(50px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

/* Scroll-triggered page theme — wash color + cascade ink/accent vars
   so text contrast flips automatically per section. */
body[data-theme="essentials"] .theme-wash { background-color: #d9cdb4; }
body[data-theme="cracked"]    .theme-wash { background-color: #122a55; }
body[data-theme="onemxre"]    .theme-wash { background-color: #6b1a1a; }
body[data-theme="club"]       .theme-wash { background-color: #a8d4f0; }

/* Light themes — dark ink + warm accents */
body[data-theme="essentials"] {
  --ink: #1a1410;
  --ink-dim: #443a2a;
  --ink-faint: #6a5b44;
  --accent: #6b4f1f;
  --accent-soft: #8a6a30;
  --rule: rgba(26, 20, 16, 0.14);
}
/* Floating panel on Essentials hero keeps its original dark-panel palette */
body[data-theme="essentials"] .collage__meta {
  --ink: #ece4d2;
  --ink-dim: #a39a85;
  --ink-faint: #6b6453;
  --accent: #c9a961;
  --accent-soft: #d8c089;
  --rule: rgba(236, 228, 210, 0.08);
}
body[data-theme="club"] {
  --ink: #0c1f3a;
  --ink-dim: #2a3f5a;
  --ink-faint: #4d6280;
  --accent: #1a4a7a;
  --accent-soft: #2a5a8a;
  --rule: rgba(12, 31, 58, 0.14);
}

/* Dark themes — keep cream ink, tune accent to fit the hue */
body[data-theme="cracked"] {
  --accent: #4ea3ff;
  --accent-soft: #88c0ff;
}
body[data-theme="onemxre"] {
  --accent: #f0b4b4;
  --accent-soft: #f4cccc;
}

/* No per-element color transitions — they trigger paint storms on every
   scrolled frame. The body wash transition alone carries the section change. */
.brand:last-of-type { border-bottom: 1px solid var(--rule); }

/* Flip every other brand: visual left, meta right (01, 03) */
.brand:nth-of-type(odd) .brand__meta { order: 2; }
.brand:nth-of-type(odd) .brand__visual { order: 1; margin-left: 0; margin-right: auto; }

@media (max-width: 780px) {
  .brand { grid-template-columns: 1fr; gap: 32px; }
  .brand:nth-of-type(odd) .brand__meta,
  .brand:nth-of-type(odd) .brand__visual { order: initial; margin-right: auto; margin-left: 0; }
}

.brand__numeral {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 22px;
}

.brand__tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.brand__pitch {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0 0 26px;
  max-width: 540px;
}

.brand__points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  color: var(--ink);
}
.brand__points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-dim);
}
.brand__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 1px;
  background: var(--accent);
}

.brand__status {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.brand__visual {
  position: relative;
  width: 100%;
  margin-left: auto;
}

/* Placeholder tile for brands without finished art */
.brand__visual--placeholder {
  aspect-ratio: 1 / 1;
  max-width: 460px;
  background: linear-gradient(160deg, #1a1814 0%, #0e0d0b 100%);
  border: 1px solid var(--rule);
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand__visual--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(236, 228, 210, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 228, 210, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.brand__visual-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(110px, 16vw, 200px);
  line-height: 1;
  color: var(--ink);
  opacity: 0.85;
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.brand__visual-mark em {
  font-style: italic;
  color: var(--ink);
}
.brand__visual-meta {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Cracked visual override — keep existing photo treatment */
.brand__visual--cracked {
  max-width: 600px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: block;
  aspect-ratio: auto;
  overflow: visible;
}
.brand__icon {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* Cracked scoped accent overrides */
.brand--cracked .brand__tag { color: var(--accent-cracked); }
.brand--cracked .brand__points li::before { background: var(--accent-cracked); }
.brand--cracked .brand__status { color: var(--accent-cracked-dim); }

.brand__link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cracked);
  border-bottom: 1px solid rgba(78, 163, 255, 0.4);
  padding-bottom: 3px;
  margin: 0 0 22px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.brand__link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* --- Lookbook layout (Bhorus Essentials) --- */
.brand--lookbook {
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "visual meta"
    "gallery gallery";
  align-items: start;
  row-gap: clamp(40px, 5vw, 60px);
}
.brand--lookbook .brand__meta {
  grid-area: meta;
  order: initial;
  padding-top: clamp(10px, 2vw, 30px);
}
.brand--lookbook .brand__visual--feature {
  grid-area: visual;
  order: initial;
  margin: 0;
  max-width: none;
}
.brand--lookbook .brand__gallery { grid-area: gallery; }

.brand__visual--feature {
  margin: 0;
  padding: 0;
  position: relative;
}
.brand__visual--feature img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}
.brand__visual--feature figcaption {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.brand__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.brand__tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
}
.brand__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.brand__tile:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .brand__gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand__gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

@media (max-width: 780px) {
  .brand--lookbook {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "meta"
      "gallery";
  }
  .brand--lookbook .brand__meta { padding-top: 0; }
}

/* --- Collage layout (Bhorus Essentials: 3-column asymmetric, no crop) --- */
.brand--collage {
  display: block;
  grid-template-columns: none;
  grid-template-areas: none;
  padding: clamp(50px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.collage {
  display: grid;
  grid-template-columns: 2.4fr 1.07fr 0.8fr;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}

.collage__hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
}
.collage__hero > img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.collage__hero:hover > img { transform: scale(1.02); }

.collage__tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(12, 11, 9, 0.85);
  padding: 6px 11px;
}

.collage__meta {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  width: min(420px, 70%);
  background: rgba(12, 11, 9, 0.92);
  border: 1px solid var(--rule);
  padding: clamp(20px, 2.4vw, 32px);
  color: var(--ink);
}
.collage__meta-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.collage__meta-head .brand__name { margin-bottom: 0; }
.collage__meta-logo {
  height: clamp(64px, 8vw, 104px);
  width: auto;
  flex-shrink: 0;
  filter: invert(1);
  opacity: 0.92;
}
.collage__meta .brand__numeral { margin-bottom: 14px; }
.collage__meta .brand__name {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  line-height: 1.02;
}
.collage__meta .brand__pitch {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--ink-dim);
}
.collage__meta .brand__status { font-size: 11px; }

.collage__col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}
.collage__subrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.collage__tile {
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.collage__tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.collage__tile:hover img { transform: scale(1.02); }

/* Editorial layout (Option E) — used by Bhorus × 1mxre */
.brand--editorial {
  display: block;
  grid-template-columns: none;
  grid-template-areas: none;
  padding: clamp(50px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "hero hero meta"
    "row  row  row"
    "mid1 mid2 big";
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.editorial__meta {
  grid-area: meta;
  padding-top: 6px;
}
.editorial__mid--1 { grid-area: mid1; }
.editorial__mid--2 { grid-area: mid2; }
.editorial__big { grid-area: big; }
.editorial__mid,
.editorial__big {
  display: block;
  position: relative;
  overflow: hidden;
}
.editorial__mid img,
.editorial__big img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.editorial__mid:hover img,
.editorial__big:hover img { transform: scale(1.02); }
.editorial__meta .brand__numeral { margin-top: 22px; margin-bottom: 8px; }
.editorial__meta-head .brand__name { margin-bottom: 0; }
.editorial__meta .collage__meta-logo {
  height: clamp(56px, 7vw, 88px);
}

.editorial__hero {
  grid-area: hero;
  position: relative;
  display: block;
  overflow: hidden;
}
.editorial__hero img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.editorial__hero:hover img { transform: scale(1.02); }

.editorial__row {
  grid-area: row;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.editorial__row .editorial__tile img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}
.editorial__tile {
  display: block;
  position: relative;
  overflow: hidden;
}

@media (max-width: 780px) {
  .editorial__row { grid-template-columns: repeat(2, 1fr); }
}
.editorial__tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.editorial__tile:hover img { transform: scale(1.02); }

.editorial__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(12, 11, 9, 0.85);
  padding: 6px 10px;
}

.editorial__anchor,
.brand__anchor {
  position: absolute;
  top: clamp(20px, 4vw, 60px);
  right: clamp(20px, 4vw, 60px);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(100px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
/* Essentials — anchor lives inside the floating panel, behind the title */
.brand--essentials .collage__meta { overflow: visible; }
.brand--essentials .collage__meta > *:not(.brand__anchor) { position: relative; z-index: 1; }
.brand--essentials .brand__anchor {
  position: absolute;
  top: clamp(-60px, -5vw, -30px);
  left: clamp(-30px, -2vw, -10px);
  right: auto;
  bottom: auto;
  font-size: clamp(80px, 10vw, 160px);
  opacity: 0.18;
  z-index: 0;
}
/* Title sits in left column → numeral lives top-left */
.brand--cracked .brand__anchor,
.brand--club .brand__anchor {
  right: auto;
  left: clamp(20px, 4vw, 60px);
}

@media (max-width: 780px) {
  .editorial { grid-template-areas: "hero" "meta" "row"; grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .collage {
    grid-template-columns: 1fr 1fr;
  }
  .collage__hero { grid-column: 1 / -1; }
  .collage__col--narrow { display: none; }
}
@media (max-width: 560px) {
  .collage { grid-template-columns: 1fr; }
  .collage__col--mid { display: flex; }
  .collage__meta {
    position: static;
    width: auto;
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* --- Prose --- */
.prose {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.55;
  color: var(--ink);
}
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--accent-soft); font-style: italic; }
.prose strong { color: var(--ink); font-weight: 500; }

/* --- Contact --- */
.contact { font-size: 18px; color: var(--ink-dim); }
.contact__email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-style: italic;
  color: var(--accent-soft);
  margin: 14px 0 28px;
  border-bottom: 1px solid rgba(216, 192, 137, 0.3);
  padding-bottom: 4px;
}
.contact__email:hover { color: var(--ink); border-bottom-color: var(--ink); }
.contact__support { font-size: 15px; color: var(--ink-faint); }
.contact__support a { color: var(--ink-dim); border-bottom: 1px solid var(--rule); }
.contact__support a:hover { color: var(--accent-soft); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 40px var(--pad) 50px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 17px;
  color: var(--ink-dim);
}
.footer__brand img { height: 36px; width: auto; filter: invert(1); opacity: 0.7; }
.footer__links {
  display: flex; gap: 24px;
  font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-dim);
}
.footer__legal {
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-faint); margin: 0;
}

/* --- Legal pages --- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--pad);
}
.legal__head {
  margin-bottom: 56px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
.legal__head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.legal__head .meta {
  color: var(--ink-faint);
  font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.legal h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.005em;
  margin: 44px 0 14px;
  color: var(--ink);
}
.legal p, .legal li {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.75;
}
.legal a {
  color: var(--accent-soft);
  border-bottom: 1px solid rgba(216, 192, 137, 0.3);
}
.legal a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 500; }

/* --- Fade-in on load --- */
.hero, .section { opacity: 0; transform: translateY(14px); animation: rise 0.9s ease forwards; }
.hero { animation-delay: 0.1s; }
.section:nth-of-type(2) { animation-delay: 0.2s; }
.section:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

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