/* Layout: one column, campus map is the hero; quiet sections below carry the same copy as before. */
:root {
  --bg: #f5f8fd; --surface: #ffffff; --ink: #14294a; --muted: #52617d; --line: #dde6f2;
  --brand: #2f6fd6; --brand-soft: #e6effc; --sun: #ffc845; --foot: #10233f; --foot-ink: #d9e4f5;
  --f-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0d1626; --surface: #15223a; --ink: #e8eef9; --muted: #a5b3cc; --line: #24344f;
  --brand: #6aa3ff; --brand-soft: #1b2d4d; --sun: #ffd35e; --foot: #08101d; --foot-ink: #c4d1e8; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0d1626; --surface: #15223a; --ink: #e8eef9; --muted: #a5b3cc; --line: #24344f;
  --brand: #6aa3ff; --brand-soft: #1b2d4d; --sun: #ffd35e; --foot: #08101d; --foot-ink: #c4d1e8; color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
.eyebrow { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: block; height: 40px; flex: none; }
.logo img { height: 100%; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { background: var(--brand-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 14px; border: 0; font: 800 15px/1 var(--f-body); text-decoration: none; cursor: pointer; }
.btn--pri { background: var(--brand); color: #fff; }
.btn--pri:hover { filter: brightness(1.07); }
.btn--sec { background: var(--brand-soft); color: var(--ink); }
.btn--sec:hover { filter: brightness(.97); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn:focus-visible, .nav a:focus-visible, .menu summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 10px; font-weight: 800; background: var(--brand-soft); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 210px; padding: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(16,35,63,.18); }
.menu nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
@media (max-width: 1080px) { .nav, .head-cta { display: none; } .menu { display: block; margin-left: 0; } }

/* hero */
.hero { padding-block: 36px 24px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 24px; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 700; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin: 0 0 18px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.campus { height: clamp(440px, 64vh, 680px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(16,35,63,.35); }
.campus-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; padding: 24px; text-align: center; color: #14294a; background: linear-gradient(#bfe2fd, #e6f4ff); }
.campus-fallback p { margin: 0; max-width: 46ch; }
.campus { position: relative; }
.campus-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.legend b { font-weight: 800; }
.legend .neg { color: #d9452b; } .legend .pos { color: #b07a00; } .legend .ok { color: #1f9d55; }
:root[data-theme="dark"] .legend .pos { color: var(--sun); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legend .pos { color: var(--sun); } :root:not([data-theme="light"]) .legend .neg { color: #ff8a72; } :root:not([data-theme="light"]) .legend .ok { color: #57d68d; } }
:root[data-theme="dark"] .legend .neg { color: #ff8a72; } :root[data-theme="dark"] .legend .ok { color: #57d68d; }
@media (max-width: 820px) { .hero-top { grid-template-columns: 1fr; } .campus { height: clamp(420px, 70vh, 560px); } }

/* sections */
.sec { padding-block: 64px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
.sec-head p { margin: 0; color: var(--muted); max-width: 56ch; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } .sec { padding-block: 48px; } }

.benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.benefits li { padding: 16px 18px 6px 0; font-weight: 700; font-size: 16px; line-height: 1.4; }
.benefits li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.benefits small { display: block; margin-bottom: 6px; font: 800 12px/1 var(--f-body); color: var(--brand); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 980px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } .benefits li, .benefits li + li { padding: 14px 14px 14px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }

.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.place { display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.place-media { position: relative; }
.place canvas { display: block; width: 100%; aspect-ratio: 8 / 5; height: auto; background: linear-gradient(#bfe2fd, #e6f4ff); }
.place-play, .place-again { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.place-again { left: 50%; bottom: 14px; transform: translateX(-50%); }
.place .play-btn, .place .play-x { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; font: 800 13px/1 var(--f-body); white-space: nowrap; cursor: pointer; box-shadow: 0 4px 12px rgba(16,35,63,.2); }
.place .play-btn { background: #2f6fd6; color: #fff; }
.play-btn svg { width: 12px; height: 12px; fill: currentColor; }
.place .play-x { background: #ffffff; color: #14294a; }
.play-btn:hover, .play-x:hover { filter: brightness(1.06); }
.play-btn:focus-visible, .play-x:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.place-media.is-playing canvas { cursor: pointer; }
.place-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.place h3 { font-size: 22px; font-weight: 700; }
.place p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.place-body button { align-self: flex-start; margin-top: 6px; border: 0; background: none; padding: 4px 0; color: var(--brand); font: 800 14px/1.2 var(--f-body); cursor: pointer; }
.place-body button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 980px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .places { grid-template-columns: 1fr; } }

.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.part { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.part-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.part-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.part h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.part p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .parts { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--foot); color: var(--foot-ink); padding-block: 48px 28px; }
.foot h2 { color: #fff; font-size: 36px; font-weight: 700; margin-bottom: 20px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.foot dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8fb3ea; margin-bottom: 6px; }
.foot dd { margin: 0; line-height: 1.55; user-select: text; }
.foot a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.foot .copy { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #8fa3c4; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Had Harian */
.sec--had { background: linear-gradient(180deg, var(--brand-soft), var(--bg) 70%); }
.had { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.had-set, .had-try { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; min-width: 0; }
.had-card-head h3 { font-size: 24px; font-weight: 700; }
.had-card-head p { margin: 2px 0 14px; color: var(--muted); font-size: 14.5px; }
.had-days { display: grid; gap: 8px; }
.had-day { padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.had-day.is-on { border-color: var(--brand); background: var(--brand-soft); }
.had-day-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.had-day-name { border: 0; background: none; padding: 0; font: 700 19px/1.1 var(--f-display); color: var(--ink); cursor: pointer; }
.had-day-time { margin: 2px 0 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.had-day-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.had-day-range output { min-width: 66px; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--brand); }
.had-day input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--p, 0%), var(--line) var(--p, 0%)); outline: none; }
.had-day input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; box-shadow: 0 2px 6px rgba(16,35,63,.2); }
.had-day input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; }
.had-day input[type=range]:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.had-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.had-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.had-switch-ui { width: 36px; height: 20px; border-radius: 10px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.had-switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.had-switch input:checked + .had-switch-ui { background: #ef7d45; }
.had-switch input:checked + .had-switch-ui::after { transform: translateX(16px); }
.had-switch input:focus-visible + .had-switch-ui { outline: 3px solid var(--sun); outline-offset: 2px; }
.had-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.had-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.had-tabs button { display: grid; gap: 2px; padding: 8px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 800 14px/1.1 var(--f-body); cursor: pointer; }
.had-tabs button small { font-size: 11px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.had-tabs button[aria-selected=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.had-tabs button[aria-selected=true] small { color: rgba(255,255,255,.85); }
.had-tabs button:focus-visible, .had-item:focus-visible, .had-day-name:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.had-sched { margin: 10px 0 12px; font-weight: 700; font-size: 14px; color: var(--muted); }
.had-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.had-stat { padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); }
.had-stat span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.had-stat b { font: 700 28px/1.1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink); }
.had-stat--limit { background: #fff1e6; }
.had-stat--limit b { color: #c4572a; }
.had-meter { height: 12px; margin-top: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.had-meter-fill { height: 100%; width: 0; border-radius: 6px; background: #3ddc84; transition: width .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.had-meter-fill.is-full { background: #e5484d; }
.had-used { margin: 6px 0 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.had-canvas { display: block; width: 100%; aspect-ratio: 360 / 150; border-radius: 14px; }
.had-msg { min-height: 3em; margin: 10px 0; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.had-msg.is-ok { color: #1f9d55; } .had-msg.is-deny { color: #d9452b; }
.had-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.had-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 14px/1.2 var(--f-body); text-align: left; cursor: pointer; }
.had-item b { color: #c4572a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.had-item:hover { border-color: var(--brand); }
.had-item:active { transform: scale(.98); }
.had-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .had-stat--limit { background: #3a2617; } :root:not([data-theme="light"]) .had-stat--limit b, :root:not([data-theme="light"]) .had-item b { color: #ffa070; } :root:not([data-theme="light"]) .had-msg.is-ok { color: #57d68d; } :root:not([data-theme="light"]) .had-msg.is-deny { color: #ff8a72; } }
:root[data-theme="dark"] .had-stat--limit { background: #3a2617; } :root[data-theme="dark"] .had-stat--limit b, :root[data-theme="dark"] .had-item b { color: #ffa070; } :root[data-theme="dark"] .had-msg.is-ok { color: #57d68d; } :root[data-theme="dark"] .had-msg.is-deny { color: #ff8a72; }
@media (max-width: 900px) { .had { grid-template-columns: 1fr; } }

/* contact: always easy to reach */
.nav .nav-contact { color: var(--brand); }
.head-call { display: none; margin-left: auto; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 12px; background: #1f9d55; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.head-call svg, .fab svg, .ct-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.head-call svg .fill, .fab svg .fill, .ct-ico svg .fill { fill: currentColor; stroke: none; }
.head-call:focus-visible, .fab:focus-visible, .ct:focus-visible, .video-poster:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.hero-help { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.hero-help a { font-weight: 800; }
.foot-lead { margin: -8px 0 22px; max-width: 60ch; color: var(--foot-ink); }
.contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ct { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; min-width: 0; transition: background .15s; }
.foot .ct { border-bottom: 1px solid rgba(255,255,255,.12); }
.ct:hover { background: rgba(255,255,255,.13); }
.ct-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.ct-txt { display: grid; gap: 3px; min-width: 0; }
.ct-txt small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8fb3ea; }
.ct-txt b { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; user-select: text; }
.ct--wa { background: #1f9d55; border-color: #1f9d55; }
.ct--wa:hover { background: #22ad5e; }
.ct--wa .ct-txt small { color: #d6f5e3; }
@media (max-width: 980px) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact { grid-template-columns: 1fr; } }
.fab { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #1f9d55; color: #fff; font: 800 15px/1 var(--f-body); text-decoration: none; box-shadow: 0 10px 28px rgba(16,35,63,.3); transition: transform .25s, opacity .25s; }
.fab svg { width: 24px; height: 24px; }
.fab.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .fab { min-height: 48px; padding: 0 16px 0 12px; font-size: 14px; } }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; max-width: 960px; border-radius: 20px; overflow: hidden; background: #10233f; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.video-poster canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: linear-gradient(#bfe2fd, #e6f4ff); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,35,63,0) 40%, rgba(16,35,63,.7)); }
.video-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: #e5484d; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.video-play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.video-poster:hover .video-play { transform: scale(1.06); }
.video-label { position: absolute; left: 20px; bottom: 16px; z-index: 1; font: 700 22px/1.2 var(--f-display); }
@media (max-width: 520px) { .video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-label { font-size: 17px; left: 14px; bottom: 12px; } }
@media (max-width: 1080px) { .head-call { display: inline-flex; } }
