html, body{ width:100%; overflow-x: clip; }
html{ scroll-behavior: smooth; }
*{ box-sizing: border-box; }

:root{
  --home-bg: #161616;
  --home-bg-2: #222228;
  --home-panel: rgba(255,255,255,0.05);
  --home-panel-2: rgba(255,255,255,0.07);
  --home-border: rgba(255,255,255,0.12);
  --home-border-2: rgba(255,255,255,0.18);
  --home-text: rgba(255,255,255,0.92);
  --home-text-2: rgba(255,255,255,0.72);
  --home-text-3: rgba(255,255,255,0.55);
  --home-shadow: 0 18px 56px rgba(0,0,0,0.50);
  --home-shadow-soft: 0 14px 34px rgba(0,0,0,0.34);
  --home-accent: #FFD400;
  --home-accent-2: rgba(255,212,0,0.18);
  --home-radius-xl: 26px;
  --home-radius-lg: 20px;
  --home-radius-md: 16px;
}
body{
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--home-text);
  background: radial-gradient(900px 520px at 75% 35%, rgba(255,255,255,0.04), transparent 55%),
              var(--home-bg);
}
.has-page-hero .site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: rgba(0,0,0,0.986);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--home-border);
}
.has-page-hero .gnb-link{ color: #fff; }

.has-page-hero .icon-btn{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.18);
  color: #111;
}
.has-page-hero .icon-btn:hover{
  background: var(--home-accent);
  border-color: rgba(0,0,0,0.28);
}

.page-hero{
  height: 380px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: var(--header-h, 94px);
}
.page-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
}
.page-hero__title{
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: clamp(28px, 3.6vw, 54px);
  text-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.subnav{
  background: rgba(37, 37, 37, 0.55);
  border-bottom: 1px solid var(--home-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.subnav__inner{
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  justify-content: center;
  gap: 0;
}
.subnav__link{
  flex: 1;
  min-width: 140px;

  position: relative;
  text-align: center;
  padding: 18px 10px 16px;

  text-decoration: none;
  color: var(--home-text-2);
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;

  transition: color .14s ease, transform .14s ease;
}
.subnav__link:hover{ color: var(--home-text); }
.subnav__link::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5px;

  width: 0;
  height: 3px;
  background: var(--home-accent);
  border-radius: 999px;

  transition: width .16s ease;
}
.subnav__link:hover::after{ width: 70%; }
.subnav__link.is-active{ color: #fff; }
.subnav__link.is-active::after{ width: 70%; }
.subnav__link:focus-visible{
  outline: 2px solid var(--home-accent);
  outline-offset: 6px;
  border-radius: 10px;
}

.products{
  background: transparent;
  padding: 90px 0 140px;
}
.products__inner{
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 0 28px;
}

.products__title{
  margin: 0;
  text-align: center;
  font-size: clamp(45px, 2.6vw, 45px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.products__rule{
  border: 0;
  height: 2px;
  margin: 18px auto 28px;
  max-width: 860px;
  background: var(--home-accent);
  border-radius: 999px;
}

.product-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  margin: 0 auto 18px;

  background: var(--home-panel);
  border: 1px dashed var(--home-border-2);
  border-radius: var(--home-radius-md);
}

.product-search{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.product-search select,
.product-search input{
  height: 42px;
  border-radius: 12px;
  border: 1px dashed var(--home-border-2);
  background: rgba(0,0,0,0.22);
  color: var(--home-text);
  padding: 0 12px;
  outline: none;
}
.product-search input{
  width: min(420px, 66vw);
}
.product-search select{
  min-width: 140px;
}
.product-search button{
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px dashed var(--home-border-2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.product-search button:hover{
  border-style: solid;
  border-color: var(--home-accent);
}

.product-toolbar__meta{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--home-text-2);
  font-size: 14px;
  white-space: nowrap;
}
.product-toolbar__pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px dashed var(--home-border-2);
  background: rgba(0,0,0,0.18);
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

:is(.product-card, .case-card){
  display: block;
  text-decoration: none;
  color: inherit;

  background: var(--home-panel);
  border: 1px dashed var(--home-border-2);
  border-radius: var(--home-radius-lg);
  overflow: hidden;

  transition: transform .14s ease, border-color .14s ease, background-color .14s ease;
}
:is(.product-card, .case-card):hover{
  transform: translateY(-2px);
  border-style: solid;
  border-color: rgba(255,212,0,0.55);
  background: var(--home-panel-2);
}

:is(.product-thumb, .case-thumb){
  position: relative;
  aspect-ratio: 16 / 10;
  border-bottom: 1px dashed var(--home-border-2);
  display: grid;
  place-items: center;
  color: var(--home-text-3);
  font-weight: 900;
  letter-spacing: .08em;
}
:is(.product-thumb, .case-thumb) img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:is(.product-plus, .case-plus){
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(0,0,0,0.55);
  border: 1px dashed rgba(255,255,255,0.32);
  color: #fff;
  font-weight: 900;
}

:is(.product-title, .case-title){
  padding: 14px 14px 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.product-pager,
#casePager,
#productPager{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 22px 0 0;
  flex-wrap: wrap;
}

.navbtn,
.pbtn{
  height: 38px;
  min-width: 42px;
  padding: 0 12px;

  border-radius: 12px;
  border: 1px dashed var(--home-border-2);
  background: rgba(255,255,255,0.04);
  color: var(--home-text);
  font-weight: 850;
  cursor: pointer;
}
.navbtn[disabled],
.pbtn[disabled]{
  opacity: .45;
  cursor: not-allowed;
}
.pbtn.is-on{
  border-style: solid;
  border-color: var(--home-accent);
  background: rgba(255,212,0,0.10);
}

@media (max-width: 900px){
  .page-hero{
    height: 270px;
    padding-top: var(--header-h, 78px);
  }

  .subnav__inner{
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    -webkit-overflow-scrolling: auto;
    gap: 0;
    padding: 10px 12px;
  }
  .subnav__link{
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 6px 10px;

    font-size: clamp(13.5px, 3.0vw, 13.5px);
    line-height: 1.2;
    letter-spacing: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .products{ padding: 44px 0 90px; }
  .products__inner{ padding: 0 16px; }

  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .product-grid{ grid-template-columns: 1fr; }
  .product-search input{ width: min(520px, 92vw); }
}

@media (max-width: 900px){
  .mobile-menu{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
  }
  .mobile-menu[hidden]{ display: none !important; }

  .mobile-menu__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    opacity: 0;
    transition: opacity .28s ease;
  }

  .mobile-menu__panel{
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 72vw);
    background: rgba(0,0,0,0.94);
    border-left: 1px solid rgba(255,255,255,0.12);

    padding-top: calc(80px + env(safe-area-inset-top, 0px));
    transform: translateX(100%);
    transition: transform .28s ease;
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.is-open .mobile-menu__backdrop{ opacity: 1; }
  .mobile-menu.is-open .mobile-menu__panel{ transform: translateX(0); }

  .mobile-menu.is-closing .mobile-menu__backdrop{ opacity: 0; }
  .mobile-menu.is-closing .mobile-menu__panel{ transform: translateX(100%); }

  body.menu-open .site-header{ z-index: 10001 !important; }
  body.menu-open .menu-toggle{
    position: fixed !important;
    top: calc(12px + env(safe-area-inset-top, 0px)) !important;
    right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    z-index: 10002 !important;
  }

  #mobileMenu .mobile-menu__panel{
    left: auto !important;
    right: 0 !important;
    transform: translateX(100%) !important;
  }
  #mobileMenu.is-open .mobile-menu__panel{ transform: translateX(0) !important; }
  #mobileMenu.is-closing .mobile-menu__panel{ transform: translateX(100%) !important; }

  @media (prefers-reduced-motion: reduce){
    .mobile-menu__backdrop,
    .mobile-menu__panel{ transition: none !important; }
  }
}

@media (max-width: 900px){
  body.menu-open .site-header{ z-index: 10001 !important; }
  body.menu-open .menu-toggle{
    z-index: 10002 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
  }

  .menu-toggle{
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle__bar{
    position: absolute;
    left: 50%;
    width: 30px;
    height: 3px;
    background: var(--home-accent);
    border-radius: 999px;
    transform: translateX(-50%);
    transform-origin: 50% 50%;
    transition: transform .22s ease, opacity .18s ease;
    will-change: transform, opacity;
  }
  .menu-toggle__bar:nth-child(1){ transform: translateX(-50%) translateY(-9px); }
  .menu-toggle__bar:nth-child(2){ transform: translateX(-50%) translateY(0); }
  .menu-toggle__bar:nth-child(3){ transform: translateX(-50%) translateY(9px); }

  .menu-toggle.is-active .menu-toggle__bar:nth-child(1){ transform: translateX(-50%) rotate(45deg); }
  .menu-toggle.is-active .menu-toggle__bar:nth-child(2){ opacity: 0; }
  .menu-toggle.is-active .menu-toggle__bar:nth-child(3){ transform: translateX(-50%) rotate(-45deg); }
}

.partners-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 1200px){
  .partners-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px){
  .partners-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .partners-grid{ grid-template-columns: 1fr; }
}

.partner-card{
  display:flex;
  flex-direction:column;
  border: 1px solid #e7e7e7;
  background:#e9e9e9;
  padding: 28px 26px;
  min-height: 520px;
}

.partner-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 170px;
  margin-bottom: 18px;
}

.partner-logo img{
  max-width: 240px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo .logo-placeholder{
  width: 240px;
  height: 160px;
  border: 1px dashed #bdbdbd;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  letter-spacing: .04em;
  color:#333;
  background: rgba(255,255,255,.35);
}

.partner-name{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  margin: 6px 0 10px;
  color:#111;
}

.partner-desc{
  font-size: 14px;
  line-height: 1.7;
  color:#111;
  margin: 0 0 18px;
  flex: 1;
}

.partner-actions{
  display:flex;
  gap: 12px;
}

.partner-btn{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration:none;
  border: 0;
  white-space: nowrap;
  word-break: keep-all;
}

.partner-btn__arrow{
  display:inline-block;
  width: 34px;
  text-align:right;
  font-weight: 900;
  margin-left: 10px;
  flex: 0 0 auto;
}

.partner-btn--home{
  background:#ff9900;
  color:#fff;
}

.partner-btn--products{
  background:#FFD400;
  color:#111;         
}

.partner-btn:focus-visible{
  outline: 2px solid #222;
  outline-offset: 2px;
}

.brand-page .products__title{
  letter-spacing: .06em;
}

@media (max-width: 420px){
  .partner-actions{
    flex-direction: column;
  }
  .partner-btn{
    justify-content: space-between;
  }
}

.partner-card{
  background:#cfcfcf;   
  overflow:hidden;      
  box-sizing:border-box;
}

.partner-actions{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

.partner-btn{
  flex: 1 1 0;         
  min-width:0;          
  box-sizing:border-box;
  overflow:hidden;     
}

@media (max-width: 560px){
  .partner-actions{ flex-direction: column; }
}

.partner-btn{
  justify-content: flex-start; 
  overflow: visible;         
}

.partner-btn::after{
  content: "→";
  margin-left: auto;
  font-weight: 900;
}

.partner-btn__arrow{ display:none; }

.partner-card{
  background:#e9e9e9; 
}

.js .partner-card{
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(2px);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  will-change: opacity, transform, filter;
}

.js .partner-card.is-revealed{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .js .partner-card{
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }
}

@keyframes logoFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

.partner-logo img{
  animation: logoFloat 3.2s ease-in-out infinite;
}

.partner-card{
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.partner-card:hover{
  border-color: #FFD400;
  box-shadow:
    0 14px 36px rgba(0,0,0,.18),
    0 0 0 2px rgba(255,212,0,.55);
}

.partner-btn{
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.partner-btn--home:hover,
.partner-btn--home:focus-visible{
  background: #d97f00; 
  color: #fff;
}

.partner-btn--products:hover,
.partner-btn--products:focus-visible{
  background: #d9b800; 
  color: #111;
}

@media (prefers-reduced-motion: reduce){
  .partner-logo img{ animation: none; }
}

.partner-card{
  position: relative;
  transform: translateY(0) scale(1);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms cubic-bezier(.2,.8,.2,1),
    border-color 220ms ease;
  will-change: transform;
}

.partner-card:hover{
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 18px 44px rgba(0,0,0,.22),
    0 0 0 2px rgba(255,212,0,.55);
}

.partner-card:hover{
  border-color: #FFD400;
}

@media (prefers-reduced-motion: reduce){
  .partner-card{ transition: none; }
  .partner-card:hover{ transform: none; }
}
/* SITE DESIGN : HYUNJUNCHO */
/* U0lURSBERVNJR04gSFlVTkpVTkNITw== */

/* Mobile-only title size override (page big title) */
@media (max-width: 900px){
  .products__title{
    font-size: clamp(32px, 8.2vw, 32px);
  }
}

@media (max-width: 420px){
  .products__title{
    font-size: clamp(24px, 9vw, 34px);
  }
}
/* ===== 모바일 히어로 조절 코드 (추가) ===== */
@media (max-width: 900px){
  .page-hero{
    height: 270px;
  }
  .page-hero__title{
    font-size: clamp(37px, 8vw, 37px);
  }
}
