/* Layout: sticky green header, hero with live tower field, then alternating light and dark bands on a 12-col wrap */
:root {
  --signature: #2A4939;  /* hero + header */
  --fairway: #1F4A38;
  --council: #173229;
  --charcoal: #141614;
  --graphite: #232624;
  --linen: #F2F0EB;
  --stone: #DCD7CC;
  --sage: #8C9C88;
  --ink-soft: #4A4F4B;
  --on-dark-soft: #C9D1C6;
  --font: 'PT Sans', 'Trebuchet MS', Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--charcoal); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--signature); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.section { padding-block: clamp(72px, 9vw, 128px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--signature); color: var(--linen); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: var(--council); box-shadow: 0 1px 0 rgba(242,240,235,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; color: var(--linen); transition: color .25s var(--ease); }
.brand:hover { color: var(--stone); }
.brand svg { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 16px; color: var(--stone); position: relative; padding-block: 6px; transition: color .25s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--linen); }
.nav-links a:hover::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-light { background: var(--linen); color: var(--charcoal); }
.btn-light:hover { background: var(--sage); color: var(--charcoal); }
.btn-ghost { border-color: var(--stone); color: var(--linen); background: transparent; }
.btn-ghost:hover { background: var(--linen); color: var(--signature); border-color: var(--linen); }
.btn-green { background: var(--fairway); color: var(--linen); }
.btn-green:hover { background: var(--charcoal); }
.nav-links .btn { color: var(--charcoal); padding: 0 20px; min-height: 44px; }
.nav-links .btn::after { display: none; }
.nav-links .btn:hover { color: var(--charcoal); }
.menu-toggle { display: none; background: none; border: 1.5px solid rgba(242,240,235,.35); color: var(--linen); width: 48px; height: 44px; border-radius: 999px; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.menu-toggle:hover { border-color: var(--linen); background: rgba(242,240,235,.08); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--signature); color: var(--linen); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero .eyebrow { color: var(--sage); }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: .98; letter-spacing: -0.035em; }
.hero p.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-dark-soft); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn-light { background: var(--linen); }
.tower-field { position: relative; height: clamp(340px, 44vw, 580px); border-radius: 22px; overflow: hidden; background: #22402F; }
.tower-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tower-field .tag { position: absolute; left: 20px; bottom: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); background: rgba(20,22,20,.35); padding: 8px 12px; border-radius: 999px; }
.load-in { animation: loadIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes loadIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- numbers ---------- */
.numbers { border-bottom: 1px solid var(--stone); }
.numbers .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat { padding-block: 40px; padding-right: 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid transparent; }
.stat b { font-size: clamp(40px, 4.4vw, 58px); line-height: 1; font-weight: 400; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-soft); font-size: 16px; }
.stat.accent b { color: var(--fairway); }

/* ---------- section heads ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; max-width: 16ch; }
.head .eyebrow { color: var(--fairway); }
.head p { max-width: 42ch; color: var(--ink-soft); }

/* ---------- two sides ---------- */
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.side { border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.side .media { aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; }
.side .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.side:hover .media img { transform: scale(1.04); }
.side .body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.side h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.side .more { margin-top: auto; padding-top: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.side .more svg { transition: transform .3s var(--ease); }
.side:hover .more svg { transform: translateX(6px); }
.side-a { background: #FBFAF7; border: 1px solid var(--stone); color: var(--charcoal); }
.side-a .eyebrow { color: var(--ink-soft); }
.side-a p { color: var(--graphite); }
.side-a:hover { background: var(--stone); }
.side-b { background: var(--fairway); color: var(--linen); }
.side-b .eyebrow { color: var(--on-dark-soft); }
.side-b p { color: var(--on-dark-soft); }
.side-b:hover { background: var(--council); }

/* ---------- statement band ---------- */
.band { position: relative; min-height: clamp(380px, 46vw, 600px); display: flex; align-items: flex-end; color: var(--linen); overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20,22,20,.92) 0%, rgba(20,22,20,.72) 35%, rgba(20,22,20,.38) 70%, rgba(20,22,20,.22) 100%), linear-gradient(to right, rgba(20,22,20,.45) 0%, rgba(20,22,20,0) 60%); }
.band h2, .band p { text-shadow: 0 2px 24px rgba(20,22,20,.45); }
.band .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.band h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; max-width: 13ch; }
.band p { font-size: 19px; color: var(--linen); max-width: 30ch; }
.band .symbol { width: 56px; color: var(--linen); }

/* ---------- method ---------- */
.method { background: var(--stone); }
.method-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.method-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); }
.method-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--charcoal); }
.step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 24px 20px; border-bottom: 1px solid rgba(20,22,20,.18); border-radius: 14px; transition: background .3s var(--ease), color .3s var(--ease); }
.step .pill { justify-self: start; font-size: 15px; letter-spacing: .04em; padding: 6px 14px; border: 1.5px solid var(--ink-soft); border-radius: 999px; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.step p { color: var(--ink-soft); margin-top: 6px; transition: color .3s var(--ease); }
.step:hover { background: var(--fairway); color: var(--linen); }
.step:hover p { color: var(--on-dark-soft); }
.step:hover .pill { border-color: var(--sage); background: var(--sage); color: var(--charcoal); }
.step.last h3 { color: var(--fairway); }
.step.last:hover h3 { color: var(--linen); }

/* ---------- evidence ---------- */
.evidence { background: var(--charcoal); color: var(--linen); overflow: hidden; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.big { font-size: clamp(130px, 19vw, 260px); line-height: .82; letter-spacing: -0.05em; color: var(--sage); }
.evidence h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin-top: 20px; max-width: 18ch; }
.evidence .note { color: var(--on-dark-soft); margin-top: 18px; max-width: 46ch; }
.bands { display: flex; gap: 0; margin-top: 40px; height: 64px; max-width: 360px; }
.bands i { flex: 1; transform: skewX(-18.43deg); }
.services { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.services .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; }
.services .photo img { width: 100%; height: 100%; object-fit: cover; }
.service { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid #3A403C; border-radius: 14px; text-decoration: none; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.service strong { font-size: 21px; font-weight: 400; }
.service span { color: var(--on-dark-soft); font-size: 15px; transition: color .3s var(--ease); }
.service svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.service:hover { background: var(--linen); color: var(--charcoal); border-color: var(--linen); }
.service:hover span { color: var(--ink-soft); }
.service:hover svg { transform: translateX(5px); }

/* ---------- insights ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.card .media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.card:hover .media img { transform: scale(1.05); filter: saturate(1.15); }
.card .meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.card h3 { font-size: 23px; line-height: 1.2; transition: color .25s var(--ease); }
.card:hover h3 { color: var(--fairway); }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--charcoal); transition: color .25s var(--ease); }
.text-link:hover { color: var(--fairway); }

/* ---------- contact / footer ---------- */
.contact { background: var(--council); color: var(--linen); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1; }
.contact .lead { color: var(--on-dark-soft); margin-top: 22px; max-width: 40ch; font-size: 18px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
form .full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--on-dark-soft); }
input, select, textarea { font: 400 17px/1.4 var(--font); color: var(--linen); background: rgba(242,240,235,.06); border: 1px solid rgba(242,240,235,.22); border-radius: 12px; padding: 13px 14px; transition: border-color .25s var(--ease), background .25s var(--ease); width: 100%; }
select option { color: var(--charcoal); }
input:hover, select:hover, textarea:hover { border-color: var(--sage); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--linen); background: rgba(242,240,235,.1); }
textarea { min-height: 120px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 15px; color: var(--sage); min-height: 1.4em; }
.footer { background: var(--charcoal); color: var(--stone); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 36px; }
.footer .brand svg { width: 140px; }
.footer small { font-size: 14px; color: var(--sage); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { text-decoration: none; font-size: 15px; transition: color .25s var(--ease); }
.footer nav a:hover { color: var(--linen); }

/* ---------- entrance on scroll ---------- */
.pending { opacity: 0; transform: translateY(32px); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; padding-block: 10px; }
  .nav-links .btn { margin-top: 12px; }
  .hero-grid, .method-grid, .evidence-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sides, .cards { grid-template-columns: minmax(0, 1fr); }
  .method-photo { aspect-ratio: 16 / 11; clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%); }
  .tower-field { height: 320px; }
}
@media (max-width: 560px) {
  form { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 6px; }
  .brand svg { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load-in { animation: none; }
  .pending { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; }
}
