:root {
  --sage: #8E9B83;
  --sage-dark: #68735F;
  --sage-pale: #DCE2D7;
  --ivory: #F7F5EF;
  --cream: #FCFAF6;
  --stone: #D8D5CC;
  --charcoal: #30352F;
  --ink: #171916;
  --muted: #6E726A;
  --white: #FFFFFF;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(23,25,22,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left:20px; top:20px; z-index:9999; background:var(--ink); color:white; padding:10px 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,246,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,25,22,.08);
}
.nav-wrap { min-height: 82px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.logo-brand { display:inline-flex; align-items:center; line-height:0; }
.logo-brand img { display:block; width:190px; height:auto; max-height:64px; object-fit:contain; }
.site-nav { display:flex; align-items:center; gap:26px; font-size:14px; font-weight:600; }
.site-nav a:not(.nav-cta) { position:relative; }
.site-nav a:not(.nav-cta)::after {
  content:""; position:absolute; left:0; bottom:-6px; width:0; height:1px;
  background:var(--sage-dark); transition:width .25s ease;
}
.site-nav a:hover::after { width:100%; }
.nav-cta { border:1px solid var(--ink); padding:11px 17px; transition:.2s ease; }
.nav-cta:hover { background:var(--ink); color:white; }
.menu-toggle { display:none; width:40px; height:40px; border:0; background:transparent; }
.menu-toggle span { display:block; height:2px; background:var(--ink); margin:5px 0; }

.hero { padding:92px 0 88px; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:70px; align-items:center; }
.eyebrow {
  margin:0 0 18px; text-transform:uppercase; letter-spacing:.18em;
  font-size:12px; font-weight:700; color:var(--sage-dark);
}
h1,h2 { font-family:"Playfair Display",serif; line-height:1.02; letter-spacing:-.035em; }
h1 { margin:0 0 26px; font-size:clamp(48px,6vw,80px); max-width:850px; }
h2 { margin:0 0 22px; font-size:clamp(38px,4.2vw,60px); }
h3 { margin-top:0; font-size:21px; line-height:1.2; }
.hero-text { max-width:680px; font-size:19px; color:#50554D; }
.hero-actions { display:flex; align-items:center; gap:24px; margin-top:34px; flex-wrap:wrap; }
.button {
  display:inline-flex; justify-content:center; align-items:center; min-height:52px;
  padding:0 22px; border:1px solid transparent; font-size:14px; font-weight:700;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform:translateY(-2px); }
.button-dark { background:var(--ink); color:white; }
.button-light { background:white; color:var(--ink); }
.text-link { font-size:14px; font-weight:700; }
.hero-tags { display:flex; gap:10px; flex-wrap:wrap; margin-top:34px; }
.hero-tags span {
  border:1px solid var(--stone); padding:7px 11px; font-size:11px;
  text-transform:uppercase; letter-spacing:.12em; background:rgba(255,255,255,.5);
}

.hero-art { position:relative; min-height:520px; }
.sage-panel { position:absolute; right:0; top:0; width:78%; height:100%; background:var(--sage); }
.dashboard-card {
  position:absolute; background:var(--white); box-shadow:var(--shadow);
  border:1px solid rgba(23,25,22,.08); z-index:2;
}
.card-main { width:86%; left:0; top:76px; padding:34px; }
.card-small { right:22px; bottom:28px; width:55%; padding:28px; }
.card-top { display:flex; justify-content:space-between; align-items:center; }
.mini-label {
  font-size:11px; letter-spacing:.15em; text-transform:uppercase;
  font-weight:700; color:var(--muted);
}
.status-dot { width:9px; height:9px; border-radius:50%; background:var(--sage); }
.flow-line {
  display:grid; grid-template-columns:auto 1fr auto 1fr auto; align-items:center;
  gap:12px; margin:44px 0 38px; font-size:12px; font-weight:700;
}
.flow-line i { display:block; height:1px; background:var(--stone); }
.mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.mini-grid div { background:var(--ivory); padding:18px 12px; }
.mini-grid b { display:block; font-family:"Playfair Display",serif; font-size:25px; }
.mini-grid span { font-size:11px; color:var(--muted); }
.card-small strong {
  display:block; margin-top:12px; font-family:"Playfair Display",serif;
  font-size:27px; line-height:1.08;
}
.brand-chip {
  position:absolute; top:22px; right:22px; z-index:3;
  color:white; border:1px solid rgba(255,255,255,.55);
  padding:8px 10px; font-size:10px; font-weight:700; letter-spacing:.15em;
}

.trust-strip { border-top:1px solid var(--stone); border-bottom:1px solid var(--stone); background:var(--ivory); }
.trust-grid {
  min-height:88px; display:grid; grid-template-columns:repeat(4,1fr); align-items:center;
  text-align:center; font-size:12px; text-transform:uppercase; letter-spacing:.13em; font-weight:700;
}
.trust-grid span + span { border-left:1px solid var(--stone); }

.section { padding:112px 0; }
.section-heading { max-width:800px; margin-bottom:54px; }
.section-heading > p:last-child { max-width:700px; font-size:17px; color:var(--muted); }
.card-grid { display:grid; gap:18px; }
.card-grid.four { grid-template-columns:repeat(4,1fr); }
.service-card {
  padding:30px; min-height:330px; border:1px solid var(--stone);
  background:rgba(255,255,255,.45); display:flex; flex-direction:column;
}
.card-number { margin-bottom:auto; font-family:"Playfair Display",serif; color:var(--sage-dark); font-size:15px; }
.service-card p { margin-bottom:0; color:var(--muted); font-size:15px; }

.section-sage { background:var(--sage); color:var(--ink); }
.dark-eyebrow { color:var(--charcoal); }
.approach-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:100px; }
.section-sage .section-heading { margin-bottom:0; }
.section-sage .section-heading > p:last-child { color:#2f352d; }
.steps { display:grid; }
.step {
  display:grid; grid-template-columns:52px 1fr; gap:22px; padding:28px 0;
  border-top:1px solid rgba(23,25,22,.28);
}
.step:last-child { border-bottom:1px solid rgba(23,25,22,.28); }
.step > span {
  width:38px; height:38px; display:grid; place-items:center;
  border:1px solid rgba(23,25,22,.42); border-radius:50%; font-size:12px;
}
.step h3 { margin:3px 0 8px; }
.step p { margin:0; color:#394036; }

.fit-grid { display:grid; grid-template-columns:.92fr 1.08fr; gap:90px; align-items:start; }
.fit-copy p:not(.eyebrow) { color:var(--muted); font-size:17px; }
.fit-list { border-top:1px solid var(--stone); }
.fit-list div {
  display:grid; grid-template-columns:56px 1fr; gap:18px;
  padding:24px 0; border-bottom:1px solid var(--stone);
}
.fit-list span { font-family:"Playfair Display",serif; color:var(--sage-dark); }
.fit-list p { margin:0; font-size:16px; }

.section-dark { background:var(--charcoal); color:white; }

/* V5 ABOUT */
.about-grid-v5 {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:78px;
  align-items:center;
}
.about-visual-v5 { min-width:0; }
.about-flow {
  position:relative;
  min-height:620px;
  padding:42px;
  overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),
    var(--sage);
  background-size:34px 34px;
}
.about-flow-label {
  margin:0;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:700;
  color:rgba(23,25,22,.72);
}
.workflow-stack {
  position:relative;
  height:455px;
  margin-top:34px;
}
.workflow-card {
  position:absolute;
  width:min(365px,73%);
  padding:20px 22px 21px;
  background:rgba(247,245,239,.98);
  color:var(--ink);
  border:1px solid rgba(23,25,22,.11);
  box-shadow:0 16px 42px rgba(23,25,22,.13);
  z-index:2;
}
.workflow-card span {
  display:block; margin-bottom:7px; color:var(--sage-dark);
  text-transform:uppercase; letter-spacing:.13em; font-size:10px; font-weight:700;
}
.workflow-card h3 {
  margin:0 0 6px;
  font-family:"Playfair Display",serif;
  font-size:25px;
  font-weight:600;
}
.workflow-card p { margin:0; color:#555b52; font-size:13px; line-height:1.5; }
.workflow-one { top:0; left:0; }
.workflow-two { top:112px; right:0; }
.workflow-three { top:226px; left:28px; }
.workflow-four { top:340px; right:14px; }
.workflow-link {
  position:absolute;
  height:1px;
  background:rgba(23,25,22,.28);
  z-index:1;
}
.workflow-link::after {
  content:""; position:absolute; right:-4px; top:-4px;
  width:9px; height:9px; border-radius:50%; background:var(--ink);
}
.link-one { width:140px; left:264px; top:105px; transform:rotate(23deg); transform-origin:left center; }
.link-two { width:150px; left:221px; top:220px; transform:rotate(-19deg); transform-origin:left center; }
.link-three { width:145px; left:278px; top:335px; transform:rotate(20deg); transform-origin:left center; }
.workflow-note {
  position:absolute; left:42px; bottom:29px; margin:0;
  display:flex; align-items:center; gap:12px;
  color:rgba(23,25,22,.74); font-size:12px; font-weight:700;
}
.workflow-note i { display:block; width:38px; height:1px; background:rgba(23,25,22,.36); }

.sage-eyebrow { color:var(--sage-pale); }
.about-copy p:not(.eyebrow) { color:#D9DDD6; font-size:17px; max-width:640px; }
.button-about {
  margin-top:18px;
  background:var(--ivory);
  color:var(--ink);
}
.button-about:hover { background:white; }

.distinction-section { background:var(--ivory); }
.distinction-grid { display:grid; grid-template-columns:1fr .8fr; gap:70px; align-items:end; }
.distinction-section .section-heading { margin-bottom:0; }
.distinction-card { border-left:4px solid var(--sage); padding:8px 0 8px 28px; }
.distinction-card p { margin:0; color:var(--muted); font-size:17px; }

.cta-section { padding:110px 0; background:var(--sage-dark); color:white; }
.cta-inner { text-align:center; max-width:880px; }
.cta-eyebrow { color:var(--sage-pale); }
.cta-inner p { max-width:650px; margin-left:auto; margin-right:auto; }
.cta-inner .button { margin-top:18px; }
.contact-note { margin-top:14px !important; font-size:12px; opacity:.75; }

.site-footer { background:#10120F; color:#D8DCD5; padding:34px 0; }
.footer-grid {
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px;
  align-items:center; font-size:12px;
}
.footer-grid p:nth-child(2) { text-align:center; }
.footer-grid p:last-child { text-align:right; }
.footer-logo img { width:165px; filter:brightness(0) invert(1); opacity:.9; }

.reveal {
  opacity:0; transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1; transform:none; transition:none; }
  .button { transition:none; }
}

@media (max-width:1000px) {
  .card-grid.four { grid-template-columns:1fr 1fr; }
  .about-grid-v5 { grid-template-columns:1fr; gap:54px; }
  .about-flow { max-width:700px; }
}

@media (max-width:900px) {
  .menu-toggle { display:block; }
  .site-nav {
    display:none; position:absolute; left:0; right:0; top:82px; padding:24px 20px;
    background:var(--cream); border-bottom:1px solid var(--stone);
    flex-direction:column; align-items:stretch; gap:18px;
  }
  .site-nav.open { display:flex; }
  .nav-cta { text-align:center; }
  .hero { padding-top:60px; }
  .hero-grid,.approach-grid,.fit-grid,.distinction-grid {
    grid-template-columns:1fr; gap:54px;
  }
  .hero-art { width:100%; max-width:620px; min-height:440px; }
  .distinction-grid { align-items:start; }
}

@media (max-width:620px) {
  .container { width:min(var(--max), calc(100% - 28px)); }
  .nav-wrap { min-height:70px; }
  .logo-brand img { width:160px; }
  .site-nav { top:70px; }
  .hero { padding:48px 0 64px; }
  .hero-text { font-size:17px; }
  .hero-art { min-height:380px; }
  .sage-panel { width:84%; }
  .card-main { width:92%; padding:24px; top:58px; }
  .card-small { width:62%; padding:20px; right:10px; }
  .mini-grid { gap:7px; }
  .mini-grid div { padding:14px 8px; }
  .trust-grid { grid-template-columns:1fr 1fr; padding:14px 0; }
  .trust-grid span { padding:11px 4px; }
  .trust-grid span + span { border-left:0; }
  .section { padding:78px 0; }
  .section-heading { margin-bottom:38px; }
  .card-grid.four { grid-template-columns:1fr; }
  .service-card { min-height:250px; }

  .about-flow { min-height:620px; padding:28px 20px; }
  .workflow-stack { height:492px; }
  .workflow-card { width:88%; }
  .workflow-one { left:0; }
  .workflow-two { right:0; top:122px; }
  .workflow-three { left:0; top:244px; }
  .workflow-four { right:0; top:366px; }
  .workflow-link { display:none; }
  .workflow-note { left:20px; bottom:22px; font-size:11px; }

  .footer-grid { grid-template-columns:1fr; text-align:center; }
  .footer-grid p:nth-child(2), .footer-grid p:last-child { text-align:center; }
  .footer-logo { justify-content:center; }
}


/* V6 ABOUT VISUAL — deliberately different from the copy side */
.about-visual-v6 {
  min-width: 0;
}

.systems-console {
  position: relative;
  min-height: 620px;
  padding: 34px;
  overflow: hidden;
  background: var(--sage);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 70px rgba(0,0,0,.17);
}

.systems-console::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events:none;
}

.console-top,
.input-row,
.system-core,
.flow-rail,
.output-grid,
.console-footer {
  position: relative;
  z-index: 1;
}

.console-top {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding-bottom:24px;
  border-bottom:1px solid rgba(23,25,22,.2);
}

.console-kicker {
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
}

.console-status {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.console-status i {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ink);
  box-shadow:0 0 0 5px rgba(23,25,22,.09);
}

.input-row {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:28px 0 18px;
}

.input-row span {
  padding:10px 8px;
  border:1px solid rgba(23,25,22,.2);
  background:rgba(247,245,239,.25);
  text-align:center;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.system-core {
  width:86%;
  margin:0 auto;
  padding:30px 30px 28px;
  background:var(--ivory);
  border:1px solid rgba(23,25,22,.12);
  box-shadow:0 18px 42px rgba(23,25,22,.14);
}

.core-label {
  display:block;
  margin-bottom:8px;
  color:var(--sage-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.15em;
}

.system-core strong {
  display:block;
  max-width:360px;
  font-family:"Playfair Display",serif;
  font-size:34px;
  line-height:1.05;
}

.system-core p {
  margin:14px 0 0;
  max-width:430px;
  color:#555b52;
  font-size:14px;
  line-height:1.55;
}

.flow-rail {
  width:70%;
  height:54px;
  margin:0 auto;
  border-left:1px solid rgba(23,25,22,.34);
  border-right:1px solid rgba(23,25,22,.34);
  border-bottom:1px solid rgba(23,25,22,.34);
}

.flow-rail::before {
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:1px;
  height:100%;
  background:rgba(23,25,22,.34);
}

.flow-rail i {
  position:absolute;
  bottom:-4px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ink);
}
.flow-rail i:nth-child(1){left:-4px}
.flow-rail i:nth-child(2){left:33.33%;transform:translateX(-50%)}
.flow-rail i:nth-child(3){left:66.66%;transform:translateX(-50%)}
.flow-rail i:nth-child(4){right:-4px}

.output-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:18px;
}

.output-grid article {
  min-height:122px;
  padding:16px 14px;
  background:rgba(48,53,47,.96);
  color:var(--ivory);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.output-grid article > span {
  margin-bottom:auto;
  color:#c9d1c3;
  font-family:"Playfair Display",serif;
  font-size:15px;
}

.output-grid strong {
  font-size:14px;
}

.output-grid small {
  color:#c9cec5;
  font-size:11px;
}

.console-footer {
  margin-top:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}

.console-footer b {
  font-size:18px;
  font-weight:400;
}

@media (max-width:620px) {
  .systems-console { min-height: 580px; padding:24px 18px; }
  .console-top { align-items:flex-start; flex-direction:column; }
  .input-row { grid-template-columns:1fr 1fr; }
  .system-core { width:100%; padding:24px 20px; }
  .system-core strong { font-size:29px; }
  .flow-rail { width:75%; }
  .output-grid { grid-template-columns:1fr 1fr; }
  .output-grid article { min-height:100px; }
}


/* V7 POLISH */
.systems-console {
  padding: 42px;
}

.console-top {
  padding-bottom: 20px;
}

.input-row {
  width: 88%;
  margin: 32px auto 22px;
  gap: 10px;
}

.input-row span {
  padding: 9px 7px;
  background: rgba(247,245,239,.18);
  border-color: rgba(23,25,22,.16);
  font-size: 10px;
}

.system-core {
  width: 82%;
  padding: 38px 34px 36px;
}

.system-core strong {
  max-width: 390px;
  font-size: 38px;
}

.system-core p {
  max-width: 400px;
  margin-top: 16px;
  font-size: 13px;
}

.flow-rail {
  width: 66%;
  height: 48px;
}

.output-grid {
  width: 92%;
  margin: 18px auto 0;
  gap: 8px;
}

.output-grid article {
  min-height: 112px;
  padding: 15px 13px;
}

.console-footer {
  margin-top: 27px;
  opacity: .82;
}

.about-copy h2 {
  max-width: 620px;
}

.about-copy p:not(.eyebrow) {
  max-width: 590px;
  line-height: 1.72;
}

.about-copy .button-about {
  margin-top: 24px;
}

.cta-inner {
  max-width: 800px;
}

.site-footer {
  padding: 38px 0;
}

@media (max-width:620px) {
  .systems-console { padding:28px 20px; }
  .input-row { width:100%; }
  .system-core { width:100%; padding:28px 22px; }
  .system-core strong { font-size:31px; }
  .output-grid { width:100%; }
}


/* V8 SERVICE CARD ALIGNMENT */
.service-card {
  min-height: 330px;
  padding: 30px;
  display: grid;
  grid-template-rows: 92px 76px 1fr;
  align-items: start;
}

.service-card .card-number {
  margin: 0;
  align-self: start;
}

.service-card h3 {
  margin: 0;
  align-self: start;
  font-size: 21px;
  line-height: 1.18;
  max-width: 250px;
}

.service-card p {
  margin: 0;
  align-self: start;
  line-height: 1.62;
}

@media (max-width:1000px) {
  .service-card {
    grid-template-rows: 64px 64px 1fr;
  }
}

@media (max-width:620px) {
  .service-card {
    min-height: 0;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
}

/* V9 INQUIRY FORM */
.inquiry-section{background:#8E9B83;padding:110px 0}
.inquiry-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:88px;align-items:start}
.inquiry-intro{position:sticky;top:120px}
.inquiry-intro h2{margin:16px 0 24px;max-width:500px;font-family:"Playfair Display",Georgia,serif;font-size:clamp(48px,5vw,76px);font-weight:600;line-height:.98;letter-spacing:-.04em}
.inquiry-intro>p:not(.eyebrow){max-width:500px;font-size:18px;line-height:1.65}
.inquiry-email{margin-top:38px;padding-top:22px;border-top:1px solid rgba(23,25,22,.25);display:flex;flex-direction:column;gap:6px}
.inquiry-email span{font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.inquiry-email a{color:inherit;font-size:18px;text-underline-offset:4px}
.inquiry-form{background:#F7F5EF;padding:44px;border:1px solid rgba(23,25,22,.14)}
.inquiry-form label>span,.inquiry-form legend{display:block;margin-bottom:9px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.inquiry-form>label,.inquiry-form fieldset{display:block;margin-bottom:26px}
.inquiry-form input[type=text],.inquiry-form input[type=email],.inquiry-form textarea{width:100%;box-sizing:border-box;border:1px solid #c9c6bd;background:#fff;color:#171916;font:inherit;padding:15px 16px;border-radius:0;outline:none}
.inquiry-form textarea{resize:vertical;min-height:150px}
.inquiry-form input:focus,.inquiry-form textarea:focus{border-color:#68735F;box-shadow:0 0 0 2px rgba(104,115,95,.12)}
.inquiry-form fieldset{border:0;padding:0;margin-left:0;margin-right:0}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice-grid label{position:relative;cursor:pointer}.choice-grid input{position:absolute;opacity:0;pointer-events:none}
.choice-grid label span{display:block;margin:0;padding:13px 14px;border:1px solid #c9c6bd;background:#fff;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0}
.choice-grid input:checked+span{background:#30352F;border-color:#30352F;color:#F7F5EF}
.form-submit{width:100%;cursor:pointer}.form-note{margin:12px 0 0;color:#686a64;font-size:12px;line-height:1.5;text-align:center}
@media(max-width:900px){.inquiry-grid{grid-template-columns:1fr;gap:48px}.inquiry-intro{position:static}}
@media(max-width:620px){.inquiry-section{padding:76px 0}.inquiry-form{padding:26px 20px}.form-row,.choice-grid{grid-template-columns:1fr}}


/* V10 FORMINIT STATUS STATES */
.form-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.form-status {
  min-height: 20px;
}

.form-status.success {
  color: #506048;
}

.form-status.error {
  color: #8a3e35;
}
