:root {
  color-scheme: dark;
  --bg: #030303;
  --text: #f4f4f4;
  --muted: #8d8d8d;
  --soft: #171717;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }



.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .025;
  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='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  height: 72px;
  background: linear-gradient(to bottom, rgba(3,3,3,.82), rgba(3,3,3,.2), transparent);
  backdrop-filter: blur(8px);
}
.nav-wrap { height: 72px; }
.brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.desktop-nav { gap: 30px; }
.desktop-nav a,
.back-link {
  color: #9b9b9b;
  font-size: 12px;
  transition: color .2s ease;
}
.desktop-nav a:hover,
.back-link:hover { color: #fff; }

.menu-button {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu-button span {
  position: absolute;
  left: 7px;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: transform .25s ease, top .25s ease;
}
.menu-button span:first-child { top: 13px; }
.menu-button span:last-child { top: 20px; }
.menu-button[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); }
.mobile-nav {
  position: fixed;
  inset: 72px 0 0;
  z-index: 49;
  padding: 28px 20px;
  background: rgba(3,3,3,.99);
  border-top: 1px solid var(--line);
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
}

/* Custom cursor: a rotating diamond frame with a precise center point. */
.cursor,
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
}
.cursor {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.76);
  transform: translate(-50%, -50%) rotate(45deg);
  mix-blend-mode: difference;
  transition: width .22s ease, height .22s ease, border-radius .22s ease, background .22s ease, opacity .2s ease;
}
.cursor::before,
.cursor::after {
  content: "";
  position: absolute;
  background: #fff;
  opacity: .55;
}
.cursor::before { width: 5px; height: 1px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.cursor::after { width: 1px; height: 5px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.cursor-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: 0;
}
.cursor.is-hovering {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border-color: #fff;
}
.cursor.is-hovering::before,
.cursor.is-hovering::after { opacity: 0; }
.cursor.is-hovering .cursor-label { opacity: 1; color: #000; }
.cursor.is-visible,
.cursor-dot.is-visible { opacity: 1; }

.hero-full {
  position: relative;
  min-height: 100svh;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
#mobius-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  filter: contrast(1.08) brightness(1);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,3,3,.91) 0%, rgba(3,3,3,.56) 25%, rgba(3,3,3,.08) 58%, rgba(3,3,3,.16) 100%),
    linear-gradient(0deg, rgba(3,3,3,.78) 0%, transparent 24%, transparent 76%, rgba(3,3,3,.4) 100%);
}
.hero-inner {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 52px;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: #979797;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.hero h1 {
  margin: 0;
  font-size: clamp(76px, 13.5vw, 194px);
  line-height: .76;
  letter-spacing: -.08em;
  font-weight: 850;
  transform: translateX(-.055em);
}
.hero-copy p {
  margin: 32px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  color: #b5b5b5;
}
.hero-scroll {
  position: absolute;
  left: 2rem;
  bottom: 31px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9a9a9a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}
.hero-scroll span:last-child { color: #fff; }

.section-shell { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 31px;
}
.section-head > span {
  color: #5f5f5f;
  font-size: 10px;
  letter-spacing: .1em;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 750;
}
.section-head p,
.section-link {
  margin: 0;
  color: #777;
  font-size: 11px;
}
.section-link { color: #aaa; }
.section-link:hover { color: #fff; }

/* Work: large project panels with an abstract perspective plane, not card clutter. */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 14px;
}
.project-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070707;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d;
}
.project-card:nth-child(3n+1) { grid-column: span 7; }
.project-card:nth-child(3n+2) { grid-column: span 5; }
.project-card:nth-child(3n+3) { grid-column: span 12; min-height: 270px; }
.project-card:hover { border-color: var(--line-strong); }
.project-top,
.project-bottom { position: relative; z-index: 3; }
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.project-number { color: #666; font-size: 10px; letter-spacing: .12em; }
.project-arrow { font-size: 18px; transition: transform .25s ease; }
.project-card:hover .project-arrow { transform: translate(4px,-4px); }
.project-category {
  margin-bottom: 10px;
  color: #777;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 700;
}
.project-card p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #898989;
  font-size: 12px;
  line-height: 1.55;
}
.project-year { margin-top: 20px; color: #626262; font-size: 10px; }
.blog-section { background: #050505; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
}
.blog-card {
  min-height: 290px;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background .25s ease;
}
.blog-card:last-child { border-right: 0; }
.blog-card:hover { background: #0b0b0b; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  color: #686868;
  font-size: 9px;
  letter-spacing: .08em;
}
.blog-card h3 {
  margin: 62px 0 14px;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 650;
}
.blog-card p {
  margin: 0;
  color: #848484;
  font-size: 12px;
  line-height: 1.55;
}
.blog-card-arrow { margin-top: auto; padding-top: 25px; font-size: 18px; }

.about-section { padding: 94px 0; }
.about-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 42px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-index {
  padding-top: 8px;
  color: #686868;
  font-size: 10px;
  letter-spacing: .13em;
}
.about-copy-simple {
  max-width: 900px;
  padding-left: 0;
}
.about-copy-simple > p {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 600;
}
.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  color: #777;
  font-size: 9px;
  letter-spacing: .13em;
}

.contact-section { padding-bottom: 48px; }
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 55px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(54px, 10vw, 140px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.07em;
}
.contact-link > span:last-child { font-size: .3em; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.contact-link:hover > span:last-child { transform: translate(10px,-10px); }
.social-row {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 26px;
  color: #686868;
  font-size: 11px;
}
.social-row a { color: #a3a3a3; }
.social-row a:hover { color: #fff; }
.social-row span { margin-left: auto; }

/* Blog index and full article */
.blog-main { padding-top: 145px; padding-bottom: 100px; }
.page-kicker { color: #666; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.blog-index > h1 {
  margin: 20px 0 68px;
  font-size: clamp(74px, 13vw, 180px);
  line-height: .76;
  letter-spacing: -.08em;
}
.all-blogs { border-top: 1px solid var(--line); }
.blog-index-row {
  display: grid;
  grid-template-columns: 110px 1fr 120px 26px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .25s ease, background .25s ease;
}
.blog-index-row:hover { padding-left: 12px; }
.blog-index-row time,
.blog-index-row .read-time { color: #686868; font-size: 10px; }
.blog-index-row h2 { margin: 0; font-size: clamp(26px, 3.5vw, 46px); letter-spacing: -.04em; font-weight: 600; }
.blog-index-row .arrow { font-size: 17px; }

.article-view { max-width: 850px; margin: 0 auto; }
.article-back { display: inline-block; margin-bottom: 60px; color: #8c8c8c; font-size: 11px; }
.article-header { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; gap: 18px; color: #6f6f6f; font-size: 10px; letter-spacing: .08em; }
.article-header h1 {
  margin: 24px 0 20px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .91;
  letter-spacing: -.06em;
  font-weight: 700;
}
.article-header p { margin: 0; max-width: 660px; color: #919191; font-size: 15px; line-height: 1.6; }
.article-body { padding-top: 55px; }
.article-section { margin-bottom: 54px; }
.article-section h2 { margin: 0 0 18px; font-size: 26px; letter-spacing: -.03em; }
.article-section p { margin: 0 0 18px; color: #b1b1b1; font-size: 16px; line-height: 1.8; }
.article-end { padding-top: 30px; border-top: 1px solid var(--line); color: #5f5f5f; font-size: 10px; letter-spacing: .12em; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .85s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (pointer: fine) {
  body, a, button { cursor: none; }
}

@media (max-width: 1023px) {
  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(3,3,3,.82) 0%, rgba(3,3,3,.42) 42%, rgba(3,3,3,.08) 100%),
      linear-gradient(0deg, rgba(3,3,3,.8) 0%, transparent 29%, transparent 72%, rgba(3,3,3,.45) 100%);
  }
  .project-card:nth-child(n) { grid-column: span 12; min-height: 300px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .blog-card:last-child { border-bottom: 0; }
  .blog-card h3 { margin-top: 42px; }
  .about-card { grid-template-columns: 72px minmax(0,1fr); gap: 24px; }
}

@media (max-width: 767px) {
  .site-header, .nav-wrap { height: 66px; }
  .mobile-nav { inset: 66px 0 0; }
  .hero-inner { padding-top: 86px; padding-bottom: 42px; }
  .hero h1 { font-size: clamp(68px, 24vw, 118px); }
  .hero-copy p { margin-top: 24px; font-size: 13px; }
  .hero-scroll { left: 20px; bottom: 24px; }
  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(3,3,3,.72), rgba(3,3,3,.16)),
      linear-gradient(0deg, rgba(3,3,3,.82) 0%, transparent 34%, transparent 70%, rgba(3,3,3,.48) 100%);
  }
  .section-shell { padding: 82px 0; }
  .section-head { grid-template-columns: 28px 1fr; gap: 12px; }
  .section-head > :nth-child(3) { grid-column: 2; }
  .project-card { min-height: 270px !important; padding: 20px; }
  .project-card h3 { font-size: 38px; }
  .about-card { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 40px; }
  .about-index { padding-top: 0; }
  .about-copy-simple > p { font-size: 40px; }
  .about-meta { margin-top: 22px; }
  .contact-link { padding: 44px 0 50px; font-size: 18vw; }
  .social-row { flex-wrap: wrap; gap: 18px 24px; }
  .social-row span { width: 100%; margin: 8px 0 0; }
  .blog-main { padding-top: 112px; }
  .blog-index > h1 { margin-bottom: 48px; }
  .blog-index-row { grid-template-columns: 1fr 22px; gap: 12px; padding: 24px 0; }
  .blog-index-row time { grid-column: 1; grid-row: 1; }
  .blog-index-row h2 { grid-column: 1; grid-row: 2; }
  .blog-index-row .read-time { grid-column: 1; grid-row: 3; }
  .blog-index-row .arrow { grid-column: 2; grid-row: 1 / 4; }
  .article-back { margin-bottom: 42px; }
  .article-header h1 { font-size: 14vw; }
}

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