/* Homepage parity layer: ports the original johncoffiebook2 composition. */
.brand { min-width: 0; max-width: min(55vw, 240px); }
.brand__logo { max-width: 100%; }
.brand__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark { display: block; }

.jcb-hero__grid {
    position: absolute;
    inset: 0;
    opacity: .07;
    background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);
    background-size: 96px 96px;
}
.jcb-hero__inner {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 680px;
    align-items: center;
    gap: clamp(3rem, 6vw, 6.5rem);
    padding-block: 5rem 3rem;
}
}
.jcb-hero__copy { position: relative; z-index: 2; }
.jcb-hero__media {
    position: relative;
    inset: auto;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;
    background: var(--jcb-ink-soft);
    box-shadow: 0 34px 80px rgba(0,0,0,.35);
}
.jcb-hero__media::after { display: none; }
.jcb-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.jcb-hero__video-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: .45rem .7rem;
    border-radius: 4px;
    background: rgba(13,23,36,.88);
    color: #fff;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.jcb-hero__video-rule { position: absolute; right: 0; bottom: 0; left: 0; height: 6px; background: var(--jcb-accent); }
.jcb-hero { margin-bottom: -78px; }
.jcb-pillar-rail { margin-top: 2.5rem; }

.jcb-expertise {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 6rem;
    overflow: hidden;
    border: 1px solid var(--jcb-rule);
    border-radius: 6px;
    background: var(--jcb-rule);
}
.jcb-expertise article { min-height: 235px; padding: 2rem; background: #fff; }
.jcb-expertise article > span { color: var(--jcb-accent-ink); font-size: .75rem; font-weight: 650; letter-spacing: .14em; }
.jcb-expertise h3 { margin: 3.3rem 0 .8rem; font-size: 1.08rem; }
.jcb-expertise p { margin: 0; color: var(--jcb-muted); font-size: .88rem; line-height: 1.65; }

.jcb-books { padding: 7.5rem 0; background: #fff; }
.jcb-books__header { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 5rem; }
.jcb-books__header h2 { max-width: 640px; margin: 1.6rem 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.jcb-books__header > div:last-child { padding-bottom: .35rem; }
.jcb-books__header > div:last-child p { margin: 0; color: var(--jcb-muted); line-height: 1.7; }
.jcb-books__header .button { margin-top: 1.6rem; }
.jcb-books__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.65rem; margin-top: 3.5rem; }
.jcb-books .jcb-book-card { height: 100%; }
.jcb-books .product-card__media,
.catalogue-browser .jcb-book-card .product-card__media { display: block; width: 76%; margin-inline: auto; aspect-ratio: 2 / 3; overflow: hidden; padding: 0; border: 1px solid var(--jcb-rule); border-radius: 3px; background: transparent; box-shadow: 0 10px 24px rgba(13,23,36,.10); }
.jcb-books .product-card__media img,
.catalogue-browser .jcb-book-card .product-card__media img { width: 100%; height: 100%; object-fit: cover; filter: none; }

.jcb-featured { overflow: hidden; padding-top: 7.5rem; background: #fff; }
.jcb-featured__grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(4rem, 8vw, 8rem); padding-bottom: 7rem; }
.jcb-featured__art { position: relative; display: grid; min-height: 600px; place-items: center; }
.jcb-featured__art > span { position: absolute; inset: 3.5rem 0 1rem; border-radius: 6px; background: var(--jcb-ink); }
.jcb-featured__art > span::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px); background-size: 58px 58px; }
.jcb-featured__art img { position: relative; z-index: 1; width: auto; max-width: 72%; max-height: 540px; object-fit: contain; filter: drop-shadow(22px 26px 22px rgba(0,0,0,.4)); transform: rotate(-2deg); }
.jcb-featured__copy h2 { margin: 1.6rem 0 0; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.jcb-featured__subtitle { margin: .85rem 0 0; color: var(--jcb-muted); font-family: Georgia, serif; font-size: 1.25rem; font-style: italic; line-height: 1.45; }
.jcb-featured__description { margin: 1.6rem 0 0; color: var(--jcb-muted); line-height: 1.75; }
.jcb-featured__copy ul { display: grid; gap: .85rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.jcb-featured__copy li { position: relative; padding-left: 2rem; color: var(--jcb-body); line-height: 1.55; }
.jcb-featured__copy li::before { content: "✓"; position: absolute; left: 0; top: .05rem; display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: var(--jcb-accent-ink); color: #fff; font-size: .68rem; font-weight: 700; }
.jcb-featured__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.jcb-marquee { overflow: hidden; border-top: 1px solid var(--jcb-rule); padding: 1.4rem 0 0; }
.jcb-marquee span { display: block; width: max-content; color: rgba(13,23,36,.055); font-size: clamp(5rem, 11vw, 10rem); font-weight: 650; line-height: .92; white-space: nowrap; transform: translateX(-2%); }

.jcb-connect { padding: 7.5rem 0; background: var(--jcb-shell); }
.jcb-connect__panel { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 570px; overflow: hidden; border: 1px solid var(--jcb-rule); border-radius: 6px; background: #fff; }
.jcb-connect__form { padding: clamp(2.2rem, 5vw, 4.5rem); }
.jcb-connect__form h2 { max-width: 580px; margin: 1.2rem 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.jcb-connect__form > p:not(.overline) { max-width: 530px; margin: 1.2rem 0 0; color: var(--jcb-muted); line-height: 1.7; }
.jcb-connect__form form { margin-top: 2.5rem; }
.jcb-connect__form label { display: block; margin-bottom: .65rem; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.jcb-connect__form form > div { display: flex; gap: .8rem; }
.jcb-connect__form input { min-width: 0; flex: 1; border: 0; border-bottom: 1px solid var(--jcb-rule); border-radius: 0; padding: .85rem 0; font: inherit; }
.jcb-connect__contact { display: inline-flex; min-height: 44px; align-items: center; gap: .55rem; margin-top: 2.3rem; color: var(--jcb-ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.jcb-connect__visual { position: relative; display: flex; min-height: 520px; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--jcb-ink); }
.jcb-connect__visual > div { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 25px 25px; }
.jcb-connect__visual img { position: relative; z-index: 1; width: auto; height: 82%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 36px rgba(0,0,0,.35)); }
.jcb-connect__visual blockquote { position: absolute; right: 2rem; bottom: 2rem; left: 2rem; z-index: 2; margin: 0; border-left: 3px solid var(--jcb-accent); padding: 1rem 1.2rem; background: rgba(13,23,36,.9); color: #fff; font-family: Georgia, serif; font-size: 1.08rem; font-style: italic; line-height: 1.5; }

@media (max-width: 1050px) {
    .brand { max-width: min(52vw, 210px); }
    .header-actions .jcb-account, .header-actions .jcb-search { display: none; }
    .header-actions { min-width: 0; }
    .jcb-hero__inner { grid-template-columns: 1fr .82fr; gap: 3rem; }
    .jcb-expertise { grid-template-columns: repeat(2, 1fr); }
    .jcb-books__header { grid-template-columns: 1fr; gap: 2rem; }
    .jcb-featured__grid { gap: 4rem; }
}
@media (max-width: 760px) {
    .jcb-hero { margin-bottom: 0; }
    .jcb-hero__inner { grid-template-columns: 1fr; padding-block: 4rem 3rem; }
    .jcb-hero__media { width: min(100%, 420px); max-height: none; margin-inline: auto; aspect-ratio: 16 / 10; }
    .jcb-hero__media video { display: block; }
    .jcb-pillar-rail { margin-top: 2rem; }
    .jcb-expertise, .jcb-books__grid, .jcb-featured__grid, .jcb-connect__panel { grid-template-columns: 1fr; }
    .jcb-expertise { margin-top: 4rem; }
    .jcb-expertise article { min-height: 190px; }
    .jcb-books, .jcb-featured, .jcb-connect { padding-top: 5.5rem; }
    .jcb-books { padding-bottom: 5.5rem; }
    .jcb-featured__art { min-height: 480px; }
    .jcb-featured__grid { gap: 3.5rem; padding-bottom: 5rem; }
    .jcb-featured__actions { flex-direction: column; }
    .jcb-connect { padding-bottom: 5.5rem; }
    .jcb-connect__visual { min-height: 470px; }
}
@media (max-width: 520px) {
    .jcb-expertise { grid-template-columns: 1fr; }
    .jcb-books__grid { gap: 1.2rem; }
    .jcb-connect__form form > div { align-items: stretch; flex-direction: column; }
    .jcb-featured__art { min-height: 410px; }
}
@media (prefers-reduced-motion: reduce) {
    .jcb-featured__art img { transform: none; }
}

.book-filter-panel { margin-top: 1.35rem; border: 1px solid var(--jcb-rule); border-radius: 6px; background: #fff; }
.book-filter-panel summary { display: flex; min-height: 56px; align-items: center; gap: .8rem; padding: .2rem 1.1rem; color: var(--jcb-ink); cursor: pointer; list-style: none; }
.book-filter-panel summary::-webkit-details-marker { display: none; }
.book-filter-panel summary > span { font-size: .9rem; font-weight: 650; }
.book-filter-panel summary > small { margin-right: auto; color: var(--jcb-muted); font-size: .78rem; }
.book-filter-panel summary svg { flex: 0 0 auto; transition: transform .2s ease; }
.book-filter-panel[open] summary svg { transform: rotate(180deg); }
.book-filter-panel .option-filters { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr); gap: 1.5rem; margin: 0; border-top: 1px solid var(--jcb-rule); padding: 1.4rem; }
.book-filter-panel .option-filters fieldset { min-width: 0; }
.book-filter-panel .option-filters fieldset > div { gap: .5rem; }
.book-filter-panel .option-filters label span { min-height: 42px; border-radius: 5px; padding: .42rem .75rem; font-size: .8rem; font-weight: 600; }
.book-filter-panel .option-filters input:checked + span { border-color: var(--jcb-accent-ink); background: var(--jcb-accent-ink); color: #fff; }

.jcb-product-detail .product-gallery figure { position: relative; min-height: 620px; overflow: visible; border: 1px solid var(--jcb-rule); padding: 1.5rem; background: #fff; }
.jcb-product-detail .product-gallery figure::before { display: none; }
.jcb-product-detail .product-gallery figure > a { width: 100%; min-height: 570px; }
.jcb-book-stack { position: relative; display: block; width: min(100%, 620px); aspect-ratio: 1.08 / 1; }
.jcb-product-detail .product-gallery .jcb-book-stack img { position: absolute; top: 7%; width: auto; max-width: none; height: 82%; max-height: none; object-fit: contain; border-radius: 2px 5px 5px 2px; transform-origin: bottom center; filter: drop-shadow(0 24px 20px rgba(13,23,36,.22)); }
.jcb-product-detail .product-gallery .jcb-book-stack__copy--back { left: 4%; z-index: 1; opacity: .56; transform: rotate(-7deg) scale(.9); }
.jcb-product-detail .product-gallery .jcb-book-stack__copy--middle { left: 22%; z-index: 2; opacity: .72; transform: rotate(-2deg) scale(.95); }
.jcb-product-detail .product-gallery .jcb-book-stack__front { right: 4%; z-index: 3; }
.button--amazon { width: 100%; margin-top: .85rem; border-color: #1f2937; background: #1f2937; color: #fff; box-sizing: border-box; }
.button--amazon:hover { border-color: #111827; background: #111827; color: #fff; }
.button--amazon svg { flex: 0 0 auto; }

[data-theme="dark"] .book-filter-panel, [data-theme="dark"] .jcb-product-detail .product-gallery figure { background: var(--card, #141d2a); }

@media (max-width: 780px) {
    .book-filter-panel .option-filters { grid-template-columns: 1fr; }
    .jcb-product-detail .product-gallery figure > a { min-height: 470px; }
}
@media (max-width: 520px) {
    .book-filter-panel summary { align-items: flex-start; flex-wrap: wrap; gap: .2rem .7rem; padding-block: .8rem; }
    .book-filter-panel summary > small { width: calc(100% - 2rem); order: 3; }
    .book-filter-panel .option-filters { padding: 1rem; }
    .book-filter-panel .option-filters label span { min-height: 44px; }
    .jcb-product-detail .product-gallery figure { min-height: 390px; padding: .75rem; }
    .jcb-product-detail .product-gallery figure > a { min-height: 360px; }
    .jcb-book-stack { width: 100%; }
    .jcb-product-detail .product-gallery .jcb-book-stack img { top: 10%; height: 78%; }
}

.catalogue-hero { position: relative; overflow: hidden; background: var(--jcb-ink); color: #fff; }
.catalogue-hero__content { padding-block: clamp(1.25rem, 3vw, 1.75rem); }
.catalogue-hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(90deg,#fff 1px,transparent 1px),linear-gradient(#fff 1px,transparent 1px); background-size: 64px 64px; }
.catalogue-hero__content { position: relative; z-index: 1; }
.catalogue-hero .breadcrumb { color: rgba(255,255,255,.58); }
.catalogue-hero .breadcrumb a { color: rgba(255,255,255,.76); }
.catalogue-hero .eyebrow { margin-top: 2.5rem; color: var(--jcb-accent); }
.catalogue-hero h1 { max-width: 900px; margin: .9rem 0 0; color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); }
.catalogue-hero--image .catalogue-hero__content { min-height: 260px; }
.catalogue-hero__content > p:last-child { max-width: 720px; color: rgba(255,255,255,.7); font-size: 1.04rem; line-height: 1.7; }
.catalogue-browser { padding-top: 4.5rem; padding-bottom: 6.5rem; }
.catalogue-browser .product-grid { gap: 1.5rem; }
.catalogue-browser .jcb-book-card { overflow: visible; border: 1px solid var(--jcb-rule); border-radius: 8px; background: transparent; box-shadow: none; padding: 1.25rem; }
.catalogue-browser .jcb-book-card .product-card__body { padding: 1.6rem; }
.catalogue-browser .jcb-book-card h2 { margin: .75rem 0 1rem; font-size: 1.12rem; line-height: 1.3; }
.catalogue-browser .jcb-book-card h2 a { text-decoration: none; }
.jcb-product-detail { padding-top: 6rem; padding-bottom: 7rem; }
.jcb-product-detail .product-detail__grid { align-items: start; gap: clamp(3.5rem, 7vw, 7rem); }
.jcb-product-detail .product-gallery { position: sticky; top: 8rem; }
.jcb-product-detail .product-gallery figure { display: grid; min-height: 620px; place-items: center; overflow: visible; border: 1px solid var(--jcb-rule); border-radius: 6px; padding: 1.5rem; background: #fff; }
.jcb-product-detail .product-gallery figure::before { display: none; }
.jcb-product-detail .product-gallery figure a { position: relative; z-index: 1; display: grid; place-items: center; }

.add-to-cart form > .purchase-controls { grid-template-columns: minmax(10rem, 12rem) minmax(12rem, 1fr); }
.quantity-stepper { display: grid; grid-template-columns: 2.75rem minmax(3.5rem, 1fr) 2.75rem; min-height: 3rem; overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); }
.quantity-stepper button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.35rem; font-weight: 800; cursor: pointer; }
.quantity-stepper button:hover, .quantity-stepper button:focus-visible { background: var(--surface); color: var(--accent); }
.quantity-stepper input { min-height: 44px; border: 0; border-inline: 1px solid var(--line); border-radius: 0; padding-inline: .35rem; text-align: center; }
.quantity-stepper input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

@media (max-width: 620px) {
    .add-to-cart form > .purchase-controls { grid-template-columns: 1fr; }
}

/* Checkout refinements */
.checkout-header h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.region-form > div { grid-template-columns: 1fr; }
.checkout-steps { animation: checkout-steps-reveal .24s ease-out both; }
.checkout-summary__action { width: 100%; margin-top: 1.25rem; }

@keyframes checkout-steps-reveal {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-steps { animation: none; }
}
.jcb-product-detail .product-gallery img { width: auto; max-width: 85%; max-height: 520px; object-fit: contain; filter: drop-shadow(20px 24px 18px rgba(0,0,0,.42)); }
.jcb-product-detail .product-detail__summary { padding-top: .5rem; }
.jcb-product-detail .product-detail__summary > h2 { margin: 1rem 0 0; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.jcb-product-detail .product-detail__summary > h2::after { content: ""; display: block; width: 64px; height: 2px; margin-top: .8rem; background: var(--jcb-accent); }
.jcb-product-detail .product-detail__price { margin-top: 2rem; color: var(--jcb-ink); font-size: 1.65rem; font-weight: 650; }
.jcb-product-detail .stock-label { display: inline-flex; margin-top: .35rem; }
.jcb-product-detail .product-description { margin-top: 2.5rem; border-top: 1px solid var(--jcb-rule); padding-top: 2rem; }
.jcb-product-detail .product-description h2, .jcb-product-detail .product-specs h2 { font-size: 1.15rem; }
.jcb-product-detail .product-description p { color: var(--jcb-muted); line-height: 1.75; }

@media (max-width: 820px) {
    .jcb-product-detail .product-gallery { position: relative; top: auto; }
    .jcb-product-detail .product-gallery figure { min-height: 520px; }
}
@media (max-width: 620px) {
    .catalogue-hero { padding: 2rem 0 2.5rem; }
    .catalogue-hero--image .catalogue-hero__content { min-height: 240px; }
    .catalogue-browser { padding-top: 3rem; padding-bottom: 4.5rem; }
    .jcb-product-detail { padding-top: 4rem; padding-bottom: 5rem; }
    .jcb-product-detail .product-gallery figure { min-height: 430px; padding: 2rem; }
}

.jcb-page-hero { position: relative; overflow: hidden; padding: 1.5rem 0 2rem; background: var(--jcb-ink); color: #fff; }
.jcb-page-hero::after { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px); background-size: 64px 64px; }
.jcb-page-hero .shell { position: relative; z-index: 1; }
.jcb-page-hero .breadcrumb { margin-bottom: 1rem; color: rgba(255,255,255,.58); }
.jcb-page-hero .breadcrumb a { color: rgba(255,255,255,.72); }
.jcb-page-hero h1 { max-width: 900px; margin: 1.1rem 0 0; color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); }
.jcb-page-hero .shell > p:last-child { max-width: 720px; margin: 1.35rem 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.7; }
.jcb-inner-section { padding: 6.5rem 0; background: #fff; }
.jcb-inner-section--shell { background: var(--jcb-shell); }
.jcb-section-title { max-width: 680px; margin: 1.2rem 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.jcb-about__grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: clamp(3.5rem, 7vw, 7rem); }
.jcb-about__portrait { position: sticky; top: 8rem; display: grid; min-height: 620px; place-items: center; overflow: hidden; margin: 0; border-radius: 6px; background: var(--jcb-ink); }
.jcb-about__portrait::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(90deg,#fff 1px,transparent 1px),linear-gradient(#fff 1px,transparent 1px); background-size: 58px 58px; }
.jcb-about__portrait img { position: relative; z-index: 1; width: 74%; height: auto; box-shadow: 0 28px 55px -20px rgba(0,0,0,.7); }
.jcb-about__copy h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.jcb-about__copy .prose { margin-top: 2rem; color: var(--jcb-muted); font-size: 1rem; line-height: 1.78; }
.jcb-about__copy blockquote { margin: 2.5rem 0 0; border-left: 2px solid var(--jcb-accent); padding-left: 1.5rem; color: var(--jcb-ink); font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; line-height: 1.45; }
.jcb-about__copy h3 { margin-top: 3rem; font-size: 1.2rem; }
.jcb-role-list { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.jcb-role-list li { position: relative; border-bottom: 1px solid var(--jcb-rule); padding: .9rem 0 .9rem 1.25rem; color: var(--jcb-body); line-height: 1.55; }
.jcb-role-list li::before { content: ""; position: absolute; top: 1.5rem; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--jcb-accent); }
.jcb-inline-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.jcb-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-top: 3rem; border: 1px solid var(--jcb-rule); border-radius: 6px; background: var(--jcb-rule); }
.jcb-feature-grid article { min-height: 250px; padding: 2rem; background: #fff; }
.jcb-feature-grid article > span { color: var(--jcb-accent-ink); font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.jcb-feature-grid h3 { margin: 2rem 0 .8rem; font-size: 1.1rem; }
.jcb-feature-grid p { margin: 0; color: var(--jcb-muted); font-size: .9rem; line-height: 1.65; }
.jcb-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 3rem; border-radius: 6px; background: rgba(255,255,255,.12); }
.jcb-stat-grid > div { padding: 2.2rem; background: var(--jcb-ink); text-align: center; }
.jcb-stat-grid strong { display: block; color: var(--jcb-accent); font-size: 2.7rem; }
.jcb-stat-grid span { display: block; margin-top: .7rem; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.jcb-empty-schedule { margin-top: 2.8rem; border: 1px dashed var(--jcb-rule); border-radius: 6px; padding: 4rem 2rem; background: #fff; text-align: center; }
.jcb-empty-schedule > span { color: var(--jcb-accent); font-size: 2rem; }
.jcb-empty-schedule h3 { margin: 1.3rem 0 .6rem; font-size: 1.25rem; }
.jcb-empty-schedule p { max-width: 520px; margin: 0 auto 1.8rem; color: var(--jcb-muted); line-height: 1.7; }
.jcb-dark-cta { padding: 6rem 0; background: var(--jcb-ink); text-align: center; }
.jcb-dark-cta h2 { max-width: 760px; margin: 0 auto; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.jcb-dark-cta p { max-width: 600px; margin: 1.3rem auto 2rem; color: rgba(255,255,255,.68); line-height: 1.7; }
.jcb-teaching-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.jcb-teaching-grid article { display: flex; min-height: 275px; flex-direction: column; border: 1px solid var(--jcb-rule); border-radius: 6px; padding: 2rem; background: #fff; }
.jcb-teaching-grid article > span { color: var(--jcb-accent-ink); font-size: .68rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.jcb-teaching-grid h2 { margin: 1.3rem 0 .75rem; font-size: 1.25rem; line-height: 1.25; }
.jcb-teaching-grid p { margin: 0; color: var(--jcb-muted); line-height: 1.65; }
.jcb-teaching-grid blockquote { margin: auto 0 0; border-top: 1px solid var(--jcb-rule); padding-top: 1.1rem; color: var(--jcb-ink); font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.jcb-reading-cta { margin-top: 4rem; border: 1px solid var(--jcb-rule); border-radius: 6px; padding: 3.5rem; background: var(--jcb-shell); text-align: center; }
.jcb-reading-cta h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.jcb-reading-cta p { margin: 1rem 0 1.8rem; color: var(--jcb-muted); }
.jcb-contact__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--jcb-rule); border-radius: 6px; background: var(--jcb-rule); }
.jcb-contact__details article { min-height: 170px; padding: 2rem; background: #fff; }
.jcb-contact__details article > span { color: var(--jcb-accent); font-size: 1.5rem; }
.jcb-contact__details p { margin: 1.2rem 0 .35rem; color: var(--jcb-muted); font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.jcb-contact__details strong, .jcb-contact__details a { color: var(--jcb-ink); font-size: 1rem; font-weight: 600; text-decoration: none; }
.jcb-contact__panel { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; margin-top: 3rem; border-radius: 6px; background: var(--jcb-ink); }
.jcb-contact__intro { position: relative; min-height: 670px; overflow: hidden; padding: 3.5rem; color: #fff; }
.jcb-contact__intro h2 { max-width: 420px; margin: 1.2rem 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.jcb-contact__intro > p:not(.overline) { position: relative; z-index: 2; max-width: 440px; color: rgba(255,255,255,.7); line-height: 1.7; }
.jcb-contact__intro img { position: absolute; right: -5%; bottom: -4%; width: 78%; height: auto; opacity: .72; }
.jcb-contact__form { padding: clamp(2.2rem, 5vw, 4.5rem); background: #fff; }
.jcb-contact__form .account-form { display: grid; gap: 1.3rem; }
.jcb-contact__form label { color: var(--jcb-ink); font-size: .82rem; font-weight: 600; }
.jcb-contact__form input, .jcb-contact__form textarea { width: 100%; margin-top: .5rem; border: 1px solid var(--jcb-rule); border-radius: 5px; padding: .9rem 1rem; background: var(--jcb-shell); color: var(--jcb-ink); font: inherit; box-sizing: border-box; }
.jcb-contact__form .button { justify-self: start; }

@media (max-width: 920px) {
    .jcb-about__grid, .jcb-contact__panel { grid-template-columns: 1fr; }
    .jcb-about__portrait { position: relative; top: auto; min-height: 560px; }
    .jcb-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .jcb-teaching-grid { grid-template-columns: repeat(2, 1fr); }
    .jcb-contact__intro { min-height: 520px; }
}
@media (max-width: 620px) {
    .jcb-page-hero { padding: 3.2rem 0 4rem; }
    .jcb-page-hero .breadcrumb { margin-bottom: 2rem; }
    .jcb-inner-section { padding: 4.5rem 0; }
    .jcb-feature-grid, .jcb-stat-grid, .jcb-teaching-grid, .jcb-contact__details { grid-template-columns: 1fr; }
    .jcb-about__portrait { min-height: 460px; }
    .jcb-feature-grid article { min-height: 210px; }
    .jcb-inline-actions { flex-direction: column; }
    .jcb-reading-cta { padding: 2.5rem 1.4rem; }
    .jcb-contact__intro { min-height: 480px; padding: 2.2rem; }
}
