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

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

:root {
  --bg: #171a20;
  --plate: #1f232a;
  --text: #f3f1eb;
  --body: #c9cbcf;
  --silver: #c8cacf;
  --muted: #a7acb4;
  --line: rgba(243, 241, 235, 0.14);
  --line-strong: rgba(243, 241, 235, 0.32);
  --danger: #f0c7be;
  --font: Outfit, "Segoe UI", sans-serif;
  --header: 4.5rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

h1, h2, h3, p {
  text-wrap: pretty;
}

h1, h2, .project-statement {
  text-wrap: balance;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--text);
  color: var(--bg);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 2.85rem;
}

.brand-name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.15rem;
  cursor: pointer;
}

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

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

@media (min-width: 761px) {
  .nav-links a[aria-current="true"] {
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.2rem;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 26, 32, 0.55) 0%, rgba(23, 26, 32, 0.18) 38%, rgba(23, 26, 32, 0) 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(1.75rem, 5vh, 3.25rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-title {
  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;
}

.hero-mark {
  display: block;
  width: min(8.75rem, 34vw);
  height: auto;
}

.hero-copy {
  margin-top: 0;
  padding-top: 0;
}

.hero-tagline {
  margin: 1.35rem 0 0;
  color: var(--silver);
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-support {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--silver);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
}

.text-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions .text-link {
  margin-top: 0;
}

.text-link:hover {
  border-bottom-color: var(--text);
}

#work {
  padding-top: clamp(4.5rem, 10vh, 7rem);
}

.label {
  margin: 0 0 1.75rem;
  color: var(--silver);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#work .wrap {
  width: min(1320px, calc(100% - (var(--gutter) * 2)));
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vh, 6.5rem);
}

.project.is-flipped .project-copy {
  order: 2;
}

.project.is-flipped {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
}

.project.is-flipped .project-visual {
  order: 1;
}

.project-index {
  margin: 0;
  color: var(--silver);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-statement {
  margin: 1rem 0 0;
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.copy {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.project-status {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-visual {
  position: relative;
  margin: 0;
  background: var(--plate);
  border: 1px solid var(--line);
}

.project-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--plate);
}

.project-visual-site img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.shot-carousel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.shot-carousel .shot-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0;
}

.shot-carousel .shot-stage img.is-current {
  opacity: 1;
}

.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.15rem 0.85rem;
  border-top: 1px solid var(--line);
}

.shot-nav {
  border: 0;
  background: transparent;
  color: var(--silver);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 0.15rem;
  cursor: pointer;
}

.shot-nav:hover {
  color: var(--text);
}

.shot-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.shot-carousel.shot-tablet {
  width: min(100%, 34rem);
  margin-inline: auto;
  justify-self: center;
  padding: 0.85rem 0.85rem 0;
}

.shot-carousel.shot-tablet .shot-stage {
  aspect-ratio: 640 / 1024;
}

.shot-carousel.shot-tablet .shot-stage img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: none;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .shot-carousel .shot-stage img {
    transition: opacity 240ms ease;
  }
}

.plate-title {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 3.4rem;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.project-visual figcaption {
  position: absolute;
  left: 1.35rem;
  bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band {
  border-top: 1px solid var(--line);
  padding-block: clamp(4.5rem, 11vh, 8rem);
}

.statement {
  margin: 0.35rem 0 0;
  max-width: 10em;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.statement + .copy {
  margin-top: 2rem;
}

.paths + .copy {
  margin-top: 2.5rem;
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.path {
  display: flex;
  flex-direction: column;
  padding-top: 1.75rem;
  padding-right: clamp(1.25rem, 2.5vw, 2.25rem);
}

.path + .path {
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line);
}

.path h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.path .copy {
  max-width: none;
  font-size: 1rem;
}

.path .text-link {
  margin-top: auto;
  padding-top: 1.75rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field label,
.checks legend {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.6rem;
  color-scheme: dark;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2 L6 6.2 L11 1.2' fill='none' stroke='%23c8cacf' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 0.7rem;
}

.field select option {
  background-color: #1f232a;
  color: #f3f1eb;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--text);
}

[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.hint {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checks {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.js [data-when] {
  display: none;
}

.js [data-when].is-open {
  display: flex;
  flex-direction: column;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text);
  line-height: 1.4;
  cursor: pointer;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  flex: none;
  accent-color: var(--silver);
}

.consent {
  align-items: flex-start;
}

.consent span {
  color: var(--body);
  font-size: 0.98rem;
}

.consent a {
  color: var(--text);
}

.field-error {
  margin: 0.45rem 0 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.form-status {
  margin: 0;
  color: var(--danger);
  font-size: 1rem;
}

.form .button {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.form-success {
  margin: 0;
}

.form-success h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.form-success p {
  margin: 1rem 0 0;
  color: var(--body);
  max-width: 32rem;
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3rem 2.75rem;
}

.footer-brand .brand {
  margin-bottom: 0.85rem;
}

.footer-tagline,
.copyright,
.site-version {
  margin: 0;
  color: var(--muted);
}

.site-version {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-links a,
.footer-meta a {
  color: var(--silver);
  text-decoration: none;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--text);
}

.subpage {
  width: min(42rem, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-block: clamp(4rem, 10vh, 7rem);
}

.subpage h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.subpage h2 {
  margin: 2.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.subpage p,
.subpage li {
  color: var(--body);
  line-height: 1.65;
}

.subpage ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.subpage a {
  color: var(--text);
}

@media (max-width: 860px) {
  .project,
  .contact-grid,
  .paths,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project.is-flipped .project-copy,
  .project.is-flipped .project-visual {
    order: 0;
  }

  .path + .path {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-bar {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding-bottom: 0.35rem;
    border-top: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .hero-banner {
    object-position: 58% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(23, 26, 32, 0.72) 0%, rgba(23, 26, 32, 0.35) 55%, rgba(23, 26, 32, 0.08) 100%);
  }

  .hero-tagline {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .text-link,
  .nav-links a,
  .site-header {
    transition: none;
  }
}
