:root {
  color-scheme: dark;
  --ink: #08090b;
  --ink-2: #101216;
  --steel: #1a1d22;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f2f1ed;
  --white: #fff;
  --muted: #b5b7bd;
  --accent: #c92c28;
  --accent-bright: #e34036;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 30px; padding: 10px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 4, 5, 0.92), rgba(3, 4, 5, 0.2)); transition: background 180ms ease, min-height 180ms ease; }
.site-header.is-scrolled { position: fixed; min-height: 76px; background: rgba(8, 9, 11, 0.96); backdrop-filter: blur(16px); }
.brand { display: block; width: 224px; height: 74px; flex: 0 0 auto; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: rgba(255, 255, 255, 0.82); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.055em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav .nav-cta { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.42); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.45); color: white; }
.menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--white); }

.hero { position: relative; display: grid; min-height: 840px; place-items: center; overflow: hidden; }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; transform: scale(1.012); }
.hero-image-primary { animation: hero-primary 14s ease-in-out infinite; }
.hero-image-secondary { opacity: 0; animation: hero-secondary 14s ease-in-out infinite; }
.hero-scrim { z-index: 1; }
@keyframes hero-primary { 0%, 42% { opacity: 1; } 52%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hero-secondary { 0%, 42% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.hero-scrim { background: linear-gradient(90deg, rgba(4, 5, 7, 0.94) 0%, rgba(4, 5, 7, 0.67) 40%, rgba(4, 5, 7, 0.08) 78%), linear-gradient(0deg, rgba(4, 5, 7, 0.72), transparent 48%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--accent-bright); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1, h2, h3 { font-family: var(--display); line-height: 0.96; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(4.6rem, 10vw, 9.4rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { color: transparent; font-style: italic; -webkit-text-stroke: 2px var(--white); }
.hero-lede { max-width: 660px; margin: 30px 0 0; color: rgba(255, 255, 255, 0.84); font-size: 1.15rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.045em; text-decoration: none; text-transform: uppercase; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: #a91f1d; }
.button-ghost { border-color: rgba(255, 255, 255, 0.42); background: rgba(0, 0, 0, 0.28); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--white); }
.hero-proof { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 30px; display: flex; gap: 22px; color: rgba(255, 255, 255, 0.58); font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.hero-proof span + span::before { content: "•"; margin-right: 22px; color: var(--accent-bright); }

.intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; padding-block: 112px; }
.intro h2, .section-heading h2, .process h2, .about h2, .contact h2 { margin: 0; font-size: clamp(3rem, 5.4vw, 5.25rem); font-weight: 800; letter-spacing: -0.025em; }
.intro-copy { align-self: end; margin: 0; color: var(--muted); font-size: 1.15rem; }

.services { padding-block: 112px; border-block: 1px solid var(--line); background: radial-gradient(circle at 84% 12%, rgba(201, 44, 40, 0.13), transparent 31%), var(--ink-2); }
.section-heading { display: grid; grid-template-columns: 1fr 0.62fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 320px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.service-card-featured { grid-row: span 2; min-height: 640px; background: linear-gradient(145deg, rgba(201, 44, 40, 0.18), rgba(255, 255, 255, 0.025)); }
.service-number { color: var(--accent-bright); font-family: var(--display); font-size: 1rem; font-weight: 800; letter-spacing: 0.12em; }
.service-card h3 { margin: 74px 0 14px; font-size: 2rem; font-weight: 800; }
.service-card-featured h3 { margin-top: 180px; font-size: 3rem; }
.service-card p, .service-card li { color: var(--muted); }
.service-card ul { padding-left: 20px; margin-top: 24px; }

.feature-build { display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.4fr 0.72fr; grid-template-rows: 1fr 1fr; min-height: 820px; background: var(--paper); color: var(--ink); }
.feature-copy { grid-row: 1 / 3; align-self: center; padding: 70px clamp(34px, 6vw, 100px); }
.feature-copy h2 { margin: 0; font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 800; letter-spacing: -0.03em; }
.feature-copy > p:not(.section-kicker) { max-width: 520px; color: #555960; }
.feature-main { grid-row: 1 / 3; }
.feature-build figure { margin: 0; overflow: hidden; }
.feature-build figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.feature-build figure:hover img { transform: scale(1.025); }
.feature-main img { object-position: 58% center; }
.build-specs { display: grid; gap: 0; margin: 34px 0; border-top: 1px solid #c6c7c9; }
.build-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid #c6c7c9; }
.build-specs dt { color: #6c7075; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.build-specs dd { margin: 0; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; text-decoration: none; text-transform: uppercase; }
.text-link span { font-size: 1.4em; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }

.work { padding-block: 120px; background: var(--ink); }
.work-heading { margin-bottom: 45px; }
.gallery-grid { display: grid; grid-auto-flow: dense; grid-auto-rows: 260px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-card { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--steel); color: white; cursor: zoom-in; text-align: left; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 58%); pointer-events: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease, filter 500ms ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.045); filter: saturate(1.08); }
.gallery-card:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; z-index: 2; }
.gallery-card > span { position: absolute; z-index: 1; right: 22px; bottom: 18px; left: 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.gallery-card strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.gallery-card small { color: rgba(255, 255, 255, 0.68); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.process { padding-block: 115px; border-top: 1px solid var(--line); background: var(--ink-2); }
.process-heading { max-width: 660px; margin-bottom: 58px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { position: relative; min-height: 280px; padding: 28px 28px 10px 0; border-right: 1px solid var(--line); }
.process-list li + li { padding-left: 28px; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { color: var(--accent-bright); font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; }
.process-list h3 { margin: 90px 0 10px; font-size: 1.8rem; }
.process-list p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.about { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 720px; background: var(--paper); color: var(--ink); }
.about-image { min-height: 650px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { align-self: center; padding: 76px clamp(36px, 7vw, 112px); }
.about-logo { display: block; width: auto; max-width: min(430px, 100%); height: auto; max-height: 195px; margin: 0 0 38px; object-fit: contain; object-position: left center; background: #000; }
.about-copy > p:not(.section-kicker) { color: #555960; }

.contact { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 650px; }
.contact-image { min-height: 620px; overflow: hidden; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.contact-panel { align-self: center; padding: 80px clamp(40px, 7vw, 112px); }
.contact-panel > p:not(.section-kicker) { max-width: 560px; color: var(--muted); }
.button-light { border-color: rgba(255, 255, 255, 0.35); }
.button-light:hover, .button-light:focus-visible { border-color: var(--white); }
.contact address { margin-top: 42px; color: var(--muted); font-style: normal; }
.contact address span { display: block; color: white; font-weight: 800; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding: 32px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: #8d9096; font-size: 0.82rem; }
.site-footer p { margin: 0; }
.footer-brand { color: white; font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; }

.lightbox { width: min(1200px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); background: #050506; color: white; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 20px; font-family: var(--display); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; }
.lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(0, 0, 0, 0.75); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-row: span 1; min-height: 360px; }
  .service-card-featured h3 { margin-top: 90px; font-size: 2.25rem; }
  .feature-build { grid-template-columns: 0.95fr 1.3fr; grid-template-rows: auto 310px; }
  .feature-copy { grid-row: 1; padding: 68px 42px; }
  .feature-main { grid-row: 1; }
  .feature-small { grid-row: 2; }
  .feature-engine { grid-column: 1; }
  .feature-interior { grid-column: 2; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .about, .contact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .site-header { min-height: 80px; padding-inline: 16px; }
  .brand { width: 190px; height: 60px; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 80px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; background: rgba(8, 9, 11, 0.98); border-bottom: 1px solid var(--line); }
  .site-header.is-scrolled .site-nav { top: 76px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 61% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(4, 5, 7, 0.94), rgba(4, 5, 7, 0.45)), linear-gradient(0deg, rgba(4, 5, 7, 0.83), transparent 60%); }
  .hero-content { padding-top: 80px; }
  .hero-proof { display: none; }
  .intro, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .intro { padding-block: 80px; }
  .services, .work, .process { padding-block: 82px; }
  .feature-build { grid-template-columns: 1fr 1fr; grid-template-rows: auto 420px 260px; }
  .feature-copy { grid-column: 1 / 3; grid-row: 1; }
  .feature-main { grid-column: 1 / 3; grid-row: 2; }
  .feature-engine { grid-column: 1; grid-row: 3; }
  .feature-interior { grid-column: 2; grid-row: 3; }
  .gallery-grid { grid-auto-rows: 240px; grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-image, .contact-image { min-height: 450px; }
  .about-copy, .contact-panel { padding: 70px 32px; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(3.75rem, 20vw, 5.8rem); }
  .hero h1 em { -webkit-text-stroke-width: 1.5px; }
  .hero-lede { font-size: 1rem; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .intro h2, .section-heading h2, .process h2, .about h2, .contact h2 { font-size: 3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-featured { min-height: 290px; }
  .service-card h3, .service-card-featured h3 { margin-top: 60px; }
  .feature-build { grid-template-columns: 1fr; grid-template-rows: auto 330px 220px 220px; }
  .feature-copy, .feature-main, .feature-engine, .feature-interior { grid-column: 1; }
  .feature-copy { padding: 64px 24px; }
  .feature-main { grid-row: 2; }
  .feature-engine { grid-row: 3; }
  .feature-interior { grid-row: 4; }
  .gallery-grid { display: block; }
  .gallery-card { width: 100%; height: 280px; margin-bottom: 12px; }
  .gallery-card.gallery-tall { height: 430px; }
  .gallery-card > span { align-items: flex-start; flex-direction: column; gap: 5px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { min-height: 230px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list h3 { margin-top: 54px; }
  .about-image, .contact-image { min-height: 340px; }
  .about-copy, .contact-panel { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-image-primary { opacity: 1; }
  .hero-image-secondary { display: none; }
}
