:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0c;
  --surface: #171715;
  --surface-strong: #20201d;
  --text: #f1eee8;
  --muted: #aaa69e;
  --line: #33322f;
  --accent: #ce2d31;
  --accent-ink: #ffffff;
  --image-filter: brightness(0.88) saturate(0.86);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f0e9;
  --surface: #faf8f3;
  --surface-strong: #e8e3da;
  --text: #181714;
  --muted: #66625b;
  --line: #cbc5bb;
  --accent: #b82027;
  --accent-ink: #ffffff;
  --image-filter: saturate(0.9) contrast(1.02);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  transition: background-color 240ms ease, color 240ms ease;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  align-items: center;
  width: 100%;
  min-height: 5.25rem;
  padding: 0 2.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 1;
}

.brand-accent {
  color: var(--accent);
}

.brand small {
  margin-left: 0.75rem;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
}

.main-nav a {
  transition: color 160ms ease;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}

.theme-toggle__track {
  position: relative;
  display: block;
  width: 2.25rem;
  height: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--text);
  transition: transform 180ms ease;
}

:root[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(1rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(26rem, 0.87fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: 100svh;
  max-width: 100rem;
  margin: 0 auto;
  padding: 8rem 3.5rem 3.5rem;
}

.hero__copy {
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 1.8rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-stretch: condensed;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 7vw, 8.2rem);
}

.hero__lead {
  max-width: 36rem;
  margin: 2.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 12rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--text);
}

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

.button--quiet {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 39rem;
  margin: 4.2rem 0 0;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  padding: 1rem 0.5rem 0 0;
}

.hero__facts dt {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
}

.hero__facts dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero__visual {
  width: 100%;
  max-width: 46rem;
  margin: 0;
  justify-self: end;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.88;
  background: var(--surface);
}

.hero__image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.hero__image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
  filter: var(--image-filter);
  transform: scale(1.012);
}

.archive-mark {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.65rem;
  background: rgba(12, 12, 11, 0.78);
  color: #f8f5ef;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.hero__visual figcaption span:first-child {
  color: var(--text);
  font-weight: 600;
}

.section {
  max-width: 100rem;
  margin: 0 auto;
  padding: 9rem 3.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(19rem, 1.15fr) minmax(15rem, 0.7fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.35rem;
}

.project-card {
  grid-column: span 4;
}

.project-card--tall {
  grid-column: span 4;
}

.project-card--wide {
  grid-column: span 8;
}

.project-card__image {
  overflow: hidden;
  aspect-ratio: 1.15;
  background: var(--surface);
}

.project-card--tall .project-card__image {
  aspect-ratio: 0.82;
}

.project-card--wide .project-card__image {
  aspect-ratio: 1.75;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  filter: var(--image-filter);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 220ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
  filter: none;
}

.project-card__meta {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.project-card__meta > span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
}

.project-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

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

.section-heading--compact {
  margin-bottom: 5rem;
}

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

.audience-card {
  min-height: 30rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.audience-card--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.audience-card > span,
.process__steps article > span {
  display: block;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience-card--accent > span {
  color: var(--accent-ink);
}

.audience-card h3 {
  max-width: 10ch;
  margin: 7rem 0 1.4rem;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
}

.audience-card p {
  max-width: 27rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.audience-card--accent p,
.audience-card--accent li {
  color: color-mix(in srgb, var(--accent-ink) 86%, transparent);
}

.audience-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 2.1rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  list-style: none;
}

.audience-card--accent ul {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.process {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(30rem, 1.35fr);
  gap: clamp(4rem, 9vw, 10rem);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.process__intro h2,
.contact h2 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-size: clamp(3.8rem, 6.6vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

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

.process__steps article {
  display: grid;
  grid-template-columns: minmax(7rem, 0.45fr) minmax(12rem, 0.85fr) minmax(15rem, 1.2fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.process__steps h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.process__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

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

.master__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.65;
  min-height: 38rem;
  background: var(--surface);
}

.master__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 8, 7, 0.78) 100%);
  content: "";
}

.master__visual img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: var(--image-filter);
  transform: scale(1.045);
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.master__visual.is-visible img {
  transform: scale(1);
}

.master__identity {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  bottom: clamp(2rem, 5vw, 5rem);
  left: clamp(2rem, 5vw, 5rem);
  z-index: 1;
  color: #f7f3ec;
}

.master__identity .eyebrow {
  color: #f7f3ec;
}

.master__identity h2 {
  max-width: none;
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-size: clamp(4.2rem, 8.5vw, 9.4rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.master__identity > p:last-child {
  margin: 1.2rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.master__statement {
  display: grid;
  grid-template-columns: minmax(24rem, 1.2fr) minmax(18rem, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  margin-top: 4rem;
}

.master blockquote {
  max-width: 18ch;
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.master__statement > p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(5.5rem) scale(0.985);
  transition:
    opacity 1.35s ease,
    transform 1.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .master__statement[data-reveal] {
  transition-delay: 140ms;
}

.contact {
  max-width: calc(100rem - 7rem);
  padding: 5rem;
  background: var(--accent);
  color: var(--accent-ink);
}

.contact .eyebrow {
  color: var(--accent-ink);
}

.contact__headline {
  display: grid;
  grid-template-columns: minmax(24rem, 1.2fr) minmax(18rem, 0.8fr);
  gap: 4rem;
  align-items: end;
}

.contact h2 {
  max-width: 11ch;
}

.contact__mail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  line-height: 1.65;
}

.contact__details address,
.contact__details > div {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.contact__details span {
  margin-bottom: 0.65rem;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
  max-width: 100rem;
  margin: 0 auto;
  padding: 4rem 3.5rem 3rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.brand--footer {
  color: var(--text);
  font-size: 1.3rem;
}

.site-footer > p {
  margin: 0;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links details {
  position: relative;
}

.footer-links summary {
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.footer-links summary::-webkit-details-marker {
  display: none;
}

.legal-copy {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  z-index: 10;
  width: min(31rem, calc(100vw - 3rem));
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.22);
  font-size: 0.74rem;
  line-height: 1.6;
}

.legal-copy p {
  margin: 0 0 0.9rem;
}

.legal-copy strong,
.legal-copy__title {
  color: var(--text);
  font-weight: 600;
}

.legal-copy__title {
  letter-spacing: 0.04em;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 1.5rem;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 9rem 1.5rem 4rem;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero__visual {
    max-width: 100%;
  }

  .hero__image-wrap {
    aspect-ratio: 1.2;
  }

  .section {
    padding: 7rem 1.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: auto;
  }

  .audience-card h3 {
    margin-top: 4rem;
  }

  .process,
  .master__statement {
    grid-template-columns: 1fr;
  }

  .master__visual {
    min-height: 34rem;
  }

  .contact {
    max-width: calc(100% - 3rem);
    padding: 3.5rem;
  }

  .contact__headline {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-inline: 1.5rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 4.6rem;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand small {
    display: none;
  }

  .theme-toggle > span:last-child {
    display: none;
  }

  .hero {
    gap: 3.5rem;
    padding-top: 7.7rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 0;
    margin-top: 3rem;
  }

  .hero__visual figcaption {
    flex-direction: column;
    gap: 0.25rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 3.2rem;
  }

  .project-card,
  .project-card--tall,
  .project-card--wide {
    grid-column: 1 / -1;
  }

  .project-card__image,
  .project-card--wide .project-card__image,
  .project-card--tall .project-card__image {
    aspect-ratio: 1.2;
  }

  .audience-card {
    padding: 1.2rem;
  }

  .audience-card h3 {
    margin-top: 3.5rem;
  }

  .process__steps article {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .process__intro h2,
  .contact h2 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .master {
    padding-inline: 1rem;
  }

  .master__visual {
    aspect-ratio: 0.82;
    min-height: 0;
  }

  .master__visual img {
    object-position: 58% 50%;
  }

  .master__identity {
    right: 1.25rem;
    bottom: 1.5rem;
    left: 1.25rem;
  }

  .master__identity h2 {
    font-size: clamp(3.7rem, 17vw, 5.6rem);
  }

  .master__statement {
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .contact {
    max-width: calc(100% - 2rem);
    padding: 2.4rem 1.2rem;
  }

  .contact__headline {
    gap: 2.5rem;
  }

  .contact__details {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .legal-copy {
    right: auto;
    left: 0;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
