/* ==========================================================================
   Hecker Construction — V2 "Cinematic" design system
   Dark, editorial, full-bleed. Built from scratch.
   Type: Archivo (display) + Instrument Serif (italic accents) + Inter (body)
   ========================================================================== */

:root {
  --bg-0: #050b13;
  --bg-1: #0a1622;
  --bg-2: #10233a;
  --brass: #c79a3c;
  --brass-light: #e2bb63;
  --brass-dark: #a37f2a;
  --text: #e9eef4;
  --muted: #93a5b5;
  --line: rgba(255, 255, 255, .09);
  --shadow-md: 0 14px 40px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .7);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 92px;
  --topbar-h: 38px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brass-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--text); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}

h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
  color: var(--brass-light);
}

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

::selection { background: var(--brass); color: var(--bg-0); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-2); border-radius: 6px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

/* ---------- Film grain ---------------------------------------------------- */

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-22deg);
  transition: left .65s ease;
  pointer-events: none;
}
.btn:hover::after { left: 140%; }

.btn--brass {
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  color: #0a1208;
  box-shadow: 0 10px 26px -10px rgba(199, 154, 60, .55);
}
.btn--brass:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(199, 154, 60, .7); color: #0a1208; }

.btn--ghost {
  border-color: rgba(255, 255, 255, .4);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .1); color: var(--text); transform: translateY(-2px); }

/* ---------- Top bar ------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: 60;
  background: #03080f;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.topbar .container {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar__areas { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-light); font-weight: 600; }
.topbar__phone:hover { color: var(--text); }
.topbar__phone svg { width: 14px; height: 14px; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { color: var(--muted); display: inline-flex; }
.topbar__social a:hover { color: var(--brass-light); }
.topbar__social svg { width: 15px; height: 15px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(5, 11, 19, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 72px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .04em;
  color: rgba(233, 238, 244, .85);
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] { color: var(--text); }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { flex: none; margin-left: 10px; }
.nav-cta .btn { padding: 13px 26px; font-size: 13px; }

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 11px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-0);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav__head img { height: 60px; }
.mobile-nav__close {
  background: none; border: 1px solid rgba(255, 255, 255, .3);
  color: var(--text); width: 44px; height: 44px; border-radius: 10px;
  font-size: 20px; cursor: pointer; line-height: 1;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  letter-spacing: .02em;
}
.mobile-nav__foot { margin-top: auto; padding-top: 28px; }
.mobile-nav__foot .btn { width: 100%; justify-content: center; }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__bg img, .page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, rgba(5, 11, 19, .92) 0%, rgba(5, 11, 19, .68) 42%, rgba(5, 11, 19, .22) 75%, rgba(5, 11, 19, .08) 100%),
    linear-gradient(to top, var(--bg-0) 0%, transparent 30%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 10%, transparent 55%, rgba(5, 11, 19, .6) 100%);
  pointer-events: none;
}

.hero__inner { padding: 100px 0 130px; max-width: 780px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 42px; height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.2, .7, .3, 1) .25s;
}
.hero .eyebrow::before, .is-visible .eyebrow::before { transform: scaleX(1); }

.hero h1 {
  color: var(--text);
  font-size: clamp(40px, 9vw, 88px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

/* word-rise entrance (spans injected by JS) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .wi {
  display: inline-block;
  transform: translateY(115%);
  animation: wordRise .95s cubic-bezier(.16, .8, .26, 1) forwards;
  animation-delay: calc(var(--i) * 70ms + .15s);
}
@keyframes wordRise { to { transform: translateY(0); } }

.hero .eyebrow { animation: fadeUp .8s ease .05s backwards; }
.hero__sub { animation: fadeUp .8s ease .7s backwards; }
.hero__actions { animation: fadeUp .8s ease .9s backwards; }

.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(233, 238, 244, .82);
  margin: 0 0 40px;
  max-width: 560px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(233, 238, 244, .6);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

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

.areas-strip {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
  color: var(--muted);
  overflow: hidden;
  padding: 16px 0;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}
.areas-strip__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.areas-strip:hover .areas-strip__track { animation-play-state: paused; }
.areas-strip__track span { padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.areas-strip__track span::after { content: "✦"; color: var(--brass); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

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

.section { padding: 110px 0; position: relative; }
.section--raised { background: var(--bg-1); }

.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

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

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(199, 154, 60, .5); }
.service-card.reveal.is-visible { transition: transform .25s ease-out, box-shadow .3s ease, border-color .3s ease; }

.service-card__media { position: absolute; inset: 0; z-index: -2; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(226, 187, 99, .22) 48%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}
.service-card:hover .service-card__media::after { transform: translateX(120%); }

.service-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5, 11, 19, .96) 6%, rgba(5, 11, 19, .55) 45%, rgba(5, 11, 19, .1) 75%);
}

.service-card__num {
  position: absolute;
  top: 18px; right: 22px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 74px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35);
  transition: -webkit-text-stroke .3s ease, transform .3s ease;
  pointer-events: none;
}
.service-card:hover .service-card__num { -webkit-text-stroke: 1.5px var(--brass-light); transform: translateY(-4px); }

.service-card__body { padding: 34px 30px 30px; }
.service-card__body h3 { font-size: 27px; font-weight: 800; margin-bottom: 8px; }
.service-card__body p { font-size: 14.5px; color: rgba(233, 238, 244, .75); margin: 0 0 20px; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.service-card__link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.service-card:hover .service-card__link svg { transform: translateX(6px); }

/* ---------- Process strip ------------------------------------------------------ */

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }

.step {
  padding: 54px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .3s ease;
}
.step:last-child { border-right: none; }
.step:hover { background: rgba(255, 255, 255, .025); }

.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  color: var(--brass);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Featured work strip -------------------------------------------------- */

.work-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 42%);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) var(--bg-1);
}
.work-strip a {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  isolation: isolate;
}
.work-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.work-strip a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 19, .45), transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
}
.work-strip a:hover img { transform: scale(1.06); }
.work-strip a:hover::after { opacity: 1; }

/* ---------- Testimonial ------------------------------------------------------------ */

.quote-block { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-block .stars { color: var(--brass); letter-spacing: 8px; font-size: 20px; margin-bottom: 28px; }
.quote-block blockquote {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.01em;
}
.quote-block blockquote::before { content: "“"; color: var(--brass); }
.quote-block blockquote::after { content: "”"; color: var(--brass); }
.quote-block cite { font-style: normal; }
.quote-block cite strong {
  display: block;
  font-family: var(--font-display);
  color: var(--brass-light);
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.quote-block cite span { color: var(--muted); font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-light);
  border-bottom: 1px solid rgba(226, 187, 99, .4);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--text); border-color: var(--text); }

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

.cta-band { position: relative; overflow: hidden; background: var(--bg-1); border-block: 1px solid var(--line); }
.cta-band::before {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 154, 60, .2), transparent 65%);
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-block: 80px;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; margin: 0; }
.cta-band__phone {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 900;
  color: var(--brass-light);
  letter-spacing: -.01em;
}
.cta-band__phone:hover { color: var(--text); }

/* ---------- Page hero (interior) --------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--bg-0) 4%, rgba(5, 11, 19, .55) 55%, rgba(5, 11, 19, .4) 100%);
}
.page-hero__inner { padding: 160px 0 56px; }
.page-hero__sub { max-width: 46ch; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.page-hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 900; margin: 0; }

.crumbs {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--brass-light); }
.crumbs a:hover { color: var(--text); }
.crumbs span::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .3); }

.page-body { padding: 90px 0 110px; }

/* ---------- Rich text (long-form pages) ----------------------------------------------------- */

.rich-text { max-width: 780px; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text h2 { font-size: 30px; font-weight: 800; margin: 46px 0 16px; }
.rich-text h3 { font-size: 23px; font-weight: 700; margin: 38px 0 14px; }
.rich-text p { margin: 0 0 18px; color: rgba(233, 238, 244, .85); }
.rich-text ul, .rich-text ol { margin: 0 0 22px; padding-left: 4px; list-style: none; display: grid; gap: 10px; }
.rich-text li { position: relative; padding-left: 30px; color: rgba(233, 238, 244, .85); }
.rich-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  background: var(--brass);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.rich-text strong { color: var(--text); }
.rich-text a { font-weight: 600; border-bottom: 1px solid rgba(199, 154, 60, .5); }
.rich-text a:hover { border-color: var(--brass-light); }

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

.quote-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
}
.quote-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.quote-card > p { font-size: 14.5px; color: var(--muted); margin: 0 0 24px; }

.quote-form { display: grid; gap: 14px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(233, 238, 244, .7);
  margin-bottom: 6px;
}
.field label em { color: var(--brass-light); font-style: normal; }

.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(233, 238, 244, .35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(199, 154, 60, .22);
  background: rgba(255, 255, 255, .08);
}
.field textarea { min-height: 110px; resize: vertical; }

.field.has-error input, .field.has-error textarea { border-color: #d9534a; box-shadow: 0 0 0 3px rgba(217, 83, 74, .18); }
.field .error-msg { display: none; font-size: 12.5px; color: #ff9b8a; margin-top: 5px; }
.field.has-error .error-msg { display: block; }

.form-success {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(53, 182, 160, .12);
  border: 1px solid rgba(53, 182, 160, .4);
  color: #7fd8c6;
  font-weight: 600;
  font-size: 14.5px;
}
.form-success.is-visible { display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Projects page ------------------------------------------------------------------------- */

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--brass); color: var(--text); }
.chip.is-active { background: var(--brass); border-color: var(--brass); color: var(--bg-0); }

.cat { margin-bottom: 90px; scroll-margin-top: calc(var(--header-h) + 20px); }
.cat.is-hidden { display: none; }

.cat__head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cat__head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; margin: 0; }
.cat__head .cat__group {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}
.cat__blurb { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 0 30px; }

.cat__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat__gallery a {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.cat__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.cat__gallery a:hover img { transform: scale(1.06); }

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

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 6, 11, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--text);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
  line-height: 1;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .2em;
}

/* ---------- Contact page -------------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 3px; }
.info-row strong { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-row a, .info-row span { color: var(--text); font-size: 17px; }
.info-row a:hover { color: var(--brass-light); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 30px;
  box-shadow: var(--shadow-md);
}
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Careers / reviews / platforms ------------------------------------------------------------------ */

.card-list { display: grid; gap: 18px; max-width: 860px; }

.job-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.job-card:hover { transform: translateX(6px); border-color: var(--brass); box-shadow: var(--shadow-md); }
.job-card h3 { margin: 0 0 4px; font-size: 21px; }
.job-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.job-card__arrow { margin-left: auto; color: var(--brass-light); font-size: 24px; flex: none; transition: transform .2s ease; }
.job-card:hover .job-card__arrow { transform: translateX(5px); }

.review-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.review-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}
.review-card::before {
  content: "“";
  position: absolute;
  top: 10px; left: 26px;
  font-family: var(--font-serif);
  font-size: 90px;
  color: rgba(199, 154, 60, .25);
  line-height: 1;
}
.review-card .stars { color: var(--brass); letter-spacing: 4px; margin-bottom: 18px; position: relative; }
.review-card p { position: relative; font-size: 17px; margin: 0 0 22px; color: rgba(233, 238, 244, .88); }
.review-card cite { font-style: normal; }
.review-card cite strong { display: block; font-family: var(--font-display); color: var(--text); }
.review-card cite span { color: var(--muted); font-size: 14px; }

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; }
.platform-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.platform-card:hover { transform: translateY(-5px); border-color: var(--brass); }
.platform-card strong { font-family: var(--font-display); color: var(--text); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.platform-card::after { content: "↗"; color: var(--brass-light); font-size: 18px; transition: transform .2s ease; }
.platform-card:hover::after { transform: translate(3px, -3px); }

/* ---------- Schedule calendar ------------------------------------------------------------------------------ */

.cal-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cal-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.cal-head h3 { margin: 0; font-size: 22px; font-weight: 800; margin-right: auto; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .2s ease;
}
.cal-nav button:hover { background: rgba(255, 255, 255, .14); }
.cal-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--scheduled { background: var(--brass); }
.dot--in-progress { background: #35b6a0; }
.dot--completed { background: #8a97a3; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow {
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.cal-day {
  min-height: 96px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day--pad { background: rgba(255, 255, 255, .015); }
.cal-day.is-today { background: rgba(199, 154, 60, .1); }
.cal-day.is-today .cal-day__num { background: var(--brass); color: var(--bg-0); border-radius: 50%; }
.cal-day__num {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 600;
}
.cal-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-chip--scheduled { background: rgba(199, 154, 60, .18); color: var(--brass-light); border-left: 3px solid var(--brass); }
.cal-chip--in-progress { background: rgba(53, 182, 160, .16); color: #5fd3bd; border-left: 3px solid #35b6a0; }
.cal-chip--completed { background: rgba(138, 151, 163, .16); color: #9aa7b2; border-left: 3px solid #8a97a3; }
.cal-chip--span { padding: 2px 4px; opacity: .55; border-left-width: 0; }

.sched-list { display: grid; gap: 14px; }
.sched-card {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
}
.sched-card--completed { opacity: .7; }
.sched-card__code {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 86px;
  text-align: center;
}
.sched-card__main { flex: 1 1 220px; }
.sched-card__main strong { display: block; font-family: var(--font-display); font-size: 17px; }
.sched-card__main span { color: var(--muted); font-size: 14.5px; }
.sched-card__dates { flex: 1 1 200px; font-size: 14.5px; font-weight: 500; }

.badge {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.badge--scheduled { background: rgba(199, 154, 60, .18); color: var(--brass-light); }
.badge--in-progress { background: rgba(53, 182, 160, .18); color: #5fd3bd; }
.badge--completed { background: rgba(138, 151, 163, .2); color: #9aa7b2; }

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

.site-footer {
  background: #03080f;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 90px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 70px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { height: 100px; margin-bottom: 22px; }
.footer-brand p { margin: 0 0 22px; line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: rgba(233, 238, 244, .7);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--bg-0); }
.footer-social svg { width: 16px; height: 16px; }

.site-footer h4 {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "›"; color: var(--brass); }
.footer-links a:hover { color: var(--brass-light); }

.footer-contact { display: grid; gap: 18px; }
.footer-contact .item { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--brass); flex: none; margin-top: 3px; }
.footer-contact strong { color: var(--text); display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--brass-light); }

.footer-mark {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(90px, 16vw, 260px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .08);
  user-select: none;
  pointer-events: none;
  margin: 10px 0 50px;
  transition: -webkit-text-stroke .5s ease;
}
.site-footer:hover .footer-mark { -webkit-text-stroke: 1.5px rgba(199, 154, 60, .3); }

.footer-bottom { padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brass-light); }

/* ---------- Animation / utility ------------------------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.text-center { text-align: center; }

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

@media (max-width: 1024px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: none; }
  .step { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat__gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .services-grid, .review-cards, .platform-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 440px; }
  .topbar__areas { display: none; }
  .topbar .container { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { padding: 80px 0 110px; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .work-strip { grid-auto-columns: 82%; }
  .cat__gallery { grid-template-columns: 1fr; }
  .cta-band .container { padding-block: 60px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox { padding: 16px; }
  .cal-day { min-height: 64px; padding: 5px; }
  .cal-chip { font-size: 10px; padding: 1px 5px; }
  .cal-head { gap: 12px; }
  .cal-legend { width: 100%; }
  .sched-card { gap: 14px; padding: 18px; }
}

/* ---------- Sticky mobile CTA / cookie banner / loading --------------------------------------------------------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: var(--bg-2, #10233a);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  transition: transform .3s ease;
}
.sticky-cta.is-hidden { transform: translateY(100%); }
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.sticky-cta svg { width: 16px; height: 16px; }
.sticky-cta__call { color: #fff; }
.sticky-cta__quote {
  background: linear-gradient(135deg, var(--brass, #c79a3c), var(--brass-dark, #a37f2a));
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 950;
  max-width: 560px;
  margin: 0 auto;
  background: #101820;
  color: #eef2f5;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  animation: fadeUp .4s ease both;
}
.cookie-banner p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 10px 18px; font-size: 13px; }
.cookie-banner[hidden] { display: none; }

/* Submit-button loading spinner */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .sticky-cta { display: flex; }
}

@media (max-width: 720px) {
  body { padding-bottom: 52px; } /* room for the sticky CTA bar */
  .cookie-banner { bottom: 68px; }
}

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