/* Aark Homes: palette sampled from the investor deck */
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --green: #18342b;
  --green-2: #1f4236;
  --green-deep: #11261f;
  --cream: #f5f2ea;
  --cream-2: #ece7db;
  --paper: #fbfaf6;
  --gold: #b5975b;
  --gold-text: #8a6d34;      /* gold darkened for AA text contrast on cream */
  --gold-light: #d2b77f;     /* gold lightened for text on dark green */
  --ink: #1e1e1b;
  --muted: #55554e;
  --line: rgba(30, 30, 27, .14);
  --line-light: rgba(245, 242, 234, .18);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-variant-numeric: lining-nums; margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }
h2 { font-family: var(--serif); font-size: clamp(2.1rem, 4.2vw, 3.5rem); letter-spacing: -.01em; }
h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 200; background: var(--cream); color: var(--green); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--cream); }
.eyebrow-gold { color: var(--gold-light); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 30px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(245, 242, 234, .6); color: var(--cream); }
.btn-ghost-light:hover { background: rgba(245, 242, 234, .12); border-color: var(--cream); }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green-2); }
.btn-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link-light { color: var(--gold-light); }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .3s var(--ease); }

/* Brand: official shield icon + one-line gold wordmark (Montserrat 600, matching the logo lettering) */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-light); line-height: 1; flex: none; min-width: 0; }
.brand-icon { width: 48px; height: 48px; object-fit: contain; flex: none; background: none; padding: 0; }
.wordmark { font-family: "Montserrat", var(--sans); font-weight: 600; font-size: 1.12rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); line-height: 1; white-space: nowrap; }
.footer-logo { display: block; width: fit-content; background: none; padding: 0; line-height: 0; text-decoration: none; }
.footer-logo img { height: 88px; width: auto; display: block; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); padding-block: 22px; }
.site-header.is-scrolled { background: rgba(24, 52, 43, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding-block: 12px; box-shadow: 0 1px 0 var(--line-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.site-nav a { color: var(--cream); text-decoration: none; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-block: 6px; position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav .nav-cta { border: 1px solid rgba(245, 242, 234, .55); padding: 10px 18px; }
.site-nav .nav-cta:hover { background: var(--cream); color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: var(--cream); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { content: ""; left: 0; right: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--cream); background: var(--green); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(17, 38, 31, .55) 0%, rgba(17, 38, 31, 0) 22%),
  linear-gradient(90deg, rgba(17, 38, 31, .78) 0%, rgba(17, 38, 31, .35) 55%, rgba(17, 38, 31, .1) 100%),
  linear-gradient(0deg, rgba(17, 38, 31, .85) 0%, rgba(17, 38, 31, 0) 45%); }
.hero-content { position: relative; padding-top: 160px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: 1.02; letter-spacing: -.015em; max-width: 15ch; margin-bottom: 28px; text-wrap: balance; text-shadow: 0 2px 24px rgba(10, 22, 18, .35); }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-lede { max-width: 520px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(245, 242, 234, .9); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { position: relative; border-top: 1px solid var(--line-light); background: rgba(17, 38, 31, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 242, 234, .85); }
.hero-foot i { font-style: normal; color: var(--gold); margin: 0 .55em; }

/* About */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about h2 { margin-bottom: 32px; max-width: 18ch; font-size: clamp(2.1rem, 3.6vw, 3.2rem); text-wrap: balance; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(28px, 4vw, 56px); margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--green); }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); z-index: -1; }
.about-media { z-index: 0; }
figcaption { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.about-media figcaption { margin-top: 44px; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--line); counter-reset: step; }
.process li { padding: 30px 24px 0 0; position: relative; }
.process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.process-num { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--gold-text); margin-bottom: 10px; }
.process h3 { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.process p { font-size: .94rem; color: var(--muted); margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: clamp(60px, 8vw, 100px); background: var(--line); border: 1px solid var(--line); }
.pillars div { background: var(--paper); padding: 34px 30px; }
.pillars h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: 0; margin-bottom: 12px; color: var(--green); }
.pillars p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Section heads */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.section-head-split h2 { max-width: 18ch; }
.section-intro { color: var(--muted); margin: 0; max-width: 46ch; }
.section-intro p { margin-bottom: 24px; }

/* Services */
.services { background: var(--paper); }
.service-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 40px 28px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease), color .4s var(--ease); position: relative; }
.service:hover { background: var(--green); color: var(--cream); }
.service:hover p { color: rgba(245, 242, 234, .82); }
.service:hover .service-num { color: var(--gold-light); }
.service-num { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-text); margin-bottom: 56px; transition: color .4s; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; letter-spacing: 0; margin-bottom: 14px; }
.service p { font-size: .94rem; color: var(--muted); margin: 0; transition: color .4s; }

/* Projects */
.projects { background: var(--cream); }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
.project-grid > .project { grid-column: span 2; }
.project-grid > .project:nth-child(5), .project-grid > .project:nth-child(6) { grid-column: span 3; }
.project-grid > .project:nth-child(5) .project-media img, .project-grid > .project:nth-child(6) .project-media img { aspect-ratio: 16 / 9; }
.project-grid > .project-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.project-media { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--green); cursor: zoom-in; overflow: hidden; }
.project-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease), opacity .5s; }
.project-feature .project-media img { aspect-ratio: 16 / 9; }
.project-media:hover img, .project-media:focus-visible img { transform: scale(1.04); }
.project-count { position: absolute; right: 14px; bottom: 14px; background: rgba(17, 38, 31, .82); color: var(--cream); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 7px 11px; }
.project-body { padding-top: 22px; }
.project-feature .project-body { padding-top: 0; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tag { display: inline-block; padding: 5px 10px; border: 1px solid var(--green); color: var(--green); font-weight: 600; }
.tag-accent { background: var(--green); color: var(--cream); }
.tag-gold { border-color: var(--gold-light); color: var(--gold-light); }
.project h3 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: 0; margin-bottom: 10px; }
.project-feature h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 18px; }
.project p:not(.project-meta) { color: var(--muted); font-size: .96rem; margin: 0; }
.project-feature p:not(.project-meta) { font-size: 1.05rem; }

/* Capability */
.capability { background: var(--green); color: var(--cream); }
.capability .section-intro { color: rgba(245, 242, 234, .8); }
.build-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.build .project-media { background: var(--green-deep); }
.build-large .project-media img { aspect-ratio: 4 / 3; }
.build .project-media img { aspect-ratio: 4 / 3; }
.build-body { padding-top: 22px; }
.build .project-meta { color: rgba(245, 242, 234, .72); }
.build h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: 0; margin-bottom: 10px; }
.build p:not(.project-meta) { color: rgba(245, 242, 234, .78); font-size: .96rem; margin: 0; }

/* Partners */
.partners { background: var(--paper); }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.partners-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }
.partners h2 { margin-bottom: 28px; max-width: 13ch; }
.partners-copy > p:not(.eyebrow):not(.lead):not(.fine-print) { color: var(--muted); }
.checks { margin: 30px 0 40px; border-top: 1px solid var(--line); }
.checks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: .98rem; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 1px; background: var(--gold); }
.fine-print { font-size: .78rem; line-height: 1.6; color: var(--muted); margin-top: 32px; max-width: 58ch; }

/* Contact */
.contact { background: var(--green-deep); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact h2 { margin-bottom: 24px; max-width: 14ch; }
.contact-copy > p { color: rgba(245, 242, 234, .8); max-width: 42ch; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line-light); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); padding-top: 4px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-light); }
.contact-form { background: var(--green); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-light); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; color: rgba(245, 242, 234, .85); }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(245, 242, 234, .6); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--cream); background: rgba(17, 38, 31, .55); border: 1px solid rgba(245, 242, 234, .25); border-radius: var(--radius); padding: 13px 14px; transition: border-color .25s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); }
.field [aria-invalid="true"] { border-color: #e9a089; }
.form-status { margin: 16px 0 0; font-size: .9rem; color: var(--gold-light); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(245, 242, 234, .75); border-top: 1px solid var(--line-light); padding-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-tag { margin-top: 18px; font-size: .9rem; max-width: 36ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-nav a { text-decoration: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--cream); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 26px; border-top: 1px solid var(--line-light); font-size: .8rem; }
.footer-base p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11, 24, 19, .97); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 1400px; width: 100%; text-align: center; }
.lb-img { max-height: 80vh; width: auto; margin: 0 auto; }
.lb-caption { color: rgba(245, 242, 234, .8); margin-top: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer; font-size: 2.6rem; line-height: 1; width: 56px; height: 56px; display: grid; place-items: center; }
.lightbox button:hover { color: var(--gold-light); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
body.lb-open { overflow: hidden; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .hero-foot-services { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .brand-icon { width: 40px; height: 40px; }
  .wordmark { font-size: 1.02rem; letter-spacing: .07em; }
  .footer-logo img { height: 80px; }
  .nav-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--green); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .site-nav a { font-size: .95rem; }
  .about-grid, .partners-grid, .contact-grid, .section-head-split, .project-feature, .build-grid { grid-template-columns: 1fr; }
  .about-media { margin-right: 28px; }
  .about-media img { aspect-ratio: 4 / 3; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid > .project, .project-grid > .project:nth-child(5), .project-grid > .project:nth-child(6) { grid-column: span 1; }
  .project-grid > .project:nth-child(5) .project-media img, .project-grid > .project:nth-child(6) .project-media img { aspect-ratio: 3 / 2; }
  .project-grid > .project-feature { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 0; }
  .project-grid > .project-feature .project-body { padding-top: 22px; }
  .process { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .process li { padding: 0 0 30px 30px; }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { top: 8px; left: -4px; }
  .partners-media { order: 2; }
  .partners-media img { aspect-ratio: 4 / 3; }
}

/* Women-owned badge */
.owned-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.15rem;
  padding: 7px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(17, 38, 31, .65);
  color: var(--cream);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: nowrap;
}
.owned-badge-footer {
  margin: 18px 0 0;
  background: transparent;
  color: var(--gold-light);
}
@media (max-width: 640px) {
  .brand-icon { width: 36px; height: 36px; }
  .wordmark { font-size: .92rem; letter-spacing: .06em; }
  .footer-logo img { height: 72px; }
  .service-list { grid-template-columns: 1fr; }
  .service { padding: 30px 24px; display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; }
  .service-num { margin: 0; font-size: 1.9rem; grid-row: span 2; }
  .service h3 { font-size: 1.5rem; margin-bottom: 8px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars div { padding: 26px 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
  .stats dd { font-size: 1.75rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-content { padding-top: 130px; }
  .hero-shade { background: linear-gradient(180deg, rgba(17, 38, 31, .6) 0%, rgba(17, 38, 31, .5) 22%, rgba(17, 38, 31, .74) 40%, rgba(17, 38, 31, .9) 75%, rgba(17, 38, 31, .94) 100%); }
  .hero-img { object-position: 38% 50%; }
  .hero .eyebrow { letter-spacing: .16em; font-size: .68rem; }
  .contact-list li { grid-template-columns: 80px 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 10px; transform: none !important; }
  .about-media::before { inset: 18px -18px -18px 18px; }
  .about-media { margin-right: 18px; }
  .about-media figcaption { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* Inner-page header (solid from the start; home uses transparent-then-scrolled) */
.site-header.is-solid {
  background: rgba(24, 52, 43, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line-light);
}
.site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.site-nav .nav-cta[aria-current="page"] { background: var(--cream); color: var(--green); }

/* Page hero for interior pages */
.page-hero {
  background: var(--green);
  color: var(--cream);
  padding-top: 148px;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -.015em;
  max-width: 16ch;
  margin-bottom: 20px;
  text-wrap: balance;
}
.page-hero .lede {
  max-width: 46ch;
  margin: 0;
  color: rgba(245, 242, 234, .88);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

/* Three service cards on the home page */
.service-list.is-three { grid-template-columns: repeat(3, 1fr); }

/* Home featured projects: feature + three tiles */
.project-grid.is-featured > .project { grid-column: span 2; }
.project-grid.is-featured > .project-feature { grid-column: 1 / -1; }
.projects-foot { margin-top: clamp(36px, 5vw, 56px); }

/* Closing CTA band */
.cta-band { background: var(--green); color: var(--cream); }
.cta-band h2 { margin-bottom: 20px; max-width: 16ch; }
.cta-band .lead { color: rgba(245, 242, 234, .88); max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.cta-contact { margin: 0; color: rgba(245, 242, 234, .8); font-size: .95rem; }
.cta-contact a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(245, 242, 234, .45); }
.cta-contact a:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* Contact page uses the contact section as the first band */
.contact.contact-page { padding-top: 148px; min-height: 100vh; min-height: 100svh; }

/* Investor next steps */
.investor-steps { margin: 36px 0 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; }
.investor-steps li { padding: 24px 28px 4px 0; }
.investor-steps .process-num { margin-bottom: 8px; }
.investor-steps h3 { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.investor-steps p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Footer contact line */
.footer-contact { margin: 16px 0 0; font-size: .9rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--cream); }
.footer-contact span { color: var(--gold); margin: 0 .45em; }

@media (max-width: 1100px) {
  .service-list.is-three { grid-template-columns: repeat(3, 1fr); }
  .investor-steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-hero { padding-top: 130px; }
  .contact.contact-page { padding-top: 130px; }
}
@media (max-width: 640px) {
  .owned-badge { font-size: .62rem; letter-spacing: .12em; padding: 6px 12px; }
  .service-list.is-three { grid-template-columns: 1fr; }
  .page-hero { padding-top: 120px; padding-bottom: 56px; }
  .contact.contact-page { padding-top: 120px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .investor-steps li { padding: 20px 0 8px; }
}

.project p.project-note {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

/* Trust / warranty */
.trust { background: var(--paper); }
.trust-grid {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) 1.2fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.trust-brand h2 { margin-bottom: 36px; max-width: 12ch; }
.trust-logos {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-logo {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 148px;
  padding: 22px 20px;
  text-decoration: none;
}
.trust-logo img {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.trust-logo img[src*="2-5-10"] { height: 100px; }
.trust-copy { padding-top: 2.55rem; }
.trust-copy .lead { margin-bottom: 1.15em; max-width: 36ch; }
.trust-points {
  margin: 0 0 1.35em;
  border-top: 1px solid var(--line);
  max-width: 42ch;
}
.trust-points li {
  padding: 13px 0 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .98rem;
}
.trust-term {
  display: inline-block;
  min-width: 6.2em;
  font-weight: 600;
  color: var(--ink);
  margin-right: .35em;
}
.trust-licence {
  margin: 0 0 .85em;
  font-size: .98rem;
  max-width: 46ch;
}
.trust-licence a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.trust-licence a:hover { color: var(--gold-text); }
.trust-copy .fine-print { margin-top: 0; max-width: 52ch; }

.footer-creds {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.footer-cred {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 7px 10px;
  text-decoration: none;
  line-height: 0;
}
.footer-cred img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-logos { justify-content: flex-start; }
  .trust-brand h2 { margin-bottom: 28px; }
  .trust-copy { padding-top: 8px; }
}
@media (max-width: 640px) {
  .trust-logo { min-height: 120px; padding: 18px 16px; flex: 1 1 140px; }
  .trust-logo img { height: 76px; }
  .trust-logo img[src*="2-5-10"] { height: 86px; }
  .footer-cred img { height: 42px; }
  .trust-term { display: block; margin: 0 0 2px; min-width: 0; }
}
