@charset "utf-8";

/* =========================================================
   00. 브랜드 페이지 초기화 · 공통 색상
========================================================= */
#wrapper.is_brand_page,
#wrapper.is_brand_page #container,
#wrapper.is_brand_page .shop-content{
    display:block;
    float:none;
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
}

.brand-page{
    --sbd-charcoal:#2e2e2b;
    --sbd-yellow:#ffda00;
    --sbd-white:#fff;
    --sbd-gray:#f7f7f7;
    --sbd-text:#262626;
    --sbd-muted:#777;
    --sbd-line:#dedede;
    --brand-eyebrow-size:14px;
    --brand-section-title-size:48px;
    --brand-section-body-size:18px;
    --brand-value-title-size:24px;
    --brand-value-body-size:16px;
    overflow:visible;
    width:100%;
    color:var(--sbd-text);
    background:var(--sbd-white);
    word-break:keep-all;
}

.brand-page *,
.brand-page *:before,
.brand-page *:after{box-sizing:border-box}
.brand-page img{max-width:100%}
.brand-page button,
.brand-page a{font:inherit}
.brand-page figure,
.brand-page p{margin-top:0}
.brand-inner{width:min(calc(100% - 48px),1200px);margin:0 auto}

/* =========================================================
   03. 공통 섹션
========================================================= */
.brand-section{padding:86px 0}
.brand-section[id]{scroll-margin-top:60px}
.brand-section:nth-of-type(even){background:var(--sbd-gray)}
.brand-eyebrow{
    margin:0 0 15px;
    color:#555;
    font-size:var(--brand-eyebrow-size);
    font-weight:800;
    line-height:1.4;
    letter-spacing:.6px;
}
.brand-copy h2,
.brand-section>.brand-inner>h2,
.brand-section-heading h2{
    margin:0 0 22px;
    color:var(--sbd-text);
    font-size:var(--brand-section-title-size);
    font-weight:800;
    line-height:1.15;
    letter-spacing:-2px;
}
.brand-lead,
.brand-copy>p:last-of-type{
    margin-bottom:0;
    color:var(--sbd-muted);
    font-size:var(--brand-section-body-size);
    line-height:1.7;
}
.brand-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:32px;
}
.brand-section-heading h2{margin-bottom:12px}
.brand-more{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:0 17px;
    border:1px solid var(--sbd-charcoal);
    color:var(--sbd-charcoal);
    background:#fff;
    font-size:12px;
    font-weight:800;
    transition:background .2s ease,color .2s ease;
}
.brand-more:hover,
.brand-more:focus-visible{
    color:var(--sbd-yellow);
    background:var(--sbd-charcoal);
}
.brand-list-more{margin-top:22px}
.brand-popup .brand-list-more{
    min-width:260px;
    min-height:54px;
    color:#fff;
    background:var(--sbd-charcoal);
    font-size:15px;
}
.brand-popup .brand-list-more:hover,
.brand-popup .brand-list-more:focus-visible{color:#222;background:var(--sbd-yellow)}
.brand-news .brand-list-more{
    min-width:230px;
    min-height:54px;
    color:#fff;
    background:var(--sbd-charcoal);
    font-size:15px;
}
.brand-news .brand-list-more:hover,
.brand-news .brand-list-more:focus-visible{color:#222;background:var(--sbd-yellow)}

/* =========================================================
   04. 브랜드 소개
========================================================= */
.brand-intro{background:#fff!important}
.brand-intro-grid{
    display:grid;
    grid-template-columns:360px minmax(0,1fr);
    align-items:center;
    gap:70px;
}
.brand-intro-image{position:relative;min-width:0;text-align:center}
.brand-intro-image img{
    display:block;
    width:100%;
    max-height:330px;
    object-fit:contain;
}
.brand-values{
    display:grid;
    margin:45px 0 0;
    padding:0;
    grid-template-columns:repeat(3,1fr);
    list-style:none;
    background:var(--sbd-yellow);
}
.brand-values li{
    position:relative;
    display:flex;
    min-height:105px;
    align-items:center;
    padding:20px 28px;
}
.brand-values li+li:before{
    position:absolute;
    top:50%;
    left:0;
    width:1px;
    height:44px;
    background:rgba(46,46,43,.28);
    content:"";
    transform:translateY(-50%);
}
.brand-values strong,
.brand-values span{display:block}
.brand-values strong{font-size:var(--brand-value-title-size);line-height:1.3}
.brand-values span{margin-top:7px;color:#514b33;font-size:var(--brand-value-body-size);font-weight:500;line-height:1.6}

/* =========================================================
   05. 원조 십원빵 스토리
========================================================= */
.brand-story{padding:50px 0;background:var(--sbd-gray)!important}
.brand-two-column{
    display:grid;
    grid-template-columns:360px minmax(0,1fr);
    align-items:center;
    gap:70px;
}
.brand-small-symbol{display:block;width:88px;margin-top:25px}
.brand-story-image{margin:0}
.brand-story-image img{
    display:block;
    width:auto;
    max-width:100%;
    max-height:540px;
    margin:0 auto;
    object-fit:contain;
}

/* =========================================================
   06. 글로벌 상표권
========================================================= */
.brand-global{
    color:#fff;
    background:var(--sbd-charcoal)!important;
}
.brand-global .brand-eyebrow{color:#fff}
.brand-section.brand-global>.brand-inner>h2{color:var(--sbd-yellow)}
.brand-global .brand-lead{color:#cfcfcf}
.brand-page .brand-global-map{margin:38px 0 0}
.brand-global-map img{display:block;width:100%;object-fit:contain}

/* =========================================================
   07. 브랜드 영상
========================================================= */
.brand-media{background:var(--sbd-gray)!important}
.brand-media-heading{margin-bottom:38px}
.brand-video-sections{display:grid;gap:38px}
.brand-video-group>h3{
    margin:0 0 17px;
    color:var(--sbd-text);
    font-size:22px;
    font-weight:800;
    line-height:1.35;
    letter-spacing:-.8px;
}
.brand-company-layout{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);
    align-items:center;
    gap:42px;
}
.brand-company-copy h4{
    margin:0 0 16px;
    font-size:31px;
    font-weight:800;
    line-height:1.35;
    letter-spacing:-1.2px;
}
.brand-company-copy p{
    margin:0;
    color:var(--sbd-muted);
    font-size:16px;
    line-height:1.7;
}
.brand-video-card{
    overflow:hidden;
    min-width:0;
    border:1px solid #e3e3e3;
    background:#fff;
}
.brand-video-card>a{display:block;height:100%;color:inherit}
.brand-video-thumb{
    position:relative;
    display:block;
    overflow:hidden;
    width:100%;
    background:#e8e8e8;
}
.brand-video-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}
.brand-video-card:hover .brand-video-thumb img{transform:scale(1.025)}
.brand-video-card-feature .brand-video-thumb{aspect-ratio:16/9}
.brand-video-card-grid{
    display:grid;
    min-width:0;
    gap:18px;
}
.brand-video-card-grid-shorts{grid-template-columns:repeat(4,minmax(0,1fr))}
.brand-video-card-grid-shorts .brand-video-thumb{aspect-ratio:9/16}
.brand-video-card-grid-overseas{grid-template-columns:repeat(3,minmax(0,1fr))}
.brand-video-card-grid-overseas .brand-video-thumb{aspect-ratio:16/9}
.brand-video-pagination{display:none}
.brand-video-info{
    display:block;
    min-height:78px;
    padding:14px 16px;
}
.brand-video-info strong,
.brand-video-info small{display:block}
.brand-video-info strong{
    overflow:hidden;
    color:var(--sbd-text);
    font-size:16px;
    font-weight:800;
    line-height:1.4;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.brand-video-info small{
    margin-top:6px;
    color:#999;
    font-size:12px;
    line-height:1.4;
}
.brand-play{
    position:absolute;
    top:50%;
    left:50%;
    display:flex;
    width:52px;
    height:52px;
    align-items:center;
    justify-content:center;
    padding-left:3px;
    border-radius:50%;
    color:var(--sbd-charcoal);
    background:var(--sbd-yellow);
    box-shadow:0 6px 20px rgba(0,0,0,.18);
    font-size:17px;
    transform:translate(-50%,-50%);
    transition:transform .2s ease;
}
.brand-video-card a:hover .brand-play{transform:translate(-50%,-50%) scale(1.08)}

/* 영상 모달 */
.brand-video-modal[hidden]{display:none}
.brand-video-modal{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    padding:24px;
    padding:max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
}
.brand-video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78)}
.brand-video-modal-dialog{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    width:min(92vw,440px);
    max-height:calc(100vh - 50px);
    max-height:calc(100dvh - 48px);
    background:#111;
    box-shadow:0 18px 60px rgba(0,0,0,.35);
}
.brand-video-modal.is-landscape .brand-video-modal-dialog{width:min(92vw,960px)}
.brand-video-modal-head{
    position:relative;
    z-index:2;
    display:flex;
    flex:0 0 56px;
    min-height:56px;
    align-items:center;
    justify-content:space-between;
    padding:0 14px 0 20px;
    color:#fff;
    background:#111;
}
.brand-video-modal-head h3{margin:0;font-size:17px}
.brand-video-modal-close{
    width:40px;
    height:40px;
    padding:0;
    border:0;
    color:#fff;
    background:transparent;
    font-size:31px;
    cursor:pointer;
}
.brand-video-modal-body{min-height:0;overflow:auto;background:#000}
.brand-video-player{
    display:block;
    width:100%;
    max-height:calc(100vh - 106px);
    max-height:calc(100dvh - 104px);
    background:#000;
}
body.brand-video-modal-open{overflow:hidden}

/* =========================================================
   08. 성북당 현장 이야기
========================================================= */
.brand-popup{background:#fff!important}
.brand-popup-carousel{position:relative;margin-top:38px}
.brand-popup-slider{overflow:hidden;touch-action:pan-y}
.brand-popup-grid{display:flex;gap:22px;transition:transform .35s ease}
.brand-popup-card{
    min-width:calc((100% - 44px)/3);
    flex:0 0 calc((100% - 44px)/3);
    overflow:hidden;
    border:1px solid var(--sbd-line);
    background:#fff;
}
.brand-popup-card.is-hidden{display:none!important}
.brand-popup-open{
    display:block;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    color:inherit;
    background:none;
    text-align:left;
    cursor:pointer;
}
.brand-popup-thumb{
    position:relative;
    display:block;
    overflow:hidden;
    width:100%;
    aspect-ratio:16/10;
    background:#e8e8e8;
}
.brand-popup-thumb img,
.brand-popup-thumb video{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}
.brand-popup-card:hover .brand-popup-thumb img,
.brand-popup-card:hover .brand-popup-thumb video{transform:scale(1.035)}
.brand-popup-video-mark{
    position:absolute;
    top:50%;
    left:50%;
    display:flex;
    width:52px;
    height:52px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#222;
    background:var(--sbd-yellow);
    font-size:17px;
    font-style:normal;
    transform:translate(-50%,-50%);
}
.brand-popup-thumb b{
    position:absolute;
    right:12px;
    bottom:12px;
    min-width:32px;
    padding:6px 8px;
    color:#fff;
    background:rgba(46,46,43,.9);
    font-size:11px;
    text-align:center;
}
.brand-popup-info{
    display:block;
    min-height:205px;
    padding:23px 22px 21px;
}
.brand-popup-info small{display:block;font-size:16px;font-weight:800}
.brand-popup-info time{display:block;margin-top:13px;color:#999;font-size:13px}
.brand-popup-info strong{
    display:block;
    margin-top:13px;
    font-size:21px;
    line-height:1.4;
}
.brand-popup-info>span{
    display:-webkit-box;
    overflow:hidden;
    margin-top:7px;
    color:#777;
    font-size:14px;
    line-height:1.55;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.brand-popup-info em{
    display:block;
    margin-top:15px;
    font-size:14px;
    font-style:normal;
    font-weight:800;
}
.brand-popup-prev,
.brand-popup-next{
    position:absolute;
    z-index:3;
    top:50%;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid #ddd;
    border-radius:50%;
    color:#222;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,0,0,.13);
    font-size:28px;
    line-height:1;
    transform:translateY(-50%);
    cursor:pointer;
}
.brand-popup-prev{left:-23px}
.brand-popup-next{right:-23px}
.brand-popup-prev[hidden],
.brand-popup-next[hidden]{display:none}
.brand-popup-prev:disabled,
.brand-popup-next:disabled{opacity:.3;cursor:default}
.brand-popup-pagination,
.brand-news-pagination{
    display:flex;
    min-height:22px;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:12px;
}
.brand-popup-pagination[hidden],
.brand-news-pagination[hidden]{display:none}
.brand-popup-pagination button,
.brand-news-pagination button{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#bdbdbd;
    transition:width .2s ease,background .2s ease;
    cursor:pointer;
}
.brand-popup-pagination button.is-active,
.brand-news-pagination button.is-active{
    width:24px;
    background:var(--sbd-yellow);
}
.brand-popup-empty,
.brand-popup-filter-empty,
.brand-news-empty,
.brand-news-filter-empty{
    margin:0;
    padding:65px 20px;
    border:1px solid var(--sbd-line);
    color:#888;
    background:#fff;
    text-align:center;
}
.brand-popup-filter-empty[hidden],
.brand-news-filter-empty[hidden]{display:none}

/* 현장 이야기 이미지 모달 */
.brand-event-modal[hidden]{display:none}
.brand-event-modal{
    position:fixed;
    inset:0;
    z-index:2147482999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}
.brand-event-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78)}
.brand-event-modal-dialog{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    width:min(94vw,980px);
    max-height:calc(100vh - 48px);
    background:#fff;
}
.brand-event-modal-head{
    position:relative;
    z-index:2;
    display:flex;
    min-height:68px;
    align-items:center;
    justify-content:space-between;
    padding:12px 18px 12px 24px;
    border-bottom:1px solid #ddd;
    background:#fff;
}
.brand-event-modal-head small{display:block;color:#777;font-size:11px}
.brand-event-modal-head h3{margin:4px 0 0;font-size:19px}
.brand-event-modal-close{
    width:42px;
    height:42px;
    padding:0;
    border:0;
    background:transparent;
    font-size:32px;
    cursor:pointer;
}
.brand-event-slider{position:relative;overflow:hidden;min-height:0;background:#111}
.brand-event-track{display:flex;width:100%;transition:transform .35s ease}
.brand-event-slide{
    display:flex;
    box-sizing:border-box;
    min-width:100%;
    flex:0 0 100%;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:18px;
}
.brand-event-slide img,
.brand-event-slide video{
    display:block;
    max-width:100%;
    max-height:calc(100vh - 180px);
    max-height:calc(100dvh - 180px);
    object-fit:contain;
}
.brand-event-slide video{width:auto;background:#000}
.brand-event-prev,
.brand-event-next{
    position:absolute;
    top:50%;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    color:#fff;
    background:rgba(46,46,43,.8);
    font-size:28px;
    transform:translateY(-50%);
    cursor:pointer;
}
.brand-event-prev{left:12px}
.brand-event-next{right:12px}
.brand-event-pagination{padding:12px;color:#666;background:#fff;text-align:center}
body.brand-modal-open{overflow:hidden}

/* =========================================================
   09. 브랜드 소식
========================================================= */
.brand-news{background:var(--sbd-gray)!important}
.brand-news-carousel{position:relative}
.brand-news-slider{overflow:hidden}
.brand-news-grid{display:flex;gap:22px;transition:transform .35s ease}
.brand-news-prev,
.brand-news-next{
    position:absolute;
    z-index:3;
    top:50%;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid #ddd;
    border-radius:50%;
    color:#222;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,0,0,.13);
    font-size:28px;
    line-height:1;
    transform:translateY(-50%);
    cursor:pointer;
}
.brand-news-prev{left:-23px}
.brand-news-next{right:-23px}
.brand-news-prev[hidden],
.brand-news-next[hidden]{display:none}
.brand-news-prev:disabled,
.brand-news-next:disabled{opacity:.3;cursor:default}
.brand-news-card{
    min-width:calc((100% - 44px)/3);
    flex:0 0 calc((100% - 44px)/3);
    overflow:hidden;
    border:1px solid var(--sbd-line);
    border-radius:5px;
    background:#fff;
}
.brand-news-card.is-hidden{display:none!important}
.brand-news-card>a{display:block;height:100%;color:inherit}
.brand-news-thumb{
    display:block;
    overflow:hidden;
    width:100%;
    aspect-ratio:16/10;
    background:#eceff1;
}
.brand-news-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .3s ease;
}
.brand-news-card:hover .brand-news-thumb img{transform:scale(1.035)}
.brand-news-placeholder{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:24px;
    color:var(--sbd-charcoal);
    background:#eceff1;
}
.brand-news-placeholder b{font-size:11px}
.brand-news-placeholder em{font-size:22px;font-style:normal;font-weight:900;line-height:1.15}
.brand-news-info{
    display:block;
    min-height:205px;
    padding:23px 22px 21px;
}
.brand-news-info small{display:block;font-size:16px;font-weight:800}
.brand-news-info time{display:block;margin-top:13px;color:#999;font-size:13px}
.brand-news-info strong{
    display:-webkit-box;
    overflow:hidden;
    height:2.8em;
    margin-top:13px;
    font-size:22px;
    line-height:1.4;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.brand-news-info>span{
    display:-webkit-box;
    overflow:hidden;
    height:3.1em;
    margin-top:7px;
    color:#777;
    font-size:16px;
    line-height:1.55;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.brand-news-info em{
    display:block;
    margin-top:15px;
    font-size:14px;
    font-style:normal;
    font-weight:800;
}

/* =========================================================
   10. 제조·품질
========================================================= */
.brand-factory{background:#fff!important}
.brand-factory-grid{
    display:grid;
    align-items:center;
    margin-top:38px;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);
    gap:34px;
}
.brand-factory-image{margin:0}
.brand-factory-image img{
    display:block;
    width:100%;
    aspect-ratio:2.05/1;
    object-fit:cover;
}
.brand-factory-copy>span{font-size:14px;font-weight:800}
.brand-factory-copy h3{margin:15px 0;font-size:32px;line-height:1.35;letter-spacing:-1px}
.brand-factory-copy p{margin:0;color:#777;font-size:18px;line-height:1.65}
.brand-factory-copy strong{display:block;margin-top:27px;font-size:20px}
.brand-factory-copy strong em{font-size:50px;font-style:normal;line-height:1.1}
.brand-factory-copy small{display:block;margin-top:10px;color:#888;font-size:13px;font-weight:700}
.brand-certificates{
    display:grid;
    margin-top:26px;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}
.brand-certificates article{
    display:flex;
    min-height:138px;
    align-items:center;
    gap:24px;
    padding:20px 24px;
    border:1px solid var(--sbd-line);
    background:#fff;
}
.brand-certificate-image{width:74px;flex:0 0 74px}
.brand-certificate-image img{display:block;width:100%;max-height:100px;object-fit:contain}
.brand-certificates strong,
.brand-certificates span{display:block}
.brand-certificates strong{font-size:24px}
.brand-certificates span{margin-top:7px;color:#777;font-size:16px;line-height:1.5}
.brand-certificate-more{
    display:inline-block;
    margin-top:10px;
    padding-bottom:2px;
    border-bottom:2px solid #222;
    color:#222;
    font-size:15px;
    font-weight:900;
    line-height:1.35;
    letter-spacing:-.2px;
}
.brand-certificate-more:hover,
.brand-certificate-more:focus-visible{border-color:#c36f20;color:#c36f20}
.brand-process{
    display:grid;
    margin:27px 0 0;
    padding:0;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    list-style:none;
    text-align:center;
}
.brand-process li{
    position:relative;
    display:flex;
    min-height:64px;
    align-items:center;
    justify-content:center;
    padding:12px 22px;
    border:1px solid #ddd;
    border-radius:4px;
    color:#333;
    background:#fafafa;
    box-shadow:inset 0 3px 0 var(--sbd-yellow);
    font-size:16px;
    font-weight:800;
}
.brand-process li+li:before{
    position:absolute;
    z-index:2;
    top:50%;
    left:-10px;
    display:flex;
    width:28px;
    height:28px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#222;
    background:var(--sbd-yellow);
    box-shadow:0 2px 7px rgba(0,0,0,.12);
    content:"→";
    font-size:15px;
    transform:translate(-50%,-50%);
}

/* =========================================================
   11. 하단 연결 버튼
========================================================= */
.brand-links-section{padding:38px 0 70px;background:#fff}
.brand-bottom-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.brand-bottom-links a{
    display:flex;
    min-height:54px;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border:1px solid #ccc;
    color:var(--sbd-charcoal);
    background:#fff;
    font-size:15px;
    font-weight:800;
}
.brand-bottom-links a:first-child{
    border-color:var(--sbd-yellow);
    background:var(--sbd-yellow);
}

/* =========================================================
   12. 태블릿
========================================================= */
@media(max-width:1024px){
    /* 반응형에서 .site-header가 fixed로 전환되므로 헤더 높이만큼 본문 시작점을 보정 */
    .brand-page{padding-top:64px}
    #wrapper.is_brand_page,
    #wrapper.is_brand_page #container,
    #wrapper.is_brand_page .shop-content{overflow:visible!important}
    .brand-section[id]{scroll-margin-top:125px}
    .brand-section{padding:70px 0}
    .brand-intro-grid,
    .brand-two-column{grid-template-columns:300px minmax(0,1fr);gap:38px}
    .brand-company-layout{grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);gap:28px}
    .brand-factory-grid{grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:28px}
}

@media(max-width:900px){
    .brand-inner{width:min(calc(100% - 40px),760px)}
    .brand-intro-grid,
    .brand-two-column{grid-template-columns:270px minmax(0,1fr);gap:28px}
    .brand-company-layout{grid-template-columns:minmax(0,1.2fr) minmax(210px,.8fr);gap:24px}
    .brand-company-copy h4{font-size:26px}
    .brand-video-card-grid-shorts{grid-template-columns:repeat(2,minmax(0,1fr))}
    .brand-popup-grid,
    .brand-news-grid{gap:16px}
    .brand-popup-card,
    .brand-news-card{
        min-width:calc((100% - 16px)/2);
        flex-basis:calc((100% - 16px)/2);
    }
    .brand-factory-grid{grid-template-columns:1fr}
}

/* =========================================================
   13. 모바일
========================================================= */
@media(max-width:720px){
    .brand-page{
        --brand-eyebrow-size:12px;
        --brand-section-title-size:32px;
        --brand-section-body-size:16px;
        --brand-value-title-size:20px;
        --brand-value-body-size:14px;
    }
    .brand-inner{width:calc(100% - 48px)}
    .brand-section{padding:52px 0}
    .brand-section[id]{scroll-margin-top:115px}
    .brand-copy h2,
    .brand-section>.brand-inner>h2,
    .brand-section-heading h2{font-size:var(--brand-section-title-size);letter-spacing:-1.5px}
    .brand-lead,
    .brand-copy>p:last-of-type{font-size:var(--brand-section-body-size);line-height:1.7}
    .brand-section-heading{display:block;margin-bottom:24px}
    .brand-section-heading .brand-more{margin-top:18px}

    .brand-intro-grid,
    .brand-two-column{display:flex;flex-direction:column;gap:26px}
    .brand-intro .brand-copy,
    .brand-story .brand-copy{width:100%}
    .brand-intro-image{width:min(88%,420px);margin:0 auto}
    .brand-values{grid-template-columns:1fr;margin-top:30px}
    .brand-values li{min-height:76px;padding:15px 18px}
    .brand-values li+li:before{
        top:0;
        left:50%;
        width:calc(100% - 36px);
        height:1px;
        transform:translateX(-50%);
    }
    .brand-story-image{order:2}
    .brand-small-symbol{width:66px}

    .brand-global-map{margin-top:26px}
    .brand-video-sections{gap:32px}
    .brand-video-sections,
    .brand-video-group,
    .brand-company-layout{width:100%;min-width:0;max-width:100%}
    .brand-video-group>h3{margin-bottom:14px;font-size:20px}
    .brand-company-layout{grid-template-columns:minmax(0,1fr);gap:20px}
    .brand-video-card,
    .brand-video-card-feature{width:100%;min-width:0;max-width:100%}
    .brand-video-thumb,
    .brand-video-thumb img{max-width:100%}
    .brand-company-copy h4{font-size:25px}
    .brand-company-copy p{font-size:15px}
    .brand-video-card-grid{
        display:flex;
        overflow-x:auto;
        overflow-y:hidden;
        width:100%;
        min-width:0;
        gap:12px;
        padding-bottom:8px;
        scroll-behavior:smooth;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        touch-action:pan-x pan-y;
        overscroll-behavior-inline:contain;
    }
    .brand-video-card-grid::-webkit-scrollbar{display:none}
    .brand-video-card-grid-shorts .brand-video-card{
        width:calc((100% - 12px)/2);
        min-width:calc((100% - 12px)/2);
        flex:0 0 calc((100% - 12px)/2);
        scroll-snap-align:start;
        scroll-snap-stop:always;
    }
    .brand-video-card-grid-overseas .brand-video-card{
        width:100%;
        min-width:100%;
        flex:0 0 100%;
        scroll-snap-align:start;
        scroll-snap-stop:always;
    }
    .brand-video-card-grid-shorts .brand-video-card,
    .brand-video-card-grid-overseas .brand-video-card{
        max-width:100%;
    }
    .brand-video-pagination{
        display:flex;
        min-height:22px;
        align-items:center;
        justify-content:center;
        gap:8px;
        margin-top:12px;
    }
    .brand-video-pagination[hidden]{display:none!important}
    .brand-video-pagination button{
        width:8px;
        height:8px;
        padding:0;
        border:0;
        border-radius:999px;
        background:#bdbdbd;
        transition:width .2s ease,background .2s ease;
        cursor:pointer;
    }
    .brand-video-pagination button.is-active{
        width:24px;
        background:var(--sbd-yellow);
    }

    .brand-popup-card,
    .brand-news-card{min-width:100%;flex-basis:100%}
    .brand-popup-carousel{margin-top:26px}
    .brand-popup-prev{left:8px}
    .brand-popup-next{right:8px}
    .brand-popup-prev,
    .brand-popup-next{width:40px;height:40px;font-size:24px}
    .brand-news-prev{left:8px}
    .brand-news-next{right:8px}
    .brand-news-prev,
    .brand-news-next{width:40px;height:40px;font-size:24px}
    .brand-popup .brand-list-more{width:100%;min-width:0}
    .brand-news .brand-list-more{width:100%;min-width:0}
    .brand-popup-info,
    .brand-news-info{min-height:0;padding:17px}
    .brand-popup-info strong,
    .brand-news-info strong{font-size:18px}

    .brand-factory-grid{margin-top:26px;gap:24px}
    .brand-factory-copy h3{font-size:24px}
    .brand-factory-copy strong em{font-size:36px}
    .brand-certificates{grid-template-columns:1fr}
    .brand-certificates article{min-height:120px;padding:16px}
    .brand-process{grid-template-columns:1fr;gap:18px;text-align:center}
    .brand-process li{min-height:58px;padding:11px 16px}
    .brand-process li+li:before{
        top:-9px;
        left:50%;
        content:"↓";
        transform:translate(-50%,-50%);
    }

    .brand-bottom-links{grid-template-columns:1fr 1fr}
    .brand-links-section{padding:28px 0 50px}
    .brand-event-modal{padding:12px}
    .brand-event-modal-dialog{max-height:calc(100vh - 24px)}
    .brand-event-slide{padding:8px}
    .brand-event-slide img,
    .brand-event-slide video{
        max-height:calc(100vh - 165px);
        max-height:calc(100dvh - 165px);
    }
}

@media(max-width:480px){
    .brand-bottom-links{grid-template-columns:1fr}
    .brand-video-modal{
        padding:12px;
        padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    }
    .brand-video-modal-dialog{width:100%}
}
