/* ==========================================================================
   CadByte website styles
   Design language: forest green + deep pine + CadByte orange,
   Exo 2 headings, Barlow Semi Condensed body.
   ========================================================================== */

/* self-hosted fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/exo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/exo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  /* color */
  --green: #0e7a31;
  --green-dark: #0b6528;
  --pine: #021609;
  --footer: #132a20;
  --footer-deep: #0d2019;
  --orange: #fe8101;       /* from the CadByte logo, used as the accent */
  --orange-dark: #e57200;
  --mint: #f3fbf5;
  --mint-line: #d9ecdf;
  --white: #ffffff;
  --text: #5a5a5a;
  --line: #dedede;

  /* type */
  --font-head: "Exo 2", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --fs-hero: clamp(36px, 5.2vw, 64px);
  --fs-banner: clamp(34px, 4.5vw, 56px);
  --fs-h2: clamp(30px, 3.6vw, 46px);
  --fs-h3: clamp(22px, 2vw, 26px);
  --fs-body: 18px;
  --fs-eyebrow: 15px;

  /* layout */
  --container: 1320px;
  --gutter: 20px;
  --section-y: clamp(64px, 8vw, 120px);
  --gap: 24px;
  --topbar-h: 50px;
  --header-h: 88px;

  /* shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow: 0 10px 40px rgba(2, 22, 9, 0.08);
  --shadow-lift: 0 18px 50px rgba(2, 22, 9, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--pine);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--pine); padding: 10px 16px;
  font: 600 16px var(--font-head); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 17px/1 var(--font-head);
  padding: 20px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--orange { background: var(--orange); color: var(--pine); }
.btn--orange:hover { background: var(--orange-dark); color: var(--pine); }
.btn--pine { background: var(--pine); color: var(--white); }
.btn--pine:hover { background: #0e2a18; color: var(--white); }
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--mint); color: var(--green-dark); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: var(--white); color: var(--pine); }

.btn-round {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--green); color: var(--white);
  transition: background-color .2s ease, color .2s ease;
}
.btn-round svg { width: 18px; height: 18px; }
.btn-round:hover { background: var(--orange); color: var(--pine); }

/* ---------- eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 var(--fs-eyebrow)/1.2 var(--font-head);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--white); }
.eyebrow--orange { color: var(--orange); }

.section-title { font-size: var(--fs-h2); }
.section-title .accent { color: var(--orange); }
.lede { max-width: 62ch; margin-top: 16px; }

.section { padding-block: var(--section-y); }
.section--mint { background: var(--mint); }
.section--flush-top { padding-top: 0; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}

/* ---------- top bar ---------- */
.topbar { background: var(--pine); color: #d7e3db; font-size: 16px; }
.topbar__inner {
  display: flex; align-items: stretch; justify-content: space-between; gap: 16px;
  min-height: var(--topbar-h);
}
.topbar__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 32px; }
.topbar__list li { display: inline-flex; align-items: center; gap: 10px; }
.topbar__list svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar__end {
  background: var(--green); color: var(--white);
  display: flex; align-items: center; gap: 10px;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 0 48px;
  margin-right: calc(-1 * max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))));
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.topbar__end svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .topbar__list li.hide-md { display: none; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(2, 22, 9, .10); }
.site-header__inner {
  display: flex; align-items: stretch; gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center;
  background: var(--pine);
  padding: 0 72px 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  margin-left: calc(-1 * max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))));
  clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  flex: none;
}
.brand img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; margin-left: 16px; flex: 1; }
.nav__list { list-style: none; display: flex; gap: 6px; }
.nav__list a {
  display: block; padding: 10px 14px;
  font: 500 18px var(--font-body);
  color: var(--pine); text-decoration: none;
  position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__list a:hover { color: var(--green); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--green); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-cta .btn { padding: 18px 26px; }
.header-mail {
  display: flex; align-items: center; gap: 12px;
  padding-left: 20px; border-left: 1px solid var(--line);
  text-decoration: none; color: var(--pine);
}
.header-mail__icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--green);
}
.header-mail__icon svg { width: 20px; height: 20px; }
.header-mail small { display: block; font-size: 14px; color: var(--text); line-height: 1.2; }
.header-mail b { display: block; font: 600 16px var(--font-head); line-height: 1.3; }
.nav-toggle {
  display: none; margin-left: auto; align-self: center;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--pine); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1200px) {
  .header-mail { display: none; }
}
.nav__mobile-cta { display: none; }
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand { padding-right: 56px; clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%); }
  .brand img { width: 204px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(2, 22, 9, .12);
    margin: 0; padding: 12px var(--gutter) 24px;
    display: none; flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav__list a::after { display: none; }
  .nav__mobile-cta { display: flex; margin-top: 18px; }
}
@media (max-width: 400px) {
  .brand img { width: 174px; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pine);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,22,9,.97) 0%, rgba(2,22,9,.93) 40%, rgba(2,22,9,.70) 62%, rgba(2,22,9,.34) 100%),
    linear-gradient(0deg, rgba(2,22,9,.60) 0%, rgba(2,22,9,0) 42%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px);
  padding-left: clamp(0px, 6vw, 96px);
}
.hero h1 {
  color: var(--white);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.06;
  max-width: 32ch;          /* fits "We Build. We Power the Future." on one line */
  letter-spacing: -.01em;
  text-wrap: balance;
}
@media (max-width: 759px) { .hero h1 { max-width: 15ch; text-wrap: normal; } }
.hero h1 .accent { color: var(--orange); }
.hero__lede { margin-top: 22px; font-size: 21px; color: #d3dfd7; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.vertical-word {
  position: absolute; pointer-events: none; user-select: none;
  writing-mode: vertical-rl;
  font: 800 clamp(56px, 7vw, 96px)/1 var(--font-head);
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
}
.hero .vertical-word { left: var(--gutter); top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .hero .vertical-word { display: none; }
  .hero__inner { padding-left: 0; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(2,22,9,.95) 0%, rgba(2,22,9,.90) 100%),
      linear-gradient(0deg, rgba(2,22,9,.55) 0%, rgba(2,22,9,.25) 60%);
  }
  .hero__media img { object-position: 62% 50%; }
}

/* ---------- signature: drawing title block ---------- */
.titleblock {
  position: relative; z-index: 2;
  margin-top: -56px;
}
.titleblock__grid {
  display: grid; grid-template-columns: 1.25fr repeat(4, 1fr);
  background: var(--white);
  border: 2px solid var(--pine);
  box-shadow: var(--shadow-lift);
}
.titleblock__cell {
  padding: 18px 22px;
  border-left: 1px solid var(--pine);
  min-width: 0;
}
.titleblock__cell:first-child { border-left: 0; background: var(--green); color: var(--white); display: flex; align-items: center; gap: 14px; }
.titleblock__cell:first-child img { width: 40px; height: 40px; flex: none; }
.titleblock__cell { margin: 0; }
.titleblock__cell:first-child p { margin: 0; }
.titleblock__cell:first-child b { font: 700 20px/1.2 var(--font-head); color: var(--white); }
.titleblock__cell small {
  display: block; font: 600 12px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: #7a857e; margin-bottom: 6px;
}
.titleblock__cell:first-child small { color: #cfe8d6; }
.titleblock__cell strong { display: block; font: 700 19px/1.25 var(--font-head); color: var(--pine); }
@media (max-width: 1000px) {
  .titleblock__grid { grid-template-columns: repeat(2, 1fr); }
  .titleblock__cell { border-left: 0; border-top: 1px solid var(--pine); }
  .titleblock__cell:first-child { grid-column: 1 / -1; border-top: 0; }
  .titleblock__cell:nth-child(odd):not(:first-child) { border-left: 1px solid var(--pine); }
}
@media (max-width: 480px) {
  .titleblock { margin-top: -32px; }
  .titleblock__cell { padding: 14px 16px; }
  .titleblock__cell strong { font-size: 17px; }
}

/* ---------- service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 40px 30px 34px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service-card h3 { font-size: var(--fs-h3); }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card p { flex: 1; }
.service-card .btn-round { position: relative; z-index: 1; margin-top: 8px; }
.service-card:hover .btn-round { background: var(--orange); color: var(--pine); }

.arc-photo {
  position: relative; width: 170px; aspect-ratio: 1; max-width: 100%;
  margin-bottom: 10px;
}
.arc-photo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green);
  transform: translate(-5px, -11px);
  transition: transform .3s ease, background-color .3s ease;
}
.service-card:hover .arc-photo::before { transform: translate(5px, -11px); background: var(--orange); }
.arc-photo img {
  position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.also {
  margin-top: 40px; padding: 22px 26px;
  border: 1px dashed var(--green); border-radius: var(--radius-md);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
}
.also__label { font: 700 18px var(--font-head); color: var(--pine); margin-right: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--pine);
  border: 1px solid var(--mint-line); border-radius: 40px;
  padding: 6px 16px; font-size: 17px; line-height: 1.3;
}
.chip svg { width: 14px; height: 14px; color: var(--green); flex: none; }
.chip--dark { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }
.chip--dark svg { color: var(--orange); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.photo-stack { position: relative; padding: 0 0 44px 44px; }
.photo-stack__main { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.photo-stack__inset {
  position: absolute; left: 0; bottom: 0; width: 44%;
  border: 8px solid var(--white); border-radius: var(--radius-md);
  aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lift);
}
.exp-badge {
  position: absolute; top: 28px; left: 0;
  background: var(--green); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lift);
}
.exp-badge b { font: 800 46px/1 var(--font-head); color: var(--white); }
.exp-badge span { font: 600 15px/1.25 var(--font-head); max-width: 9ch; }
.doodle {
  position: absolute; width: 64px; height: 64px; color: var(--orange); pointer-events: none;
}
.doodle--tr { top: -34px; right: -26px; }
.doodle--tl { top: -30px; left: 10px; transform: scaleX(-1); }
@media (max-width: 520px) {
  .photo-stack { padding: 0 0 30px 20px; }
  .exp-badge { top: 16px; padding: 12px 16px; }
  .exp-badge b { font-size: 34px; }
  .doodle--tr { right: -6px; }
}

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--pine); }
.check-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.check-list--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .check-list--2 { grid-template-columns: 1fr; } }

.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.mail-inline { display: inline-flex; align-items: center; gap: 12px; color: var(--pine); text-decoration: none; }
.mail-inline span:first-child {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--green);
  display: grid; place-items: center; color: var(--green);
}
.mail-inline svg { width: 20px; height: 20px; }
.mail-inline small { display: block; font-size: 14px; color: var(--text); line-height: 1.2; }
.mail-inline b { font: 600 17px var(--font-head); }

/* feature pair */
.features { display: grid; gap: 26px; margin-top: 30px; }
.feature { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.feature__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--mint); color: var(--green);
  display: grid; place-items: center;
  border: 1px solid var(--mint-line);
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 22px; margin-bottom: 6px; }

/* ---------- why-choose-us cards (2x2 beside the photo stack) ---------- */
.why-grid { display: grid; gap: 18px; margin-top: 30px; }
.why-card {
  background: var(--white); border: 1px solid var(--mint-line);
  border-radius: var(--radius-md); padding: 20px 24px 22px;
  border-left: 4px solid var(--green); border-top: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:nth-child(2), .why-card:nth-child(3) { border-left-color: var(--orange); }
.why-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 21px; margin-bottom: 6px; }
.why-card p { font-size: 16px; line-height: 1.6; }
.section--mint .why-card { background: var(--white); }

/* ---------- stats band ---------- */
.stats-band {
  background: var(--green); color: var(--white);
  position: relative; overflow: hidden;
}
.stats-band::before {
  /* faint drafting grid */
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 46px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.28); }
.stat:first-child { border-left: 0; }
.stat b {
  display: block; font: 700 clamp(40px, 4.4vw, 56px)/1 var(--font-head); color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; margin-top: 10px;
  font: 600 14px/1.3 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #dff1e5;
}
@media (max-width: 820px) {
  .stats, .stats--3 { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 30px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.28); }
  .stats--3 .stat:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); list-style: none; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: 30px 26px; position: relative; overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--green); transform: scaleX(.18); transform-origin: left; transition: transform .3s ease, background-color .3s ease;
}
.pillar:hover::after { transform: scaleX(1); background: var(--orange); }
.pillar__icon { width: 54px; height: 54px; color: var(--green); margin-bottom: 18px; }
.cert-meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--mint-line);
  font-size: 15px; line-height: 1.9;
}
.cert-meta b { font-family: var(--font-head); font-weight: 600; color: var(--pine); margin-right: 6px; }
.cert-todo {
  background: #fff4e5; color: #9a5b00; border: 1px dashed var(--orange);
  padding: 1px 8px; border-radius: var(--radius-sm); font-size: 14px;
}
.pillar__sub {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 16px; color: var(--green); margin: 4px 0 8px;
}
.pillar h3 { font-size: 22px; margin-bottom: 8px; }
.pillar p { font-size: 17px; }

/* ---------- values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--mint-line); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value { padding: 34px 30px 10px 0; }
.value + .value { padding-left: 30px; border-left: 1px solid var(--mint-line); }
@media (max-width: 820px) {
  .value, .value + .value { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--mint-line); }
}
.value__tag {
  display: inline-block; font: 700 13px var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.value h3 { font-size: 28px; margin-bottom: 10px; }

/* ---------- testimonials ---------- */
.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2);
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 30px; margin: -10px -4px 0;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (max-width: 820px) { .reviews__track { grid-auto-columns: 88%; } }
.review {
  scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: 34px 32px; display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.review__quote { position: absolute; right: 26px; top: 22px; width: 58px; height: 58px; color: var(--mint-line); }
.review__stars { display: flex; gap: 3px; color: var(--orange); }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; color: var(--pine); font-size: 19px; line-height: 1.55; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center; font: 700 18px var(--font-head);
}
.review figcaption b { display: block; font: 700 19px var(--font-head); color: var(--pine); }
.review__role { display: block; font-size: 15px; color: var(--green); }
.reviews__nav { display: flex; gap: 12px; }
.reviews__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--green);
  background: var(--white); color: var(--green); cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease;
}
.reviews__btn:hover { background: var(--green); color: var(--white); }
.reviews__btn svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 var(--section-y); }
.cta-band__box {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--pine); color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -2;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .35;
}
.cta-band__box::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--pine) 30%, rgba(2,22,9,.6) 100%);
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 40px); max-width: 22ch; }
.cta-band p { color: #c9d8ce; margin-top: 10px; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- page banner (inner pages) ---------- */
.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pine);
  min-height: 360px;
  display: grid; place-items: center; text-align: center;
  padding: 60px var(--gutter);
}
.page-banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,22,9,.96) 0%, rgba(2,22,9,.82) 45%, rgba(2,22,9,.55) 100%);
}
.page-banner .vertical-word { left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); font-size: clamp(44px, 5vw, 68px); }
.page-banner h1 { color: var(--white); font-size: var(--fs-banner); font-weight: 800; }
.crumbs { list-style: none; display: flex; justify-content: center; gap: 10px; margin-top: 12px; color: var(--white); font-size: 18px; }
.crumbs a { color: #d3dfd7; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--orange); }
.crumbs [aria-current] { font: 700 18px var(--font-head); }
@media (max-width: 700px) {
  .page-banner { min-height: 250px; }
  .page-banner .vertical-word { display: none; }
}

/* ---------- service rows (services page) ---------- */
.service-rows { display: grid; gap: clamp(64px, 8vw, 110px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.service-row:nth-child(even) .service-row__media { order: 2; }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
}
.service-row__media { position: relative; }
.service-row__media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.service-row__media img.contain { object-fit: contain; background: var(--white); padding: 16px; border: 1px solid var(--line); }
.service-row__media::before {
  content: ""; position: absolute; z-index: -1;
  width: 45%; height: 60%; border-radius: var(--radius-md);
  background: var(--mint); border: 1px solid var(--mint-line);
  left: -22px; bottom: -22px;
}
.service-row:nth-child(even) .service-row__media::before { left: auto; right: -22px; }
.service-row__media { isolation: isolate; }
.service-row h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.service-row .chips { margin-top: 22px; }
.service-row .btn { margin-top: 28px; }
@media (max-width: 520px) {
  .service-row__media::before { left: -10px; bottom: -10px; }
  .service-row:nth-child(even) .service-row__media::before { right: -10px; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gap); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--radius-md);
  padding: clamp(30px, 4vw, 56px);
}
.contact-card h2 { font-size: clamp(30px, 3.4vw, 44px); padding-bottom: 20px; border-bottom: 1px solid var(--mint-line); margin-bottom: 20px; }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.contact-list li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; }
.contact-list__icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center;
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.contact-list b, .contact-list a { font: 600 19px/1.35 var(--font-head); color: var(--pine); text-decoration: none; }
.contact-list a:hover { color: var(--green); }
.map {
  border-radius: var(--radius-md); overflow: hidden; min-height: 420px; background: var(--mint);
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.form-wrap { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-panel {
  background: var(--green); color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(30px, 5vw, 64px);
  padding-right: clamp(30px, 9vw, 140px);
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .form-panel { padding-right: clamp(30px, 5vw, 64px); } }
.form-panel h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.form-panel > p { color: #dff1e5; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 14px var(--font-head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: #e6f4ea; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 18px var(--font-body); color: var(--pine);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%23021609' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #777; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.form-note { font-size: 15px; color: #cfe8d6; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 17px; display: none; }
.form-status.is-success { display: block; background: var(--white); color: var(--green); font-weight: 600; }
.form-status.is-error { display: block; background: #fff4e8; color: #8a3b00; }
.form-media { position: relative; margin-left: -80px; z-index: 2; }
.form-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lift); }
@media (max-width: 900px) { .form-media { display: none; } }

/* ---------- footer ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--footer); color: #c5d3ca; font-size: 17px;
}
.site-footer::before {
  /* drafting grid + skyline and solar rows, drawn one step lighter than the footer */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='260' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cg fill='%231a3a2a'%3E%3Cpath d='M0 260V190h60v-40h40v-30h50v70h30v-90h70v90h40v-60h60v60h30V100l40-20 40 20v160z'/%3E%3Cpath d='M1060 260v-80h50v-50h60v-60h70v110h40v-70h60v70h40v-120h70v120h50v100z'/%3E%3C/g%3E%3Cg fill='%2317352a'%3E%3Cpath d='M560 260l40-60h140l-40 60zM720 260l40-60h140l-40 60zM880 260l40-60h140l-40 60z'/%3E%3C/g%3E%3Cg stroke='%231e4231' stroke-width='2' fill='none'%3E%3Cpath d='M620 200l-40 60M660 200l-40 60M700 200l-40 60M780 200l-40 60M820 200l-40 60M860 200l-40 60M940 200l-40 60M980 200l-40 60M1020 200l-40 60'/%3E%3C/g%3E%3C/svg%3E") bottom center / 100% 200px no-repeat,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px;
}
.footer-strip { border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-strip__item {
  display: flex; align-items: center; gap: 20px;
  padding: 36px 28px; border-left: 1px solid rgba(255,255,255,.14);
  min-width: 0;
}
.footer-strip__item:first-child { border-left: 0; padding-left: 0; }
.footer-strip__icon {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7); color: var(--white);
  display: grid; place-items: center;
}
.footer-strip__icon svg { width: 24px; height: 24px; }
.footer-strip small { display: block; color: var(--orange); font-size: 16px; }
.footer-strip b, .footer-strip a {
  display: block; font: 700 clamp(18px, 1.6vw, 22px)/1.3 var(--font-head); color: var(--white); text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-strip a:hover { color: var(--orange); }
@media (max-width: 900px) {
  .footer-strip__grid { grid-template-columns: 1fr; }
  .footer-strip__item { border-left: 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-strip__item:first-child { border-top: 0; }
}
.footer-main { padding-block: 72px 150px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-main { padding-bottom: 110px; } }
.footer-brand img { width: 242px; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-tag {
  display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25);
  font: 600 13px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--white); border-radius: var(--radius-sm);
}
.site-footer h2 { color: var(--white); font-size: 24px; margin-bottom: 22px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #dce7e0; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-quote p { margin-bottom: 20px; }
.footer-bottom { background: var(--footer-deep); border-top: 1px solid rgba(255,255,255,.1); font-size: 16px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px; }
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--green); color: var(--white); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: var(--pine); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: var(--section-y); }
.notfound__code {
  font: 800 clamp(110px, 20vw, 220px)/1 var(--font-head);
  color: transparent; -webkit-text-stroke: 2px var(--green);
}
.notfound h1 { font-size: var(--fs-h2); margin-top: 10px; }
.notfound p { margin: 14px auto 30px; max-width: 48ch; }
.notfound .chips { justify-content: center; margin-top: 26px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- validation-pass additions ---------- */
.br-wide { display: none; }
@media (min-width: 760px) { .br-wide { display: inline; } }

.cta-band__sub {
  font-family: var(--font-head); font-weight: 600;
  font-size: 20px; color: var(--white); margin-bottom: 10px;
}

.pull-line {
  margin-top: 26px; font-family: var(--font-head); font-weight: 700;
  font-size: 20px; color: var(--green); line-height: 1.35;
}
.section--mint .pull-line { color: var(--green); }

.pull-quote {
  margin: 28px 0 0; padding: 18px 0 18px 24px;
  border-left: 4px solid var(--orange);
  font-family: var(--font-head); font-weight: 600; font-size: 21px;
  line-height: 1.4; color: var(--pine);
}

.pillars--5 { grid-template-columns: repeat(5, 1fr); }
.pillars--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pillars--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars--3 { grid-template-columns: 1fr; } }
@media (max-width: 1180px) { .pillars--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .pillars--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pillars--5 { grid-template-columns: 1fr; } }

.values--6 { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--mint-line); }
.values--6 .value { padding: 32px 30px 30px 0; border-top: 0; }
.values--6 .value:nth-child(n+4) { border-top: 1px solid var(--mint-line); }
@media (max-width: 980px) {
  .values--6 { grid-template-columns: repeat(2, 1fr); }
  .values--6 .value:nth-child(n+3) { border-top: 1px solid var(--mint-line); }
}
@media (max-width: 640px) {
  .values--6 { grid-template-columns: 1fr; }
  .values--6 .value { padding: 26px 0; }
  .values--6 .value:nth-child(n+2) { border-top: 1px solid var(--mint-line); }
}

.stats--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1180px) { .stats--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .stats--6 { grid-template-columns: repeat(2, 1fr); } }
.stats--6 .stat { padding: 38px 14px; }
.stats--6 .stat b { font-size: clamp(30px, 2.9vw, 40px); }
.stats--6 .stat span { font-size: 12px; letter-spacing: .07em; }
.stat sup { font-size: .5em; vertical-align: super; color: var(--orange); }
.stats-note {
  position: relative; text-align: center; padding: 0 20px 26px;
  font-size: 14px; color: #cfe6d8;
}

.check-list b { font-family: var(--font-head); font-weight: 700; color: var(--pine); }

/* ---------- full-bleed disciplines band ---------- */
.work-band { position: relative; margin-block: clamp(10px, 2vw, 28px); background: var(--pine); }
.work-band > img {
  width: 100%; height: clamp(240px, 30vw, 440px);
  object-fit: cover; object-position: center;
  display: block;
}
.work-band__strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(2,22,9,.92) 0%, rgba(2,22,9,.72) 55%, transparent 100%);
  padding: 44px 0 16px;
}
.work-band__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
}
.work-band__inner span {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(12px, 1.25vw, 16px);
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  flex: 1 1 0; text-align: center;
}
.work-band__inner span + span { border-left: 1px solid rgba(255,255,255,.26); }
@media (max-width: 620px) {
  .work-band__inner { justify-content: center; gap: 4px 12px; }
  .work-band__inner span { flex: 0 0 auto; letter-spacing: .08em; }
  .work-band__inner span + span { border-left: 0; }
  .work-band__inner span + span::before { content: "·"; margin-right: 12px; color: rgba(255,255,255,.5); }
}
