/* Same Side Advisors
   Brand: Forest / Olive / Sage / Ivory / Stone / Ink, Manrope + Lora.
   Restrained architectural linework, no gradients, no heavy shadows. */
:root {
  --forest: #213A2E;
  --forest-2: #2B4A3B;
  --olive: #788363;      /* lines, bars, accents (non-text) */
  --olive-ink: #5E6A4C;  /* olive at text-safe contrast on ivory */
  --sage: #AAB69E;
  --ivory: #F8F6F1;
  --stone: #E8E3D8;
  --ink: #25332C;
  --ink-2: #5B675F;
  --white: #FFFFFF;

  --paper: var(--ivory);
  --sheet: var(--white);
  --rule: var(--stone);
  --accent: var(--forest);
  --accent-ink: var(--olive-ink);

  --f-display: "Manrope", Arial, sans-serif;
  --f-body: "Manrope", Arial, sans-serif;
  --f-serif: "Lora", Georgia, serif;

  --s-1: clamp(2.25rem, 5.2vw, 4rem);
  --s-2: clamp(1.85rem, 3.4vw, 2.6rem);
  --s-body: 1.125rem;
  --s-small: 0.9rem;
  --s-label: 0.75rem;

  --max: 1160px;
  --radius: 12px;
  --radius-sm: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-color: var(--olive); }
a:hover { color: var(--olive-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive); outline-offset: 3px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--white); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--f-display); color: var(--forest); margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--s-1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--s-2); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; max-width: 65ch; }

.wrap {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

.label {
  font-size: var(--s-label); font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2);
}
.label b { color: var(--olive-ink); font-weight: 700; }
.lead { font-size: 1.25rem; color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-2); }
.small { font-size: var(--s-small); }

/* Brand mark: roofline linework + wordmark */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand .mark { width: 54px; height: auto; flex: none; color: var(--olive); }
.brand .word { display: grid; line-height: 1; }
.brand .word strong { font-weight: 700; font-size: 1.12rem; letter-spacing: 0.14em; }
.brand .word span { font-weight: 500; font-size: 0.66rem; letter-spacing: 0.42em; color: var(--olive-ink); margin-top: 5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 9;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a:hover { color: var(--olive-ink); }
.nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--olive); padding-bottom: 4px; }
.nav a.btn { text-transform: none; letter-spacing: 0.01em; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--stone); color: var(--forest); border-radius: var(--radius-sm); padding: 8px 12px; font: 700 0.8rem var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--rule); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 12px; text-align: center; }
}
@media (max-width: 400px) { .brand .mark { width: 42px; } .brand .word strong { font-size: 1rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 0.98rem var(--f-body); letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--forest); background: var(--forest); color: var(--ivory) !important;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); }
.btn.ghost { background: transparent; color: var(--forest) !important; border-color: var(--olive); }
.btn.ghost:hover { background: var(--stone); }
.btn.sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section + section { border-top: 1px solid var(--rule); }
section.alt { background: var(--stone); border-top: none; }
section.alt + section { border-top: none; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
/* Section label with the deck's vertical olive bar */
.sheet-tag { display: inline-flex; gap: 12px; align-items: center; }
.sheet-tag::before { content: ""; width: 4px; height: 1.6em; background: var(--olive); border-radius: 1px; }

/* Hero: forest field with roofline linework */
.hero {
  --ink: var(--ivory); --ink-2: #C9D2BF; --rule: rgba(248,246,241,.16);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: var(--ivory);
  padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 88px);
}
.hero h1 { color: var(--ivory); max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero h1 em { font-style: normal; color: var(--sage); display: block; }
.hero .label, .hero .label b { color: var(--sage); }
.hero .lead { color: #DCE2D5; max-width: 58ch; }
.hero .btn { background: var(--ivory); border-color: var(--ivory); color: var(--forest) !important; }
.hero .btn:hover { background: var(--white); border-color: var(--white); }
.hero .btn.ghost { background: transparent; color: var(--ivory) !important; border-color: var(--sage); }
.hero .btn.ghost:hover { background: rgba(248,246,241,.08); }
.hero-roof { position: absolute; right: -4%; top: 40px; width: min(56vw, 720px); height: auto; color: var(--sage); opacity: .16; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; gap: 26px; }
.hero-grid > * { min-width: 0; }

/* Phase line: concept to contract */
.phase { margin-top: clamp(40px, 6vw, 68px); }
.phase-scroll { overflow-x: auto; padding-bottom: 8px; }
.phase-inner { min-width: 760px; }
.phase-steps { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid rgba(248,246,241,.5); }
.phase-steps div { position: relative; padding: 14px 8px 0 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9FAE97; }
.phase-steps div::before { content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 11px; background: rgba(248,246,241,.6); }
.phase-steps div.on { color: var(--ivory); }
.phase-bands { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 22px; gap: 10px 0; }
.band { position: relative; height: 44px; display: flex; align-items: center; padding: 0 14px; font-size: 0.88rem; font-weight: 700; border-radius: 4px; }
.band.ours { grid-column: 1 / span 6; background: var(--sage); color: var(--forest); border-radius: 4px 0 0 4px; }
.band.ours::after { content: ""; position: absolute; right: -10px; top: 0; border-left: 10px solid var(--sage); border-top: 22px solid transparent; border-bottom: 22px solid transparent; }
.band.theirs { grid-column: 6 / span 3; border: 1px dashed rgba(248,246,241,.4); color: #C9D2BF; font-weight: 500; }
.phase-note { margin-top: 18px; font-size: var(--s-small); color: #C9D2BF; max-width: 70ch; }

/* Cards: white, stone border, olive bar on the left (from the pitch deck) */
.grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 > *, .grid-2 > *, .grid-4 > * { min-width: 0; }
.panel {
  position: relative; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 26px 26px 26px 30px; display: grid; gap: 10px; align-content: start; overflow: hidden;
}
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--olive); }
.panel p { color: var(--ink-2); }
section.alt .panel { border-color: #DAD3C4; }
.ticked { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticked li { position: relative; padding-left: 26px; }
.ticked li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }

.note-key { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--olive-ink); }

/* Steps (How it works) */
.steps { counter-reset: step; }
.step .num-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--olive-ink); }

/* Tiers */
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tier { position: relative; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 30px 26px 26px; display: grid; gap: 12px; align-content: start; min-width: 0; overflow: hidden; }
.tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--olive); }
.tier .price { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; color: var(--forest); font-variant-numeric: tabular-nums; }
.tier .meta { font-size: 0.85rem; color: var(--ink-2); }
.tier.feature { border-color: var(--forest); }
.tier.feature::before { background: var(--forest); }
.tier ul { margin: 4px 0 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--olive); }
.stat { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.stat strong { font-family: var(--f-display); font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 700; color: var(--forest); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: var(--s-small); }

/* Quote: Lora, used only here */
.quote { display: grid; gap: 20px; max-width: 860px; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--forest); font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.45; text-wrap: pretty; }
.quote cite { font-style: normal; font-size: var(--s-small); color: var(--ink-2); }
.quote cite b { color: var(--ink); }

/* CTA band */
.cta-band { --ink-2: #C9D2BF; background: var(--forest); color: var(--ivory); border-top: none !important; position: relative; overflow: hidden; isolation: isolate; }
.cta-band .wrap { display: grid; gap: 22px; }
.cta-band h2 { color: var(--ivory); max-width: 22ch; }
.cta-band p { color: #DCE2D5; }
.cta-band .label { color: var(--sage); }
.cta-band .btn { background: var(--ivory); border-color: var(--ivory); color: var(--forest) !important; }
.cta-band .btn:hover { background: var(--white); }
.cta-band .btn.ghost { background: transparent; color: var(--ivory) !important; border-color: var(--sage); }
.cta-band .roof { position: absolute; right: 4%; bottom: -10px; width: min(40vw, 460px); color: var(--sage); opacity: .14; z-index: -1; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--stone); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 620px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--stone); vertical-align: top; }
th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-ink); font-weight: 700; background: var(--ivory); }
tbody tr:nth-child(even) td { background: #FBFAF6; }
tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.yes { color: var(--forest); font-weight: 700; }

/* Services detail */
.tier-detail { display: grid; gap: 32px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); padding-block: 48px; border-top: 1px solid var(--rule); }
.tier-detail:first-of-type { border-top: none; padding-top: 0; }
@media (max-width: 820px) { .tier-detail { grid-template-columns: 1fr; gap: 20px; } }
.tier-detail aside { display: grid; gap: 10px; align-content: start; padding-left: 18px; border-left: 4px solid var(--olive); }
.tier-detail aside .price { color: var(--forest); }
.tier-detail .body { display: grid; gap: 18px; min-width: 0; }
.tier-detail ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.tier-detail ol li::marker { color: var(--olive-ink); font-weight: 700; font-size: 0.9em; }

/* About */
.bio { display: grid; gap: 44px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
@media (max-width: 820px) { .bio { grid-template-columns: 1fr; } }
.headshot { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); border: 1px solid var(--stone); background: var(--stone); }
.path { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--olive); display: grid; gap: 22px; }
.path li { position: relative; padding-left: 24px; }
.path li::before { content: ""; position: absolute; left: -6px; top: 0.45em; width: 11px; height: 11px; background: var(--ivory); border: 2px solid var(--olive); border-radius: 50%; }
.path li:last-child::before { background: var(--forest); border-color: var(--forest); }
.path b { display: block; color: var(--forest); }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { display: grid; gap: 18px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines a { color: var(--forest); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--forest); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1px solid #CFC7B6; border-radius: var(--radius-sm); padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { border-color: var(--olive); }
textarea { min-height: 140px; resize: vertical; }
.consent { font-size: 0.85rem; color: var(--ink-2); }
.form-status { font-size: var(--s-small); min-height: 1.4em; }
.form-status.ok { color: var(--forest); font-weight: 700; }
.form-status.err { color: #9B3B2A; }
.hp { position: absolute; left: -9999px; }

/* Footer: forest, reverse logo */
.site-footer { background: var(--forest); color: var(--ivory); padding-block: 56px 32px; border-top: 1px solid rgba(170,182,158,.35); --ink-2: #C9D2BF; }
.site-footer .brand { color: var(--ivory); }
.site-footer .brand .mark { color: var(--sage); }
.site-footer .brand .word span { color: var(--sage); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 36px; border-bottom: 1px solid rgba(248,246,241,.16); }
.foot-grid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot-grid .label { color: var(--sage); }
.foot-grid a { color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--sage); }
.foot-tag { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage); margin-top: 6px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.legal { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: #C9D2BF; }

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head + section { border-top: 1px solid var(--rule); }
