:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #111214;
  --surface-2: #181a1d;
  --line: #2d3034;
  --text: #dedede;
  --muted: #8f9398;
  --accent: #e38400;
  --max: 1180px;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  position: relative;
  min-width: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background: url("photonet-grid.svg") center / cover no-repeat;
  opacity: .16;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 50;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  transform: translateY(-180%);
  background: var(--accent);
  color: #000;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.header {
  position: relative;
  z-index: 100;
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, .78);
  backdrop-filter: blur(3px);
}
.logo {
  color: #eee;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 300;
  letter-spacing: -.04em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  padding-block: .5rem;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.cover-stream {
  column-count: 3;
  column-gap: clamp(.6rem, 1.4vw, 1rem);
  padding-block: clamp(1rem, 2vw, 2rem);
}
.cover-story {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(.6rem, 1.4vw, 1rem);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  background: #080808;
  color: #fff;
  text-decoration: none;
  vertical-align: top;
}
.cover-story > img {
  width: 100%;
  height: auto;
  transition: transform 350ms ease, opacity 350ms ease;
}
.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 48%);
  pointer-events: none;
}
.cover-copy {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  left: clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.cover-copy strong {
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1;
}
.cover-copy > span { color: #d7d7d7; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.cover-story:hover > img, .cover-story:focus-visible > img { transform: scale(1.012); opacity: .9; }
.cover-story:hover .cover-copy > span, .cover-story:focus-visible .cover-copy > span { color: var(--accent); }
.intro {
  padding: clamp(4rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.intro h1, .gallery-header h1, .text-page h1 {
  max-width: 900px;
  margin: .35rem 0 1.2rem;
  color: #f1f1f1;
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .98;
}
.intro > p:last-child, .gallery-header > p:last-child {
  max-width: 48rem;
  color: var(--muted);
}
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0 1.25rem;
}
.section-heading h2 { margin: 0; font-size: 1rem; font-weight: 500; }
.section-heading span { color: var(--muted); font-size: .8rem; }
.photographer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.photographer-card {
  min-width: 0;
  background: var(--surface);
  text-decoration: none;
}
.card-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #0b0b0c;
  color: var(--muted);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25);
  transition: transform 180ms ease, filter 180ms ease;
}
.photographer-card:hover .card-image img, .photographer-card:focus-visible .card-image img {
  transform: scale(1.025);
  filter: grayscale(0);
}
.card-meta {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}
.card-meta h3 { margin: 0; font-size: .95rem; font-weight: 500; }
.card-meta span { flex: none; color: var(--muted); font-size: .72rem; }
.gallery-header { padding: clamp(3rem, 8vw, 7rem) 0 2.5rem; }
.gallery-header h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.photographer-text {
  max-width: 48rem;
  min-height: 1px;
  color: var(--muted);
  white-space: normal;
}
.back-link {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: .78rem;
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 1rem;
  background: var(--surface);
}
.image-button {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  border: 0;
  background: #0a0a0a;
}
.image-button img { width: 100%; height: auto; }
.text-page {
  max-width: 760px;
  min-height: 65vh;
  padding: clamp(4rem, 10vw, 9rem) 0;
}
.text-page h1 { font-size: clamp(3rem, 9vw, 6rem); }
.text-page p { color: var(--muted); }
.text-page .lead { color: var(--text); font-size: clamp(1.2rem, 3vw, 1.55rem); }
.editable-copy > p:first-child { color: var(--text); font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
.reaction-section {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.reaction-section h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 300; }
.reaction-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.reaction-field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; }
.reaction-field > label, .reaction-field legend { color: #c8cace; font-size: .78rem; font-weight: 700; }
.reaction-field input[type="text"],
.reaction-field input[type="email"],
.reaction-field textarea {
  width: 100%;
  padding: .8rem .85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(10, 10, 10, .9);
  color: var(--text);
  font: inherit;
}
.reaction-field input:focus, .reaction-field textarea:focus { border-color: var(--accent); }
.radio-field { gap: .75rem; }
.radio-option { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-weight: 400; }
.radio-option input { accent-color: var(--accent); }
.reaction-form > button {
  justify-self: start;
  min-height: 2.8rem;
  padding: .65rem 1.1rem;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #050505;
  font: inherit;
  font-weight: 700;
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}
.form-message { padding: .8rem 1rem; border-left: 3px solid; }
.form-message.success { border-color: #63b77d; background: #102018; color: #a9dfb9; }
.form-message.error { border-color: #d95b5b; background: #241315; color: #efb1b1; }
.form-message p { margin: 0; color: inherit; }
.button-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  text-decoration: none;
}
.button-link:hover { border-color: var(--accent); color: var(--accent); }
.empty-state { min-height: 40vh; color: var(--muted); }
.footer {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  color: #676b70;
  font-size: .72rem;
  background: rgba(5, 5, 5, .78);
}
.footer a { color: inherit; text-decoration: none; }
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 2rem;
  border: 0;
  background: rgba(0, 0, 0, .94);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  font-size: 1.8rem;
}
.lightbox-arrow {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 3.5rem;
  height: 4.5rem;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
  border: 1px solid #555;
  background: rgba(17, 17, 17, .82);
  color: #fff;
  font-size: 1.7rem;
}
.lightbox-previous { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-arrow:hover, .lightbox-arrow:focus-visible, .lightbox-close:hover, .lightbox-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 820px) {
  .photographer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { columns: 2; }
  .cover-stream { column-count: 2; }
}
@media (max-width: 580px) {
  .page { width: min(calc(100% - 1rem), var(--max)); }
  .header { position: relative; min-height: 4.5rem; }
  .nav-toggle { display: block; padding: .55rem .75rem; }
  .nav {
    position: absolute;
    z-index: 101;
    top: calc(100% - .5rem);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: .5rem;
    border: 1px solid var(--line);
    background: #101113;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem; }
  .intro { padding-top: 4rem; }
  .cover-stream { column-count: 1; }
  .cover-copy { align-items: flex-start; flex-direction: column; }
  .photographer-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .gallery-header { padding-top: 2rem; }
  .back-link { margin-bottom: 2rem; }
  .lightbox { padding: 4rem .5rem; }
  .lightbox-arrow {
    top: auto;
    bottom: .75rem;
    width: 4rem;
    height: 3.25rem;
    transform: none;
  }
  .lightbox-previous { left: calc(50% - 4.5rem); }
  .lightbox-next { right: calc(50% - 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (prefers-contrast: more) {
  body::before { opacity: .08; }
}
