:root{
  --jt-navy:#062453;
  --jt-red:#d9102a;
  --jt-blue:#1557c0;
  --jt-yellow:#ffd400;
  --jt-cream:#fffaf0;
  --jt-lilac:#e6e8fb;
  --jt-ink:#14213d;
  --jt-muted:#4a5672;
  --jt-head:"Archivo Black","Arial Black",Impact,sans-serif;
  --jt-body:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --jt-wrap:1180px;
  --jt-radius:16px;
  --jt-shadow:0 8px 24px rgba(6,36,83,.10);
}

/* Body text size: 19px on phones, growing to 22px from about 1200px wide (same as the antique store site).
   html:root outweighs ACSS, so leave ACSS text size at its default. */
html:root{
  --jt-body-text:clamp(1.1875rem, 1.1rem + 0.365vw, 1.375rem);
  --text-m:var(--jt-body-text);
}

/* Base */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--jt-body);font-size:var(--jt-body-text);line-height:1.6;color:var(--jt-ink);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--jt-blue)}
a:hover{color:var(--jt-red)}
:focus-visible{outline:3px solid var(--jt-yellow);outline-offset:3px}
h1,h2,h3{font-family:var(--jt-head);color:var(--jt-navy);line-height:1.1;font-weight:400}
.jt-inner{max-width:var(--jt-wrap);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.jt-center{text-align:center}
.jt-skip{position:absolute;left:-999px;top:0;background:var(--jt-yellow);color:var(--jt-navy);padding:.5rem 1rem;z-index:100}
.jt-skip:focus{left:1rem}

/* Buttons */
.jt-btn{display:inline-block;font-family:var(--jt-head);font-size:1rem;text-transform:uppercase;letter-spacing:.02em;text-decoration:none;padding:.85em 1.4em;border-radius:999px;border:3px solid transparent;transition:transform .15s ease;line-height:1.2}
.jt-btn:hover{transform:translateY(-2px)}
.jt-btn--red{background:var(--jt-red);color:#fff}
.jt-btn--red:hover{color:#fff}
.jt-btn--ghost{border-color:currentColor;color:var(--jt-navy)}
.jt-btn--yellow{background:var(--jt-yellow);color:var(--jt-navy)}
.jt-btn--yellow:hover{color:var(--jt-navy)}
.jt-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.jt-center .jt-actions{justify-content:center}

/* Header */
.jt-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:4px solid var(--jt-navy)}
.jt-header .jt-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.6rem}
.jt-logo{font-family:var(--jt-head);font-size:1.6rem;text-decoration:none;color:var(--jt-navy);letter-spacing:-.01em;white-space:nowrap}
.jt-logo span{color:var(--jt-red);font-style:italic}
.jt-nav{display:flex;align-items:center;gap:1.4rem}
.jt-nav a:not(.jt-btn){color:var(--jt-navy);text-decoration:none;font-weight:700}
.jt-nav a:not(.jt-btn):hover,.jt-nav a:not(.jt-btn)[aria-current="page"]{color:var(--jt-red)}
.jt-nav a:not(.jt-btn)[aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
@media (max-width:760px){
  .jt-header .jt-inner{flex-wrap:wrap;padding-block:.5rem}
  .jt-nav{width:100%;justify-content:space-between;gap:.75rem;font-size:1rem}
  .jt-nav .jt-btn{padding:.6em 1em;font-size:.85rem}
}

/* Home hero */
.jt-hero{background:var(--jt-cream)}
.jt-hero__banner{width:100%;aspect-ratio:1920/482;object-fit:cover}
.jt-hero__body{padding-block:clamp(2rem,5vw,3.5rem);text-align:center}
.jt-hero__title{font-size:clamp(2rem,5vw,3.5rem);line-height:1.05;max-width:22ch;margin:0 auto 1rem}
.jt-hero__title span{color:var(--jt-red)}
.jt-hero__lead{font-size:clamp(1.15rem,2vw,1.35rem);max-width:48ch;margin:0 auto 1.75rem}
.jt-hero__note{margin:1.25rem 0 0;font-weight:700;color:var(--jt-navy)}
@media (max-width:700px){.jt-hero__banner{aspect-ratio:4/3;object-position:62% center}}

/* Inner page header */
.jt-pagehead{background:var(--jt-navy);color:#dbe6ff;padding-block:clamp(2.5rem,6vw,4.5rem);border-bottom:10px solid var(--jt-yellow)}
.jt-pagehead__eyebrow{font-family:var(--jt-head);text-transform:uppercase;letter-spacing:.08em;color:var(--jt-yellow);font-size:.9rem;margin:0 0 .75rem}
.jt-pagehead h1{color:#fff;font-size:clamp(2.1rem,5.5vw,3.75rem);margin:0 0 1rem;max-width:22ch}
.jt-pagehead h1 span{color:var(--jt-yellow)}
.jt-pagehead p{font-size:clamp(1.1rem,2vw,1.3rem);max-width:56ch;margin:0}

/* Construction stripe (old striped banner section; delete in the tidy if no page uses jt-stripe) */
.jt-stripe{background:repeating-linear-gradient(-45deg,var(--jt-navy) 0 28px,var(--jt-yellow) 28px 56px);padding-block:.9rem;text-align:center}
.jt-stripe p{display:inline-block;margin:0;background:var(--jt-yellow);color:var(--jt-navy);font-family:var(--jt-head);text-transform:uppercase;font-size:clamp(1.1rem,3vw,1.75rem);padding:.3em 1em;border:3px solid var(--jt-navy)}

/* Construction stripe */
.jt-stripe{background:repeating-linear-gradient(-45deg,var(--jt-navy) 0 28px,var(--jt-yellow) 28px 56px);padding-block:.9rem;text-align:center}
.jt-stripe p{display:inline-block;margin:0;background:var(--jt-yellow);color:var(--jt-navy);font-family:var(--jt-head);text-transform:uppercase;font-size:clamp(1.1rem,3vw,1.75rem);padding:.3em 1em;border:3px solid var(--jt-navy)}
.jt-pagehead__eyebrow{font-family:var(--jt-head);text-transform:uppercase;letter-spacing:.08em;color:var(--jt-yellow);font-size:.9rem;margin:0 0 .75rem}
.jt-pagehead h1{color:#fff;font-size:clamp(2.1rem,5.5vw,3.75rem);margin:0 0 1rem;max-width:22ch}
.jt-pagehead h1 span{color:var(--jt-yellow)}
.jt-pagehead p{font-size:clamp(1.1rem,2vw,1.3rem);max-width:56ch;margin:0}

/* Construction stripe */
.jt-stripe{background:repeating-linear-gradient(-45deg,var(--jt-navy) 0 28px,var(--jt-yellow) 28px 56px);padding-block:.9rem;text-align:center}
.jt-stripe p{display:inline-block;margin:0;background:var(--jt-yellow);color:var(--jt-navy);font-family:var(--jt-head);text-transform:uppercase;font-size:clamp(1.1rem,3vw,1.75rem);padding:.3em 1em;border:3px solid var(--jt-navy)}

/* Sections */
.jt-section{padding-block:clamp(3rem,7vw,5.5rem)}
.jt-section--cream{background:var(--jt-cream)}
.jt-section--lilac{background:var(--jt-lilac)}
.jt-section--navy{background:var(--jt-navy);color:#dbe6ff}
.jt-section--navy h2,.jt-section--navy h3{color:#fff}
.jt-section-title{font-size:clamp(1.9rem,4vw,2.75rem);margin:0 0 .75rem}
.jt-section-lead{max-width:60ch;margin:0 auto 2.5rem}
.jt-section-lead--flush{margin-bottom:0}
.jt-prose{max-width:70ch}
.jt-prose h2{font-size:clamp(1.6rem,3.5vw,2.2rem);margin:2.5rem 0 .75rem}
.jt-prose h2:first-child{margin-top:0}
.jt-prose p{margin:0 0 1.1rem}

/* Grids & cards */
.jt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}
.jt-card{background:#fff;color:var(--jt-ink);border-radius:var(--jt-radius);padding:1.75rem;box-shadow:var(--jt-shadow);display:flex;flex-direction:column;border-top:6px solid var(--jt-red)}
.jt-card:nth-child(3n+2){border-top-color:var(--jt-blue)}
.jt-card:nth-child(3n+3){border-top-color:var(--jt-yellow)}
.jt-card__kicker{font-family:var(--jt-head);color:var(--jt-red);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem}
.jt-card h3,.jt-section--navy .jt-card h3{font-size:1.45rem;margin:0 0 .75rem;color:var(--jt-navy)}
.jt-card p{margin:0 0 1rem}
.jt-card ul{margin:0 0 1.25rem;padding-left:1.2em}
.jt-card__link{margin-top:auto;font-weight:700;color:var(--jt-red);text-decoration:none}
.jt-card__link:hover{text-decoration:underline}
.jt-card--placeholder{border:3px dashed var(--jt-blue);box-shadow:none;background:#f2f7ff;color:var(--jt-blue);justify-content:center;text-align:center;font-weight:700}

/* Split: text + image */
.jt-split{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(1.5rem,5vw,4rem);align-items:center}
.jt-split--flip > :first-child{order:2}
.jt-split__img{border-radius:24px;border:6px solid #fff;box-shadow:0 20px 40px rgba(6,36,83,.22)}
.jt-split__img--plain{border:0;box-shadow:none;border-radius:0;max-height:560px;width:auto;margin-inline:auto}
@media (max-width:860px){
  .jt-split{grid-template-columns:1fr}
  .jt-split--flip > :first-child{order:0}
  .jt-split__img{max-width:440px;margin-inline:auto}
}

/* Numbered lessons */
.jt-lessons{list-style:none;margin:0;padding:0;counter-reset:lesson;display:grid;gap:1.25rem}
.jt-lessons li{counter-increment:lesson;position:relative;background:#fff;border-radius:var(--jt-radius);box-shadow:var(--jt-shadow);padding:1.5rem 1.5rem 1.5rem 5rem}
.jt-lessons li::before{content:counter(lesson);position:absolute;left:1.25rem;top:1.25rem;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--jt-red);color:#fff;font-family:var(--jt-head);display:grid;place-items:center;font-size:1.2rem}
.jt-lessons h3{font-size:1.35rem;margin:0 0 .4rem}
.jt-lessons h3 span{color:var(--jt-red)}
.jt-lessons p{margin:0}

/* Story chapters */
.jt-chapter{border-left:6px solid var(--jt-red);padding-left:1.25rem;margin:0 0 2.25rem}
.jt-chapter h2{display:inline-block;background:var(--jt-yellow);padding:.15em .5em;font-size:clamp(1.3rem,3vw,1.75rem);margin:0 0 .75rem}

/* Callouts & quotes */
.jt-callout{background:var(--jt-lilac);border-radius:var(--jt-radius);padding:clamp(1.5rem,4vw,2.5rem);text-align:center}
.jt-callout__label{font-family:var(--jt-head);text-transform:uppercase;color:var(--jt-navy);letter-spacing:.04em;margin:0 0 .5rem}
.jt-callout p:last-child{margin-bottom:0}
.jt-callout--yellow{background:var(--jt-yellow)}
.jt-bigquote{margin:0;font-family:var(--jt-head);color:var(--jt-navy);font-size:clamp(1.5rem,3.5vw,2.3rem);line-height:1.2;border-left:8px solid var(--jt-red);padding-left:1.25rem}
.jt-bigquote cite{display:block;margin-top:1rem;font-family:var(--jt-body);font-style:normal;font-weight:700;font-size:1rem;color:var(--jt-red)}
.jt-quote{margin:0 auto;max-width:44ch;text-align:center;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.4;color:#fff}
.jt-quote cite{display:block;margin-top:1rem;font-style:normal;font-family:var(--jt-head);color:var(--jt-yellow);font-size:1rem}
.jt-rewired{font-family:var(--jt-head);font-size:clamp(1.8rem,4.5vw,3rem);line-height:1.05;margin:0 0 1.25rem;color:var(--jt-navy)}
.jt-rewired span{display:block}
.jt-rewired .is-red{color:var(--jt-red)}
.jt-tagline{font-family:var(--jt-head);font-size:clamp(1.4rem,3.5vw,2rem);line-height:1.2;color:#fff;margin:0}
.jt-tagline span{color:var(--jt-yellow)}
.jt-section--cream .jt-tagline{color:var(--jt-navy)}
.jt-section--cream .jt-tagline span{color:var(--jt-red)}
.jt-source{font-size:.9rem;color:var(--jt-muted);margin-top:1.5rem}
.jt-placeholder{background:#f2f7ff;border:2px dashed var(--jt-blue);color:var(--jt-blue);padding:.1em .4em;border-radius:6px;font-weight:700}

/* Audience strip */
.jt-audience{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;list-style:none;padding:0;margin:1.5rem 0 0}
.jt-audience li{background:#fff;color:var(--jt-navy);font-weight:700;padding:.45em 1em;border-radius:999px;border:2px solid var(--jt-navy)}

/* Pillars */
.jt-pillar{background:#fff;border-top:6px solid var(--jt-red);border-radius:0 0 12px 12px;padding:1.5rem;box-shadow:var(--jt-shadow);text-align:left}
.jt-pillar:nth-child(2){border-color:var(--jt-blue)}
.jt-pillar:nth-child(3){border-color:var(--jt-yellow)}
.jt-pillar h3{font-size:1.4rem;margin:0 0 .5rem}
.jt-pillar p{margin:0}

/* Book CTA band */
.jt-book{background:var(--jt-red);color:#fff;text-align:center}
.jt-book .jt-section-title{color:#fff}
.jt-book .jt-btn--ghost{color:#fff}
.jt-book__contact{margin-top:1.25rem;font-weight:700}
.jt-book__contact a{color:#fff}

/* Contact block (Book page) */
.jt-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}
.jt-contact__item{background:var(--jt-navy);color:#fff;border-radius:var(--jt-radius);padding:2rem;text-align:center}
.jt-contact__item p{margin:0 0 .4rem;color:#dbe6ff}
.jt-contact__item a{font-family:var(--jt-head);color:#fff;font-size:clamp(1.3rem,3vw,1.7rem);text-decoration:none;word-break:break-word}
.jt-contact__item a:hover{color:var(--jt-yellow)}
.jt-faq{max-width:70ch}
.jt-faq details{background:#fff;border-radius:12px;box-shadow:var(--jt-shadow);padding:1rem 1.25rem;margin-bottom:.75rem}
.jt-faq summary{font-weight:700;color:var(--jt-navy);cursor:pointer}
.jt-faq details p{margin:.75rem 0 0}

/* Footer */
.jt-footer{background:var(--jt-navy);color:#dbe6ff;text-align:center;padding-block:3rem}
.jt-footer__words{font-family:var(--jt-head);font-size:clamp(2rem,5vw,3rem);color:#fff;margin:0 0 .25rem;line-height:1.1}
.jt-footer__words span{color:var(--jt-yellow)}
.jt-footer__sub{margin:0 0 1.5rem}
.jt-footer a{color:#fff}
.jt-footer__nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.25rem;margin:1.5rem 0;padding:0;list-style:none}
.jt-footer__credit{font-size:.9rem;margin-top:2rem;opacity:.85}

/* Credibility strip (Home) */
.jt-cred{background:#fff;border-bottom:1px solid #e3e6ef;padding-block:1.25rem}
.jt-cred__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 2rem;font-weight:700;color:var(--jt-navy);text-align:center}
.jt-cred__list li{position:relative}
.jt-cred__list li + li::before{content:"";position:absolute;left:-1.15rem;top:50%;width:.4rem;height:.4rem;border-radius:50%;background:var(--jt-red);transform:translateY(-50%)}
@media (max-width:700px){.jt-cred__list{flex-direction:column;gap:.35rem}.jt-cred__list li + li::before{display:none}}
.jt-cred.jt-cred{padding-inline:0}

/* ==========================================================
   Etch / ACSS overrides — keep at the bottom of the stylesheet
   ========================================================== */

/* Hero: full-width banner, no section padding */
.jt-hero.jt-hero{padding:0}
.jt-hero__banner.jt-hero__banner{border-radius:0;max-width:none}

/* Buttons: undo ACSS button styles */
a.jt-btn.jt-btn{display:inline-block;font-family:var(--jt-head);font-size:1rem;font-weight:400;text-transform:uppercase;letter-spacing:.02em;text-decoration:none;padding:.85em 1.4em;border-radius:999px;border:3px solid transparent;line-height:1.2;min-height:0;box-shadow:none}
a.jt-btn.jt-btn--red{background:var(--jt-red);border-color:var(--jt-red);color:#fff}
a.jt-btn.jt-btn--yellow{background:var(--jt-yellow);border-color:var(--jt-yellow);color:var(--jt-navy)}
a.jt-btn.jt-btn--ghost{background:transparent;border-color:currentColor;color:var(--jt-navy)}
.jt-book a.jt-btn.jt-btn--ghost{color:#fff}
@media (max-width:760px){.jt-nav a.jt-btn.jt-btn{padding:.6em 1em;font-size:.85rem}}

/* Space above button rows */
.jt-actions.jt-actions{margin-top:1.5rem}

/* Thrills quote: no grey box */
.jt-bigquote.jt-bigquote{background:none;padding-block:0;font-style:normal}

/* Headings: navy, not ACSS default */
.jt-hero__title.jt-hero__title,
.jt-section-title.jt-section-title,
.jt-pillar.jt-pillar h3{color:var(--jt-navy)}

/* ...but stay white on the navy and red sections */
.jt-section--navy .jt-section-title.jt-section-title,
.jt-book .jt-section-title.jt-section-title{color:#fff}
.jt-bigquote.jt-bigquote cite a{color:var(--jt-red)}

/* Small image in a split section */
.jt-split .jt-split__img.jt-split__img--small{max-width:260px;width:100%;justify-self:center}

/* Inner pages: keep ACSS from overriding */
.jt-pagehead.jt-pagehead h1{color:#fff}
.jt-pagehead.jt-pagehead h1 span{color:var(--jt-yellow)}
.jt-prose.jt-prose h2,.jt-lessons.jt-lessons h3,.jt-chapter.jt-chapter h2{color:var(--jt-navy)}
.jt-lessons.jt-lessons h3 span{color:var(--jt-red)}
.jt-prose.jt-prose p{margin:0 0 1.1rem}
.jt-prose .jt-lessons + p{margin-top:1.5rem}
.jt-quote.jt-quote{background:none;padding:0;border:0;color:#fff}
.jt-section--navy .jt-quote cite{color:var(--jt-yellow)}
.jt-section.jt-section,.jt-pagehead.jt-pagehead{padding-inline:0}

/* Panel: white rounded box with a border */
.jt-panel.jt-panel{background:#fff;border:2px solid var(--jt-navy);border-radius:20px;padding:clamp(1.5rem,4vw,3rem);box-shadow:var(--jt-shadow)}
.jt-panel > :last-child{margin-bottom:0}

/* ACSS makes sections flex: force inner containers to full width */
.jt-inner.jt-inner{width:100%}

.jt-lessons + p{margin-top:1.5rem}
.jt-callout.jt-callout p{margin:0 0 .75rem}

/* Narrow reading column + space between stacked callouts */
.jt-inner.jt-narrow{max-width:860px}
.jt-callout + .jt-callout{margin-top:1.5rem}
.jt-bigquote.jt-bigquote cite{display:block;margin:1rem 0 0 !important;padding:0 !important}
.jt-after{margin-top:2rem}
.jt-rewired.jt-rewired--sm{font-size:clamp(1.5rem,3.5vw,2.2rem)}

/* Licence plate (MINI story) */
.jt-plate.jt-plate{display:inline-flex;flex-direction:column;align-items:center;background:#fff;border:4px solid var(--jt-blue);border-radius:12px;padding:.6rem 2rem .5rem;margin:.5rem 0 1.5rem;box-shadow:var(--jt-shadow)}
.jt-plate__main{font-family:var(--jt-head);font-size:clamp(1.8rem,5vw,2.6rem);color:var(--jt-blue);letter-spacing:.08em;line-height:1}
.jt-plate__sub{font-style:italic;color:var(--jt-blue);font-size:.95rem;margin-top:.3rem}

/* Tips page */
.jt-red.jt-red{color:var(--jt-red)}
.jt-section-lead.jt-section-lead--gap{margin-top:2rem}
.jt-tagline.jt-tagline--navy{color:var(--jt-navy)}
.jt-tagline.jt-tagline--navy span{color:var(--jt-red)}

/* Book Ted page */
.jt-contact__item.jt-contact__item a{color:#fff}
.jt-contact__item.jt-contact__item p{margin:0 0 .4rem;color:#dbe6ff}
.jt-faq.jt-faq details{background:#fff;border-radius:12px;box-shadow:var(--jt-shadow);padding:1rem 1.25rem;margin-bottom:.75rem}
.jt-faq summary{font-weight:700;color:var(--jt-navy);cursor:pointer}

/* Medium image in a split section (Ted's graphics) */
.jt-split .jt-split__img.jt-split__img--medium{max-width:420px;width:100%;justify-self:center}

/* Hero banner: show the whole image, no cropping */
.jt-hero__banner.jt-hero__banner{aspect-ratio:1897/380;object-fit:cover;object-position:center}

/* Credibility line: slightly smaller so it fits on one line on desktop; stacks on tablets and phones */
.jt-cred .jt-cred__list{font-size:.9em}
@media (max-width:1000px){
  .jt-cred__list.jt-cred__list{flex-direction:column;gap:.35rem}
  .jt-cred__list li + li::before{display:none}
}

/* Credibility line: navy band, white text, yellow dots */
.jt-cred.jt-cred{background:var(--jt-navy);border-bottom:0}
.jt-cred__list.jt-cred__list{color:#fff}
.jt-cred__list.jt-cred__list li + li::before{background:var(--jt-yellow)}

/* Home hero: less space between banner and headline */
.jt-hero__body.jt-hero__body{padding-top:clamp(1.5rem,3vw,2.25rem)}
.jt-hero__title.jt-hero__title{margin-top:0}

/* Portrait accent image in a split section (rehired) */
.jt-split .jt-split__img.jt-split__img--portrait{max-width:340px;width:100%;justify-self:center}

/* Phone menu: logo + hamburger */
.jt-menu{display:none;position:relative}
@media (max-width:760px){
  .jt-nav.jt-nav{display:none}
  .jt-menu{display:block}
  .jt-header .jt-inner.jt-inner{flex-wrap:nowrap;padding-block:.5rem}
  .jt-header .jt-logo{font-size:1.4rem}
}
.jt-menu summary{list-style:none;cursor:pointer;width:46px;height:46px;display:grid;place-items:center;border:2px solid var(--jt-navy);border-radius:10px;background:#fff}
.jt-menu summary::-webkit-details-marker{display:none}
.jt-menu__bars,.jt-menu__bars::before,.jt-menu__bars::after{display:block;width:22px;height:3px;background:var(--jt-navy);border-radius:2px;transition:transform .2s ease}
.jt-menu__bars{position:relative}
.jt-menu__bars::before,.jt-menu__bars::after{content:"";position:absolute;left:0}
.jt-menu__bars::before{top:-7px}
.jt-menu__bars::after{top:7px}
.jt-menu[open] .jt-menu__bars{background:transparent}
.jt-menu[open] .jt-menu__bars::before{transform:translateY(7px) rotate(45deg)}
.jt-menu[open] .jt-menu__bars::after{transform:translateY(-7px) rotate(-45deg)}
.jt-menu__panel.jt-menu__panel{position:absolute;right:0;top:calc(100% + .6rem);min-width:230px;background:#fff;border:2px solid var(--jt-navy);border-radius:14px;box-shadow:var(--jt-shadow);padding:.75rem;display:flex;flex-direction:column;gap:.15rem;z-index:30}
.jt-menu__panel a:not(.jt-btn){color:var(--jt-navy);font-weight:700;text-decoration:none;padding:.6rem .75rem;border-radius:8px}
.jt-menu__panel a:not(.jt-btn):hover{background:var(--jt-cream);color:var(--jt-red)}
.jt-menu__panel a.jt-btn.jt-btn{margin-top:.5rem;text-align:center}

/* Hero: phone version of the banner */
.jt-hero__picture{display:block}
@media (max-width:700px){.jt-hero__banner.jt-hero__banner{aspect-ratio:1321/380}}

/* Hero: remove ACSS gap between banner and text */
.jt-hero.jt-hero{gap:0}

/* Desktop: a little more air between banner and headline */
@media (min-width:761px){.jt-hero__body.jt-hero__body{padding-top:3rem}}

/* Wide graphic under a text panel (landscape graphics with words) */
.jt-wide-img.jt-wide-img{width:100%;max-width:none;height:auto;margin:2rem auto 0;border-radius:var(--jt-radius);border:6px solid #fff;box-shadow:0 20px 40px rgba(6,36,83,.22)}

/* Panel: no extra space under the last paragraph (beats .jt-prose.jt-prose p) */
.jt-panel.jt-panel.jt-panel > :last-child{margin-bottom:0}

/* Callouts: no extra space under the last paragraph */
.jt-callout.jt-callout.jt-callout p:last-child{margin-bottom:0}

/* Archivo Black has one weight: stop browsers faking a bolder one */
html{font-synthesis-weight:none}

/* Big quote: plain block, no gap between the quote and the name */
.jt-bigquote.jt-bigquote{display:block;gap:0}
.jt-bigquote.jt-bigquote cite::before{content:none;display:none}

/* About: four chapters in a 2x2 grid */
.jt-chapters.jt-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem 3rem;max-width:none}
.jt-chapters .jt-chapter.jt-chapter{margin:0}

/* About chapters: red number circle before each heading, counted in order */
.jt-chapters.jt-chapters{counter-reset:chapter}
.jt-chapters .jt-chapter{counter-increment:chapter}
.jt-chapters .jt-chapter.jt-chapter h2::before{content:counter(chapter);display:inline-grid;place-items:center;width:1.6em;height:1.6em;margin-right:.5em;border-radius:50%;background:var(--jt-red);color:#fff;font-size:.8em;vertical-align:.12em}

/* About chapters: no yellow label; number sits beside the heading, wrapped lines line up after it */
.jt-chapters .jt-chapter.jt-chapter h2{background:none;padding:0;display:flex;align-items:flex-start;gap:.5em}
.jt-chapters .jt-chapter.jt-chapter h2::before{flex-shrink:0;margin:.1em 0 0}

/* About: wide panel with its text in two columns (matches the 2x2 above) */
.jt-panel--cols.jt-panel--cols{max-width:none;column-count:2;column-gap:3rem}
.jt-panel--cols.jt-panel--cols h2{column-span:all}
.jt-panel--cols.jt-panel--cols p{break-inside:avoid}
.jt-panel--cols.jt-panel--cols h2{color:var(--jt-navy);margin:0 0 1rem}
.jt-panel--cols.jt-panel--cols p{margin:0 0 1rem}

/* Header logo image */
.jt-logo__img.jt-logo__img{height:50px;width:auto;max-width:none;border-radius:0}

/* Home hero: graphic left, text right (Nov 23) */
.jt-hero.jt-hero--split{padding-block:clamp(2.5rem,6vw,4.5rem)}
.jt-hero--split .jt-hero__title.jt-hero__title{margin:0 0 1.5rem;max-width:none}
.jt-hero--split .jt-hero__lead.jt-hero__lead{margin:0;max-width:34ch;font-size:clamp(1.25rem,2.2vw,1.5rem);line-height:1.5}
.jt-hero--split .jt-actions.jt-actions{margin-top:2rem}
.jt-hero--split .jt-split__img.jt-split__img--medium{max-width:520px}

/* Home hero: closing line, big and bold */
.jt-hero__note.jt-hero__note--big{font-family:var(--jt-head);font-weight:400;font-size:clamp(1.35rem,2.6vw,1.9rem);line-height:1.2;color:var(--jt-navy);margin:0}
.jt-hero__note--big span{color:var(--jt-red)}
.jt-hero--split .jt-hero__body.jt-hero__body{padding-block:clamp(1rem,2vw,1.5rem) 0}

/* One Door: no frame, white background melts into the cream, bigger */
.jt-split .jt-split__img.jt-door{border:0;box-shadow:none;border-radius:0;max-width:420px;width:100%;justify-self:center;mix-blend-mode:multiply}

/* Phones */
@media (max-width:760px){
  /* Inner page titles: a size smaller */
  .jt-pagehead.jt-pagehead h1{font-size:1.85rem}

  /* Numbered lists: narrower left margin, so the text gets more room */
  .jt-lessons.jt-lessons li{padding:1.25rem 1.25rem 1.25rem 4rem}
  .jt-lessons.jt-lessons li::before{left:1rem;top:1.15rem;width:2.2rem;height:2.2rem;font-size:1rem}

  /* About chapters: one column on phones */
  .jt-chapters.jt-chapters{grid-template-columns:1fr;gap:2rem}

  /* About panel: one column on phones */
  .jt-panel--cols.jt-panel--cols{column-count:1}

  /* Header logo: smaller on phones */
  .jt-logo__img.jt-logo__img{height:40px}

  /* Home hero split: tighter on phones, graphic smaller */
  .jt-hero.jt-hero--split{padding-block:1.25rem 2.5rem}
  .jt-hero--split .jt-split__img.jt-split__img--medium{max-width:320px}
}

/* About: photo-left page header */
.jt-pagehead .jt-split.jt-split--photo{grid-template-columns:.85fr 1.15fr}
.jt-pagehead .jt-split__img.jt-split__img--headshot{max-width:420px;width:100%;justify-self:center}
@media (max-width:860px){
  .jt-pagehead .jt-split.jt-split--photo{grid-template-columns:1fr}
  .jt-pagehead .jt-split__img.jt-split__img--headshot{max-width:320px}
}

/* About: story heading, with room above the chapters */
.jt-section-title.jt-story-title{max-width:24ch;margin-bottom:2.5rem}

/* Ted's graphics that already have their own frame: no border, white corners blend into the background */
.jt-split .jt-split__img.jt-split__img--graphic{border:0;box-shadow:none;border-radius:0;max-width:440px;width:100%;justify-self:center;mix-blend-mode:multiply}

/* Tips: "People remember" closing line, bigger so it stands out */
.jt-remember.jt-remember{font-size:clamp(1.15rem,2vw,1.35rem);margin-top:2.5rem}
.jt-remember.jt-remember strong{display:block;font-family:var(--jt-head);font-weight:400;font-size:clamp(1.6rem,3.2vw,2.25rem);line-height:1.15;color:var(--jt-navy);margin-bottom:.5rem}
.jt-remember br{display:none}