:root {
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --paper: #f6f1e6;
  --ink: #1c160d;
  --ink-soft: #5c5346;
  --line: #e0d4c2;
  --orange: #ffa00d;
  --orange-deep: #7a4900;
  --orange-hover: #e08e00;
  --on-orange: #1c160d;
  --dark: #1c160d;
  --cream: #f6f1e6;
  --header: rgba(246, 241, 230, 0.94);
  --selection: #ffd9a3;
  --selection-ink: var(--ink);
  --still: #e7dfd4;
  --screen: #14110c;
  --footer-text: #f3eadc;
  --footer-muted: #cfc4b4;
  --footer-line: transparent;
  --max: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16130e;
    --ink: #f6f1e6;
    --ink-soft: #cfc4b4;
    --line: #3f382f;
    --orange-deep: #ffa00d;
    --dark: #100e0a;
    --header: rgba(22, 19, 14, 0.92);
    --selection: #ffa00d;
    --selection-ink: #1c160d;
    --still: #2a241c;
    --footer-text: #f3eadc;
    --footer-muted: #cfc4b4;
    --footer-line: var(--line);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

::selection {
  background: var(--selection);
  color: var(--selection-ink);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: blur(12px);
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: baseline;
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand sup {
  font-size: 0.72em;
  line-height: 0;
  margin-right: 0.04em;
}

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

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

.nav a[aria-current="page"] {
  color: var(--orange-deep);
  box-shadow: inset 0 -2px 0 var(--orange);
}

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

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }

.nav-toggle:checked + .nav-burger .burger-lines {
  background: transparent;
}

.nav-toggle:checked + .nav-burger .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-burger .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

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

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.4rem, 6.4vw, 4.55rem);
  max-width: min(11em, 100%);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.hero-logo {
  display: block;
  width: 148px;
  height: auto;
  margin: 0 0 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
  gap: 3.5rem;
  align-items: end;
  padding: 3.2rem 0 1rem;
}

.hero > *,
.path-list a,
.path-list a > *,
.facts div,
.work-layout > *,
.founder,
.footer-grid > *,
.contact-list a,
.contact-list strong {
  min-width: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--on-orange);
  text-decoration: none;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.button:hover {
  background: var(--orange-hover);
}

.text-link {
  color: var(--orange-deep);
  font-weight: 600;
}

.facts {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.facts div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.facts dd {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.25;
}

.facts a {
  color: var(--orange-deep);
}

.section {
  padding: 3.2rem 0 1rem;
}

.path-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.path-list a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 14rem) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.path-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.path-num {
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.path-title {
  font-family: var(--font);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.path-list a:hover .path-title {
  color: var(--orange-deep);
}

.path-copy {
  margin: 0;
  color: var(--ink-soft);
}

.statement {
  margin: 1.5rem 0 4rem;
  padding-top: 0.4rem;
  max-width: 40rem;
}

.statement p {
  margin: 0.8rem 0 0;
  font-family: var(--font);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.28;
  font-weight: 500;
}

.rule {
  display: block;
  width: 2.6rem;
  height: 4px;
  background: var(--orange);
}

.page-intro {
  padding: 3.2rem 0 0.5rem;
}

.prose {
  max-width: 42rem;
}

.prose a,
.work-article a {
  color: var(--orange-deep);
  font-weight: 600;
}

.founder {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin: 1.6rem 0 2rem;
  max-width: 42rem;
}

.founder img {
  width: 168px;
  height: auto;
  display: block;
}

.founder figcaption {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.founder strong {
  display: block;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lockup {
  margin: 2rem 0 0;
}

.lockup img {
  width: 105px;
  height: auto;
  display: block;
}

.lockup figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.work-layout {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

.work-nav {
  position: sticky;
  top: 5.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 2.4rem;
}

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

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

.work-article {
  padding: 2.3rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.poster-link {
  display: block;
  margin: 1.15rem 0 0.15rem;
  text-decoration: none;
}

.poster {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.work-article h3 {
  margin: 1.7rem 0 0.35rem;
  font-size: 1.55rem;
  scroll-margin-top: 5.5rem;
}

.stills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  list-style: none;
  margin: 1.3rem 0 0.4rem;
  padding: 0;
}

.stills li {
  width: 160px;
}

.stills img {
  width: 160px;
  height: 112px;
  object-fit: cover;
  display: block;
  background: var(--still);
}

.stills span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.film {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 1.15rem 0 0.2rem;
  background: var(--screen);
}

.contact-list {
  list-style: none;
  margin: 1.4rem 0 2rem;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-list a,
.contact-list strong {
  display: inline-block;
  margin-top: 0.15rem;
  font-family: var(--font);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}

.contact-list a {
  border-bottom: 2px solid var(--orange);
  overflow-wrap: anywhere;
}

main {
  padding-bottom: 3rem;
}

.site-footer {
  background: var(--dark);
  color: var(--cream);
  border-top: 1px solid var(--footer-line);
  padding: 2.4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--orange);
}

.site-footer p {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-nav a {
  color: var(--cream);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--orange);
}

.legal {
  font-size: 0.88rem;
  color: var(--footer-muted);
}

@media (max-width: 800px) {
  .hero,
  .work-layout,
  .footer-grid,
  .founder {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 2rem;
    padding-top: 2.4rem;
  }

  .work-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    padding: 1.2rem 0 0.2rem;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .legal {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .nav-burger {
    display: grid;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.2rem 0 0.7rem;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .path-list a {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .path-copy {
    grid-column: 2;
  }
}

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