/* AI Ready ASEAN – Brunei | Big BWN Project
   Brand: bigbwn.com (black/white, Oswald + Open Sans) with AI Ready ASEAN accents. */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Oswald.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/OpenSans.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --ink-2: #313131;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --blue: #1f4e9c;
  --blue-dark: #153a77;
  --red: #e2363f;
  --yellow: #f7c615;
  --green: #4bb34a;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --container: 1200px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.65; color: var(--ink-2); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.5em; font-family: var(--head); font-weight: 500; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn-row-center { justify-content: center; }
.link-arrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-bwn { height: 46px; width: auto; }
.brand-air { height: 40px; width: auto; }
.brand-divider { width: 1px; height: 36px; background: var(--line); }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-color: var(--red); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--ink); transition: transform .25s, background-color .25s; }
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav li .btn { margin-top: 16px; width: 100%; }
  /* Without JS, keep the menu reachable */
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
}
@media (max-width: 420px) {
  .brand-bwn { height: 38px; }
  .brand-air { height: 32px; }
  .brand { gap: 10px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge { font-family: var(--head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.badge-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge-red { background: var(--red); border-color: var(--red); color: #fff; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--red); margin-bottom: .6rem; font-weight: 500; }
.eyebrow-light { color: var(--yellow); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 38em; }
.hero-certs-label { font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks-sm li { font-size: .95rem; }
.hero-media { position: relative; margin: 0; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%; border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, var(--yellow) 0 2px, transparent 2px 12px); z-index: -1; }
.hero-tag { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-size: .9rem; }
.hero-tag strong { font-family: var(--head); font-size: 1.3rem; color: var(--yellow); margin-right: 4px; }

/* Facts strip */
.facts { background: var(--ink); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (min-width: 768px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.facts-grid > div { padding: 26px 20px; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.facts-grid dt { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #bdbdbd; }
.facts-grid dd { margin: 4px 0 0; font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1.1; }
.facts-grid dd span { display: block; font-family: var(--body); font-size: .85rem; color: #d0d0d0; margin-top: 4px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #e9e9e9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child { color: #cfcfcf; }

/* Atmosphere */
.atmos { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .atmos { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.atmos-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.atmos-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.ap-1 { grid-column: 1 / 2; grid-row: 1 / 2; aspect-ratio: 4 / 3; }
.ap-2 { grid-column: 1 / 2; grid-row: 2 / 3; aspect-ratio: 4 / 3; }
.ap-3 { grid-column: 2 / 3; grid-row: 1 / 3; }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .split-reverse { grid-template-columns: 1.15fr 1fr; align-items: start; }
}
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); max-height: 640px; }
.feature-list li { padding: 18px 0 18px 22px; border-left: 3px solid var(--blue); margin-bottom: 14px; background: #fff; padding-right: 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.feature-list li:nth-child(2) { border-color: var(--red); }
.feature-list li:nth-child(3) { border-color: var(--yellow); }
.feature-list h3 { margin-bottom: .3em; font-size: 1.15rem; }
.feature-list p { margin: 0; font-size: .95rem; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.step p { font-size: .95rem; flex: 1; }
.step-num { font-family: var(--head); font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.step:nth-child(2) .step-num { color: var(--red); }
.step:nth-child(3) .step-num { color: var(--green); }
.step:nth-child(4) .step-num { color: #c99a00; }
.step h3 { font-size: 1.2rem; }

/* Course filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.filter:hover { background: var(--paper-2); }
.filter.is-active { background: var(--ink); color: #fff; }

/* Course cards */
.courses { display: grid; gap: 28px; }
@media (min-width: 960px) { .courses { grid-template-columns: repeat(2, 1fr); } }
.course { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.course[hidden] { display: none; }
.course-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.course-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.course-body > .btn { margin-top: auto; }
.course-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.course-no { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--muted); margin-right: 4px; }
.tag { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tag-blue { background: #e4ecf8; color: var(--blue-dark); }
.tag-red { background: #fde6e7; color: #a5222a; }
.tag-dark { background: var(--ink); color: #fff; }
.course h3 { font-size: 1.45rem; }
.course-stats { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 12px; margin: 20px 0 6px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-stats dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.course-stats dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.3; }
@media (max-width: 480px) { .course-stats { grid-template-columns: 1fr 1fr; } .course-stats > div:last-child { grid-column: 1 / -1; } }
.syllabus { margin: 10px 0 22px; }
.syllabus summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: 8px 0; list-style: none; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; }
.syllabus[open] summary::before { content: "\2212"; }
.syllabus ol { counter-reset: mod; margin-top: 6px; }
.syllabus li { counter-increment: mod; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--line); font-size: .92rem; position: relative; }
.syllabus li::before { content: counter(mod); position: absolute; left: 0; top: 9px; font-family: var(--head); color: var(--muted); }
.syllabus li strong { font-weight: 600; color: var(--ink); }
.syllabus li span { color: var(--muted); white-space: nowrap; }

/* Certificate */
.req-list { counter-reset: req; }
.req-list li { counter-increment: req; position: relative; padding: 0 0 18px 56px; }
.req-list li::before { content: counter(req); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--head); font-size: 1.2rem; display: grid; place-items: center; }
.split-panel { background: var(--paper-2); border-radius: var(--radius-lg); padding: 32px 28px; border-top: 4px solid var(--red); }
.get-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.get-list li:last-child { border-bottom: 0; }
.get-list strong { color: var(--ink); }

/* Impact */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--ink); padding: 28px 22px; }
.stat-num { display: block; font-family: var(--head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.stats li:nth-child(2) .stat-num { color: #ff6b72; }
.stats li:nth-child(3) .stat-num { color: #7fb0ff; }
.stats li:nth-child(4) .stat-num { color: #7fd67e; }
.stat-label { font-size: .92rem; color: #d6d6d6; }
.impact-extra { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 960px) { .impact-extra { grid-template-columns: repeat(3, 1fr); } }
.impact-extra p { margin: 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); font-size: .95rem; }
.impact-extra strong { color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 12px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; } }
.gallery li { overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.gallery .g-tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery li:hover img { transform: scale(1.04); }

/* FAQ */
.faq-wrap { max-width: 900px; }
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 1.6rem; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; margin: 0; }

/* CTA */
.cta { background: var(--blue); color: #fff; padding: clamp(56px, 8vw, 90px) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(247, 198, 21, .25), transparent 40%), radial-gradient(circle at 90% 80%, rgba(226, 54, 63, .35), transparent 45%); }
.cta-inner { position: relative; max-width: 780px; }
.cta h2 { color: #fff; }
.cta p { color: #e5ecf8; font-size: 1.1rem; }

/* Partners */
.partners { padding: 48px 0; border-bottom: 1px solid var(--line); }
.partners-title { font-size: .95rem; letter-spacing: .14em; color: var(--muted); text-align: center; margin-bottom: 26px; font-weight: 500; }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.partner-logos img { height: 64px; width: auto; }

/* Footer */
.site-footer { background: #0b0b0b; color: #bdbdbd; padding: 56px 0 76px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; } }
.dev-logo { display: inline-block; margin-bottom: 12px; }
.dev-logo img { height: 44px; width: auto; }
.footer-dev p { font-size: .85rem; color: #9a9a9a; margin: 0; }
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 30em; }
.site-footer h2 { font-size: 1rem; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #262626; font-size: .82rem; color: #8f8f8f; }
.footer-bottom p { margin: 0; }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; z-index: 40; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound-logo { height: 80px; width: auto; margin: 0 auto 24px; }

@media print {
  .site-header, .to-top, .filters, .cta, .gallery { display: none !important; }
  .syllabus ol { display: block !important; }
}
