@import url('fonts.css');

:root {
  --bg:      #ffffff;
  --ink:     #1c1c1c;   /* body text / near-black          */
  --heading: #111111;
  --muted:   #767676;   /* captions, secondary text        */
  --line:    #e7e7e7;   /* hairlines & rules               */
  --line-2:  #d6d6d6;
  --accent:  #1c1c1c;   /* links / hover                   */
  --page-bg: #f3f1ec;   /* off-white page background        */
  --panel:   #ffffff;   /* white content container          */
  --max:     1060px;    /* content column                  */
  --max-narrow: 760px;  /* prose column                    */
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.page {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--panel);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, .07);
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.narrow { max-width: var(--max-narrow); margin-left: auto; margin-right: auto; }

/* =============================================================
   Header / navigation
   ============================================================= */
.site-header {
  padding: 40px 24px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-block; }
.logo img { width: 300px; max-width: 72vw; height: auto; margin: 0 auto 22px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, opacity .18s ease;
}
.nav a:hover { opacity: .55; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* =============================================================
   Typography helpers
   ============================================================= */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 6px;
}
.section-title {
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 6px;
  text-align: center;
}
.section-sub {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  margin: 0 0 36px;
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* =============================================================
   Home / hero
   ============================================================= */
.hero { text-align: center; padding: 72px 0 56px; }
.hero h1 {
  font-weight: 400;
  font-size: clamp(23px, 4.2vw, 37px);
  line-height: 1.24;
  letter-spacing: 0.004em;
  color: var(--heading);
  margin: 0 auto 30px;
  max-width: 760px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 600; }
.hero .lead {
  color: #2c2c2c;
  font-size: 16.5px;
  line-height: 1.8;
  max-width: 880px;
  margin: 0 auto;
  text-wrap: pretty;
}
.hero .tagline {
  margin: 24px auto 0;
  color: #1a1a1a;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.hero .lead + .lead { margin-top: 1.1em; }

/* photo gallery (home, resume) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery.reel { grid-template-columns: 1fr 1fr; gap: 0; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f2f2;
}

/* =============================================================
   Video page
   ============================================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 34px 30px;
}
.video-grid.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.video-card { margin: 0; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
a.video-lite { display: block; cursor: pointer; text-decoration: none; }
.video-lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-lite::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.28));
  transition: background .2s ease;
}
.video-lite:hover::before { background: rgba(0,0,0,.14); }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(20,20,20,.60);
  border: 2px solid rgba(255,255,255,.92);
  transition: background .18s ease, transform .18s ease;
}
.play-btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-lite:hover .play-btn { background: #c0392b; transform: translate(-50%, -50%) scale(1.07); }
.video-lite:focus-visible { outline: 3px solid #c0392b; outline-offset: 3px; }
.video-card figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.note-card {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 22px 24px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* =============================================================
   Print page
   ============================================================= */
.press { margin: 0 auto; }
.press-outlet { font-size: 12px; letter-spacing: 0.16em; }
.press-item { margin-bottom: 44px; }
.press-item:last-child { margin-bottom: 0; }

/* article = image + text side by side */
.article {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 46px;
}
.article:last-child { margin-bottom: 0; }
.article .shot img { width: 100%; border: 1px solid var(--line); }
.article .body { font-size: 15px; line-height: 1.8; }

/* clipping gallery (screenshots that link out) */
.clips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.clips a { display: block; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.clips a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.clips img { width: 100%; }
.hint { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 26px; }

/* =============================================================
   Resume page
   ============================================================= */
.resume-cols {
  columns: 2;
  column-gap: 56px;
}
@media (max-width: 680px) { .resume-cols { columns: 1; } }
.resume-block {
  break-inside: avoid;
  margin: 0 0 32px;
  display: inline-block;
  width: 100%;
}
.resume-block h3 {
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.resume-block ul { list-style: disc; margin: 0; padding-left: 20px; }
.resume-block li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #232323;
  padding: 5px 2px;
}
.resume-block li::marker { color: #b3b3b3; }
.resume-block li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 14px 30px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-row { text-align: center; margin-top: 40px; }

/* =============================================================
   Contact page + form
   ============================================================= */
.contact-intro { text-align: center; color: #2c2c2c; max-width: 620px; margin: 0 auto 12px; }
.contact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 0 auto 48px; }
.contact-photos img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

form.contact { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 0;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; }
.field-alt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

form.contact .btn-row { margin-top: 8px; }

.form-status { text-align: center; margin-top: 18px; font-size: 14px; min-height: 1.3em; font-weight: 500; }
.form-status.ok  { color: #1f7a3d; }
.form-status.err { color: #b03030; }

/* =============================================================
   404
   ============================================================= */
.error-page { text-align: center; }
.error-page .lead { margin: 0 auto 28px; }
.error-page .btn-row { margin-top: 0; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
}
.site-footer .fnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
  list-style: none; margin: 0 0 16px; padding: 0;
}
.site-footer .fnav a {
  text-decoration: none; color: var(--muted);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.site-footer .fnav a:hover { color: var(--ink); }
.site-footer small { color: var(--muted); font-size: 11px; letter-spacing: .12em; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 720px) {
  .article { grid-template-columns: 1fr; }
  .article .shot { max-width: 420px; }
  .contact-photos { grid-template-columns: 1fr; max-width: 420px; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .nav { gap: 18px 22px; }
}
@media (max-width: 460px) {
  .gallery, .gallery.cols-4 { grid-template-columns: 1fr 1fr; }
}
