:root {
  --bg: #131313;
  --bg-soft: #1b1a1a;
  --bg-muted: #211f1e;
  --surface: #282522;
  --text: #f2efea;
  --text-muted: #c9c0b1;
  --line: rgba(242, 239, 234, 0.14);
  --line-strong: rgba(242, 239, 234, 0.25);
  --gold: #d4af37;
  --gold-light: #f0cf68;
  --ink: #1b1300;
  --sage: #85937c;
  --rust: #a9603c;
  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --container: 1280px;
  --pad: 24px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(133, 147, 124, 0.06), transparent 420px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 68%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 300ms ease;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  transition:
    background 300ms ease,
    border-color 300ms ease,
    min-height 300ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  min-height: 66px;
  background: rgba(19, 19, 19, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 22;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  color: var(--gold-light);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 30px;
}

.site-nav a,
.site-footer a {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.contact-links a:hover {
  color: var(--gold-light);
}

.header-actions {
  position: relative;
  z-index: 22;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.52);
}

.language-switch button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.language-switch button.is-active {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.52);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

body.nav-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.section-shell {
  position: relative;
  z-index: 1;
  padding-inline: var(--pad);
}

.page-grid,
.section-heading,
.service-grid,
.episode-grid,
.project-grid,
.manifesto,
.site-footer {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 54px;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 64% top;
  opacity: 0.56;
  filter: saturate(0.85) contrast(1.06);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(19, 19, 19, 0.98), rgba(19, 19, 19, 0.78) 48%, rgba(19, 19, 19, 0.22)),
    linear-gradient(0deg, var(--bg) 0%, rgba(19, 19, 19, 0) 34%),
    radial-gradient(circle at 18% 76%, rgba(212, 175, 55, 0.16), transparent 30%);
}

.hero-content {
  display: grid;
  gap: 36px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-kicker,
.episode-meta,
.project-card span,
.contact-links dt,
.media-caption,
.note-number {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: 58px;
}

.accent,
blockquote span {
  color: var(--gold-light);
  font-style: italic;
}

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--gold-light);
}

.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-notes {
  display: grid;
  gap: 18px;
  max-width: 390px;
  color: var(--text-muted);
}

.hero-notes div {
  border-left: 1px solid var(--gold);
  padding-left: 18px;
}

.hero-notes p {
  margin: 6px 0 0;
}

.content-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(133, 147, 124, 0.05), rgba(169, 96, 60, 0.04)),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 48px;
}

.media-frame {
  position: relative;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid rgba(212, 175, 55, 0.36);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.88);
  transition:
    filter 500ms ease,
    transform 900ms ease;
}

.media-frame:hover img {
  filter: grayscale(0) brightness(1);
}

.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-muted);
}

.section-copy {
  max-width: 680px;
}

.section-copy h2,
.section-heading h2 {
  margin-top: 14px;
  font-size: 42px;
}

.rich-text {
  margin-top: 34px;
  color: var(--text-muted);
  font-size: 18px;
}

.rich-text p {
  margin: 0;
}

.rich-text p + p {
  margin-top: 20px;
}

.section-heading {
  display: grid;
  gap: 22px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--text-muted);
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  min-height: 158px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.service-grid article::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.service-grid article:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
}

.service-grid article:hover::after {
  transform: scaleX(1);
}

.service-grid span {
  color: var(--text-muted);
  font-size: 12px;
}

.service-grid h3 {
  margin-top: 18px;
  font-size: 27px;
}

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 28px 30px;
  color: rgba(242, 239, 234, 0.34);
  font-family: var(--font-display);
  font-size: 30px;
  white-space: nowrap;
}

.ticker span::after {
  content: "◆";
  color: var(--gold);
  font-size: 12px;
}

.episode-grid {
  display: grid;
  gap: 20px;
}

.episode-card a {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.episode-card a:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.72);
}

.episode-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}

.episode-image::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240, 207, 104, 0.7);
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.54);
  color: var(--gold-light);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.episode-card a:hover .episode-image::after {
  background: var(--gold);
  color: var(--ink);
}

.episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.28);
  transition:
    transform 700ms ease,
    filter 500ms ease;
}

.episode-card a:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.episode-meta {
  display: block;
  padding: 22px 22px 0;
  color: var(--text-muted);
}

.episode-card strong {
  display: block;
  padding: 8px 22px 24px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.project-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project-card {
  min-height: 285px;
  padding: 30px;
  background: var(--bg);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.project-card:hover {
  background: var(--bg-muted);
  transform: translateY(-3px);
}

.project-card h3 {
  margin-top: 48px;
  font-size: 50px;
}

.project-card p {
  max-width: 410px;
  margin: 18px 0 0;
  color: var(--text-muted);
}

.manifesto-section {
  padding-top: 108px;
  padding-bottom: 108px;
}

.manifesto {
  text-align: center;
}

.manifesto .section-kicker {
  margin-bottom: 28px;
}

blockquote {
  max-width: 980px;
  margin-inline: auto;
  font-size: 38px;
}

cite {
  display: block;
  margin-top: 34px;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
}

.contact-links div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-links dt {
  color: var(--text-muted);
}

.contact-links dd {
  margin: 0;
}

.contact-links a {
  font-family: var(--font-display);
  font-size: 24px;
  transition: color 180ms ease;
}

.contact-form {
  display: grid;
  gap: 24px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 0 12px;
  outline: 0;
  resize: vertical;
  transition: border-color 180ms ease;
}

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

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--text-muted);
}

.form-status.is-success {
  color: #a6d59e;
}

.form-status.is-error {
  color: #ffb6a0;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 180ms;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 899px) {
  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 16px var(--pad) 28px;
    background: rgba(19, 19, 19, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transform: translateY(-120%);
    transition: transform 240ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
}

@media (min-width: 640px) {
  :root {
    --pad: 36px;
  }

  h1 {
    font-size: 72px;
  }

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

@media (min-width: 900px) {
  :root {
    --pad: 56px;
  }

  .site-header {
    padding-inline: var(--pad);
  }

  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    align-items: center;
    padding-bottom: 76px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
    align-items: end;
  }

  h1 {
    font-size: 92px;
  }

  .content-section {
    padding-top: 150px;
    padding-bottom: 150px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 56px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
    align-items: end;
  }

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

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

  .project-card {
    padding: 44px;
  }

  .project-card h3 {
    font-size: 66px;
  }

  blockquote {
    font-size: 58px;
  }

  .contact-form {
    padding: 42px;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--pad);
  }
}

@media (min-width: 1180px) {
  h1 {
    font-size: 106px;
  }

  .hero-media img {
    object-position: right top;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
