:root {
  --ink: #0c0c0c;
  --ink-soft: #171717;
  --paper: #f3f1eb;
  --stone: #e9e7e0;
  --white: #fbfaf7;
  --muted: #7f7d76;
  --line: rgba(12, 12, 12, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --orange: #d9672d;
  --orange-deep: #bc4f1d;
  --max: 1280px;
  --header-h: 82px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overscroll-behavior-y: none; background: #090909; }
body {
  margin: 0;
  background: #090909;
  overscroll-behavior-y: none;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--orange); color: #fff; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 9999;
  padding: 10px 14px; background: #fff; color: #000;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 88px), var(--max)); margin-inline: auto; }
.section-light, .section-stone, .section-dark { position: relative; }
.section-light { background: var(--paper); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: var(--white); }
.eyebrow {
  display: inline-block; margin-bottom: 24px; font-size: 11px; line-height: 1;
  letter-spacing: .16em; font-weight: 750; text-transform: uppercase; color: var(--orange);
}
.eyebrow-dark { color: #dd8a61; }
.eyebrow-orange { color: rgba(255,255,255,.72); }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.65rem); line-height: 1.45; font-weight: 540; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  color: #fff; transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(10,10,10,.92); border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.nav-shell {
  height: var(--header-h); width: min(calc(100% - 88px), var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  transition: height .35s var(--ease);
}
.site-header.scrolled .nav-shell { height: 68px; }
.wordmark {
  justify-self: start; display: inline-flex; align-items: center;
}
.wordmark-logo { height: 36px; width: auto; display: block; }
.footer-wordmark .wordmark-logo { height: 38px; }
.desktop-nav { display: flex; gap: clamp(20px, 2.4vw, 38px); align-items: center; }
.desktop-nav a, .site-footer nav a {
  position: relative; font-size: 12px; font-weight: 620; letter-spacing: .03em; opacity: .82;
  transition: opacity .2s ease;
}
.desktop-nav a::after, .site-footer nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--orange);
  transition: right .25s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .site-footer nav a:hover, .site-footer nav a:focus-visible { opacity: 1; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after { right: 0; }
.nav-cta {
  justify-self: end; min-width: 132px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  transition: transform .25s var(--ease), background .25s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--orange-deep); transform: translateY(-2px); }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative; min-height: 790px; height: 100svh; max-height: 980px; overflow: hidden; background: #090909; color: #fff;
}
.hero-media {
  position: absolute; inset: 0; background-image: url("assets/hero-cape-town.jpg"); background-size: cover;
  background-position: center center; transform: scale(1.035); will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.44) 44%, rgba(5,5,5,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.74) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%; padding-top: calc(var(--header-h) + 75px); padding-bottom: 64px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-kicker {
  position: absolute; top: calc(var(--header-h) + 60px); left: 0; display: flex; align-items: center; gap: 18px;
  font-size: 11px; font-weight: 800; letter-spacing: .15em;
}
.hero-kicker span { color: rgba(255,255,255,.55); font-weight: 600; }
.hero-title {
  margin: 0 0 34px; max-width: 1100px; font-size: clamp(4.2rem, 9.1vw, 9.6rem); line-height: .88;
  letter-spacing: -.062em; font-weight: 820; overflow: visible; padding-top: .08em;
}
.hero-line { display: block; white-space: nowrap; overflow: visible; }
.hero-line + .hero-line { margin-top: .07em; }
.hero-orange { color: var(--orange); }
.hero-bottom {
  display: grid; grid-template-columns: minmax(0, 570px) auto; align-items: end; gap: 44px;
  padding-top: 27px; border-top: 1px solid rgba(255,255,255,.28);
}
.hero-bottom p { margin: 0; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.45; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.button {
  min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .24s var(--ease), border-color .24s ease, color .24s ease;
}
.button::before {
  content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); z-index: -1;
}
.button:hover::before, .button:focus-visible::before { transform: scaleX(1); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.button-primary::before { background: var(--orange-deep); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(0,0,0,.26); backdrop-filter: blur(8px); }
.button-ghost::before { background: var(--orange); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--orange); }
.button-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-dark::before { background: var(--orange); }
.hero-foot {
  margin-top: 32px; display: flex; justify-content: space-between; gap: 24px;
  font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.62);
}

.capability-rail {
  position: relative; z-index: 10; background: var(--ink-soft); color: #fff; border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.13);
}
.capability-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.capability-clone { display: none; }
.capability-item {
  min-height: 122px; padding: 22px 18px; border-right: 1px solid rgba(255,255,255,.10); position: relative;
  display: grid; align-content: center; justify-items: center; text-align: center; gap: 12px; overflow: hidden;
}
.capability-item:first-child { border-left: 1px solid var(--line-dark); }
.capability-item::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--orange);
  transition: width .35s var(--ease);
}
.capability-item:hover::after { width: 100%; }
.capability-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.capability-icon img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 1; filter: none; }
.capability-item strong { font-size: clamp(.88rem, 1.2vw, 1rem); line-height: 1.18; font-weight: 720; letter-spacing: -.02em; color: #fff; width: 100%; max-width: 170px; margin: 0 auto; text-align: center; }
.capability-item span { max-width: 190px; font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); }

.intro { padding: 128px 0 112px; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.section-heading h2, .section-topline h2, .positioning h2, .experience h2, .pricing-title h2, .about h2, .coverage h2, .contact h2 {
  margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.5rem); line-height: .96; letter-spacing: -.052em; font-weight: 760;
}
.section-heading h2 { max-width: 610px; }
.intro-copy { max-width: 650px; padding-top: 34px; }
.intro-copy p { margin: 0 0 22px; font-size: 1.03rem; line-height: 1.72; color: #383733; }
.intro-copy .lead { color: var(--ink); margin-bottom: 30px; }

.services { padding: 0 0 128px; }
.section-topline {
  padding-top: 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start;
  margin-bottom: 74px;
}
.section-topline .eyebrow { margin: 8px 0 0; }
.section-topline h2 { font-size: clamp(2rem, 4vw, 3.8rem); max-width: 730px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service {
  min-height: 270px; padding: 34px 36px 44px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  position: relative;
}
.service:nth-child(3n+2), .service:nth-child(3n+3) { padding-left: 36px; }
.service:nth-child(3n) { border-right: 0; }
.service-number { display: block; margin-bottom: 52px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--orange); }
.service h3 { margin: 0 0 16px; font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.service p { margin: 0; max-width: 340px; font-size: .94rem; line-height: 1.65; color: #5d5b55; }

.positioning { padding: 116px 0 120px; overflow: hidden; }
.positioning::before { display: none; }
.positioning-inner { text-align: center; max-width: 1050px; }
.positioning-inner h2 { font-size: clamp(2.8rem, 6vw, 6.4rem); max-width: 1000px; margin-inline: auto; }
.positioning-inner p { max-width: 800px; margin: 36px auto 0; font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,.66); }

.experience { padding: 120px 0 124px; }
.experience-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 10vw, 150px); }
.experience-intro h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.experience-intro > p { margin: 26px 0 38px; max-width: 480px; font-size: 1.03rem; line-height: 1.68; color: #58564f; }
.experience-image { margin: 0; width: min(100%, 460px); aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.experience-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s var(--ease); }
.experience-image:hover img { transform: scale(1.035); }
.project-list { padding-top: 54px; }
.project-list h3 { margin: 0 0 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: var(--orange); }
.project-row {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; min-height: 62px; border-top: 1px solid var(--line);
  transition: padding-left .28s var(--ease), background .28s ease;
}
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row:hover { padding-left: 10px; background: rgba(217,103,45,.035); }
.project-row span { font-size: 10px; letter-spacing: .12em; color: var(--orange); }
.project-row strong { font-size: clamp(1rem, 1.35vw, 1.25rem); font-weight: 610; letter-spacing: -.015em; }

.pricing-section { background: var(--orange); color: #fff; padding: 86px 0 92px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 160px); }
.pricing-title h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
.pricing-copy { padding-top: 14px; }
.pricing-copy p { margin: 0 0 18px; max-width: 650px; font-size: 1rem; line-height: 1.67; color: rgba(255,255,255,.87); }
.pricing-copy .lead { color: #fff; }
.pricing-note { margin-top: 28px !important; padding-left: 18px; border-left: 2px solid rgba(255,255,255,.82); font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; }

.quote-process { padding: 110px 0 124px; overflow: hidden; }
.quote-process .section-topline { margin-bottom: 80px; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.process-line { display: none; }
.process-step { min-height: 250px; padding: 34px 34px 32px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.process-step + .process-step { padding-left: 34px; }
.process-step:last-child { border-right: 0; }
.process-step > span { display: block; margin-bottom: 54px; font-size: 11px; font-weight: 800; color: var(--orange); letter-spacing: .12em; }
.process-step h3 { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.12; letter-spacing: -.025em; }
.process-step p { margin: 0; max-width: 250px; font-size: .9rem; line-height: 1.62; color: #64615b; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 0; }
.about-image { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(34px, 4vw, 54px); background: var(--stone); }
.about-image-frame { position: relative; width: min(76%, 460px); overflow: hidden; background: #d8d3ca; }
.about-image img { width: 100%; height: auto; object-fit: contain; display: block; transition: transform .9s var(--ease); }
.about-image:hover img { transform: scale(1.025); }
.image-label {
  position: absolute; left: 22px; bottom: 22px; padding: 11px 13px; background: rgba(0,0,0,.72); color: #fff;
  font-size: 9px; line-height: 1.35; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; backdrop-filter: blur(8px);
}
.about-copy { padding: clamp(72px, 6vw, 96px); align-self: center; }
.about-copy h2 { font-size: clamp(2.6rem, 4.8vw, 5rem); margin-bottom: 38px; }
.about-copy p { max-width: 680px; font-size: 1rem; line-height: 1.7; color: #494742; }
.about-copy .lead { color: var(--ink); }
.promise { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); font-weight: 650; color: var(--ink) !important; }

.coverage { padding: 116px 0 120px; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 150px); }
.coverage h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.coverage-areas { margin: 45px 0 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.coverage-areas span { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.coverage-areas span:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.coverage-copy > p { max-width: 640px; color: rgba(255,255,255,.58); line-height: 1.65; font-size: .94rem; }
.faq { padding-top: 5px; }
.accordion { border-top: 1px solid var(--line-dark); }
details { border-bottom: 1px solid var(--line-dark); }
summary {
  position: relative; list-style: none; padding: 23px 44px 23px 0; cursor: pointer;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 22px; font-size: 20px; font-weight: 300; color: var(--orange); transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: -5px 0 24px; max-width: 620px; font-size: .9rem; line-height: 1.62; color: rgba(255,255,255,.6); }

.contact { padding: 120px 0 130px; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 10vw, 150px); align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy h2 { font-size: clamp(3rem, 6vw, 6.3rem); }
.contact-copy > p { max-width: 520px; margin: 30px 0 36px; font-size: 1rem; line-height: 1.7; color: #55534d; }
.contact-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-size: 12px; font-weight: 750; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.quote-form { background: #fff; padding: clamp(28px, 4.2vw, 54px); border: 1px solid rgba(12,12,12,.08); box-shadow: 0 24px 70px rgba(0,0,0,.055); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-form label { display: block; margin-bottom: 22px; }
.quote-form label > span { display: block; margin-bottom: 9px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: #5d5a53; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; border: 1px solid #d8d5cd; background: #fbfaf7; color: var(--ink); border-radius: 0;
  padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input, .quote-form select { height: 48px; }
.quote-form textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,103,45,.11); }
.quote-form [aria-invalid="true"] { border-color: #a32920; }
.submit-button { width: 100%; margin-top: 4px; }
.submit-loading { display: none; }
.submit-button.loading .submit-label { display: none; }
.submit-button.loading .submit-loading { display: inline; }
.form-status { min-height: 22px; margin: 14px 0 0; font-size: 12px; line-height: 1.4; }
.form-status.success { color: #226b3d; }
.form-status.error { color: #9a2b22; }
.form-smallprint { margin: 14px 0 0; color: #77736b; font-size: 11px; line-height: 1.5; }
.form-smallprint a { text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: #080808; color: #fff; padding: 52px 0 42px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand nav" "contact nav" "copy copy"; gap: 18px 40px; align-items: start; }
.footer-wordmark { grid-area: brand; }
.footer-contact { grid-area: contact; font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.54); }
.footer-contact span { margin: 0 7px; color: var(--orange); }
.site-footer nav { grid-area: nav; display: flex; gap: 24px; align-self: center; }
.site-footer small { grid-area: copy; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; color: rgba(255,255,255,.38); }
.mobile-action-bar { display: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }



/* === CONSOLIDATED RESPONSIVE + PERFORMANCE PASS === */

/* Continuous trust ticker */
.capability-rail {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  background: var(--ink-soft);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.13);
  contain: paint;
}
.capability-rail::before,
.capability-rail::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 42px;
  pointer-events: none;
}
.capability-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-soft) 0%, rgba(23,23,23,.92) 35%, rgba(23,23,23,0) 100%);
}
.capability-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink-soft) 0%, rgba(23,23,23,.92) 35%, rgba(23,23,23,0) 100%);
}
.capability-ticker {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  contain: paint;
}
.capability-track {
  display: flex;
  width: max-content;
  animation: trustTicker 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0,0,0);
  pointer-events: none;
}
.capability-track.is-paused { animation-play-state: paused; }
.capability-set { display: flex; flex: none; }
.capability-item,
.capability-item:nth-child(5),
.capability-item:last-child {
  display: grid;
  flex: 0 0 18vw;
  width: 18vw;
  min-width: 18vw;
  min-height: 118px;
  padding: 20px 16px;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 11px;
  border-left: 0;
  border-right: 1px solid var(--line-dark);
  overflow: hidden;
}
.capability-item::after { display: none; }
.capability-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.capability-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.capability-item strong {
  width: 100%;
  max-width: 170px;
  margin: 0 auto;
  font-size: clamp(.82rem, 1vw, .98rem);
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: -.02em;
  color: #fff;
  text-align: center;
}
@keyframes trustTicker {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* Mid-size desktop / tablet landscape */
@media (max-width: 1100px) {
  :root { --header-h: 74px; }
  .container, .nav-shell { width: min(calc(100% - 64px), var(--max)); }
  .desktop-nav { gap: 18px; }

  .hero {
    height: 100svh;
    min-height: 100svh;
    max-height: none;
  }
  .hero-media {
    background-image: url("assets/hero-cape-town-tablet.jpg");
    background-position: center center;
    transform: none;
    will-change: auto;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5,5,5,.18) 0%, rgba(5,5,5,.14) 29%, rgba(5,5,5,.34) 55%, rgba(5,5,5,.74) 100%),
      linear-gradient(90deg, rgba(5,5,5,.17) 0%, rgba(5,5,5,.07) 55%, rgba(5,5,5,.08) 100%);
  }
  .hero-content {
    justify-content: flex-start;
    padding-top: clamp(240px, 34vh, 380px);
    padding-bottom: 64px;
    text-align: center;
  }
  .hero-title {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 28px;
    padding: 0;
    font-size: clamp(4.8rem, 10.6vw, 6.6rem);
    line-height: .9;
    letter-spacing: -.058em;
    text-align: center;
  }
  .hero-line { width: 100%; text-align: center; white-space: nowrap; }
  .hero-orange { font-size: .9em; }
  .hero-bottom {
    width: min(100%, 790px);
    max-width: 790px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
    text-align: center;
  }
  .hero-bottom p { max-width: 690px; margin-inline: auto; font-size: 1.12rem; line-height: 1.52; }
  .hero-actions, .hero-foot { justify-content: center; }
  .hero-foot { margin-top: 16px; font-size: 8.8px; text-align: center; }

  .capability-item,
  .capability-item:nth-child(5),
  .capability-item:last-child {
    flex-basis: 50vw;
    width: 50vw;
    min-width: 50vw;
  }
  .capability-icon { width: 30px; height: 30px; }
  .capability-item strong { font-size: .98rem; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service,
  .service:nth-child(3n+2),
  .service:nth-child(3n+3),
  .service:nth-child(odd),
  .service:nth-child(even) {
    min-height: 250px;
    padding: 34px 30px 40px;
    border-right: 1px solid var(--line);
  }
  .service:nth-child(even) { border-right: 0; }
  .service h3 { font-size: 1.35rem; }
  .service p { font-size: .98rem; line-height: 1.65; }

  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3) {
    min-height: 220px;
    padding: 32px 30px 34px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .process-step:nth-child(even) { border-right: 0; }
  .process-step > span { margin-bottom: 30px; font-size: 12px; font-weight: 850; }
  .process-step p { max-width: 310px; font-size: .96rem; line-height: 1.65; }

  .about-image-frame { width: min(78%, 460px); }
}

/* Tablet portrait and smaller */
@media (max-width: 880px) {
  .site-header { transition: background .18s ease, border-color .18s ease; }
  .site-header.scrolled {
    background: rgba(10,10,10,.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled .nav-shell { height: var(--header-h); }

  .desktop-nav, .nav-cta { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto;
    height: 0;
    overflow: hidden;
    background: rgba(10,10,10,.99);
    color: #fff;
    flex-direction: column;
    opacity: 0;
    transition: height .28s ease, opacity .2s ease;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-menu.open { height: calc(100dvh - var(--header-h)); opacity: 1; padding: 28px 32px 100px; }
  .mobile-menu a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.35rem; font-weight: 650; }

  .intro-grid, .experience-grid, .pricing-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .intro { padding: 92px 0 82px; }
  .intro-copy { padding-top: 0; max-width: 680px; margin-inline: auto; }
  .section-topline { grid-template-columns: 1fr; gap: 22px; margin-bottom: 52px; text-align: center; }
  .section-topline h2 { margin-inline: auto; }
  .section-heading, .experience-intro, .pricing-title, .about-copy, .coverage-copy, .contact-copy { text-align: center; }

  /* Centre short statements, but keep longer prose readable. */
  .intro-copy,
  .about-copy p,
  .coverage-copy > p,
  .contact-copy > p { text-align: left; }
  .about-copy p,
  .coverage-copy > p,
  .contact-copy > p { max-width: 650px; margin-left: auto; margin-right: auto; }

  .experience-image { width: min(100%, 620px); aspect-ratio: 16 / 10; margin-left: auto; margin-right: auto; }
  .project-list { padding-top: 0; }

  .pricing-copy p { margin-left: auto; margin-right: auto; }
  .pricing-note { display: inline-block; text-align: left; }

  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 0; padding: 34px 34px 0; }
  .about-image-frame { width: min(82%, 460px); }
  .about-copy { padding: 76px 42px 84px; }

  .contact-copy { position: static; }

  /* Touch scroll performance: opacity only, no translate/reflow animation. */
  .reveal { transform: none; transition: opacity .34s ease; }
  .button:hover, .nav-cta:hover { transform: none; }
  .experience-image:hover img, .about-image:hover img { transform: none; }
}

/* Final tablet polish */
@media (max-width: 880px) {
  .capability-rail::before,
  .capability-rail::after { width: 26px; }
  .about-image-frame { width: min(86%, 480px); }
  .project-row strong { font-size: 1rem; }
}

/* Phones */
@media (max-width: 620px) {
  :root { --header-h: 66px; }
  body { padding-bottom: 58px; }
  .container:not(.hero-content), .nav-shell { width: calc(100% - 64px); }
  .wordmark-logo { height: 29px; }

  .hero-media {
    background-image: url("assets/hero-cape-town-mobile.jpg");
    background-position: center center;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5,5,5,.17) 0%, rgba(5,5,5,.12) 29%, rgba(5,5,5,.30) 52%, rgba(5,5,5,.77) 100%),
      linear-gradient(90deg, rgba(5,5,5,.12) 0%, rgba(5,5,5,.04) 55%, rgba(5,5,5,.10) 100%);
  }
  .hero-content.container {
    width: calc(100% - 34px);
    justify-content: flex-start;
    padding-top: clamp(230px, 36vh, 330px);
    padding-bottom: 82px;
    text-align: center;
  }
  .hero-title {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 0;
    font-size: clamp(2.9rem, 12.8vw, 3.8rem);
    line-height: .9;
    letter-spacing: -.058em;
  }
  .hero-orange { font-size: .9em; }
  .hero-bottom {
    width: min(100%, 430px);
    max-width: 430px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    padding-top: 18px;
    gap: 15px;
  }
  .hero-bottom p { max-width: 390px; margin-inline: auto; font-size: 1.02rem; line-height: 1.5; }
  .hero-actions { width: min(100%, 390px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .button { min-height: 48px; padding-inline: 12px; font-size: 9.5px; }
  .hero-foot { margin-top: 12px; display: grid; gap: 6px; font-size: 7.6px; }

  .capability-rail::before,
  .capability-rail::after { width: 16px; }

  .capability-item,
  .capability-item:nth-child(5),
  .capability-item:last-child {
    flex-basis: 50vw;
    width: 50vw;
    min-width: 50vw;
    min-height: 102px;
    padding: 14px 10px;
    gap: 8px;
  }
  .capability-icon { width: 25px; height: 25px; }
  .capability-item strong { max-width: 140px; font-size: .9rem; line-height: 1.16; }

  .intro, .experience, .quote-process, .contact { padding-block: 76px; }
  .services { padding-bottom: 78px; }
  .section-heading h2, .section-topline h2, .positioning h2, .experience h2, .pricing-title h2, .about h2, .coverage h2, .contact h2 {
    letter-spacing: -.045em;
    text-wrap: balance;
  }

  .services-grid { grid-template-columns: 1fr; }
  .service,
  .service:nth-child(3n+2),
  .service:nth-child(3n+3),
  .service:nth-child(odd),
  .service:nth-child(even) {
    min-height: auto;
    padding: 22px 0 25px;
    border-right: 0;
  }
  .service-number { margin-bottom: 24px; }
  .service h3 { font-size: 1.08rem; }
  .service p { font-size: .95rem; line-height: 1.66; }

  .positioning { padding: 82px 0 86px; }
  .positioning-inner { text-align: center; }
  .positioning-inner p { margin-left: auto; margin-right: auto; font-size: .93rem; line-height: 1.62; }

  .experience-image { width: 100%; aspect-ratio: 4 / 3; }
  .project-row { grid-template-columns: 42px 1fr; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .project-row strong { font-size: .95rem; line-height: 1.45; }

  .pricing-section { padding: 72px 0 76px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .pricing-copy { padding-top: 0; }
  .pricing-copy p { font-size: .98rem; line-height: 1.68; max-width: 34rem; }
  .pricing-note { margin-top: 20px !important; }

  /* Keep the process compact but readable at 2x2. */
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3) {
    min-height: 176px;
    padding: 26px 18px 28px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .process-step:nth-child(even) { border-right: 0; }
  .process-step > span { margin-bottom: 22px; font-size: 12px; font-weight: 850; opacity: 1; }
  .process-step h3 { font-size: 1.05rem; }
  .process-step p { max-width: none; font-size: .94rem; line-height: 1.64; }

  .about-image { min-height: 0; padding: 24px 22px 0; }
  .about-image-frame { width: min(98%, 392px); }
  .about-copy { padding: 62px 28px 72px; }
  .about-copy p { font-size: .95rem; line-height: 1.68; }

  /* Give the long coverage heading a little more usable width. */
  .coverage { padding-block: 78px; }
  .coverage .container { width: calc(100% - 48px); }
  .coverage-areas { grid-template-columns: 1fr 1fr; margin: 34px 0 28px; }
  .coverage-areas span { padding: 13px 0; font-size: 9.5px; }
  .coverage-areas span:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-dark); }
  .coverage-copy > p { font-size: .94rem; line-height: 1.67; }
  summary { font-size: .94rem; padding-top: 20px; padding-bottom: 20px; }
  details p { font-size: .93rem; line-height: 1.66; }

  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy { text-align: center; }
  .contact-copy > p { font-size: .95rem; line-height: 1.68; }
  .contact-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 20px; }
  .quote-form input, .quote-form select, .quote-form textarea { font-size: 16px; }

  .site-footer { padding: 42px 0 34px; }
  .footer-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "contact" "nav" "copy"; }
  .footer-wordmark .wordmark-logo { height: 28px; }
  .site-footer nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    margin-top: 10px;
  }
  .site-footer nav a { min-width: 0; padding: 8px 0; font-size: 8.7px; line-height: 1.1; text-align: center; white-space: nowrap; }

  .mobile-action-bar {
    position: fixed;
    z-index: 1200;
    inset: auto 0 0;
    height: 58px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    background: #0b0b0b;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #fff;
    transform: translateZ(0);
    contain: paint;
  }
  .mobile-action-bar a { display: flex; align-items: center; justify-content: center; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border-right: 1px solid rgba(255,255,255,.12); }
  .mobile-action-bar a:last-child { background: var(--orange); border-right: 0; font-weight: 800; }
}

@media (max-width: 380px) {
  .container:not(.hero-content), .nav-shell { width: calc(100% - 56px); }
  .coverage h2 { font-size: clamp(2.05rem, 10.4vw, 2.35rem); line-height: .98; }
  .hero-content.container { width: calc(100% - 28px); padding-top: clamp(215px, 34vh, 285px); }
  .hero-title { font-size: clamp(2.55rem, 12vw, 3.1rem); }
  .hero-bottom p { font-size: .96rem; }
  .button { min-height: 44px; font-size: 9px; }
  .service p, .process-step p, .project-row strong, .about-copy p, .coverage-copy > p, .faq details p, .contact-copy > p { font-size: 14.5px; }
  .site-footer nav a { font-size: 8px; }
}

@media (hover: none), (pointer: coarse) {
  .button:hover, .nav-cta:hover, .experience-image:hover img, .about-image:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .capability-track { animation: none !important; transform: none !important; }
  .capability-set[aria-hidden="true"] { display: none; }
}


/* ==========================================================================
   DOWLING CHARCOAL / CONTOUR TEST
   Reversible experiment requested after design approval.
   To revert instantly: remove `theme-charcoal-test` from the <body> element.
   Every rule below is scoped to that class, so the approved design remains
   untouched underneath.
   ========================================================================== */
.theme-charcoal-test {
  --dowling-charcoal: #252A2D;
  --dowling-contour: #555A5C;
}

/* 1. Trust ticker: solid charcoal only. Keep the moving information strip clean. */
.theme-charcoal-test .capability-rail {
  background-color: var(--dowling-charcoal);
  background-image: none;
  border-top-color: rgba(255,255,255,.10);
}
.theme-charcoal-test .capability-rail::before {
  background: linear-gradient(90deg, var(--dowling-charcoal) 0%, rgba(37,42,45,.93) 38%, rgba(37,42,45,0) 100%);
}
.theme-charcoal-test .capability-rail::after {
  background: linear-gradient(270deg, var(--dowling-charcoal) 0%, rgba(37,42,45,.93) 38%, rgba(37,42,45,0) 100%);
}
.theme-charcoal-test .capability-item {
  border-right-color: rgba(85,90,92,.42);
}
.theme-charcoal-test .capability-item:first-child {
  border-left-color: rgba(85,90,92,.42);
}

/* 2. Location section: solid charcoal surface. */
.theme-charcoal-test .coverage {
  background-color: var(--dowling-charcoal);
  background-image: none;
}
.theme-charcoal-test .coverage-areas,
.theme-charcoal-test .coverage-areas span,
.theme-charcoal-test .faq details {
  border-color: rgba(85,90,92,.48);
}

/* 3. Small dark UI surfaces repeat the secondary colour without taking over. */
.theme-charcoal-test .button-ghost,
.theme-charcoal-test .button-dark {
  background: var(--dowling-charcoal);
  border-color: var(--dowling-contour);
}
.theme-charcoal-test .button-ghost::before,
.theme-charcoal-test .button-dark::before {
  background: var(--orange);
}
.theme-charcoal-test .button-ghost:hover,
.theme-charcoal-test .button-ghost:focus-visible,
.theme-charcoal-test .button-dark:hover,
.theme-charcoal-test .button-dark:focus-visible {
  border-color: var(--orange);
}
.theme-charcoal-test .image-label {
  background: rgba(37,42,45,.92);
  border: 1px solid rgba(85,90,92,.58);
}

/* 4. Footer: solid charcoal surface. */
.theme-charcoal-test .site-footer {
  background-color: var(--dowling-charcoal);
  background-image: none;
  border-top-color: rgba(85,90,92,.44);
}
.theme-charcoal-test .site-footer small {
  border-top-color: rgba(85,90,92,.35);
}

/* Keep the mobile fixed contact tray quieter than the charcoal sections. */
@media (max-width: 620px) {
  .theme-charcoal-test .mobile-action-bar {
    background: #151719;
  }
}
