:root {
  color-scheme: dark;
  --bg: #191919;
  --bg-soft: #232323;
  --panel: #2b2b2b;
  --text: #eeeeee;
  --muted: #bdbdbd;
  --line: rgba(255, 255, 255, 0.12);
  --red: #d93a32;
  --blue: #1d8ad8;
  --yellow: #e9bf34;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(25, 25, 25, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: #f7f7f7;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  border-color: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section {
  padding: clamp(70px, 9vw, 126px) 0;
  background: var(--bg-soft);
}

.section:nth-of-type(even) {
  background: var(--bg);
}

.section-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.hero {
  padding-top: clamp(38px, 6vw, 74px);
}

.hero-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.hero-grid,
.bio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.hero-media img,
.bio-grid figure,
.wide-art img,
.portrait img,
.gallery-grid button {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
}

.hero-media img,
.bio-grid img,
.wide-art img,
.portrait img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  object-fit: cover;
}

.hero-heading h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 300;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-heading h1 {
  font-size: clamp(3.2rem, 10vw, 8.8rem);
  letter-spacing: 0.05em;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}

.hero-copy h2 {
  margin: 20px 0 24px;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
}

.hero-copy p,
.bio-content p,
.contact-copy p {
  max-width: 72ch;
  margin: 0 0 18px;
  color: var(--muted);
}

.source,
figcaption {
  color: #a9a9a9;
  font-size: 0.88rem;
}

.wide-art {
  margin-top: clamp(38px, 6vw, 72px);
}

.wide-art img {
  max-height: 430px;
  object-fit: cover;
}

.wide-art figcaption,
.bio-grid figcaption {
  margin-top: 12px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f4f4f4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: clamp(32px, 5vw, 54px);
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  letter-spacing: 0.05em;
}

.bio-grid {
  align-items: start;
}

.bio-content {
  align-self: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 28px 0 0;
  padding: 0;
  color: #dddddd;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 18px;
}

.timeline li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--line);
  border-radius: 50%;
  content: "";
}

.gallery-section {
  min-height: 74vh;
}

.gallery-red .section-heading h2 {
  color: var(--red);
}

.gallery-blue .section-heading h2 {
  color: var(--blue);
}

.gallery-yellow .section-heading h2 {
  color: var(--yellow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.gallery-grid button {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111111;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  opacity: 0.76;
  transform: scale(1.05);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(25, 25, 25, 0.92), rgba(25, 25, 25, 0.58)),
    url("../img/Chris-Poidevin-25.jpg") center / cover;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.social-links a,
.legal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible,
.legal-button:hover,
.legal-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.portrait img {
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.site-footer {
  padding: 24px 0;
  background: #121212;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #a8a8a8;
}

.footer-inner p {
  margin: 0;
}

.legal-button {
  min-height: 38px;
  color: #d8d8d8;
}

.legal-dialog {
  width: min(860px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #202020;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.legal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-panel {
  position: relative;
  padding: clamp(24px, 4vw, 46px);
}

.dialog-panel h2 {
  margin: 0 0 22px;
  font-weight: 300;
  text-transform: uppercase;
}

.dialog-panel p {
  color: #d2d2d2;
}

.dialog-close,
.lightbox-close {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.dialog-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 64px 22px 22px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 110px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 22px;
    background: rgba(25, 25, 25, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 4px;
  }

  .hero-grid,
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    max-width: 220px;
  }

  .site-nav {
    top: 64px;
  }

  .section {
    padding: 58px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
