/* unshkn — site styles. Brand values from brand-decisions.md (Phases 3–4). */
:root {
  --bedrock: #0E0E0D;
  --stone: #EDEAE3;
  --ash: #6B6862;           /* Stone backgrounds only */
  --line-dark: rgba(237, 234, 227, 0.3);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stone);
  color: var(--bedrock);
  font: 400 17px/1.55 var(--text);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
}

.label {
  font: 400 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5em;
}

/* ---------- header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  color: var(--stone);
  mix-blend-mode: difference;   /* reads over both the dark hero and the light page */
}
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark {
  font: 500 28px/1 var(--display);
  letter-spacing: -0.055em;
}
.rule { width: 1px; height: 26px; background: currentColor; }
.descriptor {
  font: 400 9.5px/1.25 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a {
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--bedrock);
  color: var(--stone);
  overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,13,0.75) 0%, rgba(14,14,13,0) 65%);
  display: none;
}
.hero.has-video .hero-scrim { display: block; }
.hero-inner {
  position: relative;
  padding: 0 var(--pad) clamp(48px, 9vh, 96px);
  max-width: 1100px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 0.3em;
}
.hero-intro {
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  margin: 0 0 2em;
}
.btn {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid currentColor;
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--stone); color: var(--bedrock); }

/* ---------- sections ---------- */
.section {
  padding: clamp(80px, 14vh, 160px) var(--pad);
  border-top: 1px solid var(--bedrock);
}
.section:first-of-type { border-top: 0; }
.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.9em;
}
.section-head .label { color: var(--ash); }

/* work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.film-frame {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--bedrock);
}
.film-frame iframe, .film-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.film h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; margin: 16px 0 4px; }
.film p { margin: 0; color: var(--ash); font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* services */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px clamp(24px, 4vw, 56px);
  counter-reset: svc;
}
.services li { counter-increment: svc; border-top: 1px solid var(--bedrock); padding-top: 20px; }
.services li::before {
  content: "0" counter(svc);
  display: block;
  font: 400 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--ash);
  margin-bottom: 28px;
}
.services h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.services p { margin: 0; max-width: 32em; }
.note { margin: 56px 0 0; color: var(--ash); max-width: 40em; }

/* contact */
.contact {
  background: var(--bedrock); color: var(--stone);
  padding: clamp(96px, 16vh, 180px) var(--pad);
}
.contact h2 {
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95; letter-spacing: -0.055em;
  max-width: 12em; margin-bottom: 0.6em;
}
.contact-email {
  display: inline-block;
  font: 500 clamp(22px, 3vw, 36px)/1.2 var(--display);
  letter-spacing: -0.03em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px;
  word-break: break-word;
}
.contact-meta {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}

/* footer */
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px var(--pad);
  background: var(--bedrock); color: var(--stone);
  border-top: 1px solid var(--line-dark);
  font: 400 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 560px) {
  .descriptor, .rule { display: none; }
  .wordmark { font-size: 24px; }
}
