:root {
  --ink: #16171b;
  --paper: #f4f1ea;
  --muted: #87847d;
  --line: rgba(22, 23, 27, 0.16);
  --yellow: #ecf05a;
  --orange: #f36c45;
  --blue: #9fb8ff;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}

body::selection { color: var(--paper); background: var(--ink); }

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

button { font: inherit; }

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

.section-shell, .site-header { width: min(calc(100% - 80px), var(--max-width)); margin-inline: auto; }

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.05em; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; color: var(--paper); background: var(--ink); font-size: 15px; transform: rotate(-8deg); }
.brand-name { font-size: 18px; }
.brand-name span { color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 700; }
.site-nav > a:not(.nav-contact) { color: #66645f; transition: color .2s ease; }
.site-nav > a:not(.nav-contact):hover { color: var(--ink); }
.nav-contact { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 40px; transition: color .2s ease, background .2s ease; }
.nav-contact:hover { color: var(--paper); background: var(--ink); }
.menu-toggle { display: none; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding-block: 70px 100px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8bb47c; box-shadow: 0 0 0 4px rgba(139, 180, 124, .16); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(58px, 7.3vw, 108px); line-height: .93; letter-spacing: -.085em; font-weight: 800; }
h1 em, h2 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.08em; }
.hero-intro { color: #6f6c66; font-size: 16px; line-height: 1.8; }
.hero-intro strong { color: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 800; }
.button-primary { padding: 15px 18px; color: var(--paper); background: var(--ink); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { background: var(--orange); transform: translateY(-3px); }
.button-primary span { font-size: 18px; line-height: 10px; }
.text-link, .arrow-link { border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 11px; font-weight: 700; }
.text-link span, .arrow-link span { padding-left: 8px; font-size: 15px; }

.hero-art { width: min(100%, 560px); aspect-ratio: 1 / 1; margin-left: auto; position: relative; overflow: hidden; background: var(--yellow); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-art::before { width: 62%; height: 62%; top: 12%; left: 10%; background: var(--orange); mix-blend-mode: multiply; }
.hero-art::after { width: 55%; height: 55%; right: 8%; bottom: 8%; background: var(--blue); mix-blend-mode: multiply; }
.art-core { position: absolute; z-index: 1; width: 43%; aspect-ratio: 1; top: 29%; left: 29%; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: clamp(60px, 9vw, 120px); font-weight: 800; letter-spacing: -.1em; box-shadow: 20px 20px 0 rgba(22, 23, 27, .08); transform: rotate(-16deg); }
.art-core span { transform: rotate(16deg) translateX(-3px); }
.art-orbit { position: absolute; z-index: 2; border: 1px solid rgba(22, 23, 27, .55); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 90%; height: 35%; left: 5%; top: 32%; }
.orbit-two { width: 34%; height: 90%; left: 33%; top: 5%; }
.art-label { position: absolute; z-index: 3; color: var(--ink); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .07em; }
.art-label-top { top: 22px; right: 25px; }
.art-label-bottom { bottom: 22px; left: 25px; }
.scroll-cue { position: absolute; right: 0; bottom: 38px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; }
.scroll-cue span { display: block; width: 32px; height: 1px; background: var(--muted); }

.ticker { width: 100%; overflow: hidden; color: var(--paper); background: var(--ink); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 33px; animation: marquee 28s linear infinite; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ticker-track b { color: var(--yellow); font-size: 18px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; padding-block: 170px 190px; }
.section-heading h2 { max-width: 520px; margin-bottom: 0; font-size: clamp(43px, 5.8vw, 78px); line-height: .98; letter-spacing: -.08em; }
.about-content { align-self: end; padding-bottom: 4px; }
.large-copy { max-width: 670px; margin-bottom: 42px; font-size: clamp(28px, 3.4vw, 47px); line-height: 1.16; font-weight: 700; letter-spacing: -.07em; }
.about-details { display: flex; max-width: 630px; gap: 50px; align-items: end; }
.about-details p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.arrow-link { white-space: nowrap; }

.works { padding-bottom: 180px; }
.works-heading { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 45px; align-items: end; margin-bottom: 80px; }
.works-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.heading-note { justify-self: end; margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { display: block; padding: 22px; transition: transform .25s ease; }
.project-card:hover { transform: translateY(-8px); }
.project-card-dark { color: var(--paper); background: #252629; }
.project-card-yellow { background: var(--yellow); }
.project-meta { display: flex; justify-content: space-between; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .05em; }
.project-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.25 / 1; margin: 22px 0 25px; position: relative; overflow: hidden; }
.visual-grid { color: var(--paper); background: repeating-linear-gradient(0deg, transparent 0, transparent calc(20% - 1px), rgba(244, 241, 234, .12) 20%), repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(244, 241, 234, .12) 20%); }
.visual-grid::before { content: ""; position: absolute; width: 60%; height: 60%; border: 1px solid rgba(244, 241, 234, .6); border-radius: 50%; }
.visual-word { position: relative; z-index: 1; font-size: clamp(35px, 5vw, 62px); line-height: .92; font-weight: 800; letter-spacing: -.1em; }
.visual-type { align-items: flex-start; justify-content: flex-start; padding: 8%; color: var(--ink); background: var(--orange); }
.visual-type::after { content: ""; position: absolute; width: 55%; height: 55%; right: -7%; bottom: -15%; border-radius: 50%; background: var(--blue); mix-blend-mode: multiply; }
.visual-type > span:first-child { position: relative; z-index: 1; font-size: clamp(43px, 6.5vw, 82px); line-height: .87; font-weight: 900; letter-spacing: -.15em; }
.visual-corner { position: absolute; right: 4%; bottom: 4%; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .04em; }
.project-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.project-footer h3 { margin-bottom: 7px; font-size: 16px; letter-spacing: -.04em; }
.project-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.project-card-dark .project-footer p { color: #aaa8a3; }
.card-arrow { font-size: 28px; line-height: .8; }

.notes { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; padding-bottom: 200px; }
.notes-list { border-top: 1px solid var(--line); }
.note-item { display: grid; grid-template-columns: 45px 1fr 95px 25px; gap: 15px; align-items: center; min-height: 90px; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease; }
.note-item:hover { padding-inline: 10px; color: var(--orange); }
.note-index, .note-date { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; }
.note-title { font-size: 14px; font-weight: 700; letter-spacing: -.03em; }
.note-arrow { justify-self: end; font-size: 19px; }

.contact { min-height: 530px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: var(--orange); }
.contact-inner { position: relative; z-index: 1; text-align: center; }
.contact-inner .eyebrow { justify-content: center; color: rgba(22, 23, 27, .65); }
.contact h2 { margin-bottom: 31px; font-size: clamp(65px, 10vw, 140px); line-height: .83; letter-spacing: -.1em; }
.contact h2 em { color: var(--paper); }
.contact-email { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 800; }
.contact-email span { display: inline-block; margin-left: 10px; font-size: 21px; transform: translateY(2px); }
.contact-spark { position: absolute; top: -90px; right: 5%; color: rgba(244, 241, 234, .75); font-size: 230px; line-height: 1; transform: rotate(18deg); }

.site-footer { display: flex; justify-content: space-between; align-items: center; padding-block: 27px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.site-footer a { color: var(--ink); }
.footer-heart { color: var(--orange); font-size: 13px; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 800px) {
  .section-shell, .site-header { width: min(calc(100% - 40px), var(--max-width)); }
  .site-header { height: 75px; }
  .site-nav { display: none; position: absolute; top: 65px; right: 0; width: min(240px, 100%); padding: 20px; flex-direction: column; align-items: stretch; gap: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 8px 8px 0 var(--ink); }
  .site-nav.is-open { display: flex; }
  .nav-contact { justify-content: center; }
  .menu-toggle { display: grid; gap: 5px; width: 34px; height: 34px; padding: 9px 7px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 1px; background: var(--ink); }
  .hero { display: block; min-height: auto; padding-block: 70px 100px; }
  h1 { font-size: clamp(56px, 16vw, 90px); }
  .hero-art { width: min(100%, 470px); margin: 75px auto 0; }
  .scroll-cue { display: none; }
  .about, .notes { display: block; padding-block: 120px 140px; }
  .about-content { margin-top: 65px; }
  .works { padding-bottom: 140px; }
  .works-heading { display: block; margin-bottom: 55px; }
  .works-heading h2 { margin-bottom: 28px; }
  .heading-note { justify-self: auto; }
  .project-list { grid-template-columns: 1fr; }
  .notes-list { margin-top: 60px; }
  .note-item { grid-template-columns: 31px 1fr 20px; gap: 10px; min-height: 82px; }
  .note-date { display: none; }
  .contact { min-height: 440px; }
  .site-footer { gap: 12px; flex-wrap: wrap; }
}

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