/* Max Construction. Identity: monochrome concrete, Archivo at variable width, IBM Plex Mono for
   drawing-set annotations, one signal orange used only as a mark. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-variable.woff2') format('woff2-variations'), url('/fonts/archivo-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/plex-mono-500.woff2') format('woff2');
}

:root {
  --carbon: #0c0d0d;
  --graphite: #161818;
  --iron: #262929;
  --steel: #6c7070;
  --concrete: #a7a6a1;
  --plaster: #e6e5e1;
  --white: #f5f5f3;
  --signal: #ff4f12;
  --line-l: rgba(12, 13, 13, 0.13);
  --line-d: rgba(245, 245, 243, 0.13);

  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(20px, 3.6vw, 56px);
  --max: 1480px;
  --header-h: 72px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--carbon);
  font-family: var(--sans);
  font-size: clamp(15.5px, 0.3vw + 14.5px, 17px);
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--carbon); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dark { background: var(--carbon); color: var(--white); }
.plaster { background: var(--plaster); }
.section { position: relative; padding: clamp(56px, 6vw, 96px) 0; }

/* Type */
.display, h1, h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
}
h1 { font-size: clamp(2.35rem, 6.3vw, 7.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 5rem); }
h3 { font-family: var(--sans); font-weight: 600; font-variation-settings: 'wdth' 112; font-stretch: 112%; font-size: clamp(1.15rem, 1.3vw, 1.4rem); line-height: 1.2; letter-spacing: -0.005em; margin: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.28rem); line-height: 1.55; }
.dim { color: var(--steel); }
.dark .dim { color: var(--concrete); }
.mono, .tag, .spec dt, .btn, .nav a, .crumbs { font-family: var(--mono); }
.mono { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }

.tag { display: flex; width: fit-content; align-items: center; gap: 12px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 clamp(16px, 1.8vw, 24px); }
.tag::before { content: ''; width: 8px; height: 8px; background: var(--signal); flex: none; }
.tag .of { color: var(--steel); }
.dark .tag .of { color: var(--concrete); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.logo svg { width: 34px; height: 30px; flex: none; }
.logo .lm { font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; font-size: 0.98rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo .lm span { font-weight: 400; }

/* Buttons */
.btn { display: inline-flex; align-items: stretch; height: 54px; border: 1px solid transparent; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); white-space: nowrap; }
.btn > span { display: flex; align-items: center; padding: 0 22px 0 22px; }
.btn > i { display: grid; place-items: center; width: 54px; margin: -1px -1px -1px 0; background: var(--signal); color: #fff; font-style: normal; flex: none; }
.btn > i svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover > i svg { transform: translateX(3px); }
.btn--solid { background: var(--carbon); color: var(--white); }
.btn--solid:hover { background: var(--iron); }
.btn--light { background: var(--white); color: var(--carbon); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover, .band .btn--ghost:hover { background: var(--white); color: var(--carbon); border-color: var(--white); }
.btn--ghost > i { background: transparent; color: inherit; border-left: 1px solid currentColor; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link svg { width: 15px; height: 15px; transition: transform 0.5s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(245, 245, 243, 0.94); color: var(--carbon); box-shadow: 0 1px 0 var(--line-l); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.nav { display: none; gap: clamp(22px, 2.6vw, 40px); }
.nav a { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; font-variation-settings: 'wdth' 106; letter-spacing: 0; text-transform: none; padding: 8px 0; position: relative; }
.nav a::before { content: ''; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--signal); transform: scale(0); transition: transform 0.4s var(--ease); }
.nav a:hover::before, .nav a[aria-current='page']::before { transform: scale(1); }
.header-cta { display: none; align-items: center; gap: 24px; }
.header-phone { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.header .btn { height: 44px; font-size: 0.7rem; }
.header .btn > span { padding: 0 16px; }
.header .btn > i { width: 44px; }
.header:not(.is-solid) .btn--solid { background: var(--white); color: var(--carbon); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 10px 0; cursor: pointer; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-btn .bars { width: 22px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 7px; }
.menu-open .menu-btn .bars::before { top: 3.5px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 3.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--carbon); color: var(--white); padding: calc(var(--header-h) + 28px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu nav { border-top: 1px solid var(--line-d); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.5rem, 7vw, 2.4rem); line-height: 1.1; }
.mobile-menu nav a small { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--concrete); }
.mm-foot { display: grid; gap: 6px; }
.mm-foot a { font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; font-size: 1.6rem; }
body.menu-open { overflow: hidden; }
@media (min-width: 1080px) { .nav, .header-cta { display: flex; } .menu-btn, .mobile-menu { display: none; } }

/* Photo treatment */
.ph { position: relative; overflow: hidden; background: var(--iron); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.18) contrast(1.05); }
.ph--real img { filter: none; }

/* Crop marks */
.crops { position: absolute; top: calc(var(--header-h) + 18px); left: var(--gutter); right: var(--gutter); height: 16px; pointer-events: none; }
.crops i { position: absolute; width: 16px; height: 16px; border-color: rgba(245, 245, 243, 0.55); border-style: solid; border-width: 0; }
.crops i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.crops i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }

/* Grid guides */
.guides { position: absolute; inset: 0; pointer-events: none; }
.guides .wrap { height: 100%; }
.guides .wrap > div { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line-d); }
.guides .wrap > div span { border-right: 1px solid var(--line-d); }
@media (min-width: 900px) { .guides .wrap > div { grid-template-columns: repeat(6, 1fr); } }

/* Hero */
.hero { position: relative; min-height: 86svh; max-height: 880px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--carbon); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(0.25) contrast(1.06) brightness(0.92); transform: scale(1.08); animation: settle 2.6s var(--ease) forwards; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 13, 0.62) 0%, rgba(12, 13, 13, 0.28) 28%, rgba(12, 13, 13, 0.5) 58%, rgba(12, 13, 13, 0.94) 100%), linear-gradient(90deg, rgba(12, 13, 13, 0.55) 0%, rgba(12, 13, 13, 0) 70%); }
@media (max-width: 899px) { .hero-media::after { background: linear-gradient(180deg, rgba(12, 13, 13, 0.62) 0%, rgba(12, 13, 13, 0.55) 40%, rgba(12, 13, 13, 0.94) 100%); } }
@keyframes settle { to { transform: scale(1); } }
.hero .guides .wrap > div, .hero .guides span { border-color: rgba(245, 245, 243, 0.07); }
.hero-coords { position: absolute; top: calc(var(--header-h) + 36px); right: calc(var(--gutter) + 32px); text-align: right; display: none; line-height: 1.7; color: rgba(245, 245, 243, 0.8); }
.hero-body { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(28px, 4vw, 48px); display: grid; gap: clamp(24px, 3vw, 40px); }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 36ch; color: rgba(245, 245, 243, 0.86); margin: 0 0 26px; }
.hero .tag { margin-bottom: 22px; }
@media (min-width: 1080px) {
  .hero-coords { display: block; }
  .hero-body { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.5fr); align-items: end; column-gap: clamp(56px, 5vw, 96px); }
  .hero h1 { font-size: clamp(3.2rem, 5.4vw, 5.2rem); }
  .hero-side { padding-bottom: 6px; }
}
.specbar { position: relative; border-top: 1px solid rgba(245, 245, 243, 0.18); }
.specbar .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.spec-cell { padding: 16px 0 18px; border-bottom: 1px solid rgba(245, 245, 243, 0.12); }
.spec-cell:nth-child(odd) { padding-right: 12px; border-right: 1px solid rgba(245, 245, 243, 0.12); }
.spec-cell:nth-child(even) { padding-left: 16px; }
.spec-cell:nth-last-child(-n+2) { border-bottom: 0; }
.spec-cell .mono { display: block; color: rgba(245, 245, 243, 0.62); font-size: 0.66rem; margin-bottom: 6px; }
.spec-cell b { font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; font-size: clamp(1rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: 0; line-height: 1; white-space: nowrap; }
@media (min-width: 900px) {
  .specbar .wrap { grid-template-columns: repeat(4, 1fr); }
  .specbar .spec-cell:last-child { border-right: 0; }
  .spec-cell, .spec-cell:nth-child(odd), .spec-cell:nth-child(even) { padding: 22px 20px 24px; border-bottom: 0; border-right: 1px solid rgba(245, 245, 243, 0.12); }
  .spec-cell:first-child { padding-left: 0; }
  .spec-cell:last-child { border-right: 0; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--carbon); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 5vw, 80px)) 0 clamp(32px, 3.5vw, 52px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 5.8rem); max-width: 14ch; position: relative; }
.page-hero .lead { max-width: 44ch; color: rgba(245, 245, 243, 0.78); margin: clamp(24px, 3vw, 40px) 0 0; position: relative; }
.page-hero .crumbs { position: relative; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--concrete); margin-bottom: 28px; }
.page-hero .crumbs a:hover { color: var(--white); }

/* About */
.about { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.about-media { aspect-ratio: 4 / 3; }
.about-copy .statement { margin: 0 0 20px; }
.about-copy p { color: var(--steel); max-width: 52ch; margin: 0 0 14px; }
.about-copy .actions { margin-top: 26px; }
.statement { font-weight: 600; font-variation-settings: 'wdth' 100; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-transform: none; }
@media (min-width: 980px) { .about { grid-template-columns: 1.05fr 1fr; } }

/* Services (home): every service visible at once, no hover needed */
.svc-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.svc-head > p { max-width: 40ch; margin: 0; }
@media (min-width: 980px) { .svc-head { grid-template-columns: 1fr 1fr; align-items: end; } .svc-head > p { justify-self: end; } }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(12px, 1.4vw, 20px); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card { display: flex; flex-direction: column; height: 100%; background: var(--graphite); border: 1px solid var(--line-d); transition: border-color 0.4s var(--ease), background 0.4s var(--ease); }
.svc-card .ph { aspect-ratio: 4 / 3; }
.svc-card .ph img { transition: transform 1.2s var(--ease); }
.svc-meta { display: flex; justify-content: flex-end; align-items: center; padding: 16px 18px 0; }
.svc-code { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--concrete); }
.svc-go { width: 20px; height: 20px; color: var(--signal); transition: transform 0.5s var(--ease); }
.svc-card h3 { padding: 8px 18px 0; font-weight: 700; font-variation-settings: 'wdth' 118; font-stretch: 118%; text-transform: uppercase; font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.1; }
.svc-card p { padding: 8px 18px 20px; margin: 0; color: var(--concrete); font-size: 0.92rem; line-height: 1.5; }
.svc-card:hover { border-color: rgba(245, 245, 243, 0.35); background: var(--iron); }
.svc-card:hover .ph img { transform: scale(1.04); }
.svc-card:hover .svc-go { transform: translateX(4px); }
.svc-foot { margin-top: clamp(28px, 3.5vw, 44px); }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: var(--carbon); color: var(--white); padding: clamp(18px, 2.4vw, 32px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-weight: 800; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.4rem, 7.5vw, 7.5rem); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track span i { width: 0.22em; height: 0.22em; background: var(--signal); flex: none; }
.marquee-track span em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 245, 243, 0.7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work */
.work-head { display: grid; gap: 16px; margin-bottom: clamp(24px, 3vw, 44px); }
@media (min-width: 980px) { .work-head { grid-template-columns: 1fr 1fr; align-items: end; } .work-head > p { justify-self: end; max-width: 40ch; margin: 0; } }
.work-main { display: grid; gap: clamp(14px, 1.6vw, 24px); }
@media (min-width: 980px) { .work-main { grid-template-columns: 2.2fr 1fr; } }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--carbon); color: var(--white); cursor: pointer; overflow: hidden; text-align: left; }
.video img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.82); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.video:hover img { filter: grayscale(0.2) contrast(1.04) brightness(0.9); }
.video:hover img { transform: scale(1.03); }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 13, 13, 0.72) 0%, rgba(12, 13, 13, 0) 50%); }
.video .play { position: absolute; z-index: 2; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.video .play i { display: grid; place-items: center; width: 56px; height: 56px; background: var(--signal); color: #fff; transition: transform 0.5s var(--ease); }
.video:hover .play i { transform: scale(1.06); }
.video .play i svg { width: 18px; height: 18px; margin-left: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.sheet { border-top: 1px solid var(--carbon); align-self: stretch; display: flex; flex-direction: column; }
.sheet h3 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; line-height: 1; padding: 22px 0 18px; }
.spec { margin: 0; display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--line-l); }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line-l); margin: 0; font-size: 0.92rem; }
.spec dt { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); padding-top: 15px; }
.sheet .link { margin-top: auto; align-self: flex-start; }
.sheet .spec { margin-bottom: 28px; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.6vw, 24px); }
@media (min-width: 980px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shot { position: relative; padding: 0; border: 0; background: var(--iron); aspect-ratio: 3 / 4; cursor: zoom-in; overflow: hidden; width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot .n { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; background: var(--white); color: var(--carbon); padding: 3px 7px; }

/* Process */
.process-head { display: grid; gap: 24px; }
@media (min-width: 980px) { .process-head { grid-template-columns: 1fr 1fr; align-items: end; } .process-head > p { justify-self: end; max-width: 40ch; margin: 0; } }
.steps { list-style: none; margin: clamp(28px, 3.5vw, 52px) 0 0; padding: 0; display: grid; position: relative; counter-reset: s; }
.step { position: relative; padding: 0 0 36px 36px; border-left: 1px solid var(--line-l); }
.step::before { content: ''; position: absolute; left: -5px; top: 2px; width: 9px; height: 9px; background: var(--carbon); }
.step:first-child::before { background: var(--signal); }
.step .mono { color: var(--steel); display: block; margin-bottom: 14px; }
.step h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; }
.step p { color: var(--steel); margin: 0; max-width: 34ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
  .step { padding: 36px clamp(16px, 2vw, 32px) 0 0; border-left: 0; }
  .step::before { left: 0; top: -5px; }
  .step::after { content: ''; position: absolute; left: 0; top: -12px; width: 1px; height: 23px; background: var(--carbon); }
}

/* Reviews */
.reviews-wrap { display: grid; gap: clamp(28px, 3.5vw, 52px); }
.quote-feature { margin: 0; display: grid; gap: 28px; }
.quote-feature blockquote { margin: 0; font-weight: 400; font-variation-settings: 'wdth' 100; font-size: clamp(1.45rem, 2.9vw, 2.9rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 30ch; }
.stars { display: inline-flex; gap: 4px; color: var(--signal); }
.stars svg { width: 16px; height: 16px; }
.stars-lg { gap: 6px; }
.stars-lg svg { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); }
.qmark { width: 46px; height: 46px; background: var(--signal); display: grid; place-items: center; }
.qmark svg { width: 20px; height: 20px; color: #fff; }
.who { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.who b { font-weight: 500; }
.who span { color: var(--concrete); }
.quotes { display: grid; border-top: 1px solid var(--line-d); }
.quotes figure { margin: 0; padding: 28px 0 30px; border-bottom: 1px solid var(--line-d); display: grid; gap: 18px; align-content: start; }
.quotes blockquote { margin: 0; color: rgba(245, 245, 243, 0.86); font-size: 0.98rem; line-height: 1.65; }
.review-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
@media (min-width: 980px) {
  .quote-feature { grid-template-columns: 1fr 2.4fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 4vw, 72px); }
  .quote-feature .stars-lg { grid-column: 1; grid-row: 1; align-self: start; }
  .quote-feature .who { grid-column: 1; grid-row: 2; align-self: end; flex-direction: column; }
  .quote-feature blockquote { grid-column: 2; grid-row: 1 / span 2; max-width: 26ch; font-size: clamp(1.8rem, 3.3vw, 3.4rem); }
  .quotes { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .quotes figure { border-bottom: 0; border-top: 1px solid var(--line-d); padding-right: clamp(20px, 3vw, 48px); }
  .quotes figure + figure { border-left: 1px solid var(--line-d); padding-left: clamp(20px, 3vw, 40px); }
}

/* Band */
.band { position: relative; color: var(--white); background: var(--carbon); overflow: hidden; }
.band .ph { position: absolute; inset: 0; }
.band .ph img { filter: grayscale(0.35) contrast(1.05) brightness(0.8); }
.band .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 13, 13, 0.9) 0%, rgba(12, 13, 13, 0.55) 60%, rgba(12, 13, 13, 0.35) 100%); }
.band .wrap { position: relative; padding-top: clamp(64px, 7vw, 112px); padding-bottom: clamp(64px, 7vw, 112px); }
.band h2 { max-width: 14ch; }
.band p { max-width: 42ch; color: rgba(245, 245, 243, 0.82); margin: 26px 0 34px; }

/* Contact */
.contact { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1080px) { .contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; } .contact-info { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-info h2 { margin-bottom: 26px; }
.contact-info > p { color: var(--steel); max-width: 40ch; }
.big-phone { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1; margin: 18px 0 40px; letter-spacing: -0.01em; }
.big-phone::before { content: ''; width: 12px; height: 12px; background: var(--signal); }
.big-phone:hover { color: var(--steel); }
.contact-info .spec { grid-template-columns: 120px 1fr; }
.contact-info .spec dd { font-size: 0.95rem; }
.form-panel { background: var(--plaster); padding: clamp(24px, 4vw, 56px); }
.form-panel h3 { font-weight: 700; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.3rem, 1.8vw, 1.8rem); line-height: 1; margin-bottom: 10px; }
.form-panel > p { color: var(--steel); margin-bottom: 30px; font-size: 0.95rem; }
.form { display: grid; gap: 22px; }
.row { display: grid; gap: 22px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: 1.4fr 0.7fr 0.9fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--carbon); }
.field .req { color: var(--signal); margin-left: 3px; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(12, 13, 13, 0.3); background: transparent; padding: 10px 0 12px; font-size: 1rem; border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color 0.3s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0d0d' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; padding-right: 26px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--signal); box-shadow: 0 1px 0 var(--signal); }
.field input::placeholder, .field textarea::placeholder { color: #8f918e; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid rgba(12, 13, 13, 0.18); border-left: 1px solid rgba(12, 13, 13, 0.18); }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(4, 1fr); } }
.check { position: relative; display: block; border-right: 1px solid rgba(12, 13, 13, 0.18); border-bottom: 1px solid rgba(12, 13, 13, 0.18); }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check span { display: flex; align-items: flex-start; gap: 9px; padding: 12px 12px 14px; font-size: 0.82rem; line-height: 1.25; min-height: 58px; transition: background 0.25s, color 0.25s; }
.check span::before { content: ''; flex: none; width: 10px; height: 10px; border: 1px solid currentColor; margin-top: 3px; }
.check input:checked + span { background: var(--carbon); color: var(--white); }
.check input:checked + span::before { background: var(--signal); border-color: var(--signal); }
.check input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: -2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-foot small { color: var(--steel); font-size: 0.85rem; }
.form-foot small a { border-bottom: 1px solid currentColor; }
.form-status { font-size: 0.95rem; padding: 14px 16px; display: none; }
.form-status.is-ok { display: block; background: var(--carbon); color: var(--white); }
.form-status.is-err { display: block; background: #fff; border-left: 3px solid var(--signal); }
.form-status a { border-bottom: 1px solid currentColor; }

/* Services page */
.svc-index { position: relative; display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.svc-index a { flex: 1 1 50%; padding: 14px 16px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.svc-index a b { color: var(--concrete); font-weight: 400; margin-right: 8px; }
.svc-index a:hover { background: var(--white); color: var(--carbon); }
@media (min-width: 900px) { .svc-index a { flex: 1 1 25%; } }
.svc-block { display: grid; gap: clamp(20px, 3vw, 48px); padding: clamp(36px, 4.5vw, 64px) 0; border-bottom: 1px solid var(--line-l); }
.svc-block:last-child { border-bottom: 0; }
.svc-block .ph { aspect-ratio: 4 / 3; }
.svc-block .mono { color: var(--steel); display: block; margin-bottom: 18px; }
.svc-block h2 { font-size: clamp(1.9rem, 3.8vw, 3.8rem); margin-bottom: 20px; }
.svc-block .lead { color: var(--steel); max-width: 38ch; }
.svc-block .spec { margin: 28px 0 34px; max-width: 520px; grid-template-columns: 56px 1fr; }
@media (min-width: 980px) { .svc-block { grid-template-columns: 1.1fr 1fr; align-items: center; } .svc-block:nth-child(even) .ph { order: 2; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(8, 9, 9, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lb-btn { position: fixed; background: var(--white); border: 0; color: var(--carbon); width: 52px; height: 52px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--signal); color: #fff; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }

/* Footer: drawing title block */
.footer { background: var(--carbon); color: var(--white); padding: clamp(52px, 6vw, 88px) 0 24px; }
.footer-cta { display: grid; gap: 24px; padding-bottom: clamp(36px, 4vw, 56px); }
.footer-cta h2 { font-size: clamp(2.2rem, 6vw, 6.4rem); max-width: 12ch; }
@media (min-width: 980px) { .footer-cta { grid-template-columns: 1fr auto; align-items: end; } }
.titleblock { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.tb { padding: 16px 16px 20px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); min-height: 96px; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.tb .mono { color: var(--concrete); font-size: 0.64rem; }
.tb a:hover { color: var(--signal); }
.tb ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tb-logo { grid-column: 1 / -1; justify-content: space-between; }
.tb:last-child { grid-column: 1 / -1; }
.tb-logo .logo svg { width: 44px; height: 38px; }
.tb-logo .logo .lm { font-size: 1.15rem; }
@media (min-width: 980px) {
  .titleblock { grid-template-columns: 1.6fr repeat(5, 1fr); }
  .tb-logo { grid-column: auto; grid-row: span 2; }
  .tb:last-child { grid-column: auto; }
  .tb-wide { grid-column: span 2; }
}
.footer-word { font-weight: 800; font-variation-settings: 'wdth' 125; font-stretch: 125%; text-transform: uppercase; font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 13.75); line-height: 0.8; letter-spacing: -0.03em; margin: clamp(32px, 4vw, 56px) 0 clamp(16px, 2vw, 24px); white-space: nowrap; color: var(--white); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--concrete); }

/* 404 */
.notfound { min-height: 88vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 80px; background: var(--carbon); color: var(--white); position: relative; overflow: hidden; }
.notfound .lead { color: rgba(245, 245, 243, 0.8); max-width: 40ch; margin: 24px 0 34px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.wipe { opacity: 0; transition: opacity 1s var(--ease); }
.wipe.is-in { opacity: 1; }
.wipe img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.wipe.is-in img { transform: scale(1); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.no-js .reveal, .no-js .wipe { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .wipe { opacity: 1; transform: none; clip-path: none; }
  .wipe img, .hero-media img { transform: none; }
}

/* Small screens: keep the widest headline words inside the viewport. */
@media (max-width: 600px) {
  h1, .page-hero h1 { font-size: 8.3vw; }
  .footer-cta h2 { font-size: 8.6vw; }
}

/* Mobile action bar: call and estimate always one tap away. */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: 1fr 1fr; background: var(--carbon); border-top: 1px solid var(--line-d); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; color: var(--white); font-weight: 700; font-size: 0.95rem; }
.actionbar a + a { background: var(--signal); color: #fff; }
.actionbar svg { width: 18px; height: 18px; }
@media (max-width: 1079px) { body { padding-bottom: 56px; } }
@media (min-width: 1080px) { .actionbar { display: none; } }
.menu-open .actionbar { display: none; }
