/* Makenna Reese — original styles. Soft blush, sage, and cream. */
:root {
  --blush: #f6d9d0;
  --blush-deep: #e8c4b4;
  --peach: #f8ece6;
  --sage: #7e8f78;
  --sage-dark: #4e5c4a;
  --sage-soft: #e6eee3;
  --cream: #fffbf8;
  --paper: #ffffff;
  --ink: #2c2a28;
  --muted: #5c5854;
  --line: #e8d9d2;
  --shadow: 0 16px 40px rgba(44, 42, 40, 0.08);
  --serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --radius: 0.35rem;
  --max: 70rem;
  --gutter: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sage-dark);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

.wordmark:hover {
  color: var(--sage-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 0.1rem;
  background: currentColor;
  box-shadow: 0 -0.32rem 0 currentColor, 0 0.32rem 0 currentColor;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--sage-dark);
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    gap: 1.75rem;
  }

  .site-nav a {
    padding: 0.2rem 0;
  }
}

/* Layout */
.section {
  padding: 4rem var(--gutter);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.band-blush { background: var(--peach); }
.band-sage { background: var(--sage-soft); }
.band-cream { background: var(--cream); }
.band-paper { background: var(--paper); }

/* Hero */
.hero {
  padding: 1.5rem var(--gutter) 3rem;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: var(--blush);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 12vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.type-line {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.location-line {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--sage-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid {
  background: var(--sage-dark);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
}

.btn-ghost:hover {
  background: var(--sage-soft);
  color: var(--ink);
}


@media (min-width: 900px) {
  .hero {
    padding: 2.5rem var(--gutter) 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(4.5rem, 8vw, 7rem);
  }
}

/* Headshot strip */
.headshots {
  padding: 2.5rem var(--gutter) 3.25rem;
  border-top: 1px solid var(--line);
}

.headshots-header {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.headshots-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.shot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.headshot-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .headshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.shot-open {
  display: block;
  background: var(--blush);
  overflow: hidden;
}

.shot-open img,
.media-grid .shot-open img {
  width: 100%;
  object-fit: cover;
}

.headshot-grid .shot-open img {
  aspect-ratio: 4 / 5;
  object-position: top center;
}

.media-grid .shot-open img {
  aspect-ratio: 4 / 5;
  object-position: center top;
  background: #d7d2cc;
}

/* About */
.about-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.about-copy {
  max-width: 42rem;
}

.about-copy p {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.75rem 0.85rem;
  align-items: end;
}

.about-photo { margin: 0; }

.about-photo-a { padding-bottom: 1.75rem; }
.about-photo-b { padding-top: 1.75rem; }

.about-photos .shot-open img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--blush-deep);
  box-shadow: var(--shadow);
}

@media (min-width: 850px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 3.25rem;
  }

  .about-copy { max-width: none; }
}

/* Experience / résumé */
.resume {
  display: grid;
  gap: 2.25rem;
}

.resume-block h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.org-line {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.credit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.credit-list li {
  display: grid;
  gap: 0.15rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.credit-show {
  font-weight: 700;
}

.credit-role,
.credit-dir {
  color: var(--muted);
}

@media (min-width: 700px) {
  .credit-list li {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

.training-list,
.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.training-list li:first-child {
  border-top: 1px solid var(--line);
}

.training-list dt,
.train-label {
  font-weight: 700;
  display: inline;
}

.train-label::after {
  content: " ";
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.skills-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
}

/* Media */
.show-group {
  margin: 0;
}

.show-group + .show-group {
  margin-top: 1.5rem;
}

.show-group .media-grid {
  max-width: none;
  margin: 0;
}

.media-intro {

  max-width: 36rem;
  margin: -0.5rem 0 1.5rem;
  color: var(--muted);
}

.media-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.email-link {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  display: inline-block;
  margin: 0.4rem 0 0.8rem;
}

.email-link:hover {
  color: var(--sage-dark);
}

.contact-note {
  color: var(--muted);
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage-dark);
  outline: 2px solid var(--sage);
  outline-offset: 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: 2rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--peach);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  text-decoration: none;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(44, 42, 40, 0.9);
  padding: 3.5rem 3.75rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1200px);
  max-height: calc(100vh - 4.5rem);
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #111;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fffbf8;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 251, 248, 0.12);
}

.lightbox-close { top: 0.65rem; right: 0.65rem; font-size: 2rem; }
.lightbox-prev { left: 0.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.4rem; top: 50%; transform: translateY(-50%); }

body.lightbox-open {
  overflow: hidden;
}

.resume-pdf { margin: -0.5rem 0 1.5rem; font-size: 0.95rem; }
.resume-pdf a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
