/* Integrator's Compass site styles.
   Layout concept: calm cream pages with wide margins, serif headlines, a charcoal band for the three step path,
   and a heading-left, text-right rhythm for every explanatory section. One look by design, matching the brand. */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* color */
  --cream: #FDF8F2;
  --sand: #F1E8DF;
  --paper: #FFFDFA;
  --line: #DDD5CA;
  --ink: #323232;
  --ink-soft: #4F4A46;
  --charcoal: #323232;
  --charcoal-deep: #2A2A2A;
  --on-dark: #FDF8F2;
  --on-dark-soft: #D6CFC5;
  --on-dark-line: #5E5955;
  --green: #519273;
  --green-text: #3D7558;
  --green-light: #8CC2A8;
  --taupe: #B9A394;
  /* type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --text-sm: 0.9375rem;
  --text: 1.0625rem;
  --text-lg: 1.1875rem;
  --h3: 1.3125rem;
  --h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
  --h1: clamp(2.375rem, 1.45rem + 3.4vw, 4.25rem);
  /* space */
  --band: clamp(64px, 8vw, 104px);
  --side: clamp(20px, 4vw, 32px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--h1); line-height: 1.08; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0; }
p + p { margin-top: 1.1em; }

a { color: var(--ink); text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-text); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -60px;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 20;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* layout */
.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * 32px);
  margin-inline: auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: calc(760px + 2 * 32px); }

.band { padding-block: var(--band); }
.band--sand { background: var(--sand); }
.band--rule { border-top: 1px solid var(--line); }
.band--dark { background: var(--charcoal); color: var(--on-dark); }
.band--dark a { color: var(--on-dark); }
.band--dark a:hover { color: var(--green-light); }
.band--dark .lede, .band--dark p { color: var(--on-dark-soft); }
.band--tight { padding-block: clamp(48px, 6vw, 72px); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.actions--center { justify-content: center; }

.lede { font-size: var(--text-lg); line-height: 1.72; color: var(--ink-soft); max-width: 36em; }
.lede--ink { color: var(--ink); }
.section-intro { margin-top: 18px; }
.stack > * + * { margin-top: 1.1em; }
.prose { max-width: 38em; font-size: var(--text-lg); line-height: 1.75; }
.prose p + p { margin-top: 1.2em; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--charcoal);
}
.btn:hover { background: var(--charcoal-deep); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.band--dark .btn--light { color: var(--ink); }
.btn--light:hover, .band--dark .btn--light:hover { background: #FFFFFF; color: var(--ink); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.text-link { font-weight: 600; }

/* header */
.site-header { position: relative; z-index: 5; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { height: 54px; width: auto; }
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 var(--text-sm) / 1 var(--sans);
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-size: var(--text-sm);
  font-weight: 500;
}
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn)[aria-current="page"] { text-decoration: underline; }
.site-nav .btn { color: var(--on-dark); }

@media (max-width: 899px) {
  .brand img { height: 44px; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px max(var(--side), env(safe-area-inset-right, 0px)) 24px max(var(--side), env(safe-area-inset-left, 0px));
  }
  .js .site-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.0625rem; }
  .js .site-nav.is-open li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .js .site-nav.is-open li:last-child { margin-top: 18px; }
  .js .site-nav.is-open .btn { width: 100%; }
}

/* home hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  padding-block: clamp(24px, 5vw, 56px) clamp(64px, 8vw, 96px);
}
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__text .lede { margin-top: 28px; color: var(--ink-soft); }
.hero__figure { flex: 1 1 320px; max-width: 460px; margin: 0; min-width: 0; }
@media (max-width: 599px) {
  .hero__figure, .page-hero--split figure { max-width: 300px; }
  .center { text-align: left; }
  .actions--center { justify-content: flex-start; }
  .mark { margin-inline: 0; }
}
.arch {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
  background: var(--sand);
}

/* inner page hero */
.page-hero { padding-block: clamp(20px, 4vw, 40px) clamp(48px, 7vw, 80px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero--split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.page-hero--split > div { flex: 1 1 460px; min-width: 0; }
.page-hero--split figure { flex: 1 1 300px; max-width: 400px; margin: 0; min-width: 0; }

.crumbs { font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--taupe); }
.crumbs a { color: var(--ink-soft); }

/* heading left, text right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px 72px;
  align-items: start;
}
.split + .split { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.split h2 { font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2.375rem); }
.split .prose { font-size: var(--text-lg); }
@media (max-width: 799px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* timeline and investment */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 48px;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.facts > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--text-sm); color: var(--ink-soft); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.625rem; line-height: 1.25; }
.facts dd small { display: block; font-family: var(--sans); font-size: var(--text-sm); color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }

/* three steps */
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px 28px;
}
.steps li { border-top: 1px solid var(--on-dark-line); padding-top: 28px; display: flex; flex-direction: column; }
.steps .num { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--green-light); }
.steps h3 { margin-top: 20px; font-family: var(--sans); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; }
.steps h3 a { text-decoration: none; }
.steps p { margin-top: 12px; }
.steps .price { margin-top: 16px; color: var(--on-dark); font-weight: 600; }
.steps .more { margin-top: auto; padding-top: 12px; }

/* cards for industries */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--taupe); color: var(--ink); }
.card__title { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
.card__text { display: block; margin-top: 12px; color: var(--ink-soft); }
.card__more { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 0.28em; }

/* support levels */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.tier h3 { font-size: 1.875rem; }
.tier__time { margin-top: 6px; color: var(--ink-soft); font-size: var(--text-sm); }
.tier__body { margin-top: 18px; }
.tier__price { margin-top: auto; padding-top: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* add-ons */
.addons { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.addons li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto;
  gap: 8px 40px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.addons h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.addons .price { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 799px) {
  .addons li { grid-template-columns: minmax(0, 1fr); }
  .addons .price { text-align: left; }
}

/* ladder list on services page */
.ladder { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; }
.ladder li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.ladder li:last-child { border-bottom: 1px solid var(--line); }
.ladder .num { font-family: var(--serif); font-size: 2.25rem; line-height: 1; color: var(--green-text); }
.ladder h3 { font-size: 1.625rem; }
.ladder h3 a { text-decoration: none; }
.ladder h3 a:hover { text-decoration: underline; }
.ladder p { margin-top: 8px; color: var(--ink-soft); max-width: 40em; }
.ladder .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) {
  .ladder li { grid-template-columns: 44px minmax(0, 1fr); }
  .ladder .price { grid-column: 2; }
}

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 22px;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-text);
  flex: 0 0 auto;
}
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: transform 0.2s ease; }
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 24px; max-width: 42em; color: var(--ink-soft); }

/* about meet section */
.meet { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.meet picture { flex: 0 0 auto; width: min(280px, 100%); }
.meet img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

/* month by month plan */
.months { margin: 24px 0 0; display: grid; gap: 18px; }
.months > div { border-top: 1px solid var(--line); padding-top: 16px; }
.months dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.months dd { margin: 6px 0 0; }
.meet > div { flex: 1 1 400px; min-width: 0; }
.meet .lede { margin-top: 20px; color: var(--ink); }

.mark { width: 48px; height: 48px; margin-inline: auto; margin-bottom: 20px; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 32px; margin-top: 40px; }
.post-link { display: block; text-decoration: none; border-top: 1px solid var(--ink); padding-top: 20px; color: var(--ink); }
.post-link:hover .post-link__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.post-link__date { font-size: var(--text-sm); color: var(--ink-soft); }
.post-link__title { display: block; margin-top: 8px; font-family: var(--serif); font-size: 1.4375rem; line-height: 1.3; }
.post-link__summary { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.draft-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--taupe); color: var(--ink); font-size: 0.8125rem; font-weight: 600; }

/* single post */
.post { padding-block: clamp(20px, 4vw, 40px) clamp(56px, 7vw, 88px); }
.post-header { max-width: 46rem; }
.post-header h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem); }
.post-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--text-sm); color: var(--ink-soft); }
.post-meta a { color: var(--ink-soft); }
.draft-flag { display: inline-block; margin-bottom: 20px; padding: 8px 14px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--taupe); font-size: var(--text-sm); font-weight: 600; }
.article {
  max-width: 42rem;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  font-size: var(--text-lg);
  line-height: 1.78;
}
.article > * + * { margin-top: 1.15em; }
.article h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.article h3 { margin-top: 1.6em; font-family: var(--sans); font-weight: 600; font-size: 1.1875rem; line-height: 1.4; }
.article h2 + *, .article h3 + * { margin-top: 0.6em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: 0.45em; }
.article li::marker { color: var(--green-text); }
.article strong { font-weight: 600; }
.article blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--taupe); font-family: var(--serif); font-size: 1.3125rem; line-height: 1.55; }
.article .note { padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; color: var(--ink-soft); }
.article .sources { font-size: 0.9375rem; color: var(--ink-soft); }
.article .sources li + li { margin-top: 0.3em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.article th, .article td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.article th { font-weight: 600; border-bottom-color: var(--ink); }
.article caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: var(--text-sm); color: var(--ink-soft); }
.post-related {
  max-width: 42rem;
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px);
  background: var(--sand);
  border-radius: var(--radius);
}
.post-related__label { font-size: var(--text-sm); color: var(--ink-soft); }
.post-related__text { margin: 8px 0 20px; font-family: var(--serif); font-size: 1.375rem; line-height: 1.4; }
.author-box { max-width: 42rem; margin-top: 40px; display: flex; gap: 20px; align-items: center; font-size: 1rem; color: var(--ink-soft); }
.author-box picture { flex: 0 0 auto; width: 72px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box__name { font-weight: 600; color: var(--ink); }
.author-box__name + p { margin-top: 4px; }
.empty-note {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 44em;
}

/* booking */
.booking { margin-top: 40px; }
.calendly-inline-widget { min-width: 300px; height: 720px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.booking__fallback { margin-top: 16px; color: var(--ink-soft); }
.contact-line { margin-top: 28px; color: var(--ink-soft); }
.contact-line a { overflow-wrap: anywhere; }

/* footer */
.site-footer { background: var(--charcoal-deep); color: var(--on-dark-soft); font-size: var(--text-sm); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--green-light); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  padding-block: 56px 32px;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-col h2 { font-family: var(--sans); font-size: var(--text-sm); font-weight: 600; color: var(--on-dark); letter-spacing: 0.01em; }
.footer-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid var(--on-dark-line);
  padding-block: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
@media (max-width: 799px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 404 */
.not-found { min-height: 50vh; }
