:root {
  --ink: #102221;
  --ink-soft: #4c5d5a;
  --paper: #f6f5ef;
  --white: #ffffff;
  --green: #1f604f;
  --green-dark: #123e34;
  --lime: #c8e16b;
  --line: rgba(16, 34, 33, 0.14);
  --shadow: 0 24px 70px rgba(15, 41, 36, 0.13);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled { background: rgba(246,245,239,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.brand small { margin-top: 5px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 650; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .2s ease; }
.primary-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 20px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }

.hero { position: relative; min-height: 760px; padding: 155px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -210px; top: -120px; background: radial-gradient(circle at 40% 40%, rgba(200,225,107,.62), rgba(200,225,107,0) 68%); }
.hero-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(3.2rem, 6vw, 6.2rem); line-height: .98; letter-spacing: -.065em; max-width: 800px; }
h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 500; }
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 4.3vw, 4.5rem); line-height: 1.04; letter-spacing: -.055em; }
h3 { line-height: 1.2; }
.hero-lead { max-width: 660px; color: var(--ink-soft); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 48px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 25px; border-radius: 999px; border: 1px solid transparent; font-weight: 760; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 12px 30px rgba(31,96,79,.22); }
.button-primary:hover { background: var(--green-dark); box-shadow: 0 18px 38px rgba(31,96,79,.3); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.38); }
.button-ghost:hover { background: white; }
.hero-trust { display: flex; gap: 28px; }
.hero-trust div { min-width: 110px; padding-right: 26px; border-right: 1px solid var(--line); }
.hero-trust div:last-child { border: 0; padding: 0; }
.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { font-size: 1.5rem; letter-spacing: -.04em; }
.hero-trust span { color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual > img { width: 100%; filter: drop-shadow(0 28px 45px rgba(15,41,36,.16)); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 15px 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.8); border-radius: 14px; box-shadow: var(--shadow); }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--ink-soft); font-size: .72rem; }
.floating-card strong { font-size: .9rem; }
.card-top { top: 9%; right: -2%; }
.card-bottom { bottom: 7%; left: -4%; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: #3fb176; box-shadow: 0 0 0 6px rgba(63,177,118,.15); }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); font-weight: 900; }

.clients { background: var(--white); border-block: 1px solid var(--line); }
.client-row { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #687774; }
.client-row span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.client-row strong { font-size: .92rem; letter-spacing: .04em; }

.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-heading h2 { max-width: 700px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 7px; color: var(--ink-soft); max-width: 500px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 460px; padding: 38px; background: rgba(255,255,255,.68); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-6px); background: white; box-shadow: var(--shadow); }
.service-card.featured { background: var(--green); color: white; }
.service-card.featured p, .service-card.featured li { color: rgba(255,255,255,.72); }
.service-card.featured .service-number { color: rgba(255,255,255,.36); }
.service-card.featured a { color: var(--lime); }
.service-card.featured .service-icon { background: var(--lime); }
.service-icon { width: 56px; height: 56px; padding: 13px; background: #e9f0d0; border-radius: 16px; margin-bottom: 68px; }
.service-number { position: absolute; right: 38px; top: 42px; color: #8b9895; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { font-size: 1.75rem; letter-spacing: -.035em; }
.service-card p, .service-card li { color: var(--ink-soft); }
.service-card ul { padding-left: 20px; margin: 24px 0 30px; }
.service-card li { margin-bottom: 5px; }
.service-card a { position: absolute; left: 38px; bottom: 35px; font-weight: 800; }
.service-card a span { margin-left: 8px; transition: margin-left .2s ease; }
.service-card a:hover span { margin-left: 14px; }

.about { background: white; }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 90px; }
.about-media { position: relative; }
.about-media > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.experience-badge { position: absolute; right: -25px; bottom: -30px; width: 190px; padding: 24px; background: var(--lime); border-radius: 18px; box-shadow: var(--shadow); }
.experience-badge strong { display: block; font-size: 2.7rem; line-height: 1; }
.experience-badge span { display: block; margin-top: 8px; font-size: .78rem; line-height: 1.35; font-weight: 700; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.06rem; }
.principles { margin: 38px 0 30px; }
.principles > div { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.principles > div:last-child { border-bottom: 1px solid var(--line); }
.principles > div > span { color: var(--green); font-weight: 900; font-size: .76rem; }
.principles h3 { margin-bottom: 6px; font-size: 1.05rem; }
.principles p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }
.text-link { display: inline-flex; gap: 10px; font-weight: 850; color: var(--green); }

.projects { background: var(--ink); color: white; }
.section-heading.light > p { color: rgba(255,255,255,.6); }
.section-heading.light .eyebrow { color: var(--lime); }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 300px); gap: 18px; }
.project-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #26413c; }
.project-wide { grid-row: 1 / 3; }
.project-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card:hover > img { transform: scale(1.04); }
.project-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(8,24,21,.88)); }
.project-overlay { position: absolute; z-index: 2; inset: auto 28px 26px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.project-overlay span { color: var(--lime); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.project-overlay h3 { margin: 6px 0 0; font-size: 1.5rem; }
.project-open { width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.1); color: white; cursor: pointer; font-size: 1.2rem; transition: .2s ease; }
.project-open:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: rotate(8deg); }

.process-intro { max-width: 820px; margin-bottom: 60px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-steps article { position: relative; padding: 38px 28px 0 0; min-height: 230px; border-right: 1px solid var(--line); }
.process-steps article:not(:first-child) { padding-left: 28px; }
.process-steps article:last-child { border-right: 0; }
.process-steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: white; font-size: .72rem; font-weight: 850; }
.process-steps h3 { margin: 25px 0 10px; font-size: 1.35rem; }
.process-steps p { color: var(--ink-soft); font-size: .91rem; }

.testimonial { padding-top: 20px; }
.quote-wrap { position: relative; padding: 70px 80px; background: var(--green); color: white; border-radius: 30px; overflow: hidden; }
.quote-wrap::after { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; bottom: -170px; border-radius: 50%; border: 64px solid rgba(200,225,107,.13); }
.quote-mark { color: var(--lime); font-family: Georgia, serif; font-size: 6rem; line-height: .6; }
blockquote { position: relative; z-index: 1; max-width: 900px; margin: 30px 0 38px; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.3; letter-spacing: -.035em; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 900; }
.quote-author strong, .quote-author span { display: block; }
.quote-author span { color: rgba(255,255,255,.62); font-size: .8rem; }

.contact { background: white; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 520px; }
.contact-details { margin-top: 45px; display: grid; gap: 18px; }
.contact-details a, .contact-details div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--green); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 850; }
.contact-details strong { margin-top: 5px; font-size: 1.02rem; }
.contact-form { padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .8rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(16,34,33,.18); border-radius: 11px; background: white; padding: 14px 15px; color: var(--ink); outline: none; transition: border .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 135px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,96,79,.1); }
.contact-form .invalid { border-color: #bd3c3c; box-shadow: 0 0 0 4px rgba(189,60,60,.08); }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: .87rem; font-weight: 700; }
.form-status.success { color: var(--green); }
.form-status.error { color: #a92e2e; }

.site-footer { background: #0b1c1a; color: white; padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-light small { color: rgba(255,255,255,.55); }
.footer-top p { max-width: 430px; margin: 0; color: rgba(255,255,255,.58); }
.back-top { color: var(--lime); font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 28px; color: rgba(255,255,255,.48); font-size: .8rem; }
.footer-bottom div { display: flex; gap: 24px; }

.project-modal { width: min(calc(100% - 32px), 600px); padding: 44px; color: var(--ink); background: var(--paper); border: 0; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.project-modal::backdrop { background: rgba(6,20,17,.72); backdrop-filter: blur(5px); }
.project-modal h2 { font-size: 2.4rem; }
.project-modal > p:not(.eyebrow) { color: var(--ink-soft); }
.modal-close { position: absolute; right: 18px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: white; cursor: pointer; font-size: 1.5rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.modal-meta span { padding: 8px 12px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: .78rem; font-weight: 750; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 1020px) {
  .hero-layout, .about-layout, .contact-layout { gap: 50px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero { padding-bottom: 60px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { max-width: 680px; margin-inline: auto; }
  .section-heading { gap: 35px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps article:nth-child(2) { border-right: 0; }
  .process-steps article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 440px 300px; }
  .project-wide { grid-column: 1 / 3; grid-row: 1; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 15px; padding: 90px 30px 40px; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; }
  .primary-nav.open { transform: none; }
  .primary-nav a { padding: 13px 0; font-size: 1.35rem; }
  .primary-nav .nav-cta { text-align: center; margin-top: 15px; padding: 16px 20px; }
  .hero { padding-top: 125px; }
  .section-heading, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .section-heading { align-items: start; margin-bottom: 40px; }
  .about-media { max-width: 650px; }
  .experience-badge { right: 15px; }
  .service-card { min-height: 445px; padding: 30px; }
  .service-card a { left: 30px; }
  .client-row { overflow-x: auto; justify-content: flex-start; padding-block: 20px; }
  .client-row > * { flex: 0 0 auto; }
  .quote-wrap { padding: 55px 40px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 74px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-trust div { min-width: 0; padding-right: 10px; }
  .hero-trust strong { font-size: 1.2rem; }
  .hero-trust span { font-size: .67rem; }
  .hero-visual { min-height: 390px; }
  .floating-card { min-width: 185px; padding: 12px 14px; }
  .card-top { right: 0; }
  .card-bottom { left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 440px; }
  .service-icon { margin-bottom: 45px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 360px); }
  .project-wide { grid-column: auto; grid-row: auto; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article { border-right: 0; border-top: 1px solid var(--line); padding-left: 0 !important; }
  .process-steps article:first-child { border-top: 0; }
  .quote-wrap { padding: 45px 24px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px 20px; }
  .footer-bottom { flex-direction: column; }
  .project-modal { padding: 38px 24px; }
}

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