:root {
  --red: #CA332C;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --paper: #fff;
  --soft: #f4f3f1;
  --gut: clamp(16px, 2.2vw, 32px);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 400; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.red { color: var(--red); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-name { text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-weight: 300; font-size: 18px; }
.nav nav { display: flex; gap: clamp(12px, 2.4vw, 28px); }
.nav nav a { text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .14em; }
.nav nav a:hover { color: var(--red); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(280px, 31%) 1fr; min-height: calc(100vh - 52px); }
.hero-side { background: var(--red); color: #fff; padding: 48px var(--gut); display: flex; flex-direction: column; }
.hero-side h1 { margin: 0; font-weight: 300; text-transform: uppercase; font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -.005em; }
.real { list-style: none; padding: 0; margin: clamp(40px, 12vh, 140px) 0 0; display: grid; gap: clamp(14px, 3vh, 34px); font-size: clamp(20px, 1.8vw, 28px); }
.real span { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1.45fr 1fr; gap: 12px; padding: 12px; max-height: calc(100vh - 52px); }
.hero-grid a { overflow: hidden; background: var(--soft); }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-grid a:hover img { transform: scale(1.03); }
.g-a { grid-column: 1 / 5; } .g-b { grid-column: 5 / 7; }
.g-c { grid-column: 1 / 3; } .g-d { grid-column: 3 / 5; } .g-e { grid-column: 5 / 7; }

/* about */
.about { display: grid; grid-template-columns: 1fr minmax(280px, 42%); min-height: 88vh; border-bottom: 1px solid var(--line); }
.about-text { padding: clamp(40px, 7vw, 96px) var(--gut); max-width: 640px; display: flex; flex-direction: column; }
.name { margin: 0 0 40px; font-weight: 300; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; }
.name em, .p-side h1 em { color: var(--red); font-style: italic; }
.kicker, .label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin: 0 0 10px; }
.label { color: var(--red); }
.label a { text-decoration: none; }
.about-text p { margin: 0 0 14px; }
.logos { margin-top: auto; padding-top: 48px; width: min(380px, 80%); }
.about-photo { background: var(--soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* section heads */
.sec-head { display: flex; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; padding: 0 var(--gut); margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-weight: 300; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.sec-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 46ch; }

/* blog strip */
.blog { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.scroll-btns { margin-left: auto; display: flex; gap: 8px; }
.scroll-btns button { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); }
.scroll-btns button:hover { border-color: var(--red); color: var(--red); }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 14px; scrollbar-width: thin; scroll-padding-left: var(--gut); }
.strip:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.card { flex: 0 0 auto; width: 188px; scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; background: var(--soft); border-radius: 22px; padding: 10px 10px 14px; transition: background .2s; }
.card:hover { background: #ecebe8; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; margin-bottom: 10px; }
.card-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding: 0 4px; }
.card-title { font-size: 14px; line-height: 1.25; margin: 4px 0 4px; padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-blurb { font-size: 12px; color: var(--muted); line-height: 1.3; padding: 0 4px; }

/* work grid */
.work { padding: 56px 0 72px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; padding: 0 var(--gut); }
.tile { text-decoration: none; display: flex; flex-direction: column; }
.tile-img { overflow: hidden; background: var(--soft); aspect-ratio: 1; margin-bottom: 12px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-num { font-size: 11px; color: var(--red); letter-spacing: .12em; }
.tile-title { text-transform: uppercase; font-weight: 300; font-size: 19px; line-height: 1.15; margin: 2px 0 4px; }
.tile:hover .tile-title { color: var(--red); }
.tile-sub { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* project page */
.p-top { display: grid; grid-template-columns: minmax(300px, 34%) 1fr; }
.p-side { background: var(--red); color: #fff; padding: clamp(32px, 5vw, 64px) var(--gut); }
.p-side .label { color: var(--ink); }
.p-side h1 { margin: 0 0 28px; font-weight: 300; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 68px); line-height: 1; }
.p-side h1 em { color: #fff; text-transform: none; font-style: italic; }
.p-side .kicker { color: var(--ink); margin-top: 26px; }
.p-side p { margin: 0 0 12px; max-width: 52ch; }
.pitch { font-size: 18px; line-height: 1.45; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 36px 0 0; }
.facts dt { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--ink); }
.facts dd { margin: 3px 0 0; font-size: 14px; line-height: 1.35; }
.p-hero { background: var(--soft); min-height: 60vh; }
.p-hero img { width: 100%; height: 100%; object-fit: cover; }
.gallery { columns: 3 300px; column-gap: 14px; padding: 14px var(--gut) 0; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; }
.gallery figcaption, .post figcaption { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.p-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gut) 48px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.p-nav a { text-decoration: none; }
.p-nav a:hover { color: var(--red); }

/* blog post */
.post { max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gut) 0; }
.post h1 { font-weight: 300; text-transform: uppercase; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; margin: 0 0 32px; }
.post h2 { font-weight: 400; font-size: 20px; margin: 32px 0 10px; }
.post p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; }
.post figure { margin: 28px 0; }
.post figure img { margin: 0 auto; max-height: 75vh; width: auto; }
.post .p-nav { padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); margin-top: 40px; }

/* footer */
.foot { background: var(--ink); color: #fff; padding: 48px var(--gut) 28px; display: flex; flex-direction: column; gap: 32px; }
.foot p { margin: 0 0 6px; }
.foot-title { text-transform: uppercase; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px !important; }
.foot a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.foot a:hover { color: #ff8a83; }
.foot-small { font-size: 12px; color: #9a9a9a; }

/* responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav nav a { font-size: 11px; letter-spacing: .08em; }
  .nav-name { font-size: 15px; }
  .hero, .about, .p-top { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-side { padding: 40px 16px 36px; }
  .real { margin-top: 28px; }
  .hero-grid { max-height: none; grid-template-rows: auto auto; gap: 8px; padding: 8px; }
  .hero-grid img { aspect-ratio: 1; }
  .g-a { grid-column: 1 / 7; } .g-a img { aspect-ratio: 4 / 3; }
  .g-b { display: none; }
  .g-c { grid-column: 1 / 3; } .g-d { grid-column: 3 / 5; } .g-e { grid-column: 5 / 7; }
  .about { min-height: 0; }
  .about-photo { order: -1; max-height: 70vh; overflow: hidden; }
  .about-text { padding: 36px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .tile-title { font-size: 16px; }
  .scroll-btns { display: none; }
  .card { width: 156px; border-radius: 20px; }
  .p-hero { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
