/* ============================================================
   kit.css — component layer (forked from lct-site lct.css, recolored PSM purple) on top of the jdm-site
   system (site.css + home.css, recolored). Only components that site
   never needed live here: level chips, tutor grid, book-cover row,
   pricing cards, video grid, footer link row, two-part utility bar.
   LCT palette: navy #2d1b4e / #160d26, teal #9333ea (fill) and
   #7e22ce (text + buttons, 5.5:1 on white), cream #faf7f2.
   ============================================================ */

body.home { --lct-cream: #faf7f2; --lct-ink: #2d1b4e; --lct-teal: #7e22ce; --lct-teal-fill: #9333ea; color: #2a2438; }

/* utility bar: contact left, portal links right */
.h-top .h-wrap { justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.h-top-contact, .h-top-links { display: inline-flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; align-items: center; }

.h-logo img { height: 58px; }
.h-nav a[aria-current="page"] { color: var(--lct-teal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.h-foot-logo { filter: none; }

/* "built on the research in" book row */
.lct-books { align-items: flex-end; gap: clamp(1.2rem, 4vw, 3rem) !important; }
.lct-books img { height: clamp(150px, 16vw, 210px) !important; width: auto !important; max-width: none !important; box-shadow: 0 14px 30px -12px rgba(22, 13, 38, .45); border-radius: 3px; filter: none !important; opacity: 1 !important; }
.lct-seen-note { text-align: center; margin: 1.6rem auto 0; font-size: 1rem; color: #5b5470; max-width: 60ch; }

/* stats row: four across on the homepage about block */
.h-about .lct-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 1.8rem 0 1.6rem; }
.h-about .lct-stats div { border-top: 3px solid var(--lct-teal-fill); padding-top: 0.6rem; min-width: 6.5rem; }
.h-about .lct-stats b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--lct-ink); line-height: 1.1; }
.h-about .lct-stats span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #5b5470; }

/* who we tutor */
.lct-chips { list-style: none; padding: 0; margin: 1.4rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 980px; }
.lct-chips li { border: 2px solid var(--lct-ink); color: var(--lct-ink); border-radius: 999px; padding: 0.55rem 1.3rem; font-weight: 700; font-size: 1rem; }
.lct-subjects { text-align: center; margin: 1.6rem auto 0; font-weight: 600; color: var(--lct-teal); letter-spacing: 0.02em; }

/* tutor grid (homepage strip + /tutors) */
.lct-center-sub { text-align: center; max-width: 60ch; margin: 1rem auto 2.4rem; font-size: 1.1rem; }
.lct-tutors { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 1.6rem; }
.lct-tutors.four { grid-template-columns: repeat(4, 1fr); }
.lct-tutors li { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lct-tutors img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; margin-bottom: 1rem; box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--lct-teal-fill); }
.lct-tutors b { font-size: 1.15rem; color: var(--lct-ink); }
.lct-tutors span { font-size: 0.92rem; color: #5b5470; margin-top: 0.25rem; }
.lct-tutors em { font-style: normal; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lct-teal); margin-top: 0.45rem; }
.h-reviews .center, p.center { text-align: center; }
@media (max-width: 860px) { .lct-tutors.four { grid-template-columns: repeat(2, 1fr); } .lct-tutors img { width: 132px; height: 132px; } }

/* full tutor cards on /tutors */
.lct-tutor-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.lct-tutor-cards li { background: #fff; border-radius: 18px; padding: 1.8rem; box-shadow: 0 10px 30px -18px rgba(22, 13, 38, .45); display: flex; flex-direction: column; }
.lct-tutor-cards .who { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.lct-tutor-cards img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.lct-tutor-cards h3 { font-size: 1.2rem; color: var(--lct-ink); }
.lct-tutor-cards .yrs { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lct-teal); }
.lct-tutor-cards .cred { font-size: 0.88rem; color: #5b5470; margin: 0 0 0.8rem; }
.lct-tutor-cards .subj { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: auto 0 0; }
.lct-tutor-cards .subj li { background: #f3e8ff; color: var(--lct-teal); font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; box-shadow: none; }
.lct-tutor-cards p { font-size: 0.98rem; line-height: 1.55; margin: 0 0 1rem; }

/* pricing */
.lct-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.lct-plan { background: #fff; border: 2px solid #e6ddf3; border-radius: 22px; padding: 2.2rem 1.9rem; display: flex; flex-direction: column; position: relative; }
.lct-plan.best { border-color: var(--lct-teal-fill); box-shadow: 0 24px 50px -28px rgba(147, 51, 234, .7); }
.lct-plan .tag { position: absolute; top: -0.95rem; left: 50%; transform: translateX(-50%); background: var(--lct-teal); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px; white-space: nowrap; }
.lct-plan h3 { font-size: 1.35rem; color: var(--lct-ink); }
.lct-plan .price { font-size: 3.2rem; font-weight: 800; color: var(--lct-ink); line-height: 1; margin: 1rem 0 0.2rem; }
.lct-plan .price small { font-size: 1rem; font-weight: 600; color: #5b5470; }
.lct-plan .note-line { font-size: 0.92rem; color: var(--lct-teal); font-weight: 700; margin: 0 0 1.2rem; }
.lct-plan .h-checks { margin-bottom: 1.6rem; }
.lct-plan .h-btn { margin-top: auto; }
.lct-tiers { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.lct-tiers li { background: var(--lct-cream); border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.95rem; }
.lct-tiers b { color: var(--lct-ink); }
@media (max-width: 960px) { .lct-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* steps */
.lct-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.lct-steps li { counter-increment: s; }
.lct-steps li::before { content: counter(s); display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--lct-teal); color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; }
.lct-steps h3 { font-size: 1.2rem; color: var(--lct-ink); margin-bottom: 0.5rem; }
@media (max-width: 860px) { .lct-steps { grid-template-columns: 1fr; } }

/* four pillars / four actions */
.lct-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.lct-four li { background: #fff; border-top: 5px solid var(--lct-teal-fill); border-radius: 0 0 16px 16px; padding: 1.5rem 1.3rem; box-shadow: 0 10px 30px -20px rgba(22, 13, 38, .5); }
.lct-four h3 { font-size: 1.2rem; color: var(--lct-ink); margin-bottom: 0.6rem; }
.lct-four p { font-size: 0.98rem; margin: 0; }
.dark .lct-four li { background: rgba(255, 255, 255, .06); box-shadow: none; }
.dark .lct-four h3, .dark .lct-four p { color: #fff; }
@media (max-width: 960px) { .lct-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lct-four { grid-template-columns: 1fr; } }

/* video library */
.lct-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.lct-videos a { display: block; color: inherit; text-decoration: none; }
.lct-videos .thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--lct-ink); }
.lct-videos .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.lct-videos a:hover .thumb img { transform: scale(1.03); }
.lct-videos .dur { position: absolute; right: 0.6rem; bottom: 0.6rem; background: rgba(22, 13, 38, .85); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.lct-videos h3 { font-size: 1.1rem; color: var(--lct-ink); margin: 0.9rem 0 0.35rem; }
.lct-videos p { font-size: 0.95rem; margin: 0; color: #5b5470; }

/* sections on cream */
.lct-cream { background: var(--lct-cream); }
.lct-sec { padding: clamp(4rem, 8vw, 6rem) 0 !important; }
.lct-sec.dark { background: linear-gradient(180deg, #241640, #160d26); color: #fff; }
.lct-sec.dark .p-title, .lct-sec.dark .p-title-sub { color: #fff; }

/* footer link row */
.h-foot-links { border-top: 1px solid rgba(255, 255, 255, .12); }
.h-foot-links .h-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; padding-block: 1.2rem; }
.h-foot-links a { color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.h-foot-links a:hover { text-decoration: underline; }

/* GED facts band */
.lct-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0 0; }
.lct-facts div { background: var(--lct-cream); border-radius: 14px; padding: 1.2rem; text-align: center; }
.lct-facts b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--lct-ink); }
.lct-facts span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lct-teal); }
@media (max-width: 760px) { .lct-facts { grid-template-columns: repeat(2, 1fr); } }

/* ---- overrides of jdm-site rules that carried Jessica's photos or plum light ---- */
body.home { --h-plum: #160d26; }
.h-hero {
  background:
    radial-gradient(38% 70% at 22% 55%, rgba(147, 51, 234, 0.75), transparent 72%),
    radial-gradient(45% 70% at 100% 100%, rgba(147, 51, 234, 0.28), transparent 70%),
    linear-gradient(90deg, #1f0f36 0%, #221442 48%, #160d26 100%);
}
.h-duo::after { background: linear-gradient(35deg, rgba(45, 27, 78, 0.95) 0%, rgba(58, 34, 102, 0.5) 45%, rgba(147, 51, 234, 0.55) 100%); }
.h-duo::before { background: linear-gradient(35deg, rgba(22, 13, 38, 0.35), transparent 60%); }
.h-clients {
  background:
    linear-gradient(90deg, rgba(251, 249, 243, 0.94), rgba(240, 250, 248, 0.92));
}
.h-gain {
  background:
    linear-gradient(90deg, var(--h-deep) 0%, var(--h-deep) 44%, rgba(22, 13, 38, 0.7) 54%, rgba(22, 13, 38, 0) 66%),
    #2d1b4e;
}
@media (max-width: 860px) {
  .h-gain { background: linear-gradient(180deg, rgba(22,13,38,.35), var(--h-deep) 58%), #2d1b4e; padding-top: 340px !important; }
}
.h-callout a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.h-nav ul { flex-wrap: nowrap; }
.h-nav a { white-space: nowrap; }

.h-foot { background: radial-gradient(60% 120% at 0% 0%, rgba(147, 51, 234, .22), transparent 70%), linear-gradient(180deg, #2d1b4e 0%, #160d26 100%); }
.h-foot-base { background: #0f0819; }
.h-about .h-stack .big { font-size: clamp(3rem, 1.6rem + 5.2vw, 6.4rem); }

/* contact hero list, FAQ page headings, step labels */
.lct-contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.lct-contact-list li { display: flex; flex-direction: column; border-left: 3px solid var(--lct-teal-fill); padding-left: 1rem; }
.lct-contact-list b { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fbbf24; }
.lct-contact-list a { color: #fff; font-weight: 700; font-size: 1.15rem; }
.lct-contact-list span { color: rgba(255, 255, 255, .8); font-size: 0.95rem; }
.lct-faq-page h2 { font-size: 1.5rem !important; margin: 2.6rem 0 0.8rem !important; text-align: left; }
.lct-faq-page h2:first-child { margin-top: 0 !important; }
.lct-faq-page details p + p { margin-top: 0.6rem; }
.lct-steps small { font-weight: 600; color: var(--lct-teal); font-size: 0.85rem; }
.p-hero-figure.frame img { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.p-prose h2 { font-size: 1.4rem; color: var(--lct-ink); margin: 2rem 0 0.6rem; }
.p-prose { max-width: 70ch; }

@media (max-width: 760px) {
  .h-top-links { display: none; }
  .h-top .h-wrap { justify-content: center; }
  .lct-books { display: grid !important; grid-template-columns: repeat(2, auto); justify-content: center; }
  .lct-books img { height: 170px !important; }
}

/* book shelf with store links (/about#books) */
.lct-shelf { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.6rem; align-items: start; }
.lct-shelf li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lct-shelf img { height: 240px; width: auto; box-shadow: 0 14px 30px -12px rgba(22, 13, 38, .45); border-radius: 3px; margin-bottom: 1rem; transition: transform .2s ease; }
.lct-shelf a:hover img { transform: translateY(-4px); }
.lct-shelf b { color: var(--lct-ink); font-size: 1.02rem; line-height: 1.25; }
.lct-shelf span { font-size: 0.85rem; color: #5b5470; margin: 0.3rem 0 0.6rem; }
.lct-shelf em { font-style: normal; font-weight: 700; font-size: 0.9rem; }
.lct-shelf em a { color: var(--lct-teal); }
@media (max-width: 860px) { .lct-shelf { grid-template-columns: repeat(2, 1fr); } .lct-shelf img { height: 190px; } }
.lct-buy { justify-content: flex-start !important; flex-wrap: wrap; gap: 0.7rem !important; margin-top: 1.4rem; }

/* head-and-shoulders cut-outs (Terry): smaller, whole face in view, no overlapping quote */
.p-hero-figure.cut.head img { max-height: 520px; width: auto; max-width: 100%; margin-right: 0; }
@media (max-width: 860px) { .p-hero-figure.cut.head img { max-height: 380px; } }
.p-quote-wrap.no-overlap { margin-top: 0 !important; padding-top: clamp(3rem, 6vw, 4.5rem) !important; }
