/* Homepage design system. Scoped to preserve support and legal page layouts. */
.home {
  --bg: #f7f7f0; --surface: #fffef8; --surface-soft: #eef0e7;
  --text: #193b32; --accent: #193b32; --muted: #58655e;
  --line: #d6ddd1; --line-strong: #aab9ae; --surface-strong: #fffef8;
  --container: 1240px; --shadow: none;
  background: var(--bg); color: var(--text);
}
.home .container { width: min(100% - 6rem, var(--container)); }
.home p { text-wrap: pretty; }
.home h1, .home h2, .home h3 { text-wrap: balance; }
.home .section { padding: 104px 0; scroll-margin-top: 88px; }
.home .section + .section { border: 0; }
.home .site-header { background: #f7f7f0f2; border-color: var(--line); }
.home .site-header__inner { display: flex; flex-direction: row; align-items: center; gap: 32px; min-height: 88px; padding: 16px 0; }
.home .site-mark { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.brand-monogram { display: grid; place-items: center; width: 34px; height: 36px; border-radius: 8px; background: #193b32; color: #f7f7f0; font-size: 30px; line-height: 1; letter-spacing: -3px; padding-right: 3px; }
.home .site-nav { width: auto; gap: 22px; margin-left: auto; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.home .site-nav a { display: inline-flex; padding: 8px 0; font-size: 13px; min-height: 44px; border-radius: 0; color: var(--muted); }
.home .site-nav a:hover, .home .site-nav a[aria-current] { color: var(--text); background: none; text-decoration: underline; text-underline-offset: 6px; }
.home .site-nav .nav-contact { gap: 22px; color: var(--text); border: 1px solid var(--line-strong); padding: 9px 18px; border-radius: 6px; }
.home .nav-toggle { display: none; border: 1px solid var(--line-strong); background: transparent; color: var(--text); border-radius: 6px; padding: 10px 16px; min-height: 44px; font: inherit; font-size: 14px; }
.home .eyebrow { padding: 0; border: 0; border-radius: 0; background: transparent; color: #566b5d; font-size: 11px; font-weight: 700; letter-spacing: .14em; display: block; }
.home .hero { padding: 76px 0 0; }
.home .hero__grid { grid-template-columns: 1.12fr 1fr; align-items: center; gap: 52px; }
.home .hero__copy { display: block; max-width: none; text-align: left; }
.home .hero__copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; background: #658747; border-radius: 50%; }
.home .hero__copy h1 { max-width: 12ch; margin: 24px 0 26px; font-size: clamp(3.4rem, 5.6vw, 5.1rem); line-height: 1.03; letter-spacing: -.065em; font-weight: 500; }
.home .hero__copy h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.07em; }
.home .hero__lead { margin: 0; font-size: 17px; line-height: 1.75; font-weight: 400; max-width: 48ch; }
.home .hero__actions { justify-content: flex-start; gap: 25px; margin-top: 30px; }
.home .btn { border-radius: 6px; font-size: 13px; font-weight: 600; min-height: 50px; padding: 14px 20px; gap: 25px; box-shadow: none; }
.home .btn--primary { color: #fffef8; background: #193b32; border-color: #193b32; }
.home .btn--primary:hover { background: #2d5145; border-color: #2d5145; }
.home .btn--secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.home .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; }
.home .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home .hero-note { font-size: 11px; color: var(--muted); margin: 20px 0 0; }
.hero-art { align-self: stretch; min-width: 0; margin: 0; position: relative; display: flex; flex-direction: column; justify-content: center; background: #eff0e8; border-radius: 12px; overflow: hidden; }
.art-label { position: absolute; top: 28px; left: 30px; z-index: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; }
.art-label span:last-child { color: #59695b; }
.hero-art img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; mix-blend-mode: multiply; }
.hero-art figcaption { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 25px; left: 30px; right: 24px; font-size: 10px; }
.outcome-strip { margin-top: 65px; padding: 27px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 40px; font-size: 13px; }
.outcome-strip p { margin: 0; color: var(--muted); font-size: 12px; }
.outcome-strip strong { color: var(--text); font-weight: 500; }
.outcome-strip ul { display: flex; flex-wrap: wrap; gap: 40px; list-style: none; margin: 0; padding: 0; }
.outcome-strip li::before { content: '✓'; margin-right: 10px; color: #4e704a; }
.home .section-heading { max-width: none; margin: 0 0 54px; text-align: left; display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
.home .section-heading h2, .home #proof .section-heading h2 { max-width: 18ch; margin: 19px 0 0; font-size: clamp(2rem, 3.7vw, 3.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -.05em; }
.home .section-heading > p { max-width: 40ch; font-size: 15px; line-height: 1.8; }
.service-row { display: grid; grid-template-columns: .6fr 1.4fr 1fr; gap: 45px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-index span { color: #758174; font-size: 12px; font-variant-numeric: tabular-nums; }
.service-index p { font-size: 11px; max-width: 15ch; margin-top: 20px; color: var(--muted); }
.service-copy h3 { font-size: 27px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.8px; font-weight: 500; }
.service-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 46ch; }
.service-features { list-style: none; padding: 6px 0 0; margin: 0; font-size: 12px; color: var(--muted); }
.service-features li { padding: 9px 0 9px 18px; position: relative; }
.service-features li::before { content: ''; position: absolute; left: 0; top: 18px; width: 4px; height: 4px; border-radius: 50%; background: #6e865d; }
.home #projects { background: #e9eee3; }
.project-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 85px; align-items: start; }
.home #projects .section-heading { display: block; margin: 0; }
.home #projects .section-heading h2 { max-width: 14ch; margin-bottom: 25px; }
.home #projects .section-heading > p { font-size: 14px; }
.example-label { display: inline-block; padding: 7px 10px; margin-top: 24px; border: 1px solid #bccab3; border-radius: 4px; color: #506349; font-size: 10px; }
.project-example { border-top: 1px solid #becbb7; }
.project-example:last-child { border-bottom: 1px solid #becbb7; }
.project-example summary { display: flex; align-items: center; gap: 18px; padding: 25px 0; cursor: pointer; list-style: none; }
.project-example summary::-webkit-details-marker { display: none; }
.project-number { font-size: 11px; color: #617259; }
.project-example h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.3px; }
.expand-icon { flex-shrink: 0; width: 24px; height: 24px; margin-left: auto; border: 1px solid #9dad94; border-radius: 50%; position: relative; }
.expand-icon::before, .expand-icon::after { content: ''; position: absolute; background: #365034; height: 1px; width: 8px; left: 7px; top: 11px; }
.expand-icon::after { transform: rotate(90deg); transition: transform 180ms ease; }
.project-example[open] .expand-icon::after { transform: rotate(0); }
.project-detail { padding: 0 35px 24px; }
.project-detail p { margin: 0 0 10px; color: #50614b; font-size: 14px; line-height: 1.85; }
.home #approach { background: #183b32; color: #fafbef; }
.home #approach .eyebrow { color: #bdcfaa; }
.home #approach h2 { color: #fafbef; }
.home #approach .section-heading > p { color: #bfcec4; }
.process-list { list-style: none; margin: 65px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.process-step { position: relative; border-top: 1px solid #658073; padding-top: 28px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 50%; background: #c5dca3; color: #193b32; font-size: 11px; margin-bottom: 27px; }
.process-step h3 { font-size: 19px; font-weight: 500; margin: 0 0 14px; letter-spacing: -.5px; }
.process-step p { font-size: 13px; line-height: 1.85; color: #bfcec4; margin: 0; }
.home #proof { background: var(--bg); }
.work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.work-image { height: 340px; display: flex; position: relative; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: #e7ece3; text-decoration: none; }
.work-image--report { padding: 28px; }
.work-image--report img { border: 1px solid #cbd5c6; border-radius: 6px; width: 100%; height: auto; box-shadow: 0 15px 25px #243d2912; }
.work-image--app { background: #e8e4dc; align-items: flex-start; padding-top: 35px; }
.work-image--app img { width: 195px; height: auto; border-radius: 25px; border: 5px solid #26372d; box-shadow: 0 15px 30px #293b2820; }
.work-image img { transition: transform 350ms ease; }
.work-image:hover img { transform: translateY(-5px); }
.work-image > span { position: absolute; bottom: 16px; right: 16px; padding: 10px 14px; background: #fffef8; border: 1px solid var(--line); border-radius: 5px; color: #193b32; font-size: 11px; display: flex; gap: 15px; }
.work-caption { padding: 23px 0 0; }
.work-caption h3 { margin: 12px 0 10px; font-size: 23px; letter-spacing: -.6px; font-weight: 500; }
.work-caption > p:last-child { max-width: 56ch; color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.result-note { margin-top: 54px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 3fr; gap: 35px; align-items: center; }
.result-number { font-size: 84px; line-height: 1; margin: 0; letter-spacing: -.07em; }
.result-number span { font-size: 40px; }
.result-note h3 { font-size: 18px; font-weight: 500; margin: 0 0 9px; }
.result-note div p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0; max-width: 80ch; }
.founder-note { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding-top: 80px; }
.founder-note .eyebrow { max-width: 24ch; line-height: 1.7; }
.founder-note h3 { margin: 0 0 22px; font-size: 42px; font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; }
.founder-note div p { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 55ch; }
.home #contact { background: #dfe8cd; padding: 86px 0; }
.home .final-cta { border: 0; box-shadow: none; padding: 0; background: none; text-align: center; }
.home .final-cta h2 { font-size: clamp(2.3rem, 4.3vw, 4rem); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; margin: 22px auto; max-width: 17ch; }
.home .final-cta > p:not(.eyebrow):not(.cta-note) { font-size: 15px; line-height: 1.8; max-width: 54ch; margin: 0 auto; }
.home .final-cta .hero__actions { justify-content: center; }
.home .final-cta .cta-note { font-size: 11px; margin-top: 24px; }
.home .site-footer { padding: 38px 0; border-top: 0; background: var(--bg); }
.home .footer-brand { font-size: 21px; letter-spacing: -.7px; }
.home .site-footer p { font-size: 12px; line-height: 1.8; }
.home .site-footer__links { font-size: 12px; gap: 25px; }
.home .booking-modal__dialog { border-radius: 14px; }
.home .booking-card__side { background: #e9eee3; }
.home .booking-modal__title { font-weight: 500; letter-spacing: -.04em; }
.home .booking-modal__close { min-width: 44px; min-height: 44px; }
.home .booking-calendar__day.is-selected { background: #193b32; color: white; }
.home .booking-calendar__day, .home .booking-calendar__nav { min-height: 40px; }
.home .mobile-booking-bar { background: #f7f7f0f5; border-color: var(--line); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.home :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #638449; outline-offset: 5px; }
.home #approach :focus-visible { outline-color: #c5dca3; }
/* Content remains readable if JavaScript fails or is disabled. */
.home [data-reveal] { opacity: 1; transform: none; }
.home .reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.home .reveal-ready.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .home .container { width: min(100% - 3rem, var(--container)); }
  .home .site-nav { gap: 16px; }
  .home .site-nav a { font-size: 12px; }
  .home .hero__grid { gap: 30px; }
  .home .hero__copy h1 { font-size: 65px; }
  .home .hero__actions { gap: 12px; }
  .outcome-strip ul { gap: 20px; }
  .service-row { gap: 25px; grid-template-columns: .5fr 1.2fr 1fr; }
  .project-layout { gap: 45px; }
}
@media (max-width: 800px) {
  .home .section { padding: 72px 0; scroll-margin-top: 85px; }
  .home .site-header__inner { min-height: 76px; gap: 10px; flex-wrap: wrap; }
  .home .site-mark { font-size: 17px; }
  .home .site-nav { margin: 0; width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 10px 24px; }
  .home .nav-enhanced .nav-toggle { display: inline-block; margin-left: auto; }
  .home .nav-enhanced .site-nav { display: none; }
  .home .nav-enhanced .site-nav.is-open { display: flex; padding: 15px 0 5px; }
  .home .hero { padding: 48px 0 0; }
  .home .hero__grid { grid-template-columns: 1fr; gap: 35px; }
  .home .hero__copy h1 { max-width: 15ch; font-size: clamp(52px, 8vw, 72px); }
  .home .hero__lead { max-width: 53ch; font-size: 16px; }
  .hero-art { max-height: 390px; }
  .hero-art img { min-height: 0; height: 390px; object-fit: cover; }
  .outcome-strip { margin-top: 36px; align-items: flex-start; gap: 24px; }
  .outcome-strip ul { flex-direction: column; gap: 7px; font-size: 12px; }
  .home .section-heading { gap: 30px; grid-template-columns: 1fr; margin-bottom: 38px; }
  .home .section-heading h2, .home #proof .section-heading h2 { max-width: 20ch; font-size: 40px; }
  .home .section-heading > p { max-width: 55ch; }
  .service-row { grid-template-columns: 60px 1fr; gap: 10px 20px; }
  .service-index p { display: none; }
  .service-features { grid-column: 2; }
  .service-copy h3 { font-size: 26px; }
  .service-copy h3 br { display: none; }
  .project-layout { grid-template-columns: 1fr; gap: 35px; }
  .home #projects .section-heading h2 { max-width: 19ch; }
  .process-list { grid-template-columns: repeat(2,1fr); gap: 35px; margin-top: 40px; }
  .work-grid { gap: 22px; }
  .work-image { height: 260px; }
  .work-image--report { padding: 15px; }
  .work-image--app img { width: 155px; }
  .work-caption h3 { font-size: 21px; }
  .founder-note { gap: 35px; padding-top: 55px; }
  .founder-note h3 { font-size: 35px; }
  .home .site-footer__inner { flex-direction: row; align-items: flex-start; }
  .home .site-footer__links { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 520px) {
  .home .container { width: calc(100% - 40px); }
  .home .hero__copy h1 { font-size: clamp(44px, 11.5vw, 60px); margin-top: 22px; }
  .home .hero__copy .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .home .hero__actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .home .hero__actions .btn { width: 100%; justify-content: space-between; }
  .home .hero__actions .text-link { align-self: flex-start; }
  .hero-art, .hero-art img { height: 295px; }
  .art-label { top: 20px; left: 20px; font-size: 12px; }
  .hero-art figcaption { bottom: 18px; left: 20px; font-size: 9px; }
  .outcome-strip { flex-direction: column; gap: 16px; }
  .outcome-strip p br { display: none; }
  .outcome-strip p strong { margin-left: 4px; }
  .home .section-heading h2, .home #proof .section-heading h2 { font-size: 35px; }
  .service-row { grid-template-columns: 32px 1fr; gap: 8px 12px; padding: 28px 0; }
  .service-copy h3 { font-size: 24px; }
  .service-copy p { font-size: 13px; }
  .service-features { font-size: 11px; }
  .project-example h3 { font-size: 17px; }
  .project-example summary { gap: 12px; }
  .project-detail { padding-left: 27px; padding-right: 5px; }
  .process-list { grid-template-columns: 1fr; gap: 24px; }
  .process-step { padding-top: 22px; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
  .step-number { grid-row: span 2; margin: 0; }
  .process-step h3 { margin: 3px 0 10px; }
  .process-step p { grid-column: 2; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-image { height: 280px; }
  .work-image--app img { width: 175px; }
  .result-note { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
  .result-number { font-size: 72px; }
  .founder-note { grid-template-columns: 1fr; gap: 22px; }
  .founder-note .eyebrow { max-width: none; }
  .home .final-cta h2 { font-size: 38px; }
  .home .final-cta .cta-note { font-size: 10px; }
  .home .site-footer__inner { flex-direction: column; gap: 24px; }
  .home .site-footer__links { justify-content: flex-start; }
  .home .site-footer { padding-bottom: 115px; }
  .home .booking-modal { padding: 8px; }
  .home .booking-modal__dialog { max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .home .reveal-ready { opacity: 1; transform: none; }
}
/* Keep the entire calendar and form reachable on short or narrow screens. */
.home .booking-calendar__day[data-state="selected"] { background: #193b32; border-color: #193b32; color: #fffef8; }
@media (max-width: 960px) {
  .home .booking-modal__dialog { overflow-y: auto; }
  .home .booking-card { display: block; height: auto; overflow: visible; }
  .home .booking-card__side { padding: 22px 65px 20px 22px; border-top: 0; overflow: visible; }
  .home .booking-card__side .booking-card__copy,
  .home .booking-card__side .booking-card__meta,
  .home .booking-card__side .booking-side-more { display: none; }
  .home .booking-modal__title { font-size: 24px; margin-top: 8px; }
  .home .booking-card__form, .home .booking-form__body { display: block; overflow: visible; }
  .home .booking-card__form { padding: 22px; }
  .home .booking-form__actions { position: static; margin-top: 16px; }
  .home .booking-details-nav { margin-top: 16px; }
}
@media (min-width: 801px) {
  .home .mobile-booking-bar { display: none; }
}
@media (max-width: 360px) {
  .home .hero__copy h1 { font-size: 38px; }
}
/* Conversion review: a short inquiry form and a single booking details screen. */
.home .inquiry-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 65px; padding-top: 55px; margin-top: 55px; border-top: 1px solid #b5c4a3; scroll-margin-top: 105px; }
.home .inquiry-intro h3 { margin: 0 0 18px; font-size: 28px; font-weight: 500; letter-spacing: -.8px; }
.home .inquiry-intro p { color: #506047; font-size: 14px; line-height: 1.8; max-width: 38ch; }
.home .contact-form { padding: 28px; border: 1px solid #bccbae; border-radius: 10px; background: #f7f9f0; }
.home .contact-form .btn { justify-self: start; }
.home .inquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home .form-row { min-width: 0; }
.home .field-error:empty { display: none; }
.home .booking-simple-fields { display: grid; gap: 15px; }
.home .booking-simple-fields input, .home .booking-simple-fields select { min-height: 44px; }
.home .booking-simple-fields textarea { min-height: 80px; resize: vertical; }
.home .booking-simple-fields .form-note { font-size: 12px; line-height: 1.5; margin: 4px 0 0; }
.home .booking-attendee { display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid #d3ddcd; }
.home .booking-attendee[hidden] { display: none; }
.home .booking-attendee__title { margin: 0; font-weight: 600; font-size: 15px; }
.home .booking-context { border: 1px solid #d3ddcd; border-radius: 10px; padding: 14px; background: #f7f9f0; }
.home .booking-context summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.home .booking-context[open] summary { margin-bottom: 14px; }
.home .booking-form__body { overflow-y: auto; }
.home .booking-card__form { overflow-y: auto; }
.home .booking-modal__dialog { max-height: calc(100dvh - 32px); }
.home .booking-calendar__day { min-height: 44px; }
.home .booking-calendar__nav { min-width: 44px; min-height: 44px; }
.home #booking-success-links a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 16px; }
.home .contact-form input, .home .contact-form textarea { width: 100%; }
.home .contact-form .form-note { font-size: 12px; }
.home .result-note > .eyebrow { max-width: 19ch; line-height: 1.7; }
@media (max-width: 800px) {
  .home .inquiry-layout { grid-template-columns: 1fr; gap: 25px; }
  .home .inquiry-intro p { max-width: 54ch; }
  .home .contact-form { padding: 22px; }
  .home .booking-simple-fields input, .home .booking-simple-fields select, .home .booking-simple-fields textarea,
  .home .contact-form input, .home .contact-form textarea { font-size: 16px; }
}
@media (max-width: 520px) {
  .home .inquiry-fields { grid-template-columns: 1fr; gap: 15px; }
  .home .contact-form { padding: 18px; }
  .home .booking-card__form { padding: 18px; }
}
