:root {
  --red: #d92924;
  --ink: #171717;
  --paper: #f4f1ea;
  --muted: #a4a09a;
  --line: rgba(23, 23, 23, .18);
  --white: #fffdf8;
  --max: 1420px;
  --pad: clamp(1.1rem, 3vw, 3.75rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  cursor: crosshair;
}
body::selection { background: var(--red); color: var(--white); }
a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-shell { overflow: hidden; }
.container { width: min(100% - 2 * var(--pad), var(--max)); margin: 0 auto; }
.eyebrow, .meta, .nav, .button, .filter, .label {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.eyebrow { color: var(--red); margin: 0 0 1rem; }
.muted { color: #6d6964; }
.section { padding: clamp(5rem, 11vw, 10rem) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section-title { margin: 0; font-size: clamp(3rem, 8vw, 8.7rem); line-height: .82; letter-spacing: -.08em; text-transform: uppercase; }
.section-intro { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 8vw, 7rem); }
.section-intro p { max-width: 38rem; margin: 0; font-size: clamp(1.15rem, 2vw, 1.8rem); line-height: 1.2; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; padding: 1.25rem var(--pad); mix-blend-mode: multiply; }
.header-inner { width: min(100%, var(--max)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.wordmark { font-weight: 900; letter-spacing: -.08em; font-size: 1.35rem; }
.wordmark span { color: var(--red); }
.nav { display: flex; gap: clamp(1rem, 2.6vw, 2.5rem); align-items: center; }
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -.3rem; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.lang-toggle { border: 1px solid var(--ink); background: transparent; padding: .45rem .65rem; font-size: .7rem; font-weight: 700; }
.menu-toggle { display: none; background: transparent; border: 0; font-size: 1.4rem; }

.hero { min-height: 100svh; display: grid; align-items: end; padding: 9rem var(--pad) 3.5rem; position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 14% 10% 8%; z-index: -1; background: var(--red); clip-path: polygon(0 18%, 78% 0, 100% 66%, 35% 100%); opacity: .94; transition: transform 1.1s var(--ease); }
.hero:hover::before { transform: rotate(-3deg) scale(1.03); }
.hero-grid { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; }
.hero h1 { margin: 0; max-width: 10ch; font-size: clamp(5rem, 14vw, 13.5rem); line-height: .76; letter-spacing: -.11em; text-transform: uppercase; }
.hero h1 em { color: var(--paper); font-style: normal; display: block; -webkit-text-stroke: 2px var(--ink); }
.hero-note { max-width: 20rem; font-size: 1.05rem; }
.hero-note strong { font-size: 1.4rem; display: block; line-height: 1.05; margin-bottom: 1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { border: 1px solid var(--ink); padding: .9rem 1.1rem; display: inline-flex; gap: .75rem; align-items: center; transition: background .25s, color .25s, transform .25s; }
.button:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.button--dark { background: var(--ink); color: var(--paper); }
.button--dark:hover { background: var(--red); border-color: var(--red); }
.button--red { background: var(--red); color: var(--paper); border-color: var(--red); }
.button--red:hover { background: var(--ink); border-color: var(--ink); }

.ticker { background: var(--ink); color: var(--paper); padding: .85rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 24s linear infinite; font-size: clamp(1.2rem, 2vw, 2rem); text-transform: uppercase; letter-spacing: -.02em; }
.ticker i { color: var(--red); font-style: normal; margin: 0 1.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.fields { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.field { min-height: 13rem; border-right: 1px solid var(--line); padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, color .3s; }
.field:last-child { border-right: 0; }
.field:hover { background: var(--red); color: var(--paper); }
.field h3 { font-size: clamp(1.8rem, 3vw, 3.5rem); line-height: .9; letter-spacing: -.07em; margin: 0; text-transform: uppercase; }
.field p { margin: 0; max-width: 13rem; font-size: .85rem; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.project-card { grid-column: span 6; display: block; }
.project-card:nth-child(3) { grid-column: 3 / span 5; }
.project-card:nth-child(4) { grid-column: 8 / span 5; margin-top: 8rem; }
.project-visual { aspect-ratio: 1.25; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; display: flex; align-items: end; padding: 1.25rem; }
.project-visual::before { content: ''; position: absolute; width: 68%; aspect-ratio: 1; top: 10%; right: -10%; background: var(--red); border-radius: 50%; transition: transform .6s var(--ease); }
.project-visual::after { content: attr(data-mark); position: absolute; left: 1.2rem; top: 1rem; font-size: clamp(5rem, 11vw, 11rem); line-height: .75; letter-spacing: -.12em; opacity: .9; }
.project-card:hover .project-visual::before { transform: scale(1.15) rotate(25deg); }
.project-card:nth-child(2) .project-visual { background: var(--red); color: var(--ink); }
.project-card:nth-child(2) .project-visual::before { background: var(--paper); left: -15%; right: auto; }
.project-card:nth-child(3) .project-visual { background: #d7d1c5; color: var(--ink); }
.project-card:nth-child(3) .project-visual::before { background: var(--ink); }
.project-card:nth-child(4) .project-visual { background: #2d3b35; }
.project-card:nth-child(4) .project-visual::before { background: #a8c8b6; }
.project-info { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0 0; border-top: 1px solid var(--ink); margin-top: .75rem; }
.project-info h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 2rem); letter-spacing: -.05em; }
.project-info p { margin: 0; text-align: right; font-size: .75rem; text-transform: uppercase; }

.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(244, 241, 234, .25); }
.approach-step { background: var(--ink); padding: 1.2rem; min-height: 14rem; display: flex; flex-direction: column; justify-content: space-between; }
.approach-step .number { color: var(--red); font-size: .75rem; }
.approach-step h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 3.4rem); letter-spacing: -.08em; line-height: .8; text-transform: uppercase; }
.approach-step p { margin: 0; color: #c8c2b9; font-size: .85rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.portrait-placeholder { aspect-ratio: 1; background: var(--red); position: relative; display: grid; place-items: center; overflow: hidden; }
.portrait-placeholder::before { content: 'GN'; color: var(--paper); font-size: clamp(8rem, 20vw, 18rem); font-weight: 900; letter-spacing: -.16em; transform: rotate(-12deg); }
.portrait-placeholder::after { content: 'IMAGE TO COME'; position: absolute; bottom: 1rem; left: 1rem; color: var(--paper); font-size: .7rem; letter-spacing: .12em; }
.split-copy h2 { font-size: clamp(3rem, 7vw, 7.2rem); line-height: .82; letter-spacing: -.1em; text-transform: uppercase; margin: 0 0 2rem; }
.split-copy p { max-width: 34rem; font-size: 1.1rem; }

.playground-card { border: 1px solid var(--paper); padding: clamp(1.5rem, 4vw, 4rem); min-height: 22rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.playground-card::before { content: '?'; position: absolute; right: 5%; top: -20%; font-size: 23rem; color: var(--red); line-height: 1; opacity: .9; }
.playground-card h2, .contact h2 { font-size: clamp(3rem, 8vw, 9rem); line-height: .8; letter-spacing: -.1em; text-transform: uppercase; margin: 0; position: relative; }
.playground-card p { max-width: 24rem; position: relative; }

.contact { background: var(--red); padding: clamp(5rem, 12vw, 11rem) 0 3rem; }
.contact h2 { max-width: 10ch; }
.contact-row { display: flex; justify-content: space-between; gap: 2rem; align-items: end; border-top: 1px solid var(--ink); margin-top: 4rem; padding-top: 1rem; }
.contact-email { font-size: clamp(1.25rem, 3vw, 3rem); letter-spacing: -.06em; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem var(--pad); background: var(--red); font-size: .72rem; text-transform: uppercase; }

.page-hero { padding: 12rem var(--pad) 5rem; background: var(--ink); color: var(--paper); }
.page-hero h1 { margin: 0; max-width: 10ch; font-size: clamp(5rem, 14vw, 13rem); line-height: .75; letter-spacing: -.11em; text-transform: uppercase; }
.page-hero h1 span { color: var(--red); }
.page-hero p { max-width: 31rem; font-size: 1.1rem; margin: 3rem 0 0 auto; }
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.filter { background: transparent; border: 1px solid var(--ink); padding: .7rem .9rem; }
.filter.is-active, .filter:hover { background: var(--ink); color: var(--paper); }
.work-grid .project-card { grid-column: span 4; }
.work-grid .project-card:nth-child(3), .work-grid .project-card:nth-child(4) { grid-column: span 4; margin-top: 0; }
.work-grid .project-card.is-hidden { display: none; }
.empty-state { display: none; border: 1px dashed var(--line); padding: 2rem; margin-top: 2rem; }
.empty-state.is-visible { display: block; }
.portfolio-summary { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.portfolio-summary p { max-width: 30rem; margin: 0; font-size: 1.05rem; }
.portfolio-count { font-size: clamp(3rem, 8vw, 8rem); line-height: .75; letter-spacing: -.1em; }
.featured-project { display: grid; grid-template-columns: 1.55fr .75fr; min-height: 34rem; background: var(--ink); color: var(--paper); margin-bottom: 5rem; }
.featured-project .project-visual { height: 100%; aspect-ratio: auto; min-height: 34rem; background: var(--red); }
.featured-project .project-visual::before { background: var(--paper); width: 54%; right: 8%; top: 18%; }
.featured-project .project-visual::after { font-size: clamp(8rem, 20vw, 20rem); }
.featured-copy { padding: clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; }
.featured-copy h2 { font-size: clamp(3rem, 6vw, 7rem); line-height: .78; letter-spacing: -.1em; text-transform: uppercase; margin: 0; }
.featured-copy p { max-width: 20rem; color: #c8c2b9; }
.archive-note { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 4rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .85rem; }
.copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.copy-grid h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .85; letter-spacing: -.08em; text-transform: uppercase; margin: 0 0 1.5rem; }
.copy-grid p { max-width: 34rem; font-size: 1.1rem; }
.list-lines { border-top: 1px solid var(--line); }
.list-line { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.list-line strong { color: var(--red); }
.case-hero { background: var(--red); padding-bottom: 5rem; }
.case-hero h1 { color: var(--ink); }
.case-meta { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; }
.case-visual { min-height: min(65vw, 47rem); background: var(--ink); display: grid; place-items: center; color: var(--paper); position: relative; overflow: hidden; }
.case-visual::before { content: ''; width: 48vw; max-width: 40rem; aspect-ratio: 1; background: var(--paper); transform: rotate(45deg); }
.case-visual span { position: absolute; font-size: clamp(4rem, 13vw, 13rem); font-weight: 900; letter-spacing: -.15em; }
.case-content { max-width: 52rem; margin: 0 auto; }
.case-content h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .88; letter-spacing: -.08em; text-transform: uppercase; margin: 0 0 1.5rem; }
.case-content p { font-size: 1.15rem; }
.case-block { padding: 5rem 0; border-bottom: 1px solid var(--line); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  body { cursor: auto; }
  .site-header { mix-blend-mode: normal; background: rgba(244,241,234,.94); }
  .nav { display: none; position: absolute; top: 4.5rem; left: var(--pad); right: var(--pad); padding: 1.2rem; background: var(--ink); color: var(--paper); flex-direction: column; align-items: flex-start; }
  .nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 90svh; padding-top: 8rem; }
  .hero-grid, .split, .copy-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 25rem; }
  .hero::before { inset: 18% -12% 16%; }
  .fields, .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .field:nth-child(2) { border-right: 0; }
  .field:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-card, .project-card:nth-child(3), .project-card:nth-child(4), .work-grid .project-card { grid-column: span 12; margin-top: 0; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .project-visual { min-height: 23rem; }
  .portfolio-summary, .archive-note { align-items: flex-start; flex-direction: column; }
  .section-intro { grid-template-columns: 1fr; }
  .contact-row { align-items: flex-start; flex-direction: column; }
  .page-hero p { margin-left: 0; }
}

@media (max-width: 480px) {
  .fields, .approach-grid { grid-template-columns: 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); min-height: 10rem; }
  .field:last-child { border-bottom: 0; }
  .hero h1, .page-hero h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .site-footer { flex-direction: column; }
}

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