/* ==========================================================
   AutoDays — Precision in Every Finish
   Industrial editorial design system for an automotive
   paint studio. Palette: carbon black, graphite, signal
   orange, warm white, steel grey.
   ========================================================== */

:root {
  --carbon: #17191B;
  --graphite: #292D30;
  --orange: #F07836;
  --orange-dark: #D85F22;
  --warm: #F4F1EB;
  --steel: #858D91;
  --silver: #C5C9C9;
  --white: #FFFFFF;
  --line-dark: rgba(244, 241, 235, 0.12);
  --line-light: rgba(23, 25, 27, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--carbon);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1.1em; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: var(--carbon); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.text-orange { color: var(--orange); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--carbon);
  padding: 10px 18px;
  z-index: 300;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--solid {
  background: var(--orange);
  color: var(--carbon);
}
.btn--solid:hover {
  background: var(--white);
  color: var(--carbon);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--carbon);
  border-color: rgba(23, 25, 27, 0.4);
}
.btn--ghost-dark:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-2px);
}

.btn--small { padding: 11px 22px; font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
}
.text-link::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.text-link:hover::after { width: 44px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(23, 25, 27, 0.94);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__word span { color: var(--orange); }
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--silver);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--orange); }

.header__cta { flex: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 140;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(24px, 8vw, 80px) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--warm);
  padding: 6px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.mobile-nav__link small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.2em;
}
.mobile-nav__link:hover,
.mobile-nav__link.is-active { color: var(--orange); }
.mobile-nav__foot {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav__mail {
  color: var(--silver);
  text-decoration: none;
  font-weight: 600;
}
.mobile-nav__mail:hover { color: var(--orange); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: 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: 62% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 25, 27, 0.62) 0%, rgba(23, 25, 27, 0.18) 42%, rgba(23, 25, 27, 0.9) 100%),
    linear-gradient(90deg, rgba(23, 25, 27, 0.72) 0%, rgba(23, 25, 27, 0.05) 68%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero__index {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.hero__index::after {
  content: "";
  width: 72px;
  height: 1px;
  background: var(--orange);
}
.hero__title {
  font-size: clamp(52px, 9.5vw, 138px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  margin: 0 0 26px;
  max-width: 12ch;
}
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--warm);
}
.hero__sub {
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--silver);
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
}
.hero__foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  padding: 18px 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero__foot-inner b { color: var(--warm); font-weight: 700; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 58vh;
  padding: calc(var(--header-h) + 64px) 0 64px;
  color: var(--white);
  background: var(--carbon);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 25, 27, 0.55) 0%, rgba(23, 25, 27, 0.25) 45%, rgba(23, 25, 27, 0.92) 100%),
    linear-gradient(90deg, rgba(23, 25, 27, 0.7) 0%, rgba(23, 25, 27, 0.08) 70%);
}
.page-hero__content { position: relative; z-index: 2; max-width: 820px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--silver);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { color: var(--orange); }
.breadcrumbs .current { color: var(--warm); }

.page-hero__title {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 0.94;
  margin: 0 0 20px;
}
.page-hero__lead {
  max-width: 600px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--silver);
  margin: 0;
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--dark { background: var(--carbon); color: var(--warm); }
.section--graphite { background: var(--graphite); color: var(--warm); }
.section--light { background: var(--warm); color: var(--carbon); }
.section--white { background: var(--white); color: var(--carbon); }

.section--dark p, .section--graphite p { color: var(--silver); }
.section--dark .section__title, .section--graphite .section__title { color: var(--white); }

.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__head--single { grid-template-columns: 1fr; max-width: 780px; }
.section__head .text-link { margin-bottom: 10px; white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}
.eyebrow__num { color: var(--steel); }

.section__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  margin: 0;
}
.section__lead {
  max-width: 620px;
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 0;
}

/* ---------- Split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--wide-media { grid-template-columns: 1.15fr 0.85fr; }
.split--wide-text { grid-template-columns: 0.85fr 1.15fr; }

.figure {
  position: relative;
  margin: 0;
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--tall img { aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 16 / 10; }
.figure--square img { aspect-ratio: 1 / 1; }
.figure__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--orange);
  color: var(--carbon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.figure--framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--orange);
  z-index: -1;
}
.split .figure { z-index: 0; }

.caption-note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-top: 10px;
}

/* ---------- Feature list ---------- */

.feature-list { display: grid; gap: 0; margin-top: 28px; }
.feature-list__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.section--dark .feature-list__item,
.section--graphite .feature-list__item { border-top-color: var(--line-dark); }
.feature-list__item:last-child { border-bottom: 1px solid var(--line-light); }
.section--dark .feature-list__item:last-child,
.section--graphite .feature-list__item:last-child { border-bottom-color: var(--line-dark); }
.feature-list__marker {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.feature-list__item h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 4px;
  color: inherit;
}
.feature-list__item p { margin: 0; font-size: 14.5px; }

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  text-decoration: none;
  color: var(--warm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
}
.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.88);
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
  filter: saturate(1);
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 10px;
}
.service-card__title {
  font-size: 27px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--white);
}
.service-card__text {
  font-size: 14.5px;
  color: var(--steel);
  margin: 0 0 20px;
  flex: 1;
}
.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}
.service-card__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.service-card__price small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--steel);
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: var(--silver);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.service-card:hover .service-card__arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--carbon);
}

/* Light variant of cards on light sections */
.service-card--light {
  background: var(--white);
  border: 1px solid var(--line-light);
  color: var(--carbon);
}
.service-card--light .service-card__title { color: var(--carbon); }
.service-card--light .service-card__foot { border-top-color: var(--line-light); }
.service-card--light .service-card__arrow { border-color: var(--line-light); color: var(--carbon); }
.service-card--light:hover .service-card__arrow { color: var(--carbon); }

/* ---------- Process steps ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 30px 24px 34px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
}
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--orange);
  margin-bottom: 20px;
}
.process__step h3 {
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--white);
}
.process__step p { font-size: 14px; margin: 0; }

.process--light .process__step {
  border-color: var(--line-light);
  background: var(--white);
}
.process--light .process__step h3 { color: var(--carbon); }
.process--light .process__step p { color: #4c5257; }

/* Vertical steps */
.steps-v { counter-reset: vstep; display: grid; }
.steps-v__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  counter-increment: vstep;
}
.steps-v__item:last-child { border-bottom: 1px solid var(--line-dark); }
.steps-v__num::before {
  content: "0" counter(vstep);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--orange);
}
.steps-v__item h3 { font-size: 25px; margin: 0 0 8px; color: var(--white); }
.steps-v__item p { margin: 0; font-size: 14.5px; }
.steps-v--light .steps-v__item { border-top-color: var(--line-light); }
.steps-v--light .steps-v__item:last-child { border-bottom-color: var(--line-light); }
.steps-v--light .steps-v__item h3 { color: var(--carbon); }

/* ---------- Price tables ---------- */

.price-block { margin-bottom: clamp(36px, 5vw, 56px); }
.price-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.price-block__title {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.price-block__title::before {
  content: attr(data-num);
  font-size: 15px;
  color: var(--orange);
  letter-spacing: 0.2em;
  font-family: var(--font-body);
  font-weight: 700;
}
.price-block__note { font-size: 13px; color: var(--steel); max-width: 420px; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table td {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-light);
  vertical-align: baseline;
}
.section--dark .price-table td,
.price-table--dark td { border-bottom-color: var(--line-dark); }
.price-table tr td:first-child {
  font-weight: 600;
  font-size: 15.5px;
}
.price-table__desc {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--steel);
  margin-top: 2px;
}
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--orange);
  width: 130px;
}
.price-table tr:hover td { background: rgba(240, 120, 54, 0.05); }

.price-disclaimer {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 18px;
  background: rgba(240, 120, 54, 0.07);
  padding: 22px 26px;
  margin-top: 34px;
}
.price-disclaimer::before { content: ""; background: var(--orange); }
.price-disclaimer p { margin: 0 0 6px; font-size: 14px; }
.price-disclaimer p:last-child { margin-bottom: 0; }
.price-disclaimer strong { color: var(--orange-dark); }
.section--dark .price-disclaimer strong { color: var(--orange); }

/* ---------- Stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line-dark);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}
.stat__label {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.stats--light { border-color: var(--line-light); }
.stats--light .stat { border-right-color: var(--line-light); }
.stats--light .stat__num { color: var(--orange-dark); }

/* ---------- Work / gallery grids ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.work-grid .figure { overflow: hidden; }
.work-grid .figure img {
  transition: transform 0.6s var(--ease);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-grid .figure:hover img { transform: scale(1.04); }
.work-grid__a { grid-column: span 7; aspect-ratio: 16/10; }
.work-grid__b { grid-column: span 5; aspect-ratio: 4/3.42; }
.work-grid__c { grid-column: span 5; aspect-ratio: 4/3.42; }
.work-grid__d { grid-column: span 7; aspect-ratio: 16/10; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--graphite);
  aspect-ratio: 4 / 3;
  width: 100%;
  text-align: left;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__label {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(23, 25, 27, 0.88));
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-item__label { opacity: 1; transform: none; }
.gallery-item__label em {
  font-style: normal;
  color: var(--orange);
}

.gallery-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.gallery-cats button {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  background: transparent;
  border: 1px solid var(--line-dark);
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.gallery-cats button:hover { border-color: var(--orange); color: var(--orange); }
.gallery-cats button.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--carbon);
}
.gallery-item.is-hidden { display: none; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 16, 17, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox__cap {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--silver);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--warm);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.lightbox__close {
  top: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  font-size: 22px;
}
.lightbox__prev, .lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 26px;
}
.lightbox__prev { left: 22px; }
.lightbox__next { right: 22px; }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--carbon);
}

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--line-light); }
.section--dark .faq__item, .faq--dark .faq__item { border-top-color: var(--line-dark); }
.faq__item:last-child { border-bottom: 1px solid var(--line-light); }
.section--dark .faq__item:last-child, .faq--dark .faq__item:last-child { border-bottom-color: var(--line-dark); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: inherit;
}
.faq__q .faq__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--orange);
  border-color: var(--orange);
  color: var(--carbon);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__a-inner {
  padding: 0 44px 24px 4px;
  font-size: 15px;
}
.faq__a-inner p { margin-bottom: 0.8em; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--carbon);
  color: var(--white);
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
}
.cta-band__inner { position: relative; z-index: 2; text-align: center; }
.cta-band__title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 20px;
}
.cta-band__text {
  max-width: 520px;
  margin: 0 auto 34px;
  color: var(--silver);
  font-size: 17px;
}
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Marquee strip ---------- */

.strip {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--carbon);
  padding: 16px 0;
}
.strip__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.strip__item::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Forms ---------- */

.form-shell {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-aside__row {
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-aside__row:first-child { border-top: 0; padding-top: 0; }
.contact-aside__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.contact-aside__value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}
.contact-aside__value a { color: inherit; text-decoration: none; }
.contact-aside__value a:hover { color: var(--orange); }
.contact-aside__sub { font-size: 13.5px; color: var(--steel); margin-top: 4px; }

.quote-form {
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  padding: clamp(26px, 4vw, 44px);
}
.quote-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
.field label b { color: var(--orange); font-weight: 700; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--warm);
  background: rgba(23, 25, 27, 0.6);
  border: 1px solid var(--line-dark);
  padding: 13px 15px;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23858D91' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  background: rgba(23, 25, 27, 0.9);
}
.field--error input, .field--error select, .field--error textarea {
  border-color: #e0483e;
}
.field__error {
  display: none;
  font-size: 12px;
  color: #e07a72;
}
.field--error .field__error { display: block; }
.form-foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.form-foot small { color: var(--steel); font-size: 12px; max-width: 300px; }

.form-success {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 16, 17, 0.9);
}
.form-success.is-visible { display: flex; }
.form-success__card {
  background: var(--graphite);
  border: 1px solid var(--orange);
  max-width: 460px;
  width: 100%;
  padding: 44px 38px;
  text-align: center;
}
.form-success__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--carbon);
  display: grid;
  place-items: center;
}
.form-success__card h3 { font-size: 32px; color: var(--white); margin-bottom: 10px; }
.form-success__card p { color: var(--silver); font-size: 14.5px; }

/* ---------- Map ---------- */

.map-frame {
  border: 1px solid var(--line-dark);
  filter: grayscale(1) contrast(1.05);
  width: 100%;
  height: 380px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #101214;
  color: var(--silver);
  border-top: 1px solid var(--line-dark);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(56px, 7vw, 90px) 0 46px;
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__blurb { font-size: 14px; max-width: 300px; }
.footer__col h4 {
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--orange); }
.footer__contact-line {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer__contact-line a { color: var(--warm); text-decoration: none; font-weight: 600; }
.footer__contact-line a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: var(--steel);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: var(--steel); text-decoration: none; }
.footer__legal a:hover { color: var(--orange); }

/* ---------- Legal prose ---------- */

.prose { max-width: 820px; }
.prose h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 42px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; }
.prose ul { list-style: none; padding-left: 0; margin-bottom: 1.2em; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--orange);
}
.prose .updated {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line-light);
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 30px;
}
.prose .pending-note {
  background: rgba(240, 120, 54, 0.08);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  font-size: 13.5px;
}

/* ---------- Misc ---------- */

.taglist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 15px;
  border: 1px solid var(--line-dark);
  color: var(--silver);
}
.tag--accent { border-color: var(--orange); color: var(--orange); }
.section--light .tag { border-color: var(--line-light); color: #55595c; }
.section--light .tag--accent { border-color: var(--orange); color: var(--orange-dark); }

.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.media-duo .figure img { aspect-ratio: 4/3; width: 100%; height: 100%; object-fit: cover; }

.big-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 20ch;
}
.big-quote .text-orange { color: var(--orange); }

.num-badge {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line-dark); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stats--light .stat { border-bottom-color: var(--line-light); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form-shell { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .split, .split--wide-media, .split--wide-text { grid-template-columns: 1fr; }
  .split--rev .figure { order: -1; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid__a, .work-grid__d { grid-column: span 12; aspect-ratio: 16/10; }
  .work-grid__b, .work-grid__c { grid-column: span 6; aspect-ratio: 4/4.4; }
  .section__head { grid-template-columns: 1fr; }
  .section__head .text-link { justify-self: start; }
  .quote-form__grid { grid-template-columns: 1fr; }
  .steps-v__item { grid-template-columns: 64px 1fr; gap: 16px; }
  .steps-v__num::before { font-size: 40px; }
  .media-duo { grid-template-columns: 1fr; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(44px, 15vw, 64px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .work-grid__b, .work-grid__c { grid-column: span 12; aspect-ratio: 16/10; }
  .process { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
