:root {
  --bg: #090909;
  --panel: #101010;
  --ink: #f0ede7;
  --muted: #aaa69e;
  --line: rgba(240,237,231,.16);
  --soft: #171717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.35;
  overflow-x: hidden;
}
body::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 34px;
  mix-blend-mode: difference;
}
.wordmark { font-size: 15px; letter-spacing: .36em; font-weight: 500; }
.nav { display: flex; gap: 30px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.nav a { opacity: .76; transition: opacity .2s ease; }
.nav a:hover { opacity: 1; }
.section-pad { padding: 120px 34px; }

.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center;
  padding-top: 110px;
}
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.hero h1, .collection-feature h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; letter-spacing: -.045em; line-height: .96;
}
.hero h1 { font-size: clamp(58px, 7vw, 118px); margin: 0 0 38px; }
.lede { max-width: 540px; color: #c4c0b9; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; }
.text-link { display: inline-flex; gap: 14px; margin-top: 30px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.hero-art { position: relative; min-width: 0; }
.hero-art img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; filter: contrast(1.03); }
.hero-caption { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }

.statement { display: grid; grid-template-columns: 1fr 3fr; border-top: 1px solid var(--line); }
.statement-index, .section-heading { color: var(--muted); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; }
.statement-copy { max-width: 1000px; }
.statement-copy p { font-family: Georgia, serif; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 48px; }
.statement-copy p:last-child { color: #9c9891; }
.section-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 50px; }

.collection-feature { border-bottom: 1px solid var(--line); padding-bottom: 90px; }
.collection-meta { display: grid; grid-template-columns: 2fr 1fr; gap: 8vw; margin-bottom: 60px; }
.collection-feature h2 { font-size: clamp(52px, 6vw, 96px); margin: 0; }
.collection-sidecopy { padding-top: 28px; color: #b7b3ac; }
.collection-sidecopy p { font-size: 17px; line-height: 1.6; margin-bottom: 40px; }
.status-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 0; font-size: 12px; }
.status-row span { color: var(--muted); }
.status-row strong { font-weight: 500; }
.art-placeholder {
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 68% 34%, rgba(255,255,255,.06), transparent 24%),
    linear-gradient(125deg, #111 0%, #181818 48%, #0d0d0d 100%);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.04); overflow: hidden;
}
.art-placeholder::before { content:""; position:absolute; }
.placeholder-inner { text-align: center; }
.placeholder-inner span { font-family: Georgia, serif; font-size: clamp(60px, 10vw, 160px); letter-spacing: -.04em; }
.placeholder-inner small { display:block; margin-top: 8px; color: var(--muted); letter-spacing: .24em; font-size: 9px; }

.archive-list { border-top: 1px solid var(--line); }
.archive-row {
  display: grid; grid-template-columns: 90px 1.2fr 110px 1fr; align-items: center;
  min-height: 116px; border-bottom: 1px solid var(--line); gap: 20px;
  transition: background .2s ease, padding .2s ease;
}
.archive-row:hover { background: #111; padding-left: 12px; padding-right: 12px; }
.archive-row .roman, .archive-row .year, .archive-row .state { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.archive-row .title { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 58px); }
.archive-row.active .state { color: var(--ink); }
.archive-row.future { opacity: .5; }

.convergence { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; background: #efebe4; color: #111; }
.convergence-label { font-size: 10px; letter-spacing: .2em; }
.convergence p { max-width: 1050px; margin: 0; font-family: Georgia, serif; font-size: clamp(31px, 4vw, 64px); line-height: 1.08; letter-spacing: -.025em; }

.footer { padding-top: 85px; padding-bottom: 35px; }
.footer-logo { font-size: clamp(55px, 11vw, 180px); letter-spacing: .2em; white-space: nowrap; line-height: 1; padding-bottom: 60px; }
.footer-meta { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 26px; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 900px) {
  .site-header { padding: 20px 18px; }
  .nav { gap: 16px; }
  .section-pad { padding: 88px 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; }
  .hero-copy { padding-bottom: 28px; }
  .statement, .convergence { grid-template-columns: 1fr; }
  .statement-index { margin-bottom: 34px; }
  .collection-meta { grid-template-columns: 1fr; }
  .archive-row { grid-template-columns: 46px 1fr 70px; min-height: 94px; }
  .archive-row .state { display: none; }
  .footer-logo { white-space: normal; letter-spacing: .12em; }
}

@media (max-width: 560px) {
  .wordmark { letter-spacing: .24em; }
  .nav a:nth-child(2) { display: none; }
  .hero h1 { font-size: 16vw; }
  .statement-copy p { font-size: 10vw; }
  .section-heading span:last-child { display: none; }
  .archive-row { grid-template-columns: 34px 1fr 50px; }
  .archive-row .title { font-size: 9vw; }
  .footer-meta { flex-wrap: wrap; justify-content: flex-start; }
}

/* ARVANE stone hero — full-screen gallery treatment */
.hero.hero-stone {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 7vw 105px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.68) 35%, rgba(0,0,0,.18) 66%, rgba(0,0,0,.06) 100%),
    linear-gradient(0deg, rgba(0,0,0,.42), transparent 38%),
    url('/assets/arvane-mark.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero.hero-stone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 38% 45%, transparent 0 18%, rgba(0,0,0,.08) 48%, rgba(0,0,0,.34) 100%);
  pointer-events: none;
}
.hero-stone .hero-copy { width: min(760px, 55vw); position: relative; z-index: 2; }
.hero-stone .eyebrow { color: rgba(240,237,231,.67); margin-bottom: 30px; letter-spacing: .34em; }
.hero-stone h1 {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(62px, 6.4vw, 112px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0 0 34px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-stone h1 span { color: rgba(240,237,231,.58); }
.hero-subline {
  margin: 0 0 48px;
  color: rgba(240,237,231,.47);
  font-size: 10px;
  letter-spacing: .34em;
  line-height: 1.7;
}
.archive-button {
  display: inline-flex;
  min-width: 286px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(240,237,231,.44);
  padding: 20px 24px;
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.archive-button:hover { background: var(--ink); color: #080808; border-color: var(--ink); }
.hero-bottom {
  position: absolute;
  left: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 9px;
  letter-spacing: .30em;
  color: rgba(240,237,231,.72);
}
.hero-bottom i { display: block; width: 78px; height: 1px; background: rgba(240,237,231,.55); }
.hero-phrase {
  position: absolute;
  right: 34px;
  bottom: 32px;
  font-size: 9px;
  letter-spacing: .34em;
  color: rgba(240,237,231,.36);
}

@media (max-width: 900px) {
  .hero.hero-stone {
    min-height: 100svh;
    padding: 130px 24px 100px;
    background-position: 62% center;
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.52) 75%, rgba(0,0,0,.26)),
      linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%),
      url('/assets/arvane-mark.png');
  }
  .hero-stone .hero-copy { width: min(680px, 92vw); }
  .hero-stone h1 { font-size: clamp(54px, 12vw, 92px); }
  .hero-phrase { display: none; }
  .hero-bottom { left: 24px; }
}

@media (max-width: 560px) {
  .hero.hero-stone { background-position: 66% center; padding-left: 20px; padding-right: 20px; }
  .hero-stone h1 { font-size: 14vw; }
  .hero-subline { max-width: 85vw; letter-spacing: .22em; }
  .archive-button { min-width: 245px; }
  .hero-bottom { left: 20px; gap: 12px; }
  .hero-bottom i { width: 38px; }
}

/* FINAL HERO — the approved 16:9 mock-up is used as the artwork itself.
   This prevents any distortion of the stone or ARVANE mark. */
.hero-final {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #050505;
}
.hero-final-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-hotspot { position: absolute; z-index: 4; display: block; }
.hero-home { left: 2.5%; top: 1.5%; width: 14%; height: 8%; }
.hero-ghost { right: 26.5%; top: 1.5%; width: 7%; height: 8%; }
.hero-archive { right: 17.5%; top: 1.5%; width: 9%; height: 8%; }
.hero-about { right: 9%; top: 1.5%; width: 8%; height: 8%; }
.hero-enter { left: 6.8%; top: 67.5%; width: 18%; height: 8%; }

/* Keep the approved composition intact on desktop. No image stretching. */
@media (min-aspect-ratio: 16/9) {
  .hero-final-art { object-fit: cover; }
}
@media (max-width: 700px) {
  .hero-final { height: 100svh; min-height: 560px; }
  .hero-final-art { object-position: center center; }
}

/* REAL SITE HEADER — visible over the hero, matching the approved mock-up. */
.real-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  padding: 0 3.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4,4,4,.54);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.real-header-logo { display: flex; align-items: center; width: 205px; }
.real-header-logo img { display:block; width:100%; height:auto; }
.real-header-nav { display:flex; align-items:center; gap:42px; font-size:11px; letter-spacing:.28em; color:rgba(245,243,238,.9); }
.real-header-nav a { transition: opacity .2s ease; }
.real-header-nav a:hover { opacity:.58; }
.header-divider { width:1px; height:34px; margin-left:10px; background:rgba(255,255,255,.55); }
.menu-lines { width:30px; height:22px; margin-left:8px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.menu-lines i { display:block; height:1px; width:30px; background:rgba(255,255,255,.82); }

/* The approved hero artwork sits beneath the real HTML header. */
.hero-final { padding-top: 0; }

/* Use the actual ARVANE custom wordmark in the footer, never fallback text. */
.footer-logo { padding-bottom:60px; line-height:1; }
.footer-logo img { display:block; width:min(860px, 58vw); height:auto; }

@media (max-width: 900px) {
  .real-header { height:72px; padding:0 20px; }
  .real-header-logo { width:155px; }
  .real-header-nav { gap:18px; font-size:9px; }
  .header-divider, .menu-lines { display:none; }
}
@media (max-width: 560px) {
  .real-header-nav a:nth-child(2) { display:none; }
  .real-header-logo { width:135px; }
  .footer-logo img { width:min(420px, 88vw); }
}
