/* Milestone Building Co. — shared stylesheet for every page.
   Framework: the Creativ Concrete Co. build (itself a copy of Your Plumbing Mates),
   re-themed from dark concrete to the Milestone brand: Paper and Charcoal, not black
   and white. Brand source: outputs/2026-09-25-milestone-building-co-brand/ (the guide PDF).
   Page-only CSS stays inline in each page; everything shared lives here. */

/* ─── TOKENS ─── */
:root {
  --paper:      #F4F1EB;   /* replaces white. The page. */
  --paper-lt:   #FAF8F4;   /* cards sitting on Paper */
  --render:     #D8D2C7;   /* warm light grey: alternating panels */
  --render-lt:  #E6E1D8;
  --charcoal:   #505254;   /* the brand colour, straight from the logo */
  --charcoal-dk:#3F4143;   /* hover on charcoal */
  --ink:        #1D1E20;   /* body text, the footer */
  --steel:      #9B9C9E;   /* rules, captions, inactive */
  --gum:        #94714F;   /* Spotted Gum. The one warm accent, used sparingly */
  --line:       rgba(80,82,84,.16);
  --line-dk:    rgba(244,241,235,.14);
  --muted:      rgba(29,30,32,.68);
  --muted-dk:   rgba(244,241,235,.7);
  --label: 'Michroma', 'Manrope', Arial, sans-serif;
  --body:  'Manrope', Arial, sans-serif;
  --display: 'Archivo', 'Manrope', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* overscroll-behavior stops the rubber-band bounce exposing a gap above the fixed nav.
   Background matches the scrolled nav (Paper) so older iOS bounces blend in. */
html {
  scroll-behavior: smooth;
  font-size: 16px; overflow-x: hidden;
  overscroll-behavior-y: none;
  background: var(--paper);
}
body {
  font-family: var(--body); font-weight: 400;
  background: var(--paper); color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
picture { display: contents; }
section[id], [id="faq"], [id="contact"] { scroll-margin-top: 76px; }
img { display: block; max-width: 100%; }

/* ─── TYPE ───
   Manrope ExtraBold for headlines, sentence case, tight tracking (the brand guide).
   Michroma for small labels only, always capitals, always widely spaced. It's a wide
   face: never set it large, and never use it for sentences. */
.hero-h1, .sec-h, .about-big-h, .cta-band h2, .page-hero h1, .form-ttl,
.svc-card h3, .val h4, .work-name, .step h4, .type-card h3, .wp h4, .fact-n {
  font-family: var(--body); font-weight: 800; letter-spacing: -.02em;
}
/* Headings (6 Oct 2026, Brodie's call): Archivo ExtraBold, slightly expanded, all capitals,
   the face from the Creativ Concrete site. The main heading on each page AND every section
   title (.sec-h, .about-big-h, the CTA band). Small headings (cards, steps, FAQs) stay Manrope. Archivo is much wider than Manrope, so H1 sizes are smaller than
   they were: don't paste the old Manrope sizes back in. */
.hero-h1, .page-hero h1, .page-top h1, .sec-h, .about-big-h, .cta-band h2 {
  font-family: var(--display); font-weight: 800; font-variation-settings: 'wdth' 112;
  text-transform: uppercase; letter-spacing: -.005em;
}
.sec-lbl, .stat-l, .nav-links a, .btn, .ci-lbl, .fg label, .f-col h4, .lic,
.page-hero-badge, .partners-lbl, .p-chip, .type-tag, .mobile-cta-bar a, .mobile-cta-link,
.hero-checks span, .tag, .scroll-indicator span, .step-num, .fact-l, .chip-lbl, .strip-lbl {
  font-family: var(--label); font-weight: 400; text-transform: uppercase;
}

/* ─── PROGRESS BAR ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9000;
  height: 2px; width: 0%; background: var(--gum); pointer-events: none;
}

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  z-index: 8000; transition: opacity .8s ease, visibility .8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: min(320px, 70vw); height: auto; margin-bottom: 2rem; }
.loader-bar-wrap { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar { height: 100%; width: 0%; background: var(--charcoal); animation: loaderFill .9s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ─── NAV ───
   Transparent over the hero photo with the Paper logo; once scrolled it becomes a Paper
   bar with the Charcoal logo. Charcoal on Paper is the brand's home colourway. */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 96px;
  transition: background .4s, box-shadow .4s, height .35s ease, transform .35s cubic-bezier(.25,.46,.45,.94);
}
nav.scrolled { background: rgba(244,241,235,.97); box-shadow: 0 1px 0 var(--line); height: 74px; }
.nav-logo { position: relative; display: block; }
.nav-logo img { height: 40px; width: auto; transition: height .35s ease, opacity .3s ease; }
.nav-logo .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
nav.scrolled .nav-logo img { height: 34px; }
nav.scrolled .nav-logo .logo-light { opacity: 0; }
nav.scrolled .nav-logo .logo-dark { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav-links a {
  font-size: .6rem; letter-spacing: .16em; color: rgba(244,241,235,.92);
  transition: color .2s; position: relative;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
nav.scrolled .nav-links a { color: var(--charcoal); text-shadow: none; }
.nav-links a.nav-cta {
  background: var(--paper); color: var(--charcoal); text-shadow: none;
  padding: .75rem 1.3rem; border-radius: 2px; transition: background .2s, color .2s;
}
.nav-links a.nav-cta::after { display: none; }
nav.scrolled .nav-links a.nav-cta { background: var(--charcoal); color: var(--paper); }
nav.scrolled .nav-links a.nav-cta:hover { background: var(--ink); }
/* Pages whose hero isn't a dark photo start in the scrolled look */
nav.menu-open .nav-logo .logo-light { opacity: 0; }
nav.menu-open .nav-logo .logo-dark { opacity: 1; }
body.nav-solid nav { background: rgba(244,241,235,.97); box-shadow: 0 1px 0 var(--line); }
body.nav-solid .nav-logo .logo-light { opacity: 0; }
body.nav-solid .nav-logo .logo-dark { opacity: 1; }
body.nav-solid .nav-links a { color: var(--charcoal); text-shadow: none; }
body.nav-solid .nav-links a.nav-cta { background: var(--charcoal); color: var(--paper); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--paper);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .25s, background .3s;
  transform-origin: center;
}
nav.scrolled .hamburger span, body.nav-solid .hamburger span, .hamburger.open span { background: var(--charcoal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE DRAWER ─── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 550; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav ul a {
  font-family: var(--body); font-weight: 800; letter-spacing: -.02em;
  font-size: 1.9rem; color: var(--charcoal);
  display: block; transform: translateY(18px); opacity: 0;
  transition: color .2s, transform .4s ease, opacity .4s ease;
}
.mobile-nav.open ul li:nth-child(1) a { transition-delay: .05s; transform: none; opacity: 1; }
.mobile-nav.open ul li:nth-child(2) a { transition-delay: .10s; transform: none; opacity: 1; }
.mobile-nav.open ul li:nth-child(3) a { transition-delay: .15s; transform: none; opacity: 1; }
.mobile-nav.open ul li:nth-child(4) a { transition-delay: .20s; transform: none; opacity: 1; }
.mobile-nav.open ul li:nth-child(5) a { transition-delay: .25s; transform: none; opacity: 1; }
.mobile-nav ul a:hover { color: var(--gum); }
.mobile-cta-link {
  background: var(--charcoal); color: var(--paper); font-size: .66rem; letter-spacing: .16em;
  padding: 1.1rem 2.4rem; border-radius: 2px;
  transform: translateY(18px); opacity: 0;
  transition: background .2s, transform .4s ease .25s, opacity .4s ease .25s;
}
.mobile-nav.open .mobile-cta-link { transform: none; opacity: 1; }
.mobile-nav-mark { width: 44px; height: auto; opacity: .9; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-size: .62rem; letter-spacing: .16em; line-height: 1.3;
  padding: 1.1rem 2rem; border-radius: 2px; border: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s, background .2s, color .2s, border-color .2s;
}
.btn-paper    { background: var(--paper); color: var(--charcoal); }
.btn-paper:hover { background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.btn-ghost    { background: transparent; color: var(--paper); border: 1px solid rgba(244,241,235,.55); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(244,241,235,.08); }
.btn-charcoal { background: var(--charcoal); color: var(--paper); }
.btn-charcoal:hover { background: var(--ink); box-shadow: 0 10px 28px rgba(29,30,32,.2); }
.btn-line     { background: transparent; color: var(--charcoal); border: 1px solid rgba(80,82,84,.45); }
.btn-line:hover { border-color: var(--charcoal); background: rgba(80,82,84,.05); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ─── SHARED SECTION ─── */
section { padding: 6.5rem 6%; }
.sec-lbl {
  font-size: .58rem; letter-spacing: .22em; color: var(--charcoal);
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: .8rem;
}
/* The fine rule before a label echoes the rule under MILESTONE in the logo */
.sec-lbl::before { content: ''; width: 28px; height: 1px; background: var(--steel); flex-shrink: 0; }
.center .sec-lbl, .sec-lbl.center { justify-content: center; }
.sec-h {
  font-size: clamp(1.6rem, 2.9vw, 2.65rem); line-height: 1.06;
  color: var(--charcoal); margin-bottom: 1.1rem;
}
.sec-p { font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 520px; }
.dark { background: var(--charcoal); color: var(--paper); }
.dark .sec-lbl { color: var(--paper); }
.dark .sec-lbl::before { background: rgba(244,241,235,.4); }
.dark .sec-h { color: var(--paper); }
.dark .sec-p { color: var(--muted-dk); }

/* ─── FADE-UP ─── */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ─── HOME HERO ─── */
#hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(20,21,22,.58) 0%, rgba(20,21,22,.28) 24%, rgba(20,21,22,.36) 55%, rgba(20,21,22,.78) 100%);
}
.hero-body {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 150px 6% 150px;
}
.hero-h1 { font-size: clamp(2rem, 4.3vw, 4.3rem); line-height: 1.02; color: var(--paper); margin-bottom: 1.4rem; }
.hero-h1 .line-inner { text-wrap: balance; }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h1 .line-inner { display: block; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; color: rgba(244,241,235,.9);
  margin-bottom: 2.4rem; min-height: 1.5em; display: flex; align-items: center; flex-wrap: wrap; gap: .35rem;
  opacity: 0; transform: translateY(16px);
}
#typewriter { color: var(--paper); font-weight: 700; border-bottom: 1px solid var(--gum); }
.cursor-blink { display: inline-block; width: 2px; height: 1.1em; background: var(--paper); vertical-align: middle; margin-left: 2px; animation: blink .75s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

#hero-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 115%; object-fit: cover; object-position: center 45%; }

.scroll-indicator {
  position: absolute; right: 2.5rem; bottom: 150px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s ease 3.2s forwards;
}
.scroll-indicator span { font-size: .5rem; letter-spacing: .24em; color: var(--paper); opacity: .75; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 52px; background: var(--paper); opacity: .4; animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(1); opacity: .4; } 50% { transform: scaleY(.6); opacity: .8; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ─── STATS BAR ─── three verifiable facts only, no invented numbers */
.stats-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: rgba(244,241,235,.97);
}
.stat { padding: 1.35rem 1rem; text-align: center; border-right: 1px solid var(--line); opacity: 0; transform: translateY(20px); }
.stat:last-child { border-right: none; }
.stat-n { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--charcoal); display: block; line-height: 1.1; margin-bottom: .35rem; }
.stat-l { font-size: .5rem; letter-spacing: .18em; color: rgba(80,82,84,.75); display: block; }

/* ─── INTRO BAND (below the fold on desktop) ─── */
.intro { background: var(--paper); padding: 5.5rem 6% 4.5rem; }
.intro-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: end; }
.intro-lead { font-size: clamp(1.35rem, 2.2vw, 1.95rem); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--charcoal); }
.intro-lead em { font-style: normal; color: var(--gum); }
.hero-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.hero-checks span { font-size: .55rem; letter-spacing: .16em; color: var(--charcoal); display: flex; align-items: center; gap: .7rem; line-height: 1.5; }
.hero-checks span::before { content: ''; width: 14px; height: 1px; background: var(--gum); flex-shrink: 0; }

/* ─── SERVICES ─── */
.services { background: var(--paper); padding-top: 3rem; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.25rem; flex-wrap: wrap; gap: 1.5rem; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-card {
  background: var(--paper-lt); padding: 2.2rem 1.85rem 2.4rem;
  position: relative; overflow: hidden; transition: background .3s, box-shadow .35s;
  transform-style: preserve-3d;
}
.svc-card:hover { background: #fff; box-shadow: 0 18px 44px rgba(29,30,32,.08); }
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gum);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card .specular {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(148,113,79,.07) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover .specular { opacity: 1; }
.svc-ico {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--charcoal);
  margin-bottom: 1.4rem; transition: border-color .3s, color .3s;
}
.svc-card:hover .svc-ico { border-color: var(--gum); color: var(--gum); }
.svc-card h3 { font-size: 1.12rem; color: var(--charcoal); margin-bottom: .55rem; }
.svc-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.svc-card .svc-more { display: inline-block; margin-top: 1rem; font-family: var(--label); font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gum); }

/* ─── ABOUT ─── */
.about { background: var(--render-lt); }
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-big-h { font-size: clamp(1.8rem, 3.3vw, 3.2rem); line-height: 1.04; color: var(--charcoal); margin-bottom: 1.6rem; }
.about-img { position: relative; opacity: 0; transform: scale(.96); transition: transform .9s ease, opacity .9s ease; }
.about-img.visible { opacity: 1; transform: none; }
.about-img img { width: 100%; height: 560px; object-fit: cover; }
.about-img .about-mark {
  position: absolute; right: -1px; bottom: -1px; background: var(--paper); padding: 1.3rem 1.5rem;
  display: flex; align-items: center; gap: .9rem;
}
.about-img .about-mark img { width: 34px; height: auto; }
.about-img .about-mark span { font-family: var(--label); font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--charcoal); line-height: 1.7; }
.about-vals { display: flex; flex-direction: column; gap: 0; margin: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.val {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-16px); transition: transform .5s ease, opacity .5s ease;
}
.val.visible { opacity: 1; transform: none; }
.vi { color: var(--gum); flex-shrink: 0; margin-top: .15rem; }
.val h4 { font-size: 1rem; color: var(--charcoal); margin-bottom: .2rem; }
.val p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

.tilt-card:hover { will-change: transform; }

/* ─── PROCESS (charcoal band) ─── */
.process { background: var(--charcoal); color: var(--paper); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dk); margin-top: 3.25rem; }
.step { padding: 2.2rem 2rem 0 0; border-right: 1px solid var(--line-dk); padding-left: 2rem; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; }
.step-num { font-size: .6rem; letter-spacing: .2em; color: rgba(244,241,235,.55); display: block; margin-bottom: 1.4rem; }
.step h4 { font-size: 1.2rem; color: var(--paper); margin-bottom: .6rem; }
.step p { font-size: .9rem; color: var(--muted-dk); line-height: 1.7; }

/* ─── RECENT WORK ─── */
.work { background: var(--paper); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.75rem; }
.work-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.work-card { position: relative; overflow: hidden; cursor: pointer; background: var(--render); transform-style: preserve-3d; }
.work-card img { width: 100%; height: 460px; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.work-card:hover img { transform: scale(1.04); }
.work-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(20,21,22,.72), rgba(20,21,22,0));
}
.work-name { font-size: 1.1rem; color: var(--paper); }
.work-type { font-family: var(--label); font-size: .48rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,241,235,.75); margin-top: .35rem; display: block; }

/* ─── CAPABILITY TICKER ─── */
.partners { background: var(--render); padding: 2.6rem 0; overflow: hidden; }
.partners-lbl { font-size: .5rem; letter-spacing: .24em; color: var(--charcoal); opacity: .6; text-align: center; margin-bottom: 1.4rem; }
.logo-scroll-wrapper {
  overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.logo-scroll-track { display: inline-flex; gap: 2.6rem; animation: scrollLogos 38s linear infinite; }
.logo-scroll-track:hover { animation-play-state: paused; }
@keyframes scrollLogos { to { transform: translateX(-50%); } }
.p-chip { font-size: .62rem; letter-spacing: .2em; color: var(--charcoal); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.6rem; }
.p-chip::after { content: ''; width: 5px; height: 5px; border: 1px solid var(--gum); transform: rotate(45deg); }

/* ─── PHOTOS ─── */
.photos { background: var(--paper); }
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 320px 320px; gap: .8rem; }
.photos-grid .pc:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.photos-grid .pc:nth-child(2) { grid-column: 3;     grid-row: 1 / 3; }
.photos-grid .pc:nth-child(3) { grid-column: 1;     grid-row: 2; }
.photos-grid .pc:nth-child(4) { grid-column: 2;     grid-row: 2; }
.pc { overflow: hidden; position: relative; background: var(--render); }
/* 112% tall so the scroll parallax (yPercent -6 in site.js) never lifts the photo off its
   frame and shows the Render background underneath. */
.pc img { width: 100%; height: 112%; max-width: none; object-fit: cover; }
.pc:hover img { transform: scale(1.05); }

/* ─── AREAS ─── */
.areas { background: var(--paper); padding: 1rem 6% 6rem; }
.areas-in { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start; border-top: 1px solid var(--line); padding-top: 3.5rem; }
.areas-txt .sec-h { font-size: 1.3rem; line-height: 1.15; margin-bottom: .6rem; }
.areas-txt p { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  border: 1px solid var(--line); border-radius: 2px; padding: .5rem .8rem;
  font-size: .5rem; letter-spacing: .14em; color: var(--charcoal); background: var(--paper-lt);
  transition: border-color .2s, color .2s; cursor: default;
}
.tag:hover { border-color: var(--gum); color: var(--gum); }

/* ─── FAQ ─── */
.faq { background: var(--render-lt); }
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside .sec-p { margin-bottom: 2rem; }
details { border-bottom: 1px solid rgba(80,82,84,.22); }
details:first-child { border-top: 1px solid rgba(80,82,84,.22); }
summary {
  padding: 1.35rem 0; list-style: none; user-select: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-size: 1rem; font-weight: 700; color: var(--charcoal); transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gum); }
.tog {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--steel);
  display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 400; color: var(--steel);
  transition: transform .25s, border-color .2s, color .2s;
}
details[open] summary .tog { transform: rotate(45deg); border-color: var(--gum); color: var(--gum); }
.faq-body { padding: 0 0 1.5rem; font-size: .94rem; color: var(--muted); line-height: 1.8; max-width: 640px; }

/* ─── CTA BAND ─── */
.cta-band { background: var(--charcoal); padding: 6rem 6%; text-align: center; position: relative; overflow: hidden; }
.cta-band .cta-mark { width: 54px; height: auto; margin: 0 auto 2rem; opacity: .9; }
.cta-band h2 { font-size: clamp(1.6rem, 2.9vw, 2.65rem); line-height: 1.08; color: var(--paper); margin-bottom: 1.1rem; position: relative; }
.cta-band p { font-size: 1.02rem; color: var(--muted-dk); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; position: relative; }
.cta-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── CONTACT ─── */
.contact { background: var(--paper); }
.contact-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.ci { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.c-ico { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 2px; display: flex; align-items: center; justify-content: center; color: var(--charcoal); transition: border-color .25s, color .25s; }
.ci:hover .c-ico { border-color: var(--gum); color: var(--gum); }
.ci-lbl { font-size: .48rem; letter-spacing: .2em; color: var(--steel); margin-bottom: .3rem; }
.ci-val { font-size: 1rem; font-weight: 700; color: var(--charcoal); transition: color .2s; }
a.ci-val:hover { color: var(--gum); }
.soc {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--charcoal); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.soc:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); transform: translateY(-2px); }
.form-wrap { background: var(--paper-lt); border: 1px solid var(--line); padding: 2.6rem; }
.form-ttl { font-size: 1.5rem; color: var(--charcoal); margin-bottom: .35rem; }
.form-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.9rem; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fg { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.fg label { font-size: .48rem; letter-spacing: .18em; color: var(--charcoal); }
.fg label .opt { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .75rem; color: var(--steel); }
.fg input, .fg textarea, .fg select {
  background: var(--paper); border: 1px solid rgba(80,82,84,.22); border-radius: 2px;
  padding: .85rem 1rem; font-family: var(--body); font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .25s, box-shadow .25s; width: 100%; -webkit-appearance: none; appearance: none;
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23505254' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.fg input[type="file"] { padding: .6rem .7rem; font-size: .85rem; cursor: pointer; }
.fg input[type="file"]::file-selector-button {
  font-family: var(--label); font-size: .5rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--charcoal); color: var(--paper); border: 0; border-radius: 2px;
  padding: .6rem .9rem; margin-right: .8rem; cursor: pointer;
}
.fg-hint { font-size: .78rem; color: var(--steel); line-height: 1.45; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(29,30,32,.32); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(80,82,84,.1); }
.fg textarea { resize: vertical; min-height: 110px; }

/* ─── SUBPAGE HERO ─── */
.page-hero { min-height: 78vh; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero-img { position: absolute; inset: 0; z-index: 0; }
.page-hero-img img { width: 100%; height: 115%; object-fit: cover; object-position: center 45%; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(20,21,22,.55) 0%, rgba(20,21,22,.3) 35%, rgba(20,21,22,.82) 100%); }
.page-hero-body { position: relative; z-index: 2; padding: 9rem 6% 5rem; }
.page-hero-badge { display: inline-flex; align-items: center; gap: .8rem; font-size: .52rem; letter-spacing: .22em; color: var(--paper); margin-bottom: 1.4rem; }
.page-hero-badge::before { content: ''; width: 28px; height: 1px; background: rgba(244,241,235,.6); }
.page-hero h1 { font-size: clamp(1.9rem, 4.1vw, 3.9rem); line-height: 1.02; color: var(--paper); margin-bottom: 1.3rem; max-width: 15ch; }
.page-hero p { font-size: 1.08rem; color: rgba(244,241,235,.86); max-width: 560px; line-height: 1.7; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ─── KEY FACTS ─── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.fact { padding: 2.2rem 6%; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact-n { font-size: 1.5rem; color: var(--charcoal); display: block; margin-bottom: .4rem; }
.fact-l { font-size: .5rem; letter-spacing: .18em; color: var(--steel); line-height: 1.7; }

/* ─── TYPE CARDS (subpages) ─── */
.types-section { background: var(--paper); }
.types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.type-card { background: var(--paper-lt); padding: 2.4rem 2.2rem; display: flex; flex-direction: column; }
.type-card .svc-ico { margin-bottom: 1.3rem; }
.type-card h3 { font-size: 1.3rem; color: var(--charcoal); margin-bottom: .6rem; }
.type-card p { font-size: .92rem; color: var(--muted); line-height: 1.7; flex: 1; }
.type-tag { font-size: .48rem; letter-spacing: .2em; color: var(--gum); margin-top: 1.3rem; }

/* ─── FEATURE SPLIT (subpages) ─── */
.why-section { background: var(--render-lt); }
.why-in { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-img { overflow: hidden; }
.why-img img { width: 100%; height: 600px; object-fit: cover; }
.why-points { margin: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.wp { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.wp-ico { color: var(--gum); flex-shrink: 0; margin-top: .15rem; }
.wp h4 { font-size: 1rem; color: var(--charcoal); margin-bottom: .2rem; }
.wp p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ─── STRIP ─── */
.strip-section { background: var(--paper); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.strip-cell { overflow: hidden; background: var(--render); }
.strip-cell img { width: 100%; height: 380px; object-fit: cover; transition: transform .6s ease; }
.strip-cell:hover img { transform: scale(1.04); }

/* ─── CHIPS ─── */
.chips-section { background: var(--render); padding: 3.5rem 6%; text-align: center; }
.chip-lbl { font-size: .52rem; letter-spacing: .22em; color: var(--charcoal); display: block; margin-bottom: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 980px; margin: 0 auto; }
.chips span { background: var(--paper); border: 1px solid var(--line); padding: .6rem 1rem; font-size: .85rem; font-weight: 600; color: var(--charcoal); border-radius: 2px; }

/* ─── MOBILE STICKY CTA ─── */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: rgba(244,241,235,.98); border-top: 1px solid var(--line);
  padding: .75rem 4% max(.75rem, env(safe-area-inset-bottom)); gap: .6rem;
  transform: translateY(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.mobile-cta-bar.visible { transform: none; }
.mobile-cta-bar::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 100px; background: rgba(244,241,235,.98); }
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; flex: 1; padding: .95rem .5rem; border-radius: 2px; font-size: .56rem; letter-spacing: .16em; min-height: 48px; }
.mcta-call  { background: var(--charcoal); color: var(--paper); }
.mcta-quote { background: transparent; color: var(--charcoal); border: 1px solid rgba(80,82,84,.4); }

/* ─── FOOTER ─── */
footer { background: var(--ink); color: var(--paper); padding: 5rem 6% 2rem; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.f-logo { width: 240px; height: auto; margin-bottom: 1.4rem; }
.f-about { font-size: .9rem; color: rgba(244,241,235,.6); line-height: 1.7; margin-bottom: 1.5rem; max-width: 360px; }
.f-soc { display: flex; gap: .5rem; }
footer .soc { border-color: var(--line-dk); color: rgba(244,241,235,.75); }
footer .soc:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.f-col h4 { font-size: .48rem; letter-spacing: .22em; color: rgba(244,241,235,.45); margin-bottom: 1.3rem; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.f-col a, .f-col span { font-size: .9rem; color: rgba(244,241,235,.72); transition: color .2s; }
.f-col a:hover { color: var(--paper); }
.f-bot { border-top: 1px solid var(--line-dk); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem; }
.f-bot p { font-size: .78rem; color: rgba(244,241,235,.45); }
.f-bot a:hover { color: var(--paper); }
.lics { display: flex; gap: .6rem; flex-wrap: wrap; }
.lic { font-size: .48rem; letter-spacing: .16em; color: rgba(244,241,235,.55); border: 1px solid var(--line-dk); padding: .45rem .7rem; border-radius: 2px; }

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300; width: 44px; height: 44px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--charcoal); cursor: pointer;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s, color .2s;
}
#back-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-top:hover { background: var(--charcoal); color: var(--paper); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { padding-left: 0; }
  .step { padding-bottom: 2rem; }
}
@media (max-width: 920px) {
  .about-in, .contact-in, .why-in, .intro-in { grid-template-columns: 1fr; gap: 2.75rem; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .f-grid > div:first-child { grid-column: 1 / -1; }
  .faq-in { grid-template-columns: 1fr; gap: 2rem; }
  .faq-aside { position: static; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* MOBILE NAV: floats over the hero, becomes a Paper bar once scrolled, slides away on
     scroll-down and back on scroll-up. The ::before extends the bar upward so the iOS
     collapsing URL bar can never show page content above it (the artefact that made the
     concrete site drop its mobile bar entirely). */
  nav { height: 76px; padding: 0 4%; }
  nav.scrolled { height: 64px; }
  nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; background: inherit; }
  .nav-logo img, nav.scrolled .nav-logo img { height: 30px; }
  nav.nav-up { transform: translateY(-110%); }

  #hero { min-height: 0; }
  .hero-body { min-height: 0; height: 88vh; padding: 8rem 5% 7.5rem; justify-content: flex-end; }
  @supports (height: 1svh) { .hero-body { height: 88svh; } }
  .hero-slide { display: none; opacity: 1; transition: none; }
  .hero-slide:first-child { display: block; }
  .hero-slide img { height: 100%; }
  .hero-h1 { font-size: clamp(1.55rem, 7.2vw, 2.5rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 1.8rem; }
  .hero-btns { width: 100%; flex-wrap: nowrap; gap: .55rem; }
  .hero-btns .btn { flex: 1; padding: 1rem .6rem; min-height: 52px; }
  .hero-btns .arr, .page-hero .hero-actions .arr { display: none; }
  .scroll-indicator { display: none; }
  .stat { padding: 1rem .4rem; }
  .stat-n { font-size: 1.02rem; }
  .stat-l { font-size: .42rem; letter-spacing: .14em; }

  section { padding: 4.5rem 5%; }
  .intro { padding: 3.75rem 5% 3rem; }
  .services { padding-top: 2rem; }
  .hero-checks { grid-template-columns: 1fr; }
  .about-img img { height: 420px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .work-card:first-child { grid-column: 1 / -1; }
  .work-card img { height: 340px; }
  .photos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .photos-grid .pc:nth-child(n) { grid-column: auto; grid-row: auto; }
  .photos-grid .pc:nth-child(1) { grid-column: 1 / -1; }
  .areas { padding: 0 5% 4.5rem; }
  .areas-in { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 3rem; }
  .fr { grid-template-columns: 1fr; gap: 0; }
  .form-wrap { padding: 1.8rem 1.4rem; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); padding: 1.5rem 5%; }
  .types-grid { grid-template-columns: 1fr; }
  .why-img img { height: 420px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid .strip-cell:first-child { grid-column: 1 / -1; }
  .strip-cell img { height: 280px; }
  .page-hero { min-height: 82vh; }
  @supports (height: 1svh) { .page-hero { min-height: 82svh; } }
  .page-hero-body { padding: 7rem 5% 3.5rem; }
  .page-hero .hero-actions { flex-wrap: nowrap; gap: .55rem; }
  .page-hero .hero-actions .btn { flex: 1; padding: 1rem .6rem; min-height: 52px; }
  .tilt-card { transform-style: flat; will-change: auto; }
  .mobile-cta-bar { display: flex; }
  #back-top { bottom: 5.75rem; right: 1rem; }
  footer { padding-bottom: 6.5rem; }
  .cta-band { padding: 4.5rem 5%; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { display: grid; grid-template-columns: 42px 1fr; column-gap: 1rem; padding: 1.5rem 1.2rem; }
  .svc-card .svc-ico { width: 42px; height: 42px; margin: 0; grid-row: 1 / span 3; }
  .svc-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
  .svc-card p { font-size: .86rem; }
  .svc-card .svc-more { margin-top: .6rem; }
  .svc-head, .work-head { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:nth-child(3) { padding: 1.6rem 0; border-right: none; border-bottom: 1px solid var(--line-dk); }
  .step:last-child { border-bottom: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card img { height: 300px; }
  .photos-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .strip-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .about-img .about-mark { padding: 1rem 1.1rem; }
  .cta-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ─── SAFETY NET ───
   These start at opacity 0 and are revealed by script. If GSAP never arrives, site.js adds
   .no-anim to <html> and they show at once. Add any new start-hidden selector here AND to
   the <noscript> block in every page's <head>. */
.no-anim .fade-up, .no-anim .hero-sub, .no-anim .hero-btns, .no-anim .stat, .no-anim .about-img,
.no-anim .val, .no-anim .scroll-indicator, .no-anim .sec-h { opacity: 1 !important; transform: none !important; }

/* ─── SMOOTH SCROLL (Lenis, mouse and trackpad only; see site.js) ─── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
