@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 620;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --paper: #f6f1e8;
  --paper-deep: #efe8dc;
  --card: #fffdf9;
  --ink: #1c2422;
  --muted: #4e5a57;
  --teal: #1ebbd7;
  --teal-deep: #0b6e84;
  --teal-deeper: #085f72;
  --line: #e4dcd0;
  --shadow: 0 0 0 1px rgba(28, 36, 34, 0.08), 0 16px 40px rgba(28, 36, 34, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

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

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

a {
  color: var(--teal-deep);
}

a:hover {
  color: var(--teal-deeper);
}

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

::selection {
  background: #c5eef5;
  color: #12343c;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-160%);
  background: var(--card);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.7rem 1.25rem;
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid rgba(28, 36, 34, 0.06);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.05rem;
}

.nav a:hover {
  color: var(--teal-deep);
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(4rem, 13vw, 6.6rem);
  line-height: 0.88;
}

h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 500;
}

p {
  margin: 0 0 0.9rem;
}

.hero {
  padding: 1.15rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.35rem;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.tagline {
  margin: 0 0 1.35rem;
  max-width: 18em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.actions {
  display: grid;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--teal-deep);
  font-weight: 560;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--teal-deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deeper);
  color: #fff;
  border-color: var(--teal-deeper);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
}

.btn-secondary:hover {
  background: rgba(11, 110, 132, 0.08);
  color: var(--teal-deeper);
}

section {
  scroll-margin-top: 4.5rem;
}

.about,
.gallery-section,
.walk,
.collab {
  padding: 2.6rem 0;
}

.prose {
  max-width: 38rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section-note {
  margin: -0.2rem 0 1.15rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem 0.7rem;
  align-items: start;
}

.shot {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.95rem;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.shot:hover img,
.shot:focus-visible img {
  box-shadow: 0 0 0 1px rgba(11, 110, 132, 0.35), 0 16px 36px rgba(11, 110, 132, 0.16);
}

.cap {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.walk {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.walk-copy p:last-child {
  margin-bottom: 0;
  max-width: 32rem;
  color: var(--ink);
}

.walk-card,
.walk-frame {
  position: relative;
  display: block;
  width: min(230px, 72vw);
  aspect-ratio: 196 / 360;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1a1c1b;
  text-decoration: none;
}

.walk-card img,
.walk-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0 1.05rem 0 0.85rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--teal-deep);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.kit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.35rem 1.2rem 1.1rem;
}

.lede {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.kit-block {
  padding-top: 0.35rem;
}

.kit-block p:last-child,
.kit-block ul {
  margin-bottom: 0.85rem;
}

.kit-block ul {
  margin-top: 0;
  padding-left: 1.15rem;
}

.kit-block li {
  margin: 0.25rem 0;
}

.kit-block strong {
  font-weight: 600;
}

.kit-cta {
  padding-bottom: 0.2rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-inner p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0.75rem 0.75rem calc(0.85rem + env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  color: #f6f1e8;
}

#lightbox::backdrop {
  background: rgba(16, 20, 20, 0.92);
}

#lightbox[open] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: min(1100px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 0.7rem;
  background: #111;
}

.lb-ui {
  display: grid;
  gap: 0.55rem;
}

.lb-cap {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

.lb-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  align-items: center;
}

.lb-controls button {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 232, 0.4);
  background: transparent;
  color: #f6f1e8;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.lb-controls button:hover {
  background: rgba(246, 241, 232, 0.12);
}

.lb-controls [data-count] {
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(246, 241, 232, 0.8);
}

#lightbox :focus-visible {
  outline-color: #fff;
}

@media (min-width: 720px) {
  .logo img {
    height: 40px;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1.5rem;
  }

  .walk {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }

  .kit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    row-gap: 0.4rem;
    padding: 2rem 2.1rem 1.6rem;
  }

  .kit > .kicker,
  .kit > h2,
  .kit > .lede {
    grid-column: 1 / -1;
  }

  .kit-cta {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 2rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.25rem;
    align-items: center;
  }

  .about,
  .gallery-section,
  .walk,
  .collab {
    padding: 4.25rem 0;
  }

  .about {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1rem 3.5rem;
    align-items: start;
  }

}

.missing {
  padding: 4.5rem 0 5.5rem;
  max-width: 28rem;
}

.missing h1 {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1.05;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
