:root {
  --ink: #18231f;
  --green: #0f6c5a;
  --green-dark: #123f35;
  --mint: #b9e44d;
  --warm: #f3f0e9;
  --white: #fffefb;
  --line: rgba(24, 35, 31, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -100px; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255, 254, 251, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { min-width: 214px; text-decoration: none; line-height: 1; }
.brand strong { display: block; font-family: "Unbounded", sans-serif; font-size: 17px; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 7px; font-weight: 800; font-size: 8px; letter-spacing: .1em; }
.brand-line { position: relative; display: block; width: 100%; height: 9px; border-top: 2px solid var(--green); }
.brand-line i { position: absolute; width: 30px; height: 8px; top: -5px; left: 72%; border: 2px solid var(--green); border-radius: 2px; background: var(--white); }
.brand-line i::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ef6d4d; left: 11px; top: 0; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { text-decoration: none; font-size: 13px; font-weight: 800; }
.desktop-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 14px; font-weight: 800; white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 14px 20px; border: 0; border-radius: 5px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: #0a5a4b; }
.button-small { min-height: 44px; padding: 11px 15px; font-size: 12px; }
.button-ghost { color: white; background: rgba(17, 28, 24, .9); border: 1px solid rgba(255,255,255,.28); }
.button-accent { background: var(--mint); color: #13231d; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--ink); }
.mobile-nav { position: fixed; inset: 78px 0 0; padding: 26px 20px; background: var(--white); }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 22px; font-weight: 800; }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: white; background: var(--green-dark); }
.hero-photo { position: absolute; inset: 0; background: url("assets/foundation-hero.jpg") center 58% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 23, 19, .9) 0%, rgba(13, 23, 19, .68) 46%, rgba(13, 23, 19, .12) 100%), linear-gradient(0deg, rgba(12, 28, 23, .4), transparent 52%); }
.hero-content { position: relative; z-index: 1; padding-block: 84px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow span { width: 42px; height: 2px; background: currentColor; }
.eyebrow.light { color: #c9f467; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Unbounded", sans-serif; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 850px; margin-bottom: 26px; font-size: clamp(44px, 6vw, 82px); }
h2 { margin-bottom: 26px; font-size: clamp(36px, 4.7vw, 66px); }
.hero-lead { max-width: 660px; margin-bottom: 32px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-link { color: white; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; text-underline-offset: 5px; }

.proof-strip { color: white; background: #17231f; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 94px; display: flex; align-items: center; gap: 16px; padding: 24px; border-right: 1px solid rgba(255,255,255,.14); }
.proof-grid div:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.proof-grid b { color: #77d3bd; font-size: 11px; }
.proof-grid span { font-size: 13px; font-weight: 800; line-height: 1.4; }

.section { padding-block: 112px; }
.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .72fr; gap: 9vw; align-items: end; margin-bottom: 54px; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { font-size: 18px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 340px; padding: 34px; overflow: hidden; background: var(--warm); }
.service-card { grid-column: span 2; }
.service-card h3 { max-width: 280px; margin-top: 72px; margin-bottom: 14px; font-size: 27px; }
.service-card p { max-width: 340px; color: #52605b; line-height: 1.55; }
.card-number { position: absolute; top: 30px; right: 30px; color: var(--green); font-size: 12px; font-weight: 800; }
.dark-card { color: white; background: var(--green-dark); }
.dark-card p { color: rgba(255,255,255,.72); }
.service-main { color: white; background: var(--green); }
.service-main p { color: rgba(255,255,255,.8); }
.service-main .card-number { color: var(--mint); }
.service-diagram { position: absolute; right: -24px; bottom: -30px; width: 50%; height: 56%; transform: skewY(-8deg); }
.service-diagram span { display: block; height: 24%; margin-bottom: 5px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.brick-card { grid-column: span 6; display: grid; grid-template-columns: .82fr 1.18fr; min-height: 360px; padding: 0; background: #e4dfd3; }
.brick-card-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px; }
.brick-card .card-number { top: 30px; left: 42px; right: auto; }
.brick-card h3 { margin: 36px 0 12px; }
.brick-card p { max-width: 420px; }
.card-kicker { margin: 0; color: var(--green) !important; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.material-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.material-tags span { padding: 7px 10px; border: 1px solid rgba(24,35,31,.24); border-radius: 99px; font-size: 11px; font-weight: 800; }
.service-link { font-size: 13px; }
.brick-card-media { position: relative; min-height: 360px; overflow: hidden; background: #39443f; }
.brick-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.brick-card-media:hover img { transform: scale(1.025); }
.brick-card-media > span { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; color: white; background: rgba(18,63,53,.9); font-size: 11px; font-weight: 800; }

.work-section { background: #f0ede5; }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: end; margin-bottom: 45px; }
.section-heading > p { font-size: 17px; line-height: 1.6; }
.project-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 16px; }
.project-layout figure { margin: 0; background: white; }
.project-layout img { width: 100%; height: 100%; object-fit: cover; }
.project-feature { position: relative; min-height: 560px; }
.project-feature figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; padding: 18px; color: white; background: rgba(18,31,26,.86); backdrop-filter: blur(8px); }
.project-feature figcaption span { font-weight: 800; }
.project-feature figcaption small { color: rgba(255,255,255,.68); }
.project-stack { display: grid; gap: 16px; }
.project-stack figure { position: relative; min-height: 272px; overflow: hidden; }
.project-stack figcaption { position: absolute; left: 12px; bottom: 12px; padding: 9px 12px; color: white; background: var(--green-dark); font-size: 12px; font-weight: 800; }
.project-heading-small { margin-top: 72px; }
.project-heading-small h3 { max-width: 720px; margin-bottom: 26px; font-family: "Unbounded", sans-serif; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.05em; }
.masonry-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.masonry-gallery figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; }
.masonry-gallery img { width: 100%; height: 100%; object-fit: cover; }
.masonry-gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 10px 13px; color: white; background: var(--green-dark); font-size: 12px; font-weight: 800; }
.video-card { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 50px; margin-top: 56px; padding: 52px; color: white; background: var(--green-dark); }
.video-copy h3 { font-family: "Unbounded", sans-serif; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.video-copy > p:last-child { color: rgba(255,255,255,.7); line-height: 1.6; }
.video-card video { width: 100%; max-height: 480px; background: #0c1713; }

.process-section { background: white; }
.process-section h2 { margin-bottom: 55px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps b { color: var(--green); font-size: 12px; }
.steps h3 { margin-bottom: 8px; font-size: 21px; }
.steps p { margin: 0; color: #66716d; }

.faq-section { background: var(--warm); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.faq-intro { max-width: 480px; color: #56625e; line-height: 1.65; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 800; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--green); font-size: 24px; font-weight: 400; transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 620px; padding: 0 40px 26px 0; color: #596560; line-height: 1.65; }

.contact-section { padding-block: 100px; color: white; background: var(--green); }
.contact-grid { display: grid; grid-template-columns: 1fr 460px; gap: 9vw; align-items: start; }
.contact-section h2 { font-size: clamp(35px, 4.2vw, 60px); }
.contact-section > .container > div > p:last-child { max-width: 600px; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.6; }
.lead-form { padding: 30px; color: var(--ink); background: white; }
.lead-form label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 800; }
.lead-form input, .lead-form textarea { width: 100%; margin-top: 8px; padding: 14px 0; border: 0; border-bottom: 1px solid #aeb8b4; outline: none; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--green); }
.lead-form .button { width: 100%; margin-top: 8px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.lead-form .consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 2px 0 14px; color: #5f6b66; font-size: 10px; font-weight: 500; line-height: 1.45; }
.lead-form .consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.lead-form .consent a { color: var(--green); text-underline-offset: 2px; }
.lead-form button:disabled { cursor: wait; opacity: .7; }
.form-status { margin: 12px 0 0; color: var(--green); font-size: 13px; font-weight: 800; }

footer { padding-block: 54px 26px; color: white; background: #141e1a; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr .8fr auto; gap: 38px; align-items: start; }
.footer-brand { color: white; }
.footer-grid small { color: #87918d; }
.footer-grid p { margin: 8px 0; font-weight: 700; }
.to-top { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.3); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #87918d; font-size: 11px; }
.footer-bottom a { color: inherit; text-underline-offset: 3px; }
.floating-cta { display: none; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .brick-card { grid-column: auto; }
  .service-main { grid-column: span 2; }
  .brick-card { grid-column: span 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand { min-width: 185px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 7px; }
  .header-actions { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .mobile-nav { inset-top: 68px; }
  .hero { min-height: calc(100svh - 68px); align-items: end; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,21,17,.96) 0%, rgba(10,21,17,.74) 58%, rgba(10,21,17,.24) 100%); }
  .hero-content { padding-block: 76px 58px; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; }
  h1 { font-size: clamp(39px, 12vw, 58px); line-height: 1.02; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { min-height: 96px; padding: 18px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proof-grid div:nth-child(odd) { border-left: 0; }
  .section { padding-block: 78px; }
  .intro-grid, .section-heading, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-main { grid-column: auto; }
  .service-card { min-height: 280px; padding: 26px; }
  .brick-card { grid-column: auto; grid-template-columns: 1fr; padding: 0; }
  .brick-card-copy { padding: 68px 24px 28px; }
  .brick-card .card-number { left: 24px; }
  .brick-card-media { min-height: 260px; }
  .project-layout { grid-template-columns: 1fr; }
  .project-feature { min-height: 380px; }
  .project-feature figcaption { display: block; }
  .project-feature figcaption small { display: block; margin-top: 5px; }
  .project-stack { grid-template-columns: 1fr 1fr; }
  .project-stack figure { min-height: 190px; }
  .video-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .masonry-gallery { grid-template-columns: 1fr; }
  .masonry-gallery figure { min-height: 310px; }
  .video-card video { max-height: 520px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .lead-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { display: grid; }
  .floating-cta { position: fixed; z-index: 40; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 99px; color: #14231e; background: var(--mint); box-shadow: 0 10px 28px rgba(0,0,0,.24); text-decoration: none; font-size: 12px; }
}

@media (max-width: 420px) {
  h1 { font-size: 36px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { min-height: 72px; }
  .project-stack { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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