:root {
  --bg: #0b0b0c;
  --surface: #111113;
  --surface-2: #171719;
  --text: #f1eee8;
  --muted: #98958e;
  --line: rgba(241, 238, 232, .15);
  --line-strong: rgba(241, 238, 232, .30);
  --accent: #c84e3a;
  --accent-soft: rgba(200, 78, 58, .15);
  --inverse: #0b0b0c;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 68px);
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --ease: cubic-bezier(.22,.8,.18,1);
}

html[data-theme="light"] {
  --bg: #ece8e0;
  --surface: #f3f0ea;
  --surface-2: #e4dfd5;
  --text: #141413;
  --muted: #6d6962;
  --line: rgba(20, 20, 19, .14);
  --line-strong: rgba(20, 20, 19, .27);
  --accent: #a4382d;
  --accent-soft: rgba(164, 56, 45, .12);
  --inverse: #f3f0ea;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 5%, var(--accent-soft), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: clip;
  transition: background .4s ease, color .4s ease;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button { font: inherit; }

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-orb {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1px solid var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .2s ease, height .2s ease, opacity .2s ease, border-color .2s ease;
}

@media (pointer:fine) {
  .cursor-orb { opacity: .35; }
}

.section-shell {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  font-size: .72rem;
  letter-spacing: .08em;
}

.brand-name { font-size: .9rem; }

.main-nav {
  display: flex;
  gap: 28px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.main-nav a,
.menu-link,
.theme-toggle {
  opacity: .76;
  transition: opacity .25s ease, transform .25s ease;
}

.main-nav a:hover,
.menu-link:hover,
.theme-toggle:hover { opacity: 1; }

.topbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.icon { font-size: 1rem; }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: clamp(30px, 7vw, 120px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.about-sticky h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .94;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(4rem, 8vw, 8.9rem);
}

.hero h1 em,
.contact h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  max-width: 600px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--text);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: transform .35s var(--ease), background .35s ease, color .35s ease;
}

.button-dark {
  background: var(--text);
  color: var(--inverse);
}

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

.text-link {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 700px;
  margin-top: 75px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-facts div {
  display: grid;
  gap: 4px;
}

.hero-facts span,
.hero-facts strong {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-facts span { color: var(--muted); }
.hero-facts strong { font-weight: 700; }

.hero-portrait {
  justify-self: end;
  width: min(100%, 530px);
}

.portrait-frame {
  position: relative;
  aspect-ratio: .82;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--surface-2), transparent 60%),
    var(--surface);
}

.portrait-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.portrait-initials {
  font-family: var(--display);
  font-size: clamp(6rem, 14vw, 11rem);
  letter-spacing: -.1em;
  opacity: .14;
  transform: translateY(-10%);
}

.portrait-note {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.4;
  letter-spacing: .14em;
}

.portrait-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-top: 1px solid var(--line);
  font-size: .62rem;
  letter-spacing: .13em;
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.scroll-line {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-line span {
  display: block;
  width: 32%;
  height: 100%;
  background: var(--text);
  animation: scrollSweep 2.6s infinite var(--ease);
}

@keyframes scrollSweep {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(420%); }
}

.statement {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 6vw, 120px);
  padding-top: 180px;
  padding-bottom: 210px;
}

.statement-index {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1rem;
}

.statement-copy { max-width: 1000px; }

.statement-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.work { padding-bottom: 160px; }

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .6fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(3.1rem, 6vw, 6.2rem);
}

.section-sidecopy {
  max-width: 420px;
  justify-self: end;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.featured-work {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items: start;
}

.project-card { min-width: 0; }

.project-image {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);

    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.project-card:hover .project-image img,
.wall-item:hover img { transform: scale(1.04); }

.image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  pointer-events: none;
}

.project-number,
.project-type {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 7px 9px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: .62rem;
  letter-spacing: .13em;
}

.project-number { left: 18px; }
.project-type { right: 18px; }

.project-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
  gap: 25px;
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--line);
}

.project-info h3 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 500;
}

.project-info p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
}

.project-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .61rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.work-wall {
  margin-top: 95px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: start;
}

.wall-item {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.wall-item img {
  width: 100%;
  height: auto;
}

.wall-a { grid-column: 1 / span 4; margin-top: 50px; }
.wall-b { grid-column: 5 / span 3; margin-top: -10px; }
.wall-c { grid-column: 8 / span 5; margin-top: 100px; }
.wall-d { grid-column: 2 / span 5; margin-top: 120px; }
.wall-e { grid-column: 8 / span 4; margin-top: 10px; }
.wall-f { grid-column: 1 / span 3; margin-top: 40px; }
.wall-g { grid-column: 4 / span 4; margin-top: -80px; }
.wall-h { grid-column: 9 / span 3; margin-top: 80px; }
.wall-i { grid-column: 2 / span 4; margin-top: 30px; }
.wall-j { grid-column: 7 / span 5; margin-top: 150px; }
.wall-k { grid-column: 1 / span 4; margin-top: 80px; }
.wall-l { grid-column: 5 / span 4; margin-top: -40px; }
.wall-m { grid-column: 10 / span 3; margin-top: 90px; }
.wall-n { grid-column: 2 / span 5; margin-top: 100px; }
.wall-o { grid-column: 8 / span 4; margin-top: 40px; }
.wall-p { grid-column: 1 / span 3; margin-top: -60px; }

.archive-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 75px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .15em;
}

.services {
  padding: 160px 0 170px;
  border-top: 1px solid var(--line);
}

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

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 34px;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s ease;
}

.service-row:hover { padding-left: 14px; padding-right: 14px; background: color-mix(in srgb, var(--surface) 68%, transparent); }

.service-id {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .13em;
}

.service-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  letter-spacing: -.04em;
  font-weight: 500;
}

.service-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.service-row .icon {
  justify-self: end;
  font-size: 1.2rem;
}

.about {
  padding: 165px 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  gap: clamp(50px, 8vw, 150px);
}

.about-sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}

.about-sticky h2 { font-size: clamp(3rem, 5.2vw, 5.4rem); }

.about-logo {
  width: 155px;
  height: 155px;
  margin-top: 60px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.about-logo img {
  max-width: 74%;
  max-height: 74%;
  opacity: .88;
}

.about-lead {
  margin: 0;
  max-width: 850px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 50px;
  margin-top: 110px;
}

.about-columns h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.about-columns p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

.timeline {
  position: relative;
  margin-top: 120px;
  border-top: 1px solid var(--line);
}

.timeline-line {
  position: absolute;
  top: -1px;
  left: 16%;
  width: 1px;
  height: calc(100% + 1px);
  background: var(--line);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 16% 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-entry > span {
  color: var(--accent);
  font-size: .64rem;
  letter-spacing: .13em;
}

.timeline-entry strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.timeline-entry p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.stack-section {
  padding: 160px 0;
  border-top: 1px solid var(--line);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stack-cell {
  min-height: 170px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, transform .35s var(--ease);
}

.stack-cell:hover {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transform: translateY(-4px);
}

.stack-cell span,
.stack-cell small {
  color: var(--muted);
  font-size: .61rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stack-cell strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.75rem);
  letter-spacing: -.035em;
  font-weight: 500;
}

.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  gap: 45px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  letter-spacing: -.06em;
  white-space: nowrap;
}

.marquee-track span:nth-child(5n+1) { color: var(--accent); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.contact {
  padding: 190px 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: end;
}

.contact h2 { font-size: clamp(4rem, 7vw, 7.5rem); }

.contact-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: .94rem;
}

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

.contact-line {
  display: grid;
  grid-template-columns: 74px 1fr 24px;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.contact-line strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-line:hover strong { color: var(--accent); }

.contact-note {
  padding-top: 35px;
}

.contact-note span {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .13em;
}

.contact-note p {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.3;
}

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

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-name {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 8rem);
  line-height: .85;
  letter-spacing: -.07em;
}

.footer-meta,
.footer-bottom {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

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

.delay-1 { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor-orb { display: none; }
}

@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; width: min(72vw, 520px); }
  .section-heading,
  .contact-grid { grid-template-columns: 1fr; }
  .section-sidecopy { justify-self: start; }
  .project-info { grid-template-columns: 1fr; gap: 5px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: relative; top: auto; }
  .about-logo { margin-top: 30px; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  .topbar { padding-top: 12px; padding-bottom: 12px; }
  .brand-name { display: none; }
  .theme-label { display: none; }
  .menu-link span { display: none; }

  .hero { padding-top: 100px; min-height: auto; }
  .hero h1 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .hero-intro { font-size: .93rem; }
  .hero-facts { margin-top: 55px; grid-template-columns: 1fr; gap: 12px; }
  .hero-portrait { width: 100%; margin-top: 45px; }
  .hero-scroll { position: relative; margin-top: 60px; }

  .statement {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 130px;
  }

  .statement-text { font-size: clamp(2rem, 9.5vw, 3.6rem); }

  .featured-work { grid-template-columns: 1fr; }
  .project-wide,
  .project-square { grid-column: auto; }

  .work-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 55px;
  }

  .wall-item,
  .wall-a, .wall-b, .wall-c, .wall-d, .wall-e, .wall-f, .wall-g, .wall-h,
  .wall-i, .wall-j, .wall-k, .wall-l, .wall-m, .wall-n, .wall-o, .wall-p {
    grid-column: auto;
    margin-top: 0;
  }

  .wall-item:nth-child(3n+1) { margin-top: 30px; }
  .wall-item:nth-child(4n+1) { transform: translateY(-15px); }

  .archive-note { display: grid; }

  .services { padding: 120px 0; }
  .service-row { grid-template-columns: 38px 1fr; }
  .service-row .icon { display: none; }
  .service-row p { max-width: 540px; }

  .about { padding: 120px 0; }
  .about-lead { font-size: clamp(2.2rem, 10vw, 4rem); }
  .about-columns { grid-template-columns: 1fr; gap: 42px; margin-top: 75px; }
  .timeline { margin-top: 85px; }
  .timeline-entry { grid-template-columns: 22% 1fr; }
  .timeline-line { left: 22%; }

  .stack-section { padding: 120px 0; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-cell { min-height: 140px; padding: 15px; }

  .contact { padding: 125px 0; }
  .contact h2 { font-size: clamp(3.6rem, 16vw, 6.2rem); }
  .contact-line { grid-template-columns: 60px 1fr; }
  .contact-line .icon { display: none; }

  .footer-top { display: grid; }
  .footer-meta { justify-self: start; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 3.45rem; }
  .section-heading h2 { font-size: 3rem; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .portrait-meta { display: grid; gap: 3px; }
}
