:root {
  --paper: #f3efe6;
  --ink: #070707;
  --logo-black: #000000;
  --panel: #11100e;
  --muted: #a9a095;
  --line: rgba(210, 178, 112, 0.22);
  --gold: #c7a56a;
  --gold-light: #ead39d;
  --smoke: #d7d0c4;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.has-intro {
  background: var(--logo-black);
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 0%, rgba(199, 165, 106, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.05), transparent 520px);
}

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

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

button {
  border: 0;
  font: inherit;
}

.intro-logo {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--logo-black);
  cursor: pointer;
  line-height: 0;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.intro-logo.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: -28px;
}

.intro-logo img {
  width: min(82vw, 820px);
  height: auto;
  max-height: 82svh;
  object-fit: contain;
  border-radius: 0;
  opacity: 0;
  animation: introLogoMark 1.2s ease forwards;
}

@keyframes introLogoMark {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  35%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(234, 211, 157, 0.24);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(18px);
  color: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav a,
.header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
}

.nav a:hover {
  color: var(--gold-light);
}

.header-action:hover {
  background: var(--paper);
  color: var(--ink);
}

.header-action {
  justify-self: end;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-weight: 800;
}

.menu-button {
  display: none;
}

.section {
  width: min(100% - 32px, 1440px);
  margin: 0 auto;
}

.intro,
.stats,
.work,
.services,
.process,
.clients,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr;
  padding: 112px 0 32px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 1180px;
  padding: 0 0 clamp(92px, 13vh, 150px);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.82) 45%, rgba(7, 7, 7, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.42), rgba(7, 7, 7, 0.96));
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-inline: max(16px, calc((100vw - 1440px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1180px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 144px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 760px;
  color: rgba(243, 239, 230, 0.78);
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.18;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: 0;
  background: var(--ink);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.95;
}

.hero-caption {
  position: absolute;
  right: max(16px, calc((100vw - 1440px) / 2));
  bottom: 28px;
  display: flex;
  gap: 16px;
  color: rgba(243, 239, 230, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro,
.ai-statement,
.services,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 120px 0;
}

.ai-statement {
  align-items: stretch;
  width: min(100% - 32px, 1440px);
}

.ai-label,
.ai-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-label {
  position: relative;
  height: clamp(760px, 76vw, 1040px);
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(234, 211, 157, 0.14), transparent 34%),
    var(--ink);
  color: var(--paper);
  cursor: none;
}

.ai-label::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.88), transparent 24%, transparent 72%, rgba(7, 7, 7, 0.9)),
    radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(7, 7, 7, 0.38) 72%);
}

.ai-matrix {
  position: absolute;
  z-index: 1;
  inset: 0;
  isolation: isolate;
}

.ai-matrix::before {
  content: "";
  position: absolute;
  inset: clamp(28px, 8%, 54px) clamp(18px, 8%, 62px);
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0 24%, rgba(0, 0, 0, 0.54) 42%, rgba(0, 0, 0, 0.12) 64%, transparent 74%),
    radial-gradient(ellipse at center, rgba(234, 211, 157, 0.18), transparent 58%);
  filter: blur(2px);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 520ms ease, transform 520ms ease;
}

.ai-label.is-filled .ai-matrix::before,
.ai-label.is-easter .ai-matrix::before {
  opacity: 1;
  transform: scale(1);
}

.matrix-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: none;
}

.ai-label-caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 28px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ai-copy {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: clamp(760px, 76vw, 1040px);
  min-height: 760px;
  padding: clamp(34px, 4.2vw, 56px);
  background: rgba(255, 255, 255, 0.58);
}

.ai-copy h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.96;
}

.ai-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.28;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.6vw, 88px);
  line-height: 0.94;
  font-weight: 900;
}

.intro-text {
  align-self: end;
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.18;
}

.intro-text p {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats article {
  min-height: 190px;
  padding: 22px;
  background: var(--panel);
  color: var(--paper);
}

.stats strong {
  display: block;
  font-size: clamp(58px, 8vw, 124px);
  line-height: 0.85;
}

.stats span {
  color: var(--gold-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work,
.process,
.clients {
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--ink);
}

.text-link:hover {
  background: var(--ink);
  color: var(--gold-light);
}

.work-list {
  display: grid;
  gap: 12px;
}

.work-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.work-item span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-item strong {
  font-size: clamp(24px, 4vw, 64px);
  line-height: 0.98;
}

.work-item:hover {
  color: var(--paper);
  background: var(--ink);
}

.services {
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-lead p:last-child {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.25;
}

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

.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.service-row strong {
  font-size: clamp(24px, 3vw, 42px);
}

.service-row em {
  color: var(--muted);
  font-style: normal;
}

.service-row.is-open strong {
  color: var(--gold);
}

.service-panel {
  display: none;
  padding: 0 0 26px 68px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.35;
}

.service-row.is-open + .service-panel {
  display: block;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.process-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.process-grid article:nth-child(2) {
  background: #201c16;
}

.process-grid article:nth-child(3) {
  background: linear-gradient(135deg, #15120f, #5b4727);
}

.process-grid article:nth-child(4) {
  background: var(--gold-light);
  color: var(--ink);
}

.process-grid span {
  font-weight: 900;
}

.process-grid h3 {
  margin-bottom: 12px;
  font-size: 32px;
}

.process-grid p {
  margin-bottom: 0;
  line-height: 1.35;
}

.clients {
  padding: 120px 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.client-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--paper);
}

.client-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  align-self: center;
  filter: grayscale(1) invert(1) brightness(1.2) contrast(0.92);
}

.client-card span {
  color: rgba(243, 239, 230, 0.66);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-card--type strong {
  margin-top: auto;
  margin-bottom: auto;
  color: var(--paper);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

.client-card--type strong span {
  color: var(--gold);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.client-card--wide {
  grid-column: span 2;
}

.client-card:hover {
  background: linear-gradient(135deg, #15120f, #3c2f1d);
}

.client-card:hover img {
  filter: grayscale(0) brightness(1.05) contrast(1);
}

.client-card--white-logo img,
.client-card--white-logo:hover img {
  filter: none;
}

.contact {
  min-height: 70svh;
  align-items: end;
}

.contact-copy p:not(.section-kicker) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 24px;
}

.contact-side {
  justify-self: end;
  max-width: 420px;
  width: 100%;
}

.contact-logo {
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-logo img {
  width: 100%;
  height: auto;
}

.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--paper);
  font-size: 22px;
  line-height: 1.35;
}

.contact-card > span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-action {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(234, 211, 157, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.contact-action:hover {
  border-color: rgba(234, 211, 157, 0.52);
  background: rgba(234, 211, 157, 0.1);
}

.contact-action svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.contact-action span {
  color: var(--paper);
  font-size: 18px;
  font-weight: 800;
}

.contact-imprint {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-light);
  font-size: 15px;
}

.subpage {
  background: var(--ink);
  color: var(--paper);
}

.subpage::before {
  background:
    radial-gradient(circle at 70% 10%, rgba(199, 165, 106, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(243, 239, 230, 0.04), transparent 480px);
}

.imprint-hero {
  padding-top: 150px;
  padding-bottom: 70px;
}

.imprint-hero h1 {
  max-width: 1100px;
}

.imprint-simple {
  max-width: 960px;
  padding-top: 150px;
  padding-bottom: 120px;
}

.imprint-box {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.imprint-box h1 {
  max-width: 720px;
  margin-bottom: 48px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
}

.imprint-box h2 {
  margin: 30px 0 10px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.2;
}

.imprint-box p {
  margin-bottom: 18px;
  color: rgba(243, 239, 230, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

.imprint-box a {
  color: var(--gold-light);
}

.imprint-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 120px;
}

.imprint-content article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.imprint-content h2 {
  margin-bottom: 30px;
  color: var(--gold);
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1;
}

.imprint-content p {
  margin-bottom: 18px;
  color: rgba(243, 239, 230, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.imprint-content a {
  color: var(--gold-light);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(243, 239, 230, 0.66);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .nav {
    position: absolute;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 24px;
    background: var(--ink);
  }

  .site-header.is-open .nav a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(234, 211, 157, 0.16);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--white);
  }

  .menu-button span + span {
    margin-top: -12px;
  }

  .section-heading,
  .intro,
  .ai-statement,
  .services,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-caption {
    position: static;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-bottom: 18px;
  }

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

  .work-item {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row {
    grid-template-columns: 38px 1fr;
  }

  .service-row em {
    grid-column: 2;
  }

  .service-panel {
    padding-left: 58px;
  }

  .contact-card {
    justify-self: stretch;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  .intro,
  .ai-statement,
  .services,
  .work,
  .process,
  .clients,
  .contact {
    padding-block: 72px;
  }

  .ai-label {
    height: clamp(420px, 118vw, 680px);
    min-height: 420px;
  }

  .ai-copy {
    height: auto;
    min-height: 0;
  }

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

  .stats article,
  .process-grid article {
    min-height: 210px;
  }

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

  .client-card,
  .client-card--wide {
    grid-column: auto;
  }

  .client-card {
    min-height: 190px;
  }

  .intro-logo img {
    width: 78vw;
  }

  .imprint-content {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .imprint-hero {
    padding-top: 118px;
    padding-bottom: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo {
    transition: none;
  }

  .intro-logo img {
    animation: none;
    opacity: 1;
  }

}
