:root {
  --navy: #0b2239;
  --navy-2: #102f4c;
  --blue: #0d76c5;
  --blue-soft: #eaf4fb;
  --ink: #172331;
  --muted: #64717e;
  --line: #dfe6eb;
  --surface: #ffffff;
  --surface-soft: #f5f7f8;
  --warm: #f3b61f;
  --green: #227a58;
  --container: 1140px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: #ffe496; color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 9999; background: #fff; color: #111; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(11,34,57,.08);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.brand-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--navy); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; letter-spacing: -.12em; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: #455463; font-size: .86rem; font-weight: 600; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta { padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 9px; font-size: .84rem; font-weight: 700; }
.header-cta:hover { background: var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--navy); transition: transform .2s ease; }
.menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero { padding: 108px 0 96px; background: linear-gradient(180deg, #fff 0%, #f8fafb 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr); gap: 90px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dark { color: var(--blue); }
.plantcore .eyebrow, .contact .eyebrow { color: #b9d9ef; }
.hero h1 { max-width: 820px; margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.75rem, 5.2vw, 5.3rem); line-height: 1.02; letter-spacing: -.055em; }
.hero-lead { max-width: 700px; margin: 28px 0 0; color: #4c5d6c; font-size: 1.12rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 9px; font-size: .87rem; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--navy); }
.button-primary:hover { background: var(--blue); }
.button-secondary { color: var(--navy); background: #fff; border: 1px solid #cfd9e0; }
.button-secondary:hover { border-color: var(--blue); }
.button-light { color: var(--navy); background: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-points span { padding: 7px 10px; color: #516372; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; font-weight: 600; }

.intro-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(11,34,57,.08); }
.intro-card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.monogram { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 13px; font-family: var(--font-display); font-weight: 800; }
.intro-card-top div:last-child { display: grid; }
.intro-card-top strong { color: var(--navy); font-size: .98rem; }
.intro-card-top span { color: var(--muted); font-size: .8rem; }
.intro-card > p { margin: 22px 0; color: #4f5f6d; font-size: .9rem; }
.intro-list { margin: 0 0 22px; }
.intro-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid #edf1f3; }
.intro-list dt { color: var(--muted); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.intro-list dd { margin: 0; color: #344555; font-size: .82rem; font-weight: 600; }
.intro-card > a { color: var(--blue); font-size: .83rem; font-weight: 700; }

.section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; margin-bottom: 46px; }
.section-head h2, .services-copy h2, .about h2, .blog-strip h2, .plantcore h2, .contact h2 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head > p { margin: 0 0 4px; color: var(--muted); }

.projects { background: var(--surface); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { min-height: 330px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.project-card:hover { transform: translateY(-3px); border-color: #c7d7e2; box-shadow: 0 16px 42px rgba(11,34,57,.07); }
.project-card-featured { grid-row: span 2; min-height: 678px; padding: 38px; background: var(--navy); color: #fff; border-color: var(--navy); }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #788895; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.project-card-featured .project-meta { color: #afc2d1; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: .63rem; letter-spacing: .04em; }
.status-live { color: #146142; background: #e7f6ef; }
.status-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #2e9368; }
.project-card-featured .status-live { color: #c7f4df; background: rgba(53,180,126,.15); }
.status-build { color: #805d05; background: #fff4cf; }
.project-card h3 { margin: 22px 0 12px; color: var(--navy); font-family: var(--font-display); font-size: 1.48rem; line-height: 1.2; letter-spacing: -.03em; }
.project-card-featured h3 { max-width: 560px; margin-top: 56px; color: #fff; font-size: clamp(2rem, 3.5vw, 3.25rem); }
.project-card p { margin: 0; color: #5b6976; }
.project-card-featured p { max-width: 620px; color: #bed0de; font-size: 1rem; }
.project-card ul { list-style: none; display: grid; gap: 12px; padding: 0; margin: 34px 0 0; }
.project-card li { position: relative; padding-left: 20px; color: #dbe8f1; font-size: .86rem; }
.project-card li::before { content: "✓"; position: absolute; left: 0; color: #81d9b7; font-weight: 800; }
.project-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 28px; }
.project-actions a { color: var(--blue); font-size: .82rem; font-weight: 700; }
.project-card-featured .project-actions a { color: #fff; }
.project-card-featured .project-actions a:last-child { color: #9ed9ff; }

.services { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.services-copy { position: sticky; top: 116px; }
.services-copy p:last-child { max-width: 490px; margin: 24px 0 0; color: var(--muted); }
.service-list { display: grid; }
.service-list article { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid #d6dfe5; }
.service-list article:last-child { border-bottom: 1px solid #d6dfe5; }
.service-list > article > span { color: var(--blue); font-family: var(--font-display); font-size: .75rem; font-weight: 800; }
.service-list h3 { margin: -3px 0 8px; color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; }
.service-list p { margin: 0; color: var(--muted); font-size: .9rem; }
.service-inline-link { display: inline-block; margin-top: 10px; color: var(--blue); font-size: .76rem; font-weight: 700; }
.service-inline-link:hover { text-decoration: underline; }

.plantcore { padding-top: 60px; padding-bottom: 60px; background: #fff; }
.plantcore-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 54px 58px; color: #fff; background: var(--navy); border-radius: 20px; }
.plantcore h2 { color: #fff; }
.plantcore p:not(.eyebrow) { max-width: 690px; margin: 20px 0 0; color: #bdcfdd; }
.plantcore-actions { display: grid; justify-items: start; gap: 13px; }
.plantcore-actions span { color: #8fa8ba; font-size: .72rem; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-copy p { margin: 0 0 20px; color: #566674; font-size: 1rem; line-height: 1.85; }
.tech-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.tech-row span { padding: 7px 10px; color: var(--navy); background: var(--blue-soft); border-radius: 7px; font-size: .75rem; font-weight: 700; }

.process { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-head { margin-bottom: 28px; }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; border-top: 1px solid #cfd9df; border-bottom: 1px solid #cfd9df; }
.process-list li { min-height: 210px; padding: 28px 26px 32px; border-right: 1px solid #cfd9df; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { display: inline-grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--navy); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.process-list h3 { margin: 38px 0 8px; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .84rem; }

.blog-strip { background: #fff; }
.blog-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.blog-grid > div:first-child > p:not(.eyebrow) { margin: 22px 0; color: var(--muted); }
.text-link { color: var(--blue); font-size: .86rem; font-weight: 700; }
.article-links { display: grid; border-top: 1px solid var(--line); }
.article-links a { position: relative; display: grid; gap: 6px; padding: 22px 36px 22px 0; border-bottom: 1px solid var(--line); }
.article-links small { color: var(--blue); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-links strong { color: var(--navy); font-size: .93rem; }
.article-links span { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--blue); }

.contact { padding: 104px 0; color: #fff; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.contact h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin: 24px 0 30px; color: #bdd0dd; }
.contact-email { color: #fff; font-size: 1rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 4px; }
.contact-form { padding: 32px; background: #fff; color: var(--ink); border-radius: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #41515f; font-size: .76rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d4dee5; border-radius: 9px; outline: none; background: #fff; color: var(--ink); transition: border .18s ease, box-shadow .18s ease; }
.contact-form input, .contact-form select { height: 46px; padding: 0 12px; }
.contact-form textarea { min-height: 148px; padding: 12px; resize: vertical; line-height: 1.55; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,118,197,.10); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa8b3; font-weight: 400; }
.submit-button { width: 100%; min-height: 50px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 800; cursor: pointer; }
.submit-button:hover { background: var(--blue); }
.submit-button:disabled { opacity: .6; cursor: wait; }
.privacy-note { margin: 12px 0 0; color: #8996a0; font-size: .7rem; text-align: center; }
.privacy-note a { text-decoration: underline; }
.form-message { display: none; margin-top: 14px; padding: 11px 13px; border-radius: 8px; font-size: .78rem; }
.form-success { color: #145a3f; background: #e9f8f1; }
.form-error { color: #8b2930; background: #fcebed; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.footer { padding: 42px 0 22px; background: #071827; color: #a8bbc9; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand { color: #fff; }
.footer-brand .brand-icon { color: var(--navy); background: #fff; }
.footer-main p { margin: 12px 0 0; font-size: .78rem; }
.footer-main nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-main nav a { font-size: .75rem; font-weight: 600; }
.footer-main nav a:hover { color: #fff; }
.footer-bottom { padding-top: 18px; font-size: .7rem; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; }
  .mobile-nav { position: fixed; top: 77px; left: 0; right: 0; display: grid; gap: 0; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(11,34,57,.08); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid #edf1f3; font-size: .88rem; font-weight: 600; }
  .hero-grid, .services-grid, .about-grid, .blog-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero { padding-top: 78px; }
  .intro-card { max-width: 620px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card-featured { grid-column: 1 / -1; grid-row: auto; min-height: 500px; }
  .services-copy { position: static; }
  .plantcore-card { grid-template-columns: 1fr; gap: 30px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid #cfd9df; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .mobile-nav { top: 69px; }
  .hero { padding: 58px 0 66px; }
  .hero h1 { font-size: clamp(2.45rem, 13.5vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .section { padding: 76px 0; }
  .intro-card { padding: 22px; }
  .intro-list div { grid-template-columns: 1fr; gap: 4px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card-featured { min-height: auto; padding: 24px; }
  .project-card-featured h3 { margin-top: 34px; }
  .plantcore { padding: 34px 0; }
  .plantcore-card { padding: 32px 24px; border-radius: 14px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; border-right: 0; border-bottom: 1px solid #cfd9df !important; }
  .process-list li:last-child { border-bottom: 0 !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-main nav { display: grid; gap: 12px; }
}

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