﻿/* Northbrook homepage: warm paper, charcoal, and vivid orange. */
:root {
  --color-page: #f5f2ec;
  --color-section-alt: #eeeae3;
  --color-surface: #fffdf9;
  --color-ink: #171716;
  --color-muted: #5b5955;
  --color-line: #d9d4ca;
  --color-brand: #ed510d;
  --color-brand-hover: #cf3e00;
  --color-brand-dark: #121212;
  --color-accent: #d74206;
  --color-blue: #d74206;
  --color-accent-soft: #fce5d8;
  --radius: 22px;
  --button-radius: 999px;
  --site-width: 1280px;
  --gutter: clamp(22px, 5vw, 76px);
  --section-space: clamp(64px, 7vw, 112px);
  --font-display: 'Arial', 'Helvetica Neue', sans-serif;
}
body { -webkit-font-smoothing: antialiased; }
::selection { background: #f76a28; color: white; }
.site-header { position: relative; z-index: 20; background: #131313; border: 0; padding-top: 22px; padding-bottom: 22px; }
.nav { gap: 32px; }
.brand-logo { display: block; width: clamp(190px, 23vw, 290px); height: auto; }
.brand { min-width: 0; transition: opacity .25s ease; }
.brand:hover { opacity: .75; }
.nav-links { gap: 28px; }
.nav-links a { position: relative; color: #f5f2ec; font-size: .85rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: #fa601b; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover { color: #ff7e40; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.button { border: 1px solid #ff7132; border-radius: 999px; background: #ed510d; color: white; padding: 17px 29px; min-height: 52px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 5px 18px #00000010; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.button:hover { background: #ff651e; transform: translateY(-3px); box-shadow: 0 10px 28px #ed510d35; }
.button:active { transform: translateY(0); }
.nav-action .button { padding: 14px 23px; font-size: .7rem; }
a:focus-visible, button:focus-visible { outline: 3px solid #f88540; outline-offset: 5px; }
.nav-toggle { color: #fff; border-color: #ffffff40; border-radius: 10px; }
.home-hero { isolation: isolate; background: #141414; color: #fffdf9; padding-top: 24px; padding-bottom: 0; }
.home-hero .home-hero-layout { display: flex; flex-direction: column; gap: 0; padding: 0; width: 100%; }
.home-hero-copy { position: relative; z-index: 2; width: 100%; text-align: center; padding-bottom: 48px; }
.home-hero .hero-eyebrow { color: #ff6a21; font-size: .73rem; letter-spacing: .2em; margin: 0 auto 18px; font-weight: 800; max-width: none; }
.home-hero-layout h1 { max-width: 1200px; margin: 0 auto 24px; font-size: clamp(3rem, 6.7vw, 6.5rem); line-height: .98; font-weight: 900; letter-spacing: -.06em; }
.hero-title-line { display: block; white-space: normal; }
.home-hero h1 .text-accent { color: inherit; font-size: 1em; }
.home-hero p:not(.section-eyebrow) { color: #dedbd5; max-width: 780px; margin-right: auto; margin-left: auto; font-size: clamp(.97rem, 1.25vw, 1.1rem); line-height: 1.65; }
.home-hero .hero-actions { justify-content: center; margin-top: 26px; }
.home-hero .hero-actions .button::after { content: '\2192'; margin-left: 16px; font-size: 1.1rem; }
.home-hero-photo { position: relative; width: 100vw; max-width: none; margin-top: -20px; }
.home-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#141414 0%, transparent 32%, #00000010 100%); pointer-events: none; }
.home-hero-photo img { width: 100%; height: clamp(320px, 45vw, 620px); object-fit: cover; object-position: center 55%; border-radius: 0; box-shadow: none; }
.section { border: 0 !important; }
.section h2 { font-weight: 900; font-size: clamp(2.2rem, 3.5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.06; max-width: 1050px; margin-bottom: 24px; }
.section .text-accent { color: inherit; }
.section p.section-eyebrow { color: #d74206; font-weight: 800; letter-spacing: .19em; margin-bottom: 15px; font-size: .72rem; }
.section p { line-height: 1.75; }
.home-intro { background: #f5f2ec !important; }
.about-photo-row { gap: clamp(32px, 5vw, 80px); grid-template-columns: 1.1fr 1fr; }
.about-photo-row > img { border-radius: 28px; box-shadow: 14px 16px 0 #e4ded3; transition: transform .5s ease, box-shadow .5s ease; }
.instructor-photo-row { padding-top: 54px; border-top: 1px solid #d9d4ca; grid-template-columns: .65fr 1.35fr; margin-top: 64px; }
.instructor-photo-row > img { max-width: 340px; justify-self: center; transform: rotate(-2deg); }
.instructor-photo-row h3 { font-weight: 800; letter-spacing: -.035em; }
.home-services { position: relative; overflow: hidden; background: #141414 !important; color: #f9f7f2; }
.home-services::before { content: ''; position: absolute; width: 450px; height: 450px; right: -220px; top: -220px; border: 65px solid #ffffff03; transform: rotate(35deg); pointer-events: none; }
.home-services .inner { position: relative; }
.home-services p.section-eyebrow { color: #ff702c; }
.home-services .service-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.home-services article.service-item { position: relative; display: flex; flex-direction: column; padding: 0 0 22px; border-radius: 20px; background: linear-gradient(135deg,#262625,#1c1c1b); border: 1px solid #ffffff25; box-shadow: none; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.home-services .service-card-media { overflow: hidden; margin-bottom: 24px; flex-shrink: 0; }
.home-services .service-card-image { aspect-ratio: 4 / 3; transition: transform .6s ease; }
.home-services .service-item h3 { color: #f9f7f2; font-size: 1.22rem; margin: 0 20px 12px; font-weight: 800; letter-spacing: -.03em; }
.home-services .service-item p { color: #c9c6c0; margin: 0 20px 22px; font-size: .88rem; line-height: 1.6; }
.program-action { display: grid; place-items: center; flex-shrink: 0; align-self: flex-end; margin: auto 20px 0; width: 42px; height: 42px; border: 1px solid #ff7738; border-radius: 50%; background: #ed510d; color: white; font-size: 1.5rem; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.program-action:hover { transform: rotate(45deg); background: #ff702a; }
.home-services .hero-actions { margin-top: 36px; }
.reviews { background: #f5f2ec !important; }
.student-reviews { gap: 24px; margin-top: 36px; }
.student-reviews figure { display: flex; flex-direction: column; border-radius: 20px; padding: 32px; background: #fffdf8; border: 1px solid #e3ddd2; transition: transform .3s ease, box-shadow .3s ease; }
.student-reviews figure::before { content: '\201C'; color: #ed510d; font-family: Georgia,serif; font-size: 5rem; height: 58px; line-height: 1; }
.student-reviews blockquote { margin: 18px 0 28px; }
.student-reviews blockquote p { font-size: 1.15rem; color: #302f2c; }
.student-reviews figcaption { margin-top: auto; font-size: .84rem; }
.location-contact { background: #eae5dc !important; }
.contact-layout { gap: 64px; }
.contact-card { background: transparent; padding: 24px 0; border: 0; border-top: 1px solid #c9c1b4; border-bottom: 1px solid #c9c1b4; border-radius: 0; box-shadow: none; margin: 28px 0; }
.contact-details { margin-top: 12px; }
.contact-details a { text-underline-offset: 5px; }
.contact-details a:hover { color: #c43d08; }
.map-placeholder { overflow: hidden; border-radius: 24px; border: 1px solid #d1c8b9; filter: saturate(.7); }
.site-footer { background: #141414; color: #f7f3ec; border: 0; }
.site-footer p, .site-footer a, .site-footer address { color: #c8c5bf; }
.site-footer h2, .footer-lockup strong { color: #fffdf7; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #ff7431; }
.footer-bottom-wrap { border-color: #ffffff20; }
.lead-modal-panel { border-radius: 24px; background: #f5f2ec; }
.reveal { transition: opacity .75s ease, translate .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay,0ms); }
.reveal-pending { opacity: 0; translate: 0 28px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-services article.service-item:hover { transform: translateY(-8px); border-color: #ed510d; box-shadow: 0 18px 44px #00000045; }
  .service-item:hover .service-card-image { transform: scale(1.055); }
  .about-photo-row > img:hover { transform: translateY(-5px) rotate(0); box-shadow: 18px 22px 0 #e4ded3; }
  .student-reviews figure:hover { transform: translateY(-6px); box-shadow: 0 16px 35px #201a1110; }
}
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .brand-logo { width: 210px; }
  .home-services .service-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .about-photo-row { grid-template-columns: 1fr; }
  .about-photo-row > img { max-width: 650px; }
  .instructor-photo-row { grid-template-columns: minmax(0,.65fr) minmax(0,1fr); }
  .instructor-photo-row .about-copy { grid-row: auto; }
  .contact-layout { gap: 36px; }
  .student-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .brand-logo { width: 180px; max-width: 100%; }
  .nav { grid-template-columns: minmax(0,1fr) auto; }
  .nav-toggle { grid-column: 2; }
  .nav-action { display: none; }
  .nav-links { border-color: #ffffff20; }
  .nav-links a { min-height: 48px; font-size: 1rem; }
  .home-hero { padding-top: 32px; }
  .home-hero-layout h1 { font-size: clamp(2.65rem,8.8vw,4.4rem); letter-spacing: -.055em; }
  .home-hero .hero-eyebrow { font-size: .62rem; letter-spacing: .13em; line-height: 1.6; }
  .home-hero-copy { padding-bottom: 34px; }
  .home-hero-photo img { height: auto; min-height: 240px; object-fit: cover; }
  .instructor-photo-row { grid-template-columns: 1fr; }
  .instructor-photo-row > img { max-width: 300px; justify-self: start; }
  .instructor-photo-row .about-copy { grid-row: auto; }
  .section h2 { font-size: clamp(2.1rem,7vw,3rem); }
}
@media (max-width: 520px) {
  .home-services .service-list { grid-template-columns: 1fr; }
  .home-services .service-card-image { aspect-ratio: 16/10; }
  .home-services .service-item h3 { font-size: 1.45rem; }
  .home-services .service-item p { font-size: .95rem; }
  .home-hero .hero-actions .button { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; translate: none; }
  .button:hover, .program-action:hover { transform: none; }
}
.brand-logo { filter: grayscale(1) brightness(3); }
@media (min-width: 761px) and (max-width: 1000px) {
  .nav { display: grid; grid-template-columns: minmax(0,1fr) auto auto; }
  .nav-toggle { display: grid; grid-column: 3; grid-row: 1; }
  .nav-action { grid-column: 2; grid-row: 1; }
  .nav-links { display: none; grid-column: 1 / -1; width: 100%; padding-top: 12px; border-top: 1px solid #ffffff20; }
  .nav.nav-open .nav-links { display: flex; justify-content: flex-end; }
}
@media (max-width: 1000px) {
  .footer-content { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* A single photographic hero, with navigation and copy over the image. */
body[data-page="home"] #site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
}
body[data-page="home"] .site-header {
  background: linear-gradient(180deg, rgba(12,12,12,.85), rgba(12,12,12,0));
}
.home-hero {
  min-height: clamp(560px, 47.6vw, 714px);
  padding-top: clamp(130px, 11vw, 172px);
  padding-bottom: 30px;
  display: flex;
  align-items: flex-start;
}
.home-hero .home-hero-layout { position: static; }
.home-hero-copy { padding-bottom: 0; }
.home-hero .home-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}
.home-hero .home-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.7);
}
.home-hero-photo::after {
  background: linear-gradient(180deg, rgba(9,10,10,.94) 0%, rgba(9,10,10,.88) 24%, rgba(9,10,10,.68) 47%, rgba(9,10,10,.15) 74%, rgba(9,10,10,.07) 100%);
}
.home-hero-layout h1 {
  font-size: clamp(3rem, 6.6vw, 6.3rem);
  line-height: .98;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px #00000025;
}
.home-hero p:not(.section-eyebrow) { max-width: 740px; color: #f1efeb; line-height: 1.55; }
.home-hero .hero-actions { margin-top: 24px; }
.home-hero p.hero-details { margin-top: 18px; font-size: .85rem; color: #e4e1dc; }
.hero-details span { padding: 0 10px; }
@media (max-width: 1000px) {
  .site-header:has(.nav-open) { background: #141414; }
}
@media (max-width: 760px) {
  .home-hero { min-height: 595px; padding-top: 100px; padding-bottom: 16px; }
  .home-hero-layout h1 { font-size: clamp(2.6rem, 8.4vw, 4rem); }
  .home-hero .home-hero-photo img { object-position: 52% 22%; }
  .home-hero-photo::after { background: linear-gradient(180deg, #101111ee, #101111d9 40%, #10111180 66%, #10111112); }
  .home-hero p.hero-details { font-size: .7rem; }
  .hero-details span { padding: 0 4px; }
}

.home-instructor { background: #f5f2ec !important; }
.home-instructor .instructor-photo-row { margin-top: 0; padding-top: 0; border-top: 0; }
.home-instructor h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
/* Light header keeps the original logo crisp against warm white. */
body[data-page="home"] .site-header,
body[data-page="home"] .site-header:has(.nav-open) {
  background: #faf8f3;
  border-bottom: 1px solid #e6e1d8;
}
.brand-logo { filter: none; }
.nav-links a { color: #242320; }
.nav-links a:hover { color: #c84208; }
.nav-toggle { color: #242320; border-color: #d8d2c7; }
.nav-links { border-color: #e1dbd0; }
/* Local demo interactions. */
.lead-capture-form { margin-top: 24px; }
.lead-capture-form .button { width: 100%; }
.form-field input:focus { outline: 2px solid #ed510d; outline-offset: 2px; }
.mock-chat { position: fixed; bottom: 24px; right: 24px; z-index: 90; font-size: 14px; }
.chat-launcher { display: flex; align-items: center; gap: 10px; margin-left: auto; border: 1px solid #ff7738; border-radius: 999px; padding: 16px 22px; background: #ed510d; color: #fff; font: inherit; font-weight: 700; box-shadow: 0 8px 28px #0003; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.chat-launcher:hover { transform: translateY(-3px); background: #d94407; }
.chat-panel { width: min(360px, calc(100vw - 32px)); margin-bottom: 14px; overflow: hidden; border-radius: 22px; background: #faf8f3; color: #242320; box-shadow: 0 16px 60px #0004; border: 1px solid #ddd6ca; }
.chat-panel[hidden] { display: none; }
.chat-heading { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: #181818; color: white; }
.chat-heading span { display: block; font-size: 12px; color: #d4c9bd; margin-top: 3px; }
.chat-close { border: 0; color: white; background: transparent; font-size: 28px; cursor: pointer; width: 36px; height: 36px; }
.chat-messages { max-height: min(280px, 35dvh); overflow-y: auto; padding: 18px; }
.chat-message { padding: 13px 15px; background: #eae5dc; border-radius: 15px 15px 15px 3px; margin: 0 18px 12px 0; line-height: 1.5; overflow-wrap: anywhere; }
.chat-message-own { margin: 0 0 12px 18px; background: #242320; color: #fff; border-radius: 15px 15px 3px 15px; }
.chat-trial { display: block; margin: 0 18px 16px; padding: 10px 15px; border: 1px solid #d7460b; border-radius: 999px; background: transparent; color: #b43604; font: inherit; font-weight: 700; cursor: pointer; }
.chat-trial:hover { background: #fbe6da; }
.chat-form { display: flex; gap: 8px; margin: 0 18px; }
.chat-form input { width: 100%; min-width: 0; border: 1px solid #cfc7ba; border-radius: 10px; padding: 12px; font: inherit; background: white; }
.chat-form button { width: 44px; flex-shrink: 0; border: 0; border-radius: 10px; background: #ed510d; color: white; font-size: 22px; cursor: pointer; }
.chat-note { font-size: 11px; text-align: center; margin: 12px 10px 16px; color: #706a61; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 520px) { .mock-chat { right: 16px; bottom: 16px; } .chat-launcher { padding: 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .chat-launcher:hover { transform: none; } }
/* Instructor section contrasts with the light About section. */
.home-instructor { background: #141414 !important; color: #f9f7f2; }
.home-instructor p { color: #cfcbc4; }
.home-instructor .about-photo-row > img { box-shadow: 14px 16px 0 #292725; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-instructor .about-photo-row > img:hover { box-shadow: 18px 22px 0 #292725; }
}
/* Google reviews transcribed from the supplied screenshots. */
.google-reviews figure::before { content: none; }
.google-reviews .google-review-author { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.review-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #eae2d5; color: #574532; font-size: .8rem; font-weight: 800; }
.google-reviews figure:nth-child(2) .review-avatar { background: #e0e8de; color: #38513d; }
.google-reviews figure:nth-child(3) .review-avatar { background: #e1e5ee; color: #3a4966; }
.review-source { display: block; margin-top: 3px; color: #6b655d; font-size: .75rem; }
.review-stars { color: #b96a00; font-size: 1.15rem; letter-spacing: .1em; line-height: 1; }
.google-reviews blockquote { margin: 16px 0 0; }
.google-reviews blockquote p { font-size: .95rem; line-height: 1.75; }
