/* Tracy Rubens SAT/ACT Tutoring — responsive static-site styles */
:root {
  --navy: #0b2344;
  --navy-2: #173a68;
  --gold: #c79536;
  --gold-light: #f4e7c9;
  --ink: #172337;
  --muted: #5f6d7c;
  --paper: #fffdf8;
  --line: #e9e2d6;
  --tint: #f7f4ed;
  --white: #fff;
  --shadow: 0 18px 48px rgba(11, 35, 68, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; }
.skip-link:focus { left: 12px; background: white; padding: 10px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,253,248,.96);
  border-bottom: 1px solid rgba(11,35,68,.08);
  backdrop-filter: blur(12px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 74px; height: 74px; object-fit: contain; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 28px); }
.site-nav a { text-decoration: none; color: var(--navy); font-size: .92rem; font-weight: 650; }
.site-nav a:hover { color: #9a6d1c; }
.site-nav .nav-cta { padding: 11px 17px; color: white; background: var(--navy); border-radius: 999px; }
.site-nav .nav-cta:hover { color: white; background: var(--navy-2); }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 9px 13px; color: var(--navy); font: inherit; font-weight: 650; }
.hero { overflow: hidden; color: white; background: radial-gradient(circle at 82% 18%, #284d7a 0, transparent 32%), linear-gradient(130deg, #081a34, #102f56 66%, #193b65); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); align-items: center; gap: 52px; padding-block: clamp(56px, 8vw, 100px); }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 12px; color: #9a6d1c; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
.hero .eyebrow { color: #efd69f; }
h1,h2,h3,p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 18px; font: 650 clamp(2.45rem, 5vw, 4.35rem)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.hero-lead { max-width: 630px; color: #e1e8f0; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #1b2430; }
.button.primary:hover { background: #ddb35e; }
.button.secondary { color: white; border-color: rgba(255,255,255,.5); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: #dbe5f0; font-size: .9rem; }
.trust-list li::before { content: "✓"; color: #f0c96f; margin-right: 8px; font-weight: 900; }
.hero-card { position: relative; padding: 30px; min-height: 350px; display: grid; place-items: center; }
.score-card { width: min(100%, 405px); padding: 25px 26px; color: var(--ink); background: white; border-radius: 20px; box-shadow: 0 22px 60px rgba(0,0,0,.23); transform: rotate(1deg); }
.score-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; color: var(--navy); font-size: .86rem; font-weight: 800; }
.score-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-light); color: var(--navy); font-weight: 850; }
.progress-row { display: flex; justify-content: space-between; gap: 10px; margin: 16px 0 7px; font-size: .85rem; }
.progress-row strong { color: #947024; }
.progress { height: 8px; overflow: hidden; background: #edf0f4; border-radius: 99px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e1bd72); border-radius: inherit; }
.score-card > p { margin: 23px 0 0; color: var(--muted); font-size: .85rem; }
.floating-note { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; border: 4px solid white; border-radius: 17px; background: #f5f0e6; color: var(--navy); font: 800 1rem Georgia, serif; box-shadow: var(--shadow); }
.note-one { top: 20px; left: 1px; transform: rotate(-10deg); }
.note-two { top: 50px; right: 0; transform: rotate(8deg); }
.note-three { bottom: 0; left: 16px; transform: rotate(8deg); }
.proof-strip { background: white; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; padding-block: 25px; }
.proof-grid > div { display: grid; gap: 1px; }
.proof-grid strong { color: var(--navy); font: 700 1.15rem Georgia, serif; }
.proof-grid span { color: var(--muted); font-size: .8rem; }
.section { padding-block: clamp(62px, 8vw, 98px); }
.tint { background: var(--tint); }
.section-heading { max-width: 730px; margin: 0 auto 38px; text-align: center; }
.section-heading h2, .split h2, .about-grid h2, .step-grid h2, .contact-grid h2 { margin-bottom: 14px; color: var(--navy); font: 650 clamp(2rem, 3.7vw, 3.1rem)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3,1fr); }
.service-card { padding: 27px 27px 25px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(11,35,68,.045); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--gold-light); color: var(--navy); font-weight: 850; }
.service-card h3 { margin-bottom: 10px; color: var(--navy); font: 700 1.35rem Georgia, serif; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.service-card li { display: flex; gap: 9px; }
.service-card li::before { content: "•"; color: var(--gold); font-weight: 900; }
.split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 56px; align-items: center; }
.large-copy { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.steps { display: grid; gap: 11px; margin-top: 27px; }
.steps > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.steps > div > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: white; font-weight: 800; }
.steps p { margin: 2px 0 0; color: var(--muted); }
.steps strong { color: var(--navy); }
.quote-panel { padding: 30px; border-radius: 18px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.quote-mark { margin: 0; color: var(--gold); font: 4rem/.7 Georgia, serif; }
.quote-panel blockquote { margin: 18px 0; font: 1.22rem/1.55 Georgia, serif; }
.quote-source { margin: 0; color: #e6c982; font-size: .85rem; font-weight: 700; }
.step-grid { display: grid; grid-template-columns: 245px 1fr; gap: 48px; align-items: center; }
.step-badge { display: grid; place-items: center; min-height: 235px; padding: 25px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; color: var(--navy); }
.step-badge span,.step-badge small { color: #977126; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.step-badge strong { margin: 10px 0; font: 700 1.65rem/1.15 Georgia,serif; }
.step-grid p { color: var(--muted); }
.small-note { font-size: .85rem; }
.text-link { color: #875e18; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.success-section { background: #fff; }
.success-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(285px,.86fr); gap: 28px; align-items: start; }
.photo-gallery { columns: 3 180px; column-gap: 13px; }
.gallery-item { display: block; margin: 0 0 13px; break-inside: avoid; overflow: hidden; border-radius: 12px; background: #f1eee8; box-shadow: 0 6px 20px rgba(11,35,68,.10); }
.gallery-item img { width: 100%; height: auto; transition: transform .25s ease, filter .25s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.06); }
.quote-sidebar { padding: 22px; border: 1px solid #e8ddc8; border-radius: 18px; background: #f8f3e9; }
.quote-sidebar-heading { margin-bottom: 17px; }
.quote-sidebar-heading .eyebrow { margin-bottom: 7px; }
.quote-sidebar h3 { margin: 0 0 8px; color: var(--navy); font: 700 1.55rem Georgia,serif; }
.sample-note { margin: 0; color: #746a58; font-size: .76rem; line-height: 1.5; }
.sample-quote { margin: 12px 0 0; padding: 16px; border: 1px solid rgba(199,149,54,.28); border-radius: 13px; background: rgba(255,255,255,.8); }
.sample-quote blockquote { margin: 0 0 9px; color: #29374a; font: 1rem/1.5 Georgia,serif; }
.sample-quote figcaption { color: #8a6828; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.about-grid { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 58px; align-items: center; }
.about-photo-wrap { overflow: hidden; max-width: 430px; border: 8px solid white; border-radius: 22px; background: white; box-shadow: var(--shadow); }
.about-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 35%; }
.about-grid p { color: var(--muted); }
.credentials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.credentials span { padding: 8px 12px; border: 1px solid #e3d8c5; border-radius: 999px; background: white; color: var(--navy); font-size: .78rem; font-weight: 700; }
.narrow { max-width: 820px; }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-weight: 750; cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.contact-section { padding-block: clamp(60px,8vw,90px); color: white; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(340px,.9fr); gap: 60px; align-items: start; }
.contact-grid h2 { color: white; }
.contact-grid > div > p:not(.eyebrow) { max-width: 550px; color: #d6e0eb; }
.eyebrow.light { color: #f1d38f; }
.contact-links { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 25px; }
.contact-links a { color: #f1d38f; font-weight: 750; text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 15px; padding: 24px; border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.contact-form label { display: grid; gap: 6px; color: var(--navy); font-size: .85rem; font-weight: 750; }
.contact-form input,.contact-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d9dfe7; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus,.contact-form textarea:focus { outline: 3px solid rgba(199,149,54,.25); border-color: var(--gold); }
.contact-form .form-note { margin: 0; color: #687587; font-size: .73rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 30px; }
footer { background: #07172d; color: #dce4ec; }
footer img { width: 92px; height: 92px; border-radius: 50%; object-fit: contain; background: white; }
footer p { margin: 10px 0 0; font-size: .83rem; }
.lightbox { position: fixed; width: min(94vw, 1200px); max-width: none; max-height: 92vh; padding: 18px; overflow: visible; border: 0; border-radius: 16px; background: #0b1728; box-shadow: 0 25px 90px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(2,8,18,.88); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; margin: auto; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border: 2px solid white; border-radius: 50%; color: white; background: var(--navy); font-size: 1.55rem; cursor: pointer; }
@media (max-width: 940px) {
  .site-nav { gap: 12px; }
  .site-nav a { font-size: .82rem; }
  .hero-grid { gap: 25px; }
  .success-layout { grid-template-columns: minmax(0,1.45fr) minmax(260px,.9fr); gap: 18px; }
  .photo-gallery { columns: 2 150px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, 620px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 60px; height: 60px; }
  .menu-button { display: inline-block; }
  .site-nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; padding: 14px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(11,35,68,.1); }
  .site-nav.is-open { display: grid; align-items: stretch; }
  .site-nav a { padding: 8px 5px; font-size: .96rem; }
  .site-nav .nav-cta { text-align: center; margin-top: 5px; padding: 11px 15px; }
  .hero-grid,.split,.step-grid,.about-grid,.contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; padding-block: 55px; }
  .hero-card { min-height: 310px; padding: 25px; }
  .score-card { transform: none; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .cards.three { grid-template-columns: 1fr; }
  .split,.about-grid { gap: 32px; }
  .step-grid { gap: 25px; }
  .step-badge { width: min(100%,250px); min-height: 180px; margin-inline: auto; }
  .success-layout { grid-template-columns: 1fr; }
  .photo-gallery { columns: 2 140px; }
  .quote-sidebar { order: 2; }
  .about-photo-wrap { max-width: 390px; margin-inline: auto; }
  .contact-grid { gap: 30px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .photo-gallery { columns: 2 115px; column-gap: 9px; }
  .gallery-item { margin-bottom: 9px; border-radius: 9px; }
  .quote-sidebar { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Keep the photo gallery within the quote panel's vertical footprint. */
.photo-gallery {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
@media (max-width: 760px) {
  .photo-gallery {
    height: min(440px, 62vh);
    max-height: 440px;
  }
}


/* Compact customer reviews while keeping every testimonial readable. */
.quote-sidebar-heading { margin-bottom: 10px; }
.sample-quote { margin: 9px 0 0; padding: 11px 12px; }
.sample-quote blockquote { font-size: .88rem; line-height: 1.4; }
.sample-quote figcaption { margin-top: 7px; }
