:root {
  --ink: #1F211C;
  --ink-deep: #1F211C;
  --forest: #243B2A;
  --moss: #667766;
  --sage: #B6C0B4;
  --sand: #EEE9DE;
  --cream: #F9F6EF;
  --clay: #A96542;
  --white: #FFFFFF;
  --muted: #62685F;
  --line: rgba(31, 33, 28, 0.16);
  --shadow: 0 24px 60px rgba(31, 33, 28, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink-deep);
  color: var(--white);
  padding: .75rem 1rem;
  z-index: 999;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }
.section { padding: 7rem 0; }
.section-sm { padding: 4.5rem 0; }
.section-dark { background: var(--ink-deep); color: var(--cream); }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--forest);
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
.h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}
.h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 500;
}
.h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
}
.lede { font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.section-dark .lede { color: rgba(249,246,239,.72); }
.copy { color: var(--muted); }
.section-dark .copy { color: rgba(249,246,239,.72); }

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(249, 246, 239, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(20,34,29,.05); }
.nav-shell { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 220px; }
.brand-logo { width: 240px; height: auto; }
.brand-footer { min-width: 0; }
.footer-logo { width: 250px; max-width: 100%; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; font-size: .9rem; font-weight: 650; }
.nav-links a { position: relative; }
.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.35rem;
  height: 1px;
  background: var(--clay);
  transition: right .2s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.menu-toggle { display: none; position: relative; z-index: 103; width: 44px; height: 44px; border: 0; padding: .55rem; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .91rem;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest); border-color: var(--forest); }
.button-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.button-light:hover { background: var(--white); border-color: var(--white); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { color: var(--white); }
.button-text { border: 0; background: transparent; color: var(--ink); padding-inline: 0; min-height: auto; }
.button-text:hover { background: transparent; color: var(--clay); transform: none; }
.arrow { transition: transform .2s ease; }
.button:hover .arrow, a:hover .arrow { transform: translateX(4px); }

.hero { position: relative; overflow: hidden; padding: 8.5rem 0 7rem; }
.hero::before {
  content: "";
  position: absolute;
  width: 58vw;
  height: 58vw;
  max-width: 860px;
  max-height: 860px;
  right: -18vw;
  top: -18vw;
  border-radius: 50%;
  border: 1px solid rgba(36,59,42,.14);
  box-shadow: inset 0 0 0 80px rgba(54,92,74,.025), inset 0 0 0 160px rgba(54,92,74,.02);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 4rem; align-items: end; }
.hero-copy { max-width: 820px; position: relative; z-index: 2; }
.hero-copy .lede { max-width: 720px; margin: 2rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-aside { position: relative; z-index: 2; }
.hero-note {
  padding: 1.5rem;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.hero-note p { margin: 0; font-family: Georgia, serif; font-size: 1.32rem; line-height: 1.45; }
.hero-note small { display: block; margin-top: 1rem; color: var(--muted); font-weight: 700; }
.root-lines { position: absolute; right: 1rem; bottom: -2rem; width: 290px; opacity: .15; pointer-events: none; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.35rem; border-right: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trust-item:last-child { border-right: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.split-sticky { position: sticky; top: 120px; }
.statement { margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--clay); font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.45; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.52);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(181,111,77,.45); }
.card-index { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sand); color: var(--forest); font-size: .78rem; font-weight: 850; }
.card .h3 { margin-top: 1.5rem; }
.card p { margin: 1rem 0 0; color: var(--muted); }
.card ul { list-style: none; margin: 1.35rem 0 0; padding: 0; color: var(--muted); font-size: .94rem; }
.card li { position: relative; padding: .45rem 0 .45rem 1.25rem; border-top: 1px solid var(--line); }
.card li::before { content: "•"; position: absolute; left: 0; color: var(--clay); }

.services-list { border-top: 1px solid rgba(249,246,239,.18); margin-top: 3rem; }
.service-row { display: grid; grid-template-columns: .5fr 1.5fr 1fr; gap: 2rem; padding: 2.15rem 0; border-bottom: 1px solid rgba(249,246,239,.18); align-items: start; }
.service-row .num { color: var(--forest); font-weight: 800; }
.service-row p { margin: 0; color: rgba(249,246,239,.68); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-step { min-height: 285px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.method-step strong { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.method-step p { margin: 1rem 0 0; color: var(--muted); }
.method-step span { color: var(--forest); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }

.industry-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest); color: var(--cream); padding: clamp(2rem, 6vw, 5rem); }
.industry-panel::after { content: ""; position: absolute; width: 390px; height: 390px; right: -90px; bottom: -160px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: inset 0 0 0 65px rgba(255,255,255,.025), inset 0 0 0 130px rgba(255,255,255,.025); }
.industry-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; }
.industry-panel .eyebrow { color: #e3b49b; }
.industry-panel .copy { color: rgba(249,246,239,.72); }
.metric-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.metric-pill { padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(249,246,239,.86); font-size: .88rem; }

.quote { max-width: 950px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4.3vw, 4rem); line-height: 1.15; letter-spacing: -.035em; }
.quote footer { margin-top: 1.5rem; color: var(--muted); font-size: .88rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.article-card { display: flex; flex-direction: column; min-height: 360px; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.article-card .tag { color: var(--forest); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 1.25rem 0 0; font-family: Georgia, serif; font-weight: 500; font-size: 1.65rem; line-height: 1.2; }
.article-card p { color: var(--muted); }
.article-card a { margin-top: auto; font-weight: 750; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); background: var(--clay); color: var(--white); border-radius: var(--radius-lg); }
.cta-panel .eyebrow { color: rgba(255,255,255,.72); }
.cta-panel p { max-width: 710px; margin: 1rem 0 0; color: rgba(255,255,255,.8); }

.page-hero { padding: 7.5rem 0 5rem; border-bottom: 1px solid var(--line); }
.page-hero .lede { max-width: 760px; margin-top: 1.6rem; }

.feature-list { display: grid; gap: 1rem; margin-top: 2rem; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.feature-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--forest); font-weight: 850; }
.feature h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.feature p { margin: .45rem 0 0; color: var(--muted); }

.team-card { display: grid; grid-template-columns: minmax(240px,.75fr) 1.25fr; gap: 3rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.portrait-placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: linear-gradient(140deg, var(--sage), var(--forest)); display: grid; place-items: center; color: rgba(255,255,255,.85); text-align: center; padding: 2rem; }
.portrait-placeholder strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-details { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-details div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-details small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.contact-details span { display: block; margin-top: .3rem; }
.form-shell { padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
#hubspot-form { min-height: 32rem; }
#hubspot-form iframe { width: 100% !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36,59,42,.12); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; }
.form-note a { color: var(--forest); font-weight: 700; }
.success-message { display: none; padding: 1rem; margin-top: 1rem; border-radius: var(--radius-sm); background: #e8f1eb; color: #244734; }
.success-message.show { display: block; }

.site-footer { padding: 5rem 0 2rem; background: var(--ink-deep); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr .75fr; gap: 3rem; }
.footer-copy { max-width: 380px; color: rgba(249,246,239,.62); margin-top: 1.25rem; }
.footer-col h3 { margin: 0 0 1rem; font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(249,246,239,.52); }
.footer-col a, .footer-col span { display: block; padding: .36rem 0; color: rgba(249,246,239,.82); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(249,246,239,.14); color: rgba(249,246,239,.48); font-size: .8rem; }

.placeholder-badge { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .65rem; border-radius: 999px; background: #fff3d8; color: #805f20; font-size: .72rem; font-weight: 850; letter-spacing: .03em; }
.placeholder-badge::before { content: "PLACEHOLDER"; font-size: .58rem; letter-spacing: .1em; }

.reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; }
  .nav-shell { height: 84px; }
  .nav-links { position: fixed; z-index: 101; inset: 84px 0 0; height: calc(100dvh - 84px); min-height: calc(100vh - 84px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--cream); display: flex; flex-direction: column; align-items: stretch; gap: .25rem; padding: 1.5rem clamp(1.25rem, 6vw, 2rem) 3rem; transform: translateX(100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s ease, opacity .2s ease, visibility .2s ease; }
  .nav-links.open { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { display: block; width: 100%; padding: .62rem 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.15; font-weight: 500; }
  .nav-links a:not(.button)::after { bottom: .35rem; }
  .nav-links .button { width: fit-content; max-width: 100%; font-family: inherit; font-size: .92rem; margin-top: 1rem; padding-inline: 1.2rem; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  body.menu-open { overflow: hidden; touch-action: none; }
  .hero-grid, .split, .industry-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .hero-aside { max-width: 560px; }
  .split-sticky { position: static; }
  .cards, .insights-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 70px 1fr; }
  .service-row p { grid-column: 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .brand-logo { width: 220px; }
  .footer-logo { width: 240px; }
  .section { padding: 5rem 0; }
  .section-sm { padding: 3.5rem 0; }
  .display { font-size: clamp(2.75rem, 15vw, 4.35rem); }
  .cards, .insights-grid, .method-grid, .metric-list { grid-template-columns: 1fr; }
  .method-step { min-height: 220px; }
  .cta-panel { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}

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

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
}


/* Editorial photography */
.hero-photo-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-photo-card > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 52% center; display: block; }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(31,33,28,.78)); }
.photo-note { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; top: 1.5rem; bottom: auto; background: rgba(249,246,239,.94); backdrop-filter: blur(8px); }
.industry-photo-wrap { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest); }
.industry-photo { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 48%; }
.industry-photo-wrap .industry-panel { border-radius: 0; }
.photo-band { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.photo-band img { width: 100%; height: clamp(320px, 48vw, 620px); object-fit: cover; object-position: center; border-radius: 0 0 var(--radius-lg) var(--radius-lg); display:block; }
.photo-band-contained { padding-top: 1.5rem; }
.photo-band-contained img { border-radius: var(--radius-lg); }
.portrait-photo { position: relative; min-height: 460px; border-radius: var(--radius-md); overflow: hidden; background: var(--forest); }
.portrait-photo img { width:100%; height:100%; min-height:460px; object-fit:cover; display:block; }
.portrait-photo span { position:absolute; left:1rem; bottom:1rem; padding:.55rem .8rem; border-radius:999px; background:rgba(249,246,239,.92); color:var(--ink); font-size:.76rem; font-weight:800; }

.founder-placeholder {
  min-height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, var(--sand), var(--white));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
}
.founder-placeholder img { width: 150px; max-width: 42%; height: auto; opacity: .92; }
.founder-placeholder span { padding: .55rem .8rem; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .76rem; font-weight: 800; border: 1px solid var(--line); }

@media (max-width: 900px) { .industry-photo-wrap { grid-template-columns: 1fr; } .industry-photo { min-height: 330px; max-height: 430px; } .hero-photo-card, .hero-photo-card > img { min-height: 430px; } }


/* Frequently asked questions */
.faq-layout { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 1.55rem 3.25rem 1.55rem 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .15rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
.faq-answer { max-width: 760px; padding: 0 3.25rem 1.55rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Legal pages — scoped so legal.css does not override the main Rootwise site */
.rootwise-legal-page .hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(145deg, var(--cream), var(--sand));
}
.rootwise-legal-page .hero::before { display: none; }
.rootwise-legal-page .hero h1,
.rootwise-legal-page .legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
}
.rootwise-legal-page .hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  letter-spacing: -.035em;
}
.updated { margin: 1.4rem 0 0; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding: 4rem 0 6rem; }
.legal-nav { position: sticky; top: 7rem; align-self: start; display: grid; gap: .55rem; }
.legal-nav strong { margin-bottom: .3rem; color: var(--forest); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-content { max-width: 760px; }
.legal-content section { scroll-margin-top: 7rem; }
.legal-content section + section { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.legal-content p, .legal-content li { color: #454941; }
.legal-content ul { padding-left: 1.25rem; }
.notice { margin: 0 0 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--forest); background: var(--white); }
@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

/* WordPress integration */
html { scroll-behavior: smooth; }
body { margin: 0; }
.wp-site-blocks { padding: 0 !important; }
.wp-block-post-content { margin-block-start: 0 !important; }
.rootwise-main { margin: 0; padding: 0; }
.screen-reader-text { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.section-dark .eyebrow, .section-dark .service-row .num, .section-dark .method-step span, .section-dark .article-card .tag { color: #e3b49b; }
.cta-panel .eyebrow { color: var(--white); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.rootwise-article-header { padding: 7rem 0 2rem; background: var(--cream); }
.rootwise-article-body { padding: 2rem 0 7rem; }
.rootwise-article-body > * { max-width: 780px; margin-left:auto; margin-right:auto; }
.rootwise-article-body .alignwide { max-width: 1120px; }
.rootwise-article-body .alignfull { max-width:none; }
.rootwise-post-meta { color: var(--muted); font-size:.88rem; }

/* Header QA fixes — v1.0.2 */
.site-header .brand-logo {
  width: clamp(240px, 19vw, 280px);
  height: auto;
  object-fit: contain;
}

/* Switch only the navigation to its mobile treatment before the full page layout stacks. */
@media (max-width: 1080px) and (min-width: 961px) {
  .nav-links {
    position: fixed;
    z-index: 101;
    inset: 84px 0 0;
    height: calc(100dvh - 84px);
    min-height: calc(100vh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1.5rem clamp(1.25rem, 6vw, 2rem) 3rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
  }
  .nav-links.open { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { display: block; width: 100%; padding: .62rem 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 4vw, 1.9rem); line-height: 1.15; font-weight: 500; }
  .nav-links a:not(.button)::after { bottom: .35rem; }
  .nav-links .button { width: fit-content; max-width: 100%; font-family: inherit; font-size: .92rem; margin-top: 1rem; padding-inline: 1.2rem; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  body.menu-open { overflow: hidden; touch-action: none; }
}

/* WordPress admin-bar-aware menu offsets while QA is being performed logged in. */
@media (max-width: 1080px) {
  .admin-bar .nav-links {
    top: 116px;
    bottom: 0;
    height: calc(100dvh - 116px);
    min-height: calc(100vh - 116px);
  }
}
@media (max-width: 782px) {
  .admin-bar .nav-links {
    top: 130px;
    height: calc(100dvh - 130px);
    min-height: calc(100vh - 130px);
  }
}
@media (max-width: 680px) {
  .site-header .brand-logo { width: 220px; }
}
@media (max-width: 380px) {
  .site-header .brand-logo { width: 200px; }
}


/* Sticky navigation hardening — v1.0.3 */
/* overflow-x: clip on the root page avoids creating a scroll container that can disable position: sticky in some browsers. */
.site-header {
  align-self: start;
}


/* Insights publishing system — v1.0.5 */
.rootwise-insights-query { margin-top: 3rem; }
.rootwise-insights-query .rootwise-insights-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rootwise-insights-query .wp-block-post { margin: 0; }
.rootwise-post-card { height: 100%; min-height: 330px; }

.rootwise-post-card-image { margin: -0.45rem -0.45rem 1.35rem; overflow: hidden; border-radius: calc(var(--radius-md) - 4px); aspect-ratio: 1731 / 909; background: var(--cream); }
.rootwise-post-card-image a { display: block; width: 100%; height: 100%; }
.rootwise-post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rootwise-article-body > .wp-block-post-featured-image { max-width: 1120px; margin-top: 0; margin-bottom: 3.2rem; overflow: hidden; border-radius: var(--radius-md); }
.rootwise-article-body > .wp-block-post-featured-image img { width: 100%; height: auto; display: block; }
.rootwise-post-card .wp-block-post-title { margin: 1.15rem 0 .8rem; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.18; font-weight: 500; }
.rootwise-post-card .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.rootwise-post-card .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: .18em; }
.rootwise-post-card .wp-block-post-terms { margin: 0; }
.rootwise-post-card .wp-block-post-terms a { color: var(--forest); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.rootwise-post-card .wp-block-post-excerpt { display: flex; flex: 1; flex-direction: column; color: var(--muted); }
.rootwise-post-card .wp-block-post-excerpt__more-text { margin-top: auto; padding-top: 1.4rem; }
.rootwise-post-card .wp-block-post-excerpt__more-link { color: var(--forest); font-weight: 750; text-decoration: none; }
.rootwise-series-meta { margin-bottom: .65rem; }
.rootwise-series-meta + .rootwise-insights-label { display: none; }
.rootwise-post-meta { gap: .6rem !important; align-items: center; margin-top: 1.25rem; }
.rootwise-post-meta p { margin: 0; }
.rootwise-post-meta a { color: inherit; }
.rootwise-article-body { font-size: 1.06rem; line-height: 1.75; }
.rootwise-article-body h2 { margin-top: 3.2rem; margin-bottom: 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 500; color: var(--ink); }
.rootwise-article-body h3 { margin-top: 2.2rem; margin-bottom: .7rem; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.2; font-weight: 500; color: var(--ink); }
.rootwise-article-body p, .rootwise-article-body li { color: var(--muted); }
.rootwise-article-body strong { color: var(--ink); }
.rootwise-article-body blockquote { margin: 2.4rem auto; padding: 1.6rem 1.8rem; border-left: 3px solid var(--copper); background: var(--sand); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.35; }
.rootwise-article-body blockquote p { color: var(--ink); }
.rootwise-article-body .rootwise-article-callout { margin-top: 2.3rem; margin-bottom: 2.3rem; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream); }
.rootwise-article-body .rootwise-article-callout p { margin: 0; color: var(--ink); }
.rootwise-article-body ul, .rootwise-article-body ol { padding-left: 1.35rem; }
.rootwise-article-body li { margin-bottom: .55rem; }
.rootwise-article-nav { padding: 0 0 4rem; }
.rootwise-article-nav a { color: var(--forest); font-weight: 750; text-decoration: none; }
@media (max-width: 980px) {
  .rootwise-insights-query .rootwise-insights-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .rootwise-insights-query .rootwise-insights-post-grid { grid-template-columns: 1fr; }
  .rootwise-article-header { padding-top: 5.5rem; }
  .rootwise-article-body { padding-bottom: 5rem; font-size: 1rem; }
}
