/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:        #1a1a1a;
  --ink-soft:   #4a4a4a;
  --rule:       #d8d2c6;
  --paper:      #faf7f2;
  --paper-deep: #f1ebde;
  --accent:     #6b1f2a;        /* deep burgundy */
  --accent-ink: #ffffff;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --rhythm: 1.5rem;
}

/* ─── Reset-ish ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .15s; }
a:hover { opacity: .7; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── Type ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: 2em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 var(--rhythm); max-width: var(--measure); }
.lead { font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Layout shell ───────────────────────────────────────── */
.wrap   { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px;  margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Header / Nav ───────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem; letter-spacing: .01em;
  color: var(--ink);
  border: 0;
}
.brand:hover { opacity: 1; }
.nav { display: flex; gap: 1.75rem; }
.nav a {
  color: var(--ink); border: 0;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem 0; border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--rule);
    padding: .5rem .75rem; font-size: .8rem; letter-spacing: .12em;
    text-transform: uppercase; cursor: pointer; color: var(--ink);
  }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem 0; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--rule);
  }
  .nav a:last-child { border-bottom: 0; }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid; gap: 2.5rem;
  padding: clamp(2rem, 6vw, 5rem) 0;
  align-items: center;
}
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}
.hero-text h1 { margin-bottom: .35em; }
.hero-text .lead { margin-bottom: 1.5rem; }
.hero-meta {
  font-size: .85rem; color: var(--ink-soft); letter-spacing: .04em;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: .9rem 0; margin: 0 0 2rem; max-width: 460px;
}
.hero-meta dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; margin: 0; }
.hero-meta dt { font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; color: var(--ink); }
.hero-meta dd { margin: 0; }
.hero-img {
  position: relative;
  aspect-ratio: 4/5; overflow: hidden;
  background: var(--paper-deep);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(255,255,255,.55); pointer-events: none;
}

/* ─── Buttons ────────────────────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .9rem 1.5rem; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }

/* ─── Section / divider ──────────────────────────────────── */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.divider { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* ─── About ──────────────────────────────────────────────── */
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 820px) {
  .about-grid { grid-template-columns: 1fr 1.4fr; }
}
blockquote.pull {
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.4;
  color: var(--ink); margin: 2rem 0; padding: 0 1.5rem;
  border-left: 3px solid var(--accent);
}

/* ─── Resume ─────────────────────────────────────────────── */
.resume-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.resume-head h1 { margin: 0; }
.resume-section { margin: 2rem 0 3rem; }
.resume-section h2 {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  border-bottom: 1px solid var(--rule); padding-bottom: .6rem;
  margin: 0 0 1.25rem;
}
.resume-row {
  display: grid; gap: .35rem 1rem;
  grid-template-columns: 1fr;
  padding: .85rem 0;
  border-bottom: 1px dotted var(--rule);
}
@media (min-width: 720px) {
  .resume-row { grid-template-columns: 2fr 1.6fr 1.4fr; }
}
.resume-row .role  { font-family: var(--serif); font-size: 1.15rem; }
.resume-row .show  { font-style: italic; color: var(--ink-soft); }
.resume-row .where { font-size: .9rem; color: var(--ink-soft); }
.skills-list {
  columns: 2; column-gap: 2.5rem;
  list-style: none; padding: 0; margin: 0;
}
.skills-list li {
  break-inside: avoid; padding: .35rem 0;
  border-bottom: 1px dotted var(--rule);
}

/* ─── Media gallery ──────────────────────────────────────── */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gallery a { display: block; border: 0; overflow: hidden; background: var(--paper-deep); }
.gallery img { aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); opacity: 1; }

.reel {
  position: relative; aspect-ratio: 16/9;
  background: #000; margin-top: 2rem;
}
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox {
  position: fixed; inset: 0; background: rgba(20,20,20,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 2rem; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ─── Forms / Contact ────────────────────────────────────── */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink); font-weight: 600;
}
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: .75rem .85rem; background: #fff;
  border: 1px solid var(--rule); color: var(--ink);
  border-radius: 0;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107,31,42,.15);
}
.field textarea { min-height: 160px; resize: vertical; }
.honeypot {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}
.form-error {
  background: #fff4f4; border: 1px solid #d6a0a0;
  padding: .9rem 1rem; color: #6b1f2a; font-size: .9rem;
}
.form-success {
  background: #f1ebde; border-left: 3px solid var(--accent);
  padding: 1.5rem; margin-bottom: 2rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  margin-top: 4rem;
  font-size: .85rem; color: var(--ink-soft);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
