/* stevenschopp.com — "D4": black nav + black hero band, white ledger. */
:root {
  --ink: #111111;
  --ink-2: #333333;
  --muted: #555555;
  --rule: #D4D4D4;
  --paper: #FFFFFF;
  --accent: #C2410C;         /* on white */
  --accent-dark: #FF7A45;    /* on black */
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.accent { color: var(--accent); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.site-header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand-place { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #BDBDBD; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-dark); }
.site-nav .nav-cta { padding: 0 18px; background: var(--accent); color: #fff; }
.site-nav .nav-cta:hover { background: #A3360A; color: #fff; }

/* Hero band */
.hero { background: var(--ink); color: #fff; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-top: 64px; padding-bottom: 64px; }
.hero-photo { flex: 1 1 300px; max-width: 420px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; }
.hero-text { flex: 3 1 560px; display: flex; flex-direction: column; justify-content: flex-end; }
.eyebrow { margin: 0 0 20px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
.hero h1 { font-size: clamp(52px, 7.5vw, 112px); letter-spacing: -0.045em; }
.hero .accent { color: var(--accent-dark); }
.hero-lede { margin: 28px 0 0; max-width: 760px; font-size: 20px; line-height: 1.6; color: #D4D4D4; }

/* About band */
.about { display: flex; flex-direction: column; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.roles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.roles li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 2px solid var(--ink); }
.roles strong { font-size: 17px; }
.roles span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.about-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.skills { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { padding: 6px 10px; border: 1px solid var(--ink); font-size: 13px; font-weight: 500; }
.about-links { margin: 0; font-family: var(--mono); font-size: 15px; }

/* Sections */
.section { padding: 32px 0 72px; border-top: 2px solid var(--ink); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; }
.section-head h2, .section-head h1 { font-size: 40px; letter-spacing: -0.03em; }
.section-head .mono a { margin-left: 4px; }

/* Companies ledger */
.ledger { margin: 0; padding: 0; list-style: none; }
.ledger a { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.ledger a:hover .ledger-name strong { color: var(--accent); }
.ledger-num { flex: 0 0 40px; font-family: var(--mono); font-size: 15px; color: #6B6B6B; }
.ledger-name { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.ledger-name strong { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.ledger-name .mono { font-size: 13px; }
.ledger-line { flex: 2 1 240px; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.ledger-shot { flex: 0 0 280px; width: 280px; height: 175px; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.ledger-tile { display: flex; align-items: flex-end; padding: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; border: 0; }
.ledger-tile .accent { color: var(--accent-dark); }

/* Career */
.career { margin: 0; padding: 0; list-style: none; }
.career li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.career .mono { flex: 0 0 120px; }
.career strong { flex: 1 1 200px; font-size: 18px; }
.career li > span:last-child { flex: 2 1 260px; color: var(--ink-2); }
.career-note { margin: 20px 0 0; max-width: 820px; color: var(--ink-2); font-size: 17px; }

/* The Cutting Room artists */
.studio-intro { margin: 8px 0 28px; max-width: 820px; color: var(--ink-2); }
.credits { margin: 0; padding: 0; list-style: none; max-width: 1100px; }
.credits li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.credits .mono { flex: 0 0 60px; }
.credits strong { flex: 1 1 180px; font-size: 18px; }
.credits strong a { text-decoration: none; }
.credits li > span:nth-of-type(2) { flex: 2 1 240px; color: var(--ink-2); }
.credits li > span:nth-of-type(3) { flex: 2 1 260px; color: var(--ink-2); }
.credits-more { margin: 14px 0 48px; }
.artists-head { margin: 0 0 20px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.artists { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px 16px; }
.artists li { display: flex; flex-direction: column; gap: 6px; }
.artists img, .artist-tile { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 4px; }
.artist-tile { display: flex; align-items: flex-end; padding: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.05; }
.artist-tile .accent { color: var(--accent-dark); }
.artists strong { font-size: 17px; line-height: 1.25; }
.artists strong a { text-decoration: none; }
.credit { font-family: var(--mono); font-size: 11px; line-height: 1.4; color: var(--muted); }
.credit a { color: var(--muted); }

/* Featured work + galleries */
.featured { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.featured a { display: block; }
.featured img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.featured img.is-shot { object-position: top; border: 1px solid var(--rule); }
.gallery-intro { margin: 0 0 28px; color: var(--ink-2); }
.gallery { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; }
.gallery li { display: flex; flex-direction: column; gap: 8px; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-work img { object-position: top; border: 1px solid var(--rule); }
.gallery-photo { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-photo img { aspect-ratio: 4 / 5; }
.gallery-caption { font-size: 15px; font-weight: 600; line-height: 1.35; }

/* Contact */
.contact h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; margin: 8px 0 28px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea { min-height: 48px; border: 2px solid var(--ink); border-radius: 0; padding: 10px 14px; font: inherit; font-size: 17px; background: var(--paper); color: var(--ink); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field-error { margin: 0; color: #B91C1C; font-size: 15px; }
.btn { justify-self: start; min-height: 52px; padding: 0 28px; background: var(--accent); color: #fff; border: 0; border-radius: 0; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.btn:hover { background: #A3360A; }
.form-alert, .form-confirmation { margin: 0 0 20px; padding: 14px 16px; border: 2px solid var(--ink); font-weight: 600; }
.form-alert { border-color: #B91C1C; color: #B91C1C; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 40px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: auto; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: 15px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
/* Design pieces are tall full-page screenshots: let them scroll inside the lightbox at full width. */
.lightbox.is-tall img { max-height: none; max-width: min(1100px, 100%); }
.lightbox.is-tall figure { justify-content: flex-start; height: 100%; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-photo { max-width: none; aspect-ratio: 1 / 1; }
  .ledger-shot { flex: 1 1 100%; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .ledger-name strong { font-size: 28px; }
  .section-head h2, .section-head h1 { font-size: 32px; }
  .site-nav { gap: 0 18px; font-size: 13px; }
  .lightbox { padding: 56px 12px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .artist-tile { font-size: 18px; padding: 12px; }
}
