/* ACD quiet-motion redesign: selected visual direction. */
:root {
  --paper: #f7f7f3;
  --paper-2: #eef2ef;
  --surface: #ffffff;
  --ink: #111417;
  --ink-soft: #30363a;
  --muted: #626a6e;
  --muted-2: #8d9697;
  --line: rgba(17, 20, 23, 0.14);
  --line-strong: rgba(17, 20, 23, 0.24);
  --accent: #0f6d68;
  --accent-ink: #0b5652;
  --accent-soft: rgba(15, 109, 104, 0.10);
  --sage: #e8efeb;
  --max: 1320px;
  --pad: 6rem;
  --gut: 2rem;
}

html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { letter-spacing: 0; }
.site-header,
.hero-section,
.clients,
.section,
.products-section,
.contact-section,
.site-footer {
  padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
}

.site-header {
  min-height: 76px;
  background: rgba(247, 247, 243, 0.94);
}
.site-header.scrolled {
  background: rgba(247, 247, 243, 0.98);
  box-shadow: 0 8px 28px rgba(17, 20, 23, 0.05);
}
.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.header-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.header-cta:hover { box-shadow: 0 10px 24px rgba(15, 109, 104, 0.18); }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.72fr);
  align-items: end;
  gap: 5rem;
  min-height: 650px;
  padding-block: 5.5rem 4.5rem;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-section::before { display: none; }
.hero-copy { max-width: 790px; }
.hero-path {
  display: inline-flex;
  gap: 0.75rem;
  margin: 0 0 1.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent-ink);
  font-size: 0.88rem;
  font-weight: 650;
}
.hero-path span { color: var(--muted-2); }
.hero-title {
  max-width: 760px;
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-size: 5rem;
  line-height: 1.02;
  font-weight: 600;
}
.hero-lede {
  max-width: 620px;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.16rem;
  line-height: 1.6;
}
.hero-actions { margin: 0; }
.hero-section .button-primary,
.contact-dark .button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}
.hero-section .button-primary:hover,
.contact-dark .button-primary:hover {
  background: var(--accent-ink);
  box-shadow: 0 14px 32px rgba(15, 109, 104, 0.18);
}
.hero-section .button-secondary {
  min-width: auto;
  padding-inline: 0;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  color: var(--ink);
}
.founder-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.founder-line strong { color: var(--ink); font-weight: 650; }

.hero-outcomes {
  padding-left: 2.75rem;
  border-left: 1px solid var(--line-strong);
}
.outcomes-label {
  margin: 0 0 1.35rem;
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.outcome-stat {
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
}
.outcome-stat:first-of-type { border-top: 0; padding-top: 0; }
.outcome-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 600;
}
.outcome-stat span {
  display: block;
  max-width: 230px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.clients {
  padding-block: 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.clients-label {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.logo-wall {
  grid-template-columns: repeat(10, minmax(72px, 1fr));
  gap: 1rem 1.4rem;
}
.logo-wall li { min-height: 44px; }
.logo-wall img {
  max-height: 36px;
  filter: grayscale(1);
  opacity: 0.66;
}
.logo-wall li:hover img { opacity: 0.96; filter: grayscale(0); }
.clients-more { display: none; }

.section { padding-block: var(--pad); }
.section-heading {
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  margin-bottom: 2rem;
  padding-top: 0;
}
.section-heading h2,
.contact-copy h2,
.gov-block h2,
.founder-copy h2,
.products-intro h2 {
  font-size: 2.9rem;
  line-height: 1.08;
}
.section-lede {
  max-width: 760px;
  margin: 0 0 3.2rem 34%;
  color: var(--muted);
  font-size: 1.06rem;
}

.work-section,
.approach-section,
.evidence-section,
.tiers-section,
.insights-section { background: var(--paper); }
.work-section,
.evidence-section,
.insights-section { background: var(--paper-2); }

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.capability-card,
.capability-card:nth-child(2),
.capability-card:nth-child(4) {
  position: relative;
  min-height: 300px;
  padding: 2rem 1.6rem 2rem 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.capability-card + .capability-card { padding-left: 1.6rem; }
.capability-card:last-child { border-right: 0; }
.capability-card:hover {
  border-color: var(--line);
  background: rgba(255,255,255,0.42);
  box-shadow: none;
  transform: none;
}
.capability-card::after { display: none; }
.card-index { margin-bottom: 3rem; color: var(--accent-ink); }
.capability-card h3 { font-size: 1.22rem; }

.method-layout { grid-template-columns: 210px minmax(0, 1fr); }
.method-tab,
.method-panel {
  border-radius: 6px;
  box-shadow: none;
}
.method-tab.is-active { background: var(--accent); border-color: var(--accent); }
.method-panel { padding: 2.6rem; }

.case-grid { gap: 1rem; }
.case-card {
  border-radius: 6px;
  box-shadow: none;
}
.case-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(17,20,23,0.06); }

.products-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-block: 4rem 0;
  background: var(--surface);
}
.products-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: 2rem;
  padding-bottom: 3rem;
}
.products-intro .eyebrow { margin: 0; }
.products-intro h2 { margin: 0; }
.products-intro > p:last-child {
  grid-column: 2;
  max-width: 720px;
  margin: -1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.product-chapters {
  margin-inline: calc(-1 * max(var(--gut), calc((100% - var(--max)) / 2)));
}
.product-chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  padding-block: 4.5rem;
  padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line-strong);
}
.asksuls-product { background: var(--paper); }
.layal-product { background: var(--sage); }
.product-copy { max-width: 520px; }
.product-kicker,
.artifact-label {
  margin: 0 0 1.1rem;
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.product-copy h3 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  font-weight: 600;
}
.product-promise {
  margin: 0.8rem 0 1.1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
}
.product-copy > p:not(.product-kicker):not(.product-promise) {
  color: var(--muted);
  font-size: 1rem;
}
.product-artifact {
  align-self: end;
  padding-top: 0.3rem;
}
.product-artifact table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.product-artifact caption {
  padding: 0 0 1rem;
  text-align: left;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.product-artifact th,
.product-artifact td {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.product-artifact th {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.product-artifact th:last-child,
.product-artifact td:last-child { text-align: right; }

.gov-section { background: var(--surface); }
.gov-block { align-items: end; }
.gov-block > p { max-width: 720px; }

.tier-grid { gap: 0; border-top: 1px solid var(--line-strong); }
.tier-card,
.tier-card.is-featured {
  padding: 2rem 1.75rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.tier-card:last-child { border-right: 0; }
.tier-card.is-featured { background: var(--sage); }
.tier-badge { border-radius: 4px; }

.founder-section { background: var(--surface); }
.founder-headshot { border-radius: 6px; filter: grayscale(1); }

.contact-dark {
  background: var(--sage);
  color: var(--ink);
}
.contact-dark .eyebrow { color: var(--accent-ink); }
.contact-dark h2 { color: var(--ink); }
.contact-dark .contact-copy p { color: var(--muted); }
.contact-dark .book-card,
.contact-dark .contact-form {
  background: rgba(255,255,255,0.7);
  border-color: var(--line);
}
.contact-dark .book-card-text strong,
.contact-dark .contact-form label { color: var(--ink); }
.contact-dark .book-card-text span,
.contact-dark .form-micro { color: var(--muted); }
.contact-dark .contact-form input,
.contact-dark .contact-form textarea {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.contact-dark .contact-form input:focus,
.contact-dark .contact-form textarea:focus {
  outline-color: var(--accent);
  border-color: var(--accent);
}

.site-footer {
  margin-top: 0;
  background: var(--ink);
}

html.js:not(.reduced) .fx-up,
html.js:not(.reduced) .fx-rise,
html.js:not(.reduced) .fx-deck,
html.js:not(.reduced) .fx-side {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hero-section { gap: 3rem; }
  .hero-title { font-size: 4.2rem; }
  .logo-wall { grid-template-columns: repeat(5, minmax(90px, 1fr)); }
}

@media (max-width: 960px) {
  :root { --pad: 4.5rem; --gut: 1.5rem; }
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 2.5rem;
    min-height: auto;
    padding-block: 4rem;
  }
  .hero-title { font-size: 3.55rem; }
  .section-heading,
  .products-intro { grid-template-columns: 1fr; }
  .section-lede { margin-left: 0; }
  .products-intro > p:last-child { grid-column: 1; margin-top: 0; }
  .product-chapter { gap: 2.5rem; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card:nth-child(2) { border-right: 0; }
  .capability-card:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  :root { --pad: 3.6rem; --gut: 1.25rem; }
  .site-header { gap: 0.9rem; min-height: 66px; }
  .brand-desc { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gut) 1rem;
    background: rgba(247,247,243,0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .header-cta { min-height: 40px; padding-inline: 0.85rem; }
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 3.4rem 3rem;
  }
  .hero-title { font-size: 3rem; }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions .button { width: 100%; }
  .founder-line { display: grid; }
  .hero-outcomes { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); padding-top: 2rem; }
  .outcome-stat { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
  .outcome-stat span { max-width: none; }
  .logo-wall { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
  .clients-more { display: none; }
  .section-heading h2,
  .contact-copy h2,
  .gov-block h2,
  .founder-copy h2,
  .products-intro h2 { font-size: 2.25rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card,
  .capability-card:nth-child(2),
  .capability-card:nth-child(4) {
    min-height: auto;
    padding: 1.6rem 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .capability-card:first-child { border-top: 0; }
  .card-index { margin-bottom: 1.2rem; }
  .method-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method-tab { justify-content: center; min-height: 48px; padding: 0 0.5rem; }
  .method-tab-dot { display: none; }
  .method-panel { padding: 1.6rem; }
  .product-chapter { grid-template-columns: 1fr; gap: 2.4rem; padding-block: 3.5rem; }
  .product-copy h3 { font-size: 3rem; }
  .product-artifact { overflow-x: auto; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-card,
  .tier-card.is-featured { border-right: 0; border-bottom: 1px solid var(--line); }
  .tier-card:last-child { border-bottom: 0; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2.6rem; }
  .header-cta { font-size: 0.84rem; }
  .nav-toggle { font-size: 0.88rem; }
}
