:root {
  --chalk: #EEECE5;
  --graphite: #333A3B;
  --moss: #939B7A;
  --glacier: #B8D0D7;
  --canvas: #F5F3EE;
  --white: #FFFFFF;
  --mineral: #426879;
  --text-muted: #5E686A;
  --rule: rgba(51, 58, 59, .16);
  --shell: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--canvas);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: relative;
  z-index: 50;
  min-height: 116px;
  display: flex;
  align-items: center;
  background: var(--chalk);
  border-bottom: 1px solid rgba(51,58,59,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 174px; display: block; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--mineral); }
.nav-divider { height: 28px; width: 1px; background: rgba(51,58,59,.38); }
.utility-link { color: var(--mineral); }
.menu-toggle { display: none; border: 0; background: none; font: inherit; color: var(--graphite); }

.hero { position: relative; min-height: 700px; overflow: hidden; color: var(--white); }
.hero-media, .contact-media {
  position: absolute; inset: 0;
  background-image: url('../images/sienna-horizon.png');
  background-size: cover;
  background-position: 68% 50%;
  transform: scale(1.002);
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,36,37,.83) 0%, rgba(30,36,37,.63) 30%, rgba(30,36,37,.17) 64%, rgba(30,36,37,0) 82%);
}
.hero-inner { position: relative; min-height: 700px; display: flex; align-items: center; }
.hero-copy { width: min(650px, 58vw); padding-block: 86px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 600; }
.eyebrow-light { color: rgba(255,255,255,.9); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(58px, 6.3vw, 88px); line-height: .96; letter-spacing: -.052em; font-weight: 400; }
.hero-intro { max-width: 620px; margin-bottom: 34px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.52; color: rgba(255,255,255,.94); }
.button { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 20px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.button-light { background: var(--white); color: var(--graphite); }
.button-secondary-image {
  background: var(--chalk);
  color: var(--graphite);
  border: 1px solid rgba(51,58,59,.82);
  border-radius: 6px;
  min-height: 48px;
  padding: 12px 20px;
}
.button-secondary-image:hover, .button-secondary-image:focus-visible {
  background: var(--white);
  border-color: var(--graphite);
}
.button:hover, .button:focus-visible { transform: translateY(-1px); }

.section { padding-block: 118px; }
.section-canvas { background: var(--canvas); }
.section-chalk { background: var(--chalk); }
.split-heading, .about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 110px; align-items: start; }
.section h2 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -.045em; font-weight: 400; }
.section-lead { padding-top: 7px; font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.section-lead p + p { margin-top: 20px; }
.approach-heading { padding-bottom: 62px; border-bottom: 1px solid var(--rule); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; }
.proof { min-height: 220px; padding: 28px 46px 18px 0; }
.proof + .proof { border-left: 1px solid var(--rule); padding-left: 46px; }
.proof-icon { width: 42px; height: 42px; margin-bottom: 18px; fill: none; stroke: var(--graphite); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.proof-icon-image { object-fit: contain; stroke: none; }
.proof h3, .challenge-list h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.proof p { margin: 0; max-width: 340px; color: var(--text-muted); font-size: 15px; line-height: 1.55; }

.where-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); gap: 86px; align-items: start; }
.where-copy { padding-right: 10px; }
.where-copy h2 { margin-bottom: 18px; }
.where-intro { max-width: 650px; margin-bottom: 46px; font-size: 19px; line-height: 1.55; color: var(--text-muted); }
.challenge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 25px; }
.challenge-list li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; align-items: start; }
.challenge-number { padding-top: 2px; font-size: 17px; font-weight: 400; color: #8AA0B0; }
.challenge-list p { margin: 0; max-width: 720px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.where-image { min-height: 730px; margin: 0; background: url('../images/granite-study.png') 48% center / cover no-repeat; }

.why-grid { align-items: start; }
.why-copy { padding-left: 36px; border-left: 1px solid var(--rule); }

.perspective-banner { position: relative; min-height: 170px; overflow: hidden; color: var(--white); background: url('../images/granite-study.png') 50% 47% / cover no-repeat; }
.perspective-shade { position: absolute; inset: 0; background: rgba(36,43,44,.47); }
.perspective-inner { position: relative; min-height: 170px; display: flex; align-items: center; justify-content: center; text-align: center; }
.perspective-inner p { margin: 0; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.25; font-weight: 400; }

.about-grid { align-items: start; }
.about-copy { padding-left: 36px; border-left: 1px solid var(--rule); }

.contact-cta { position: relative; min-height: 600px; color: var(--white); overflow: hidden; }
.contact-media { background-image: url('../images/better-plans-rock-lake.jpg'); background-position: 56% 58%; background-size: cover; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,36,37,.82) 0%, rgba(30,36,37,.62) 38%, rgba(30,36,37,.12) 75%); }
.contact-inner { position: relative; min-height: 600px; display: flex; align-items: center; }
.contact-copy { max-width: 760px; padding-block: 92px; }
.contact-copy h2 { margin: 0 0 26px; font-size: clamp(44px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
.contact-copy p { max-width: 680px; margin-bottom: 32px; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); }

.site-footer { min-height: 220px; display: flex; align-items: center; background: var(--graphite); color: var(--chalk); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 48px; }
.footer-brand img { width: 165px; display: block; }
.footer-nav { display: flex; justify-content: flex-end; gap: 36px; margin-left: auto; font-size: 13px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--glacier); }

@media (max-width: 980px) {
  .shell { width: min(100% - 48px, var(--shell)); }
  .site-header { min-height: 96px; }
  .brand img { width: 150px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 24px 28px; background: var(--chalk); border-top: 1px solid var(--rule); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 0; }
  .nav-divider { display: none; }
  .hero, .hero-inner { min-height: 640px; }
  .hero-copy { width: min(620px, 78vw); }
  .section { padding-block: 90px; }
  .split-heading, .about-grid, .where-grid { grid-template-columns: 1fr; gap: 52px; }
  .proof-grid { gap: 0; }
  .proof { padding-right: 26px; }
  .proof + .proof { padding-left: 26px; }
  .where-image { min-height: 420px; }
  .why-copy, .about-copy { padding-left: 0; border-left: 0; }
  .contact-cta, .contact-inner { min-height: 540px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 90px; }
  .brand img { width: 142px; }
  .hero, .hero-inner { min-height: 680px; }
  .hero-media { background-position: 64% center; }
  .hero-shade { background: rgba(36,43,44,.72); }
  .hero-copy { width: 100%; padding-block: 70px; }
  h1 { font-size: clamp(54px, 15vw, 72px); }
  .section { padding-block: 72px; }
  .section h2 { font-size: clamp(38px, 11vw, 54px); }
  .split-heading, .about-grid { gap: 34px; }
  .approach-heading { padding-bottom: 42px; }
  .proof-grid { grid-template-columns: 1fr; margin-top: 20px; }
  .proof { min-height: auto; padding: 28px 0; }
  .proof + .proof { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .where-grid { gap: 42px; }
  .where-intro { margin-bottom: 36px; }
  .challenge-list { gap: 27px; }
  .challenge-list li { grid-template-columns: 34px 1fr; gap: 12px; }
  .where-image { min-height: 470px; }
  .perspective-banner, .perspective-inner { min-height: 150px; }
  .perspective-inner { padding-block: 32px; }
  .contact-cta, .contact-inner { min-height: 620px; }
  .contact-media { background-position: 64% center; }
  .contact-shade { background: rgba(36,43,44,.68); }
  .site-footer { min-height: 260px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 34px; padding-block: 46px; }
  .footer-nav { margin-left: 0; flex-wrap: wrap; justify-content: flex-start; gap: 18px 28px; }
}
.legal-page { min-height: 65vh; background: var(--chalk); }
.legal-shell { max-width: 860px; }
.legal-shell h1 { color: var(--graphite); font-size: clamp(48px, 6vw, 78px); margin-bottom: 28px; }
.legal-shell p:not(.eyebrow) { max-width: 720px; font-size: 18px; color: var(--text-muted); }
.portal-hero { position: relative; min-height: 720px; color: var(--white); background: url('../images/sienna-horizon.png') 68% center / cover no-repeat; }
.portal-shade { position: absolute; inset: 0; background: rgba(36,43,44,.74); }
.portal-inner { position: relative; min-height: 720px; display: flex; align-items: center; justify-content: center; }
.portal-card { width: min(660px, 100%); padding: 52px; background: rgba(51,58,59,.92); }
.portal-card > img { width: 190px; margin-bottom: 42px; }
.portal-card h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 24px; }
.portal-card p:last-child { font-size: 18px; color: rgba(255,255,255,.78); }

/* September 2026 launch refinements */
html { scroll-padding-top: 116px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(51,58,59,.06);
}

/* Let long headlines wrap naturally at responsive widths. */
.hero-copy h1 { max-width: 690px; text-wrap: balance; }
.approach-heading h2 { max-width: 650px; text-wrap: balance; }
.why-grid h2 { max-width: 700px; text-wrap: balance; }
.about-grid h2 { max-width: 660px; text-wrap: balance; }

/* Give the granite image a little more visual context and a less aggressive crop. */
.where-grid { grid-template-columns: minmax(0, 1.32fr) minmax(380px, .82fr); gap: 94px; }
.where-image {
  min-height: 650px;
  background-position: 50% 50%;
  background-size: auto 100%;
  background-color: #d8d3c8;
}

/* Contact page */
.contact-page-hero { position: relative; min-height: 520px; overflow: hidden; color: var(--white); }
.contact-page-media { position: absolute; inset: 0; background: url('../images/sienna-horizon.png') 62% 54% / cover no-repeat; }
.contact-page-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,36,37,.84) 0%, rgba(30,36,37,.58) 42%, rgba(30,36,37,.12) 80%); }
.contact-page-inner { position: relative; min-height: 520px; display: flex; align-items: center; }
.contact-page-copy { width: min(720px, 70vw); padding-block: 76px; }
.contact-page-copy h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(52px, 5.4vw, 78px); }
.contact-page-copy > p:last-child { max-width: 650px; margin: 0; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.92); }
.contact-form-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 110px; align-items: start; }
.contact-form-intro h2 { margin: 0 0 24px; max-width: 560px; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
.contact-form-intro > p:last-child { max-width: 500px; margin: 0; color: var(--text-muted); font-size: 18px; }
.contact-form { display: grid; gap: 24px; }
.form-row.two-up { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-field { display: grid; gap: 9px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid rgba(51,58,59,.42);
  border-radius: 0;
  background: var(--white);
  color: var(--graphite);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}
.form-field input { min-height: 52px; }
.form-field textarea { resize: vertical; min-height: 180px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--mineral); box-shadow: 0 0 0 2px rgba(66,104,121,.12); }
.button-dark { border: 0; background: var(--graphite); color: var(--white); cursor: pointer; justify-self: start; }
.form-privacy { max-width: 640px; margin: -4px 0 0; color: var(--text-muted); font-size: 12px; }
.form-notice { margin: 0 0 28px; padding: 18px 20px; border-left: 3px solid var(--mineral); background: var(--white); }
.form-notice h3 { margin-bottom: 7px; }
.form-notice p { margin: 0; }
.form-error { border-left-color: #A8433D; background: #F8EAE6; }
.form-success { border-left-color: #3F7059; background: #E8F0E9; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Privacy page */
.privacy-copy { max-width: 900px; }
.privacy-copy .legal-date { margin: -10px 0 42px !important; font-size: 14px !important; color: var(--text-muted); }
.privacy-copy h2 { margin: 52px 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.privacy-copy p:not(.eyebrow) { max-width: 820px; }
.privacy-copy a { color: var(--mineral); }

/* Fully Strategic Matter-branded client login */
.portal-login-body { min-height: 100vh; background: var(--canvas); }
.portal-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); }
.portal-brand-panel { position: relative; min-height: 100vh; overflow: hidden; color: var(--white); background: url('../images/sienna-horizon.png') 61% center / cover no-repeat; }
.portal-brand-shade { position: absolute; inset: 0; background: rgba(38,45,46,.78); }
.portal-brand-content { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(44px,6vw,84px); }
.portal-logo-link img { width: clamp(180px,18vw,255px); display: block; }
.portal-brand-line { max-width: 560px; margin: auto 0 10vh; font-size: clamp(38px,4.3vw,64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
.portal-form-panel { min-height: 100vh; display: flex; align-items: center; background: var(--canvas); padding: 60px clamp(46px,7vw,110px); }
.portal-form-wrap { width: min(560px,100%); margin-inline: auto; }
.portal-mobile-logo { display: none; }
.portal-product-label { margin: -10px 0 58px; color: var(--mineral); font-size: 15px; }
.portal-form-wrap h1 { margin: 0 0 16px; color: var(--graphite); font-size: clamp(46px,5vw,68px); line-height: 1; }
.portal-login-intro { margin-bottom: 40px; color: var(--text-muted); font-size: 18px; }
.portal-login-form { display: grid; gap: 20px; }
.portal-submit { width: 100%; justify-content: center; min-height: 56px; margin-top: 4px; }
.portal-access { margin-top: 34px; color: var(--text-muted); font-size: 14px; }
.portal-access a { color: var(--mineral); font-weight: 500; }

/* Protected workspace shell */
.workspace-body { min-height: 100vh; background: var(--canvas); }
.workspace-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 22px 5vw; border-bottom: 1px solid var(--rule); background: var(--chalk); }
.workspace-header img { width: 160px; display: block; }
.workspace-user { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.workspace-user a { color: var(--mineral); }
.workspace-main { width: min(1180px,calc(100% - 80px)); margin: 0 auto; padding: 90px 0 120px; }
.workspace-main h1 { max-width: 760px; color: var(--graphite); font-size: clamp(52px,6vw,82px); }
.workspace-main > p:not(.eyebrow) { max-width: 720px; color: var(--text-muted); font-size: 19px; }
.workspace-placeholder-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 70px; background: var(--rule); border: 1px solid var(--rule); }
.workspace-placeholder-grid section { min-height: 260px; padding: 34px; background: var(--white); }
.workspace-placeholder-grid span { color: var(--moss); font-size: 13px; }
.workspace-placeholder-grid h2 { margin: 26px 0 14px; font-size: 26px; font-weight: 500; }
.workspace-placeholder-grid p { color: var(--text-muted); }

@media (max-width: 980px) {
  html { scroll-padding-top: 96px; }
  .where-grid { grid-template-columns: 1fr; }
  .where-image { min-height: 520px; background-size: cover; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 56px; }
  .portal-login { grid-template-columns: 1fr; }
  .portal-brand-panel { display: none; }
  .portal-form-panel { min-height: 100vh; padding: 48px 28px 70px; }
  .portal-mobile-logo { display: inline-block; margin-bottom: 70px; }
  .portal-mobile-logo img { width: 180px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  .form-row.two-up { grid-template-columns: 1fr; }
  .contact-page-copy { width: 100%; }
  .contact-page-hero, .contact-page-inner { min-height: 560px; }
  .contact-page-shade { background: rgba(36,43,44,.7); }
  .where-image { min-height: 420px; }
  .workspace-main { width: calc(100% - 40px); padding-top: 64px; }
  .workspace-placeholder-grid { grid-template-columns: 1fr; }
  .workspace-header { align-items: flex-start; flex-direction: column; gap: 18px; }
}

/* Founder profile links */
.inline-profile-link {
  color: var(--mineral);
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.inline-profile-link:hover, .inline-profile-link:focus-visible {
  color: var(--graphite);
}
.about-link-row { margin-top: 26px !important; }
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mineral);
  font-weight: 600;
  text-decoration: none;
}
.editorial-link:hover, .editorial-link:focus-visible {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: .18em;
}
