/* ════════════════════════════════════════════════════════════════
   Benjamin Gordon — Composer & Producer
   Bold / modern. High-contrast. Asymmetric. Acidic yellow accent.
   ════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --ink:        #0E0E0C;
  --ink-2:      #161614;
  --paper:     #F4F1EA;
  --paper-2:   #ECE8DE;
  --muted:     #6B6A65;
  --muted-2:   #9D9D97;
  --accent:    #E8FF3A;
  --accent-dk: #1A1A0A;
  --rule:       rgba(14,14,12,0.10);
  --rule-dark:  rgba(255,255,255,0.10);

  --font-sans:    "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif:   "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --space-20: 80px; --space-24: 96px; --space-32: 128px;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --radius: 4px;
  --t-fast: 200ms cubic-bezier(.2,.7,.2,1);
  --t-med:  450ms cubic-bezier(.2,.7,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html,body{ margin:0; padding:0; }
html { scroll-behavior: smooth; }
body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul,ol{ list-style: none; padding:0; margin:0; }
em{ font-family: var(--font-serif); font-style: italic; font-weight: 400; }
::selection{ background: var(--accent); color: var(--ink); }

/* ── Reveal animation ─────────────────────────────────────── */
[data-reveal]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-med), transform var(--t-med);
}
[data-reveal].in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  *,*::before,*::after{ animation:none !important; transition:none !important; }
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav{
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad-x);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__brand{
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__brand .logo{
  width: 26px; height: 26px;
  color: var(--ink);
}
.nav__links{ display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav__links a{ font-size: 14px; color: var(--muted); }
.nav__links a:hover{ color: var(--ink); }
.nav__cta{
  background: var(--ink); color: var(--paper) !important;
  padding: 9px 14px; border-radius: var(--radius);
  font-weight: 500;
}
.nav__cta:hover{ background: var(--accent-dk); color: var(--accent) !important; }
@media (max-width: 640px){
  .nav__links a:not(.nav__cta){ display: none; }
}

/* ── Layout helpers ──────────────────────────────────────── */
.section{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) var(--pad-x);
  border-top: 1px solid var(--rule);
}
.section__head{
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 720px){
  .section__head{ grid-template-columns: 1fr; gap: 12px; }
}

.eyebrow{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow--accent{ color: var(--accent); }

.section__title{
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero__grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--pad-x) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
}
.hero__title{
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 16px 0 28px;
  color: var(--ink);
}
.hero__title em{
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}
.hl{
  background: var(--accent);
  padding: 0 0.18em 0.04em;
  margin-left: -0.04em;
  display: inline-block;
  transform: rotate(-1.2deg);
}
.hero__lede{
  max-width: 50ch;
  font-size: clamp(15px, 1.4vw, 17px);
  color: #2A2A26;
  line-height: 1.55;
  margin: 0 0 28px;
}
.hero__ctas{ display: flex; flex-wrap: wrap; gap: 12px; }

.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{ background: var(--ink); color: var(--paper); }
.btn--primary:hover{ background: var(--accent-dk); color: var(--accent); }
.btn--ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }
.btn--big{
  background: var(--accent);
  color: var(--ink);
  padding: 22px 32px;
  font-size: 17px;
  border-radius: 6px;
  margin-top: 14px;
}
.btn--big svg{ width: 14px; height: 16px; }
.btn--big:hover{ background: #F7FF7C; }

/* Portrait */
.hero__portrait{
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}
.hero__portrait img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero__portrait::after{
  /* Yellow accent corner */
  content: "";
  position: absolute;
  left: -8px; bottom: -8px;
  width: 38%; height: 28%;
  background: var(--accent);
  z-index: -1;
}
.hero__portrait{ isolation: isolate; }
.hero:hover .hero__portrait img{ transform: scale(1.04); }

/* ── Marquee ──────────────────────────────────────────── */
.marquee{
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track{
  display: inline-flex; gap: 28px;
  align-items: center;
  white-space: nowrap;
  font-size: 18px; font-weight: 400;
  letter-spacing: -0.005em;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee__track span{ flex: 0 0 auto; }
.marquee__track span + span{ color: var(--muted-2); }
.marquee__star{
  color: var(--accent) !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ── Credits ──────────────────────────────────────────── */
.credits{
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.credit{
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background var(--t-fast);
}
.credit:hover{ background: var(--paper-2); }
.credit__mark{
  width: 12px; height: 12px;
  background: var(--accent);
  transform: translateY(6px);
}
.credit__body h3{
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1.15;
}
.credit__body p{
  margin: 0;
  color: #3A3935;
  max-width: 70ch;
  font-size: 15px;
}
.credit__meta{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.credit--featured .credit__body h3::after{
  content: "Award";
  display: inline-block;
  vertical-align: middle;
  background: var(--accent);
  color: var(--ink);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 8px;
  margin-left: 12px;
  border-radius: 3px;
  transform: translateY(-4px);
}
@media (max-width: 720px){
  .credit{ grid-template-columns: 16px 1fr; }
  .credit__meta{ grid-column: 2; text-align: left; white-space: normal; padding-top: 6px; }
}

/* ── Studios ──────────────────────────────────────────── */
.section--studios{ border-top: 1px solid var(--rule); }
.studios{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.studios--four{
  /* 2x2 grid on desktop */
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
}
.studios--four .studio{ min-height: 420px; }
@media (max-width: 800px){
  .studios, .studios--four{ grid-template-columns: 1fr; }
}
.studio{
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  min-height: 480px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast);
}
.studio:hover{ transform: translateY(-4px); }
.studio--dark{ background: var(--ink); color: var(--paper); }
.studio--accent{ background: var(--accent); color: var(--ink); }
.studio--paper{
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.studio--paper .studio__tag{ color: var(--ink); opacity: 0.5; }
.studio--paper .studio__kind{ color: var(--ink); opacity: 0.7; }
.studio--paper .studio__tags li{ color: var(--ink); border-color: var(--ink); opacity: 0.8; }

.studio__tag{
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.studio--dark .studio__tag{ color: var(--accent); }
.studio--accent .studio__tag{ color: var(--accent-dk); }

.studio__name{
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 12px;
}
.studios--four .studio__name{ font-size: clamp(28px, 3.4vw, 40px); }
.studio__kind{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  margin: 0 0 18px;
}
.studio--dark .studio__kind{ color: var(--accent); }
.studio--accent .studio__kind{ color: var(--accent-dk); }

.studio__body{
  font-size: 15px;
  max-width: 40ch;
  margin: 0 0 auto;
  opacity: 0.92;
}
.studio__tags{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 32px;
}
.studio__tags li{
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.studio--dark .studio__tags li{ color: var(--paper); opacity: 0.85; }
.studio--accent .studio__tags li{ color: var(--accent-dk); }

.studio__url{
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.studio--dark .studio__url{ color: var(--accent); }

/* ── About ───────────────────────────────────────────── */
.section--about .section__head{
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section--about .section__title{ max-width: 18ch; }
.about{
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 800px){
  .about{ grid-template-columns: 1fr; }
}
.about__portrait{
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-2);
}
.about__portrait img{
  width:100%; height:100%; object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.about__lede{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 36ch;
}
.about__copy p{
  max-width: 60ch;
  color: #2A2A26;
}
.cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
}
@media (max-width: 600px){ .cols{ grid-template-columns: 1fr; } }
.cols h4{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.list li{
  display: flex; gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  align-items: flex-start;
}
.list li::before{
  content: "";
  flex: 0 0 8px;
  width: 8px; height: 8px;
  background: var(--accent);
  margin-top: 8px;
}

/* ── Contact ─────────────────────────────────────────── */
.contact{
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  border-top: 1px solid var(--ink);
}
.contact > *{ max-width: var(--container); margin-left: auto; margin-right: auto; }
.contact__title{
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 18px 0 24px;
}
.hl-accent{ color: var(--accent); font-style: italic; font-family: var(--font-serif); font-weight: 400; }
.contact__lede{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--paper);
  margin: 0 0 16px;
  max-width: 60ch;
}
.contact__grid{
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: 32px;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 80px);
}
@media (max-width: 700px){ .contact__grid{ grid-template-columns: 1fr; } }
.micro{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.contact__email{
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 8px;
  transition: color var(--t-fast);
}
.contact__email:hover{ color: var(--accent); }
.contact__phone{
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted-2);
}
.links li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 8px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-dark);
}
.links li:last-child{ border-bottom: none; }
.links span{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.links a{
  font-size: 15px;
  color: var(--paper);
  transition: color var(--t-fast);
}
.links a:hover{ color: var(--accent); }

.contact__quote{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--accent);
  margin: clamp(40px, 6vw, 72px) 0 0;
}

/* ── Footer ──────────────────────────────────────────── */
.footer{
  background: var(--ink);
  color: var(--muted);
  padding: 32px var(--pad-x);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--rule-dark);
}
