/* Perfect Scorer Mindset — perfectscorermindset.com
   The brochure, as a website (owner picked "A, Brochure" from four mockups, 2026-11-20): black and
   white, black rounded bands with a swooped corner, grey pill headings that run off the left edge,
   and one green badge. Cinzel stands in for the brochure's Trajan (capitals with small capitals for
   lowercase, so pill headings are typed in ordinary case); Montserrat is the brochure's own body face.
   The logo is the owner's image file. */

:root{
  --ink:#111111; --black:#000000; --paper:#ffffff; --grey:#e6e7e9; --soft:#f2f3f4;
  --dim:#4a4a4f; --line:#c9cace; --green:#14804a;
  --display:'Cinzel','Trajan Pro','Times New Roman',serif;
  --sans:'Montserrat','Segoe UI',Arial,sans-serif;
  /* ONE column (alignment pass 2026-11-20, owner: "The mix of right, left, and center justifications on this
     page feels disjointed"). The header, the text, every panel, the booking bar, and the footer all start on
     its left edge and end on its right edge; type is set flush left throughout. Only two things leave it, and
     they leave on the same side: the black band (a tab since the owner's pick the same day) and the grey pills both run off the left.
     Before this there was one left line and three right ones (text, menu and booking bar, band). */
  --col:864px; --pad:32px;
  /* corners, one scale (design pass 2026-11-20): small for pills, tabs, and boxes you type in; medium for
     blocks; the big one is the brochure's signature, bottom-left only, and only on blocks tall enough to
     carry it (two corners on one side may not add up to more than that side, or the browser shrinks both) */
  --r-s:16px; --r-m:26px; --r-l:64px;
  /* the page's left text edge, from the window's edge. Measured in % (of the page, where it is used as a margin or
     a padding), not vw: vw counts the scrollbar and put the band's icon 7px off the line */
  --edge:max(var(--pad), calc(50% - var(--col) / 2 + var(--pad)));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-weight:300;font-size:17.5px;line-height:1.75;
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
b,strong{font-weight:600}
.wrap{max-width:var(--col);margin:0 auto;padding:0 var(--pad)}
.text{max-width:none}  /* the column is the measure */
.text p{margin:0 0 1.15em}

/* ---------- top: the logo and the seven doors ---------- */
/* One row: the logo at the column's left edge, the menu ending on its right edge (owner 2026-11-20: "Bring the top
   menu back into one line instead of 2"). Six items fit beside the logo at this size; a seventh would not. */
.top{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:22px;padding-bottom:22px}
.top .logo{display:block;flex:none;line-height:0}
.top .logo img{display:block;width:186px;height:auto}  /* the image is cropped to its ink, so PERFECT starts on the page's left line */
.menu{display:flex;align-items:center;gap:22px;font-size:12px;font-weight:600;letter-spacing:.03em;white-space:nowrap}
.menu a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.menu a:hover,.menu a.on{border-bottom-color:var(--ink)}
.menu-btn{display:none;font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  background:var(--black);color:#fff;border:0;border-radius:22px;padding:12px 20px;cursor:pointer}

/* ---------- the cover (home): the brochure's front page ---------- */
.cover{position:relative;width:calc(100% - 48px);max-width:1240px;margin:0 auto;background:var(--black);border-radius:44px 44px 44px 150px;padding:64px;display:flex;gap:56px;align-items:center}
.cover .card{flex:1 1 0;background:#fff;border-radius:120px 44px 120px 44px;padding:60px 48px;text-align:center}
.cover h1{margin:0;font-size:clamp(30px,3.7vw,46px);line-height:1.12;letter-spacing:.01em;text-transform:uppercase;font-weight:300}
.cover h1 span{display:block}
.cover h1 b{font-weight:800}
.cover .side{flex:0 0 380px;color:#fff;display:flex;flex-direction:column;gap:30px;align-items:flex-start;padding-bottom:40px}
.cover .side p{margin:0;font-size:22px;line-height:1.45}
.cover .side p b{font-weight:700}
/* the brochure's badge: scalloped, tilted, and pinned over the panel's lower right edge, half on and half off */
.badge{position:absolute;right:72px;bottom:-58px;width:156px;height:156px;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;
  font-size:15.5px;line-height:1.2;font-weight:400;transform:rotate(-8deg);filter:drop-shadow(0 8px 14px rgba(0,0,0,.22))}
.badge svg{position:absolute;inset:0;width:100%;height:100%;fill:var(--green)}
.badge span{position:relative}
.badge b{font-weight:700}
.featured{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding-top:30px;padding-right:240px;font-size:12px;font-weight:700}
.featured span + span{font-size:19px;font-weight:800;letter-spacing:.02em}

/* ---------- buttons ---------- */
.cta{display:inline-block;font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;
  background:var(--black);color:#fff;padding:17px 30px;border-radius:30px;border:0;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.cta:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.cta.light{background:#fff;color:#000}
.cta.light:hover{box-shadow:0 10px 24px rgba(255,255,255,.2)}

/* ---------- the band (inner pages) ---------- */
/* A TAB (owner picked "B" of three left-set treatments, 2026-11-20): off the left edge and only as long as its
   title, with its icon on the page's left line. It is the footer's black tab, larger, so every page opens and
   closes the same way. Before this it started beside the text and ran off the right edge, with a swooped corner. */
.band{position:relative;display:flex;align-items:center;gap:24px;width:fit-content;max-width:calc(100% - var(--pad));
  background:var(--black);color:#fff;margin:10px 0 0;border-radius:0 40px 40px 0;padding:34px 60px 34px var(--edge)}
.band svg{flex:none;width:54px;height:54px;stroke:#fff;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.band h1{margin:0;font-family:var(--display);font-weight:500;font-size:clamp(26px,4vw,42px);line-height:1.15;letter-spacing:.04em;text-transform:uppercase}
.band .head{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px #fff}
main{display:block;padding-bottom:40px}
.lead-in{padding-top:44px}

/* ---------- pill headings: grey, off the left edge, as in the brochure ---------- */
.pill{position:relative;display:table;margin:52px 0 22px -100vw;background:var(--grey);border-radius:0 var(--r-s) var(--r-s) 0;padding:9px 34px 8px 100vw;
  font-family:var(--display);font-weight:500;font-size:clamp(20px,2.6vw,27px);line-height:1.25;letter-spacing:.04em}
.pill b{font-weight:600}
.pill:first-child{margin-top:44px}
h3{font-family:var(--sans);font-weight:700;font-size:18px;margin:34px 0 10px}

/* ---------- small set pieces ---------- */
/* 2-2-2 */
.twos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5px;background:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-m) var(--r-m) var(--r-m) var(--r-l);overflow:hidden;margin:34px 0 26px}
.twos div{background:#fff;padding:26px 20px 24px 28px}  /* flush left, like everything else */
.twos b{display:block;font-weight:800;font-size:52px;line-height:1}
.twos span{display:block;margin-top:10px;font-size:14px;font-weight:500}
/* the program doors on the home page */
.doors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0 0}
.door{display:block;text-decoration:none;border:1.5px solid var(--ink);border-radius:var(--r-m) var(--r-m) var(--r-m) var(--r-l);padding:26px 30px 26px 40px;transition:background .2s ease,color .2s ease,transform .2s ease}
.door:hover{background:var(--black);color:#fff;transform:translateY(-2px)}
.door b{display:block;font-family:var(--display);font-weight:500;font-size:24px;line-height:1.2;letter-spacing:.03em}
.door span{display:block;margin-top:8px;font-size:15px;line-height:1.55}
.door i{display:block;margin-top:14px;font-style:normal;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
/* myth and fact */
.mythfact{background:var(--soft);border-radius:var(--r-m) var(--r-m) var(--r-m) 56px;padding:26px 30px 26px 40px;margin:0 0 1.4em;display:grid;gap:10px}
.mythfact p{margin:0;font-size:18px;line-height:1.55}
.mythfact .myth{color:var(--dim)}
.mythfact .fact{font-weight:500}
.mythfact b{font-weight:800}
.prereq{border-top:1px solid var(--line);padding-top:16px;margin-top:6px;font-size:15.5px}
.prereq b{font-weight:700}
/* numbered questions (AP Course Basics) and plain numbered lists */
.qa{list-style:none;margin:36px 0 0;padding:0;counter-reset:q}
.qa li{counter-increment:q;position:relative;padding:26px 0 24px 64px;border-top:1px solid var(--line)}
.qa li::before{content:counter(q);position:absolute;left:0;top:24px;width:42px;height:42px;border-radius:50%;background:var(--black);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}
.qa h2{margin:0 0 10px;font-family:var(--sans);font-weight:700;font-size:19px;line-height:1.4}
.qa p{margin:0}
ol.plain{margin:0 0 1.15em;padding-left:22px}
ol.plain li{margin:0 0 8px;padding-left:4px}
ol.plain li::marker{font-weight:700}
/* fees */
.fees{margin:26px 0 0;border-top:2px solid var(--ink)}
.fees div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}
.fees span{font-weight:500}
.fees b{font-weight:800;font-size:22px;white-space:nowrap}
/* a booking bar: black, rounded like the cover */
/* A TAB (owner picked "B" of three left-set treatments, 2026-11-20): off the left edge like the band at the top and
   the tab at the foot, its words on the page's left line and the button straight after them. Before this it was a
   pill the width of the column with the button pushed to the far right. It lives inside the column, so the black
   reaches the window's edge by being one box that starts a window's width to the left (a separate piece joined on
   left a hairline seam at some zooms); the page clips what falls outside. The grey pills are made the same way. */
.bookbar{position:relative;width:fit-content;max-width:calc(100% + 100vw);margin:56px 0 0 -100vw;background:var(--black);color:#fff;border-radius:0 40px 40px 0;
  padding:30px 44px 30px 100vw;display:flex;align-items:center;gap:20px 40px;flex-wrap:wrap}
.bookbar p{margin:0;font-family:var(--display);font-size:24px;letter-spacing:.04em;line-height:1.3}
.bookbar small{display:block;font-family:var(--sans);font-size:14px;letter-spacing:0;font-weight:300;margin-top:6px}
/* text still owed by the owner: dashed, so it cannot pass for final */
.ph{border-left:2px dashed #b25e09;padding-left:14px}
.ph::after{content:" [to be finished]";font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8a4706}
/* instructor */
.video{position:relative;aspect-ratio:16/9;margin:34px 0 0;background:#000;border-radius:var(--r-m) var(--r-m) var(--r-m) var(--r-l);overflow:hidden;cursor:pointer;container-type:inline-size}
.video img{display:block;width:100%;height:100%;object-fit:cover;opacity:.9;transition:transform .6s ease}
.video:hover img{transform:scale(1.03)}
.video .scrim{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:max(12px,2.6cqw);background:rgba(0,0,0,.3)}
.video .play{width:max(54px,11cqw);height:max(54px,11cqw);border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;font-size:max(16px,3.4cqw);padding-left:max(5px,1cqw)}
.video .vlabel{font-size:max(10px,1.8cqw);font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#fff;text-shadow:0 1px 8px #000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- contact form ---------- */
.cform{position:relative;display:grid;gap:20px;margin:34px 0 0}
.cform label{display:grid;gap:8px}
.cform label span{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.cform label span i{font-style:normal;font-weight:400;color:var(--dim);letter-spacing:.06em;margin-left:8px}
.cform input,.cform textarea{font-family:var(--sans);font-weight:400;font-size:16.5px;line-height:1.5;color:var(--ink);background:var(--soft);
  border:1.5px solid transparent;border-radius:var(--r-s);padding:14px 18px;outline:none;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}
.cform textarea{min-height:190px;resize:vertical;line-height:1.6;border-radius:var(--r-s) var(--r-s) var(--r-s) 44px}
.cform input:focus,.cform textarea:focus{background:#fff;border-color:var(--ink);box-shadow:0 10px 28px rgba(0,0,0,.1)}
.cform .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cform-foot{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap;margin-top:4px}
.cform-foot .cta:disabled{opacity:.5;cursor:default;transform:none;box-shadow:none}
.cform-foot p{margin:0;font-size:15px;font-weight:500}
.cform.is-sent{background:var(--black);color:#fff;border-radius:44px 44px 44px 150px;align-content:center;justify-items:center;text-align:center;padding:44px 28px}
.cform.is-sent > :not(.sent-panel){display:none}
.sent-panel{outline:none}
.sent-panel[hidden]{display:none}
.sent-panel svg{display:block;margin:0 auto;width:64px;height:64px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;animation:sent-in .5s ease both}
.sent-panel .tick{stroke:var(--green);stroke-width:3;stroke-dasharray:30;stroke-dashoffset:30;animation:sent-draw .5s .4s ease forwards}
.sent-panel .sent-title{margin:16px 0 8px;font-family:var(--display);font-weight:500;font-size:44px;line-height:1.1;letter-spacing:.06em;text-transform:uppercase;animation:sent-in .5s .15s ease both}
.sent-panel .sent-line{margin:0;font-size:16px;animation:sent-in .5s .3s ease both}
@keyframes sent-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes sent-draw{to{stroke-dashoffset:0}}

/* ---------- footer: the links under a hairline the width of the column. The brochure's black tab with the web
   address stood here until the owner had it removed (2026-11-20); the booking bar above is the page's last black shape. ---------- */
footer{margin-top:64px;padding-bottom:44px}
.foot{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:26px;position:relative;font-size:12px;font-weight:600;letter-spacing:.04em}
.foot::before{content:"";position:absolute;left:var(--pad);right:var(--pad);top:0;height:1px;background:var(--line)}
.foot nav{display:flex;gap:10px 22px;flex-wrap:wrap}
.foot a{text-decoration:none;border-bottom:2px solid transparent;padding:4px 0}
.foot a:hover,.foot a.on{border-bottom-color:var(--ink)}
.foot small{font-size:12px;font-weight:400;color:var(--dim)}

/* ---------- smaller screens ---------- */
@media(max-width:880px){
  .top{flex-wrap:wrap}
  .menu-btn{display:inline-block}
  .menu{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px;white-space:normal;
    background:var(--soft);border-radius:var(--r-m) var(--r-m) var(--r-m) 56px;padding:18px 22px 20px 30px}
  .menu-open .menu{display:flex}
  .menu a{padding:8px 0}
}
@media(max-width:860px){
  :root{--pad:22px}
  body{font-size:16.5px}
  .top .logo img{width:176px}
  .cover{flex-direction:column;align-items:stretch;gap:34px;width:calc(100% - 24px);padding:26px 22px 40px;border-radius:30px 30px 30px 80px}
  .cover .card{border-radius:70px 28px 70px 28px;padding:44px 22px}
  .cover .side{flex:none;padding:0 8px 62px}
  .badge{right:20px;bottom:-46px;width:124px;height:124px;font-size:12.5px}
  .featured{padding-top:64px;padding-right:0;gap:14px 20px}
  .cover .side p{font-size:19px}
  .band{border-radius:0 28px 28px 0;padding:22px 30px 22px var(--edge);gap:16px}
  .band svg{width:40px;height:40px}
  .band .head{width:56px;height:56px}
  .twos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .twos b{font-size:44px}
  .doors{grid-template-columns:1fr}
  .door{padding:22px 22px 22px 30px}
  .mythfact{padding:22px 20px 22px 28px}
  .mythfact p{font-size:16.5px}
  .bookbar{padding:24px 28px 26px 100vw;border-radius:0 28px 28px 0}
  .bookbar p{font-size:20px}
  .qa li{padding-left:54px}
  .qa li::before{width:36px;height:36px;font-size:15px}
  .fees div{flex-direction:column;gap:2px}
}

/* ---------- the guarantee's figure (2026-11-20): the cover's black panel, small, with the number in the headline's weight ---------- */
.figure{background:var(--black);color:#fff;border-radius:var(--r-m) var(--r-m) var(--r-m) var(--r-l);padding:34px 40px 32px 56px;margin:30px 0 0}
.figure b{display:block;font-weight:800;font-size:clamp(64px,11vw,112px);line-height:.95;letter-spacing:-.02em}
.figure span{display:block;margin-top:12px;font-family:var(--display);font-size:22px;letter-spacing:.06em}
@media(max-width:860px){.figure{padding:28px 26px 26px 36px}}

/* ---------- the guarantee's terms and the shenanigans (owner's text, 2026-11-20) ---------- */
ol.terms{list-style:none;margin:6px 0 0;padding:0;counter-reset:t}
ol.terms li{counter-increment:t;position:relative;padding:22px 0 22px 64px;border-top:1px solid var(--line);font-weight:400}
ol.terms li:last-child{border-bottom:1px solid var(--line)}
ol.terms li:first-child{border-top:0;padding-top:6px}  /* no line above the first term (owner 2026-11-20) */
ol.terms li:first-child::before{top:4px}
ol.terms li::before{content:counter(t);position:absolute;left:0;top:20px;width:42px;height:42px;border-radius:50%;background:var(--black);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}
h3 b{font-weight:800}
.text h3{margin-top:38px}
.text p.closing{margin-top:44px;font-weight:500;font-size:18.5px;line-height:1.6}
@media(max-width:860px){ol.terms li{padding-left:54px}ol.terms li::before{width:36px;height:36px;font-size:15px}}
