:root {
  --bg: #0a0a0a;
  --panel: #101010;
  --text: #f2f2f2;
  --muted: #9d9d9d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #ffffff;
  --max: 1680px;
  --pad: clamp(16px, 2.2vw, 32px);
  --grid: repeat(12, minmax(0, 1fr));
  --radius: 0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 100% 120px,
    var(--bg);
  color: var(--text);
  cursor: none;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 34%),
              radial-gradient(circle at 80% 30%, rgba(255,255,255,0.035), transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

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

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.site-header,
.section-block,
.hero,
.site-footer,
.marquee-band {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand,
.hero h1,
.section-head h2,
.project-info h3,
.principle h3,
.contact-shell h2 {
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.brand {
  font-size: 1rem;
  line-height: 1;
}

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

.top-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-nav a,
.header-cta,
.primary-link,
.contact-mail,
.site-footer a {
  position: relative;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-nav a::after,
.header-cta::after,
.primary-link::after,
.contact-mail::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.top-nav a:hover::after,
.header-cta:hover::after,
.primary-link:hover::after,
.contact-mail:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
}

.grid-shell {
  display: grid;
  grid-template-columns: var(--grid);
  gap: 18px;
}

.hero {
  min-height: calc(100svh - 84px);
  align-items: end;
  padding-top: clamp(36px, 6vw, 90px);
  padding-bottom: clamp(28px, 4vw, 54px);
}

.hero-copy {
  grid-column: 1 / span 7;
  display: grid;
  gap: 18px;
  align-self: start;
}

.eyebrow,
.section-index,
.metric-label,
.project-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  max-width: 9ch;
}

.hero h1 span {
  display: block;
  color: #737373;
}

.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 760px;
  padding-top: 8px;
  border-top: 1px solid var(--line-strong);
}

.hero-meta p,
.section-note,
.statement p,
.principle p,
.studio-bio p,
.project-info p,
.contact-copy,
.hero-aside strong,
.site-footer p {
  margin: 0;
  color: #cfcfcf;
  line-height: 1.5;
}

.hero-media {
  grid-column: 8 / span 5;
  align-self: end;
  margin: 0;
  min-height: 72vh;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media img,
.studio-image img {
  height: 100%;
}

.hero-aside {
  grid-column: 1 / span 3;
  display: grid;
  gap: 12px;
  align-self: end;
}

.metric-block {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 12px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #d8d8d8;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33%); }
}

.section-block {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(36px, 5vw, 70px);
}

.section-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 360px);
  gap: 18px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.project-card {
  grid-column: span 4;
  display: grid;
  gap: 14px;
  align-content: start;
}

.project-card img {
  min-height: 420px;
  border: 1px solid var(--line);
}

.project-card--xl {
  grid-column: span 8;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 18px;
}

.project-card--xl img {
  min-height: 620px;
}

.project-card--quote {
  display: flex;
  align-items: end;
  justify-content: start;
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
}

.project-card--quote p {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.project-info {
  display: grid;
  align-content: start;
  gap: 10px;
}

.project-info h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.95;
}

.philosophy-layout,
.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.statement {
  grid-column: 1 / span 5;
}

.statement p {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.14;
  color: #e8e8e8;
  max-width: 16ch;
}

.principles {
  grid-column: 7 / span 6;
  display: grid;
  gap: 0;
}

.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principle h3 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.studio-bio {
  grid-column: 1 / span 5;
  display: grid;
  gap: 18px;
}

.studio-bio .lead {
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.1;
  color: #efefef;
  max-width: 16ch;
}

.studio-stats {
  grid-column: 6 / span 3;
  display: grid;
  gap: 12px;
  align-content: start;
}

.studio-stats div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.studio-stats strong {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.9;
}

.studio-stats span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.studio-image {
  grid-column: 9 / span 4;
  margin: 0;
  min-height: 560px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-shell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.35fr) minmax(240px, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.contact-shell h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.92;
  max-width: 8ch;
}

.contact-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 40;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cursor--outer {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  mix-blend-mode: difference;
}

.cursor--inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
}

body.cursor-hover .cursor--outer {
  width: 54px;
  height: 54px;
  border-color: rgba(255,255,255,0.5);
}

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

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

.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .tilt-card,
  .cursor,
  .marquee-track,
  .top-nav a::after,
  .header-cta::after,
  .primary-link::after,
  .contact-mail::after,
  .site-footer a::after {
    transition: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-copy,
  .hero-media,
  .hero-aside,
  .statement,
  .principles,
  .studio-bio,
  .studio-stats,
  .studio-image {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 58vh;
  }

  .hero-meta,
  .section-head,
  .contact-shell,
  .project-card--xl {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--xl,
  .project-card--quote {
    grid-column: span 12;
  }

  .studio-image {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
    background:
      linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 25% 100%,
      linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px) 0 0 / 100% 100px,
      var(--bg);
  }

  .cursor {
    display: none;
  }

  .site-header {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .top-nav {
    justify-content: start;
    gap: 14px 18px;
  }

  .header-cta {
    justify-self: start;
  }

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

  .hero-media {
    min-height: 44vh;
  }

  .project-card img,
  .project-card--xl img,
  .studio-image {
    min-height: 300px;
  }

  .statement p,
  .studio-bio .lead {
    max-width: none;
  }

  .principle {
    grid-template-columns: 42px 1fr;
  }

  .contact-shell h2 {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --pad: 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-meta {
    gap: 14px;
  }

  .top-nav a,
  .header-cta,
  .primary-link,
  .contact-mail,
  .site-footer a {
    font-size: 0.78rem;
  }

  .project-card--quote {
    min-height: 220px;
  }

  .project-card--quote p {
    max-width: 100%;
  }
}
