/* Brand Human — site styles */
:root {
  --bg: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #1f1f1f;
  --ink: #f4f2ee;
  --ink-2: #b9b6b0;
  --ink-3: #7d7a75;
  --sage: #8fa88a;
  --sage-2: #a9c0a4;
  --line: rgba(244, 242, 238, 0.12);
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--sage); color: #0e0e0e; padding: 8px 14px; border-radius: 8px; z-index: 100; }

/* Type */
h1, h2, h3, .display { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 8vw, 112px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.dot { color: var(--sage); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(14, 14, 14, 0.86); backdrop-filter: blur(12px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; letter-spacing: 0.02em; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sage);
  display: grid; place-items: center; text-align: center;
  font-size: 9px; line-height: 1.05; color: #fff; font-weight: 800;
}
.logo-word { font-size: 17px; }
.nav-links { display: flex; gap: 32px; list-style: none; font-size: 15px; }
.nav-links a { color: var(--ink-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: inline-flex; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--sage); color: #0e0e0e; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--sage-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-3); }
.arrow::after { content: "→"; transition: transform .2s; }
a:hover .arrow::after, .btn:hover.arrow::after { transform: translateX(3px); }

/* Media placeholder (swap for real stills / video) */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-3); aspect-ratio: 16 / 9;
}
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--tone-a, #2c3a2b) 0%, transparent 60%),
    radial-gradient(90% 80% at 90% 90%, var(--tone-b, #3a2a22) 0%, transparent 60%),
    linear-gradient(160deg, #1a1a1a, #0f0f0f);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,242,238,.45);
}
.tone-events { --tone-a: #3b1d24; --tone-b: #5a1e1e; }
.tone-brand { --tone-a: #24331f; --tone-b: #1d2b33; }
.tone-fashion { --tone-a: #3a2c1c; --tone-b: #2b1f33; }
.tone-fitness { --tone-a: #1d2a33; --tone-b: #2f3320; }
.tone-labs { --tone-a: #22222e; --tone-b: #2a332a; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 64px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .ph { border-radius: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.35) 0%, rgba(14,14,14,.2) 40%, var(--bg) 100%); }
.hero h1 { max-width: 12ch; }
.hero-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-top: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reel-btn { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.reel-btn .play {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: rgba(244,242,238,.06); transition: background .2s;
}
.reel-btn:hover .play { background: var(--sage); color: #0e0e0e; }

/* Page hero (inner pages) */
.page-hero { padding: 168px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); margin: 14px 0 20px; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-head h2 { max-width: 16ch; margin-top: 12px; }

/* Logos */
.logos { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-row { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; justify-content: space-between; }
.logos-row span { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--ink-3); letter-spacing: -0.01em; }
.logos-label { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }

/* Work grid */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; }
.card .media { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .media { transform: scale(0.985); }
.card-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.card-meta h3 { font-size: 22px; }
.card-meta .tag { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-top: 4px; }
.card-meta p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.card.feature { grid-column: 1 / -1; }
.card.feature .media { aspect-ratio: 21 / 9; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); transition: all .2s;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #0e0e0e; border-color: var(--ink); }
.card[hidden] { display: none; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 32px; }
.service .num { font-size: 13px; color: var(--sage); font-weight: 600; }
.service h3 { margin: 12px 0 10px; }
.service p { color: var(--ink-2); max-width: 44ch; }
.service ul { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }

/* Quote */
.quote { background: var(--bg-2); }
.quote blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.015em; max-width: 26ch; }
.quote cite { display: block; margin-top: 28px; font-style: normal; color: var(--ink-2); font-size: 15px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .media { aspect-ratio: 4 / 5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.stat span { font-size: 14px; color: var(--ink-2); }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team .media { aspect-ratio: 4 / 5; }
.team h3 { font-size: 20px; margin-top: 16px; }
.team p { color: var(--ink-2); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.step { padding-top: 20px; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 13px; color: var(--sage); font-weight: 600; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Case study */
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.case-facts dd { margin-top: 6px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 16px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery .media { aspect-ratio: 4 / 5; }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }
.credits { columns: 2; column-gap: 48px; list-style: none; }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; break-inside: avoid; }
.credits li span:first-child { color: var(--ink-3); }
.next-project { display: block; padding: 72px 0; border-top: 1px solid var(--line); }
.next-project h2 { transition: color .2s; }
.next-project:hover h2 { color: var(--sage); }

/* CTA band */
.cta-band { text-align: left; }
.cta-band h2 { font-size: clamp(44px, 7vw, 104px); max-width: 14ch; }
.cta-band .hero-actions { margin-top: 36px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; color: var(--ink-2); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); }
textarea { min-height: 160px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-note { font-size: 13px; color: var(--ink-3); grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; color: var(--sage); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; display: grid; gap: 28px; }
.contact-list dt, .contact-list .k { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.contact-list a { border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--sage); }
.map { margin-top: 32px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-cols a { color: var(--ink-2); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 56px; font-size: 13px; color: var(--ink-3); }

/* Reel modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-inner { width: min(1100px, 100%); }
.modal-inner .media { border-radius: 10px; }
.modal-close { position: absolute; top: 16px; right: 20px; font-size: 32px; line-height: 1; width: 48px; height: 48px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 76px 0 0 0; background: var(--bg); padding: 24px var(--gutter);
  }
  .menu-open .nav-links a { display: block; font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .grid, .grid-3, .team { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 32px 0; border-right: 0; }
  .service:nth-child(odd) { border-right: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .credits { columns: 1; }
  .card.feature .media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
}
