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

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

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi/satoshi-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: rgba(10, 10, 10, 0.88);
  --bg-soft: #0a0a0a;
  --surface: #0a0a0a;
  --surface-strong: #111111;
  --text: #eaeaea;
  --text-muted: #a0a0a0;
  --text-soft: #6a6a6a;
  --line: rgba(234, 234, 234, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --accent: #4f46e5;
  --accent-hover: #6366f1;
  --focus-ring: 0 0 0 2px rgba(79, 70, 229, 0.38);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3f0;
  --bg-elevated: rgba(255, 255, 255, 0.92);
  --bg-soft: #ecece7;
  --surface: #ffffff;
  --surface-strong: #f7f7f3;
  --text: #141414;
  --text-muted: #6a6a6a;
  --text-soft: #7a7a7a;
  --line: rgba(20, 20, 20, 0.1);
  --shadow: 0 18px 60px rgba(17, 17, 17, 0.08);
  --accent: #4f46e5;
  --accent-hover: #6366f1;
  --focus-ring: 0 0 0 2px rgba(79, 70, 229, 0.24);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

a {
  color: var(--text);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-nav {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 1.55rem auto 0;
  position: sticky;
  top: 1.1rem;
  z-index: 20;
}

.site-nav-frame {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 42%),
    rgba(10, 10, 10, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 22px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

:root[data-theme="light"] .site-nav-frame {
  border-color: rgba(20, 20, 20, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.16) 42%),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 20px rgba(17, 17, 17, 0.045);
}

.site-nav:hover .site-nav-frame {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

:root[data-theme="light"] .site-nav:hover .site-nav-frame {
  border-color: rgba(20, 20, 20, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 10px 22px rgba(17, 17, 17, 0.05);
}

.site-nav a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

main {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto 8rem;
}

.page-content,
.project-article {
  display: grid;
  gap: 4rem;
}

.page-content {
  max-width: 1200px;
  padding-top: 2rem;
}

.project-article {
  gap: 3rem;
}

.project-header {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  padding-top: 3.5rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

p,
ul,
figure {
  margin: 0;
}

.theme-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  color: var(--accent-hover);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow:
    var(--shadow),
    0 0 18px rgba(79, 70, 229, 0.14);
}

.theme-toggle span {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
}

:root[data-theme="dark"] .theme-toggle-sun,
:root[data-theme="light"] .theme-toggle-moon {
  opacity: 0.4;
}

.editorial-hero,
.subpage-hero {
  display: grid;
  gap: 0;
  align-content: center;
  min-height: min(84vh, 900px);
  padding: 1.5rem 0 4.25rem;
}

.editorial-hero {
  max-width: 700px;
  min-height: min(68vh, 720px);
}

.subpage-hero {
  max-width: 820px;
  min-height: auto;
  padding: 2rem 0 2rem;
}

.hero-kicker,
.project-eyebrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-heading .hero-kicker,
.editorial-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.editorial-heading .hero-kicker::before,
.editorial-hero .hero-kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero-copy,
.it-intro,
.project-summary,
.project-intro,
.project-section-copy p,
.decision-card p,
.project-outcome p,
.project-visual figcaption,
.project-hero figcaption {
  color: var(--text-soft);
}

.hero-copy {
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.06rem);
  line-height: 1.62;
  margin-top: 0;
  margin-bottom: 0;
}

.editorial-hero .hero-kicker {
  margin-bottom: 0.7rem;
}

.editorial-hero h1 {
  max-width: 11ch;
  margin-bottom: 0.72rem;
}

.editorial-hero .hero-support {
  max-width: 31rem;
  margin-bottom: 0.28rem;
}

.editorial-hero .hero-location {
  margin-top: 0;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  opacity: 0.58;
}

.photo-page-grid {
  display: grid;
  gap: 1.25rem;
}

.photo-page-grid img,
.video-poster-card img,
.video-poster-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-page-grid .project-visual,
.video-poster-card {
  overflow: hidden;
}

.photo-page-grid .project-visual img,
.video-poster-card img,
.video-poster-placeholder {
  border-radius: 1.5rem;
}

.video-feature {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1rem;
}

.video-feature-copy {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
}

.video-poster-card {
  max-width: 920px;
}

.photo-page-grid {
  padding-top: 1rem;
}

.photo-page-primary img {
  aspect-ratio: 16 / 10;
}

.photo-page-secondary img {
  aspect-ratio: 4 / 3;
}

.editorial-section {
  display: grid;
  gap: 2rem;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.editorial-heading {
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.editorial-heading h2 {
  max-width: 22ch;
}

.editorial-standfirst {
  max-width: 34rem;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.editorial-support {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.editorial-work {
  gap: 3.5rem;
  padding-top: 6.5rem;
  padding-bottom: 6rem;
}

.editorial-project {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.editorial-project-visual {
  margin: 0;
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
}

.editorial-project-main,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-project-main {
  position: absolute;
  inset: 0;
}

.editorial-project-detail {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(36%, 240px);
  height: auto;
  max-height: calc(100% - 2rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.editorial-project-visual-quiet {
  background: var(--surface);
}

.editorial-project-panel {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-project-detail-bottom {
  width: min(50%, 320px);
}

.editorial-project-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 28rem;
}

.editorial-project-copy h3 {
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.editorial-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-points {
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
}

.editorial-points li::before {
  content: "• ";
}

.project-facts {
  display: grid;
  gap: 1rem;
}

.project-fact-group {
  display: grid;
  gap: 0.35rem;
}

.project-fact-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-fact-copy {
  color: var(--text-soft);
  max-width: 26rem;
}

.editorial-photo {
  display: grid;
  gap: 1.25rem;
}

.section-media {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-tight {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.editorial-photo img,
.editorial-video-player,
.about-visual img,
.media-placeholder {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.editorial-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.editorial-video {
  display: block;
  text-decoration: none;
}

.editorial-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.media-placeholder span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-section-link {
  width: fit-content;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.editorial-section-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.about-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-visual {
  margin: 0;
}

.about-visual img {
  aspect-ratio: 4 / 5;
}

.about-visual-placeholder {
  aspect-ratio: 4 / 5;
}

.about-copy {
  display: grid;
  gap: 1.5rem;
  max-width: 28rem;
}

.about-bio {
  color: var(--text-soft);
  max-width: 34rem;
}

.about-copy .about-bio:first-child {
  color: var(--text);
  font-size: clamp(1.08rem, 1.65vw, 1.2rem);
  line-height: 1.4;
}

.editorial-capabilities {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.capabilities-grid {
  display: grid;
  gap: 1.5rem;
}

.capability-group {
  display: grid;
  gap: 0.35rem;
}

.capability-group h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.capability-group p {
  color: var(--text-soft);
}

.contact-links {
  display: grid;
  gap: 0.8rem;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-location {
  color: var(--text-soft);
}

.contact-links a {
  width: fit-content;
  color: var(--text-soft);
  text-decoration: none;
}

.editorial-footer {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.project-section {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}

.project-section-copy {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.project-link {
  width: fit-content;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.project-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-1px);
}

.project-image,
.project-video,
.project-hero,
.project-visual,
.decision-card,
.project-outcome,
.project-placeholder {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-image,
.project-video {
  transform: translateY(0) scale(0.97);
  transition: transform 600ms ease, border-color 180ms ease;
  border-radius: 0.6rem;
  border-color: rgba(234, 234, 234, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.project-placeholder {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 0.5rem;
  padding: 2.5rem;
}

.project-placeholder p {
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-soft);
}

.closing-section {
  display: grid;
  gap: 1rem;
  padding: 7rem 0 1rem;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.closing-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.closing-links a:hover,
.contact-links a:hover,
.legal-block a:hover {
  color: var(--accent);
}

.closing-links-muted {
  gap: 0.6rem 1rem;
  padding-top: 0.25rem;
}

.closing-links-muted a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.legal-page {
  max-width: 760px;
  gap: 2rem;
}

.legal-hero {
  gap: 0.8rem;
  padding-bottom: 1rem;
}

.legal-content {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.legal-block {
  display: grid;
  gap: 0.55rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-block p {
  max-width: 42rem;
  color: var(--text-soft);
}

.legal-block a {
  text-decoration: none;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.project-meta li {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.project-hero,
.project-visual,
.project-outcome {
  overflow: hidden;
}

.project-hero,
.project-visual {
  isolation: isolate;
}

.project-hero > img,
.project-visual > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.project-hero figcaption,
.project-visual figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.92rem;
}

.project-intro,
.project-visuals,
.project-decisions,
.project-outcome {
  display: grid;
  gap: 1rem;
}

.project-intro {
  max-width: 46rem;
  font-size: 1.0625rem;
}

.project-visuals-grid {
  display: grid;
  gap: 1.25rem;
}

.project-visual figcaption strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.decision-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.decision-card {
  padding: 1.25rem;
}

.project-outcome {
  padding: 1.5rem;
}

.it-overview {
  max-width: 1040px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

.project-image.reveal-visible,
.project-video.reveal-visible {
  transform: translateY(0) scale(1);
}

.project-image:hover,
.project-video:hover {
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(0) scale(1.01);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(79, 70, 229, 0.1);
}

:root[data-theme="light"] .project-image:hover,
:root[data-theme="light"] .project-video:hover {
  border-color: rgba(79, 70, 229, 0.35);
}

:root[data-theme="light"] .project-image,
:root[data-theme="light"] .project-video {
  border-color: rgba(17, 17, 17, 0.05);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

@media (min-width: 900px) {
  .editorial-project,
  .about-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
  }

  .capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .editorial-photo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-section {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .video-feature {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 2.5rem;
  }

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

  .photo-page-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }

  .photo-page-primary {
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: min(1200px, calc(100% - 1.5rem));
    margin-top: 1rem;
    top: 0.75rem;
  }

  .site-nav-frame {
    gap: 0.65rem;
    padding: 0.46rem 0.64rem;
    flex-wrap: wrap;
  }

  main {
    width: min(1200px, calc(100% - 1.5rem));
    margin-bottom: 6rem;
  }

  .editorial-hero,
  .subpage-hero {
    min-height: auto;
    padding: 1rem 0 2rem;
  }

  .editorial-section {
    padding: 4rem 0;
  }

  .editorial-work {
    padding-top: 5rem;
  }

  .section-media,
  .section-tight {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .editorial-project-visual {
    min-height: 320px;
  }

  .editorial-project-detail {
    width: min(42%, 180px);
  }

  .project-section {
    padding: 4rem 0;
  }

  .closing-section {
    padding-top: 4rem;
  }

  .theme-toggle {
    right: 0.9rem;
    bottom: 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal-visible,
  .project-image,
  .project-video {
    opacity: 1 !important;
    transform: none !important;
  }
}
