/**
 * Beholding the Person — Level 2 Safeguarding Training landing page.
 * Scoped to .btp-page so site header/footer stay untouched.
 */

.btp-page {
    --btp-stone: #211C18;
    --btp-stone-deep: #17130f;
    --btp-parchment: #EDE3CC;
    --btp-parchment-dim: #c9bd9f;
    --btp-amber: #C89B3C;
    --btp-amber-bright: #E0B45A;
    --btp-wine: #5B2430;
    --btp-line: rgba(237, 227, 204, 0.14);
    --btp-max: 780px;
    background: var(--btp-stone);
    color: var(--btp-parchment);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.btp-page h1,
.btp-page h2,
.btp-page h3,
.btp-page .btp-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.btp-page a {
    color: inherit;
}

.btp-wrap {
    max-width: var(--btp-max);
    margin: 0 auto;
    padding: 0 28px;
}

.btp-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200, 155, 60, 0.16), transparent 70%);
}

.btp-hero {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
    border-bottom: 1px solid var(--btp-line);
}

.btp-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.btp-image-slot {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--btp-line);
    background: rgba(200, 155, 60, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.btp-image-slot::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(200, 155, 60, 0.35);
    pointer-events: none;
    z-index: 1;
}

.btp-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.btp-image-slot span {
    font-size: 0.82rem;
    color: var(--btp-parchment-dim);
    font-style: italic;
    max-width: 22ch;
    position: relative;
    z-index: 2;
}

.btp-eyeline {
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--btp-amber-bright);
    margin: 0 0 22px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.btp-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--btp-parchment);
}

.btp-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    color: var(--btp-parchment-dim);
    margin: 0 0 34px;
}

.btp-lede {
    max-width: 60ch;
    font-size: 1.08rem;
    color: var(--btp-parchment-dim);
    margin: 0 0 40px;
}

.btp-cta-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.btp-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 2px;
    background: var(--btp-amber);
    color: var(--btp-stone-deep) !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.btp-btn:hover {
    background: var(--btp-amber-bright);
}

.btp-btn--ghost {
    background: transparent;
    color: var(--btp-parchment) !important;
    border: 1px solid var(--btp-line);
}

.btp-btn--ghost:hover {
    border-color: var(--btp-amber);
    color: var(--btp-amber-bright) !important;
}

.btp-recording-note {
    margin-top: 22px;
    font-size: 0.92rem;
    color: var(--btp-amber-bright);
}

.btp-section {
    padding: 76px 0;
    border-bottom: 1px solid var(--btp-line);
}

.btp-section--last {
    border-bottom: none;
}

.btp-title {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    margin: 0 0 26px;
    max-width: 22ch;
    color: var(--btp-parchment);
}

.btp-lede-block {
    max-width: 64ch;
    font-size: 1.06rem;
    color: var(--btp-parchment-dim);
}

.btp-lede-block p {
    margin: 0 0 20px;
}

.btp-lede-block strong {
    color: var(--btp-parchment);
    font-weight: 600;
}

.btp-timeline {
    position: relative;
    margin-top: 10px;
}

.btp-timeline::before {
    content: "";
    position: absolute;
    left: calc(5.5rem + 0.75rem + 4px);
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--btp-line);
}

.btp-t-item {
    display: grid;
    grid-template-columns: 5.5rem 0.75rem 1fr;
    column-gap: 1rem;
    padding: 20px 0;
    position: relative;
    align-items: start;
}

.btp-t-item .btp-time {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--btp-amber-bright);
    padding-top: 1px;
    text-align: right;
    white-space: nowrap;
    padding-right: 0.15rem;
}

.btp-t-item .btp-dot {
    position: relative;
    width: 9px;
    height: 9px;
    margin-top: 7px;
    justify-self: center;
    border-radius: 50%;
    background: var(--btp-amber);
    box-shadow: 0 0 0 4px var(--btp-stone);
    z-index: 1;
}

.btp-t-item h3 {
    font-size: 1.12rem;
    margin: 0 0 4px;
    font-weight: 500;
    color: var(--btp-parchment);
}

.btp-t-item .btp-who {
    font-size: 0.92rem;
    color: var(--btp-parchment-dim);
}

.btp-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--btp-line);
    margin-top: 8px;
    border: 1px solid var(--btp-line);
}

.btp-grid3 .btp-cell {
    background: var(--btp-stone);
    padding: 32px 26px;
    border-top: 2px solid var(--btp-amber);
}

.btp-grid3 .btp-cell h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--btp-parchment);
}

.btp-grid3 .btp-cell p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--btp-parchment-dim);
}

.btp-speakers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 10px;
}

.btp-speaker-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid var(--btp-amber);
    background: rgba(200, 155, 60, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    text-align: center;
    overflow: hidden;
}

.btp-speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btp-speaker-photo span {
    font-size: 0.65rem;
    color: var(--btp-parchment-dim);
    font-style: italic;
    line-height: 1.3;
    padding: 0 8px;
}

.btp-speaker h3 {
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--btp-parchment);
}

.btp-speaker .btp-role {
    font-size: 0.9rem;
    color: var(--btp-amber-bright);
    margin-bottom: 12px;
}

.btp-speaker p {
    font-size: 0.95rem;
    color: var(--btp-parchment-dim);
    margin: 0;
}

.btp-details dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px 20px;
    margin: 0;
    font-size: 0.98rem;
}

.btp-details dt {
    color: var(--btp-amber-bright);
    font-weight: 600;
}

.btp-details dd {
    margin: 0;
    color: var(--btp-parchment-dim);
}

.btp-access-note {
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--btp-parchment-dim);
    max-width: 56ch;
}

.btp-form {
    margin-top: 36px;
    padding: 28px;
    border: 1px solid var(--btp-line);
    background: rgba(0, 0, 0, 0.18);
}

.btp-form h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: var(--btp-parchment);
}

.btp-form-intro {
    margin: 0 0 22px;
    color: var(--btp-parchment-dim);
    font-size: 0.95rem;
}

.btp-form label {
    display: block;
    margin: 0 0 0.4rem;
    color: var(--btp-amber-bright);
    font-size: 0.88rem;
    font-weight: 600;
}

.btp-form .btp-field {
    margin-bottom: 1.1rem;
}

.btp-form input[type="text"],
.btp-form input[type="email"],
.btp-form input[type="number"],
.btp-form select,
.btp-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--btp-line);
    border-radius: 2px;
    background: var(--btp-stone-deep);
    color: var(--btp-parchment);
    font-family: inherit;
    font-size: 1rem;
}

.btp-form input:focus,
.btp-form select:focus,
.btp-form textarea:focus {
    outline: 1px solid var(--btp-amber);
    border-color: var(--btp-amber);
}

.btp-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 0.65rem;
}

.btp-amount {
    position: relative;
    cursor: pointer;
}

.btp-amount input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.btp-amount span {
    display: block;
    text-align: center;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--btp-line);
    border-radius: 2px;
    color: var(--btp-parchment);
    font-weight: 600;
    background: var(--btp-stone-deep);
}

.btp-amount input:checked + span,
.btp-amount:hover span {
    border-color: var(--btp-amber);
    color: var(--btp-amber-bright);
}

.btp-custom-amount {
    display: none;
    margin-top: 0.75rem;
}

.btp-custom-amount.is-open {
    display: block;
}

.btp-code-box {
    margin-top: 0.35rem;
}

.btp-code-field {
    margin-top: 0.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(200, 155, 60, 0.35);
    border-radius: 4px;
    background: rgba(200, 155, 60, 0.06);
}

.btp-or-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    color: var(--btp-parchment-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btp-or-divider::before,
.btp-or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(200, 155, 60, 0.35);
}

.btp-code-help {
    margin: 0.45rem 0 0;
    font-size: 0.85rem;
    color: var(--btp-parchment-dim);
}

.btp-check {
    display: flex !important;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--btp-parchment-dim) !important;
    font-weight: 400 !important;
    font-size: 0.92rem !important;
    line-height: 1.55;
}

.btp-check input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.btp-form-error {
    background: rgba(122, 49, 64, 0.35);
    border-left: 3px solid var(--btp-wine);
    color: var(--btp-parchment);
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.btp-form-success {
    background: rgba(200, 155, 60, 0.12);
    border-left: 3px solid var(--btp-amber);
    color: var(--btp-parchment);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}

.btp-form-success h3 {
    margin-top: 0;
}

.btp-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.btp-footer {
    padding: 50px 0 70px;
    text-align: center;
}

.btp-final {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--btp-parchment);
    max-width: 36ch;
    margin: 0 auto 30px;
}

.btp-fine {
    font-size: 0.82rem;
    color: var(--btp-parchment-dim);
    opacity: 0.7;
    margin-top: 40px;
}

@media (max-width: 780px) {
    .btp-hero-grid {
        grid-template-columns: 1fr;
    }

    .btp-image-slot {
        max-width: 320px;
        margin: 0 auto;
    }

    .btp-timeline::before,
    .btp-t-item .btp-dot {
        display: none;
    }

    .btp-t-item {
        grid-template-columns: 4.5rem 1fr;
        column-gap: 16px;
    }

    .btp-details dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .btp-details dt {
        margin-top: 0.75rem;
    }
}

@media (max-width: 640px) {
    .btp-grid3,
    .btp-speakers {
        grid-template-columns: 1fr;
    }

    .btp-hero {
        padding: 70px 0 60px;
    }

    .btp-section {
        padding: 56px 0;
    }
}
