/* ============================================
   TOKENS
   ============================================ */
:root {
  --white:     #FFFFFF;
  --black:     #0B0B0C;
  --ink:       #1D1D1F;
  --ink-dark:  #F5F5F7;
  --muted:     #6E6E73;
  --muted-dark:#A1A1A6;
  --line:      #E5E5E7;
  --line-dark: #2C2C2E;
  --accent:    #C9A24B;   /* muted brushed gold, used sparingly */
  --accent-soft: rgba(201, 162, 75, 0.16);

  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --pad: clamp(24px, 6vw, 96px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 16px;
}

.eyebrow--dark { color: var(--muted-dark); }

/* ============================================
   NAV — sticky Apple-style pill bar
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad);
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
  color: var(--ink-dark);
}

.nav.is-scrolled {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  padding: 12px var(--pad);
}

.nav__brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  justify-self: start;
}

.nav__status {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 247, 0.65);
  padding: 7px 16px;
  border: 1px solid rgba(245, 245, 247, 0.14);
  border-radius: 100px;
  white-space: nowrap;
}

.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.nav__divider { opacity: 0.4; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(201, 162, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0); }
}

@media (max-width: 760px) {
  .nav__status span:last-child { display: none; }
  .nav__divider { display: none; }
}

.nav__links {
  display: flex;
  gap: 32px;
  justify-self: end;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 245, 247, 0.78);
  transition: color 0.2s ease;
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink-dark);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

@media (max-width: 640px) {
  .nav__links { gap: 18px; }
  .nav__brand { font-size: 14px; }
  .nav__links a { font-size: 13px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.hero__glow--1 {
  width: 640px;
  height: 640px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(201,162,75,0.35), transparent 70%);
}

.hero__glow--2 {
  width: 720px;
  height: 720px;
  bottom: -260px;
  left: -180px;
  background: radial-gradient(circle, rgba(90,100,130,0.28), transparent 70%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  color: var(--ink-dark);
  max-width: 980px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.6);
  margin: 0 0 28px 0;
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 32px 0;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dark);
  padding: 12px 22px;
  border: 1px solid rgba(245, 245, 247, 0.3);
  border-radius: 100px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero__scroll:hover {
  background: rgba(245, 245, 247, 0.12);
  border-color: rgba(245, 245, 247, 0.6);
}

.hero__scroll span { transition: transform 0.25s ease; }
.hero__scroll:hover span { transform: translateY(3px); }

/* ============================================
   WORK
   ============================================ */
.work {
  background: var(--white);
  padding: 140px var(--pad) 120px;
}

.work__intro {
  max-width: 640px;
  margin: 0 0 72px 0;
}

.work__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0;
}

.reel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .reel { grid-template-columns: 1fr; }
}

.reel__item {
  position: relative;
}

.reel__num {
  position: absolute;
  top: -12px;
  left: 20px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px -4px rgba(201, 162, 75, 0.55);
}

.reel__video {
  aspect-ratio: 9 / 14;
  background: #111113;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.reel__item:hover .reel__video {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -20px rgba(0,0,0,0.45);
}

.reel__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--black);
  color: var(--ink-dark);
  padding: 160px var(--pad) 120px;
}

.about__text {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
  max-width: 900px;
  margin: 0 0 72px 0;
}

.about__facts {
  list-style: none;
  margin: 0;
  padding: 32px 0 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 760px) {
  .about__facts { grid-template-columns: 1fr 1fr; }
}

.about__facts li {
  font-size: 14.5px;
  color: var(--ink-dark);
  font-weight: 500;
}

.about__facts span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--white);
  padding: 140px var(--pad) 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 40px 0;
}

.contact__cta {
  display: inline-block;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  padding: 17px 36px;
  border-radius: 100px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact__cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.contact__links {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  font-size: 14px;
}

.contact__links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.contact__links a:hover { color: var(--ink); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 28px var(--pad);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FOCUS STATES
   ============================================ */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}