/* Reference direction: ink, parchment, vermilion, and editorial serif type. */
:root {
  --color-page: #f3eee3;
  --color-section-alt: #eae3d6;
  --color-surface: #faf6ee;
  --color-ink: #171714;
  --color-muted: #514c43;
  --color-line: #c9c0b1;
  --color-brand: #ae191e;
  --color-brand-hover: #cf252b;
  --color-brand-dark: #0b0c0b;
  --color-accent: #ae191e;
  --color-on-brand: #fff9ee;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;
  --radius: 0;
  --button-radius: 0;
  --site-width: 1280px;
  --gutter: clamp(22px, 5.5vw, 88px);
  --section-space: clamp(64px, 7vw, 108px);
}

body { font-size: 18px; }
::selection { background: #ae191e; color: #fff9ee; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #df565b; outline-offset: 6px; }
.site-header { background: #0b0c0b; border: 0; box-shadow: none; padding-block: 24px; }
.nav { gap: 36px; }
.brand { color: #f8f3e8; gap: 16px; flex-shrink: 0; }
.brand-calligraphy { color: #b51e24; font-family: KaiTi, STKaiti, serif; font-size: 64px; font-weight: 400; line-height: 1; }
.brand-wordmark { display: grid; gap: 6px; }
.brand-wordmark strong { font-size: clamp(26px, 3.3vw, 44px); font-weight: 400; line-height: 1; text-transform: uppercase; letter-spacing: .025em; }
.brand-wordmark small { font-size: 10px; letter-spacing: .31em; text-transform: uppercase; }
.nav::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, #bb2027, transparent); order: 1; }
.nav-links { order: 2; gap: 38px; }
.nav-links a { position: relative; color: #eee7db; font-size: 18px; font-weight: 400; letter-spacing: .015em; text-transform: none; }
.nav-links a::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: #d82c34; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { color: #f3eee3; border-color: #63594d; }

.hero h1, .section h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.section h2 { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 26px; }
.section p { line-height: 1.6; }
.section .section-eyebrow, .hero .section-eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; color: #b81c24; font: 600 12px/1.5 Arial, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.section-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; flex: 0 0 auto; }
.home-hero { isolation: isolate; color: #f9f4e9; background: #0b0c0b; padding-block: 36px 70px; }
.home-hero .inner { padding-block: 0; }
.home-hero .photo-layout { display: block; min-height: 690px; }
.home-hero .photo-copy { position: relative; z-index: 2; width: 57%; padding-block: 20px; }
.home-hero .photo-layout h1 { font-size: clamp(48px, 5.6vw, 82px); margin-bottom: 26px; }
.home-hero h1::after { content: ""; display: block; width: 66px; height: 2px; margin-top: 27px; background: #c9232a; }
.home-hero p:not(.section-eyebrow) { font-size: 18px; line-height: 1.5; color: #ddd7ce; max-width: 550px; }
.home-hero .hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 62%; height: 100%; max-width: none; aspect-ratio: auto; object-position: 57% center; }
.home-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b0c0b 10%, rgba(11,12,11,.97) 29%, rgba(11,12,11,.75) 44%, rgba(11,12,11,.08) 75%), linear-gradient(0deg, #0b0c0b, transparent 18%); pointer-events: none; }
.home-hero .trial-offer { display: inline-block; margin-top: 24px; padding: 11px 22px; border: 1px solid #aaa397; color: #f8f3e8; }
.trial-offer strong { font-size: 22px; font-weight: 400; }
.hero-actions { margin-top: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 56px; padding: 16px 30px; border: 1px solid transparent; background: #ae191e; color: #fff9ee; box-shadow: none; font: 400 18px/1.3 Georgia, serif; letter-spacing: .09em; text-transform: lowercase; transition: background .25s, transform .25s, box-shadow .25s; }
.button::after { content: "\2192"; font-size: 26px; line-height: 1; transition: transform .25s; }
.button:hover, .button:focus-visible { background: #ca242b; color: #fff; transform: translateY(-3px); box-shadow: 0 9px 26px #ae191e30; }
.button:hover::after { transform: translateX(5px); }
.button:active { transform: translateY(0); }

.home-intro { background: #f3eee3; }
.photo-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.photo-layout > .school-photo { transition: box-shadow .4s; }
.instructor-photo { aspect-ratio: 4 / 5; object-position: 40% center; }
.instructor-note { position: relative; margin-top: 32px; padding-left: 24px; border-left: 2px solid #bb2027; }
.instructor-note h3 { margin: 0 0 10px; font-size: 27px; font-weight: 400; }
.instructor-note p { font-size: 16px; }

.section.home-services { background: #0b0c0b; color: #f3eee3; }
.home-services h2 { max-width: 100%; }
.service-list { gap: 38px 26px; counter-reset: program; }
.service-item { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 24px; border-bottom: 1px solid #494640; transition: border-color .3s, transform .3s; counter-increment: program; }
.service-item .program-photo { aspect-ratio: 16 / 10; margin-bottom: 20px; transition: transform .5s; }
.service-item h3::before { content: "0" counter(program); display: block; color: #e1484e; font-size: 16px; letter-spacing: .08em; margin-bottom: 8px; }
.service-item h3 { color: #f3eee3; font-size: 28px; font-weight: 400; margin: 0 0 12px; }
.service-item p { color: #c5c0b7; font-size: 17px; line-height: 1.5; margin: 0; }
.service-item:hover { border-color: #ce2b32; transform: translateY(-5px); }
.home-services .section-outro { margin-top: 34px; padding-top: 26px; border-top: 1px solid #494640; display: flex; gap: 36px; align-items: center; justify-content: space-between; }
.home-services .section-outro p { color: #c5c0b7; max-width: 640px; font-size: 17px; }
.home-services .section-outro .hero-actions { flex-shrink: 0; margin: 0; }
.home-why-us { background: #eee7d9; }
.progress-photo { max-height: 590px; }
.section.reviews { background: #e6ddcc; text-align: center; }
.reviews .section-eyebrow { justify-content: center; }
.reviews h2, .reviews p { margin-inline: auto; }
.reviews .reviews-intro { max-width: 620px; font-size: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; text-align: left; }
.review-card { display: flex; flex-direction: column; padding: clamp(22px, 2.5vw, 34px); background: #f7f1e7; border: 1px solid #c9bfae; border-top: 2px solid #ae191e; transition: transform .3s, box-shadow .3s; }
.review-stars { color: #9b6418; font-size: 20px; letter-spacing: .12em; }
.review-card blockquote { margin: 20px 0 28px; }
.review-card blockquote p { font-size: 17px; line-height: 1.65; color: #39362e; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #d5cbbb; }
.review-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #ae191e; color: #fff9ee; font: 18px Georgia, serif; }
.review-author h3 { margin: 0 0 4px; font: 400 18px Georgia, serif; color: #171714; }
.review-source { font: 12px/1.4 Arial, sans-serif; color: #645b4c; }
@media (hover: hover) and (pointer: fine) {
  .review-card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px #33251412; }
}
@media (max-width: 1000px) {
  .review-grid { grid-template-columns: 1fr; }
  .review-card blockquote p { max-width: none; }
}
.section.location-contact { background: #0f100e; color: #f3eee3; }
.location-contact p { color: #c9c4b9; }
.contact-card { background: transparent; border: 0; border-left: 2px solid #ae191e; border-radius: 0; padding: 4px 0 4px 22px; margin-block: 30px; box-shadow: none; }
.contact-details { color: #e6dfd3; font-size: 18px; }
.contact-details strong { font-weight: 400; }
.contact-details a { text-underline-offset: 5px; }
.site-footer { background: #0b0c0b; color: #eee6d9; border-top: 1px solid #37352f; }
.site-footer p, .footer-links a, .footer-visit address, .footer-bottom { color: #aaa59c; }
.footer-column h2 { color: #f3eee3; font-family: Georgia, serif; font-size: 21px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.footer-lockup { color: #f3eee3; font-size: 22px; }
.footer-lockup strong { font-weight: 400; }
.footer-bottom-wrap { border-color: #37352f; }
.footer-links a, .footer-visit a, .contact-details a { transition: color .25s; }
.footer-links a:hover, .footer-visit a:hover, .contact-details a:hover { color: #eb666b; }
.lead-modal-panel { border-top: 3px solid #ae191e; }

.mock-trial-form { margin-top: 24px; }
.lead-capture-placeholder:has(.mock-trial-form) { display: block; padding: 0; border: 0; background: transparent; min-height: 0; }
.mock-trial-form input { background: #fffaf2; border-color: #bdb2a0; }
.lead-modal-panel .mock-form-note { font: 13px/1.5 Arial, sans-serif; }
.mock-form-status { border-left: 2px solid #ae191e; padding-left: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mock-chat { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; font-family: Arial, sans-serif; }
.mock-chat-launcher { display: flex; align-items: center; justify-content: center; gap: 10px; margin-left: auto; min-height: 54px; padding: 14px 22px; border: 1px solid #dd555b; background: #ae191e; color: #fff9ee; font: 15px Arial, sans-serif; cursor: pointer; box-shadow: 0 6px 28px #0003; transition: background .2s, transform .2s; }
.mock-chat-launcher:hover { background: #ca242b; transform: translateY(-3px); }
.mock-chat-panel { display: flex; flex-direction: column; width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 112px)); margin-bottom: 14px; background: #f3eee3; border: 1px solid #bdb2a0; box-shadow: 0 12px 48px #0004; }
.mock-chat-panel[hidden] { display: none; }
.mock-chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px; background: #10110f; color: #f3eee3; border-top: 3px solid #ae191e; }
.mock-chat-header h2 { margin: 0 0 7px; font: 24px/1.2 Georgia, serif; }
.mock-chat-header p { margin: 0; font-size: 11px; color: #c2baad; }
.mock-chat-close { flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #655d51; color: #f3eee3; background: transparent; font-size: 26px; cursor: pointer; }
.mock-chat-messages { min-height: 100px; overflow-y: auto; padding: 18px; overscroll-behavior: contain; }
.chat-message { width: fit-content; max-width: 92%; margin: 0 0 12px; padding: 12px; background: #e3dacb; color: #29261f; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-message:last-child { margin-bottom: 0; }
.chat-message-user { margin-left: auto; background: #ae191e; color: #fff9ee; }
.mock-chat-form { display: flex; flex-shrink: 0; gap: 8px; margin: 0; padding: 12px; border-top: 1px solid #c9c0b1; }
.mock-chat-form input { width: 100%; min-width: 0; border: 1px solid #bdb2a0; background: #fffaf2; color: #29261f; padding: 12px; font: 16px Arial, sans-serif; }
.mock-chat-form button { width: 46px; flex-shrink: 0; border: 0; background: #ae191e; color: white; font-size: 24px; cursor: pointer; }
.mock-chat-form button:hover { background: #ca242b; }
.mock-chat-note { margin: 0; padding: 0 12px 12px; color: #514c43; font-size: 11px; line-height: 1.4; }
@media (max-width: 720px) {
  .mock-chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .mock-chat-launcher { min-height: 48px; padding: 12px 16px; }
  .lead-modal { padding: 16px; }
  .lead-modal-panel { padding: 38px 22px 24px; max-height: calc(100dvh - 32px); }
}

/* Only JS-enhanced, offscreen items are hidden; content remains visible on failure. */
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-visible { opacity: 1; transform: translateY(0); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.25,1); transition-delay: var(--reveal-delay, 0ms); }
@media (hover: hover) and (pointer: fine) {
  .photo-layout > .school-photo:hover { box-shadow: 10px 10px 0 #ae191e; }
  .service-item:hover .program-photo { transform: scale(1.025); }
}
@media (max-width: 1050px) {
  .nav { gap: 20px; }
  .nav::after { display: none; }
  .nav-links { gap: 24px; }
  .brand-calligraphy { font-size: 48px; }
  .home-hero .photo-copy { width: 62%; }
  .home-services .section-outro { display: block; }
  .home-services .section-outro .hero-actions { margin-top: 24px; }
}
@media (max-width: 900px) {
  .photo-layout { grid-template-columns: 1fr; }
  .home-hero .photo-layout { min-height: 0; }
  .photo-layout > .school-photo { max-width: none; }
  .instructor-photo { aspect-ratio: 4 / 3; }
  .progress-photo, .welcome-photo { max-width: 560px !important; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { padding-block: 18px; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { grid-column: 2; }
  .brand { gap: 10px; }
  .brand .brand-calligraphy { display: block; font-size: 39px; }
  .brand .brand-wordmark { display: grid; overflow: visible; }
  .brand-wordmark strong { font-size: 27px; }
  .brand-wordmark small { font-size: 7px; letter-spacing: .22em; }
  .nav-links { border-color: #37352f; padding-top: 14px; }
  .nav-links a { font-size: 19px; }
  .home-hero { padding-top: 18px; padding-bottom: 0; }
  .home-hero .photo-copy { width: 100%; padding-bottom: 28px; }
  .home-hero .photo-layout h1 { max-width: 600px; font-size: clamp(43px, 8.7vw, 64px); }
  .home-hero .hero-photo { position: relative; z-index: 0; width: calc(100% + var(--gutter) * 2); max-width: none; margin-inline: calc(var(--gutter) * -1); height: auto; aspect-ratio: 1.15; object-position: center 48%; }
  .home-hero::after { display: none; }
  .hero .section-eyebrow { font-size: 10px; letter-spacing: .16em; }
  .hero .section-eyebrow::before { display: none; }
  .section h2 { font-size: clamp(36px, 8vw, 50px); }
  .service-list { grid-template-columns: 1fr; gap: 32px; }
  .service-item .program-photo { aspect-ratio: 16 / 10; }
  .section-outro .button { width: 100%; }
  .trial-offer strong { font-size: 19px; }
  .button { font-size: 16px; padding-inline: 22px; }
  .footer-content { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending, .reveal-visible { opacity: 1; transform: none; }
  .button:hover, .button:hover::after, .service-item:hover, .service-item:hover .program-photo, .mock-chat-launcher:hover, .review-card:hover { transform: none; }
}
