:root {
  --ink: #111111;
  --ink-soft: #25272a;
  --paper: #f4f5f7;
  --white: #ffffff;
  --grey: #6b6b6b;
  --line: #dfe1e5;
  --red: #e11d23;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 18px/1 Montserrat, sans-serif; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: var(--grey); font-size: 10px; letter-spacing: .24em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); }
.menu-button { display: none; border: 0; background: none; font: inherit; font-weight: 800; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none;
  font-size: 14px; font-weight: 800; letter-spacing: .02em;
  transition: .2s ease;
}
.button:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.button.light { background: transparent; color: var(--ink); }
.button.light:hover { color: var(--white); }
.button.red { background: var(--red); border-color: var(--red); }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(120deg, transparent 55%, rgba(225,29,35,.12) 55.2%, transparent 56%),
    linear-gradient(60deg, transparent 70%, rgba(255,255,255,.06) 70.2%, transparent 71%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.035) 119px 120px);
}
.hero-grid { position: relative; min-height: 680px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Montserrat, ui-sans-serif, sans-serif; line-height: 1.08; }
h1 { max-width: 880px; font-size: clamp(48px, 7vw, 92px); letter-spacing: -.045em; }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: #d4d6d9; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.signal {
  align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 54px 0; border-left: 1px solid rgba(255,255,255,.18); padding-left: 34px;
}
.signal strong { font: 800 clamp(22px, 3vw, 36px)/1.15 Montserrat, sans-serif; }
.signal span { margin-top: 12px; color: #aeb2b7; }
.signal-bar { width: 68px; height: 4px; margin-bottom: 24px; background: var(--red); }
.signal-photo {
  position: relative; min-height: 520px; padding: 0; border-left: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(17,17,17,.92) 100%), url('/assets/projects/flooring-finished.jpg') center/cover;
}
.signal-copy { width: 100%; margin-top: auto; padding: 34px; display: flex; flex-direction: column; }
.signal-photo span { color: #d7d9dc; }

.section { padding: 104px 0; }
.section.tint { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--grey); font-size: 18px; max-width: 650px; }
.dark .section-heading p { color: #b9bdc2; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 285px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.service-number { color: var(--red); font: 800 12px/1 Montserrat, sans-serif; letter-spacing: .16em; }
.service-card h3 { margin-top: 42px; font-size: clamp(24px, 3vw, 34px); }
.service-card p { margin: 18px 0 0; color: var(--grey); max-width: 470px; }

.selected-work { border-top: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { position: relative; min-height: 390px; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(17,17,17,.9) 100%); }
.work-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.work-card:hover img { transform: scale(1.025); }
.work-card span { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; display: grid; gap: 7px; }
.work-card small { color: #d8dade; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.work-card strong { font: 800 25px/1.1 Montserrat, sans-serif; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #3a3c3f; }
.process article { min-height: 250px; padding: 32px; background: var(--ink-soft); }
.process span { color: var(--red); font-weight: 900; }
.process h3 { margin-top: 40px; font-size: 22px; }
.process p { color: #b9bdc2; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.035em; }
.split p { color: var(--grey); font-size: 18px; }
.check-list { margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.check-list li::before { content: "—"; color: var(--red); margin-right: 12px; }

.page-hero { padding: 110px 0 82px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); font-size: clamp(46px, 7vw, 82px); }
.page-hero p { max-width: 760px; margin: 26px 0 0; color: var(--grey); font-size: 20px; }
.package { margin-top: 54px; padding: 42px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.package h3 { font-size: 30px; }
.package p { color: #c4c7cb; margin-bottom: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { border: 1px solid var(--line); background: var(--white); }
.project-visual { display: grid; grid-template-columns: 1fr 1fr; min-height: 310px; background: var(--paper); }
.project-frame { position: relative; display: grid; place-items: center; margin: 0; padding: 28px; overflow: hidden; }
.project-frame + .project-frame { border-left: 1px solid var(--line); }
.project-frame::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0 48%, rgba(17,17,17,.06) 48.2% 49%, transparent 49.2%), repeating-linear-gradient(90deg, transparent 0 39px, rgba(17,17,17,.035) 40px);
}
.project-frame span { position: relative; color: var(--grey); font: 800 12px/1 Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.project-frame.after span { color: var(--red); }
.project-visual.single { grid-template-columns: 1fr; }
.project-frame.has-image { min-height: 310px; padding: 0; }
.project-frame.has-image::before { display: none; }
.project-frame.has-image img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; display: block; }
.project-frame.has-image figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; background: rgba(17,17,17,.88); color: var(--white); font: 800 10px/1 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.project-frame.has-image.after figcaption { background: var(--red); }
.project-copy { padding: 28px; border-top: 1px solid var(--line); }
.project-copy h2 { font-size: 27px; }
.project-copy p { margin-bottom: 0; color: var(--grey); }
.gallery-note { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--grey); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-actions { display: grid; gap: 12px; margin-top: 30px; }
.contact-actions a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.contact-actions a:hover { color: var(--red); }
.form-placeholder { padding: 38px; background: var(--paper); border: 1px solid var(--line); }
.form-placeholder h2 { font-size: 34px; }
.quote-form { display: grid; gap: 18px; margin-top: 26px; }
.quote-form label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.quote-form .field-label { display: inline; }
.quote-form .field-label b { color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #c9cbd0; border-radius: 0; background: var(--white); color: var(--ink); font: 500 16px/1.35 Inter, sans-serif; }
.quote-form textarea { min-height: 132px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(196, 18, 37, .16); border-color: var(--red); }
.quote-form .consent { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 500; line-height: 1.5; }
.quote-form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.quote-form .button { justify-self: start; cursor: pointer; }
.quote-form .form-note a { color: inherit; font-weight: 800; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 14px; border: 1px solid #cdd0d5; background: var(--white); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--grey); font-size: 13px; }

.cta { padding: 82px 0; background: var(--red); color: var(--white); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { font-size: clamp(34px, 5vw, 58px); }
.cta .button { border-color: var(--white); }

.site-footer { padding: 64px 0 28px; background: #0b0b0c; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.site-footer p, .site-footer small { color: #aeb2b7; }
.site-footer h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; }
.footer-links a { color: #d6d8db; text-decoration: none; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 34px; margin-top: 40px; border-top: 1px solid #313337; }

@media (max-width: 850px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 24px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero-grid { min-height: 620px; grid-template-columns: 1fr; gap: 20px; padding: 90px 0 50px; }
  .signal { padding: 34px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .signal-photo { min-height: 420px; padding: 0; border-top: 0; }
  .section, .cta { padding: 76px 0; }
  .section-heading, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .service-grid, .process { grid-template-columns: 1fr; }
  .gallery-grid, .work-grid { grid-template-columns: 1fr; }
  .package { grid-template-columns: 1fr; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
