/* Qwest Industries UK LTD — demo site
   Palette sampled from the company logo. */

:root {
  --navy-900: #0d1428;
  --navy-800: #16203f;
  --navy-700: #1f2c54;
  --navy-600: #2c3b69;
  --orange: #e8871e;
  --amber: #f2a93b;
  --ember: #d9531e;
  --leaf: #3f8f4f;

  --ink: #16203f;
  --ink-soft: #4d5878;
  --ink-mute: #737e9c;
  --line: #e3e7f0;
  --paper: #ffffff;
  --paper-2: #f7f8fc;
  --cream: #fdfaf4;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 40, .06), 0 4px 12px rgba(13, 20, 40, .05);
  --shadow-md: 0 2px 6px rgba(13, 20, 40, .07), 0 14px 34px rgba(13, 20, 40, .09);
  --shadow-lg: 0 30px 70px rgba(13, 20, 40, .16);

  --wrap: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.25rem);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
  font-weight: 780;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.16rem, 1.7vw, 1.4rem); }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

section { padding: clamp(4rem, 8vw, 7rem) 0; }
section.tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .775rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), var(--amber));
}

.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-soft); max-width: 62ch; }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 680; font-size: .96rem; text-decoration: none;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease,
    background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--ember), var(--orange) 55%, var(--amber));
  color: #fff; box-shadow: 0 10px 26px rgba(217, 83, 30, .32);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(217, 83, 30, .4); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header .bar {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0; transition: padding .3s ease;
}
.site-header.solid {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(13, 20, 40, .07);
}
.site-header.solid .bar { padding: .55rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; transition: height .3s ease; }
.site-header.solid .brand img { height: 40px; }
.brand .logo-dark { display: none; }
.site-header.solid .brand .logo-dark { display: block; }
.site-header.solid .brand .logo-light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.02rem; letter-spacing: -.01em; color: #fff; font-weight: 800; }
.brand-text span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.site-header.solid .brand-text b { color: var(--navy-800); }
.site-header.solid .brand-text span { color: var(--ink-mute); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .85rem; border-radius: 999px; text-decoration: none;
  font-size: .935rem; font-weight: 560; color: rgba(255, 255, 255, .88);
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.site-header.solid .nav a { color: var(--ink-soft); }
.site-header.solid .nav a:hover { color: var(--navy-800); background: var(--paper-2); }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.tel-link {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  font-weight: 700; font-size: .95rem; color: #fff; white-space: nowrap;
}
.site-header.solid .tel-link { color: var(--navy-800); }
.tel-link svg { width: 17px; height: 17px; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; border-radius: 10px;
}
.burger span {
  display: block; height: 2px; border-radius: 2px; background: #fff; margin: 4px 0;
  transition: transform .25s ease, opacity .2s ease, background-color .3s ease;
}
.site-header.solid .burger span { background: var(--navy-800); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(8rem, 15vw, 11rem) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(232, 135, 30, .28), transparent 62%),
    radial-gradient(800px 500px at 8% 88%, rgba(63, 143, 79, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 48%, var(--navy-700));
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--amber), var(--orange) 45%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: rgba(255, 255, 255, .8); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero .eyebrow { color: var(--amber); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.4rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .15);
}
.hero-badges li {
  list-style: none; display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: rgba(255, 255, 255, .82);
}
.hero-badges svg { width: 17px; height: 17px; color: var(--amber); flex: none; }

.hero-media { position: relative; }
.hero-collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hero-collage figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #0d1428;
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .tall { grid-row: span 2; height: 100%; min-height: 0; }
.hero-collage .short { aspect-ratio: 4 / 3; }

.hero-stat {
  position: absolute; left: -14px; bottom: -22px; z-index: 3;
  background: #fff; color: var(--navy-800); border-radius: 16px;
  padding: .9rem 1.15rem; box-shadow: var(--shadow-lg); display: flex;
  align-items: center; gap: .8rem; max-width: 250px;
}
.hero-stat b { font-size: 1.5rem; letter-spacing: -.02em; display: block; line-height: 1; }
.hero-stat span { font-size: .78rem; color: var(--ink-mute); line-height: 1.3; display: block; margin-top: .2rem; }
.hero-stat .ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(232,135,30,.16), rgba(242,169,59,.22));
  color: var(--ember);
}
.hero-stat .ico svg { width: 21px; height: 21px; }

/* ---------- partners strip ---------- */
.partners { background: var(--paper); border-bottom: 1px solid var(--line); }
.partners .wrap { padding-block: clamp(2rem, 4vw, 3rem); }
.partners h2 {
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-mute); text-align: center; font-weight: 700; margin-bottom: 1.6rem;
}
.partner-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 5vw, 3.75rem);
}
.partner-row figure { margin: 0; text-align: center; }
.partner-row img {
  height: clamp(30px, 4.4vw, 42px); width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.partner-row figure:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
.partner-row figcaption {
  font-size: .68rem; color: var(--ink-mute); margin-top: .45rem;
  letter-spacing: .04em;
}

/* ---------- services ---------- */
.services { background: var(--paper-2); }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7dded; }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 1.5rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1; }
.card .kicker {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .6rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.card ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .5rem; }
.card ul li {
  display: flex; gap: .55rem; font-size: .9rem; color: var(--ink-soft); align-items: flex-start;
}
.card ul svg { width: 16px; height: 16px; color: var(--leaf); flex: none; margin-top: 3px; }
.card .card-foot { margin-top: auto; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  font-weight: 680; font-size: .93rem; color: var(--navy-800);
}
.card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card-link:hover { color: var(--orange); }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- calculator ---------- */
.calc { background: var(--paper); }
.calc-shell {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  background: linear-gradient(158deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  border-radius: clamp(20px, 3vw, 30px); padding: clamp(1.6rem, 3.6vw, 3rem);
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.calc-shell::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(232, 135, 30, .34), transparent 66%);
  pointer-events: none;
}
.calc-shell h2 { color: #fff; }
.calc-shell .lede { color: rgba(255, 255, 255, .78); }
.calc-form { position: relative; z-index: 2; display: grid; gap: 1.5rem; }
.field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .88rem; font-weight: 620; margin-bottom: .6rem;
  color: rgba(255, 255, 255, .92);
}
.field label output {
  font-weight: 800; font-size: 1.05rem; color: var(--amber);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .2); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; cursor: pointer; border: 3px solid #fff;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 3px solid #fff;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(242, 169, 59, .35); }

.seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  padding: .58rem 1.05rem; border-radius: 999px; cursor: pointer; font-size: .9rem;
  font-weight: 600; border: 1.5px solid rgba(255, 255, 255, .26);
  color: rgba(255, 255, 255, .82); transition: all .18s ease; display: block; margin: 0;
}
.seg label:hover { border-color: rgba(255, 255, 255, .55); color: #fff; }
.seg input:checked + label {
  background: linear-gradient(135deg, var(--ember), var(--amber));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(217, 83, 30, .35);
}
.seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(242, 169, 59, .5); }

.calc-out { position: relative; z-index: 2; display: grid; gap: 1rem; }
.result-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 1.4rem 1.5rem; backdrop-filter: blur(8px);
}
.result-card .big {
  font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 820; line-height: 1;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--amber), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result-card .label {
  font-size: .84rem; color: rgba(255, 255, 255, .74); margin-top: .4rem;
}
.result-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 1rem 1.1rem;
}
.mini b {
  display: block; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.mini span { font-size: .78rem; color: rgba(255, 255, 255, .68); }
.calc-note {
  font-size: .76rem; color: rgba(255, 255, 255, .55); line-height: 1.5; margin: 0;
}

/* ---------- gallery ---------- */
.gallery { background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.2rem; }
.filters button {
  padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; transition: all .18s ease;
}
.filters button:hover { border-color: var(--orange); color: var(--orange); }
.filters button[aria-pressed="true"] {
  background: var(--navy-800); border-color: var(--navy-800); color: #fff;
}
.masonry { columns: 3 250px; column-gap: 1.1rem; }
.masonry figure {
  margin: 0 0 1.1rem; break-inside: avoid; border-radius: var(--radius);
  overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease;
}
.masonry figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.masonry figure[hidden] { display: none; }
/* Several source shots are very tall portraits — cap them so one tile can't
   run away with the column. */
.masonry img { width: 100%; max-height: 380px; object-fit: cover; }
.masonry figcaption {
  padding: .7rem .9rem .85rem; font-size: .82rem; color: var(--ink-soft);
}
.masonry figcaption b { display: block; color: var(--ink); font-size: .9rem; font-weight: 660; }

/* ---------- grants ---------- */
.grants { background: var(--cream); }
.grant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.grant {
  background: #fff; border: 1px solid #efe6d6; border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.grant .tag {
  display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .09em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
  background: rgba(232, 135, 30, .12); color: var(--ember); margin-bottom: .85rem;
}
.grant h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.grant p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- testimonials ---------- */
.reviews { background: var(--navy-900); color: #fff; }
.reviews h2 { color: #fff; }
.reviews .lede { color: rgba(255, 255, 255, .74); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; }
.review {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
}
.review .shot { aspect-ratio: 16 / 11; overflow: hidden; }
.review .shot img { width: 100%; height: 100%; object-fit: cover; }
.review .txt { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.stars { display: flex; gap: 2px; margin-bottom: .8rem; color: var(--amber); }
.stars svg { width: 16px; height: 16px; }
.review blockquote {
  margin: 0 0 1.1rem; font-size: .96rem; line-height: 1.62;
  color: rgba(255, 255, 255, .88);
}
.review cite {
  margin-top: auto; font-style: normal; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
}
.review cite span { font-weight: 500; color: rgba(255, 255, 255, .6); }

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media {
  border-radius: clamp(18px, 2.5vw, 26px); overflow: hidden; box-shadow: var(--shadow-md);
}
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 1rem; margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.stat b {
  display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em;
  line-height: 1; color: var(--navy-800);
}
.stat span { font-size: .82rem; color: var(--ink-mute); }

/* ---------- quote form ---------- */
.quote { background: var(--paper-2); }
.quote-shell {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0;
  border-radius: clamp(20px, 3vw, 28px); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #fff;
}
.quote-aside {
  background: linear-gradient(158deg, var(--navy-800), var(--navy-700));
  color: #fff; padding: clamp(1.8rem, 3.5vw, 2.9rem); position: relative; overflow: hidden;
}
.quote-aside::after {
  content: ""; position: absolute; width: 320px; height: 320px; left: -110px; bottom: -140px;
  background: radial-gradient(circle, rgba(232, 135, 30, .3), transparent 68%);
}
.quote-aside h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.quote-aside p { color: rgba(255, 255, 255, .78); font-size: .96rem; }
.quote-aside ul { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; position: relative; z-index: 2; }
.quote-aside li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: rgba(255,255,255,.86); }
.quote-aside li svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }
.quote-contact {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16);
  position: relative; z-index: 2; display: grid; gap: .7rem; font-size: .92rem;
}
.quote-contact a { display: flex; gap: .6rem; align-items: center; text-decoration: none; color: #fff; }
.quote-contact a:hover { color: var(--amber); }
.quote-contact svg { width: 16px; height: 16px; color: var(--amber); flex: none; }

.quote-form { padding: clamp(1.8rem, 3.5vw, 2.9rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.05rem; }
.form-field label {
  display: block; font-size: .85rem; font-weight: 640; margin-bottom: .42rem; color: var(--ink);
}
.form-field .req { color: var(--ember); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 11px; border: 1.5px solid var(--line);
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { resize: vertical; min-height: 108px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3.5px rgba(232, 135, 30, .14);
}
.form-field input:user-invalid, .form-field select:user-invalid {
  border-color: #d94040; box-shadow: 0 0 0 3.5px rgba(217, 64, 64, .12);
}
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks label {
  padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 560; cursor: pointer; color: var(--ink-soft);
  transition: all .18s ease; margin: 0;
}
.checks label:hover { border-color: var(--orange); color: var(--orange); }
.checks input:checked + label {
  background: rgba(232, 135, 30, .1); border-color: var(--orange); color: var(--ember); font-weight: 660;
}
.checks input:focus-visible + label { box-shadow: 0 0 0 3px rgba(232, 135, 30, .3); }
.form-note { font-size: .78rem; color: var(--ink-mute); margin: .9rem 0 0; }

.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success .tick {
  width: 62px; height: 62px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--leaf), #58ad6a);
}
.form-success .tick svg { width: 30px; height: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .92rem; }
.site-footer .wrap { padding-block: clamp(2.8rem, 5vw, 4rem) 1.5rem; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer img.foot-logo { height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: var(--amber); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.4rem; font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.demo-flag {
  background: rgba(232, 135, 30, .14); border: 1px solid rgba(232, 135, 30, .35);
  color: var(--amber); padding: .3rem .8rem; border-radius: 999px; font-size: .76rem;
  font-weight: 640;
}

/* ---------- reveal ----------
   Scoped to .js so the page is fully visible if scripting never runs. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .calc-shell, .quote-shell { grid-template-columns: 1fr; }
  .quote-shell { box-shadow: var(--shadow-md); }
  /* headline leads once the columns stack; photos follow it */
  .hero-media { max-width: 520px; margin-top: 2.2rem; }
  /* no room to float it over the collage once the columns stack */
  .hero-stat { position: static; margin-top: 1rem; max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 64px 12px auto 12px; flex-direction: column;
    align-items: stretch; gap: .2rem; background: #fff; border-radius: 18px;
    padding: .7rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { color: var(--ink) !important; padding: .75rem .9rem; }
  .burger { display: block; }
  .header-cta .tel-link span { display: none; }
  .header-cta .btn { display: none; }
  .form-row, .result-split { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 480px) {
  .hero-collage { gap: 10px; }
  .masonry { columns: 1; }
}

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

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

.skip {
  position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy-800);
  padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* Inner pages sit on a light ground, so the header needs its solid
   treatment from the top rather than waiting for a scroll. */
.site-header.on-light { background: rgba(255, 255, 255, .93); backdrop-filter: saturate(180%) blur(14px); }
.site-header.on-light .brand .logo-dark,
.site-header.solid .brand .logo-dark { display: block; }
.site-header.on-light .brand .logo-light,
.site-header.solid .brand .logo-light { display: none; }
.site-header.on-light .brand-text b { color: var(--navy-800); }
.site-header.on-light .brand-text span { color: var(--ink-mute); }
.site-header.on-light .nav > a,
.site-header.on-light .nav-toggle { color: var(--ink-soft); }
.site-header.on-light .nav > a:hover,
.site-header.on-light .nav-toggle:hover { color: var(--navy-800); background: var(--paper-2); }
.site-header.on-light .tel-link { color: var(--navy-800); }
.site-header.on-light .burger span { background: var(--navy-800); }

.nav > a[aria-current="page"],
.site-header.on-light .nav > a[aria-current="page"] { color: var(--orange); }

/* ---------- services dropdown ---------- */
.nav-item.has-dropdown { position: relative; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .85rem; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: .935rem; font-weight: 560; cursor: pointer;
  color: rgba(255, 255, 255, .88);
  transition: color .18s ease, background-color .18s ease;
}
.nav-toggle:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-toggle .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-dropdown.open-page > .nav-toggle { color: var(--orange); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 290px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem; z-index: 70;
  display: grid; gap: 2px;
}
.dropdown[hidden] { display: none; }
.dropdown a {
  display: block; padding: .65rem .8rem; border-radius: 11px; text-decoration: none;
  transition: background-color .16s ease;
}
.dropdown a:hover { background: var(--paper-2); }
.dropdown a b { display: block; font-size: .93rem; color: var(--navy-800); font-weight: 660; }
.dropdown a span { display: block; font-size: .8rem; color: var(--ink-mute); margin-top: 1px; }
.dropdown a[aria-current="page"] b { color: var(--orange); }

/* ---------- inner page hero ---------- */
.page-hero {
  padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(232, 135, 30, .1), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero.short { padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 1.8rem; }
.page-hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.page-hero-media {
  border-radius: clamp(18px, 2.5vw, 24px); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: var(--navy-800);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { font-size: .84rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span[aria-hidden] { margin: 0 .45rem; opacity: .5; }

/* ---------- section grounds ---------- */
section.alt { background: var(--paper-2); }
section.split { background: var(--paper); }

/* ---------- badge strip ---------- */
.badge-strip { background: var(--navy-800); padding: 0; }
.badge-strip ul {
  list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap;
  gap: .75rem clamp(1.5rem, 4vw, 3rem); justify-content: center;
}
.badge-strip li {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255, 255, 255, .88); font-size: .92rem; font-weight: 560;
}
.badge-strip svg { width: 16px; height: 16px; color: var(--amber); flex: none; }

/* ---------- detail grid ---------- */
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.detail-grid.reverse .detail-media { order: -1; }
.detail-media img {
  width: 100%; border-radius: clamp(16px, 2.2vw, 22px);
  box-shadow: var(--shadow-md); background: #fff;
}
.media-note { font-size: .82rem; color: var(--ink-mute); margin: .9rem 0 0; }

.callout {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: 14px;
  background: rgba(232, 135, 30, .08); border: 1px solid rgba(232, 135, 30, .22);
}
.callout b { display: block; color: var(--ember); font-size: .95rem; margin-bottom: .2rem; }
.callout span { font-size: .92rem; color: var(--ink-soft); }

.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.figure-pair div {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.figure-pair b {
  display: block; font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.03em;
  line-height: 1; color: var(--navy-800); font-variant-numeric: tabular-nums;
}
.figure-pair span { display: block; font-size: .8rem; color: var(--ink-mute); margin-top: .35rem; }

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.feature-grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature {
  display: flex; gap: .8rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm);
}
.feature > svg { width: 18px; height: 18px; color: var(--leaf); flex: none; margin-top: 3px; }
.feature b { display: block; font-size: .96rem; margin-bottom: .2rem; }
.feature span { display: block; font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }

.small-print { font-size: .8rem; color: var(--ink-mute); margin-top: 1.6rem; max-width: 70ch; }

/* ---------- spec table ---------- */
.table-scroll { overflow-x: auto; }
.spec-table {
  width: 100%; border-collapse: collapse; margin-top: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; font-size: .93rem;
}
.spec-table caption {
  caption-side: top; text-align: left; font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
  padding-bottom: .7rem;
}
.spec-table.wide { min-width: 620px; }
.spec-table th, .spec-table td {
  padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--paper-2); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 700;
}
.spec-table tbody th { color: var(--navy-800); font-weight: 680; white-space: nowrap; }
.spec-table td { color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem;
  counter-reset: step;
}
.steps li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid;
  place-items: center; font-weight: 800; font-size: .95rem; color: #fff;
  background: linear-gradient(140deg, var(--ember), var(--amber));
}
.steps b { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.steps span { display: block; font-size: .93rem; color: var(--ink-soft); }

/* ---------- partner detail ---------- */
.partner-detail {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem;
}
.partner-card {
  display: flex; gap: 1.1rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm);
}
.partner-card img { width: 92px; height: 44px; object-fit: contain; flex: none; }
.partner-card b { display: block; font-size: .98rem; margin-bottom: .2rem; }
.partner-card span { display: block; font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }
.partners .normal-h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem); text-transform: none; letter-spacing: -.022em;
  color: var(--ink); font-weight: 780; margin-bottom: .6em;
}

/* ---------- notice ---------- */
.notice {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.notice b { display: block; margin-bottom: .4rem; color: var(--navy-800); }
.notice p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- next steps cards ---------- */
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.next-card {
  display: flex; gap: 1rem; align-items: center; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.next-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d7dded; }
.next-card img { width: 66px; height: 66px; border-radius: 12px; object-fit: cover; flex: none; }
.next-card b { display: block; font-size: .98rem; color: var(--navy-800); margin-bottom: .15rem; }
.next-card span { display: block; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(158deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px;
  background: radial-gradient(circle, rgba(232, 135, 30, .3), transparent 66%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap;
  gap: 1.6rem 2.5rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- misc ---------- */
.center-cta { text-align: center; margin: 2.4rem 0 0; }
.gallery-note { text-align: center; font-size: .88rem; color: var(--ink-mute); margin-top: 1.6rem; }
.review-grid.light .review {
  background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm);
}
.review-grid.light blockquote { color: var(--ink-soft); }
.review-grid.light cite { color: var(--navy-800); }
.review-grid.light cite span { color: var(--ink-mute); }

.quote-strip {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
  max-width: 780px; margin-inline: auto; text-align: center;
}
.quote-strip .stars { justify-content: center; }
.quote-strip blockquote {
  margin: 0 0 1rem; font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  line-height: 1.6; color: var(--ink);
}
.quote-strip cite { font-style: normal; font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.quote-strip cite span { font-weight: 500; color: var(--ink-mute); }

/* whole-card link target for the home page service cards */
.card { position: relative; }
.card-hit { position: absolute; inset: 0; z-index: 3; }
.card:has(.card-hit:hover) { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card:has(.card-hit:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.card .card-link { color: var(--navy-800); }
.card:has(.card-hit:hover) .card-link { color: var(--orange); }
.card:has(.card-hit:hover) .card-link svg { transform: translateX(3px); }

@media (max-width: 1000px) {
  .page-hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .detail-grid.reverse .detail-media { order: 0; }
  .page-hero-media { max-width: 560px; }
}

@media (max-width: 760px) {
  .nav-item.has-dropdown { display: block; }
  .nav-toggle {
    width: 100%; justify-content: space-between; color: var(--ink) !important;
    padding: .75rem .9rem;
  }
  .dropdown {
    position: static; transform: none; min-width: 0; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: .1rem 0 .3rem .9rem; padding: .2rem 0 .2rem .5rem;
  }
  .figure-pair { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Some source shots are very tall portraits; crop those to a sane height
   rather than letting one photo own the whole section. Diagrams are left
   uncropped so their labels stay intact. */
.detail-media.crop img { max-height: 480px; object-fit: cover; }

/* =====================================================================
   Photo-led rebuild — real install photography only
   ===================================================================== */

/* ---------- home hero over a photograph ---------- */
.hero.photo-hero {
  position: relative; display: grid; align-items: center;
  min-height: min(78vh, 720px);
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13, 20, 40, .93) 0%, rgba(13, 20, 40, .82) 42%,
                    rgba(13, 20, 40, .45) 70%, rgba(13, 20, 40, .35) 100%),
    linear-gradient(to bottom, rgba(13, 20, 40, .5), transparent 30%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.photo-hero .hero-badges { border-top-color: rgba(255, 255, 255, .22); }

/* ---------- icon service cards ---------- */
.icard {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.icard:has(.card-hit:hover) { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7dded; }
.icard:has(.card-hit:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.icard .icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(232, 135, 30, .13), rgba(242, 169, 59, .2));
  color: var(--ember); margin-bottom: 1.1rem;
}
.icard .icon svg { width: 26px; height: 26px; }
.icard h3 { margin-bottom: .5rem; }
.icard p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.2rem; }
.icard .card-link { margin-top: auto; color: var(--navy-800); }
.icard:has(.card-hit:hover) .card-link { color: var(--orange); }
.icard:has(.card-hit:hover) .card-link svg { transform: translateX(3px); }

/* ---------- text-only testimonials ---------- */
.quote-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem;
}
.quote-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); padding: 1.6rem 1.7rem;
  display: flex; flex-direction: column;
}
.quote-card blockquote {
  margin: 0 0 1.1rem; font-size: .96rem; line-height: 1.62; color: rgba(255, 255, 255, .88);
}
.quote-card cite {
  margin-top: auto; font-style: normal; font-weight: 700; font-size: .9rem; color: #fff;
}
.quote-card cite span { font-weight: 500; color: rgba(255, 255, 255, .6); }
.quote-grid.light .quote-card {
  background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm);
}
.quote-grid.light blockquote { color: var(--ink-soft); }
.quote-grid.light cite { color: var(--navy-800); }
.quote-grid.light cite span { color: var(--ink-mute); }

/* ---------- partners as names, not logos ---------- */
.partner-names {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem;
}
.partner-names li {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.15rem; box-shadow: var(--shadow-sm); text-align: center;
}
.partner-names b { display: block; font-size: .96rem; color: var(--navy-800); }
.partner-names span { display: block; font-size: .8rem; color: var(--ink-mute); margin-top: .2rem; }

/* ---------- two-column prose, for pages with no photography ---------- */
.prose-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.prose-grid h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- next-step cards now carry icons ---------- */
.next-card .icon {
  width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid;
  place-items: center; color: var(--ember);
  background: linear-gradient(140deg, rgba(232, 135, 30, .13), rgba(242, 169, 59, .2));
}
.next-card .icon svg { width: 26px; height: 26px; }

.feature-grid.one { grid-template-columns: 1fr; }

@media (max-width: 1000px) {
  .prose-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero.photo-hero { min-height: 0; }
  .hero-bg img { object-position: 60% 45%; }
}

/* =====================================================================
   Refinement pass — squarer, flatter, less template-y
   Pills, gradient fills and big soft shadows all read as generic. Swapped
   for tight radii, solid brand colour and hairline borders.
   ===================================================================== */

:root {
  --radius: 4px;
  --radius-lg: 5px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 40, .05);
  --shadow-md: 0 1px 3px rgba(13, 20, 40, .07), 0 6px 16px rgba(13, 20, 40, .06);
  --shadow-lg: 0 12px 32px rgba(13, 20, 40, .12);
}

/* ---------- buttons: solid, rectangular, no lift ---------- */
.btn { border-radius: 3px; font-weight: 600; letter-spacing: .005em; }
.btn:hover { transform: none; }
.btn-primary {
  background: var(--orange); color: #fff; box-shadow: none;
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--ember); border-color: var(--ember); box-shadow: none; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline:hover { background: var(--paper-2); }

/* ---------- nav: underline instead of pills ---------- */
.nav > a, .nav-toggle { border-radius: 0; padding: .5rem .7rem; }
.nav > a:hover, .nav-toggle:hover { background: transparent; }
.site-header.solid .nav > a:hover,
.site-header.on-light .nav > a:hover,
.site-header.solid .nav-toggle:hover,
.site-header.on-light .nav-toggle:hover { background: transparent; color: var(--orange); }
.nav > a { position: relative; }
.nav > a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem;
  height: 2px; background: var(--orange); transform: scaleX(0);
  transition: transform .18s ease;
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.has-dropdown.open-page > .nav-toggle { box-shadow: inset 0 -2px 0 var(--orange); }
.dropdown { border-radius: 4px; }
.dropdown a { border-radius: 2px; }

/* ---------- eyebrow: plain rule, no gradient ---------- */
.eyebrow::before { background: var(--orange); border-radius: 0; }

/* ---------- headline accent: solid, not gradient-filled text ---------- */
.hero h1 .accent { background: none; -webkit-text-fill-color: currentColor; color: var(--amber); }
.result-card .big { background: none; -webkit-text-fill-color: currentColor; color: var(--amber); }

/* ---------- cards and panels ---------- */
.card, .icard, .grant, .feature, .next-card, .steps li, .partner-names li,
.masonry figure, .quote-card, .review, .notice, .spec-table, .figure-pair div,
.mini, .result-card, .quote-strip, .callout, .detail-media img,
.page-hero-media, .about-media, .hero-collage figure {
  border-radius: 4px;
}
.calc-shell, .quote-shell { border-radius: 5px; }
.icard:hover, .card:hover, .next-card:hover,
.icard:has(.card-hit:hover), .card:has(.card-hit:hover) {
  transform: none; box-shadow: var(--shadow-md); border-color: #c9d2e6;
}
.masonry figure:hover { transform: none; box-shadow: var(--shadow-md); }

/* ---------- icon tiles: flat, square ---------- */
.icard .icon, .next-card .icon, .hero-stat .ico {
  border-radius: 3px; background: rgba(232, 135, 30, .1);
}
.step-num {
  border-radius: 3px; background: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

/* ---------- controls: rectangular ---------- */
.filters button, .seg label, .checks label, .grant .tag {
  border-radius: 3px;
}
.seg input:checked + label {
  background: var(--orange); box-shadow: none; border-color: var(--orange);
}
.checks input:checked + label {
  background: rgba(232, 135, 30, .09); border-color: var(--orange);
}
.form-field input, .form-field select, .form-field textarea { border-radius: 3px; }
input[type="range"]::-webkit-slider-thumb {
  border-radius: 2px; background: var(--amber); border-width: 2px; box-shadow: none;
}
input[type="range"]::-moz-range-thumb {
  border-radius: 2px; background: var(--amber); border-width: 2px; box-shadow: none;
}
.form-success .tick { border-radius: 4px; background: var(--leaf); }

/* ---------- badge strip: a rule, not a floating bar ---------- */
.badge-strip { border-top: 3px solid var(--orange); }

/* ---------- calmer reveal ---------- */
.js .reveal { transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }

/* ---------- legal / long-form pages ---------- */
.legal { max-width: 68ch; }
.legal h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 2.4rem; margin-bottom: .7rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.1em; display: grid; gap: .4rem; }
.legal a { color: var(--ember); text-underline-offset: 2px; }

/* honeypot: hidden from people, still in the DOM for bots to trip over */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: .9rem 0 0; padding: .8rem 1rem; border-radius: 3px; font-size: .9rem;
  background: rgba(217, 64, 64, .08); border: 1px solid rgba(217, 64, 64, .35);
  color: #a32b2b;
}
.form-error[hidden] { display: none; }

/* small utilities, so no element needs an inline style attribute
   (style-src in the CSP has no 'unsafe-inline') */
.mt-lg { margin-top: 1.8rem; }
.btn-block { width: 100%; }
.mx-auto { margin-inline: auto; }
