:root {
  --ivory: #f5ead8;
  --ivory-soft: #fbf5e9;
  --sand: #ebddc5;
  --sand-deep: #dfccb0;
  --paper: #fffaf1;
  --ink: #2b241f;
  --brown: #5b4032;
  --brown-deep: #33251f;
  --brown-soft: #765746;
  --clay: #c67139;
  --clay-dark: #a9542f;
  --stone: #ccbba2;
  --muted: #6f6359;
  --line: rgba(61, 43, 34, 0.19);
  --shadow: 0 24px 70px rgba(70, 48, 36, 0.13);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", Arial, sans-serif;
  --shell: min(1220px, calc(100vw - 56px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.sage-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
p, h1, h2, h3, blockquote { margin-top: 0; }
h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(4.25rem, 7vw, 7.9rem); }
h2 { font-size: clamp(3.1rem, 5.1vw, 5.8rem); }
h3 { font-size: clamp(1.8rem, 2.35vw, 2.7rem); }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 870px; }
.section { padding: clamp(96px, 11vw, 164px) 0; }
.section-pad { padding: clamp(88px, 10vw, 146px) 0; }
.section-ivory { background: var(--ivory); }
.section-sand { background: var(--sand); }
.section-white { background: var(--paper); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  left: 18px;
  top: 18px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-number, .kicker, .form-kicker {
  margin-bottom: 22px;
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-light, .section-heading-light .eyebrow, .section-heading-light .section-number { color: #e9b38a; }
.editorial-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: start;
  margin-bottom: clamp(62px, 8vw, 110px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.editorial-heading h2 { max-width: 1000px; margin-bottom: 24px; }
.editorial-heading > div > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-heading { max-width: 820px; margin-bottom: clamp(48px, 7vw, 84px); }
.section-heading h2 { margin-bottom: 22px; }
.section-heading > p:last-child { max-width: 670px; color: var(--muted); font-size: 1.1rem; }
.section-heading-light, .section-heading-light > p:last-child { color: var(--ivory-soft); }

.button-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-clay, .button-copper { background: var(--clay-dark); color: #fffaf3; }
.button-clay:hover, .button-copper:hover { background: var(--brown-deep); }
.button-dark { background: var(--ink); color: var(--ivory-soft); }
.button-dark:hover { background: var(--brown); }
.button-outline { border-color: currentColor; background: transparent; }
.button-small { min-height: 42px; padding: 11px 18px; background: var(--brown-deep); color: var(--ivory-soft); font-size: 0.68rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link span { color: var(--clay); font-size: 1.1rem; }
.text-link-light { color: var(--ivory-soft); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(245, 234, 216, 0.92);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(76, 53, 39, 0.08); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand span { display: grid; }
.brand strong { font-family: var(--font-display); font-size: 1.38rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; }
.primary-navigation { display: flex; align-items: center; gap: 26px; }
.primary-navigation > a:not(.button), .nav-sage {
  border: 0;
  padding: 5px 0;
  background: none;
  color: var(--brown-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.primary-navigation > a:not(.button):hover, .nav-sage:hover { color: var(--clay-dark); }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }

/* Home hero */
.hero { position: relative; padding-top: 82px; background: var(--ivory); overflow: hidden; }
.hero-grid {
  display: grid;
  min-height: min(860px, calc(100svh - 32px));
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { max-width: 500px; }
.hero-copy h1 { max-width: 780px; margin-bottom: 28px; color: var(--brown-deep); }
.hero-copy h1 em { color: var(--clay-dark); font-weight: 400; }
.hero-lead { max-width: 660px; margin-bottom: 36px; color: #5e5149; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 48px; color: var(--brown-soft); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-proof i { width: 24px; height: 1px; background: var(--stone); }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 610px; }
.hero-arch {
  position: relative;
  width: min(100%, 490px);
  height: min(690px, 74vh);
  min-height: 570px;
  border-radius: 260px 260px 14px 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-arch::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.32); border-radius: inherit; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  right: -22%;
  top: 1%;
  border: 1px solid var(--stone);
  border-radius: 50%;
}
.hero-visual-note {
  position: absolute;
  left: -42px;
  bottom: 76px;
  width: 210px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(71, 46, 32, .17);
}
.hero-visual-note span { color: var(--clay-dark); font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-visual-note p { margin: 8px 0 0; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.04; }
.hero-marker { position: absolute; right: -5px; bottom: 55px; color: var(--brown-soft); font-size: .58rem; font-weight: 700; letter-spacing: .28em; writing-mode: vertical-rl; }
.trade-ribbon { overflow: hidden; border-top: 1px solid rgba(255,255,255,.18); background: var(--clay-dark); color: #fff7eb; }
.trade-ribbon-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 17px 0; animation: ribbon 34s linear infinite; }
.trade-ribbon-track span { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.trade-ribbon-track i { width: 5px; height: 5px; border-radius: 50%; background: #eab187; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Problems and manifesto */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.problem-card { min-height: 330px; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-card > span, .pillar-card > span, .trade-pillar > span { display: block; margin-bottom: 64px; color: var(--clay-dark); font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.problem-card h3 { margin-bottom: 18px; font-size: 2.05rem; }
.problem-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.manifesto { padding: clamp(100px, 12vw, 184px) 0; background: var(--brown-deep); color: var(--ivory-soft); }
.manifesto-grid { display: grid; grid-template-columns: .28fr 1fr .38fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.manifesto-mark { display: block; margin-top: 60px; color: var(--clay); font-family: var(--font-display); font-size: 9rem; line-height: .7; }
.manifesto blockquote { margin-bottom: 0; font-size: clamp(3.2rem, 5.3vw, 6.2rem); }
.manifesto blockquote em { color: #e5a273; font-weight: 400; }
.manifesto-grid > p { margin-top: 9rem; color: #cfbdae; }

/* Framework */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(64, 44, 34, .18); border: 1px solid rgba(64, 44, 34, .18); }
.pillar-card { min-height: 590px; padding: 32px 26px; background: var(--sand); }
.pillar-card:hover { background: var(--ivory-soft); }
.pillar-card > span { margin-bottom: 36px; }
.pillar-card .kicker { min-height: 32px; margin-bottom: 32px; }
.pillar-card h3 { min-height: 82px; margin-bottom: 20px; font-size: 2.3rem; }
.pillar-card > p:not(.kicker) { min-height: 110px; color: var(--muted); font-size: .94rem; }
.pillar-card ul, .engagement-card ul, .trade-pillar ul { list-style: none; margin: 30px 0 0; padding: 0; }
.pillar-card li, .engagement-card li, .trade-pillar li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .035em; }

/* Project sequence */
.project-heading { display: grid; grid-template-columns: .28fr .78fr .36fr; gap: clamp(34px, 6vw, 92px); align-items: end; margin-bottom: clamp(60px, 8vw, 108px); }
.project-heading h2 { margin-bottom: 0; }
.project-heading > p:last-child { margin: 0 0 10px; color: var(--muted); }
.project-arcade { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 42px); align-items: end; }
.project-arcade figure { margin: 0; }
.project-arcade figure:nth-child(2) { transform: translateY(-42px); }
.project-arcade img { width: 100%; height: clamp(380px, 46vw, 620px); object-fit: cover; border-radius: 999px 999px 12px 12px; filter: saturate(.82) sepia(.08); }
.project-arcade figure:nth-child(1) img { border-bottom: 6px solid var(--clay-dark); }
.project-arcade figure:nth-child(2) img { border-bottom: 6px solid var(--brown); }
.project-arcade figure:nth-child(3) img { border-bottom: 6px solid var(--sand-deep); }
.project-arcade figcaption { display: flex; gap: 16px; margin-top: 18px; color: var(--brown); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-arcade figcaption span { color: var(--clay-dark); }

/* Model */
.model-grid { display: grid; grid-template-columns: .86fr 1.14fr; border: 1px solid var(--line); }
.vendor-model, .thryve-model { padding: clamp(34px, 5vw, 70px); }
.vendor-model { background: var(--ivory); }
.vendor-model > div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vendor-model > div span { font-weight: 600; }
.vendor-model > div small { color: var(--muted); }
.vendor-model > p:last-child { max-width: 420px; margin: 32px 0 0; color: var(--muted); }
.thryve-model { background: var(--brown); color: var(--ivory-soft); }
.thryve-model img { width: 54px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.thryve-model .kicker { color: #ebb289; }
.thryve-model h3 { max-width: 620px; margin-bottom: 18px; font-size: clamp(2.7rem, 4.8vw, 5.3rem); }
.thryve-model > p:not(.kicker) { color: #decfc4; }
.model-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0; }
.model-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; font-size: .7rem; }
.thryve-model strong { display: block; max-width: 520px; color: #edc3a5; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }

/* Journey and engagements */
.journey-grid { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.journey-grid li { min-height: 340px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-grid li > span { display: block; margin-bottom: 74px; color: var(--clay-dark); font-size: .68rem; font-weight: 700; }
.journey-grid h3 { margin-bottom: 20px; font-size: 2rem; }
.journey-grid strong { display: block; margin-bottom: 10px; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.journey-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.engagement-card { display: flex; min-height: 610px; flex-direction: column; padding: clamp(36px, 5vw, 68px); border: 1px solid var(--line); background: var(--paper); }
.engagement-card h3 { max-width: 540px; margin-bottom: 22px; font-size: clamp(3rem, 4.7vw, 5rem); }
.engagement-card > p:not(.kicker) { max-width: 500px; color: var(--muted); }
.engagement-card ul { margin-bottom: 40px; }
.engagement-card .button { align-self: flex-start; margin-top: auto; }
.engagement-card-dark { background: var(--brown-deep); color: var(--ivory-soft); }
.engagement-card-dark .kicker { color: #e8a578; }
.engagement-card-dark > p:not(.kicker) { color: #d2c1b3; }
.engagement-card-dark li { border-color: rgba(255,255,255,.15); }

/* Industries */
.industry-groups { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 94px); }
.industry-group { border-top: 1px solid var(--line); padding-top: 22px; }
.industry-links { display: grid; }
.industry-links a { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: 1.05; text-decoration: none; }
.industry-links a span { color: var(--clay); font-family: var(--font-body); font-size: .9rem; }
.industry-links a:hover { color: var(--clay-dark); }
.industry-other { margin-top: clamp(48px, 7vw, 86px); padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); background: var(--sand); }
.industry-other-copy { display: grid; grid-template-columns: .52fr .78fr 1fr; gap: clamp(24px, 4vw, 62px); align-items: start; }
.industry-other-copy .kicker { margin: 6px 0 0; }
.industry-other-copy h3 { margin: 0; font-size: clamp(2.3rem, 3.4vw, 4rem); }
.industry-other-copy > p:last-child { margin: 6px 0 0; color: var(--muted); }
.industry-other-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0; }
.industry-other-links a { padding: 9px 13px; border: 1px solid rgba(61,43,34,.28); border-radius: 999px; background: var(--ivory-soft); color: var(--brown-deep); font-size: .72rem; font-weight: 700; text-decoration: none; }
.industry-other-links a:hover, .industry-other-links a:focus-visible { border-color: var(--clay-dark); color: var(--clay-dark); }
.industry-other .button-row { padding-top: 8px; }

/* Assessment and forms */
.assessment-section { padding: clamp(96px, 11vw, 160px) 0; background: var(--brown); color: var(--ivory-soft); }
.assessment-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(52px, 8vw, 120px); align-items: start; }
.assessment-copy h2 { margin-bottom: 30px; }
.assessment-copy > p:not(.eyebrow) { max-width: 560px; color: #dac9bc; font-size: 1.08rem; }
.assessment-copy ol { list-style: none; margin: 42px 0; padding: 0; }
.assessment-copy li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.assessment-copy li span { color: #eab088; font-size: .72rem; font-weight: 700; }
.consultation-form { padding: clamp(34px, 5vw, 64px); background: var(--ivory-soft); color: var(--ink); box-shadow: 0 25px 80px rgba(36,23,17,.22); }
.consultation-form h3 { margin-bottom: 34px; font-size: clamp(2.7rem, 4.2vw, 4.5rem); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consultation-form label:not(.consent) { display: grid; margin-bottom: 18px; }
.consultation-form label > span:first-child { margin-bottom: 7px; color: var(--brown-soft); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.consultation-form input:not([type="checkbox"]), .consultation-form select, .consultation-form textarea {
  width: 100%; border: 1px solid var(--stone); border-radius: 0; padding: 13px 14px; background: rgba(255,255,255,.55); color: var(--ink); outline: 0;
}
.consultation-form input:focus, .consultation-form select:focus, .consultation-form textarea:focus { border-color: var(--clay-dark); box-shadow: 0 0 0 3px rgba(198,113,57,.13); }
.consultation-form textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin: 5px 0 24px; color: var(--muted); font-size: .78rem; }
.consent input { margin-top: 3px; accent-color: var(--clay-dark); }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .78rem; }
.form-note a, .consent a { color: var(--clay-dark); }
.hidden-field { position: absolute; left: -10000px; }

/* Footer */
.site-footer { padding-top: 78px; background: var(--brown-deep); color: var(--ivory-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .65fr .85fr; gap: 70px; padding-bottom: 70px; }
.brand-light strong { color: var(--ivory-soft); }
.brand-light small { color: #c8b5a8; }
.brand-light img { filter: brightness(0) invert(1); }
.footer-brand > p { max-width: 420px; margin: 28px 0 0; color: #bfaea1; font-size: .9rem; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer nav > p, .footer-contact > p { margin-bottom: 12px; color: #e3a176; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer nav a, .site-footer nav button, .footer-contact a { border: 0; padding: 0; background: none; color: var(--ivory-soft); font-size: .88rem; text-decoration: none; cursor: pointer; }
.footer-contact small { margin-top: 14px; color: #aa978b; font-size: .72rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 0 112px; border-top: 1px solid rgba(255,255,255,.15); color: #a99589; font-size: .7rem; text-align: center; }
.footer-bottom div { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer-bottom a { text-decoration: none; }

/* Sage */
.sage-launcher {
  position: fixed;
  z-index: 1100;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 12px 18px 12px 13px;
  background: var(--brown-deep);
  color: var(--ivory-soft);
  box-shadow: 0 14px 44px rgba(48,31,22,.3);
  cursor: pointer;
}
.sage-status { width: 13px; height: 13px; border: 3px solid var(--brown-deep); border-radius: 50%; background: #e19560; box-shadow: 0 0 0 2px #e19560; }
.sage-launcher > span:last-child { display: grid; text-align: left; }
.sage-launcher strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
.sage-launcher small { margin-top: 2px; color: #cfbdb1; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.sage-panel {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(410px, calc(100vw - 28px));
  max-height: min(690px, calc(100svh - 44px));
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid var(--stone);
  background: var(--ivory-soft);
  box-shadow: 0 26px 90px rgba(40,26,19,.33);
}
.sage-panel[hidden] { display: none; }
.sage-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--brown-deep); color: var(--ivory-soft); }
.sage-header > div { display: flex; align-items: center; gap: 11px; }
.sage-avatar { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #d9905f; border-radius: 50%; color: #f0b187; font-family: var(--font-display); font-size: 1.3rem; }
.sage-header > div > span:last-child { display: grid; }
.sage-header strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
.sage-header small { color: #c9b5a8; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.sage-header > button { border: 0; padding: 4px; background: none; color: var(--ivory-soft); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sage-log { overflow-y: auto; padding: 18px; background: var(--ivory); }
.sage-message { display: flex; margin-bottom: 12px; }
.sage-message p { max-width: 86%; margin: 0; padding: 11px 13px; border-radius: 2px 14px 14px 14px; background: var(--paper); font-size: .86rem; line-height: 1.48; box-shadow: 0 5px 16px rgba(81,55,40,.08); }
.sage-message-user { justify-content: flex-end; }
.sage-message-user p { border-radius: 14px 2px 14px 14px; background: var(--clay-dark); color: #fffaf4; }
.sage-message.is-thinking p { color: var(--muted); font-style: italic; }
.sage-booking { display: grid; gap: 8px; }
.sage-booking small { color: var(--muted); font-size: .68rem; }
.sage-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.sage-quick:empty { display: none; }
.sage-quick button { border: 1px solid var(--stone); border-radius: 999px; padding: 7px 10px; background: transparent; color: var(--brown); font-size: .68rem; cursor: pointer; }
.sage-quick button:hover { border-color: var(--clay-dark); color: var(--clay-dark); }
.sage-input { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); background: var(--paper); }
.sage-input input { min-width: 0; border: 0; padding: 14px; background: transparent; outline: 0; }
.sage-input button { border: 0; padding: 0 16px; background: var(--clay-dark); color: white; font-size: .7rem; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.sage-disclosure { margin: 0; padding: 8px 14px; background: var(--paper); color: var(--muted); font-size: .58rem; line-height: 1.35; }

/* Trade landing pages */
.trade-hero { position: relative; padding: 82px 0 0; background: var(--ivory); overflow: hidden; }
.trade-hero-grid { display: grid; min-height: 750px; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .65fr); gap: clamp(44px, 8vw, 120px); align-items: center; padding-top: 80px; padding-bottom: 96px; }
.trade-hero-media { position: absolute; right: 2vw; top: 136px; width: min(34vw, 450px); height: 560px; border-radius: 240px 240px 12px 12px; overflow: hidden; opacity: .16; }
.trade-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.trade-hero-grid > div:first-child { position: relative; z-index: 2; }
.trade-hero h1 { max-width: 850px; margin-bottom: 28px; color: var(--brown-deep); font-size: clamp(4rem, 7vw, 7.4rem); }
.trade-hero .hero-lead { max-width: 680px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 35px; color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a { color: var(--clay-dark); text-decoration: none; }
.trade-hero-aside { position: relative; z-index: 2; align-self: end; margin-bottom: 22px; padding: 30px; border-top: 3px solid var(--clay); background: rgba(255,250,241,.88); box-shadow: var(--shadow); }
.trade-hero-aside > p { font-family: var(--font-display); font-size: 1.35rem; }
.trade-hero-aside ol { margin: 0; padding-left: 22px; color: var(--muted); }
.quick-answer { background: var(--paper); }
.quick-answer h2 { font-size: clamp(3rem, 4.6vw, 5rem); }
.quick-answer p:last-child { color: var(--muted); font-size: 1.12rem; }
.trade-problems { background: var(--ivory); }
.trade-framework { background: var(--brown-deep); color: var(--ivory-soft); }
.trade-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.16); }
.trade-pillar { min-height: 480px; padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.trade-pillar:last-child { border-right: 0; }
.trade-pillar > span { margin-bottom: 42px; color: #e4a277; }
.trade-pillar h3 { margin-bottom: 15px; font-size: 2rem; }
.trade-pillar > p { color: #d2c0b4; }
.trade-pillar li { border-color: rgba(255,255,255,.15); }
.trade-questions { background: var(--sand); }
.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.question-card { padding: 34px; background: var(--ivory-soft); }
.question-card h3 { font-size: 2.2rem; line-height: 1.02; }
.question-card p { color: var(--brown); }
.question-card small { display: block; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.market-band { padding: 100px 0; background: var(--brown); color: var(--ivory-soft); }
.market-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; }
.market-grid h2 { font-size: clamp(3.2rem, 5vw, 5.5rem); }
.market-grid > div:first-child > p:last-child { color: #d6c2b4; }
.related-trades { display: flex; flex-wrap: wrap; gap: 9px; }
.related-trades span, .related-trades a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: inherit; font-size: .7rem; text-decoration: none; }
.related-trades a { background: rgba(255,255,255,.08); font-weight: 700; }
.related-trades a:hover { border-color: #e9b38a; background: rgba(255,255,255,.14); }
.trade-faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 42px 23px 0; font-family: var(--font-display); font-size: 1.65rem; line-height: 1.08; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--clay-dark); font-family: var(--font-body); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding-right: 44px; color: var(--muted); }
.trade-cta { background: var(--ivory); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; padding: clamp(42px, 7vw, 90px); background: var(--brown-deep); color: var(--ivory-soft); }
.cta-panel h2 { max-width: 800px; margin-bottom: 22px; font-size: clamp(3rem, 4.8vw, 5.4rem); }
.cta-panel p:not(.eyebrow) { max-width: 620px; color: #cfbcae; }
.cta-panel .button-outline { color: var(--ivory-soft); }

/* Trust and about */
.trust-action { display: flex; flex-direction: column; }
.trust-action .text-link { margin-top: auto; padding-top: 28px; }
.about-hero { padding: clamp(150px, 16vw, 230px) 0 clamp(90px, 11vw, 150px); background: var(--ivory); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: clamp(52px, 9vw, 130px); align-items: end; }
.about-hero h1 { max-width: 900px; margin-bottom: 30px; color: var(--brown-deep); font-size: clamp(4.2rem, 7.5vw, 8rem); }
.about-statement { padding: 34px; border-top: 3px solid var(--clay-dark); background: var(--paper); box-shadow: var(--shadow); }
.about-statement p { margin-bottom: 20px; color: var(--clay-dark); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about-statement strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 500; line-height: 1.05; }
.about-leadership { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(52px, 10vw, 150px); align-items: start; }
.about-leadership h2, .about-trust h2 { font-size: clamp(3.2rem, 5.4vw, 5.9rem); }
.about-copy { max-width: 720px; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-copy p:first-child { color: var(--brown); font-size: 1.25rem; }
.about-trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(52px, 10vw, 150px); align-items: start; }
.trust-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.trust-list li { display: grid; grid-template-columns: .55fr 1fr; gap: 25px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-list strong { color: var(--brown-deep); }
.trust-list span { color: var(--muted); }

/* Utility pages */
.simple-page { min-height: 100vh; padding: clamp(88px, 11vw, 150px) 0; background: var(--ivory-soft); }
.simple-page .shell { max-width: 860px; }
.simple-page h1 { margin-bottom: 40px; color: var(--brown-deep); font-size: clamp(4rem, 8vw, 7rem); }
.simple-page h2 { margin: 52px 0 18px; font-size: 2.5rem; }
.simple-page p { color: var(--muted); }
.simple-page .button-row { margin-top: 40px; }

/* Motion */
.reveal, .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible, .stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 1000px); }
  .primary-navigation { gap: 16px; }
  .primary-navigation > a:not(.button):nth-child(3) { display: none; }
  .hero-grid { grid-template-columns: 1.08fr .72fr; gap: 45px; }
  .hero-arch { height: 590px; min-height: 0; }
  .hero-visual-note { left: -28px; }
  .problem-grid, .pillar-grid, .trade-pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card, .pillar-card, .trade-pillar { border-bottom: 1px solid var(--line); }
  .pillar-card { min-height: 500px; }
  .pillar-card > p:not(.kicker) { min-height: auto; }
  .manifesto-grid { grid-template-columns: .25fr 1fr; }
  .manifesto-grid > p { grid-column: 2; margin-top: 0; max-width: 520px; }
  .project-heading { grid-template-columns: .25fr 1fr; }
  .project-heading > p:last-child { grid-column: 2; }
  .journey-grid { grid-template-columns: repeat(3, 1fr); }
  .assessment-grid { gap: 55px; }
  .trade-hero-grid { grid-template-columns: 1fr .45fr; }
  .question-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 32px); }
  html { scroll-padding-top: 74px; }
  .section, .section-pad { padding: 88px 0; }
  .header-inner { min-height: 72px; }
  .brand small { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform 180ms ease; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::before { content: ""; position: absolute; top: -6px; }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(90deg); }
  .primary-navigation { position: fixed; inset: 72px 0 auto; display: none; padding: 28px 20px 34px; flex-direction: column; align-items: stretch; gap: 8px; border-top: 1px solid var(--line); background: var(--ivory-soft); box-shadow: 0 22px 45px rgba(65,43,30,.16); }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation > a:not(.button), .nav-sage { display: block !important; padding: 12px 0; text-align: left; }
  .primary-navigation .button { margin-top: 8px; }
  .hero { padding-top: 72px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 60px; padding-top: 66px; }
  .hero-copy h1 { font-size: clamp(4rem, 14vw, 6.2rem); }
  .hero-visual { min-height: 600px; }
  .hero-arch { width: min(88%, 470px); height: 600px; }
  .hero-visual-note { left: 0; bottom: 50px; }
  .editorial-heading { grid-template-columns: 1fr; gap: 24px; }
  .editorial-heading h2 { font-size: clamp(3.25rem, 12vw, 5.4rem); }
  .problem-grid, .pillar-grid, .journey-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-mark { display: none; }
  .manifesto-grid > p { grid-column: auto; }
  .project-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-heading > p:last-child { grid-column: auto; max-width: 600px; }
  .model-grid, .engagement-grid, .industry-groups, .assessment-grid, .footer-grid, .faq-layout { grid-template-columns: 1fr; }
  .industry-other-copy { grid-template-columns: 1fr; gap: 14px; }
  .journey-grid li > span { margin-bottom: 45px; }
  .footer-grid { gap: 42px; }
  .trade-hero { padding-top: 72px; }
  .trade-hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 68px; }
  .trade-hero-media { right: -12%; top: 180px; width: 70vw; opacity: .09; }
  .trade-hero-aside { max-width: 480px; }
  .market-grid, .cta-panel, .about-hero-grid, .about-leadership, .about-trust { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  body { font-size: 15px; }
  h1 { font-size: 3.75rem; }
  h2 { font-size: 3.15rem; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .hero-grid { padding-top: 54px; padding-bottom: 70px; }
  .hero-copy h1 { font-size: 3.7rem; }
  .hero-proof { flex-wrap: wrap; }
  .hero-visual { min-height: 500px; justify-content: flex-end; }
  .hero-arch { width: 88%; height: 500px; }
  .hero-visual-note { width: 180px; padding: 18px; }
  .hero-marker { display: none; }
  .problem-grid, .pillar-grid, .journey-grid, .trade-pillar-grid, .question-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 260px; }
  .problem-card > span { margin-bottom: 42px; }
  .pillar-card { min-height: auto; }
  .pillar-card h3 { min-height: auto; }
  .manifesto blockquote { font-size: 3.25rem; }
  .project-arcade { gap: 8px; }
  .project-arcade figure:nth-child(2) { transform: translateY(-20px); }
  .project-arcade img { height: 340px; }
  .project-arcade figcaption { font-size: .58rem; gap: 6px; }
  .journey-grid li { min-height: 270px; }
  .engagement-card { min-height: 560px; padding: 34px 25px; }
  .engagement-card h3 { font-size: 3.25rem; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .consultation-form { padding: 32px 22px; }
  .footer-bottom { flex-direction: column; }
  .sage-launcher { right: 14px; bottom: 14px; }
  .sage-panel { right: 14px; bottom: 14px; max-height: calc(100svh - 28px); }
  .trade-hero h1 { font-size: 3.75rem; }
  .trade-hero-aside { margin: 0; }
  .trade-pillar { min-height: auto; border-right: 0; }
  .question-card { padding: 28px 22px; }
  .cta-panel { padding: 36px 24px; }
  .about-hero { padding-top: 120px; }
  .about-hero h1 { font-size: 3.75rem; }
  .about-statement { padding: 28px 22px; }
  .trust-list li { grid-template-columns: 1fr; gap: 8px; }
}

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

/* --- Additive: knowledge platform (Deploy 1) --- */
.footer-grid.footer-grid-4 { grid-template-columns: 1.15fr .6fr .55fr .85fr; gap: 54px; }
.article-toc { margin: 0 0 64px; padding: 30px 34px; background: var(--paper, var(--ivory-soft)); border: 1px solid var(--line); }
.article-toc > p { margin: 0 0 14px; color: var(--clay-dark); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.article-toc a { color: inherit; text-decoration: none; }
.article-toc a:hover { color: var(--clay-dark); }
.article-body h2 { margin: 74px 0 22px; font-size: clamp(2.1rem, 3.2vw, 3rem); line-height: 1.05; scroll-margin-top: 110px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 40px 0 12px; font-size: 1.55rem; line-height: 1.1; }
.article-body p { margin: 0 0 20px; line-height: 1.7; }
.article-body a { color: var(--clay-dark); }
@media (max-width: 860px) { .footer-grid.footer-grid-4 { grid-template-columns: 1fr; } }

/* Growth Readiness Assessment landing page: 3-column process band on dark bg, reusing .trade-pillar card styling */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.16); margin-top: 8px; }
.process-grid .trade-pillar { min-height: 300px; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid .trade-pillar { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .process-grid .trade-pillar:last-child { border-bottom: 0; }
}

/* --- Additive: Build Forward Initiative --- */
/* 3-column light card band (light-background counterpart to .pillar-grid, sized for exactly 3 items) */
.initiative-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(64, 44, 34, .18); border: 1px solid rgba(64, 44, 34, .18); margin-top: 8px; }
.initiative-card { min-height: 300px; padding: 32px 26px; background: var(--sand); }
.initiative-card:hover { background: var(--ivory-soft); }
.initiative-card > span { display: block; margin-bottom: 40px; color: var(--clay-dark); font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.initiative-card h3 { margin-bottom: 16px; font-size: 2rem; }
.initiative-card p { margin: 0; color: var(--muted); font-size: .94rem; }
/* Italicized statement line, e.g. a signature or core brand thought */
.signature-line { margin: 22px 0; max-width: 620px; color: var(--clay-dark); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.25; }
.signature-line-light { color: #e9b38a; }
@media (max-width: 860px) {
  .initiative-grid { grid-template-columns: 1fr; }
  .initiative-card { border-bottom: 1px solid rgba(64, 44, 34, .18); }
  .initiative-card:last-child { border-bottom: 0; }
}

/* --- Additive: Phase 3A /home-builder-marketing/ optimization --- */
/* Byline + last-updated line under the hero lead paragraph */
.article-meta { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.article-meta a { color: var(--clay-dark); }
/* Wrap FAQ question text in <h3> for heading hierarchy without altering the existing
   accessible details/summary accordion's appearance or behavior. */
.faq-list summary h3 { display: inline; margin: 0; font: inherit; }
/* Comparison table inside .article-body — reuses existing color tokens and typography,
   no new visual language. Wrapped in .table-scroll for mobile overflow safety. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; }
.table-scroll table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: .95rem; }
.table-scroll caption { text-align: left; margin-bottom: 10px; color: var(--muted); font-size: .85rem; caption-side: top; }
.table-scroll th, .table-scroll td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--brown-deep); background: var(--sand); }
.table-scroll tbody th { font-weight: 600; color: var(--brown-deep); white-space: nowrap; }
@media (max-width: 640px) {
  .table-scroll th, .table-scroll td { padding: 10px 12px; font-size: .88rem; }
}
