/* Griffon Prep shared public styles. Keep css180.css unchanged; load this last. */
:root {
  --gp-ink: #20211f;
  --gp-muted: #5e625e;
  --gp-green: #005826;
  --gp-line: #dcded9;
  --gp-surface: #f4f4f1;
  --gp-rail: 250px;
  --gp-mobile-header: 88px;
  --gp-space: 24px;
}
html { scroll-padding-top: 24px; }
body.gp-site { max-width: 1200px; margin: 0 auto; color: var(--gp-ink); background: #fff; font: 400 16px/1.7 Montserrat, Arial, sans-serif; }
.gp-site h1, .gp-site h2, .gp-site h3, .gp-site h4, .gp-site h5, .gp-site h6 { font-family: Montserrat, Arial, sans-serif; line-height: 1.35; }
.gp-site h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.gp-site h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.gp-site h3 { font-size: 1.25rem; }
.gp-site p { margin-block: 1em; }
.gp-site a { text-underline-offset: .2em; }
.gp-site a, .gp-site button { -webkit-tap-highlight-color: #00582622; }
.gp-site :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--gp-green); outline-offset: 4px; }
.gp-main { margin-left: var(--gp-rail); min-width: 0; }
.gp-skip-link { position: fixed; top: -100px; left: 18px; z-index: 150; background: #fff; color: #111; padding: 12px 18px; }
.gp-skip-link:focus { top: 12px; }
/* Navigation, logo, and mobile header are the same on every public page. */
.gp-site-nav { position: fixed; z-index: 50; top: 0; bottom: 0; width: var(--gp-rail); padding: 24px 22px; background: #fff; border-right: 1px solid var(--gp-line); overflow-y: auto; overscroll-behavior: contain; font-family: Roboto, Arial, sans-serif; }
.gp-brand { display: block; width: 148px; margin: 0 auto; }
.gp-brand img { display: block; width: 148px; height: 122px; }
.gp-nav-phone { display: block; margin: 13px 0 25px; text-align: center; font-size: 1.15rem; text-decoration: none; }
.gp-nav-links { display: grid; gap: 3px; }
.gp-nav-link { display: block; padding: 8px 12px; color: #555b55; text-decoration: none; font-size: 1.125rem; font-weight: 600; border-radius: 3px; }
.gp-nav-link:hover { background: var(--gp-surface); color: #111; }
.gp-nav-sections { display: none; gap: 2px; margin: 2px 0 8px 13px; border-left: 2px solid var(--gp-line); padding-left: 8px; }
.gp-nav-sections a { display: block; padding: 6px 9px; font-size: .9375rem; line-height: 1.4; color: #515851; text-decoration: none; }
.gp-nav-sections a:hover { text-decoration: underline; }
.gp-page-lsat [data-course="lsat"] .gp-nav-sections, .gp-page-gre [data-course="gre"] .gp-nav-sections, .gp-page-gmat [data-course="gmat"] .gp-nav-sections { display: grid; }
.gp-page-index .gp-link-index, .gp-page-lsat .gp-link-lsat, .gp-page-gre .gp-link-gre, .gp-page-gmat .gp-link-gmat, .gp-page-aboutus .gp-link-aboutus, .gp-page-about .gp-link-aboutus, .gp-page-philosophy .gp-link-philosophy, .gp-page-contactus .gp-link-contactus, .gp-page-contact .gp-link-contactus { color: var(--gp-green); background: #eef4ee; }
.gp-nav-student { margin-top: 20px; padding: 18px 12px 0; border-top: 1px solid var(--gp-line); font-size: .9375rem; }
.gp-nav-close, .gp-mobile-header, .gp-menu-overlay { display: none; }
.gp-page-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; font-size: 1rem; }
.gp-page-bar p { margin: 0; float: none !important; }
.gp-page-bar p:first-child { font-weight: 600; }
.gp-page-title { margin: 0; padding: 48px 16px; text-align: center; font-size: clamp(1.375rem, 3vw, 1.875rem) !important; }
.gp-site .gp-section-heading { font-size: 1.25rem; }
.gp-page-title .w3-tag { padding: 8px 15px; letter-spacing: .03em; }
/* Shared controls and FAQs; product/payment embeds keep their own controls. */
.gp-button, .gp-main .w3-button { min-height: 44px; font-family: inherit; line-height: 1.4; border-radius: 3px; }
.gp-button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; background: var(--gp-ink); color: #fff; border: 1px solid var(--gp-ink); text-decoration: none; font: 600 1rem/1.4 Montserrat, Arial, sans-serif; cursor: pointer; }
.gp-button:hover { background: #3d443e; border-color: #3d443e; color: #fff; }
.gp-main .collapsible { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #606760; color: #fff; padding: 17px 20px; border: 0; width: 100%; text-align: left; font: 600 1rem/1.6 Montserrat, Arial, sans-serif; cursor: pointer; border-radius: 0; }
.gp-main .collapsible p { margin: 0; }
.gp-main .collapsible::after { content: '+'; flex: none; font-size: 1.375rem; font-weight: 400; }
.gp-main .collapsible[aria-expanded="true"]::after { content: '−'; }
.gp-main .collapsible:hover, .gp-main .collapsible.active { background: #444d45; }
.gp-main .collapsible + .content { padding: 2px 20px 6px; background: #f1f3ef; font-size: 1rem; line-height: 1.75; }
.gp-main .testbtn { white-space: normal; }
.gp-ai-policy-link { font-weight: 600; text-decoration: underline; }
.gp-hero-title { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.4rem) !important; }
.gp-hero-subtitle { font-size: clamp(1rem, 2.4vw, 1.75rem); line-height: 1.4; }
.gp-hero-copy { max-width: 100%; padding: 24px 32px; }
.gp-main .overlay { background: rgba(0, 65, 29, .88); opacity: 1; padding: 8px 12px; }
.gp-site #Tutoring { display: none; }
.gp-home-title { font-size: clamp(1.5rem, 3vw, 2.25rem) !important; }
.gp-home-better { margin: 0 !important; font-family: Georgia, serif; font-size: clamp(4rem, 11vw, 8.75rem); line-height: 1.1; }
/* Footer: one shared markup file, one set of styles, crawler-visible links. */
.gp-site-footer { clear: both; margin-top: 40px; padding: 40px 26px 22px; background: var(--gp-surface); border-top: 1px solid var(--gp-line); font-size: .9375rem; line-height: 1.65; text-align: left; }
.gp-footer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); gap: 30px; }
.gp-site-footer h2 { margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.4; font-weight: 700; }
.gp-site-footer h2:not(:first-child) { margin-top: 24px; }
.gp-site-footer p { margin: 0 0 15px; }
.gp-footer-links { padding: 0; margin: 0; list-style: none; }
.gp-footer-links li + li { margin-top: 7px; }
.gp-contact-links { margin-top: 20px; overflow-wrap: anywhere; }
.gp-social-links { display: flex; gap: 8px; margin-top: 20px; }
.gp-social-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; font-size: 1.25rem; }
.gp-contact-form { display: grid; gap: 6px; }
.gp-contact-form label { font-size: .875rem; font-weight: 600; }
.gp-contact-form input:not([type="hidden"]), .gp-contact-form textarea { width: 100%; min-width: 0; padding: 8px 10px; background: #fff; border: 1px solid #b5bcb5; border-radius: 2px; font: inherit; }
.gp-contact-form textarea { resize: vertical; }
.gp-contact-form .gp-button { margin-top: 6px; }
.gp-site-footer .gp-trademarks { margin: 28px 0 12px; padding-top: 22px; border-top: 1px solid var(--gp-line); color: var(--gp-muted); font-size: .8125rem; line-height: 1.7; }
.gp-site-footer .gp-footer-credit { margin: 0; font-size: .8125rem; color: var(--gp-muted); }
/* Shared directions/newsletter dialogs, including existing map and signup URLs. */
.gp-site-modal { z-index: 100; }
.gp-site-modal .w3-modal-content { position: relative; max-width: calc(100vw - 32px); max-height: calc(100vh - 80px); overflow: auto; }
.gp-site-modal iframe { max-width: 100%; border: 0; }
.gp-modal-close { position: absolute; top: 8px; right: 10px; z-index: 1; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #222; font-size: 2rem; line-height: 1; cursor: pointer; }
.gp-site-modal .collapsible { display: block; font: inherit; padding: 14px 18px; }
.gp-site-modal .content iframe { width: 100%; }
@media (max-width: 992px) {
  html { scroll-padding-top: calc(var(--gp-mobile-header) + 16px); }
  body.gp-site { padding-top: var(--gp-mobile-header); }
  .gp-main { margin-left: 0 !important; }
  .gp-site-nav { left: 0; width: min(310px, 87vw); padding-top: 24px; visibility: hidden; transform: translateX(-105%); }
  .gp-site-nav.gp-is-open { visibility: visible; transform: translateX(0); }
  .gp-nav-close { display: block; position: absolute; top: 3px; right: 8px; border: 0; background: transparent; font-size: 2rem; min-width: 44px; min-height: 44px; cursor: pointer; }
  .gp-mobile-header { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--gp-mobile-header); display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: #111; color: #fff; }
  .gp-mobile-brand { flex: none; }
  .gp-mobile-brand img { display: block; width: 60px; height: 50px; object-fit: contain; }
  .gp-mobile-title { display: grid; gap: 2px; font-size: 1rem; font-weight: 600; line-height: 1.4; }
  .gp-mobile-title a { font-weight: 400; font-size: .9375rem; text-decoration: none; }
  .gp-menu-toggle { display: grid; justify-items: center; gap: 6px; margin-left: auto; border: 0; min-width: 48px; min-height: 52px; padding: 8px 5px; background: transparent; color: #fff; font: 400 .875rem/1 Roboto, Arial, sans-serif; cursor: pointer; }
  .gp-menu-icon { display: block; width: 22px; height: 15px; border-block: 2px solid currentColor; position: relative; }
  .gp-menu-icon::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 2px solid currentColor; }
  .gp-menu-overlay:not([hidden]) { display: block; position: fixed; z-index: 45; inset: 0; background: #0007; }
  .gp-site.gp-menu-open { overflow: hidden; }
  .gp-mobile-header :is(a, button):focus-visible { outline-color: #fff; }
}
@media (max-width: 600px) {
  .gp-page-bar { padding: 14px 16px; font-size: .9375rem; }
  .gp-page-title { padding: 34px 12px; }
  .gp-mobile-header { gap: 12px; padding-inline: 14px; }
  .gp-hero-copy { position: static; padding: 16px 0 0; }
  .gp-hero-title { font-size: 1.5rem !important; }
  .gp-hero-subtitle { font-size: 1rem; }
  .gp-site-footer { padding: 30px 20px 22px; }
  .gp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .gp-footer-contact { grid-column: 1 / -1; }
  .gp-footer-links a { display: inline-block; padding-block: 3px; }
  .gp-page-index .w3-display-topleft { padding: 12px 20px !important; }
  .gp-page-index .w3-display-bottommiddle { padding: 12px 20px !important; }
  .gp-home-title { margin: 0; padding: 5px; font-size: 1.25rem !important; background: #ffffffd9; }
  .gp-home-better { font-size: clamp(3rem, 18vw, 6rem); }
}
@media (max-width: 360px) { .gp-footer-grid { grid-template-columns: 1fr; } .gp-mobile-header { gap: 9px; } .gp-mobile-brand img { width: 48px; height: 40px; } }
@media (prefers-reduced-motion: no-preference) { .gp-site-nav { transition: transform .18s ease; } }
@media print { body.gp-site { padding: 0; max-width: none; } .gp-site-nav, .gp-mobile-header, .gp-menu-overlay, .gp-skip-link, .gp-site-footer, .gp-site-modal { display: none !important; } .gp-main { margin: 0; } }
