/* ─────────────────────────────────────────
   Lainey Woo — styles modelled on laineywoo.com
   (Squarespace "Marquee"-style template).
   Source font is futura-pt (Adobe Typekit);
   Jost is the free Futura-alike used here.
───────────────────────────────────────── */
:root {
  --header-bg: #0f0f0f;
  --footer-bg: #1a1a1a;
  --text: #363636;
  --heading: #16161d;
  --title: #121212;
  --button: #272727;
  --link: #ff0000;
  --white: #ffffff;
  --font: 'Jost', 'Futura', 'Futura PT', 'Century Gothic', sans-serif;
  --header-h: 30px;
  --site-pad: 33px;     /* outer page gutter */
  --gutter: 17px;       /* inner block gutter */
  --max-width: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { font-weight: 700; }

h1 {
  font-size: clamp(56px, 11.7vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  color: var(--title);
}
h2 {
  font-size: clamp(32px, 4.7vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  color: var(--heading);
  margin-bottom: 0.83em;
}
h3 {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--heading);
  margin: 15px 0 12px;
}
p { margin: 22px 0; }
p:first-child { margin-top: 0; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.site-logo {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;           /* matches source: black wordmark on near-black bar */
  line-height: 1;
}
.site-nav {
  list-style: none;
  display: flex;
  gap: 0;
}
.site-nav a {
  display: block;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  line-height: var(--header-h);
  color: var(--white);
  transition: opacity 0.15s ease;
}
/* "spotlight" hover: dim the other links */
.site-nav:hover a { opacity: 0.4; }
.site-nav:hover a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────
   HOME — full-screen parallax index pages
───────────────────────────────────────── */
.index-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px 50px;
  overflow: hidden;
  color: var(--white);
  background: #000;
}
.index-page--first { min-height: calc(100vh - var(--header-h)); }

.index-page__bg {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  bottom: -60px;        /* covers the header offset while the image drifts */
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.index-page__content { position: relative; z-index: 1; }
.index-page h1 { color: var(--white); }
.index-page--center h1 { text-align: center; }
.index-page h1 a {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s ease;
}
.index-page h1 a:hover { border-bottom-color: rgba(255,255,255,1); }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1;
  width: 48px; height: 23px;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}
.scroll-indicator svg { width: 48px; height: 23px; display: block; }

/* ─────────────────────────────────────────
   PAGE CONTENT
───────────────────────────────────────── */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px var(--site-pad);
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col { padding: 0 var(--gutter); }
.col-6 { width: 50%; }
.col-12 { width: 100%; }
.col-narrow {
  width: 66.666%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons (outline, square) */
.button {
  display: inline-block;
  padding: 21px 34px;
  border: 2px solid var(--button);
  background: transparent;
  color: var(--button);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--button); color: var(--white); }

/* ─────────────────────────────────────────
   RESUME
───────────────────────────────────────── */
.intro-row { align-items: center; margin-bottom: 0; }
.intro-row .col { padding-top: 17px; padding-bottom: 17px; }
.intro-image { width: 100%; height: auto; }
.intro-text h1 { margin-bottom: 80px; }
.intro-text a[href^="mailto"] {
  color: var(--link);
  border-bottom: 1px solid rgba(255,0,0,0.3);
}
.intro-text .button { margin-top: 34px; }

.resume-body { margin-top: 34px; padding-top: 17px; }
.resume-body h2 { margin-top: 0; }
.resume-body h2:not(:first-child) { margin-top: 40px; }
.resume-body h3 { font-weight: 700; }
.resume-body h3 + p { margin-top: 22px; }
.resume-body h3:not(:first-of-type) { margin-top: 44px; }

/* ─────────────────────────────────────────
   MEDIA
───────────────────────────────────────── */
.media-row { margin: 0 calc(var(--gutter) * -1); }
.media-item { padding: 17px var(--gutter); }
.video {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.video--placeholder span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.media-caption { margin-top: 12px; }

/* ─────────────────────────────────────────
   GALLERY
───────────────────────────────────────── */
.slideshow {
  position: relative;
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  left: 29px; bottom: 29px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--white);
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.slideshow-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 20px 10px;
  opacity: 0.8;
}
.slideshow-control:hover { opacity: 1; }
.slideshow-control svg { width: 11px; height: 22px; display: block; }
.slideshow-control--prev { left: 10px; }
.slideshow-control--next { right: 10px; }

.gallery-heading { margin: 0 0 0; }
.gallery-heading + .gallery-grid { margin-top: 0; }
.gallery-section + .gallery-section { margin-top: 34px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 17px var(--gutter);
}
.gallery-item {
  aspect-ratio: 1 / 1;
  padding: 5px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#lightbox img.show { opacity: 1; }
#lightbox .caption {
  color: var(--white);
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: normal;
  text-align: center;
}
#lightbox button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  opacity: 0.8;
}
#lightbox button:hover { opacity: 1; }
#lightbox .close { top: 16px; right: 24px; transform: none; font-size: 2.5rem; }
#lightbox .prev { left: 24px; }
#lightbox .next { right: 24px; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-row { align-items: flex-start; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .field-title {
  display: block;
  margin-bottom: 4px;
}
.contact-form .required {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 4px;
}
.contact-form .name-fields {
  display: flex;
  gap: 9px;
}
.contact-form .name-fields label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.contact-form .name-fields label > span { margin-bottom: 3px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  background: #fafafa;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 300;
  color: #000;
  -webkit-appearance: none;
}
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form .button {
  font-size: 22px;
  letter-spacing: 0.15em;
  padding: 22px 55px;
  margin-top: 6px;
}
.form-status { font-size: 16px; margin-top: 16px; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  text-align: center;
  padding: 70px 50px 50px;
}
.footer-links { margin: 0; }
.footer-links a {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  margin: 0 0.45em;
  transition: border-color 0.2s ease;
}
.footer-links a:hover { border-bottom-color: var(--white); }
.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0;
}
.footer-social a {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 24px;
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 767px) {
  body { font-size: 18px; }
  .site-header { padding: 0 20px; height: 50px; }
  .site-logo { color: var(--white); }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 50px; left: 0; right: 0;
    flex-direction: column;
    background: var(--header-bg);
    padding: 12px 0;
    text-align: center;
  }
  .site-nav.open { display: flex; }
  .site-nav a { line-height: 44px; font-size: 18px; }
  .site-nav:hover a { opacity: 1; }
  .index-page--first { min-height: calc(100vh - 50px); }
  .slideshow { height: calc(100vh - 50px); }
  .index-page { padding: 120px 24px; }

  .page { padding: 50px 16px; }
  .col-6, .col-narrow { width: 100%; }
  .intro-text h1 { margin-bottom: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form .button,
  .button { font-size: 14px; padding: 16px 28px; }
  .site-footer { padding: 50px 20px 40px; }
}

/* fieldset reset for the contact form's Name group */
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.contact-form legend { padding: 0; }
