/* ============ Base ============ */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --line: #262626;
  --text: #ececec;
  --muted: #8f8f8f;
  --red: #d7142c;
  --red-deep: #7d0b18;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --script: "Great Vibes", cursive;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}
.arrow-ico { width: 34px; height: 14px; flex: none; transition: transform .25s ease; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(10,10,10,.92), rgba(10,10,10,.6));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.brand-name { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.brand-role { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #cfcfcf;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links .btn-outline { border: 1px solid var(--red); padding: 7px 16px; color: #fff; }
.nav-links .btn-outline::after { display: none; }
.nav-links .btn-outline:hover { background: var(--red); }
.nav-toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav-toggle span { position: absolute; left: 7px; right: 7px; height: 1.5px; background: #fff; transition: .25s; }
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 21px; }
.nav.open .nav-toggle span:first-child { top: 17px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 17px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 920px);
  border-bottom: 1px solid var(--line);
}
.hero-bgword {
  position: absolute; left: 50%; top: 78px; transform: translateX(-50%);
  font-family: var(--display); font-size: clamp(110px, 23vw, 400px);
  line-height: .86; letter-spacing: -.005em; white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, #e3192f 0%, #a10f20 45%, rgba(70,4,12,.15) 100%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none; pointer-events: none; z-index: 0;
}
.hero-portrait {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-46%);
  height: 86%; aspect-ratio: 4 / 5; z-index: 1;
}
.hero-portrait .media-frame { width: 100%; height: 100%; background: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.hero-portrait::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(0deg, var(--bg), transparent); pointer-events: none;
}
.hero-portrait .ph {
  background:
    radial-gradient(60% 45% at 50% 30%, #262626 0 55%, transparent 56%),
    radial-gradient(90% 60% at 50% 100%, #1e1e1e 0 60%, transparent 61%);
  border: 0; justify-content: flex-end; padding-bottom: 22%;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; min-height: inherit;
  padding: 120px var(--gutter) 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .75fr);
  align-items: end;
}
.hero-left { grid-column: 1; max-width: 420px; }
.script {
  font-family: var(--script); font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1; color: #fff; margin-bottom: 4px;
}
.hero-name {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 7.4vw, 112px); line-height: .92; letter-spacing: .005em;
}
.hero-name span { display: block; }
.hero-role {
  margin-top: 18px; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  color: var(--red); font-size: clamp(20px, 1.9vw, 26px); letter-spacing: .02em; line-height: 1.15;
}
.hero-bio { margin-top: 14px; color: #bdbdbd; font-size: 14px; max-width: 360px; }
.hero-avail {
  margin-top: 22px; display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf;
}
.hero-avail svg { width: 16px; height: 16px; color: var(--red); }
.hero-right { grid-column: 3; justify-self: end; width: 100%; max-width: 260px; }
.hero-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 56px; }
.star-circle {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff;
}
.hero-tag p { font-size: 13px; color: #d6d6d6; line-height: 1.45; }
.stats { list-style: none; }
.stats li {
  display: flex; align-items: center; gap: 18px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.stats li:last-child { border-bottom: 0; }
.stat-val { font-family: var(--display); color: var(--red); font-size: 38px; line-height: 1; min-width: 64px; }
.stat-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd; line-height: 1.4; }

/* ============ Section heading ============ */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .02em; white-space: nowrap;
}
.section-head .rule { flex: 1; height: 1px; background: var(--line); }
.section-head .side { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ============ Featured (home) ============ */
.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feat-cat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.feat-cat-title {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1; letter-spacing: .01em; transition: color .2s;
}
.feat-cat-more { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; white-space: nowrap; }
.feat-cat:hover .feat-cat-title { color: var(--red); }
.feat-cat:hover .feat-cat-more { color: #fff; }
.feat-card { display: block; }
.feat-media, .proj-media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
}
.feat-media .media-frame, .proj-media .media-frame { width: 100%; height: 100%; }
.feat-media img, .proj-media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s;
  filter: saturate(.92);
}
.feat-card:hover img, .proj:hover img { transform: scale(1.04); filter: saturate(1.05); }
.feat-meta, .proj-meta { display: flex; align-items: center; gap: 16px; padding-top: 16px; }
.num { font-family: var(--display); color: var(--red); font-size: 34px; line-height: 1; min-width: 44px; }
.feat-text, .proj-text { flex: 1; min-width: 0; }
.feat-text h3, .proj-text h3 {
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feat-text p, .proj-text p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.feat-card:hover .arrow-ico, .proj:hover .arrow-ico { transform: translateX(6px); color: var(--red); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: 5px 9px; background: rgba(10,10,10,.75); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
}
.badge + .badge { left: auto; right: 12px; }
.badge-red { background: var(--red); border-color: var(--red); }

/* ============ Info grid (home) ============ */
.info { display: grid; grid-template-columns: 1fr 1fr .8fr; border-bottom: 1px solid var(--line); }
.info > div { padding: 56px var(--gutter); }
.info > div + div { border-left: 1px solid var(--line); }
.info h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 2.1vw, 28px); margin-bottom: 26px; letter-spacing: .02em;
}
.info h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 600; margin: 0 0 14px; }
.exp { list-style: none; margin-bottom: 30px; }
.exp li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.exp li:last-child { border-bottom: 0; }
.exp strong { display: block; font-size: 14px; font-weight: 600; }
.exp span { font-size: 13px; color: var(--muted); }
.exp .yrs { color: var(--red); font-size: 12px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #333; padding: 7px 11px; color: #d8d8d8;
}
.process { list-style: none; position: relative; }
.process li { display: grid; grid-template-columns: 34px 44px 1fr; gap: 14px; align-items: start; padding-bottom: 18px; position: relative; }
.process li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(34px + 14px + 21px); top: 44px; bottom: 0;
  width: 1px; background: var(--red-deep);
}
.process .pn { font-family: var(--display); color: var(--red); font-size: 22px; line-height: 44px; }
.process .pi {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--red);
  display: grid; place-items: center; background: var(--bg);
}
.process .pi svg { width: 18px; height: 18px; }
.process strong { display: block; color: var(--red); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.process p { font-size: 13px; color: #bdbdbd; line-height: 1.5; }
.quote {
  background: linear-gradient(160deg, #a50f22 0%, #6d0814 100%);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,.12), transparent 60%);
}
.quote > * { position: relative; }
.quote .qmark { font-family: var(--display); font-size: 70px; line-height: .8; color: rgba(255,255,255,.9); }
.quote blockquote { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; margin: 18px 0 12px; }
.quote .sig { font-family: var(--script); font-size: 34px; line-height: 1.2; }
.quote .cta { margin-top: auto; padding-top: 40px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; }

/* ============ Contact ============ */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 72px 0; }
.contact h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 64px); line-height: .98;
}
.contact h2 .star { color: var(--red); font-size: .5em; vertical-align: super; }
.contact-intro { color: #bdbdbd; margin: 18px 0 28px; max-width: 360px; }
.btn-red {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 600;
}
.btn-red .circ { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--red); display: grid; place-items: center; transition: background .2s; }
.btn-red:hover .circ { background: var(--red); color: #fff; }
.contact-list { list-style: none; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.contact-list .ci {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--red); flex: none;
  display: grid; place-items: center; color: var(--red);
}
.contact-list .ci svg { width: 17px; height: 17px; }
.contact-list a:hover { color: var(--red); }
.socials { display: flex; gap: 22px; margin-top: 22px; }
.socials a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.socials a:hover { color: #fff; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer a:hover { color: #fff; }

/* ============ Category pages ============ */
.cat-hero { position: relative; overflow: hidden; padding: 140px 0 56px; border-bottom: 1px solid var(--line); }
.cat-bg {
  position: absolute; right: -2vw; top: 60px;
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(120px, 19vw, 330px); line-height: .85;
  color: transparent; -webkit-text-stroke: 1px rgba(215,20,44,.35);
  pointer-events: none; user-select: none;
}
.cat-hero .wrap { position: relative; }
.back { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.back:hover { color: #fff; }
.back svg { width: 26px; height: 12px; transform: rotate(180deg); }
.cat-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(60px, 9vw, 140px); line-height: .9; margin: 10px 0 18px;
}
.cat-intro { max-width: 520px; color: #c4c4c4; }
.cat-count { margin-top: 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.tabs a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid #333; padding: 8px 14px; color: #cfcfcf; }
.tabs a:hover { border-color: #666; color: #fff; }
.tabs a.active { background: var(--red); border-color: var(--red); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.proj { display: block; cursor: pointer; }
.proj.is-featured { grid-column: span 2; }
.proj.is-featured .proj-media { aspect-ratio: auto; height: 100%; min-height: 0; }
.proj.is-featured { display: flex; flex-direction: column; }
.proj.is-featured .proj-media { flex: 1; }
.next-cat { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 0; }
.next-cat a { display: flex; align-items: center; gap: 22px; }
.next-cat .lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.next-cat .big { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: 1; transition: color .2s; }
.next-cat a:hover .big { color: var(--red); }
.next-cat a:hover .arrow-ico { transform: translateX(8px); color: var(--red); }
.next-cat .arrow-ico { width: 54px; height: 20px; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-panel {
  position: relative; width: min(1080px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--bg-2); border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 56px clamp(18px, 4vw, 56px) 64px; animation: rise .35s ease;
}
.modal-close {
  position: sticky; top: 0; float: right; margin: -36px -24px 0 0; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #444;
  font-size: 26px; line-height: 1; background: var(--bg-2);
}
.modal-close:hover { border-color: var(--red); color: var(--red); }
.modal-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: .95; margin: 8px 0 12px; }
.modal-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.modal-meta span + span::before { content: "/"; margin-right: 18px; color: var(--red); }
.modal-desc { max-width: 680px; color: #cfcfcf; margin: 22px 0 36px; font-size: 15px; }
.modal-media { display: grid; gap: 22px; }
.modal-media.is-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modal-media.is-gallery .media-item:first-child { grid-column: 1 / -1; }
.media-item { margin: 0; }
.media-item .media-frame { width: 100%; background: #000; border: 1px solid var(--line); }
.media-item img { width: 100%; height: auto; }
.media-item.is-video .media-frame { aspect-ratio: 16 / 9; }
.media-item video, .media-item iframe { width: 100%; height: 100%; border: 0; background: #000; }
.media-item .ph { aspect-ratio: 16 / 10; }
.media-item.is-video .ph { aspect-ratio: auto; height: 100%; }
figcaption { margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ============ Placeholders ============ */
.media-frame { position: relative; overflow: hidden; }
.ph {
  width: 100%; height: 100%; min-height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #1b1b1b, #121212);
  color: var(--muted);
}
.ph-icon { color: var(--red); font-size: 18px; }
.ph-label { font-family: var(--display); text-transform: uppercase; font-size: 20px; color: #d0d0d0; letter-spacing: .02em; }
.ph-path { font-size: 11px; color: #777; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-backdrop, .modal-panel { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .info { grid-template-columns: 1fr 1fr; }
  .quote { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px var(--gutter) 20px; background: rgba(10,10,10,.98);
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .btn-outline { width: auto; margin-top: 10px; padding: 9px 18px; }

  .hero { min-height: 0; }
  .hero-bgword { top: 84px; font-size: 27vw; }
  .hero-portrait { position: relative; left: auto; transform: none; height: auto; width: min(78vw, 380px); margin: 30px auto 0; aspect-ratio: 4 / 5; }
  .hero-inner { display: block; padding: 0 var(--gutter) 48px; min-height: 0; margin-top: -60px; }
  .hero-left { max-width: none; }
  .hero-right { max-width: none; margin-top: 36px; }
  .hero-tag { margin-bottom: 18px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats li { flex-direction: column; align-items: flex-start; gap: 6px; border-bottom: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .stat-val { font-size: 32px; }

  .section-head .side { display: none; }
  .featured { grid-template-columns: 1fr; gap: 48px; }
  .info { grid-template-columns: 1fr; }
  .info > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: 1fr; }
  .proj.is-featured { grid-column: auto; }
  .proj.is-featured .proj-media { aspect-ratio: 16 / 11; flex: none; }
  .modal-media.is-gallery { grid-template-columns: 1fr; }
  .modal-panel { padding-top: 64px; }
  .modal-close { margin-right: -6px; }
  .next-cat { flex-direction: column; align-items: flex-start; }
  .footer .wrap { flex-direction: column; }
}
