@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');

:root {
 --navy: #0b1b2b;
 --navy-2: #12293f;
 --ink: #12222f;
 --gold: #e7b95c;
 --gold-deep: #a97d2b;
 --paper: #f5f6f8;
 --card: #ffffff;
 --line: #e3e8ec;
 --muted: #6e7c89;
 --radius: 18px;
 --shadow: 0 22px 46px rgba(12, 32, 51, .12);
 --font-body: 'DM Sans', Arial, sans-serif;
 --font-head: 'Manrope', 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 margin: 0;
 font-family: var(--font-body);
 color: var(--ink);
 background: var(--paper);
 line-height: 1.5;
 -webkit-font-smoothing: antialiased;
}
body.tv-mode { overflow: hidden; background: #050f1a; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; min-height: 44px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d9aa4e; outline-offset: 3px; }
.skip {
 position: absolute; left: 12px; top: -70px; z-index: 200;
 background: var(--gold); color: #10202f; padding: 11px 18px;
 border-radius: 10px; font-weight: 700; font-size: 13px; transition: top .2s;
}
.skip:focus { top: 12px; }

.container {
 width: 100%;
 max-width: 1280px;
 margin: 0 auto;
 padding-left: clamp(18px, 4vw, 56px);
 padding-right: clamp(18px, 4vw, 56px);
}

/* ---------- Header ---------- */
.header {
 position: sticky; top: 0; z-index: 80;
 display: flex; align-items: center; gap: 24px;
 height: 78px;
 padding: 0 clamp(16px, 4vw, 56px);
 background: rgba(8, 23, 38, .94);
 border-bottom: 1px solid rgba(255, 255, 255, .08);
 color: #fff;
 backdrop-filter: saturate(140%) blur(16px);
}
.brand { display: flex; align-items: center; width: 196px; height: 50px; flex: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
 padding: 10px 13px; border-radius: 999px;
 font-size: 13.5px; color: rgba(255, 255, 255, .72);
 transition: background .2s, color .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav a.is-active { color: #fff; font-weight: 600; }
.main-nav a.is-active::before {
 content: ""; display: inline-block; width: 5px; height: 5px;
 border-radius: 50%; background: var(--gold);
 margin-right: 7px; vertical-align: middle;
}
.main-nav .nav-tv { border: 1px solid rgba(255, 255, 255, .22); }
.main-nav .nav-admin { background: var(--gold); color: #16232f; font-weight: 700; padding: 10px 18px; }
.main-nav .nav-admin:hover { background: #f0c977; color: #16232f; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.icon-button {
 display: inline-flex; align-items: center; justify-content: center; gap: 8px;
 min-height: 42px; padding: 0 14px;
 background: rgba(255, 255, 255, .06);
 border: 1px solid rgba(255, 255, 255, .18);
 border-radius: 999px; color: #fff; font-size: 12.5px;
 transition: background .2s;
}
.icon-button:hover { background: rgba(255, 255, 255, .14); }
.icon-button svg { width: 18px; height: 18px; }
.menu-button { display: none; width: 42px; padding: 0; }
.mobile-menu {
 position: fixed; z-index: 75; left: 12px; right: 12px; top: 86px;
 display: grid; gap: 2px; padding: 8px;
 background: #fff; border-radius: 16px;
 box-shadow: 0 30px 70px rgba(4, 15, 26, .3);
 animation: menuIn .18s ease-out;
}
.mobile-menu a { padding: 13px 16px; border-radius: 10px; font-size: 14px; }
.mobile-menu a:hover { background: #f2f5f7; }

/* ---------- Hero / slideshow ---------- */
.hero {
 position: relative; overflow: hidden; touch-action: pan-y;
 height: clamp(620px, 88vh, 820px);
 background: var(--navy); color: #fff;
}
.slides, .slide { position: absolute; inset: 0; }
.slide {
 display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
 align-items: center; gap: clamp(24px, 4vw, 64px);
 padding: clamp(36px, 6vh, 70px) clamp(24px, 6vw, 96px) clamp(104px, 14vh, 132px);
 background-image:
  linear-gradient(90deg, rgba(5, 15, 27, .96) 0%, rgba(6, 18, 32, .88) 38%, rgba(6, 18, 32, .45) 68%, rgba(6, 18, 32, .62) 100%),
  linear-gradient(0deg, rgba(5, 15, 27, .96), rgba(5, 15, 27, .08) 52%),
  var(--photo);
 background-size: cover; background-position: center;
 opacity: 0; visibility: hidden;
 transition: opacity .75s, visibility .75s;
}
.slide.active { opacity: 1; visibility: visible; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.slide .hero-content > * { opacity: 0; transform: translateY(16px); }
.slide.active .hero-content > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.slide.active .hero-content > *:nth-child(1) { animation-delay: .04s; }
.slide.active .hero-content > *:nth-child(2) { animation-delay: .1s; }
.slide.active .hero-content > *:nth-child(3) { animation-delay: .16s; }
.slide.active .hero-content > *:nth-child(4) { animation-delay: .22s; }
.slide.active .hero-content > *:nth-child(5) { animation-delay: .28s; }
.eyebrow {
 margin: 0 0 14px; font-size: 10.5px; font-weight: 700;
 letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow.light { color: #dfc38f; }
.eyebrow-dot {
 display: inline-block; width: 6px; height: 6px; border-radius: 50%;
 background: var(--gold); margin-right: 8px; vertical-align: middle;
}
.hero h1 {
 margin: 0 0 18px; max-width: 840px;
 font-family: var(--font-head); font-size: clamp(36px, 4.6vw, 66px);
 font-weight: 700; line-height: 1.06; letter-spacing: -.035em;
 overflow-wrap: anywhere;
}
.slide-narrative {
 margin: 0 0 26px; max-width: 660px;
 font-size: clamp(14px, 1.25vw, 17px); line-height: 1.75; color: #c6d2dc;
 white-space: pre-line;
 display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-link {
 font-size: 13px; color: #e6edf3; padding-bottom: 3px;
 border-bottom: 1px solid rgba(255, 255, 255, .35);
 transition: border-color .2s, color .2s;
}
.hero-link:hover { color: var(--gold); border-color: var(--gold); }
.slide-meta {
 display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
 margin: 24px 0 0; font-size: 11.5px; color: #93a4b3;
}
.live-dot {
 width: 6px; height: 6px; border-radius: 50%; background: #67c793;
 box-shadow: 0 0 0 4px rgba(103, 199, 147, .14);
 animation: pulse 2.4s ease-in-out infinite;
}
.slide-qr {
 position: relative; z-index: 2; justify-self: end;
 width: min(240px, 100%); padding: 16px 16px 18px;
 background: #fff; color: var(--ink); border-radius: 18px;
 text-align: center;
 box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.qr-kicker {
 display: block; margin-bottom: 4px;
 font-size: 9px; letter-spacing: .18em; font-weight: 700; color: var(--gold-deep);
}
.slide-qr strong { display: block; margin-bottom: 10px; font-size: 14px; }
.slide-qr-image {
 width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
 display: grid; place-items: center;
 background: #f3f5f7; color: #8a96a2; font-size: 11px;
}
.slide-qr-image img { width: 100%; height: 100%; object-fit: contain; }
.slide-qr small { display: block; margin-top: 10px; font-size: 10px; line-height: 1.5; color: #7b8794; }
.hero-bottom {
 position: absolute; z-index: 4; left: clamp(24px, 6vw, 96px); right: clamp(24px, 6vw, 96px); bottom: 0;
 display: flex; align-items: center; gap: 22px; height: 92px;
 border-top: 1px solid rgba(255, 255, 255, .18);
}
.slide-controls { display: flex; align-items: center; gap: 10px; }
.ctrl {
 display: grid; place-items: center;
 width: 42px; height: 42px; min-height: 42px; padding: 0;
 border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28);
 background: rgba(255, 255, 255, .06); color: #fff;
 transition: background .2s;
}
.ctrl:hover { background: rgba(255, 255, 255, .16); }
.ctrl.pause { width: auto; min-width: 46px; padding: 0 15px; border-radius: 999px; font-size: 13px; }
.audio-ctrl { display: none; }
.audio-ctrl[hidden] { display: none !important; }
.tv-mode .audio-ctrl { display: grid; }
.audio-ctrl svg { width: 18px; height: 18px; }
.audio-ctrl .sound-waves { display: none; }
.audio-ctrl .sound-off { display: inline; }
.audio-ctrl.is-on { background: rgba(231, 185, 92, .18); border-color: rgba(231, 185, 92, .65); color: var(--gold); }
.audio-ctrl.is-on .sound-waves { display: inline; }
.audio-ctrl.is-on .sound-off { display: none; }
.counter { min-width: 64px; text-align: center; font-size: 12px; letter-spacing: .12em; color: #d6dee6; }
.touch-hint { margin-left: auto; font-size: 11.5px; color: #aebdca; }
.outline {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 42px; padding: 0 16px;
 background: transparent; color: #fff;
 border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; font-size: 12.5px;
}
.outline:hover { background: rgba(255, 255, 255, .1); }
.outline.small { min-height: 38px; font-size: 11.5px; }
#exit-tv { display: none; }
.hero-progress {
 position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 4px;
 background: rgba(255, 255, 255, .14);
}
.hero-progress span {
 display: block; width: 0; height: 100%;
 background: linear-gradient(90deg, var(--gold), #f4d693);
}
.hero-progress span.animating { animation: progressGrow var(--duration, 15s) linear forwards; }
.hero.is-paused .hero-progress span { animation-play-state: paused; }
.tv-brand { display: none; }
.hero-clock { display: none; }

/* ---------- Buttons ---------- */
.button {
 display: inline-flex; align-items: center; justify-content: center; gap: 10px;
 min-height: 50px; padding: 0 24px;
 border: 1px solid transparent; border-radius: 999px;
 background: var(--navy); color: #fff;
 font-size: 13.5px; font-weight: 700;
 transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 16px; height: 16px; }
.button.gold {
 background: linear-gradient(135deg, #f1cf7d, var(--gold));
 color: #14202b;
 box-shadow: 0 14px 30px rgba(231, 185, 92, .28);
}
.button.gold:hover { box-shadow: 0 18px 36px rgba(231, 185, 92, .36); }
.button.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.button.ghost:hover { border-color: #c8d2db; background: #fbfcfd; }
.button.small { min-height: 42px; padding: 0 16px; font-size: 12.5px; }

/* ---------- Stats band ---------- */
.stats-band {
 padding: clamp(28px, 4vw, 44px) 0 0;
 background: #fff; border-bottom: 1px solid var(--line);
}
.stats-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.about-blurb .eyebrow { margin-bottom: 10px; }
.about-blurb h2 {
 margin: 0 0 12px;
 font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px);
 letter-spacing: -.025em; line-height: 1.2;
}
.about-blurb h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--gold-deep); }
.about-blurb > p { margin: 0; max-width: 620px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.about-blurb .updated-note { margin-top: 10px; font-size: 11.5px; color: #8a96a2; }
.stat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.stat .unit { margin-left: 3px; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); }
.stat span { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.journey {
 display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
 margin-top: 24px; padding: 20px 0;
 border-top: 1px solid var(--line);
 font-size: 12.5px; color: #556472;
}
.journey b { margin-right: 6px; color: var(--gold-deep); font-weight: 700; }
.journey i { color: #b9c3cc; font-style: normal; }

/* ---------- Catalog ---------- */
.catalog { padding-top: clamp(46px, 6vw, 76px); padding-bottom: clamp(42px, 6vw, 70px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading > div { max-width: 680px; }
.section-heading h2 {
 margin: 0 0 10px;
 font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 44px);
 line-height: 1.12; letter-spacing: -.03em;
}
.section-heading h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--gold-deep); }
.section-heading p:not(.eyebrow) { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.demo-badge {
 display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
 padding: 9px 14px; border-radius: 999px;
 background: #fbf4e4; border: 1px solid #efe0bf; color: #8d6824;
 font-size: 11px; font-weight: 600;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #c99a41; }
.catalog-toolbar {
 position: sticky; top: 78px; z-index: 30;
 display: flex; align-items: center; justify-content: space-between; gap: 16px;
 margin-top: 28px; padding: 14px 0;
 border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
 background: rgba(245, 246, 248, .94);
 backdrop-filter: blur(10px);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
 display: inline-flex; align-items: center; gap: 7px;
 min-height: 38px; padding: 0 14px;
 border: 1px solid var(--line); border-radius: 999px;
 background: #fff; color: #4c5b69;
 font-size: 12px; font-weight: 600;
 transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: #c8d2db; color: var(--ink); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-count {
 padding: 2px 6px; border-radius: 999px;
 background: rgba(15, 33, 51, .08); font-size: 10px; font-weight: 700;
}
.filter.is-active .chip-count { background: rgba(255, 255, 255, .18); }
.filter-saved svg { width: 14px; height: 14px; }
.filter-saved.is-active { background: #f3e4c2; border-color: #e2c98b; color: #6c4f17; }
.catalog-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.search {
 display: flex; align-items: center; gap: 8px;
 min-height: 42px; padding: 0 14px;
 background: #fff; border: 1px solid var(--line); border-radius: 999px;
 color: #8a96a2;
}
.search svg { width: 17px; height: 17px; flex: none; }
.search input {
 width: 210px; min-height: 40px;
 border: 0; background: none; outline: none;
 font-size: 13px; color: var(--ink);
}
.sort { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 11.5px; color: var(--muted); }
.sort select {
 min-height: 42px; padding: 0 10px;
 border: 1px solid var(--line); border-radius: 10px;
 background: #fff; font-size: 12px; color: var(--ink);
}
.results-meta {
 display: flex; justify-content: space-between; gap: 16px;
 margin: 20px 0; font-size: 11.5px; color: #8a96a2;
}
.results-meta span + span { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.project-card {
 position: relative; display: flex; flex-direction: column;
 background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
 overflow: hidden;
 transition: transform .25s, box-shadow .25s, border-color .25s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3dde6; }
.card-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-image {
 position: relative; aspect-ratio: 16 / 10;
 background-size: cover; background-position: center;
 padding: 14px;
}
.card-image::after {
 content: ""; position: absolute; inset: 0;
 background: linear-gradient(180deg, rgba(6, 17, 29, .12), rgba(6, 17, 29, 0) 45%, rgba(6, 17, 29, .3));
 pointer-events: none;
}
.card-image .pill { position: relative; z-index: 2; }
.pill {
 display: inline-block; padding: 7px 11px;
 background: rgba(255, 255, 255, .94); color: #25384a;
 border-radius: 999px; font-size: 10px; font-weight: 700;
 backdrop-filter: blur(4px);
}
.card-save {
 position: absolute; z-index: 3; top: 12px; right: 12px;
 display: grid; place-items: center;
 width: 40px; height: 40px; min-height: 40px; padding: 0;
 border: 0; border-radius: 50%;
 background: rgba(255, 255, 255, .94); color: #33485c;
 box-shadow: 0 8px 20px rgba(6, 17, 29, .2);
 transition: background .2s, color .2s, transform .2s;
}
.card-save svg { width: 19px; height: 19px; }
.card-save:hover { transform: scale(1.06); }
.card-save.is-saved { background: var(--gold); color: #1b2a38; }
.card-save.is-saved svg, .save-button.is-saved svg { fill: currentColor; }
.card-content { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 0; }
.small-label {
 font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
 text-transform: uppercase; color: var(--gold-deep);
}
.card-content h3 {
 margin: 8px 0;
 font-family: var(--font-head); font-size: 17px; line-height: 1.35; letter-spacing: -.01em;
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.catalog-summary {
 margin: 0 0 16px;
 font-size: 12.5px; line-height: 1.7; color: var(--muted);
 display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer {
 display: flex; align-items: center; justify-content: space-between; gap: 8px;
 margin-top: auto; padding: 13px 0;
 border-top: 1px solid #eef1f4;
 font-size: 10.5px; color: #93a0ac;
}
.card-footer strong { font-size: 11px; font-weight: 700; color: var(--ink); }
.card-footer strong span { color: var(--gold-deep); }
.empty-state {
 margin-top: 10px; padding: 64px 24px;
 background: #fff; border: 1px dashed #d7dfe6; border-radius: 20px;
 text-align: center;
}
.empty-state.compact { margin: 10px 0 0; }
.empty-code {
 display: inline-grid; place-items: center;
 width: 56px; height: 56px; margin-bottom: 14px;
 border-radius: 50%; background: #fbf4e4; color: #b08a45;
 font-family: var(--font-head); font-size: 22px;
}
.empty-state h1 { margin: 0 0 10px; font: 700 clamp(26px, 4vw, 38px)/1.2 var(--font-head); letter-spacing: -.02em; }
.empty-state h3 { margin: 0 0 8px; font: 700 20px/1.3 var(--font-head); }
.empty-state p { max-width: 460px; margin: 0 auto 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.mobile-callout {
 position: relative; overflow: hidden;
 display: flex; align-items: center; gap: 20px;
 margin-top: 34px; padding: 24px 28px;
 background: linear-gradient(120deg, #0c2033, #17344c);
 border-radius: var(--radius); color: #fff;
}
.mobile-callout::after {
 content: ""; position: absolute; right: -40px; top: -60px;
 width: 220px; height: 220px; border-radius: 50%;
 background: radial-gradient(circle, rgba(231, 185, 92, .22), transparent 65%);
}
.callout-icon {
 display: grid; place-items: center; flex: none;
 width: 52px; height: 52px; border-radius: 14px;
 background: rgba(255, 255, 255, .1); color: var(--gold);
}
.callout-icon svg { width: 26px; height: 26px; }
.mobile-callout h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 16px; }
.mobile-callout p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #b9c7d3; }
.callout-arrow { position: relative; z-index: 1; margin-left: auto; font-size: 26px; color: var(--gold); }

/* ---------- Detail ---------- */
.detail { padding-top: 26px; padding-bottom: 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 12px; color: #8a96a2; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:last-child { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(26px, 4vw, 56px); align-items: start; }
.detail-image {
 position: relative; overflow: hidden;
 aspect-ratio: 16 / 8.5; margin-bottom: 18px; padding: 18px;
 border-radius: 20px; background-size: cover; background-position: center;
}
.detail-image::after {
 content: ""; position: absolute; inset: 0;
 background: linear-gradient(180deg, rgba(6, 17, 29, .1), rgba(6, 17, 29, 0) 50%, rgba(6, 17, 29, .28));
}
.detail-image .pill { position: relative; z-index: 2; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 12px; font-size: 12px; color: #7b8794; }
.meta-chip {
 padding: 5px 10px; border-radius: 999px;
 background: #fbf4e4; border: 1px solid #efe0bf; color: #8d6824;
 font-size: 11px; font-weight: 700;
}
.article h1 {
 margin: 0 0 16px;
 font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px);
 line-height: 1.12; letter-spacing: -.03em; overflow-wrap: anywhere;
}
.lead { margin: 0 0 22px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.8; color: #4f5f6e; }
.article-actions {
 display: flex; flex-wrap: wrap; gap: 10px;
 padding: 18px 0; margin-bottom: 8px;
 border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.article-actions .button { min-height: 42px; padding: 0 16px; font-size: 12.5px; }
.save-button.is-saved { background: var(--gold); color: #17242f; border-color: transparent; }
.news-body { padding: 10px 0 20px; font-size: 16px; line-height: 1.95; color: #3a4a5a; }
.article-subtitle { margin-top: 26px; font-family: var(--font-head); font-size: 21px; }
.opportunities { padding-left: 20px; color: #4f5f6e; line-height: 2; }
.article-foot { padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: #93a0ac; }
.notice {
 margin-top: 26px; padding: 20px 22px;
 background: #fbf4e4; border: 1px solid #efe0bf; border-radius: 14px;
 font-size: 13px; line-height: 1.75; color: #5c4a25;
}
.notice p { margin: 6px 0 0; }
.side { position: sticky; top: 100px; display: grid; gap: 18px; align-self: start; }
.qr-panel { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.qr-panel h2 {
 margin: 10px 0 8px;
 font-family: var(--font-head); font-size: 21px; line-height: 1.35; letter-spacing: -.02em;
}
.qr-panel p { margin: 0 0 4px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.qr-box {
 width: min(220px, 100%); aspect-ratio: 1; margin: 18px auto;
 display: grid; place-items: center;
 border-radius: 14px; overflow: hidden;
 background: #f5f7f8; color: #8a96a2; font-size: 11px;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-panel .button { width: 100%; }
.qr-note { margin: 0 0 14px !important; font-size: 10.5px !important; line-height: 1.5 !important; color: #8a96a2 !important; }
.related-panel { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.related-panel h2 { margin: 0 0 6px; font-family: var(--font-head); font-size: 15px; }
.related-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #eef1f4; }
.related-item:first-of-type { border-top: 0; }
.related-thumb {
 flex: none; width: 62px; height: 62px;
 border-radius: 12px; background: #e9edf1 center / cover;
}
.related-text { display: grid; gap: 4px; min-width: 0; }
.related-text small { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.related-text strong {
 font-family: var(--font-head); font-size: 13px; font-weight: 600; line-height: 1.4;
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-note { padding: 22px; border-radius: 20px; background: linear-gradient(140deg, #0c2033, #17344c); color: #dbe5ee; }
.side-note strong { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 14px; color: #fff; }
.side-note p { margin: 0; font-size: 12px; line-height: 1.7; color: #aebecd; }
.detail-next { margin-top: 34px; }
.back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 13px; color: #5d6c7a; }
.back:hover { color: var(--ink); }

/* ---------- Footer ---------- */
footer { margin-top: 0; padding: 52px 0 0; background: #071625; color: #c7d3df; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand img { display: block; width: 190px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; margin: 0 0 10px; font-size: 12.5px; line-height: 1.7; color: #93a6b8; }
.footer-tagline { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c9a15a; }
.footer-col h3 { margin: 4px 0 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7f93a6; }
.footer-col a, .footer-col p { display: block; margin: 0; font-size: 12.5px; line-height: 2; color: #b7c5d2; }
.footer-col a:hover { color: var(--gold); }
.footer-col .footer-install {
 display: block; margin: 0; padding: 0; border: 0; background: none;
 font: inherit; font-size: 12.5px; line-height: 2; color: #b7c5d2; text-align: left; cursor: pointer;
}
.footer-col .footer-install:hover { color: var(--gold); }
.footer-col .footer-install[hidden] { display: none; }
.footer-bottom {
 display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
 padding: 18px 0;
 border-top: 1px solid rgba(255, 255, 255, .08);
 font-size: 11px; color: #71869a;
}

/* ---------- Mobile tabs & to-top ---------- */
.mobile-tabs { display: none; }
.to-top {
 position: fixed; right: 18px; bottom: 24px; z-index: 65;
 display: grid; place-items: center;
 width: 44px; height: 44px; padding: 0;
 border: 1px solid var(--line); border-radius: 50%;
 background: #fff; color: var(--ink);
 box-shadow: 0 12px 30px rgba(12, 32, 51, .16);
 opacity: 0; visibility: hidden; transform: translateY(8px);
 transition: opacity .2s, visibility .2s, transform .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Dialog pemasangan PWA ---------- */
.install-dialog {
 width: min(430px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px;
 background: #fff; color: var(--ink); box-shadow: 0 40px 90px rgba(3, 12, 22, .5);
}
.install-dialog::backdrop { background: rgba(5, 15, 27, .62); backdrop-filter: blur(4px); }
.install-dialog form { padding: 28px; }
.install-dialog .small-label { display: block; }
.install-dialog h2 { margin: 10px 0 10px; font-family: var(--font-head); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.install-dialog p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.install-dialog ol { margin: 16px 0; padding-left: 20px; font-size: 13px; line-height: 1.8; }
.install-dialog li + li { margin-top: 4px; }
.install-dialog .install-hint { font-size: 11.5px; color: #8a96a2; }
.install-dialog .button { width: 100%; margin-top: 20px; }

/* ---------- TV mode ---------- */
.tv-mode .header,
.tv-mode .mobile-menu,
.tv-mode .mobile-tabs,
.tv-mode footer,
.tv-mode .to-top,
.tv-mode .stats-band,
.tv-mode .catalog,
.tv-mode .detail { display: none !important; }
.tv-mode .hero { height: 100vh; height: 100dvh; }
.tv-mode .slide {
 grid-template-columns: minmax(0, 1fr);
 gap: 0;
 padding: 15vh 5vw 13vh;
 background-image:
  linear-gradient(90deg, rgba(5, 15, 27, .97) 0%, rgba(6, 18, 32, .9) 42%, rgba(6, 18, 32, .42) 72%, rgba(6, 18, 32, .66) 100%),
  linear-gradient(0deg, rgba(5, 15, 27, .95), rgba(5, 15, 27, .05) 55%),
  var(--photo);
}
.tv-mode .hero-content { max-width: 68vw; }
.tv-mode .eyebrow { font-size: clamp(11px, .9vw, 18px); }
.tv-mode h1 { max-width: 16ch; font-size: clamp(44px, 5vw, 108px); line-height: 1.03; }
.tv-mode .slide-narrative {
 display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7;
 max-height: none; overflow: hidden;
 font-size: clamp(16px, 1.5vw, 30px); line-height: 1.55; color: #e2e9ef;
}
.tv-mode .hero-actions { display: none; }
.tv-mode .slide-meta { font-size: clamp(10px, .85vw, 16px); }
.tv-mode .slide-qr {
 position: absolute; right: 5vw; bottom: calc(11vh + 4vh);
 width: clamp(150px, 11.5vw, 210px);
 padding: clamp(10px, .9vw, 16px); border-radius: 14px; text-align: center;
}
.tv-mode .qr-kicker { font-size: clamp(7px, .6vw, 10px); }
.tv-mode .slide-qr strong { margin-bottom: 8px; font-size: clamp(12px, .95vw, 17px); }
.tv-mode .slide-qr small { display: none; }
.tv-mode .hero-bottom { left: 5vw; right: 5vw; height: 11vh; }
.tv-mode #exit-tv { display: inline-flex; }
.tv-mode .touch-hint { display: none; }
.tv-mode .tv-brand {
 display: flex; position: absolute; z-index: 6; left: 5vw; top: 3.5vh;
 width: min(24vw, 400px); height: 10vh;
}
.tv-mode .tv-brand img { width: 100%; height: 100%; object-fit: contain; }
.tv-mode .hero-clock {
 display: flex; position: absolute; z-index: 6; right: 5vw; top: 3.5vh;
 flex-direction: column; align-items: flex-end; gap: 2px;
 color: #fff; text-align: right;
}
.tv-mode .hero-clock #tvTime { font-family: var(--font-head); font-size: clamp(20px, 2.1vw, 44px); font-weight: 700; letter-spacing: -.02em; }
.tv-mode .hero-clock #tvDate { font-size: clamp(9px, .8vw, 15px); letter-spacing: .06em; text-transform: uppercase; color: #a9bac8; }
.tv-mode .hero-progress { height: 5px; }

/* ---------- Animations ---------- */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes progressGrow { from { width: 0; } to { width: 100%; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
 .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .main-nav a { padding: 10px 10px; font-size: 12.5px; }
 .main-nav .nav-admin { padding: 10px 14px; }
}
@media (max-width: 1024px) {
 .main-nav { display: none; }
 .menu-button { display: inline-flex; }
 .header-actions { margin-left: auto; }
 .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
 .stats-inner { grid-template-columns: 1fr; gap: 24px; }
 .catalog-toolbar { position: static; background: none; backdrop-filter: none; }
}
@media (max-width: 900px) {
 body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
 body.tv-mode { padding-bottom: 0; }
 .mobile-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(8, 23, 38, .97);
  border-top: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
 }
 .mobile-tabs a {
  display: grid; justify-items: center; gap: 3px;
  padding: 5px 2px; border-radius: 12px;
  color: #91a3b5; font-size: 9.5px;
 }
 .mobile-tabs a.is-active { color: var(--gold); background: rgba(255, 255, 255, .04); }
 .mobile-tabs svg { width: 21px; height: 21px; }
 .to-top { bottom: calc(78px + env(safe-area-inset-bottom)); }
 .header { height: 70px; padding: 0 16px; gap: 12px; }
 .brand { width: 162px; height: 44px; }
 .fullscreen-btn span { display: none; }
 .fullscreen-btn { width: 42px; padding: 0; }
 .mobile-menu { top: 78px; }
 .hero { height: 640px; height: min(640px, 100svh); }
 .slide {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 28px 20px 96px;
  background-image:
   linear-gradient(180deg, rgba(5, 15, 27, .72), rgba(5, 15, 27, .9) 46%, rgba(5, 15, 27, .98)),
   linear-gradient(90deg, rgba(5, 15, 27, .55), rgba(5, 15, 27, .2)),
   var(--photo);
 }
 .hero h1 { font-size: clamp(32px, 8.4vw, 46px); margin-bottom: 14px; }
 .slide-narrative { margin-bottom: 4px; font-size: 13px; line-height: 1.7; -webkit-line-clamp: 4; }
 .hero-actions { gap: 14px; }
 .hero-actions .button { min-height: 46px; padding: 0 20px; }
 .hero-link { font-size: 12px; }
 .slide-meta { margin-top: 8px; font-size: 10.5px; }
 .slide-qr { display: none; }
 .hero-bottom { left: 20px; right: 20px; height: 84px; gap: 12px; }
 .counter { min-width: 52px; font-size: 11px; }
 .touch-hint { display: none; }
 .catalog { padding-top: 40px; }
 .section-heading { display: block; }
 .demo-badge { margin-top: 12px; }
 .catalog-toolbar { display: block; margin-top: 20px; padding: 12px 0; }
 .catalog-tools { margin-top: 12px; }
 .search { flex: 1; }
 .search input { width: 100%; }
 .sort { flex: none; }
 .results-meta span + span { display: none; }
 .mobile-callout { padding: 20px; gap: 14px; }
 .callout-arrow { display: none; }
 .detail { padding-top: 18px; padding-bottom: 40px; }
 .detail-grid { grid-template-columns: 1fr; }
 .detail-image { aspect-ratio: 16 / 10; }
 .side { position: static; }
 .qr-panel { display: none; }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
 .footer-brand { grid-column: 1 / -1; }
 .footer-brand img { width: 170px; }
 .footer-bottom { flex-direction: column; gap: 6px; }
 .stats-band { padding-top: 26px; }
 .stat { padding: 16px 14px; }
 .stat strong { font-size: 26px; }
 .journey { gap: 10px; }
 .tv-mode .slide {
  display: flex; flex-direction: column; justify-content: center;
  gap: 2vh; padding: 14vh 5vw 16vh;
 }
 .tv-mode .hero-content { max-width: 100%; }
 .tv-mode h1 { max-width: 100%; font-size: clamp(30px, 6.4vw, 54px); }
 .tv-mode .slide-narrative { max-height: 32vh; font-size: clamp(14px, 2.2vw, 19px); line-height: 1.55; }
 .tv-mode .slide-qr { display: none; }
 .tv-mode .audio-ctrl { display: none; }
 .tv-mode .hero-bottom { height: 12vh; }
 .tv-mode .slide-meta { font-size: 11px; }
}
@media (max-width: 620px) {
 .project-grid { grid-template-columns: 1fr; }
 .card-image { aspect-ratio: 16 / 9; }
 .article-actions .button { flex: 1 1 auto; }
 .stat-list { gap: 8px; }
 .stat { padding: 14px 12px; }
 .stat span { font-size: 10.5px; }
 .mobile-callout { align-items: flex-start; }
 .callout-icon { width: 42px; height: 42px; }
 .callout-icon svg { width: 22px; height: 22px; }
 .mobile-callout h3 { font-size: 14px; }
 .mobile-callout p { font-size: 11.5px; }
}
@media (min-width: 1800px) {
 .container { max-width: 1420px; }
 .hero { height: 860px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
