.site-header{position:sticky;top:0;z-index:5000;background:rgba(17,16,18,.93);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(243,198,183,.10)}
.header-inner{width:min(calc(100% - 48px),var(--content-width));height:72px;margin-inline:auto;display:flex;align-items:center;gap:24px}
.brand-lockup{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center}.brand-lockup img{width:52px;height:52px;object-fit:contain;object-position:center}
.desktop-main-nav{display:flex;align-items:center;gap:16px;min-width:0;white-space:nowrap}.desktop-main-nav>a{position:relative;padding:27px 0 25px;color:#a99ca0;font-size:10px;font-weight:900;letter-spacing:.045em;transition:color .18s ease}.desktop-main-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,var(--brand-peach),var(--brand-rose));transition:transform .18s ease}.desktop-main-nav>a:hover,.desktop-main-nav>a.is-active{color:#fff5f0}.desktop-main-nav>a:hover::after,.desktop-main-nav>a.is-active::after{transform:scaleX(1)}
.desktop-language-nav{margin-left:auto;display:flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.018)}.desktop-language-nav a{min-width:32px;padding:6px 7px;border-radius:999px;text-align:center;color:#82777a;font-size:9px;font-weight:950;letter-spacing:.04em}.desktop-language-nav a.is-active{background:#f2d2c2;color:#181315}
.mobile-menu-button,.mobile-menu-panel{display:none!important}
.locale-th .desktop-main-nav,.locale-ko .desktop-main-nav{gap:14px}.locale-th .desktop-main-nav>a,.locale-ko .desktop-main-nav>a{letter-spacing:0}
@media (max-width:1180px) and (min-width:769px){.header-inner{gap:17px}.desktop-main-nav{gap:11px}.desktop-main-nav>a{font-size:9px}.brand-lockup{width:48px;height:48px;flex-basis:48px}.brand-lockup img{width:48px;height:48px}}

/* STEP9-05A / PC legibility pass. Desktop only (loaded at min-width 769px). */
@media (min-width:1181px) {
  .header-inner { height:78px; gap:26px; }
  .brand-lockup { width:60px; height:60px; flex-basis:60px; }
  .brand-lockup img { width:60px; height:60px; }
  .desktop-main-nav { gap:clamp(13px,1.23vw,20px); }
  .desktop-main-nav > a { padding:29px 0 27px; font-size:12px; font-weight:800; letter-spacing:0; }
  .desktop-language-nav a { min-width:35px; padding:8px 9px; font-size:11px; }
  .locale-th .desktop-main-nav, .locale-ko .desktop-main-nav { gap:clamp(12px,1.14vw,18px); }
}
@media (min-width:769px) and (max-width:1180px) {
  .header-inner { height:72px; gap:12px; }
  .desktop-main-nav, .locale-th .desktop-main-nav, .locale-ko .desktop-main-nav { gap:clamp(7px,.85vw,12px); }
  .desktop-main-nav > a, .locale-th .desktop-main-nav > a, .locale-ko .desktop-main-nav > a { font-size:10px; }
  .desktop-language-nav a { min-width:30px; padding:6px; font-size:10px; }
}
@media (min-width:769px) {
  .footer-inner { padding-top:44px; padding-bottom:40px; }
  .footer-brand { font-size:16px; }
  .footer-primary p, .footer-end > a { font-size:13px; }
  .footer-primary span, .footer-end small { font-size:11px; }
  .footer-nav a { font-size:13px; font-weight:700; letter-spacing:0; }
}


/* STEP9-05B-1 — approved horizontal brand mark (PC only) */
.brand-lockup { width:166px; height:40px; flex:0 0 166px; display:flex; align-items:center; }
.brand-lockup img { display:block; width:100%; height:auto; max-height:40px; object-fit:contain; object-position:left center; }
@media (min-width:1181px) {
    .header-inner { gap:clamp(13px,1.3vw,20px); }
    .desktop-main-nav, .locale-th .desktop-main-nav, .locale-ko .desktop-main-nav { gap:clamp(10px,1vw,15px); }
}
@media (min-width:769px) and (max-width:1180px) {
    .brand-lockup { width:150px; height:36px; flex-basis:150px; }
    .brand-lockup img { max-height:36px; }
}
/* Narrow tablets retain the complete TH / EN / KO menu without crushing the logo. */
@media (min-width:769px) and (max-width:1000px) {
    .header-inner { height:auto; min-height:94px; padding:5px 0 7px;
        display:grid; grid-template-columns:150px minmax(0,1fr); grid-template-rows:53px 29px;
        column-gap:10px; row-gap:0; }
    .brand-lockup { grid-column:1; grid-row:1; }
    .desktop-language-nav { grid-column:2; grid-row:1; justify-self:end; margin-left:0; }
    .desktop-main-nav { grid-column:1 / -1; grid-row:2; width:100%; min-width:0;
        overflow-x:auto; scrollbar-width:none; }
    .desktop-main-nav::-webkit-scrollbar { display:none; }
    .desktop-main-nav > a { padding:4px 0 6px; }
}

/* STEP9-06-03: Six concise localized top-level entries + two native dropdowns. */
@media (min-width:769px) {
 .site-header { overflow:visible; }
 .header-inner { gap:clamp(13px,1.3vw,22px); }
 .desktop-main-nav { display:flex; flex:1 1 auto; min-width:0; align-items:center; justify-content:flex-start; gap:clamp(13px,1.5vw,23px); white-space:nowrap; }
 .desktop-main-nav>a, .desktop-main-nav .lp-nav-group>summary { position:relative; display:flex; align-items:center; gap:8px; color:#c0b0b4; font-size:clamp(12px,.88vw,14px); font-weight:750; line-height:1.45; letter-spacing:0; cursor:pointer; text-decoration:none; }
 .desktop-main-nav>a { padding:0; }
 .desktop-main-nav .lp-nav-group>summary { padding:18px 0; list-style:none; outline-offset:6px; }
 .desktop-main-nav .lp-nav-group>summary::-webkit-details-marker { display:none; }
 .desktop-main-nav>a::after {bottom:-8px;}
 .desktop-main-nav>a:hover,.desktop-main-nav>a.is-active,.lp-nav-group.is-active>summary,.lp-nav-group[open]>summary,.lp-nav-group>summary:hover {color:#f9e5df;}
 .lp-nav-chevron{width:6px;height:6px;border-right:1px solid #e7baa8;border-bottom:1px solid #e7baa8;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease;}
 .lp-nav-group[open] .lp-nav-chevron{transform:rotate(225deg) translate(-2px,-1px)}
 .lp-nav-group{position:relative;flex:none;}
 .lp-nav-dropdown{display:none;position:absolute;top:calc(100% - 3px);left:-18px;min-width:205px;max-width:min(270px,88vw);padding:8px;border:1px solid rgba(244,190,168,.2);border-radius:9px;background:#191719;box-shadow:0 12px 35px rgba(0,0,0,.4);z-index:5300;}
 .lp-nav-group[open] .lp-nav-dropdown {display:flex;flex-direction:column;gap:2px;}
 .lp-nav-dropdown a {display:block;border-radius:6px;padding:11px 13px;color:#c5b6b8;font-size:13px;font-weight:700;line-height:1.45;white-space:normal;}
 .lp-nav-dropdown a:hover,.lp-nav-dropdown a.is-active{background:rgba(240,177,143,.1);color:#ffe8dc;}
 .desktop-language-nav{flex:0 0 auto;margin-left:auto;}
}
@media (min-width:769px) and (max-width:1120px){
 .header-inner{height:auto;min-height:94px;padding:7px 0 9px;display:grid;grid-template-columns:160px minmax(0,1fr);grid-template-rows:46px 36px;column-gap:12px;row-gap:0;}
 .brand-lockup{grid-column:1;grid-row:1;width:150px;height:37px;flex:initial;}
 .brand-lockup img{max-height:37px;}
 .desktop-language-nav{grid-column:2;grid-row:1;justify-self:end;}
 .desktop-main-nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;width:100%;overflow:visible;gap:10px;}
 .desktop-main-nav>a,.desktop-main-nav .lp-nav-group>summary{font-size:12px;}
 .desktop-main-nav .lp-nav-group>summary{padding:7px 0;}
 .lp-nav-group:nth-of-type(2) .lp-nav-dropdown{left:auto;right:0;}
}
@media (min-width:1121px) and (max-width:1280px){
 .header-inner{gap:12px;}
 .desktop-main-nav{gap:clamp(10px,1vw,16px);}
 .desktop-main-nav>a,.desktop-main-nav .lp-nav-group>summary{font-size:12px;}
}
