@charset "UTF-8";
/* =====================================================================
   specialty-page.css — Build #17 Phase B
   Styles for the new /index.html (specialty-driven homepage) and
   the per-specialty pages under /VO/{CODE}/index.html.

   Layout mirrors /VA/ family page: top strip + 3-column main row.
   Coexists with site.css (header/footer/nav) and player.css.
   ===================================================================== */

/* ----- 5-second pitch ribbon (compact) ----- */
.sp-pitch{
    background: linear-gradient(180deg,#0e2a78 0%, #0e4ccc 65%, #1769e6 100%);
    color:#fff;
    padding: 28px 20px 26px;
    text-align:center;
    position:relative;
    overflow:hidden;
}
.sp-pitch::before{
    content:"";
    position:absolute; inset:0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255,255,255,.06) 0%, transparent 50%);
    pointer-events:none;
}
.sp-pitch__inner{
    position:relative;
    max-width: 1100px; margin: 0 auto;
}
.sp-pitch__lead{
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,.96);
}
.sp-pitch__lead strong{ color:#fff; font-weight:700; }
.sp-pitch__lead em{ color:#FACC15; font-style:normal; font-weight:600; }

/* ----- Specialty strip (horizontal selector) ----- */
.sp-area{
    background:#f7f8fb;
    border-bottom: 1px solid #e5e8ef;
    padding: 18px 0 14px;
    position:relative;
}
.sp-strip-wrap{
    position:relative;
    flex: 1 1 auto;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 8px;
    /* Build #17 feedback round 1 / Round 14: when content fits, the inner
       strip is centered via margin:auto. When it doesn't, the wrap scrolls. */
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.sp-strip-wrap.is-dragging { cursor: grabbing; user-select: none; }
/* Round 15: hide the scrollbar — we already have arrow buttons. */
.sp-strip-wrap{ scrollbar-width: none; -ms-overflow-style: none; }
.sp-strip-wrap::-webkit-scrollbar{ height: 0; width: 0; display: none; }
.sp-strip-wrap::-webkit-scrollbar-thumb{ background: transparent; }
.sp-strip{
    /* Width = exactly the sum of slot widths + gaps. margin:auto then
       horizontally centers the strip inside .sp-strip-wrap. */
    width: max-content;
    max-width: none;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    scroll-behavior: smooth;
    padding: 4px 4px 10px;
}
.sp-strip::-webkit-scrollbar{ height:8px; }
.sp-strip::-webkit-scrollbar-thumb{ background: #cfd5e0; border-radius: 4px; }

.sp-slot{
    flex: 0 0 auto;
    /* Round 14: 10px smaller tile (was 130 → 120) per directive */
    width: 120px;
    background:#fff;
    border: 2px solid #e5e8ef;
    border-radius: 14px;
    padding: 7px 7px 9px;
    cursor:pointer;
    display:flex; flex-direction:column; align-items:center;
    gap:7px;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sp-slot:hover{
    transform: translateY(-2px);
    border-color: #b9c2d4;
    box-shadow: 0 4px 12px rgba(14,76,204,.12);
}
.sp-slot.is-selected{
    border-color: #0e4ccc;
    box-shadow: 0 0 0 3px rgba(14,76,204,.15), 0 4px 12px rgba(14,76,204,.18);
}
.sp-slot__img{
    /* Round 14: 10px smaller image (was 114×138 → 104×128) */
    width: 104px; height: 128px;
    object-fit: cover;
    border-radius: 8px;
    background:#eef1f6;
    display:block;
}
.sp-slot__label{
    /* Round 12: larger, more legible label */
    font-size: 13.5px;
    font-weight: 700;
    color: #1a2540;
    text-align:center;
    line-height: 1.22;
    max-width: 110px;
}
.sp-slot.is-selected .sp-slot__label{ color:#0e4ccc; }

/* Outer wrapper layout — make .sp-area a flex row so arrows can sit on
   the sides while the wrap takes the middle and scrolls. */
.sp-area{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sp-arrow{
    /* Round 14: arrows now sit in flex flow alongside the .sp-strip-wrap,
       so they don't overlap the tiles. */
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d6dbe6;
    color: #0e4ccc;
    font-size: 20px;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    z-index: 2;
    transition: background .15s ease;
    align-self: center;
}
.sp-arrow:hover{ background:#f0f4fc; }
.sp-arrow--left{ margin-left: 6px; }
.sp-arrow--right{ margin-right: 6px; }

/* Mobile select fallback (hidden by default; shown on small screens) */
.sp-area__mobile{ display:none; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sp-area__select{
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #d6dbe6;
    background: #fff;
}

/* Action buttons under the strip (audition + quote) */
.sp-area__actions{
    display:flex; gap:12px; flex-wrap:wrap;
    justify-content:center;
    max-width: 1100px;
    margin: 12px auto 0;
    padding: 0 20px;
}
.sp-area__btn{
    display:inline-flex; align-items:center; gap:8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700; font-size: 14px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor:pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}
.sp-area__btn:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.sp-area__btn--primary{
    background: #0e4ccc; color: #fff; border-color: #0e4ccc;
}
.sp-area__btn--primary:hover{ background: #0a3aa8; }
.sp-area__btn--secondary{
    background: #fff; color: #0e4ccc; border-color: #0e4ccc;
}
.sp-area__btn--secondary:hover{ background: #f0f4fc; }

/* ----- Main row title ----- */
.main-row-title{
    max-width: 100%; /* Round 45: full-width quote area */
    margin: 0 auto;
    padding: 22px 20px 4px;
    border-radius: 100px 100px 0 0;  /* Round 56: 100px rounded top corners */
    background: rgb(184, 219, 255);  /* Round 60: fully opaque so SVG doesn't show through */
    position: relative;
    z-index: 5;  /* Round 56: above SVG lines */
}
.main-row-title h1{
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1a2540;
    margin: 0;
    padding-bottom: 0; /* Round 45: no gap below quote text */
}

/* ----- 3-column main row (mirrors /VA/) ----- */
.main-row-content{
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 20px 36px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr);
    gap: 24px;
    align-items: start;
}
/* Round 45: Player is now FIRST in DOM (above "What You Get"), full-width row */
.main-row-content > .sp-col3{
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}
/* sp-col1 and sp-col2 sit in the second row, side-by-side */
.main-row-content > .sp-col1{
    grid-column: 1;
    grid-row: 2;
    justify-self: center; /* Round 45: center the portrait in its column */
}
.main-row-content > .sp-col2{
    grid-column: 2;
    grid-row: 2;
    width: 100%;  /* Round 50: full-width of its column */
}

/* Column 1 — hero portrait + brief */
.sp-col1 .sp-portrait{
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f6;
    aspect-ratio: 2 / 3;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    object-fit: cover;
    display: block;
}

.sp-shortbio{
    margin-top: 14px;
    padding: 14px 16px;
    background: #f7f8fb;
    border-radius: 10px;
    border-left: 4px solid #0e4ccc;
}
.sp-shortbio p{
    margin: 0 0 10px;
    font-size: 15px; line-height: 1.55;
    color: #2a3554;
}
.sp-shortbio .read-more{
    font-size: 14px;
    color: #0e4ccc;
    font-weight: 600;
    text-decoration: none;
}
.sp-shortbio .read-more:hover{ text-decoration: underline; }

/* Column 2 — what you get bullets + CTAs */
.sp-col2 .voiceprofile-heading{
    font-size: 18px;
    font-weight: 700;
    color: #1a2540;
    margin: 0 0 12px;
}
.sp-col2 .voiceprofile-list{
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    width: 100%;           /* Round 51: full-width of available area */
    max-width: 100%;
    box-sizing: border-box;
}
.sp-col2 .voiceprofile-list li{
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 15px;
    line-height: 1.5;
    color: #2a3554;
    border-bottom: 1px solid #eef1f6;
}
.sp-col2 .voiceprofile-list li:last-child{ border-bottom: none; }
.sp-col2 .voiceprofile-list li::before{
    content: "✓";
    position: absolute;
    left: 4px; top: 8px;
    color: #0e4ccc;
    font-weight: 700;
}
.sp-col2__actions{
    display: flex; flex-direction: column; gap: 10px;
}
.sp-col2__btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.sp-col2__btn:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.sp-col2__btn--primary{
    background: #0e4ccc; color: #fff; border-color: #0e4ccc;
}
.sp-col2__btn--primary:hover{ background: #0a3aa8; }
.sp-col2__btn--secondary{
    background: #fff; color: #0e4ccc; border-color: #0e4ccc;
}
.sp-col2__btn--secondary:hover{ background: #f0f4fc; }

/* Column 3 — player */
.sp-col3{
    min-width: 0; /* allow grid shrink */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6px 0;
}
.sp-col3 .demo-player{
    width: 100%;
    margin: 0;
    border: 4px solid #0e2a78;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

/* ----- Family teaser block ----- */
/* Round 7: white background per John, full-width inner so the
   horizontal scroller can extend edge-to-edge. */
.sp-family-teaser{
    background: #fff;
    padding: 40px 0 32px;
    border-top: 1px solid #e5e8ef;
}
.sp-family-teaser__inner{
    /* No max-width — Round 7 wants full body width. The intro text
       inside it is centered/limited via its own children. */
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.sp-family-teaser__intro {
    /* (optional helper if we ever want a centered narrow column) */
    max-width: 920px;
    margin: 0 auto;
}
.sp-family-teaser__h2{
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.sp-family-teaser__highlight{ color: #0e4ccc; }
.sp-family-teaser__lead{
    font-size: 16px;
    line-height: 1.6;
    color: #2a3554;
    margin: 0 0 22px;
}
.sp-family-teaser__chips{
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
/* Round 6: the chip list is now a fallback. JS hides it (sets hidden attr)
   once the new fam-cards render, but the .sp-family-teaser__chips rule
   above sets display:flex which overrides the browser's [hidden]
   default — so we need an explicit override. */
.sp-family-teaser__chips[hidden] { display: none !important; }
.sp-actor-chip{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 10px;
    background: #fff;
    border: 2px solid #e5e8ef;
    border-radius: 999px;
    font-weight: 600; font-size: 14px;
    color: #1a2540;
    text-decoration: none;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.sp-actor-chip:hover{
    transform: translateY(-1px);
    border-color: var(--actor-color, #0e4ccc);
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.sp-actor-chip__dot{
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--actor-color, #0e4ccc);
    flex-shrink: 0;
}
.sp-family-teaser__btn{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #0e4ccc; color: #fff;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
    transition: background .12s ease, transform .12s ease;
}
.sp-family-teaser__btn:hover{ background: #0a3aa8; transform: translateY(-1px); }

/* ----- Cross-links section ----- */
/* Round 7: diagonal grey-white-grey gradient. */
.sp-crosslinks-section{
    padding: 30px 20px 24px;
    background: linear-gradient(135deg, #e7ebf2 0%, #ffffff 50%, #e7ebf2 100%);
    border-top: 1px solid #e5e8ef;
    text-align: center;
}
.sp-crosslinks-section h3{
    font-size: 16px;
    font-weight: 600;
    color: #6a7390;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sp-crosslinks{
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 16px;
}
.sp-crosslink{
    display: inline-block;
    padding: 8px 16px;
    background: #f7f8fb;
    border: 1px solid #e5e8ef;
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    color: #0e4ccc;
    text-decoration: none;
    transition: background .12s ease, border-color .12s ease;
}
.sp-crosslink:hover{
    background: #eef4ff;
    border-color: #b8c8ec;
}
.sp-crosslinks__all{
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6a7390;
    text-decoration: none;
}
.sp-crosslinks__all:hover{ color: #0e4ccc; text-decoration: underline; }

/* ----- Audition modal (placeholder, option C: 2 buttons) ----- */
.audition-modal{
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.audition-modal.is-open{ display: flex; }
.audition-modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 40, 0.65);
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.audition-modal__panel{
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 540px;
    width: 100%;
    padding: 32px 28px 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.audition-modal__close{
    position: absolute;
    top: 10px; right: 12px;
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #6a7390;
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.audition-modal__close:hover{ background: #f0f3f8; color: #1a2540; }
.audition-modal__panel h2{
    font-size: 24px;
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 8px;
    padding-right: 30px;
}
.audition-modal__lead{
    font-size: 15px;
    line-height: 1.55;
    color: #2a3554;
    margin: 0 0 22px;
}
.audition-modal__options{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.audition-modal__opt{
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
    padding: 22px 16px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid #e5e8ef;
    background: #fff;
    color: #1a2540;
    text-align: center;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.audition-modal__opt:hover{
    transform: translateY(-2px);
    border-color: #0e4ccc;
    box-shadow: 0 8px 22px rgba(14,76,204,.16);
}
.audition-modal__opt-icon{
    font-size: 32px;
    line-height: 1;
}
.audition-modal__opt-body strong{
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.audition-modal__opt-body span{
    display: block;
    font-size: 13px;
    color: #6a7390;
    line-height: 1.4;
}
.audition-modal__footnote{
    font-size: 13px;
    color: #6a7390;
    text-align: center;
    margin: 0;
}
.audition-modal__placeholder-note{
    margin-top: 14px;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 3px solid #FACC15;
    border-radius: 4px;
    font-size: 12px;
    color: #6a5a00;
    line-height: 1.4;
}

/* ----- Responsive: tablet ----- */
@media (max-width: 1024px) {
    .main-row-content{
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

/* ----- Responsive: mobile ----- */
@media (max-width: 720px) {
    .sp-strip-wrap{ display: none; }
    .sp-area__mobile{ display: block; }
    .sp-arrow{ display: none; }

    .main-row-content{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .main-row-content > .sp-col3{
        max-width: 100%;
    }

    .audition-modal__options{
        grid-template-columns: 1fr;
    }
    .audition-modal__panel{
        padding: 28px 22px 22px;
    }

    .sp-area__actions{
        flex-direction: column;
        align-items: stretch;
    }
    .sp-area__btn{ justify-content: center; }
}

/* ----- Voice actors page parity: ensure /VA/ chips also render ----- */
.has-actor-color{
    /* used by face-area.js to apply --actor-color to face strip slots */
}

/* ----- SEO body (specialty pages only) ----- */
.sp-seo-body{
    background: #fff;
    padding: 30px 20px 36px;
    border-top: 1px solid #e5e8ef;
}
.sp-seo-body__inner{
    max-width: 920px;
    margin: 0 auto;
}
.sp-seo-body__h2{
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
.sp-seo-body__why p{
    font-size: 16px;
    line-height: 1.65;
    color: #2a3554;
    margin: 0 0 16px;
}
.sp-seo-body__why a.actor-link{
    color: #0e4ccc;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 600;
}
.sp-seo-body__why a.actor-link:hover{
    text-decoration-style: solid;
    background: rgba(14,76,204,.05);
}
.sp-seo-body__why strong{ color: #1a2540; }
.sp-seo-body__why em{ color: #2a3554; font-style: italic; }

/* ----- Actor page → specialties cross-link section (Build #17 Phase B) ----- */
.actor-specialties{
    background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
    padding: 36px 20px 32px;
    border-top: 4px solid var(--actor-color, #0e4ccc);
    margin-top: 12px;
}
.actor-specialties__inner{
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.actor-specialties__h2{
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.actor-specialties__lead{
    font-size: 16px;
    line-height: 1.55;
    color: #2a3554;
    margin: 0 0 22px;
}
.actor-specialties__chips{
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 18px;
}
.actor-spec-chip{
    display: inline-block;
    padding: 9px 18px;
    background: #fff;
    border: 2px solid var(--actor-color, #0e4ccc);
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    color: var(--actor-color, #0e4ccc);
    text-decoration: none;
    transition: background .12s ease, color .12s ease, transform .12s ease;
}
.actor-spec-chip:hover{
    background: var(--actor-color, #0e4ccc);
    color: #fff;
    transform: translateY(-1px);
}
.actor-specialties__all{
    font-size: 14px;
    color: #6a7390;
    margin: 0;
}
.actor-specialties__all a{
    color: #0e4ccc;
    text-decoration: none;
    font-weight: 600;
}
.actor-specialties__all a:hover{ text-decoration: underline; }

/* ============================================================ */
/* ACTOR PRODUCT CARDS (Round 3)                                */
/* Horizontal-scroll, swipeable card carousel filtered          */
/* by which actors have a demo in this specialty.               */
/* Used on /VO/XX/ specialty pages and /index.html              */
/* ============================================================ */
.sp-actor-cards {
    margin: 30px auto 32px;
    max-width: 1200px;
    padding: 0 16px;
}
.sp-actor-cards__h2 {
    text-align: center;
    font-size: 1.4rem;
    margin: 0 0 6px;
    color: #1a2440;
}
.sp-actor-cards__lead {
    text-align: center;
    color: #5a6478;
    margin: 0 0 16px;
    font-size: 0.95rem;
}
.sp-actor-cards__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 8px 6px 18px;
    scrollbar-width: thin;
    scrollbar-color: #c5cbe0 transparent;
}
.sp-actor-cards__track::-webkit-scrollbar { height: 8px; }
.sp-actor-cards__track::-webkit-scrollbar-thumb { background: #c5cbe0; border-radius: 4px; }
.sp-actor-cards__track::-webkit-scrollbar-track { background: transparent; }

.sp-actor-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border: 2px solid var(--actor-color, #0e4ccc);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(20,30,60,.06);
    transition: transform .18s ease, box-shadow .18s ease;
    text-decoration: none;
    color: inherit;
}
.sp-actor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(20,30,60,.13);
}
.sp-actor-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f1f4fa;
}
.sp-actor-card__body {
    padding: 12px 14px 10px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sp-actor-card__name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--actor-color, #0e4ccc);
    line-height: 1.1;
}
.sp-actor-card__role {
    margin: 0;
    font-size: 0.82rem;
    color: #6a7390;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 0.2px;
}
.sp-actor-card__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 12px;
}
.sp-actor-card__btn {
    display: inline-block;
    text-align: center;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .12s, color .12s, opacity .12s;
    line-height: 1.2;
}
.sp-actor-card__btn--primary {
    background: var(--actor-color, #0e4ccc);
    color: #fff;
    border: 2px solid var(--actor-color, #0e4ccc);
}
.sp-actor-card__btn--primary:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}
.sp-actor-card__btn--ghost {
    background: #fff;
    color: var(--actor-color, #0e4ccc);
    border: 2px solid var(--actor-color, #0e4ccc);
}
.sp-actor-card__btn--ghost:hover {
    background: var(--actor-color, #0e4ccc);
    color: #fff;
    text-decoration: none;
}
.sp-actor-cards__empty {
    text-align: center;
    color: #6a7390;
    font-style: italic;
    padding: 12px 0;
}

/* Mobile tweaks */
@media (max-width: 760px) {
    .sp-actor-cards { margin: 22px auto 26px; padding: 0 10px; }
    .sp-actor-cards__h2 { font-size: 1.18rem; }
    .sp-actor-cards__lead { font-size: 0.88rem; }
    .sp-actor-card { flex: 0 0 170px; border-radius: 12px; }
    .sp-actor-card__name { font-size: 1rem; }
    .sp-actor-card__role { font-size: 0.78rem; }
    .sp-actor-card__btn { font-size: 0.74rem; padding: 6px 8px; }
}

/* ====================================================================
   Round 6 / Round 7 — "Wait, they're an actual family?" CHARACTER CARDS
   --------------------------------------------------------------------
   Round 7 changes per John:
     • Section bg is now white (handled by .sp-family-teaser above).
     • Track extends to full body width.
     • Peek images layered BEHIND the cards (not floating above).
     • No shadow on peek images.
     • Reduced inner padding so bullet text has more room.
     • No gap between bullets and CTA.
     • "Inner shadow" on the colored name (simulated with text-shadow).
     • Bullets left-aligned with small orange dots.
     • Tap-scroll arrows on the sides (.fam-cards__nav buttons).
     • Mouse-wheel inside the track scrolls horizontally (JS).
   ==================================================================== */
.fam-cards {
    /* Full body width — no max-width per Round 7. */
    position: relative;
    margin: 22px 0 6px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}
.fam-cards__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    /* Top padding leaves headroom for the peek image that pokes
       above each card; bottom padding clears the card shadow. */
    padding: 96px 18px 24px;
    scrollbar-width: thin;
    scrollbar-color: #c5cbe0 transparent;
    scroll-behavior: smooth;
}
.fam-cards__track::-webkit-scrollbar { height: 8px; }
.fam-cards__track::-webkit-scrollbar-thumb { background: #c5cbe0; border-radius: 4px; }
.fam-cards__track::-webkit-scrollbar-track { background: transparent; }

/* Tap-scroll arrows (Round 7) */
.fam-cards__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d8dde7;
    box-shadow: 0 4px 14px rgba(20,30,60,.16);
    color: var(--c-blue-dark, #0e2a78);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 4;
    transition: background .12s, transform .12s, opacity .12s;
    padding: 0;
}
.fam-cards__nav:hover { background: #f3f6fc; transform: translateY(-50%) scale(1.06); }
.fam-cards__nav:disabled { opacity: 0.28; cursor: default; transform: translateY(-50%) scale(1); }
.fam-cards__nav--prev { left: 8px; }
.fam-cards__nav--next { right: 8px; }
@media (max-width: 760px) {
    .fam-cards__nav { width: 34px; height: 34px; font-size: 18px; }
    .fam-cards__nav--prev { left: 4px; }
    .fam-cards__nav--next { right: 4px; }
}

.fam-card {
    --actor-color: #0e4ccc;
    position: relative;
    flex: 0 0 200px;
    width: 200px;
    height: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(20,30,60,.14);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
    padding: 0;
    /* Round 8: NO overflow:hidden on the card itself — the peek image is
       absolutely positioned ABOVE the card and must be allowed to extend
       outside. The body section keeps its own border-radius for clipping. */
    overflow: visible;
}
.fam-card:hover,
.fam-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,30,60,.20);
    text-decoration: none;
}

/* Peek image — Round 7: layered BEHIND the card body. We give the
   image a low z-index and pull the card body forward, so the image
   pokes up from behind the card's top edge rather than floating
   above it. No drop-shadow on the image. */
.fam-card__peek {
    position: absolute;
    top: -95px;          /* Round 14: was -85, moved up 10px */
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 100px;
    object-fit: cover;
    object-position: center top;
    background: #eef3f8;
    border-radius: 10px 10px 0 0;
    box-shadow: none;    /* Round 7: no shadow on peeks */
    z-index: 1;          /* BEHIND card body */
    pointer-events: none;
    transition: transform .18s ease;
}
.fam-card:hover .fam-card__peek {
    transform: translate(-50%, -4px);
}

.fam-card__body {
    /* Round 14: actor name now sits ~5px from the card top per directive.
       The peek image is moved up 10px (top: -95) so it still pokes through
       above the card. */
    position: relative;
    z-index: 2;          /* in front of the peek image */
    background: #fff;
    border-radius: 14px 14px 0 0;
    padding: 5px 10px 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    margin-top: 0;       /* Round 14: was 38px — name now 5px from top */
}
.fam-card__name {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--actor-color);
    line-height: 1;
    letter-spacing: 0.2px;
    /* "Inner shadow" effect (Round 7). Real CSS inset text-shadow
       isn't a thing, so we simulate it with a layered shadow:
       a tight light highlight + a subtle dark shadow that look like
       the text is pressed into the card. */
    text-shadow:
        0 1px 0 rgba(255,255,255,.55),
        0 -1px 1px rgba(0,0,0,.18);
}
.fam-card__role {
    font-size: 0.78rem;
    font-style: italic;
    color: #6a7390;
    text-transform: lowercase;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}
.fam-card__bullets {
    /* Round 7: left-aligned with small orange dots, custom marker. */
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: 0.78rem;
    line-height: 1.3;
    color: #2a3245;
    text-align: left;
    flex: 1 1 auto;       /* fill the card so foot sits flush below */
}
.fam-card__bullets li {
    margin: 0 0 3px;
    padding-left: 14px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.fam-card__bullets li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea8a2c;  /* orange dots, regardless of actor color */
}

.fam-card__foot {
    /* Round 7: no gap between the last bullet and the CTA. */
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 4px 10px 10px;
    margin-top: 0;
}
.fam-card__cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--actor-color);
    color: #fff !important;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    box-sizing: border-box;
    transition: opacity .12s, transform .12s;
}
.fam-card:hover .fam-card__cta {
    opacity: 0.92;
}

/* Mobile tweaks */
@media (max-width: 760px) {
    .fam-cards__track { gap: 14px; padding: 88px 14px 20px; }
    .fam-card { flex: 0 0 175px; width: 175px; height: 280px; }
    .fam-card__peek { width: 130px; height: 86px; top: -82px; }
    .fam-card__body { margin-top: 0; padding: 5px 8px 0; }
    .fam-card__name { font-size: 1.22rem; }
    .fam-card__bullets { font-size: 0.74rem; }
}

/* ====================================================================
   Round 7 — "Meet the Fam" peek widget on specialty pages
   --------------------------------------------------------------------
   100×150 cross-fading actor photo placed inside .sp-col2, above the
   action buttons. Feathered edge via a soft mask, 0-saturation, with
   a small "Meet the Fam" caption underneath. Click → smooth-scroll
   to .sp-family-teaser.
   ==================================================================== */
.sp-peek-fam {
    display: block;
    margin: 8px 0 12px auto;       /* bottom-right of the bullet area */
    /* Round 12: +50% size (was 100px) */
    width: 150px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: center;
}
.sp-peek-fam__stack {
    display: block;
    position: relative;
    /* Round 12: +50% (was 100×150) */
    width: 150px;
    height: 225px;
    border-radius: 12px;
    overflow: hidden;
    /* Feathered (soft) edge: a radial mask that fades the corners. */
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center,
                                        #000 56%,
                                        rgba(0,0,0,.65) 78%,
                                        rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(ellipse 90% 90% at center,
                                        #000 56%,
                                        rgba(0,0,0,.65) 78%,
                                        rgba(0,0,0,0) 100%);
}
.sp-peek-fam__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0);
    -webkit-filter: saturate(0);
    opacity: 0;
    transition: opacity .9s ease-in-out;
    pointer-events: none;
}
.sp-peek-fam__img.is-active {
    opacity: 1;
}
.sp-peek-fam__caption {
    display: block;
    margin-top: 6px;
    font-family: var(--font-h, 'Rise of Kingdom', Georgia, serif);  /* Round 50: Kingdom font */
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-blue-dark, #0e2a78);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.sp-peek-fam:hover .sp-peek-fam__stack {
    box-shadow: 0 4px 14px rgba(20,30,60,.18);
}
.sp-peek-fam:hover .sp-peek-fam__caption {
    text-decoration: underline;
}
@media (max-width: 760px) {
    /* On mobile the bullets column is full-width; center the widget. */
    .sp-peek-fam { margin: 8px auto 12px; }
}

/* ============================================================
   Round 14: Free Custom Audition — full form layout
   ------------------------------------------------------------ */
.audition-modal__panel { max-width: 720px; }
.audition-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.audition-form__row { display: flex; flex-direction: column; gap: 6px; }
.audition-form__row label {
  font-weight: 700;
  color: #0e4ccc;
  font-size: 0.95rem;
}
.audition-form__row label small {
  color: #777;
  font-weight: 400;
  font-size: 0.78rem;
  margin-left: 4px;
}
.audition-form__hint { margin: 0 0 4px; color: #666; font-size: 0.82rem; }
.audition-form__row input[type="text"],
.audition-form__row input[type="email"],
.audition-form__row input[type="file"],
.audition-form__row textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cdd6e6;
  border-radius: 6px;
  font: inherit;
  font-size: 0.92rem;
  box-sizing: border-box;
}
.audition-form__row textarea { resize: vertical; min-height: 60px; }

.audition-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
}
.audition-form__actor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px 8px;
  background: #fff;
  border: 2px solid #e0e6f5;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .12s, transform .12s;
}
.audition-form__actor:hover { border-color: #aedaf1; transform: translateY(-1px); }
.audition-form__actor.is-selected {
  border-color: #0e4ccc;
  background: #f0f7ff;
  box-shadow: 0 0 0 2px rgba(14,76,204,.12);
}
.audition-form__actor-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #aedaf1;
  background: #fff;
}
.audition-form__actor-img img { width: 100%; height: 100%; object-fit: cover; }
.audition-form__actor-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0e4ccc;
  text-align: center;
  line-height: 1.1;
}

.audition-form__charnames {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audition-form__charname {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #f7f9ff;
  border: 1px solid #e0e6f5;
  border-radius: 8px;
}
.audition-form__charname-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #aedaf1;
  background: #fff;
}
.audition-form__charname-icon img { width: 100%; height: 100%; object-fit: cover; }
.audition-form__charname-actor {
  flex: 0 0 70px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0e4ccc;
}
.audition-form__charname input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #cdd6e6;
  border-radius: 6px;
  font-size: 0.88rem;
}

.audition-form__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
  flex-wrap: wrap;
}
.audition-form__alt,
.audition-form__submit {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid #0e4ccc;
  cursor: pointer;
  transition: background .12s, color .12s, transform .1s;
}
.audition-form__alt { background: #fff; color: #0e4ccc; }
.audition-form__alt:hover { background: #f0f7ff; }
.audition-form__submit { background: #0e4ccc; color: #fff; }
.audition-form__submit:hover { background: #0a3aa8; transform: translateY(-1px); }

@media (max-width: 600px) {
  .audition-modal__panel { padding: 24px 18px 22px; }
  .audition-form__grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .audition-form__actor-img { width: 48px; height: 48px; }
  .audition-form__charname { flex-wrap: wrap; }
  .audition-form__charname-actor { flex: 0 0 auto; }
  .audition-form__charname input[type="text"] { flex: 1 1 100%; }
}

/* ============================================================
   Round 16 — Specialty pulldown (replaces "Browse other
   specialties" button row + the legacy actor-switchers).
   Reuses the look of the desktop actor-switcher pulldown.
   ============================================================ */
.specialty-switcher {
  display: flex;
  justify-content: center;
  margin: 18px auto 8px;
  max-width: 460px;
  width: 100%;
  position: relative;
}
.specialty-switcher__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 44px 14px 18px;
  border: 2px solid #0e4ccc;
  border-radius: 22px;
  background: #fff;
  color: #0e4ccc;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%230e4ccc' d='M3 5l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 14px;
  transition: background-color .15s, border-color .15s;
}
.specialty-switcher__select:hover {
  background-color: #f0f4fc;
}
.specialty-switcher__select:focus {
  outline: 3px solid #ff7a18;
  outline-offset: 2px;
}
.specialty-switcher__select option:disabled {
  color: #9aa0b0;
  font-style: italic;
}

/* Round 16 — Specialty face-area: full page width + dotted line. */
.sp-area {
  position: relative;
  /* Was constrained; let it span full viewport */
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.sp-area::before {
  /* Decorative SVG dotted line behind the icon row */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='4' width='100%25'%3E%3Cline x1='0' y1='2' x2='100%25' y2='2' stroke='%230e4ccc' stroke-width='2' stroke-dasharray='3,7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}
.sp-strip-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

/* Round 16 — Saturation: 15% on non-selected, 100% on selected.
   .is-active is added by specialty-area.js to the chosen slot. */
.sp-slot {
  filter: saturate(15%);
  transition: filter .25s ease;
}
.sp-slot.is-selected,
.sp-slot:hover,
.sp-slot:focus-within {
  filter: saturate(100%);
}

/* Round 16 — Hide the legacy button-style sp-crosslinks rules in favor of pulldown. */
.sp-crosslinks-section .sp-crosslinks > .sp-crosslink { display: none; }

/* ==================================================================
   Round 17 — home.html refinements
   ================================================================== */

/* Faster crossfade for the peek-fam slideshow (0.9s → 0.5s). */
.sp-peek-fam__img {
    transition: opacity 0.5s ease-in-out !important;
}

/* Remove the dotted blue line BEHIND the specialty strip on home.html
   AND on all specialty pages (Round 21 — user wants a clean strip,
   the connection is now the orange S-curve face-connector). */
.sp-area::before {
    display: none !important;
}

/* Hide the horizontal scrollbar on the family cards row (Meet the Family). */
.fam-cards__track {
    /* Firefox */
    scrollbar-width: none !important;
    /* IE/Edge legacy */
    -ms-overflow-style: none !important;
}
.fam-cards__track::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    background: transparent !important;
}
.fam-cards__track::-webkit-scrollbar-thumb,
.fam-cards__track::-webkit-scrollbar-track {
    background: transparent !important;
    display: none !important;
}

/* Make sure the specialty-connector SVG behaves like face-connector
   (already has .face-connector base class, so it inherits style + behavior).
   Round 55b: z-index 2 so SVG lines render above main-row-content (z-index 1). */
.specialty-connector {
    z-index: 2;
    pointer-events: none;
}
@media (max-width: 760px) {
    .specialty-connector { display: none; }
}

/* ==================================================================
   Round 19 — Fam-card peek crossfade + clip fix
   ================================================================== */

/* Bump the track's top padding so the peek image is never clipped, even
   when hovered (which translates it up an extra 4px). Was 96px. */
.fam-cards__track {
    padding-top: 110px !important;
}

/* Stack peek1 + peek2 in the same spot; only the .is-active one is opaque.
   The 0.5s ease-in-out transition gives a smooth crossfade. */
.fam-card__peek {
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform .18s ease;
}
.fam-card__peek.is-active {
    opacity: 1;
}
/* Both images live at the same absolute position; transform on hover
   (slide-up) is shared via the parent rule .fam-card:hover .fam-card__peek. */
.fam-card__peek--2 {
    /* Identical positioning to peek1 (top:-95, left:50%, transform:translateX(-50%)).
       Already covered by .fam-card__peek base rule. */
}

/* ====================================================================
 * ROUND 20 (revised) — orange S-curve SVG goes BEHIND body content,
 * and the body bg is dropped to 95% opacity so the line is visible
 * through it. Also mute the H1 glow (was too strong).
 * ==================================================================== */

/* Body area — 100% transparent so SVG connector lines are fully visible
   behind all content. Round 50: changed from semi-opaque to transparent. */
/* Round 53: title area restored to blue. Content area stays transparent. */
/* Round 56: title bg 60% opacity, 100px top rounded corners, z-index 5 above SVG */
/* Round 60: title bg now fully opaque so SVG line does NOT show through.
   Previous rgba(184,219,255,0.60) was 60% transparent — orange SVG1 line
   was visible through the title. Opaque background + position:relative
   + z-index:5 ensures SVG renders behind the title box. */
.main-row-title {
    background: rgb(184, 219, 255) !important;
    border-radius: 100px 100px 0 0 !important;
}
.main-row-content {
    background: transparent !important;
}

/* Round 55b: SVG connector sits ABOVE main-row-content (z-index 1) so that
   Line 4 (slideshow→player) is visible over the "What You Get" section.
   Lines 1 & 2 go through empty space so z-index change doesn't affect them.
   pointer-events:none ensures clicks pass through to content underneath. */
.face-connector.specialty-connector {
    pointer-events: none;
    z-index: 2;
}
.main-row-title   { position: relative; z-index: 5; }  /* Round 56: above SVG (z-index 2) */
.main-row-content { position: relative; z-index: 1; }

/* Round 56: text glow/shadow in the same light-blue color as the title area.
   Uses rgba(184, 219, 255) — the title bar's blue — for the glow color. */
.main-row-title h1,
.main-row-title__subtitle {
    text-shadow:
        0 1px 2px rgba(255, 255, 255, .9),
        0 0 6px  rgba(255, 255, 255, .6),
        0 0 12px rgba(184, 219, 255, .8),
        0 0 24px rgba(184, 219, 255, .5),
        0 0 48px rgba(184, 219, 255, .3);
}

/* ==================================================================
   Round 27 — final specialty/tablet layout cleanup (loads after site.css)
   ================================================================== */
@media (max-width: 900px) {
  /* Round 47: sp-col1 now contains sp-col1__images (portrait+slideshow) and sp-shortbio.
     At ≤900px, stack images above shortbio, centered. */
  .sp-col1 {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .sp-col1__images {
    flex-direction: column !important;
    align-items: center !important;
  }
  .sp-col1__images .sp-portrait {
    max-width: 300px !important;
    flex: 0 0 auto !important;
  }
  .sp-col1__images .sp-peek-fam {
    max-width: 60% !important;
    margin: 14px auto 0 !important;
    transform: none !important;
    align-self: center !important;
  }
  .sp-col1 .sp-shortbio {
    flex: 1 1 0% !important;
    margin-top: 0 !important;
    width: 100% !important;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .main-row-content {
    display: grid !important;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
  }
  .main-row-content > .sp-col1 { grid-column: 1 !important; grid-row: 2 !important; width: 100% !important; max-width: 300px !important; justify-self: center !important; }
  .main-row-content > .sp-col2 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }
  .main-row-content > .sp-col2 .voiceprofile-list,
  .main-row-content > .sp-col2 .sp-col2__body,
  .main-row-content > .sp-col2 ul,
  .main-row-content > .sp-col2 li {
    max-width: none !important;
    box-sizing: border-box !important;
  }
  .main-row-content > .sp-col3 {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }
  .main-row-content > .sp-col3 .demo-player,
  .sp-col3 .demo-player,
  #player {
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }
  .sp-family-teaser,
  .sp-family-teaser__inner,
  .fam-cards,
  section[class*="family"],
  section[id*="family"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
  }
  .fam-cards__track { width: 100% !important; max-width: 100% !important; }
}
.fam-cards { position: relative !important; }
.fam-cards__nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
}
.fam-cards__nav--prev { left: 6px !important; right: auto !important; }
.fam-cards__nav--next { right: 6px !important; left: auto !important; }
@media (min-width: 901px) {
  .face-connector,
  .face-connector.specialty-connector,
  .specialty-connector { display: block !important; }
}
@media (max-width: 760px) {
  .face-connector,
  .face-connector.specialty-connector,
  .specialty-connector { display: none !important; }
}

/* ==================================================================
   Round 28 — specialty-page layout: slideshow, arrows, family cards, body fill
   ================================================================== */

/* 1. 761-900px: portrait+slideshow column on right, bullets on left */
@media (min-width: 761px) and (max-width: 900px) {
  .main-row-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) !important;
    gap: 14px !important;
    align-items: start !important;
  }
  .main-row-content > .sp-col1 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 320px !important;
    justify-self: end !important;
  }
  .main-row-content > .sp-col2 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }
  .main-row-content > .sp-col3 {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
  }
}

/* 2. <720: grey-fade slideshow in own row beneath What You Get */
@media (max-width: 720px) {
  .main-row-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: start !important;
  }
  .main-row-content > .sp-col1 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 400px !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }
  .main-row-content > .sp-col2 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .main-row-content > .sp-col3 {
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
  }
}

/* 3. <720: reduce family card width by 20% (200px → 160px), reduce font size */
@media (max-width: 720px) {
  .fam-card {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: 260px !important;
  }
  .fam-card__peek {
    width: 120px !important;
    height: 80px !important;
    top: -78px !important;
  }
  .fam-card__name {
    font-size: 1.1rem !important;
  }
  .fam-card__role {
    font-size: 0.68rem !important;
  }
  .fam-card__bullets {
    font-size: 0.66rem !important;
  }
  .fam-card__bullets li {
    padding: 2px 0 2px 14px !important;
  }
}

/* 4. <901: specialty card scroller arrows stay on left/right of cards
      Override the 720px breakpoint that hides strip-wrap and arrows */
@media (max-width: 900px) and (min-width: 721px) {
  .sp-area {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .sp-strip-wrap {
    display: block !important;
    flex: 1 1 auto !important;
    max-width: 1280px !important;
    overflow-x: auto !important;
  }
  .sp-arrow {
    display: flex !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .sp-area__mobile {
    display: none !important;
  }
}

/* 5. <620: player full-width, no rounded corners on parent container */
@media (max-width: 620px) {
  .sp-col3,
  .main-row-content > .sp-col3 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }
  .sp-col3 .demo-player,
  #player {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* 6. Body fill — Round 50: transparent so SVG connectors show through */
.main-row-content {
  background: transparent !important;
}
.sp-family-teaser {
  background: transparent !important;
}
.sp-seo-body {
  background: transparent !important;
}

/* ==================================================================
   Round 29 — specialty arrows/player/full-width browse fixes
   ================================================================== */

/* <=900: Specialty Cards scroller arrows remain left/right of the card strip. */
@media (max-width: 900px) {
  .sp-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }
  .sp-strip-wrap {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 1280px !important;
    order: 2 !important;
    overflow-x: auto !important;
  }
  .sp-arrow {
    display: flex !important;
    position: static !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    transform: none !important;
    align-self: center !important;
  }
  .sp-arrow--left { order: 1 !important; }
  .sp-arrow--right { order: 3 !important; }
  .sp-area__mobile { display: none !important; }
}

/* <=720 can still use mobile select only if arrows/strip are intentionally hidden later; keep requested arrow fix through 900. */

/* <760 home/VO: player full-width; Browse Other Specialties full-width row below player. */
@media (max-width: 760px) {
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content,
  body[data-page-home="true"] .main-row-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  body.fvo-page-home .main-row-content > .sp-col3,
  body.fvo-page-specialty .main-row-content > .sp-col3,
  body[data-page-home="true"] .main-row-content > .sp-col3 {
    grid-column: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    justify-self: center !important;
  }
  body.fvo-page-home .sp-col3 .demo-player,
  body.fvo-page-specialty .sp-col3 .demo-player,
  body[data-page-home="true"] .sp-col3 .demo-player,
  body.fvo-page-home #player,
  body.fvo-page-specialty #player,
  body[data-page-home="true"] #player {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
  }
  body.fvo-page-home .sp-crosslinks-section,
  body.fvo-page-specialty .sp-crosslinks-section,
  body[data-page-home="true"] .sp-crosslinks-section {
    grid-column: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    clear: both !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
}

/* Round 30 — source-built mobile home/VO rows (no viewport shift hack)
   Round 52: slideshow is in .sp-col1 at all sizes now, so .sp-col2
   no longer needs an internal grid with a "peek" column. */
@media (max-width: 760px) {
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content,
  body[data-page-home="true"] .main-row-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  body.fvo-page-home .main-row-content > .sp-col1,
  body.fvo-page-specialty .main-row-content > .sp-col1,
  body[data-page-home="true"] .main-row-content > .sp-col1 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  /* Round 41: mobile — portrait full width */
  body.fvo-page-home .sp-col1 .sp-portrait,
  body.fvo-page-specialty .sp-col1 .sp-portrait,
  body[data-page-home="true"] .sp-col1 .sp-portrait {
    width: 100% !important;
    height: auto !important;
  }
  /* Round 41: mobile — hero quote full width of screen */
  body.fvo-page-home .sp-col1 .sp-shortbio,
  body.fvo-page-specialty .sp-col1 .sp-shortbio,
  body[data-page-home="true"] .sp-col1 .sp-shortbio {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
  }

  /* Round 52: sp-col2 is simple block at mobile — no internal grid needed.
     The slideshow lives in sp-col1, not sp-col2. */
  body.fvo-page-home .main-row-content > .sp-col2,
  body.fvo-page-specialty .main-row-content > .sp-col2,
  body[data-page-home="true"] .main-row-content > .sp-col2 {
    grid-column: 1 !important;
    grid-row: 3 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  body.fvo-page-home .sp-col2 .voiceprofile-heading,
  body.fvo-page-specialty .sp-col2 .voiceprofile-heading,
  body[data-page-home="true"] .sp-col2 .voiceprofile-heading { margin-top: 0 !important; }
  body.fvo-page-home .sp-col2 .voiceprofile-list,
  body.fvo-page-specialty .sp-col2 .voiceprofile-list,
  body[data-page-home="true"] .sp-col2 .voiceprofile-list {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  body.fvo-page-home .sp-col2 .sp-col2__actions,
  body.fvo-page-specialty .sp-col2 .sp-col2__actions,
  body[data-page-home="true"] .sp-col2 .sp-col2__actions {
    margin-top: 14px !important;
  }

  body.fvo-page-home .main-row-content > .sp-col3,
  body.fvo-page-specialty .main-row-content > .sp-col3,
  body[data-page-home="true"] .main-row-content > .sp-col3 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }
  body.fvo-page-home .sp-col3 .demo-player,
  body.fvo-page-specialty .sp-col3 .demo-player,
  body[data-page-home="true"] .sp-col3 .demo-player,
  body.fvo-page-home #player,
  body.fvo-page-specialty #player,
  body[data-page-home="true"] #player {
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .sp-crosslinks-section,
  body.fvo-page-specialty .sp-crosslinks-section,
  body[data-page-home="true"] .sp-crosslinks-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    clear: both !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 620px) {
  body.fvo-page-home .sp-col3 .demo-player,
  body.fvo-page-specialty .sp-col3 .demo-player,
  body[data-page-home="true"] .sp-col3 .demo-player,
  body.fvo-page-home #player,
  body.fvo-page-specialty #player,
  body[data-page-home="true"] #player {
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 720px) {
  /* Round 52: sp-col2 is display:block at <760, so no grid override needed here.
     The slideshow is in sp-col1, not sp-col2. */
}

/* ==================================================================
   Round 31 — John corrections: home/VO rows through <901; no /VA impact
   ==================================================================
   Scope is limited to home/specialty page markers used by home.html and
   VO specialty pages. /VA/ actor pages use separate actor/voiceprofile/
   player classes and are intentionally not targeted here.
*/
@media (max-width: 900px) {
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body[data-variant="specialty"] .main-row-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .main-row-content > .sp-col1,
  body.fvo-page-specialty .main-row-content > .sp-col1,
  body[data-page-home="true"] .main-row-content > .sp-col1,
  body[data-variant="specialty"] .main-row-content > .sp-col1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .main-row-content > .sp-col2,
  body.fvo-page-specialty .main-row-content > .sp-col2,
  body[data-page-home="true"] .main-row-content > .sp-col2,
  body[data-variant="specialty"] .main-row-content > .sp-col2 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .main-row-content > .sp-col3,
  body.fvo-page-specialty .main-row-content > .sp-col3,
  body[data-page-home="true"] .main-row-content > .sp-col3,
  body[data-variant="specialty"] .main-row-content > .sp-col3 {
    grid-column: 1 !important;
    grid-row: 3 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    justify-self: stretch !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .sp-col3 .demo-player,
  body.fvo-page-specialty .sp-col3 .demo-player,
  body[data-page-home="true"] .sp-col3 .demo-player,
  body[data-variant="specialty"] .sp-col3 .demo-player,
  body.fvo-page-home #player,
  body.fvo-page-specialty #player,
  body[data-page-home="true"] #player,
  body[data-variant="specialty"] #player {
    display: block !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.fvo-page-home .sp-crosslinks-section,
  body.fvo-page-specialty .sp-crosslinks-section,
  body[data-page-home="true"] .sp-crosslinks-section,
  body[data-variant="specialty"] .sp-crosslinks-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 760px) {
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body[data-variant="specialty"] .main-row-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.fvo-page-home .main-row-content > .sp-col1,
  body.fvo-page-specialty .main-row-content > .sp-col1,
  body[data-page-home="true"] .main-row-content > .sp-col1,
  body[data-variant="specialty"] .main-row-content > .sp-col1 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    justify-self: stretch !important;
  }

  body.fvo-page-home .sp-col1 .sp-portrait,
  body.fvo-page-specialty .sp-col1 .sp-portrait,
  body[data-page-home="true"] .sp-col1 .sp-portrait,
  body[data-variant="specialty"] .sp-col1 .sp-portrait {
    flex: 0 0 40vw !important;
    width: 40vw !important;
    max-width: none !important;
    min-width: 40vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 12px 12px 0 !important;
  }

  body.fvo-page-home .sp-col1 .sp-shortbio,
  body.fvo-page-specialty .sp-col1 .sp-shortbio,
  body[data-page-home="true"] .sp-col1 .sp-shortbio,
  body[data-variant="specialty"] .sp-col1 .sp-shortbio {
    flex: 1 1 60vw !important;
    width: 60vw !important;
    max-width: none !important;
    min-width: 40vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Round 32 — JS-relocated Browse row guard for home/VO only (<901).
   round2.js now places Browse after .sp-col3 as a .main-row-content child;
   this guarantees it spans its own full-width row and never sits beside Player. */
@media (max-width: 900px) {
  body.fvo-page-home .main-row-content > .sp-crosslinks-section--mobile-relocated,
  body.fvo-page-specialty .main-row-content > .sp-crosslinks-section--mobile-relocated,
  body[data-page-home="true"] .main-row-content > .sp-crosslinks-section--mobile-relocated,
  body[data-variant="specialty"] .main-row-content > .sp-crosslinks-section--mobile-relocated {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    clear: both !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
  }
}

/* Round 33/47 — Main specialty image: inside sp-col1__images, flex-sized.
   Old 200px max-width removed; portrait is now flex: 0 1 60% of sp-col1__images. */
.sp-col1__images .sp-portrait,
.sp-col1__images picture > img {
    max-width: none !important;  /* let flex sizing control the width */
}

/* ============================================================
   Round 39 — AUTHORITATIVE home + /VO specialty body layout
   ------------------------------------------------------------
   Mirrors the rebuilt actor-page body container rules for the
   home/specialty main area only. Actor pages remain governed by
   actor-page-r8.css. Breakpoints are largest-to-smallest.
   ============================================================ */
body[data-page="home"] main.main-container,
body[data-variant="specialty"] main.main-container,
body[data-page-home="true"] main.main-container,
body.fvo-page-home main.main-container,
body.fvo-page-specialty main.main-container {
  max-width: 1260px !important;
  width: calc(100% - 36px) !important;
  margin: 30px auto 0 !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(20, 30, 60, .20) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
body[data-page="home"] .main-row-title,
body[data-variant="specialty"] .main-row-title,
body[data-page-home="true"] .main-row-title,
body.fvo-page-home .main-row-title,
body.fvo-page-specialty .main-row-title {
  background: rgb(184, 219, 255) !important;  /* Round 60: fully opaque so SVG doesn't show through */
  border: 0 !important;
  border-radius: 100px 100px 0 0 !important;  /* Round 56: 100px rounded top corners */
  box-shadow: none !important;
  min-height: 92px !important;
  height: auto !important;
  padding: 18px 24px 0 !important; /* Round 45: removed bottom gap below quote text */
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  z-index: 5 !important;  /* Round 56: above SVG lines (z-index 2) */
}
body[data-page="home"] .main-row-title h1,
body[data-variant="specialty"] .main-row-title h1,
body[data-page-home="true"] .main-row-title h1,
body.fvo-page-home .main-row-title h1,
body.fvo-page-specialty .main-row-title h1 {
  font-family: var(--font-h, 'Rise of Kingdom', Georgia, serif) !important;
  color: #0e4ccc !important;
  font-size: clamp(2.15rem, 3.4vw, 3.8rem) !important;
  line-height: .95 !important;
  margin: 0 !important;
  font-weight: 800 !important;
}
body[data-page="home"] .main-row-content,
body[data-variant="specialty"] .main-row-content,
body[data-page-home="true"] .main-row-content,
body.fvo-page-home .main-row-content,
body.fvo-page-specialty .main-row-content {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-template-areas:
    "intro intro bullets bullets player player" !important;
  gap: 18px !important;
  align-items: start !important;
  padding: 22px !important;
  background: transparent !important;  /* Round 53: fully transparent, was rgba(255,255,255,.95) */
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: visible !important;
}
body[data-page="home"] .main-row-content > .sp-col1,
body[data-variant="specialty"] .main-row-content > .sp-col1,
body[data-page-home="true"] .main-row-content > .sp-col1,
body.fvo-page-home .main-row-content > .sp-col1,
body.fvo-page-specialty .main-row-content > .sp-col1 {
  grid-area: intro !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}
body[data-page="home"] .main-row-content > .sp-col2,
body[data-variant="specialty"] .main-row-content > .sp-col2,
body[data-page-home="true"] .main-row-content > .sp-col2,
body.fvo-page-home .main-row-content > .sp-col2,
body.fvo-page-specialty .main-row-content > .sp-col2 {
  grid-area: bullets !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  /* Round 52: single-column layout — slideshow moved to col1 in Round 50,
     so the old "list peek" 2-col grid with 120px peek column is gone.
     The list now fills the full width of .sp-col2. */
  display: block !important;
  box-sizing: border-box !important;
}
body[data-page="home"] .sp-col2 .voiceprofile-heading,
body[data-variant="specialty"] .sp-col2 .voiceprofile-heading,
body[data-page-home="true"] .sp-col2 .voiceprofile-heading,
body.fvo-page-home .sp-col2 .voiceprofile-heading,
body.fvo-page-specialty .sp-col2 .voiceprofile-heading { margin-top: 0 !important; }
body[data-page="home"] .sp-col2 .voiceprofile-list,
body[data-variant="specialty"] .sp-col2 .voiceprofile-list,
body[data-page-home="true"] .sp-col2 .voiceprofile-list,
body.fvo-page-home .sp-col2 .voiceprofile-list,
body.fvo-page-specialty .sp-col2 .voiceprofile-list {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
/* Round 52: sp-peek-fam inside sp-col2 is no longer in an internal grid.
   It's hidden at desktop (the slideshow lives in sp-col1 now).
   Only visible at <760 mobile breakpoint via a separate rule below. */
body[data-page="home"] .sp-col2 .sp-col2__actions,
body[data-variant="specialty"] .sp-col2 .sp-col2__actions,
body[data-page-home="true"] .sp-col2 .sp-col2__actions,
body.fvo-page-home .sp-col2 .sp-col2__actions,
body.fvo-page-specialty .sp-col2 .sp-col2__actions { margin-top: 14px; }
body[data-page="home"] .main-row-content > .sp-col3,
body[data-variant="specialty"] .main-row-content > .sp-col3,
body[data-page-home="true"] .main-row-content > .sp-col3,
body.fvo-page-home .main-row-content > .sp-col3,
body.fvo-page-specialty .main-row-content > .sp-col3 {
  grid-area: player !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}
body[data-page="home"] .sp-shortbio .read-more,
body[data-variant="specialty"] .sp-shortbio .read-more,
body[data-page-home="true"] .sp-shortbio .read-more,
body.fvo-page-home .sp-shortbio .read-more,
body.fvo-page-specialty .sp-shortbio .read-more {
  display: none !important;
}
@media (max-width: 1260px) {
  body[data-page="home"] main.main-container,
  body[data-variant="specialty"] main.main-container,
  body[data-page-home="true"] main.main-container,
  body.fvo-page-home main.main-container,
  body.fvo-page-specialty main.main-container {
    max-width: none !important;
    width: 100% !important;
    margin: 30px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
@media (max-width: 900px) {
  body[data-page="home"] .main-row-content,
  body[data-variant="specialty"] .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "intro player"
      "bullets bullets" !important;
    gap: 16px !important;
    padding: 18px !important;
  }
  /* Round 50: "What You Get" gets its own full-width row at ≤900px */
  body[data-page="home"] .main-row-content > .sp-col2,
  body[data-variant="specialty"] .main-row-content > .sp-col2,
  body[data-page-home="true"] .main-row-content > .sp-col2,
  body.fvo-page-home .main-row-content > .sp-col2,
  body.fvo-page-specialty .main-row-content > .sp-col2 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  body[data-page="home"] .main-row-content > .sp-col1,
  body[data-variant="specialty"] .main-row-content > .sp-col1,
  body[data-page-home="true"] .main-row-content > .sp-col1,
  body.fvo-page-home .main-row-content > .sp-col1,
  body.fvo-page-specialty .main-row-content > .sp-col1 {
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
}
@media (max-width: 760px) {
  body[data-page="home"] .main-row-content,
  body[data-variant="specialty"] .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "intro intro"
      "bullets bullets"
      "player player" !important;
    gap: 14px !important;
    padding: 14px !important;
  }
  /* Round 52: sp-col2 is display:block, no internal grid needed.
     Slideshow lives in sp-col1 at all sizes now. */
}
@media (max-width: 560px) {
  body[data-page="home"] .main-row-content,
  body[data-variant="specialty"] .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "intro"
      "bullets"
      "player" !important;
    gap: 14px !important;
    padding: 12px !important;
  }
  body[data-page="home"] .main-row-title,
  body[data-variant="specialty"] .main-row-title,
  body[data-page-home="true"] .main-row-title,
  body.fvo-page-home .main-row-title,
  body.fvo-page-specialty .main-row-title { padding-left: 14px !important; padding-right: 14px !important; }
}

/* ==================================================================
   Round 40 — Specialty image + grey-fade overlay (card-on-card)
   ------------------------------------------------------------------
   Center the specialty image in column 1. Position a copy of the
   grey-fade family slideshow on top of the specialty image at 50%
   width, offset down 50% and right 60% (percentage of the
   specialty image dimensions). This creates the effect of a card
   laying on top of the specialty image, covering the bottom-right
   corner. Both scale proportionally as the page resizes.
   ================================================================== */

/* sp-col1 container: center the portrait */
body[data-page="home"] .sp-col1,
body[data-variant="specialty"] .sp-col1,
body[data-page-home="true"] .sp-col1,
body.fvo-page-home .sp-col1,
body.fvo-page-specialty .sp-col1 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

/* Round 39 — Audition modal bottom clearance + file-size error styling */
.audition-modal__panel {
  padding-bottom: 101px !important; /* original 26px + 75px sticky quote clearance */
}
.audition-form__file-error {
  margin: 6px 0 0 !important;
  padding: 10px 12px !important;
  border: 2px solid #d52b1e !important;
  border-radius: 8px !important;
  background: #fff1ef !important;
  color: #8d1d13 !important;
  font-size: .86rem !important;
  line-height: 1.45 !important;
  box-shadow: 0 2px 8px rgba(213, 43, 30, .12) !important;
}
@media (max-width: 600px) {
  .audition-modal__panel { padding-bottom: 97px !important; }
}

/* ==================================================================
   Round 50 — Specialty Image + Grey-Fade Slideshow OVERLAP in Column 1
   Portrait is the base layer. Slideshow is absolutely positioned on top,
   overlapping the bottom-right area of the portrait.
   Orange-dashed SVG connectors drawn behind images (z-index 1).
   Transparent SVG from slideshow to player (behind col1+col2 content).
   ================================================================== */

/* Wrapper for portrait (base) + slideshow (overlapping) */
.sp-col1__images {
    position: relative;
    width: 100%;
    margin-bottom: 40px;  /* Round 53: push the blue Quote area down */
}

/* Portrait: full-width base layer, with ~30% right margin so the
   portrait is narrower and the overlap with the slideshow is more
   pronounced. The slideshow sits in the right-margin area. */
.sp-col1__images .sp-portrait {
    display: block;
    width: 70%;           /* ~30% right margin for pronounced overlap */
    position: relative;
    z-index: 2;  /* above the SVG connector line */
}

/* Grey-fade slideshow: absolutely positioned, overlapping the portrait.
   Sits in the bottom-right area, ~57% the width of the portrait container
   (increased ~50% from 38% to 57%). The portrait is 70% wide, leaving
   30% on the right — the slideshow extends into that space.
   Round 51: light-grey glow around the card. */
.sp-col1__images .sp-peek-fam {
    position: absolute;
    bottom: -84px;       /* Round 69: lowered 50px further for better combo layout */
    right: 0;            /* flush to the right of the container */
    width: 200px;        /* Round 67: fixed 2:3 size requested */
    max-width: 36%;      /* don't overwhelm the specialty portrait on narrow desktop widths */
    z-index: 3;          /* above both portrait and SVG connectors */
    filter: drop-shadow(0 0 16px rgba(180, 190, 210, .85))
            drop-shadow(0 4px 10px rgba(140, 155, 180, .60));
}

.sp-col1__images .sp-peek-fam__stack {
    width: 200px;
    height: 300px;
    max-width: 100%;
    aspect-ratio: 2 / 3;  /* Round 67: fixed 200×300 display, matching supplied *-BW.jpg assets */
}

.sp-col1__images .sp-peek-fam__caption {
    font-size: 0.7rem;
}

/* SVG connector between portrait and slideshow — drawn by JS */
.sp-col1__connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;  /* behind images (z-index 2+), above nothing */
    overflow: visible;
}

.sp-col1__connector path.portrait-to-slideshow {
    fill: none;
    stroke: var(--c-orange, #e87722);
    stroke-width: 4;
    stroke-dasharray: 8 5;
    opacity: 0.65;
}

/* Round 55b: slideshow→player line — now in main SVG */
/* Round 56: opacity reduced by 10% (0.30 → 0.27) */
.specialty-connector path.slideshow-to-player {
    fill: none;
    stroke: var(--c-orange, #e87722);
    stroke-width: 4;
    stroke-dasharray: 8 5;      /* dashed — matches Line 1 style */
    opacity: 0.27;              /* 27% — reduced 10% from 30% per Round 56 */
}

/* Main full-page SVG connector styles */
.specialty-connector path.slot-to-portrait {
    fill: none;
    stroke: var(--c-orange, #e87722);
    stroke-width: 4;
    stroke-dasharray: 8 5;
    opacity: 0.65;
}

/* Round 55b: portrait→slideshow line, dashed orange — matches Line 1 style */
/* Round 56: opacity reduced by 50% (0.85 → 0.40) */
.specialty-connector path.slot-to-slideshow {
    fill: none;
    stroke: var(--c-orange, #e87722);
    stroke-width: 4;
    stroke-dasharray: 8 5;      /* Round 55b: dashed — matches Line 1 (was 3 7 dotted) */
    opacity: 0.40;              /* Round 56: reduced 50% from 0.85 */
}

/* Round 55: The Overlap (portrait + slideshow) is enabled at ALL breakpoints.
   The connector SVG lines are hidden at ≤760px (changed from 900px), but the overlap layout persists. */
@media (max-width: 760px) {
    .sp-col1__connector { display: none; }
    /* Round 53: keep the Overlap at all sizes — no more stacking/restyling */
}

/* ==================================================================
   Round 58 — desktop column/player fit + title/body rounding + motion
   ================================================================== */
@media (min-width: 901px) {
  body[data-page="home"] .main-row-content,
  body[data-variant="specialty"] .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content {
    grid-template-columns: minmax(0, 29%) minmax(0, 29%) minmax(0, 42%) !important;
    grid-template-areas: "intro bullets player" !important;
  }
}

body[data-page="home"] .main-row-title,
body[data-variant="specialty"] .main-row-title,
body[data-page-home="true"] .main-row-title,
body.fvo-page-home .main-row-title,
body.fvo-page-specialty .main-row-title {
  border-radius: 60px 60px 0 0 !important;
}

body[data-page="home"] .main-row-content,
body[data-variant="specialty"] .main-row-content,
body[data-page-home="true"] .main-row-content,
body.fvo-page-home .main-row-content,
body.fvo-page-specialty .main-row-content {
  background: rgba(255,255,255,.96) !important;
  border-radius: 60px !important;
}

@media (max-width: 1260px) {
  body[data-page="home"] .main-row-title,
  body[data-variant="specialty"] .main-row-title,
  body[data-page-home="true"] .main-row-title,
  body.fvo-page-home .main-row-title,
  body.fvo-page-specialty .main-row-title,
  body[data-page="home"] .main-row-content,
  body[data-variant="specialty"] .main-row-content,
  body[data-page-home="true"] .main-row-content,
  body.fvo-page-home .main-row-content,
  body.fvo-page-specialty .main-row-content {
    border-radius: 0 !important;
  }
}

.main-row-title h1.is-specialty-changing {
  animation: fvo-specialty-title-swoop 720ms cubic-bezier(.18,.9,.24,1) both;
}

@keyframes fvo-specialty-title-swoop {
  0%   { opacity: .18; transform: translateY(-14px) scale(.96) rotate(-1.25deg); letter-spacing: .035em; filter: blur(2px); }
  55%  { opacity: 1; transform: translateY(5px) scale(1.025) rotate(.55deg); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); letter-spacing: inherit; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .main-row-title h1.is-specialty-changing { animation: none !important; }
}
