:root {
  --paper: #fffdf8;
  --canvas: #f5f3ee;
  --ink: #17211f;
  --muted: #5d6966;
  --line: #d8d3ca;
  --green: #245448;
  --green-soft: #e4eee8;
  --steel-soft: #e6edf0;
  --clay: #9a6048;
  --amber: #c9902f;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 4.2rem); font-weight: 880; }
h3 { font-size: 1.22rem; font-weight: 840; line-height: 1.22; }
p { color: var(--muted); font-size: 1rem; line-height: 1.72; }

.site-header { position: fixed; z-index: 20; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(18px, 4vw, 60px); border-bottom: 1px solid rgba(23, 33, 31, .08); background: rgba(245, 243, 238, .9); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--green); background: var(--green); color: var(--paper); }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; color: var(--muted); font-size: .92rem; font-weight: 760; }
.nav a { padding: 9px 11px; }
.nav a:hover { color: var(--ink); }
.nav a[href="#contact"] { background: var(--green); color: var(--paper); }
.nav a[href="#contact"]:hover { color: var(--paper); }

.direction-picker { position: fixed; z-index: 19; right: clamp(16px, 3vw, 44px); bottom: 18px; width: min(310px, calc(100% - 32px)); border: 1px solid var(--line); background: rgba(255, 253, 248, .96); box-shadow: 0 16px 38px rgba(23, 33, 31, .14); padding: 12px; }
.direction-picker p { margin: 0 0 8px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.direction-picker div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.direction-picker button { min-height: 37px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 800; line-height: 1.15; padding: 6px; }
.direction-picker button.active { border-color: var(--green); background: var(--green); color: var(--paper); }

.eyebrow, .foundation-eyebrow, .local-kicker { margin-bottom: 14px; color: var(--clay); font-size: .76rem; font-weight: 850; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .foundation-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); padding: 13px 16px; font-weight: 850; line-height: 1.1; }
.button.primary, .foundation-button { background: var(--green); color: var(--paper); }
.button.secondary, .foundation-button.secondary { border-color: var(--line); background: rgba(255, 253, 248, .86); color: var(--ink); }

/* Candidate 1: StoryBrand-inspired blend */
.blend { background: #f7f4ef; color: #1f2a2e; }
.blend h1, .blend h2, .blend h3 { color: #1f2a2e; }
.blend-kicker { margin-bottom: 14px; color: #a84d32; font-size: .76rem; font-weight: 850; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.blend-hero { min-height: 88vh; padding: 145px clamp(18px, 5vw, 72px) 76px; background: #e5ede7; border-bottom: 1px solid #c7d2ca; }
.blend-hero > *, .blend-plan > *, .blend-services > *, .blend-location > * { width: min(1120px, 100%); margin-right: auto; margin-left: auto; }
.blend-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: clamp(34px, 6vw, 86px); align-items: center; }
.blend-copy h1 { max-width: 760px; margin-bottom: 22px; color: #183f37; font-size: clamp(3rem, 6vw, 5.8rem); }
.blend-lede { max-width: 690px; color: #31544e; font-size: clamp(1.12rem, 2vw, 1.34rem); }
.blend-note { margin: 15px 0 0; color: #46635d; font-size: .92rem; font-weight: 720; }
.blend-problem-card { border: 1px solid #183f37; background: #fffdf8; box-shadow: 12px 12px 0 rgba(24,63,55,.1); padding: 28px; }
.blend-problem-card > span { display: block; padding-bottom: 16px; border-bottom: 1px solid #d8d3ca; color: #183f37; font-size: 1.25rem; font-weight: 850; }
.blend-problem-card ul { margin: 0; padding: 14px 0 0; list-style: none; }
.blend-problem-card li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid #ebe6dd; color: #405154; font-weight: 650; line-height: 1.42; }
.blend-problem-card li:last-child { border-bottom: 0; }
.blend-problem-card li::before { position: absolute; top: 10px; left: 0; color: #a84d32; content: "-"; font-weight: 900; }
.blend-empathy, .blend-outcomes { display: grid; max-width: 1120px; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr); gap: clamp(30px, 5vw, 78px); margin: 0 auto; padding: clamp(62px, 8vw, 100px) 18px; }
.blend-empathy h2, .blend-outcomes h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.blend-empathy p { font-size: 1.08rem; }
.blend-empathy p:last-child { color: #315b55; font-weight: 800; }
.blend-plan { padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 72px); border-block: 1px solid #c7d2ca; background: #e5ede7; }
.blend-heading { margin-bottom: 32px; }
.blend-heading h2 { max-width: 780px; font-size: clamp(2rem, 4vw, 3.8rem); }
.blend-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid #b9c8bf; background: #b9c8bf; }
.blend-steps article { background: #fffdf8; padding: 26px; }
.blend-steps span { display: block; margin-bottom: 24px; color: #a84d32; font-size: .78rem; font-weight: 900; }
.blend-steps p { margin-bottom: 0; }
.blend-services { padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 72px); }
.blend-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blend-service-grid article { border: 1px solid #ded8cc; background: #fffdf8; padding: 26px; }
.blend-service-grid article:nth-child(2) { background: #f0e7d9; }
.blend-label { margin-bottom: 12px; color: #a84d32; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.blend-service-grid p:last-child { margin-bottom: 0; }
.blend-outcomes { border-top: 1px solid #ded8cc; }
.blend-outcome-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.blend-outcome-list span { border: 1px solid rgba(24,63,55,.28); background: #fffdf8; color: #183f37; font-weight: 800; line-height: 1.3; padding: 15px; }
.blend-location { padding: 25px clamp(18px, 5vw, 72px); background: #183f37; }
.blend-location p { margin: 0; color: #fffdf8; font-size: 1.02rem; font-weight: 720; }

/* Candidate 2: evolved from the original Tech Foundation site */
.foundation { background: #f7f4ef; color: #1f2a2e; }
.foundation h1, .foundation h2, .foundation h3 { color: #1f2a2e; }
.foundation-hero, .foundation-risks, .foundation-services, .foundation-fit { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.foundation-hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: center; min-height: 88vh; padding: 132px 0 78px; }
.foundation-copy h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.8rem, 6.5vw, 5.7rem); }
.foundation-lede { max-width: 650px; color: #4a5659; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.foundation-note { margin: 16px 0 0; font-size: .9rem; }
.foundation-checklist { border: 1px solid #ded8cc; background: #fffdf8; box-shadow: 0 20px 50px rgba(31, 42, 46, .1); padding: 28px; transform: rotate(1deg); }
.checklist-header { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid #ded8cc; color: #315b55; }
.checklist-header span { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.checklist-header strong { color: #1f2a2e; font-size: 1.3rem; }
.foundation-checklist ul { margin: 0; padding: 15px 0; list-style: none; }
.foundation-checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid #ebe6dd; color: #405154; font-weight: 650; line-height: 1.4; }
.foundation-checklist li span { color: #c98044; font-size: .78rem; font-weight: 900; }
.checklist-footer { padding-top: 5px; color: #315b55; font-size: .88rem; font-weight: 800; line-height: 1.4; }
.foundation-risks, .foundation-services { padding: clamp(56px, 8vw, 96px) 0; }
.foundation-risks h2, .foundation-section-heading h2 { max-width: 800px; }
.risk-grid, .foundation-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.risk-grid article, .foundation-service-grid article { border: 1px solid #ded8cc; background: #fffdf8; box-shadow: 0 12px 36px rgba(31,42,46,.07); padding: 26px; }
.foundation-services { border-top: 1px solid #ded8cc; }
.foundation-label { margin-bottom: 12px; color: #c98044; font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.foundation-service-grid article.featured { border-color: rgba(49,91,85,.28); background: #e9f0ec; }
.foundation-service-grid ul { padding-left: 19px; color: #5d686d; }
.foundation-fit { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(28px, 5vw, 70px); padding: clamp(58px, 8vw, 96px) 0; border-top: 1px solid #ded8cc; }
.foundation-fit-list { border-left: 3px solid #315b55; padding-left: 24px; }
.foundation-fit-list p { margin-bottom: 5px; color: #315b55; font-weight: 850; }
.foundation-fit-list ul { margin: 0; padding-left: 20px; }

/* Candidate 3: local operator and owner-facing */
.local { background: #fffdf8; }
.local-hero { padding: 150px clamp(18px, 5vw, 72px) 78px; background: #e5ede7; border-bottom: 1px solid #183f37; }
.local-hero > *, .local-services > *, .local-areas > *, .local-location > * { max-width: 1180px; margin-right: auto; margin-left: auto; }
.local-kicker { color: #a84d32; }
.local-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: clamp(28px, 6vw, 100px); align-items: end; }
.local-hero h1 { max-width: 880px; margin-bottom: 26px; font-size: clamp(2.9rem, 5.8vw, 5.8rem); color: #183f37; }
.local-hero-grid > div > p { max-width: 670px; color: #31544e; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.local-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; border-bottom: 2px solid #a84d32; color: #183f37; font-weight: 880; padding-bottom: 6px; }
.local-link span { color: #a84d32; font-size: 1.4rem; }
.local-hero-note { border: 1px solid #183f37; background: #fffdf8; padding: 24px; }
.local-hero-note span { display: block; margin-bottom: 18px; color: #a84d32; font-size: .74rem; font-weight: 900; letter-spacing: .09em; }
.local-hero-note strong { display: block; margin-bottom: 6px; color: #183f37; font-size: 1.6rem; line-height: 1.08; }
.local-hero-note p { margin: 0; color: #31544e; line-height: 1.55; }
.local-belief { padding: 36px clamp(18px, 5vw, 72px); background: #183f37; }
.local-belief p { width: min(1180px, 100%); margin: 0 auto; color: #fffdf8; font-size: clamp(1.35rem, 3vw, 2.35rem); font-weight: 750; line-height: 1.25; }
.local-services { padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px); }
.local-service-list { border-top: 1px solid #c7c9c1; }
.local-service-list article { display: grid; grid-template-columns: 70px minmax(0, 1fr) 48px; gap: 20px; align-items: start; border-bottom: 1px solid #c7c9c1; padding: 28px 0; }
.local-service-list article > span { color: #a84d32; font-size: .78rem; font-weight: 900; padding-top: 9px; }
.local-service-list h2 { margin-bottom: 9px; color: #183f37; font-size: clamp(1.8rem, 3.5vw, 3.4rem); }
.local-service-list p { max-width: 700px; margin-bottom: 0; }
.local-service-list a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #183f37; border-radius: 50%; color: #183f37; font-size: 1.5rem; }
.local-areas { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(62px, 8vw, 106px) clamp(18px, 5vw, 72px); background: #f0e7d9; }
.local-areas h2 { color: #183f37; }
.local-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.local-area-grid span { border: 1px solid rgba(24,63,55,.35); background: rgba(255,253,248,.4); color: #183f37; font-weight: 800; padding: 16px; line-height: 1.32; }
.local-location { padding: 27px clamp(18px, 5vw, 72px); background: #a84d32; }
.local-location p { margin: 0; color: #fffdf8; font-size: 1.05rem; font-weight: 750; }

/* Shared close */
.shared-contact { padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px); background: var(--paper); border-top: 1px solid var(--line); }
.shared-contact > div { max-width: 1180px; }
.shared-contact h2 { max-width: 700px; }
.contact-panel { border: 1px solid var(--line); background: var(--canvas); padding: 26px; }
.contact-reassurance { margin: 14px 0 0; font-size: .86rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px clamp(18px, 4vw, 56px) 80px; border-top: 1px solid var(--line); background: var(--canvas); }
.site-footer p { margin: 0; font-size: .86rem; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .86rem; font-weight: 760; }

@media (max-width: 860px) {
  .nav { display: none; }
  .blend-hero-grid, .blend-empathy, .blend-outcomes, .foundation-hero, .foundation-fit, .local-hero-grid, .local-areas, .shared-contact { grid-template-columns: 1fr; }
  .blend-steps, .blend-service-grid, .risk-grid, .foundation-service-grid { grid-template-columns: 1fr; }
  .foundation-checklist { transform: none; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .site-header { padding: 14px 18px; }
  .direction-picker { position: sticky; top: 68px; right: auto; bottom: auto; width: calc(100% - 36px); margin: 16px 18px 0; }
  .blend-hero, .foundation-hero { padding-top: 110px; }
  .blend-copy h1, .local-hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .blend-outcome-list { grid-template-columns: 1fr; }
  .local-hero { padding-top: 118px; }
  .local-service-list article { grid-template-columns: 42px minmax(0, 1fr); }
  .local-service-list a { display: none; }
  .local-area-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-bottom: 110px; }
}
