
.bsc-contact{
    box-sizing:border-box;
    width:100%;
    background:var(--bsc-bg);
    color:var(--bsc-text);
    padding:28px 24px;
    font-family:inherit;
}
.bsc-contact *, .bsc-contact *::before, .bsc-contact *::after{box-sizing:border-box;}
.bsc-contact__inner{
    width:100%;
    max-width:var(--bsc-max-width);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:var(--bsc-gap);
    align-items:start;
}
.bsc-contact--video .bsc-contact__inner{
    /* Give the video more horizontal room than the form on desktop. */
    grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr);
    align-items:start;
}
.bsc-contact__media{
    width:100%;
    min-height:var(--bsc-media-height);
    height:var(--bsc-media-height);
    overflow:hidden;
    background:transparent;
}
.bsc-contact--video .bsc-contact__media{
    /* Let the uploaded video's real aspect ratio determine the height. */
    height:auto;
    min-height:0;
    aspect-ratio:auto;
    overflow:visible;
    background:#000;
}
.bsc-media-el{
    display:block;
    width:100%;
    height:100%;
    object-fit:var(--bsc-media-fit);
    object-position:center;
    background:#000;
}
.bsc-contact--video video.bsc-media-el{
    /* Full-video mode: never crop the uploaded video. */
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    object-position:center;
}
.bsc-contact__media video{background:#000;}
.bsc-media-placeholder{
    width:100%;
    height:100%;
    min-height:260px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    border:1px dashed var(--bsc-border);
    color:var(--bsc-text);
    text-align:center;
    padding:24px;
}
.bsc-media-placeholder .dashicons{font-size:44px;width:44px;height:44px;}
.bsc-contact__content{padding:0 0 12px;}
.bsc-contact__heading{
    margin:0 0 22px;
    color:var(--bsc-heading);
    font-size:clamp(30px,3vw,44px);
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.02em;
}
.bsc-contact__intro{
    margin:0 0 34px;
    color:var(--bsc-text);
    font-size:clamp(20px,2vw,30px);
    line-height:1.35;
}
.bsc-contact__email{
    margin:0 0 36px;
    font-size:18px;
    line-height:1.5;
    color:var(--bsc-text);
}
.bsc-contact__email a{color:var(--bsc-link);text-decoration:none;}
.bsc-contact__email a:hover{text-decoration:underline;}
.bsc-contact__form{margin:0;}
.bsc-field-wrap{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    min-height:62px;
    border:1px solid var(--bsc-border);
    background:var(--bsc-input-bg);
    margin-bottom:26px;
}
.bsc-field-wrap .dashicons{
    flex:0 0 auto;
    width:21px;
    height:21px;
    margin-left:34px;
    margin-right:3px;
    font-size:21px;
    line-height:21px;
    color:var(--bsc-input-text);
}
.bsc-field-wrap input,
.bsc-field-wrap textarea{
    display:block;
    width:100%;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    color:var(--bsc-input-text) !important;
    font:inherit;
    font-size:18px;
    line-height:1.4;
    border-radius:0 !important;
}
.bsc-field-wrap input{
    height:60px;
    padding:10px 22px 10px 0;
}
.bsc-field-wrap textarea{
    min-height:270px;
    padding:20px 22px;
    resize:vertical;
}
.bsc-field-wrap--message{align-items:stretch;}
.bsc-field-wrap input::placeholder,
.bsc-field-wrap textarea::placeholder{color:var(--bsc-placeholder);opacity:1;}
.bsc-field-wrap:focus-within{box-shadow:0 0 0 1px var(--bsc-border);}
.bsc-submit{
    appearance:none;
    border:0;
    border-radius:0;
    background:var(--bsc-btn-bg);
    color:var(--bsc-btn-text);
    font:inherit;
    font-size:16px;
    line-height:1;
    font-weight:800;
    letter-spacing:.06em;
    padding:22px 28px;
    cursor:pointer;
    transition:transform .16s ease, background .16s ease, opacity .16s ease;
}
.bsc-submit:hover{background:var(--bsc-btn-hover);transform:translateY(-1px);}
.bsc-submit:disabled{opacity:.65;cursor:wait;transform:none;}
.bsc-form-status{
    min-height:24px;
    margin-top:14px;
    font-size:15px;
    line-height:1.45;
}
.bsc-form-status.is-success{color:var(--bsc-success);}
.bsc-form-status.is-error{color:var(--bsc-error);}
.bsc-hp-field{
    position:absolute !important;
    left:-10000px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}
@media (max-width:900px){
    .bsc-contact{padding:22px 18px;}
    .bsc-contact__inner,
    .bsc-contact--video .bsc-contact__inner{grid-template-columns:1fr;gap:34px;}
    .bsc-contact__media{height:min(var(--bsc-media-height),70vw);min-height:320px;}
    .bsc-contact--video .bsc-contact__media{height:auto;min-height:0;aspect-ratio:auto;overflow:visible;}
    .bsc-contact__content{padding:0;}
}
@media (max-width:520px){
    .bsc-contact{padding:16px 14px;}
    .bsc-contact__heading{font-size:30px;margin-bottom:16px;}
    .bsc-contact__intro{font-size:20px;margin-bottom:24px;}
    .bsc-contact__email{font-size:16px;margin-bottom:26px;overflow-wrap:anywhere;}
    .bsc-field-wrap{margin-bottom:18px;min-height:56px;}
    .bsc-field-wrap .dashicons{margin-left:18px;}
    .bsc-field-wrap input{height:54px;font-size:16px;}
    .bsc-field-wrap textarea{min-height:220px;font-size:16px;}
    .bsc-submit{width:100%;padding:20px 18px;}
    .bsc-contact__media{min-height:240px;}
    .bsc-contact--video .bsc-contact__media{min-height:0;}
    .bsc-contact--video video.bsc-media-el{height:auto;}
}

/* v1.0.1: keep decorative contact videos clean and control-free. */
.bsc-contact video.bsc-autoplay-video{
    pointer-events:none;
}
.bsc-contact video.bsc-autoplay-video::-webkit-media-controls,
.bsc-contact video.bsc-autoplay-video::-webkit-media-controls-enclosure,
.bsc-contact video.bsc-autoplay-video::-webkit-media-controls-panel,
.bsc-contact video.bsc-autoplay-video::-webkit-media-controls-play-button,
.bsc-contact video.bsc-autoplay-video::-webkit-media-controls-start-playback-button{
    display:none !important;
    -webkit-appearance:none;
    opacity:0;
}


/* v1.0.2: wider video column + native full-video aspect ratio with no cropping. */
.bsc-contact--video .bsc-contact__content{padding-top:0;}
