/* ============================================
   Ari Schlanger — portfolio site
   Design tokens: white ground, thin black frames,
   neon used as a single loud accent, Helvetica-driven
   type hierarchy (MoMA-adjacent identity system).
   ============================================ */

:root {
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #555555;
  --frame: #0A0A0A;
  --neon: #FF2E9A;       /* single accent, used sparingly and deliberately */
  --neon-dim: #FFE1F0;

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- header / nav ---------- */

header.site-header {
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
}

nav.site-nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

nav.site-nav::-webkit-scrollbar { display: none; }

nav.site-nav a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  border-color: var(--neon);
}

/* ---------- hero (home page name treatment) ---------- */

.hero {
  padding: 72px 0 56px;
  border-bottom: 2px solid var(--ink);
}

.hero .first-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(90px, 18vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero .last-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 4px 0 24px;
  color: var(--ink-soft);
}

.hero .role-line {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.hero .role-line span.accent {
  color: var(--neon);
}

.hero p.lede {
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- page hero (interior pages) ---------- */

.page-hero {
  padding: 48px 0 36px;
  border-bottom: 2px solid var(--ink);
}

.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- quick links grid (home page) ---------- */

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--frame);
  border-left: 1px solid var(--frame);
}

.link-grid a {
  border-right: 1px solid var(--frame);
  border-bottom: 1px solid var(--frame);
  padding: 28px 22px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.link-grid a:hover {
  background: var(--neon-dim);
}

.link-grid .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.link-grid .label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* ---------- script-style list (screenwriting / sketch comedy) ---------- */

.script-list {
  display: flex;
  flex-direction: column;
}

.script-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--frame);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
}

.script-item:first-child { padding-top: 0; }

.script-item .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--neon);
  text-transform: uppercase;
}

.script-item h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 8px;
}

.script-item p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  max-width: 62ch;
}

.script-item a.read-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--neon);
}

@media (max-width: 620px) {
  .script-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- visual grid (illustration / graphic design / social) ---------- */

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid var(--frame);
  border-left: 1px solid var(--frame);
  margin-bottom: 48px;
}

.visual-card {
  border-right: 1px solid var(--frame);
  border-bottom: 1px solid var(--frame);
}

.visual-card .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F2F2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--frame);
}

.visual-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card .placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  padding: 16px;
}

.visual-card .caption {
  padding: 14px 16px;
}

.visual-card .caption h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 4px;
}

.visual-card .caption p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- about / contact prose pages ---------- */

.prose {
  max-width: 640px;
  padding: 48px 0 64px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.prose p { margin: 0 0 20px; }

.contact-list {
  border-top: 1px solid var(--frame);
  margin-top: 16px;
}

.contact-list a,
.contact-list .row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--frame);
  font-weight: 700;
}

.contact-list .row span.label {
  color: var(--ink-soft);
  font-weight: 400;
}

.contact-list a:hover span.value {
  color: var(--neon);
}

/* ---------- section label ---------- */

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 48px 0 0;
  padding-bottom: 10px;
}

.section-label:first-of-type { margin-top: 0; }

/* ---------- footer ---------- */

footer.site-footer {
  border-top: 2px solid var(--ink);
  margin-top: 64px;
  padding: 28px 0 40px;
}

footer.site-footer .footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer.site-footer a:hover {
  color: var(--neon);
}

/* ---------- focus / motion ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
