/* 01 — TOKENS AND TYPE */
@font-face {
  font-family: Clash;
  src: url('../shared/clash-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url('../shared/dm-sans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #08080A;
  --card: #16161A;
  --text: #EAE6E1;
  --heading: #F5F2EE;
  --muted: #A6A0AB;
  --accent: #C9B8E8;
  --accent-light: #E3D9F5;
  --accent-rgb: 201 184 232;
  --border: rgb(255 255 255 / .12);
  --display: Clash, Arial, sans-serif;
  --body: DM, Arial, sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.7 var(--body);
}
h1, h2, h3 {
  color: var(--heading);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(40px, 7vw, 80px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: 24px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.specimen { max-width: 780px; margin: 64px auto; padding: 24px; }
.sample-card { background: var(--card); padding: 24px; border-radius: var(--radius); }
::selection { background: var(--accent); color: var(--bg); }

/* 02 — THE SHELL */
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
html { scroll-padding-top: 120px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 88px; }
.stack > * + * { margin-top: 24px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #17101E;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.pill.ghost { background: transparent; color: var(--text); border-color: var(--border); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }
footer { padding-block: 32px; border-top: 1px solid var(--border); color: var(--muted); }

/* 03 — FIXED NAVIGATION AND ITS STATES */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-nav.scrolled {
  background: rgb(8 8 10 / .88);
  backdrop-filter: blur(24px);
  border-color: var(--border);
}
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding-block: 16px; }
.brand { font-family: var(--display); font-size: 20px; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; }
.nav-links a { position: relative; text-decoration: none; font-size: 14px; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transition: right .25s var(--ease);
}
.nav-links a:is(:hover, :focus-visible)::after { right: 0; }
.page-start { padding-top: 150px; }
.menu-toggle { display: none; }
.menu-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 32px;
  background: var(--bg);
  color: var(--text);
}
.menu-panel[open] { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px; }
.menu-panel nav { display: grid; gap: 28px; text-align: center; font-size: 32px; }
@media (max-width: 760px) {
  .enhanced .nav-links { display: none; }
  .enhanced .menu-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav, .nav-links a::after { transition: none; }
}

/* 04 — HERO: CONTENT OVER ATMOSPHERE */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 140px 72px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 6.5vw, 88px); letter-spacing: -.025em; }
.hero h1 span {
  display: block;
  color: var(--accent);
}
@supports (background-clip: text) {
  .hero h1 span {
    background: linear-gradient(105deg, var(--accent), var(--accent-light));
    background-clip: text;
    color: transparent;
  }
}
.hero-copy p:not(.eyebrow) { max-width: 38ch; color: var(--muted); }
.portrait { position: relative; z-index: 1; width: min(100%, 380px); justify-self: center; }
.portrait img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(#000 85%, transparent);
}
.portrait figcaption { font-size: 12px; color: var(--muted); text-align: center; }
.hero-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  top: 0;
  right: -220px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .28), transparent 65%);
  filter: blur(50px);
}
.hero-grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .035; background: url('../shared/grain.svg'); }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

/* 05 — ONE CARD, MANY DESTINATIONS */
.section-head { max-width: 680px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card {
  display: block;
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: translate .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card p { margin-top: 16px; color: var(--muted); }
.card .arrow { display: inline-block; margin-top: 24px; color: var(--accent); transition: translate .25s; }
.card:focus-visible { border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -4px; border-color: rgb(var(--accent-rgb) / .6); box-shadow: 0 12px 32px rgb(var(--accent-rgb) / .08); }
  .card:hover .arrow { translate: 3px -3px; }
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { margin: 0; font: 600 clamp(28px, 5vw, 48px)/1.2 var(--display); }
@media (prefers-reduced-motion: reduce) {
  .card, .card .arrow { transition: none; }
  .card:hover, .card:hover .arrow { translate: none; }
}

/* 06 — CROP, FRAME, AND SCRIM */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--card); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .85), transparent 60%); pointer-events: none; }
.tile figcaption { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: var(--heading); }
.image-break { position: relative; height: clamp(420px, 60vh, 620px); overflow: hidden; background: var(--card); }
.image-break > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 17%; }
.image-break::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 8 10 / .94), rgb(8 8 10 / .2) 80%); }
.break-copy { position: absolute; z-index: 1; inset: auto 0 48px; }
.break-copy h2 { max-width: 18ch; }
.break-copy p { max-width: 42ch; margin-top: 20px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

