/* OneTree Realty & Property Management: prototype v1
   Brand hexes measured from the live site (onetreerealty.com, 2026-11-03).
   Companion shades sit beside the brand colours for text contrast (WCAG 2.1 AA). */
:root {
  --blue: #4D69A8;          /* brand blue: nav, footer, links (5.38:1 on white) */
  --blue-dark: #2E3F65;     /* companion: headings, dark bands */
  --navy: #1E2A44;          /* companion: text on green / orange */
  --green: #92C63D;         /* brand green: accents, rules, buttons with navy text */
  --green-text: #557424;    /* companion: green as text, passes on white and on --paper */
  --orange: #F9AF4B;        /* brand orange: primary CTA with navy text (7.66:1) */
  --ink: #26303F;
  --muted: #5A6472;
  --line: #DDE3EC;
  --paper: #F5F7FA;
  --white: #fff;
  --maxw: 1300px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(30, 42, 68, .10);
  --font: "Roboto", Arial, Helvetica, sans-serif;
  --font-head: "Roboto Condensed", "Roboto", Arial, sans-serif;
  --font-script: "Square Peg", "Segoe Script", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-dark); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
/* No widows / orphans (studio rule) */
h1, h2, h3, h4, h5, h6, .eyebrow { text-wrap: balance; }
p, li, blockquote, figcaption, td, th, label, dd { text-wrap: pretty; widows: 2; orphans: 2; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .7em 1em; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: #fff; }
.section--dark { background: var(--blue-dark); color: #fff; }
.section--blue h2, .section--dark h2, .section--blue h3, .section--dark h3 { color: #fff; }
.section--blue a:not(.btn), .section--dark a:not(.btn) { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--font-script); font-size: 2.4rem; font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--green-text); margin-bottom: .2em; }   /* Square Peg script, echoes the logo; chosen by John 2026-11-09 */
.section--blue .eyebrow, .section--dark .eyebrow, .hero .eyebrow { color: var(--green); }
.lead { font-size: 1.18rem; color: var(--muted); }
.section-head { max-width: 760px; margin: 0 0 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; text-decoration: none; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: #ffc26e; color: var(--navy); }
.btn--green { background: var(--green); color: var(--navy); }
.btn--outline { border-color: currentColor; color: var(--blue-dark); background: transparent; }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Utility bar + header */
.utility { background: var(--blue-dark); color: #dfe6f3; font-size: .88rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.top, .nav button.top { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--blue-dark); text-decoration: none; padding: 12px 14px; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav a.top:hover, .nav button.top:hover, .nav .current > .top { color: var(--blue); background: var(--paper); }
.nav button.top::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); color: var(--blue); }
.nav li.open > .sub { display: block; }
@media (hover: hover) and (min-width: 1101px) { .nav li:hover > .sub, .nav li:focus-within > .sub { display: block; } }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--font-head); font-weight: 700; color: var(--blue-dark); text-decoration: none; font-size: 1.1rem; white-space: nowrap; }
.menu-toggle { display: none; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 700; font-family: var(--font-head); font-size: 1rem; cursor: pointer; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn, .header-phone { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 90vw); background: #fff; flex-direction: column; align-items: stretch; padding: 80px 20px 24px; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow); overflow-y: auto; z-index: 90; }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav .close { position: absolute; top: 20px; right: 20px; }
  .nav .mobile-cta { display: grid !important; gap: 10px; margin-top: 20px; }
}
.nav .close, .nav .mobile-cta { display: none; }
@media (max-width: 1100px) { .nav .close { display: inline-flex; } }
.scrim { position: fixed; inset: 0; background: rgba(30,42,68,.45); z-index: 80; display: none; }
.scrim.is-open { display: block; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero picture, .hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,42,68,.94) 0%, rgba(30,42,68,.82) 45%, rgba(30,42,68,.25) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.hero-copy { max-width: 700px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; color: #e8edf6; }
.hero .btn-row { margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: #cfd8e8; }

/* Page header (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--blue-dark); overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,42,68,.95) 0%, rgba(46,63,101,.85) 60%, rgba(46,63,101,.6) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #e8edf6; font-size: 1.15rem; max-width: 780px; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: #cfd8e8; }
.crumbs a { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 .4em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { text-align: center; padding: 48px 20px; border-right: 1px solid rgba(255,255,255,.2); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 5.5vw, 4.5rem); color: var(--green); line-height: 1; margin-bottom: 12px; }
.stat span { font-size: 1.2rem; color: #fff; }
@media (max-width: 800px) { .stat { padding: 30px 8px; } .stat span { font-size: 1rem; } }

/* Grids + cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 2px 0 rgba(30,42,68,.03); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .15s ease, transform .15s ease; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card--link .more { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #EEF2F9; color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 28px; height: 28px; }
.path-card { padding: 0; overflow: hidden; }
.path-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.path-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--rev > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231E2A44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks--cols { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
@media (max-width: 680px) { .checks--cols { grid-template-columns: 1fr; } }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px; }
ol.steps > li { counter-increment: s; position: relative; padding: 22px 24px 22px 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
ol.steps > li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: p; }
.process > div { counter-increment: p; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.process > div::before { content: "0" counter(p); display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--green-text); margin-bottom: 8px; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Prose (long-form inner pages) */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.aside { position: sticky; top: 130px; display: grid; gap: 20px; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.aside-card { background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: 28px; }
.aside-card h2, .aside-card h3 { color: #fff; font-size: 1.4rem; }
.aside-card p { color: #e1e7f2; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .phone { display: block; text-align: center; margin-top: 12px; color: #fff; font-weight: 700; }
.aside-links { background: var(--paper); border-radius: var(--radius); padding: 24px 26px; }
.aside-links h3 { font-size: 1.1rem; }
.aside-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* Team */
.team { display: grid; gap: 28px; }
.member { display: grid; grid-template-columns: 220px 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; align-items: start; }
.member img { width: 220px; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.member .role { font-family: var(--font-head); font-weight: 700; color: var(--green-text); margin-bottom: 1em; }
@media (max-width: 720px) { .member { grid-template-columns: 1fr; } .member img { width: 160px; } }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-grid figure { margin: 0; text-align: center; }
.team-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.team-grid figcaption b { display: block; font-family: var(--font-head); color: var(--blue-dark); }
.team-grid figcaption span { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* Owner portrait */
.portrait { position: relative; }
.portrait img { border-radius: var(--radius); width: 100%; max-width: 420px; aspect-ratio: 427/560; object-fit: cover; object-position: top; }
.portrait figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
blockquote.pull { margin: 0 0 1.2em; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.35; color: var(--blue-dark); padding: 22px 26px; border: 2px solid var(--green); border-radius: var(--radius); background: #fff; }

/* Reviews */
.stars { color: var(--orange); font-size: 1.6rem; letter-spacing: 4px; }
.review-summary { max-width: 840px; margin: 0 auto; text-align: center; }
.review-summary p { font-size: 1.15rem; color: #e8edf6; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.quote { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 24px; text-align: left; }
.quote p { color: #fff; font-size: 1rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--green); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--blue-dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 20px; }

/* Resident strip */
.resident { background: var(--paper); border-top: 1px solid var(--line); }
.resident .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.resident h2 { font-size: 1.35rem; margin: 0; }
.resident ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 22px; flex-wrap: wrap; }
.resident a { font-weight: 700; }

/* CTA band + form */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 980px) { .cta-band .container { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #eaf0fa; }
.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-lines a { color: #fff; font-weight: 700; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: .2em; }
.form .grid { gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--blue-dark); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #B8C3D4; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(77,105,168,.25); }
.field .hint { font-size: .85rem; color: var(--muted); }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-success { display: none; padding: 18px; border: 2px solid var(--green); border-radius: 8px; background: #F4FAEA; color: var(--navy); }
.form.sent .form-success { display: block; }
.form.sent .form-fields { display: none; }

/* Map + embeds */
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); }
.embed { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); min-height: 900px; background: #fff; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #d6deec; font-size: .96rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 980px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .container { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { background: #fff; border-radius: 8px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 170px; }
.footer-bottom { }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; grid-template-columns: none; font-size: .88rem; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(30,42,68,.12); z-index: 60; }
  .mobile-bar .btn { justify-content: center; padding: .75em 1em; font-size: 1rem; }
  .utility .container { justify-content: center; }
  .utility .utility-left { display: none; }
  .section { padding: 64px 0; }
  .hero .container { padding-top: 72px; padding-bottom: 72px; }
  .brand img { width: 150px; }
  .site-header .container { min-height: 80px; }
}

/* Review mode: highlight generated copy for John */
.flag { display: none; }
body.review-on .new { background: #FFF4C2; box-shadow: 0 0 0 2px #FFF4C2; border-radius: 3px; }
body.review-on .new-block { outline: 3px dashed #E0A400; outline-offset: 6px; border-radius: 4px; }
body.review-on .flag { display: inline-block; font: 700 11px/1 var(--font); background: #E0A400; color: #1E2A44; padding: 3px 6px; border-radius: 4px; margin-right: 6px; vertical-align: middle; letter-spacing: .02em; }
body.review-on .placeholder { background: #FFD9D9; box-shadow: 0 0 0 2px #FFD9D9; }
.placeholder { font-style: italic; }

/* QA pass 1 fixes */
body.review-on .new { color: var(--navy) !important; }
body.review-on .new a { color: var(--navy) !important; }
.form p, .cta-band .form p, .form .form-note { color: var(--muted); }
.form .form-note a { color: var(--blue); }
.section--blue .eyebrow, .cta-band .eyebrow { color: #fff; }   /* green on brand blue is 2.6:1 */
.quote cite { color: #fff; }
.form-success { color: var(--navy); }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(30,42,68,.80) 0%, rgba(30,42,68,.92) 100%); }
  .hero p { font-size: 1.05rem; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
}
/* Desktop hero: photo on the right half so the OneTree yard sign stays visible */
@media (min-width: 1001px) {
  .hero .hero-bg { left: 46%; }
  .hero .hero-bg img { object-position: left center; }
  .hero::after { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 46%, rgba(30,42,68,.55) 52%, rgba(30,42,68,0) 62%); }
  .hero-copy { max-width: 600px; }
}

/* Home "How can we help": two paths after the repair page was removed (2026-11-09) */
.paths-2 { max-width: 960px; margin-inline: auto; }

/* ---- Team on About OneTree: cards + bio modals (2026-11-09) ---- */
.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tm-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.tm-card:hover, .tm-card:focus-visible { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.tm-card picture, .tm-card img { display: block; width: 100%; }
/* Headshots: anchor to the top so heads are never cropped */
.tm-card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; margin-bottom: 12px; }
.tm-card b { font-family: var(--font-head); font-size: 1.2rem; color: var(--blue-dark); padding: 0 14px; }
.tm-card span { font-size: .93rem; color: var(--muted); padding: 0 14px; line-height: 1.4; }
.tm-card .tm-more { margin-top: 8px; font-family: var(--font-head); font-weight: 700; color: var(--blue); }
@media (max-width: 980px) { .tm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tm-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.bio-modal { width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 30px 80px rgba(16, 24, 40, .35); color: var(--ink); }
.bio-modal::backdrop { background: rgba(20, 28, 46, .62); backdrop-filter: blur(3px); }
.bio-inner { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 40px; }
.bio-inner img { width: 100%; height: auto; border-radius: 10px; }   /* full photo, no crop */
.bio-inner h3 { font-size: 1.9rem; margin-bottom: .1em; }
.bio-inner .role { font-family: var(--font-head); font-weight: 700; color: var(--green-text); margin-bottom: 1em; }
.bio-close { position: sticky; float: right; top: 12px; margin: 12px 12px 0 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--blue-dark); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.bio-close:hover, .bio-close:focus-visible { background: var(--blue); color: #fff; }
@media (max-width: 720px) { .bio-inner { grid-template-columns: 1fr; padding: 24px; gap: 18px; } .bio-inner picture, .bio-inner img { max-width: 200px; } }

/* About the Owner portrait: show the whole head */
.portrait img { width: 100%; height: auto; object-fit: cover; object-position: 50% 0; }
.owner-split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 720px) { .owner-split { grid-template-columns: 1fr; } .owner-split .portrait { max-width: 240px; } }
