/* eugeneromanchuk.com — white, simple, elegant.
   Display: Cormorant Garamond. Body: Figtree. One accent: muted sage from the hero backdrop. */

:root {
  --bg: #FFFFFF;
  --ink: #171717;
  --ink-soft: #4A4A48;
  --muted: #7A7A76;
  --hairline: #E8E6E1;
  --accent: #6F7F6C;
  --accent-ink: #4E5C4B;
  --wash: #F7F6F3;
  --max: 1120px;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; max-width: var(--measure); }

.label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: "Cormorant Garamond", Garamond, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px; align-items: center;
}
.hero-photo img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .label { color: var(--accent-ink); }
.hero-copy .tagline {
  font-family: "Cormorant Garamond", Garamond, serif;
  font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--ink-soft);
  max-width: 34ch;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 26px; border: 1px solid var(--ink); transition: background .15s, color .15s;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* Sections */
.section { padding: 72px 0; border-top: 1px solid var(--hairline); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hairline); }
.section-head a:hover { color: var(--ink); border-color: var(--ink); }

/* Reel */
.reel-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0E0E0E; overflow: hidden;
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #C9C7C2; padding: 24px;
}
.reel-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.reel-placeholder div { position: relative; }
.reel-placeholder .serif { font-size: 1.8rem; color: #fff; }
.reel-placeholder small { display: block; margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Credit list (home) */
.credits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.credits li {
  display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--hairline); align-items: baseline;
}
.credits .title { font-family: "Cormorant Garamond", Garamond, serif; font-size: 1.35rem; font-weight: 600; }
.credits .role { color: var(--ink-soft); }
.credits .prod { color: var(--muted); font-size: 0.95rem; }

/* Resume page */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head p { margin-top: 14px; color: var(--ink-soft); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; font-size: 0.95rem; color: var(--ink-soft); }
.stats b { font-weight: 600; color: var(--ink); }
.resume-section { padding: 36px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.resume-section .label { padding-top: 6px; }
.resume-rows { list-style: none; margin: 0; padding: 0; }
.resume-rows li { display: grid; grid-template-columns: 1.3fr 1fr 1.7fr; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.resume-rows li:last-child { border-bottom: 0; }
.resume-rows .title { font-weight: 600; }
.resume-rows .role { color: var(--ink-soft); }
.resume-rows .prod { color: var(--muted); font-size: 0.95rem; }
.resume-rows.two li { grid-template-columns: 1.3fr 2.7fr; }
.skills { display: grid; gap: 10px; }
.skills div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.skills b { font-weight: 600; }
.skills span { color: var(--ink-soft); }
.resume-actions { padding: 40px 0 72px; border-top: 1px solid var(--hairline); display: flex; gap: 14px; flex-wrap: wrap; }

/* Headshots page */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 72px; }
.look img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.look figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.look .name { font-family: "Cormorant Garamond", Garamond, serif; font-size: 1.3rem; font-weight: 600; }
.look a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.look a:hover { color: var(--ink); border-color: var(--ink); }
.wide-look { padding-bottom: 72px; }
.wide-look img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* About (section on Home) */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.about .prose { display: flex; flex-direction: column; gap: 18px; font-size: 1.06rem; line-height: 1.7; }
.facts { border-top: 1px solid var(--hairline); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 0.95rem; }
.facts b { font-weight: 600; }
.facts span { color: var(--ink-soft); }

/* Contact */
.contact { padding: 0 0 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.contact .email {
  font-family: "Cormorant Garamond", Garamond, serif; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500;
  border-bottom: 1px solid var(--ink); display: inline-block; padding-bottom: 2px; word-break: break-all;
}
.contact .email:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.profiles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.profiles li { border-bottom: 1px solid var(--hairline); }
.profiles a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; }
.profiles a:hover .arrow { transform: translateX(4px); }
.profiles .name { font-weight: 500; }
.profiles .arrow { color: var(--muted); transition: transform .15s; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 36px 0 44px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a:hover { color: var(--ink); }

/* Mobile */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-direction: column; gap: 10px; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .nav a { font-size: 0.78rem; letter-spacing: 0.1em; }
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .section { padding: 52px 0; }
  .credits li { grid-template-columns: 1fr; gap: 2px; }
  .resume-section { grid-template-columns: 1fr; gap: 14px; }
  .resume-rows li, .resume-rows.two li { grid-template-columns: 1fr; gap: 2px; }
  .skills div { grid-template-columns: 1fr; gap: 2px; }
  .looks { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .looks { grid-template-columns: repeat(2, 1fr); }
}
