/* ==========================================================================
   Fomix.site — Dark Editorial Minimalism
   ========================================================================== */

:root {
  --ink: #0D0E10;
  --charcoal: #151619;
  --graphite: #1C1D20;
  --light-surface: #242529;
  --warm-white: #F2F0EA;
  --soft-gray: #A7A7A2;
  --muted: #72736F;
  --gold: #C8A875;
  --sage: #8E9A91;
  --terracotta: #A65D4F;

  --grad-editorial: linear-gradient(135deg, #0D0E10 0%, #1C1D20 100%);
  --grad-warm: linear-gradient(135deg, #151619 0%, #342B24 100%);
  --grad-muted: linear-gradient(135deg, #1C1D20 0%, #3A403D 100%);
  --grad-gold: linear-gradient(135deg, #8C7551 0%, #C8A875 100%);

  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --nav-h: 4.25rem;
  --space-page: clamp(1.25rem, 4vw, 5rem);
  --max: 1280px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--warm-white);
  background: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-page);
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 0.75rem;
}

.label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn--primary {
  background: var(--grad-gold);
  color: var(--ink);
  border-color: transparent;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(242, 240, 234, 0.22);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-page) clamp(2.5rem, 5vw, 4rem);
}

.section-head__title {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}

/* ==========================================================================
   1. Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 16, 0.94);
  border-bottom: 1px solid rgba(242, 240, 234, 0.08);
  backdrop-filter: blur(10px);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0 var(--space-page);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  justify-self: start;
}

.nav__brand-main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav__center {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--soft-gray);
}

.nav__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav__menu-btn {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav__menu-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

.nav__menu-btn:hover::after,
.nav__checkbox:focus-visible + .nav__menu-btn::after {
  width: 100%;
}

.nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(242, 240, 234, 0.08);
  padding: 1.25rem var(--space-page) 1.75rem;
  flex-direction: column;
  gap: 1rem;
}

.nav__panel a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-gray);
  width: fit-content;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--dur) var(--ease);
}

.nav__panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

.nav__panel a:hover,
.nav__panel a:focus-visible {
  color: var(--warm-white);
}

.nav__panel a:hover::after,
.nav__panel a:focus-visible::after {
  width: 100%;
}

.nav__checkbox:checked ~ .nav__panel {
  display: flex;
}

@media (min-width: 900px) {
  .nav__menu-btn {
    display: none;
  }

  .nav__panel {
    display: flex;
    position: static;
    flex-direction: row;
    justify-self: end;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

/* ==========================================================================
   2. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  background: var(--grad-editorial);
  padding: clamp(2.5rem, 6vw, 5rem) var(--space-page) clamp(4rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: stretch;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 38rem;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.hero__label {
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--warm-white);
}

.hero__title span {
  display: block;
}

.hero__support {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--soft-gray);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__micro {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  max-width: 18rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: clamp(280px, 48vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__giant {
  position: absolute;
  right: -4%;
  top: 8%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(242, 240, 234, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__cover {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  background: var(--grad-warm);
  border: 1px solid rgba(242, 240, 234, 0.08);
  overflow: hidden;
  z-index: 1;
  animation: cover-drift 18s ease-in-out infinite alternate;
}

.hero__field {
  position: absolute;
  inset: 12% 14% 28% 18%;
  background: var(--charcoal);
  border: 1px solid rgba(242, 240, 234, 0.06);
}

.hero__circle {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  top: 18%;
  right: 14%;
  opacity: 0.85;
  animation: orbit-soft 14s ease-in-out infinite alternate;
}

.hero__block {
  position: absolute;
  width: 28%;
  aspect-ratio: 3 / 4;
  background: var(--terracotta);
  opacity: 0.72;
  left: 22%;
  bottom: 18%;
}

.hero__line {
  position: absolute;
  width: 48%;
  height: 1px;
  background: var(--sage);
  left: 30%;
  top: 58%;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 240, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 234, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}

.hero__point {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--warm-white);
  border-radius: 50%;
  top: 34%;
  left: 48%;
  box-shadow: 0 0 0 8px rgba(242, 240, 234, 0.03);
}

.hero__scroll {
  position: absolute;
  right: var(--space-page);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: var(--gold);
}

.reveal {
  animation: text-rise 1.1s var(--ease) both;
}

.hero__label { animation-delay: 0.08s; }
.hero__title { animation-delay: 0.18s; }
.hero__support { animation-delay: 0.32s; }
.hero__actions { animation-delay: 0.42s; }

@keyframes text-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cover-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes orbit-soft {
  from { transform: translate(0, 0); }
  to { transform: translate(-6px, 8px); }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
  }

  .hero__copy {
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .hero__micro {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-content: flex-end;
    min-height: 560px;
  }
}

/* ==========================================================================
   3. Statement
   ========================================================================== */

.statement {
  position: relative;
  background: var(--charcoal);
  padding: clamp(5rem, 12vw, 9rem) var(--space-page);
  overflow: hidden;
}

.statement__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(242, 240, 234, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.statement__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-left: clamp(0px, 8vw, 6rem);
}

.statement__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.statement__rule {
  width: 72px;
  height: 1px;
  margin: 2rem 0;
  background: var(--gold);
  transform-origin: left center;
  animation: rule-expand 1.4s var(--ease) both;
}

.statement__text {
  max-width: 32rem;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: var(--soft-gray);
}

@keyframes rule-expand {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ==========================================================================
   4. Editorial Index
   ========================================================================== */

.index {
  background: var(--ink);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid rgba(242, 240, 234, 0.06);
}

.index__list {
  border-top: 1px solid rgba(242, 240, 234, 0.12);
}

.index__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2rem) var(--space-page);
  border-bottom: 1px solid rgba(242, 240, 234, 0.12);
  position: relative;
  transition: background var(--dur) var(--ease),
    padding-left var(--dur) var(--ease);
}

.index__row::before {
  content: "";
  position: absolute;
  left: var(--space-page);
  top: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.7s var(--ease);
}

.index__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--warm-white);
  transition: color var(--dur) var(--ease);
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 2.5rem;
}

.index__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease);
}

.index__desc {
  grid-column: 2;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.index__year,
.index__arrow {
  display: none;
}

.index__arrow {
  transition: transform var(--dur) var(--ease);
  color: var(--gold);
}

.index__row:hover,
.index__row:focus-visible {
  background: var(--graphite);
}

.index__row:hover::before,
.index__row:focus-visible::before {
  width: min(180px, 40%);
}

.index__row:hover .index__num,
.index__row:focus-visible .index__num {
  color: var(--gold);
}

.index__row:hover .index__title,
.index__row:focus-visible .index__title {
  color: var(--warm-white);
}

.index__row:hover .index__desc,
.index__row:focus-visible .index__desc {
  color: var(--soft-gray);
}

.index__row:hover .index__arrow,
.index__row:focus-visible .index__arrow {
  transform: translateX(6px);
}

@media (min-width: 800px) {
  .index__row {
    grid-template-columns: 4.5rem minmax(8rem, 1fr) minmax(12rem, 2fr) 4rem 2rem;
    align-items: center;
    gap: 1.5rem;
  }

  .index__num {
    grid-row: auto;
  }

  .index__desc {
    grid-column: auto;
  }

  .index__year,
  .index__arrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    justify-self: end;
  }

  .index__arrow {
    justify-self: end;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   5. Featured Work
   ========================================================================== */

.work {
  background: var(--charcoal);
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.work__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-page);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.feature {
  display: grid;
  gap: 1.5rem;
}

.feature__media {
  background: var(--graphite);
  border: 1px solid rgba(242, 240, 234, 0.06);
  overflow: hidden;
}

.feature__geom {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1.2s var(--ease);
}

.feature:hover .feature__geom {
  transform: scale(1.03);
}

.feature__geom--wide {
  min-height: 220px;
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(circle at 78% 35%, rgba(200, 168, 117, 0.18) 0%, transparent 28%),
    linear-gradient(135deg, #151619 0%, #342B24 55%, #1C1D20 100%);
}

.feature__geom--wide::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 28%;
  width: 38%;
  height: 1px;
  background: var(--sage);
}

.feature__geom--wide::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: 22%;
  width: 18%;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 168, 117, 0.7);
  border-radius: 50%;
}

.feature__geom--vertical {
  aspect-ratio: 3 / 4;
  background: var(--grad-muted);
}

.feature__geom--vertical::before {
  content: "";
  position: absolute;
  inset: 18% 28% 18% 28%;
  border: 1px solid rgba(242, 240, 234, 0.12);
}

.feature__geom--vertical::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  top: 50%;
  height: 1px;
  background: var(--terracotta);
}

.feature__geom--square {
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, transparent 48%, rgba(142, 154, 145, 0.35) 48%, rgba(142, 154, 145, 0.35) 49%, transparent 49%),
    linear-gradient(90deg, transparent 48%, rgba(166, 93, 79, 0.45) 48%, rgba(166, 93, 79, 0.45) 50%, transparent 50%),
    var(--grad-editorial);
}

.feature__geom--square::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--warm-white);
  top: 22%;
  left: 22%;
  opacity: 0.85;
}

.feature__title {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.feature__desc {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: var(--soft-gray);
  font-size: 0.98rem;
  line-height: 1.75;
}

.feature__foot {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 34rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-top: 1px solid rgba(242, 240, 234, 0.08);
  padding-top: 1rem;
}

.feature__arrow {
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}

.feature:hover .feature__arrow {
  transform: translateX(6px);
}

@media (min-width: 900px) {
  .work__grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 3rem 2.5rem;
  }

  .feature--wide {
    grid-column: 1 / -1;
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 2.5rem;
  }

  .feature--vertical {
    align-content: start;
  }

  .feature--square {
    align-self: end;
  }
}

/* ==========================================================================
   6. Perspective
   ========================================================================== */

.perspective {
  background: var(--ink);
  padding: clamp(6rem, 16vw, 12rem) var(--space-page);
  border-top: 1px solid rgba(242, 240, 234, 0.05);
}

.perspective__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.perspective__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.perspective__title span {
  display: block;
}

.perspective__title span:last-child {
  margin-top: 0.15em;
  margin-left: clamp(0rem, 8vw, 5rem);
}

.perspective__rule {
  width: 56px;
  height: 1px;
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--terracotta);
}

.perspective__text {
  max-width: 28rem;
  margin-left: clamp(0rem, 10vw, 6rem);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.85;
  color: var(--soft-gray);
}

/* ==========================================================================
   7. Archive
   ========================================================================== */

.archive {
  background: var(--graphite);
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.archive__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-page);
  border-top: 1px solid rgba(242, 240, 234, 0.1);
}

.archive__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(242, 240, 234, 0.1);
  transition: transform var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.archive__indicator {
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}

.archive__code {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  letter-spacing: 0.12em;
  color: var(--warm-white);
}

.archive__desc {
  display: none;
  font-size: 0.9rem;
  color: var(--soft-gray);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.archive__arrow {
  opacity: 0;
  color: var(--gold);
  transform: translateX(-6px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.archive__row:hover,
.archive__row:focus-visible {
  transform: translateX(8px);
}

.archive__row:hover .archive__indicator,
.archive__row:focus-visible .archive__indicator {
  width: 28px;
}

.archive__row:hover .archive__desc,
.archive__row:focus-visible .archive__desc,
.archive__row:hover .archive__arrow,
.archive__row:focus-visible .archive__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 800px) {
  .archive__row {
    grid-template-columns: 36px minmax(14rem, 1.1fr) 1.2fr auto;
  }

  .archive__desc {
    display: block;
  }
}

/* ==========================================================================
   8. Numbers
   ========================================================================== */

.numbers {
  background: var(--gold);
  color: var(--ink);
  padding: clamp(4.5rem, 9vw, 7rem) var(--space-page);
}

.numbers__title {
  max-width: var(--max);
  margin: 0 auto 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.numbers__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.numbers__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.numbers__label {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 14, 16, 0.7);
}

@media (min-width: 900px) {
  .numbers__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   9. Closing
   ========================================================================== */

.closing {
  position: relative;
  background: var(--ink);
  padding: clamp(6rem, 14vw, 10rem) var(--space-page);
  overflow: hidden;
}

.closing__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closing__circle {
  position: absolute;
  width: min(55vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 168, 117, 0.45);
  border-radius: 50%;
  left: -8%;
  top: 18%;
  animation: orbit-soft 16s ease-in-out infinite alternate;
}

.closing__accent {
  position: absolute;
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  right: 18%;
  bottom: 28%;
}

.closing__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  max-width: 40rem;
  margin: 0 auto 0 clamp(0px, 6vw, 4rem);
}

.closing__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.closing__title span {
  display: block;
}

.closing__text {
  margin: 1.75rem 0 2.25rem;
  max-width: 24rem;
  color: var(--soft-gray);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer {
  background: var(--charcoal);
  padding: clamp(4rem, 8vw, 6rem) var(--space-page) 2rem;
  border-top: 1px solid rgba(242, 240, 234, 0.06);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.35em;
  letter-spacing: 0.16em;
  color: var(--muted);
  vertical-align: super;
}

.footer__tagline {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--soft-gray);
  font-style: italic;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: grid;
  gap: 0.65rem;
}

.footer__col a {
  font-size: 0.92rem;
  color: var(--soft-gray);
  transition: color var(--dur) var(--ease);
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--gold);
}

.footer__rule {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 1.5rem;
  height: 1px;
  background: rgba(200, 168, 117, 0.45);
}

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-bottom: 0.5rem;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

/* ==========================================================================
   Responsive refinements
   ========================================================================== */

@media (max-width: 640px) {
  .nav__center {
    display: none;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-bottom: 5rem;
  }

  .hero__scroll {
    left: var(--space-page);
    right: auto;
  }

  .hero__cover {
    width: 100%;
    max-width: 340px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .closing__content .btn {
    width: 100%;
  }

  .archive__row:hover,
  .archive__row:focus-visible {
    transform: translateX(4px);
  }
}

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