:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: #121214;
  --panel-soft: #18181b;
  --text: #f1efe9;
  --muted: #aaa8a2;
  --line: rgba(255, 255, 255, 0.14);
  --red: #d92d20;
  --red-bright: #f04438;
  --shell: min(1180px, calc(100% - 40px));
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(84px, 11vw, 150px); }

.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(11, 11, 12, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; font: 900 24px/1 var(--body); letter-spacing: -.06em; }
.brand-number { color: var(--red-bright); }
.brand-word { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.site-nav a:not(.nav-call) { color: #d1d0cb; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.nav-call { padding: 11px 17px; border: 1px solid rgba(255,255,255,.38); }
.nav-call:hover { border-color: var(--red-bright); }
.menu-button { display: none; border: 0; background: none; min-width: 48px; min-height: 48px; padding: 0; align-items: center; justify-content: center; gap: 9px; }
.menu-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.menu-icon { display: grid; gap: 6px; width: 22px; }
.menu-icon i { height: 1px; background: currentColor; transition: transform .2s; }

.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { object-position: 59% 54%; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(8,8,9,.97) 0%, rgba(8,8,9,.8) 40%, rgba(8,8,9,.08) 76%), linear-gradient(0deg, rgba(8,8,9,.76), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 132px; padding-bottom: 76px; }
.eyebrow, .section-label { margin: 0 0 22px; color: #cfcdc7; font-size: 12px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 32px; height: 2px; margin: 0 12px 3px 0; background: var(--red); }
h1, h2 { margin: 0; padding-top: .08em; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.02; }
h1 { max-width: 1040px; font-size: clamp(56px, 6.4vw, 96px); }
h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.hero-lead { max-width: 610px; margin: 28px 0 34px; color: #d1cfc9; font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 22px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.button-primary { background: var(--red); color: white; transition: background .2s, transform .2s; }
.button-primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px solid rgba(255,255,255,.42); font-size: 14px; font-weight: 700; }
.text-link:hover { border-color: var(--red-bright); }
.hero-index { position: absolute; z-index: 2; right: 30px; bottom: 30px; display: flex; gap: 20px; align-items: center; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }

.split-heading { display: grid; grid-template-columns: .72fr 1.55fr; gap: 70px; }
.section-label { padding-top: 9px; color: var(--red-bright); }
.split-heading h2, .section-head h2, .process h2, .about h2 { font-size: clamp(44px, 5.2vw, 76px); }
.split-heading p:not(.section-label) { max-width: 710px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }

.services { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 900px; margin-bottom: 64px; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 80px minmax(260px, .9fr) 1.1fr; gap: 26px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.service-number { color: var(--red-bright); font-size: 12px; font-weight: 800; }
.service h3 { margin: 0; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.15; }
.service p { max-width: 530px; margin: 0; color: var(--muted); }

.projects-head { max-width: none; display: grid; grid-template-columns: 1.45fr .55fr; gap: 60px; align-items: end; }
.projects-head > p { margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 330px 330px; gap: 18px; }
.project { position: relative; margin: 0; overflow: hidden; background: var(--panel-soft); }
.project-wide { grid-row: span 2; }
.project-tall { grid-column: 2; }
.project img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.project:hover img { transform: scale(1.035); filter: brightness(.78); }
.project::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.project figcaption { position: absolute; z-index: 2; inset: auto 24px 22px; display: grid; gap: 5px; }
.project figcaption span { color: var(--red-bright); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.project figcaption strong { font-size: 16px; }
.project-wide img { object-position: 52% center; }

.process { background: #dedbd3; color: #111113; }
.process .eyebrow { color: #4d4b48; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.process-title { position: sticky; top: 130px; align-self: start; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,.25); }
.steps li { display: grid; grid-template-columns: 65px 1fr; gap: 24px; padding: 30px 0 34px; border-bottom: 1px solid rgba(0,0,0,.25); }
.steps > li > span { color: var(--red); font-size: 12px; font-weight: 850; }
.steps h3 { margin: 0 0 8px; font-size: 23px; }
.steps p { max-width: 560px; margin: 0; color: #565451; }

.about-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(48px, 9vw, 130px); align-items: center; }
.about-photo { position: relative; height: min(720px, 76vw); max-height: 720px; }
.about-photo::before { content: ""; position: absolute; z-index: -1; inset: -14px 14px 14px -14px; border: 1px solid rgba(255,255,255,.18); }
.about-photo span { position: absolute; right: -1px; bottom: -1px; padding: 11px 14px; background: var(--bg); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.about-copy p:not(.eyebrow) { max-width: 660px; margin: 26px 0 0; color: var(--muted); font-size: 17px; }
.about-copy .text-link { margin-top: 35px; }

.contact { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--line); }
.contact-bg { position: absolute; inset: 0 0 0 50%; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), transparent 65%), rgba(0,0,0,.26); }
.contact-bg img { filter: grayscale(.25); }
.contact-content { position: relative; z-index: 2; }
.contact-content h2 { max-width: 900px; font-size: clamp(54px, 6.4vw, 92px); }
.contact-content > p:not(.eyebrow) { max-width: 530px; margin: 24px 0; color: #bbb9b2; font-size: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 20px; border-bottom: 4px solid var(--red); font: 900 clamp(28px, 4.5vw, 60px)/1.2 var(--display); letter-spacing: .02em; }
.contact-meta { display: flex; gap: 28px; margin-top: 55px; color: #aaa8a2; font-size: 13px; }
.contact-meta a { border-bottom: 1px solid transparent; }
.contact-meta a:hover { color: white; border-color: var(--red); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 118px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; }
.footer-inner p { margin: 0; color: #777670; font-size: 12px; }

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

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 640px); }
  .section-pad { padding-block: 82px; }
  .menu-button { display: flex; }
  .site-nav { position: fixed; inset: 78px 0 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 24px max(24px, calc((100% - 640px) / 2)); background: rgba(11,11,12,.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 25px; }
  .site-nav .nav-call { margin-top: 25px; border: 1px solid var(--red); text-align: center; }
  .menu-button[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 680px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,8,9,.96) 0%, rgba(8,8,9,.7) 58%, rgba(8,8,9,.15)); }
  .hero-content { padding-bottom: 70px; }
  h1 { font-size: clamp(52px, 15vw, 82px); }
  .hero-lead { font-size: 16px; }
  .hero-index { display: none; }
  .split-heading, .projects-head, .process-layout, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .service { grid-template-columns: 45px 1fr; gap: 12px; }
  .service p { grid-column: 2; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project, .project-wide, .project-tall { grid-column: auto; grid-row: auto; height: 440px; }
  .project:not(.project-wide) { height: 330px; }
  .process-title { position: static; }
  .about-photo { max-width: 500px; height: 620px; }
  .about-copy { padding-top: 24px; }
  .contact-bg { inset: 0; opacity: .38; }
  .contact-bg::after { background: rgba(0,0,0,.56); }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 30px; }
  .footer-inner p:first-of-type { grid-row: 2; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 68px; }
  .site-nav { inset-block-start: 68px; }
  .hero { min-height: 700px; }
  .hero-media img { object-position: 60% center; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .split-heading h2, .section-head h2, .process h2, .about h2 { font-size: 43px; }
  .service { padding-block: 26px; }
  .service h3 { font-size: 21px; }
  .project, .project-wide { height: 440px; }
  .project:not(.project-wide) { height: 300px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 10px; }
  .about-photo { height: 510px; }
  .contact { min-height: 650px; }
  .contact-meta { flex-direction: column; gap: 10px; }
  .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p:first-of-type { width: 100%; order: 3; }
}

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