/* Trellis Health Partners — site styles v2 (Brand, Voice & Seller Guide v2, Option D draft) */
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --evergreen: #1F4532;   /* mark, wordmark, headlines */
  --navy: #1F3440;        /* body text, dark bands */
  --sage: #8FA382;        /* leaf, icons, fills — not for text */
  --mist: #8A9BA5;        /* lines, UI — not for text */
  --brass: #A8834A;       /* rules, small accents */
  --linen: #F4F0E8;       /* backgrounds, panels */
  --white: #FFFFFF;
  --ink: #1F3440;
  --ink-muted: #4A5A64;
  --line: #DDD6C9;
  --on-dark: #DCE3E6;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, Calibri, Arial, system-ui, sans-serif;
  --italic: "Cormorant Garamond", Georgia, serif;

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px;
  --radius-sm: 4px; --radius-md: 8px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--evergreen); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-3); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--evergreen); margin: 0; }
h1 { font-size: 52px; line-height: 60px; letter-spacing: -0.01em; }
h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.005em; }
h3 { font-size: 21px; line-height: 29px; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--evergreen); margin-bottom: var(--space-2); }
.tagline { font-family: var(--italic); font-style: italic; font-weight: 500; }

.skip, .sr-only { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-2); top: var(--space-2); background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; border-radius: var(--radius-sm); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-3); }
.logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--evergreen); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 22px; padding: 13px 22px; border-radius: var(--radius-md); border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--evergreen); color: #fff; }
.btn-primary:hover { background: #163526; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: var(--linen); color: var(--navy); }
.btn-light:hover { background: #fff; }
.nav .btn { padding: 9px 16px; font-size: 15px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Hero */
.hero { background: var(--linen); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 104px; padding-bottom: 112px; position: relative; z-index: 1; }
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { margin-bottom: var(--space-4); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Flow: structure + support + education -> growth */
.frame { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5); align-items: center; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: baseline; padding: 14px 18px; background: var(--linen); border-radius: var(--radius-md); }
.flow strong { font-family: var(--serif); font-weight: 600; color: var(--evergreen); font-size: 18px; }
.flow span { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.flow li:not(.flow-out)::before { content: none; }
.flow .flow-out { background: var(--evergreen); }
.flow .flow-out strong { color: #fff; }
.flow .flow-out span { color: #DCE6DA; }

/* Three pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: var(--space-3); }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); display: flex; flex-direction: column; }
.pillar .num { font-family: var(--serif); font-weight: 600; color: var(--brass); font-size: 15px; letter-spacing: .04em; margin-bottom: var(--space-1); }
.pillar h3 { margin-bottom: var(--space-1); }
.pillar .fit { color: var(--ink-muted); font-size: 15px; line-height: 24px; margin-bottom: var(--space-2); }
.pillar .take { margin-top: auto; padding-top: var(--space-2); border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.pillar .take strong { display: block; font-size: 11px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--evergreen); font-weight: 600; margin-bottom: 4px; }
.pillar-feature { background: var(--evergreen); border-color: var(--evergreen); }
.pillar-feature h3, .pillar-feature .take strong { color: #fff; }
.pillar-feature .num { color: #E2CFA9; }
.pillar-feature .fit, .pillar-feature .take { color: #DCE6DA; border-color: rgba(255,255,255,.2); }
.pillar-feature a { color: #fff; font-weight: 600; }

/* Mentorship tracks */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.track { border-top: 2px solid var(--brass); padding-top: var(--space-3); }
.track-for { font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #E2CFA9 !important; margin-bottom: var(--space-1); }
.track h3 { margin-bottom: var(--space-1); font-size: 24px; line-height: 30px; }
.tracks-note { margin-top: var(--space-4); font-size: 14px; line-height: 22px; }

/* Ways to partner */
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); gap: var(--space-3); }
.ways li { padding: 4px 0 0 20px; border-left: 2px solid var(--sage); }
.ways h3 { margin-bottom: var(--space-1); font-size: 19px; line-height: 26px; }
.ways p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.ways li { display: flex; flex-direction: column; align-items: flex-start; }
.way-link { margin-top: var(--space-2); display: inline-block; padding: 10px 18px; border: 1.5px solid var(--evergreen); border-radius: var(--radius-sm); color: var(--evergreen); font-weight: 600; font-size: 15px; text-decoration: none; }
.way-link:hover { background: var(--evergreen); color: #fff; }
.way-link:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 700px; margin-bottom: var(--space-5); }
.section-head h2 { margin-bottom: var(--space-2); }
.band-linen { background: var(--linen); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: #E2CFA9; }
.band-navy .lead, .band-navy p { color: var(--on-dark); }

/* Frame idea */
.frame > div { max-width: 640px; }
.frame h2 { margin-bottom: var(--space-2); }

/* Models */
.models { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
.model { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); display: flex; flex-direction: column; }
.model:nth-child(4) { grid-column: 2 / span 2; }
.model .num { font-family: var(--serif); font-weight: 600; color: var(--brass); font-size: 15px; letter-spacing: .04em; margin-bottom: var(--space-1); }
.model h3 { margin-bottom: var(--space-1); }
.model .fit { color: var(--ink-muted); font-size: 15px; line-height: 24px; margin-bottom: var(--space-2); }
.model .take { margin-top: auto; padding-top: var(--space-2); border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.model .take strong { display: block; font-size: 11px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--evergreen); font-weight: 600; margin-bottom: 4px; }
.models-note { margin-top: var(--space-4); display: flex; gap: var(--space-2); align-items: flex-start; max-width: 780px; }
.models-note svg { flex: none; width: 26px; height: 26px; stroke: var(--evergreen); margin-top: 2px; }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 23px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--linen); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.compare thead th.us { color: var(--evergreen); }
.compare td:first-child { font-weight: 600; width: 24%; }
.compare td.us { background: #F2F5EF; color: var(--navy); }
.compare-note { margin-top: var(--space-2); font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.value { border-top: 2px solid var(--brass); padding-top: var(--space-3); }
.value svg { width: 36px; height: 36px; margin-bottom: var(--space-2); stroke: var(--sage); }
.value h3 { font-family: var(--sans); font-size: 13px; line-height: 18px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--space-1); }
.value .short { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 28px; color: #fff; margin-bottom: var(--space-1); }

/* Who */
.hero .wrap.hero-solo { padding-top: 80px; padding-bottom: 88px; }
.hero-solo h1 { max-width: 24ch; }
.hero-solo .lead { max-width: 640px; }
.who { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
.who-card { grid-column: span 2; padding: 4px 0 0 20px; border-left: 2px solid var(--sage); }
.who-card:nth-child(4) { grid-column: 2 / span 2; }
.who { row-gap: var(--space-4); }
.who-card .eyebrow { margin-bottom: var(--space-1); }
.who-card .eyebrow::before { display: none; }
.who-card h3 { margin-bottom: var(--space-1); }
.who-card p { color: var(--ink-muted); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; background: var(--evergreen); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 2px; background: var(--line); }
.step h3 { font-size: 20px; line-height: 28px; margin-bottom: var(--space-1); }
.step h3 span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-muted); display: block; line-height: 18px; }
.step p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Uniques */
.uniques-sec { padding-top: 0; }
.uniques { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); counter-reset: u; }
.unique { background: var(--linen); border-radius: var(--radius-md); padding: 28px; }
.unique h3 { margin-bottom: var(--space-1); }
.unique p { color: var(--ink-muted); }

/* Family of brands */
.family { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.brand { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.brand:hover { border-color: var(--evergreen); box-shadow: 0 12px 28px -20px rgba(31,52,64,.5); }
.brand-logo { height: 128px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.brand-logo img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.brand.brand-only { justify-content: center; align-items: center; min-height: 240px; }
.brand.brand-only .brand-logo { margin: 0; height: 160px; }
.brand.brand-only .brand-logo img.square { max-height: 160px; }
.brand-logo img.square { max-height: 128px; border-radius: 6px; }
.brand-what { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.brand-what strong { color: var(--evergreen); font-family: var(--serif); font-size: 19px; line-height: 26px; font-weight: 600; }
.brand-link { font-weight: 600; font-size: 15px; color: var(--evergreen); margin-top: auto; }
.brand-link-muted { color: var(--ink-muted); font-weight: 500; }
.brand-backed { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 10px; }
.brand-next { background: transparent; border: 2px dashed #C9C0AF; align-items: flex-start; }
.brand-next:hover { border-style: solid; }
.next-mark { width: 84px; height: 96px; display: flex; align-items: center; color: var(--brass); margin-bottom: 6px; }
.next-mark svg { width: 84px; height: 84px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-5); align-items: center; }
.contact h2 { margin-bottom: var(--space-2); }
.contact .cta-row { margin-top: var(--space-4); }
.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-md); padding: 32px; }
.contact-card h3 { font-size: 20px; margin-bottom: var(--space-2); }
.contact-card ul { margin: 0; padding-left: 20px; color: var(--on-dark); }
.contact-card li + li { margin-top: 8px; }

/* Footer */
.site-footer { background: #182A34; color: #B9C5CB; padding: 56px 0 40px; font-size: 14px; line-height: 22px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-4); align-items: start; }
.site-footer img { width: 210px; }
.site-footer .tagline { color: #E2CFA9; font-size: 22px; line-height: 28px; margin-top: var(--space-2); }
.site-footer a { color: #E2CFA9; }
.site-footer p + p { margin-top: 8px; }
.site-footer .wrap.footer-values-wrap { display: block; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.footer-values li { border-top: 2px solid var(--brass); padding-top: 12px; }
.footer-values strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-values span { font-family: var(--serif); font-size: 17px; line-height: 24px; color: #DCE3E6; }
.legal { font-size: 13px; line-height: 20px; }

/* Responsive */
@media (max-width: 1000px) {
  .values, .footer-values { grid-template-columns: repeat(2, 1fr); }
  .models, .who { grid-template-columns: repeat(2, 1fr); }
  .model, .who-card, .model:nth-child(4), .who-card:nth-child(4) { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-left: 60px; }
  .step:not(:last-child)::after { top: 48px; bottom: -20px; left: 19px; right: auto; width: 2px; height: auto; }
    .family { grid-template-columns: repeat(2, 1fr); }
  .frame { grid-template-columns: 1fr; gap: var(--space-4); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar-feature { grid-column: 1 / -1; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  h1 { font-size: 38px; line-height: 46px; }
  h2 { font-size: 28px; line-height: 36px; }
  section { padding: 64px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .frame, .uniques, .contact .wrap, .site-footer .wrap, .models, .who, .pillars, .tracks, .ways { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 1fr; gap: 2px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 600px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 var(--space-2); }
  .logo img { width: 160px; }
  .nav .btn { display: none; }
  .values { grid-template-columns: 1fr; }
  .family { grid-template-columns: 1fr; }
  .who-card, .model, .unique { padding: var(--space-3); }
  .ways li { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact .wrap.contact-solo { grid-template-columns: 1fr; max-width: var(--max); }
.contact-solo > div { max-width: 720px; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.contact-note { margin-top: var(--space-3); font-size: 14px; line-height: 22px; }
.contact-note a { color: #E2CFA9; }

.hero-logo { display:block; width: 240px; height: auto; margin: 0 0 32px -8px; }
.site-footer img.footer-stacked { width: 190px; }
.logo img { width: 230px; }

.hero-logo.hero-logo-h { width: 380px; max-width: 100%; margin: 0 0 32px -4px; }
.site-footer img.footer-h { width: 240px; }
@media (max-width: 640px) { .hero-logo.hero-logo-h { width: 280px; } }
@media (max-width: 640px) { .logo img { width: 180px; } }
/* Hero logo: right of the copy on desktop, centered on top on mobile */
.hero .wrap.hero-solo { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.hero-solo .hero-copy { order: 1; flex: 1 1 auto; }
.hero-solo .hero-logo { order: 2; flex: 0 0 auto; width: 320px; margin: 0 24px 0 0; }
@media (max-width: 820px) {
  .hero .wrap.hero-solo { flex-direction: column; align-items: stretch; gap: 0; }
  .hero-solo .hero-logo { order: 0; width: 220px; margin: 0 auto 32px; }
}
