/* =====================================================================================================
   NTFP-EP Indonesia: header situs (komponen tata letak): logo, tagline, menu, submenu, pilihan bahasa, header saat
   digulir, dan tinggi header (--head-h, --head-h-s) yang dipakai halaman. Skripnya: site-header.js.
   Dipisah dari assets/components/core/dasar.css (19 Okt 2026) dengan urutan aturan yang sama; dimuat tepat setelah dasar.css.
   Kembaran di plugin: assets/css/header.css.
   ===================================================================================================== */
/* ---------- sticky site header ---------- */
:root{--head-h:72px;--head-h-s:72px}   /* one height, no shrink on scroll: 72 px with a 48 px logo (the picture has ~4 px of empty edge, so the logo itself sits ~16 px from the top and bottom, as dub.co's bar) (user, 20 Oct 2026; was 112 shrinking to 68). Phones: below */
.site-head{position:fixed;z-index:40;top:0;left:0;right:0;height:var(--head-h);pointer-events:none;transition:height .6s var(--ease);transform:translateZ(0);backface-visibility:hidden;will-change:transform}   /* its own compositing layer: stays steady while the animated, night-filtered hero scrolls under it (mobile browsers otherwise repaint and flicker it) */
.head-bg{position:absolute;inset:0;background:var(--paper);box-shadow:0 1px 0 rgba(36,48,40,.08),0 12px 24px -20px rgba(36,48,40,.45);opacity:0;transition:opacity .5s var(--ease)}
.scrolled .site-head{height:var(--head-h-s)}
.scrolled .head-bg,.head-kaca .head-bg{opacity:1}   /* the bar after scrolling; from the top on the pages set true in PENGATURAN.glassHeader (html.head-kaca, site-header.js) */
.top-sentinel{position:absolute;top:0;left:0;width:1px;height:48px;pointer-events:none}
.top{position:absolute;z-index:1;top:0;left:0;height:100%;padding:0 var(--wadah-tepi);pointer-events:none}   /* logo now has a transparent background (assets/images/brand/logo.png) */
.top a{pointer-events:auto;display:block;border-radius:12px}
/* web: the tagline sits to the right of the logo (the intro eyebrow is hidden); mobile keeps the eyebrow above the headline */
.top{display:flex;align-items:center;gap:16px}
.top-tag{margin:0;padding-left:16px;border-left:1px solid rgba(51,103,46,.35);font-size:14px;line-height:20px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--forest);white-space:nowrap}
.top img{display:block;height:48px;width:auto;transition:height .6s var(--ease)}
/* ---------- Top-right menu ---------- */
.menu{position:absolute;z-index:2;top:0;right:var(--wadah-tepi);height:100%;display:flex;align-items:center;pointer-events:auto}
.menu-toggle{display:none}
.menu-list{display:flex;align-items:center;gap:32px}
.menu ul{display:flex;align-items:center;gap:32px;margin:0;padding:0;list-style:none}
.menu a{position:relative;display:block;padding:4px 0;color:var(--ink);text-decoration:none;font-size:16px;line-height:24px;font-weight:500;white-space:nowrap;border-radius:6px}
.menu-list > ul > li > a{font-weight:700}   /* main menu items bold (user, 2026-10-16); sub menu items stay 500 */
.menu a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--leaf);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
.menu a:hover::after,.menu a:focus-visible::after{transform:scaleX(1)}
/* sub menus (PENGATURAN header.teks.menu): a small arrow beside the item; desktop: a card drops below it (on hover, on
   keyboard focus, or with the arrow), the next level opens to its left; phones (inside the Menu panel): folds open below */
.menu li{position:relative}
.menu li.has-sub{display:flex;align-items:center;gap:2px}
.sub-toggle{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:6px;background:none;color:inherit;cursor:pointer;color:var(--ink)}
.sub-toggle svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.sub-toggle:focus-visible{outline:2px solid var(--leaf);outline-offset:1px}
.menu li.open > .sub-toggle svg{transform:rotate(180deg)}
.menu .sub{display:none;position:absolute;z-index:5;top:100%;left:-12px;min-width:220px;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:8px;list-style:none;
  background:var(--smb,var(--paper));border-radius:12px;box-shadow:0 1px 0 rgba(36,48,40,.08),0 18px 36px -18px rgba(36,48,40,.5);transition:background-color .6s ease}
.menu .sub .sub{top:-8px;left:calc(100% + 6px);right:auto}   /* the next level opens to the right ... */
.menu .sub li.flip > .sub{left:auto;right:calc(100% + 6px)}
/* an invisible bridge over the card padding and the gap, so the pointer can travel from an item to its side card without it closing */
@media (min-width:901px){
  .menu:not(.sm-2) .sub li.has-sub::after{content:"";position:absolute;top:-4px;bottom:-4px;left:100%;width:18px}
  .menu:not(.sm-2) .sub li.has-sub.flip::after{left:auto;right:100%}
}   /* ... or to the left when there is no room (see subFit) */
.menu-list > ul > li.flip > .sub{left:auto;right:-12px}   /* a first-level card that would run off the right edge lines up with its item on the right */
.menu li.open > .sub{display:flex}
@media (hover:hover) and (min-width:901px){
  .menu li.has-sub:hover > .sub,.menu li.has-sub:focus-within > .sub{display:flex}
  .menu li.has-sub:hover > .sub-toggle svg{transform:rotate(180deg)}
}
.menu .sub li.has-sub{justify-content:space-between}
.menu .sub a{flex:1 1 auto;padding:8px 10px;border-radius:8px;font-size:15px;line-height:22px;color:var(--ink)!important;text-shadow:none!important}
.menu .sub a::after{display:none}
.menu .sub a:hover,.menu .sub a:focus-visible{background:var(--smh-auto,var(--smh,rgba(36,48,40,.06)));transition:background-color .3s ease}   /* hover colour follows the time of day (header.warnaSorotSubmenu) */
html.waktu-fajar{--smh:var(--smh-fajar,#F3DFD8)}
html.waktu-pagi{--smh:var(--smh-pagi,#F5EAD6)}
html.waktu-siang{--smh:var(--smh-siang,#E9EEDB)}
html.waktu-sore{--smh:var(--smh-sore,#F5E0C3)}
html.waktu-malam{--smh:var(--smh-malam,#DCE3F0)}
html.waktu-fajar{--smb:var(--smb-fajar,var(--paper))}
html.waktu-pagi{--smb:var(--smb-pagi,var(--paper))}
html.waktu-siang{--smb:var(--smb-siang,var(--paper))}
html.waktu-sore{--smb:var(--smb-sore,var(--paper))}
html.waktu-malam{--smb:var(--smb-malam,var(--paper))}
@media (min-width:901px){
  .menu .sub a,.menu .sub .sub-toggle{color:var(--smt,var(--ink))!important}
  .menu.sm-2 .sub .sub a{color:var(--smt,var(--ink-soft))!important}
}   /* sub menu text on the desktop cards (header.warnaTeksSubmenu); phones keep the panel colours */
@media (max-width:900px){
  .menu .sub{background:none}
}   /* phones: the lists sit inside the Menu panel */
.menu .sub .sub-toggle{transform:rotate(-90deg)}   /* points to the side the next level opens on: right ... */
.menu .sub li.flip > .sub-toggle{transform:rotate(90deg)}   /* ... or left */
@media (min-width:901px){
  .menu .sub li.has-sub > .sub-toggle svg{transform:none!important}
}   /* desktop: the arrow keeps pointing to where the next level opens */
@media (min-width:761px){ html.waktu-malam .sub-toggle{color:#F4F1E4;filter:drop-shadow(0 1px 3px rgba(18,26,42,.9))} }   /* night, desktop: light like the menu words over the dark sky; the phone menu panel stays light, so there the arrow keeps the dark ink */
html.waktu-malam .menu .sub .sub-toggle{color:var(--ink)}
/* sub menu style 2 (gayaSubmenu: 2): the next level sits inside the same card, indented a little, in smaller type */
@media (min-width:901px){
  .menu.sm-2 .sub .sub{position:static;display:flex;min-width:0;margin:0 0 4px 12px;padding:0 0 0 10px;background:none;box-shadow:none;border-radius:0;border-left:2px solid var(--line)}
  .menu.sm-2 .sub li.has-sub{display:block}
  .menu.sm-2 .sub .sub-toggle{display:none}
}
.menu.sm-2 .sub a{font-size:14px;line-height:20px}
.menu.sm-2 .sub .sub a{font-size:13px;line-height:18px;padding:6px 10px;color:var(--ink-soft)!important}
/* desktop sub menu cards: shadcn/ui Navigation Menu, the card under its item (viewport={false}; ui.shadcn.com/docs/components/
   navigation-menu; user, 20 Oct 2026): 6 px below the item, a thin border and a small shadow, opens with a short fade and
   zoom from 95 %, links 14 px with 8 px padding and a 3 px focus ring. The brand stays: 12 px corners (--ui-radius), weight
   500, and the time-of-day card and hover colours (header.warnaLatarSubmenu / warnaSorotSubmenu). The ≤ 900 px menu is not
   affected. Tokens from ui/theme.css, with fallbacks for a page that does not load it. */
@media (min-width:901px){
  .menu .sub{margin-top:6px;padding:8px;border:1px solid var(--ui-border,var(--line));border-radius:var(--ui-radius,12px);
    box-shadow:0 1px 3px rgba(36,48,40,.1),0 1px 2px -1px rgba(36,48,40,.1);transform-origin:top center}
  .menu .sub .sub{top:-9px;margin-top:0}   /* side cards: the first item level with the item that opened it (8 px padding + 1 px border) */
  /* as wide as its longest item (at least 160 px; was a fixed 220), and centred under its item, as shadcn's viewport
     (user, 20 Oct 2026). translate, not transform, so the opening zoom still works; a card that would run off the right
     edge lines up on the right instead (li.flip, subFit in site-header.js) */
  .menu .sub{min-width:160px;width:max-content}
  .menu-list > ul > li > .sub{left:50%;translate:-50% 0}
  .menu-list > ul > li.flip > .sub{left:auto;right:-12px;translate:none}
  .menu-list > ul > li.has-sub::before{content:"";position:absolute;left:0;right:0;top:100%;height:8px}   /* a bridge over the 6 px gap, so the card stays open on the way down */
  .menu li.open > .sub,.menu li.has-sub:hover > .sub,.menu li.has-sub:focus-within > .sub{animation:nm-in .15s ease-out}
  .menu .sub a{padding:8px;font-size:16px;line-height:24px;font-weight:400;border-radius:calc(var(--ui-radius,12px) - 4px)}   /* the menu's own size, Regular (user, 20 Oct 2026; was 14 px); smaller with the menu below */
  html.head-tight-1 .menu-list > ul > li > .sub a{font-size:14px;line-height:20px}   /* a tight header: with the menu, 14 px */
  .menu .sub a:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-ring,var(--forest)) 50%,transparent)}
  .menu-list > ul > li > .sub-toggle svg{width:12px;height:12px}   /* shadcn's chevron: size-3 beside the item */
  /* an item with a card (Tentang Kami): the green underline only while its card is open (hover, focus or click), never at rest, also on
     its own pages (user, 20 Oct 2026; replaces the earlier "no underline while open"). Other items keep their current-page underline */
  .menu-list > ul > li.has-sub:not(:is(.open,:hover,:focus-within)) > a::after{transform:scaleX(0)}
  .menu-list > ul > li.has-sub:is(.open,:hover,:focus-within) > a::after{transform:scaleX(1)}
  .menu.sm-2 .sub .sub{width:auto;border-width:0 0 0 2px;border-radius:0;box-shadow:none;animation:none}   /* style 2: the next level stays an indented list inside the card */
}
@keyframes nm-in{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}
@keyframes nm-fade{from{opacity:0}to{opacity:1}}
@media (min-width:901px) and (prefers-reduced-motion:reduce){
  .menu li.open > .sub,.menu li.has-sub:hover > .sub,.menu li.has-sub:focus-within > .sub{animation-name:nm-fade}   /* a fade, no zoom */
}
/* folding (lipatSubmenu): the list stays in place with no height; the script animates the height when it opens / shuts */
@media (min-width:901px){
  .menu.sm-2.sm-fold .sub li.has-sub{display:flex;flex-wrap:wrap;align-items:center}
  .menu.sm-2.sm-fold .sub li.has-sub > a{flex:1 1 auto}
  .menu.sm-2.sm-fold .sub li.has-sub > .sub{flex:0 0 calc(100% - 12px)}
  .menu.sm-2.sm-fold .sub .sub-toggle{display:grid;transform:none!important}
  .menu.sm-2.sm-fold .sub .sub{height:0;overflow:hidden;opacity:0;margin-bottom:0;transition:height var(--fold-dur,.3s) var(--ease),opacity var(--fold-dur,.3s) ease,margin var(--fold-dur,.3s) ease}
  .menu.sm-2.sm-fold .sub li.open > .sub{height:auto;opacity:1;margin-bottom:4px}
  .menu.sm-2.sm-fold .sub li.open > .sub-toggle svg{transform:rotate(180deg)!important}
}
@media (max-width:900px){
  .menu.sm-fold .sub{display:flex!important;height:0;overflow:hidden;opacity:0;transition:height var(--fold-dur,.3s) var(--ease),opacity var(--fold-dur,.3s) ease}
  .menu.sm-fold .sub{padding-bottom:0!important}   /* shut: nothing left showing */
  .menu.sm-fold li.open > .sub{height:auto;opacity:1}
}
@media (max-width:900px){
  .menu.sm-2 .sub a{font-size:13px;line-height:18px}
  .menu.sm-2 .sub .sub a{font-size:12px;line-height:16px}
}   /* phones: the menu itself is 14 px, so each level one step smaller */
/* a tight header (measured by headFit, desktop and tablet): first the menu closes up, then the tagline steps aside */
html.head-tight-1 .menu-list,html.head-tight-1 .menu ul{gap:16px}
html.head-tight-1 .menu-list > ul > li > a{font-size:14px}   /* and the active language code: language-switch.css */
html.head-tight-2 .top-tag{display:none}
/* language (ID / EN): assets/components/layout/language-switch.css */
html.waktu-malam .top-tag{color:#B9D88F;border-left-color:rgba(185,216,143,.4)}
/* night: the header bar that appears on scroll is night blue, not white, so there is no bright flash over the dark page */
.head-bg{transition:opacity .5s var(--ease),background-color var(--tod-dur,1.5s) ease}
html.waktu-malam .head-bg{background:#1E2A3D;box-shadow:0 1px 0 rgba(0,0,0,.25),0 12px 24px -20px rgba(0,0,0,.6)}
/* the bar is see-through with a blur, as on dub.co (bg-white/75, backdrop-blur-lg and a hairline under it; user, 20 Oct
   2026): the page shows softly through it while scrolling. On .head-bg itself (a layer beside the logo and menu), so the
   folded menu panel keeps its own blur of the page. Browsers without backdrop-filter keep the solid bar above */
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  html:not(.head-padat) .head-bg{background:color-mix(in srgb,var(--hb-c,var(--paper)) var(--hb-a,75%),transparent);-webkit-backdrop-filter:blur(var(--hb-blur,16px));backdrop-filter:blur(var(--hb-blur,16px));box-shadow:0 1px 0 rgba(36,48,40,.1)}
  html.waktu-malam:not(.head-padat) .head-bg{background:color-mix(in srgb,var(--hb-c,#1E2A3D) var(--hb-a,75%),transparent);box-shadow:0 1px 0 rgba(0,0,0,.3)}
}   /* PENGATURAN header.scrolledBackground (seeThrough, opacity, blur) and tampilan.header.latar.warnaLatar, set by site-header.js as --hb-a, --hb-blur, --hb-c; html.head-padat = the solid bar */
.top-tag,.menu a{transition:color .5s var(--ease),border-color .5s var(--ease)}   /* text colours fade together with the header background (no flash at night) */
@media (min-width:761px){
  html.waktu-malam .menu a{color:#F4F1E4;text-shadow:0 1px 8px rgba(18,26,42,.9),0 0 2px rgba(18,26,42,.6)}   /* readable over the moonlight */   /* ID / EN: language-switch.css */
}
@media (max-width:1100px){
  .top-tag{max-width:152px;font-size:12px;line-height:16px;white-space:normal}   /* two lines, clears the menu */
  .menu{right:24px}
  .menu-list,.menu ul{gap:20px}
  .menu a{font-size:14px;line-height:20px}
  .menu .sub a{font-size:14px;line-height:20px}   /* the card links keep the menu's size */
}
@media (min-width:761px) and (max-height:820px){
  .top-tag{font-size:13px;line-height:18px}
  .menu-list,.menu ul{gap:28px}
  .menu a{font-size:15px;line-height:22px}
  .menu .sub a{font-size:15px;line-height:22px}   /* the card links keep the menu's size */
}
/* ---------- Mobile: stacked, illustration stays the hero ---------- */
/* up to 900 px the full menu no longer fits beside the logo and tagline: collapse it into the Menu button */
@media (max-width:900px){
  .menu-toggle{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:14px;line-height:20px;font-weight:600;cursor:pointer}
  .menu-toggle svg{width:20px;height:20px}
  .menu-list{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:224px;flex-direction:column;align-items:stretch;gap:12px;padding:16px;background:var(--paper);border-radius:12px;box-shadow:0 1px 0 rgba(36,48,40,.08),0 24px 48px -28px rgba(36,48,40,.55)}
  .menu.open .menu-list{display:flex}
  .menu ul{flex-direction:column;align-items:stretch;gap:4px}
  .menu a{padding:8px}
  .menu .sub a{font-size:14px;line-height:20px}   /* sub menus no larger than the menu itself (14 px here) */
  .menu li.has-sub{display:grid;grid-template-columns:1fr auto;align-items:center}
  .menu .sub,.menu .sub .sub{position:static;grid-column:1 / -1;min-width:0;padding:0 0 4px 14px;background:none;box-shadow:none;border-radius:0;border-left:2px solid var(--line);margin-left:8px}
  .menu .sub .sub-toggle{transform:none}
  .menu-list{max-height:calc(100svh - 96px);overflow-y:auto}   /* a long menu scrolls inside its panel */
  .sub-toggle{width:36px;height:36px}
}
@media (max-width:760px){
  /* one gutter for both edges: logo on the left, Menu on the right (safe-area aware on notched phones) */
  :root{--gut:16px;--head-h:60px;--head-h-s:52px}   /* a slim header on phones (was 80 / 64) */
  .top{padding:0 var(--gut);padding-left:max(var(--gut), env(safe-area-inset-left))}
  .top img{height:38px}
  .scrolled .top img{height:32px}
  /* tagline beside the logo on mobile too: two short lines between logo and Menu */
  .top{gap:12px}
  .top-tag{padding-left:12px;font-size:11px;line-height:14px;letter-spacing:.1em;white-space:normal;max-width:132px}
  .menu{top:0;right:max(var(--gut), env(safe-area-inset-right));left:auto;height:100%}
}
@media (max-width:359px){
  .menu-toggle span{display:none}   /* icon-only Menu leaves room for the tagline */
  .menu-toggle{padding:6px}
  .menu-toggle svg{width:18px;height:18px}
}

/* the page in view and its parent menu item keep the underline (e.g. Tentang Kami while on Sejarah) */
.menu-list > ul > li.is-current > a::after,.menu a[aria-current="page"]::after{transform:scaleX(1)}
.menu .sub a[aria-current="page"]{background:var(--smh-auto,var(--smh,rgba(36,48,40,.06)));font-weight:600}

.msheet-label{display:none}   /* the folded menu's label: only inside it (below) */

/* ---------- the folded menu (up to 900 px), as shadcn/ui's own mobile menu (ui.shadcn.com on a phone; chosen 19 Oct 2026; site-header.js):
   left of the logo a bare two-line icon (Phosphor "equals") with the word "Menu" (no box; Phosphor "x" when open); the menu opens full
   width under the header (see-through, the page blurred behind), the links large; a menu with a submenu opens it in place, like
   shadcn's Accordion; ID / EN sit at the top right of the header, styled as on desktop; on phones the header keeps its size when
   the page scrolls. html.menu-sheet is set by site-header.js; the plain folded-menu rules above stay as the fallback. ---------- */
@media (max-width:900px){
  html.menu-sheet .menu{left:var(--wadah-tepi);right:auto}
  html.menu-sheet .top{padding-left:calc(var(--wadah-tepi) + var(--mtog-w,72px) + 20px)}   /* --mtog-w: the button's width, measured by site-header.js */
  /* the button: icon + "Menu", no box; 44 px tall to tap. Forest green like the tagline at the top, black (ink) once the page is
     scrolled or the menu is open (the header has its paper bar then), light at night (homepage) */
  html.menu-sheet .menu-toggle{gap:10px;height:44px;padding:0;border:0;border-radius:0;background:none;color:var(--forest);font-size:18px;line-height:24px;font-weight:600;transition:color .3s ease}
  html.menu-sheet.scrolled .menu-toggle,html.menu-sheet.msheet-open .menu-toggle{color:var(--ink)}
  html.menu-sheet.waktu-malam .menu-toggle{color:#F4F1E4}
  html.menu-sheet .menu-toggle span:not(.mtog-ic){display:inline}
  html.menu-sheet.msheet-kecil .menu-toggle span:not(.mtog-ic){display:none}   /* no room beside ID / EN: the icon only (site-header.js) */
  html.menu-sheet.msheet-tanpa-tag .top-tag{display:none}   /* still no room: the tagline steps aside */
  /* the icon: Phosphor "equals" (two lines), "x" while the menu is open (styling guide §10), 20 px */
  html.menu-sheet .menu-toggle svg{display:block;flex:none;width:20px;height:20px}
  html.menu-sheet .menu-toggle .mtog-x,html.menu-sheet .menu.open .menu-toggle .mtog-ic{display:none}
  html.menu-sheet .menu.open .menu-toggle .mtog-x{display:block}
  /* the panel: full width from under the header to the bottom of the screen; paper at 90 %, the page blurred behind */
  html.menu-sheet .menu-list{display:flex;position:fixed;top:var(--head-h);bottom:0;left:0;right:0;width:auto;min-width:0;max-height:none;gap:12px;
    padding:24px max(var(--wadah-tepi), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--wadah-tepi), env(safe-area-inset-left));
    border-radius:0;background:rgba(247,250,241,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:none;overflow-y:auto;overscroll-behavior:contain;
    opacity:0;visibility:hidden;transition:opacity .15s ease,visibility 0s linear .15s}
  html.menu-sheet.scrolled .menu-list{top:var(--head-h-s)}
  html.menu-sheet .menu.open .menu-list{opacity:1;visibility:visible;transition:opacity .15s ease,visibility 0s}
  html.menu-sheet .msheet-label{display:block;margin:0;font-size:14px;line-height:20px;font-weight:600;color:var(--ink-soft)}
  html.menu-sheet .menu-list > ul > li > a{padding:4px 0;font-size:24px;line-height:32px;font-weight:600}   /* large, as on ui.shadcn.com */
  html.menu-sheet .menu a::after{display:none}
  html.menu-sheet .menu a[aria-current="page"]{color:var(--forest)}
  /* a menu with a submenu, like shadcn's Accordion: the whole row opens it (site-header.js), the chevron turns; no box, no side line */
  /* one box: the row (text and chevron) is the trigger, so its focus ring holds both; the chevron is only drawn over it */
  html.menu-sheet .menu li.has-sub{position:relative;display:block}
  html.menu-sheet .menu li.has-sub > a{display:flex;align-items:center;padding-right:40px;border-radius:8px;cursor:pointer}
  html.menu-sheet .menu li.has-sub > a:hover{text-decoration:underline;text-underline-offset:4px}
  html.menu-sheet .menu-list a{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}   /* repeated taps do not select the words */
  html.menu-sheet .menu li.has-sub > .sub-toggle{position:absolute;top:4px;right:0;width:32px;height:32px;border-radius:0;color:var(--ink-soft);pointer-events:none}
  html.menu-sheet .menu .sub-toggle svg{width:16px;height:16px}
  html.menu-sheet .menu .sub,html.menu-sheet .menu .sub .sub{margin-left:0;padding:0 0 8px;border-left:0}
  html.menu-sheet .menu .sub a{padding:6px 0;font-size:18px;line-height:28px;font-weight:400}
  /* ID / EN at the top right of the header, as on desktop (site-header.js moves them out of the menu) */
  html.menu-sheet .site-head > .lang{position:absolute;z-index:2;top:50%;right:var(--wadah-tepi);display:flex;align-items:flex-start;gap:8px;padding:0;border-top:0;transform:translateY(-50%);pointer-events:auto}
  html.menu-sheet .site-head > .lang .lang-btn[aria-pressed="false"]{transform:translateY(-8px)}
  html.menu-sheet .site-head > .lang::before{top:-12px;bottom:-6px}   /* raised as on desktop: the box as on desktop */
  html.menu-sheet.waktu-malam:not(.msheet-open) .site-head > .lang .lang-btn{color:#F4F1E4}   /* night, over the dark sky and the night-blue bar */
  /* while open: the page stays put; the header shows its paper bar and loses its compositing transform, so the panel can
     reach the bottom of the screen (a transformed parent would hold it inside the header bar); above the hero's bubbles */
  html.msheet-open{overflow:hidden}
  html.msheet-open .head-bg{opacity:1}
  html.msheet-open .site-head{z-index:60;transform:none;will-change:auto}
}
@media (max-width:760px){
  html.menu-sheet{--head-h-s:var(--head-h)}   /* phones: the header keeps its height when the page scrolls ... */
  html.menu-sheet.scrolled .top img{height:38px}   /* ... and the logo its size */
  html.menu-sheet .menu{left:max(var(--gut), env(safe-area-inset-left))}
  html.menu-sheet .top{padding-left:calc(max(var(--gut), env(safe-area-inset-left)) + var(--mtog-w,72px) + 20px)}
  html.menu-sheet .menu-list{padding-left:max(var(--gut), env(safe-area-inset-left));padding-right:max(var(--gut), env(safe-area-inset-right))}
  html.menu-sheet .site-head > .lang{right:max(var(--gut), env(safe-area-inset-right))}
}
