/* Quality with Frans: drawing-office navy, stamp red, paper white. One family (Barlow) in two widths. */
:root {
  --ink: #0e1b2e;
  --ink-2: #16263d;
  --paper: #f1f2ec;
  --paper-2: #e4e6de;
  --red: #c8372d;
  --red-dk: #a52a22;
  --hivis: #d4ef2a;
  --steel: #8b949e;
  --text: #1b2433;
  --muted: #5b6676;
  --rule: rgba(14, 27, 46, .14);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.6 var(--body); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: .005em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(3rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 4px; font: 600 1.05rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.12); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.top.solid { position: sticky; top: 0; background: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { opacity: 1; border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 600 1rem var(--body); cursor: pointer; padding: 8px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); padding: 8px 16px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Gate: a grand bronze door that swings open into the entry film */
.gate { position: fixed; inset: 0; z-index: 120; overflow: hidden; background: transparent; color: #fff; }
.gate[hidden], .film[hidden] { display: none; }
.scene { position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); transform: translate(-50%, -50%); perspective: 1600px; transform-origin: 50% 52%; }
.scene .wall { position: absolute; inset: 0; width: 100%; height: 100%; }
.leaf { position: absolute; top: 14.583%; height: 58.464%; backface-visibility: hidden; transition: transform 1.7s cubic-bezier(.5,0,.2,1); }
.leaf.left { left: 36.773%; width: 13.227%; transform-origin: 0 50%; }
.leaf.right { left: 50%; width: 13.227%; transform-origin: 100% 50%; }
.gate-ui { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; justify-items: center; padding: 28px 16px 32px; text-align: center; transition: opacity .5s; }
.gate-title { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 1.5rem/1 var(--display); letter-spacing: .03em; color: #f3e6cf; text-shadow: 0 2px 16px #000; }
.gate-title img { border-radius: 50%; }
.enter { align-self: start; margin-top: 19vh; position: relative; width: 132px; height: 132px; border-radius: 50%; border: 1.5px solid rgba(243, 214, 160, .85); background: rgba(14, 12, 10, .45); color: #f6e7c8; font: 700 1.6rem/1 var(--display); letter-spacing: .14em; cursor: pointer; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); box-shadow: 0 0 40px rgba(232, 184, 110, .25); transition: background .3s, transform .3s; }
.enter span { padding-left: .14em; }
.enter::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(243, 214, 160, .5); animation: ring 2.4s ease-out infinite; }
.enter:hover { background: rgba(200, 55, 45, .75); transform: scale(1.04); }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.gate-hint { margin: 10px 0 0; color: #d8cbb3; font-size: .95rem; text-shadow: 0 1px 10px #000; }
.gate .skip-link { position: absolute; top: 24px; right: 20px; background: none; border: 0; color: #b8ab95; font: 500 .95rem var(--body); text-decoration: underline; cursor: pointer; }
.gate.opening .gate-ui { opacity: 0; pointer-events: none; }
.gate.opening .leaf.left { transform: rotateY(-108deg); }
.gate.opening .leaf.right { transform: rotateY(108deg); }
.gate.opening .scene { animation: walkin 2.3s .5s cubic-bezier(.6,0,.4,1) forwards; }
@keyframes walkin { 70% { opacity: 1; } to { transform: translate(-50%, -50%) scale(3.4); opacity: 0; } }
.film { position: fixed; inset: 0; z-index: 110; background: #000; }
.film video { width: 100%; height: 100%; object-fit: contain; }
.film .skip { position: absolute; right: 20px; bottom: 24px; background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.film .sound { position: absolute; left: 20px; bottom: 24px; background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.5); }
@media (prefers-reduced-motion: reduce) { .enter::after { animation: none; } .gate.opening .scene { animation: none; opacity: 0; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,46,.55) 0%, rgba(14,27,46,0) 30%, rgba(14,27,46,.15) 55%, rgba(14,27,46,.92) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 9vh; }
.hero h1 { color: #fff; max-width: 11ch; }
.hero .who { font: 600 1.15rem/1.3 var(--body); color: #dfe5ee; margin-bottom: 18px; }
.hero .lead { color: #dfe5ee; max-width: 46ch; margin: 22px 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.replay { position: absolute; z-index: 3; right: 24px; bottom: 24px; background: none; border: 0; color: #c8d1dd; font: 500 .95rem var(--body); text-decoration: underline; cursor: pointer; }

/* Page header for inner pages */
.page-head { background: var(--ink); color: #fff; padding: 72px 0 64px; }
.page-head h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5rem); }
.page-head p { color: #c3ccd8; margin-top: 16px; font-size: 1.15rem; }

/* Sections */
section.band { padding: 96px 0; }
section.band.tight { padding: 72px 0; }
.band.dark { background: var(--ink); color: #dfe5ee; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.grid-bg { background-color: var(--paper); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 32px 32px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head p { margin: 12px 0 0; color: var(--muted); }
.band.dark .sec-head p { color: #b9c3d1; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* Inspection register: the signature element */
.register { background: #fff; border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule); }
.register-title { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 22px; border-bottom: 2px solid var(--ink); font-family: var(--display); }
.register-title strong { font-size: 1.5rem; color: var(--ink); }
.register-title span { color: var(--muted); font: 500 .95rem var(--body); align-self: center; }
.register table { width: 100%; border-collapse: collapse; }
.register th { text-align: left; font: 600 .85rem var(--body); color: var(--muted); padding: 10px 22px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.register td { padding: 14px 22px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.register tr:last-child td { border-bottom: 0; }
.register .no { font: 700 1.25rem var(--display); color: var(--ink); width: 70px; }
.register .item { font-weight: 600; color: var(--ink); }
.register .when { color: var(--muted); white-space: nowrap; }
.status { display: inline-block; font: 700 .9rem/1 var(--display); letter-spacing: .06em; padding: 6px 10px 5px; border: 2px solid currentColor; border-radius: 3px; transform: rotate(-3deg); white-space: nowrap; }
.status.out { color: var(--red); }
.status.next { color: var(--ink); background: var(--hivis); border-color: var(--ink); transform: none; }
.status.soon { color: var(--steel); transform: none; }
.register a.watch { font-weight: 600; text-decoration: none; color: var(--red); }
@media (max-width: 700px) {
  .register thead { display: none; }
  .register tr { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: 'no item status' 'no when status'; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
  .register td { padding: 0; border: 0; }
  .register .no { grid-area: no; }
  .register .item { grid-area: item; }
  .register .when { grid-area: when; font-size: .9rem; }
  .register .st { grid-area: status; align-self: center; }
  .register-title { padding: 14px 16px; grid-template-columns: 1fr; }
}

/* Video library */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { font: 600 .95rem var(--body); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.vcard { text-decoration: none; color: var(--text); }
.vcard .thumb { position: relative; aspect-ratio: 16/9; background: var(--ink) center/cover no-repeat; border-radius: 4px; overflow: hidden; }
.vcard .thumb.short { aspect-ratio: 16/9; }
.vcard .tag { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: #fff; font: 600 .78rem var(--body); padding: 4px 8px; border-radius: 3px; }
.vcard h3 { font: 600 1.05rem/1.35 var(--body); margin: 12px 0 4px; color: var(--ink); }
.vcard time { color: var(--muted); font-size: .9rem; }
.vcard:hover h3 { text-decoration: underline; text-decoration-color: var(--red); }
.empty { color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.about img { width: 100%; border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }
.about .quote { font: 600 1.6rem/1.2 var(--display); color: var(--red); margin-top: 28px; max-width: 26ch; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about img { aspect-ratio: 4/3; } }

/* Lifecycle (About page) */
.cycle { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.cycle li { padding: 20px 18px 0 0; }
.cycle b { display: block; font: 700 1.4rem var(--display); color: var(--ink); margin-bottom: 6px; }
.cycle span { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .cycle { grid-template-columns: 1fr 1fr; gap: 0 20px; } }

/* Hub */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.hub-grid > * { background: #fff; padding: 30px 26px; text-decoration: none; color: var(--text); }
.hub-grid h3 { margin-bottom: 10px; }
.hub-grid p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr; } }
.calc { background: #fff; border: 1px solid var(--rule); padding: 28px; }
.calc h3 { margin-bottom: 6px; }
.calc .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 18px 0; }
.calc label { font: 600 .9rem var(--body); color: var(--muted); display: block; }
.calc input { width: 100%; font: 500 1.1rem var(--body); padding: 10px 12px; border: 1.5px solid var(--steel); border-radius: 4px; margin-top: 4px; background: var(--paper); }
.calc output { display: block; font: 700 2rem var(--display); color: var(--ink); }
.calc small { color: var(--muted); display: block; margin-top: 8px; }
.calcs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .calcs { grid-template-columns: 1fr; } }
.gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.gloss div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.gloss dt { font: 700 1.25rem var(--display); color: var(--ink); }
.gloss dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form label { font: 600 .95rem var(--body); color: var(--ink); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 400 1.05rem var(--body); padding: 12px 14px; border: 1.5px solid var(--steel); border-radius: 4px; background: #fff; color: var(--text); width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 600; min-height: 1.6em; margin: 0; }
.form-msg.ok { color: #1d7a3e; }
.form-msg.err { color: var(--red); }
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact ul { padding-left: 1.1em; color: var(--muted); }

/* Store */
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .soon { grid-template-columns: 1fr; gap: 40px; } }
.plan { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.plan li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.plan b { font: 700 1.35rem var(--display); color: var(--ink); display: block; }
.plan span { color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: #b9c3d1; padding: 64px 0 40px; }
.foot .wrap { display: grid; gap: 28px; }
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; text-decoration: none; color: #fff; font-weight: 600; }
.social a:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot small { font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.register td.st { width: 1%; }
.hero h1 { max-width: 13ch; }
.hero .lead, .hero .who { text-shadow: 0 1px 12px rgba(14,27,46,.8); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,27,46,.65) 0%, rgba(14,27,46,0) 60%); }
.disclaimer { font-size: .9rem; line-height: 1.55; max-width: 90ch; margin: 0; }
.foot small a { color: #fff; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.prose h2 { font-size: 2rem; margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; max-width: 68ch; }
.prose li { margin-bottom: 8px; }
.disclaimer a { color: #fff; }
.scene .glow { position: absolute; left: 36.773%; top: 14.583%; width: 26.454%; height: 58.464%; background: radial-gradient(ellipse at 50% 55%, #fff6e2 0%, #f3cf8f 35%, #b9873f 70%, #3a2a17 100%); opacity: 0; transition: opacity 1.2s .2s; }
.gate.opening .glow { opacity: 1; }
/* Phone version of the door scene (a taller photo with its own door position) */
@media (max-aspect-ratio: 4/5) {
  .scene { width: max(100vw, 55.81vh); height: max(179.17vw, 100vh); }
  .leaf { top: 23.983%; height: 39.777%; }
  .leaf.left { left: 22.222%; width: 27.778%; }
  .leaf.right { left: 50%; width: 27.778%; }
  .scene .glow { left: 22.222%; top: 23.983%; width: 55.556%; height: 39.777%; }
  .enter { margin-top: 20vh; }
  .gate .skip-link { position: static; margin-top: 6px; }
}
/* WhatsApp chat button */
.wa { position: fixed; z-index: 50; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #0b2e17; font: 700 1rem/1 var(--body); text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 600px) { .wa span { display: none; } .wa { padding: 14px; } }
/* Scroll-built tower: the stage pins while the visitor scrolls through a tall section */
.build { position: relative; height: 420vh; background: #0b1524; }
.build-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.build canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,46,.55) 0%, rgba(14,27,46,0) 25%, rgba(14,27,46,0) 55%, rgba(14,27,46,.85) 100%); pointer-events: none; }
.build-title { position: absolute; z-index: 2; top: 96px; left: 0; right: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; font: 600 1.05rem var(--body); color: #dfe5ee; }
.build-steps { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; list-style: none; }
.build-steps li { position: absolute; bottom: 0; left: 24px; right: 24px; font: 700 clamp(2rem, 5.4vw, 4.4rem)/1.04 var(--display); color: #fff; max-width: 16ch; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.build-steps li.on { opacity: 1; transform: none; }
.build-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.12); }
.build-bar span { display: block; height: 100%; width: 0; background: var(--red); }
.build-hint { position: absolute; z-index: 2; right: 24px; bottom: 24px; margin: 0; color: #c8d1dd; font-size: .95rem; transition: opacity .4s; }
.build.done .build-hint { opacity: 0; }
@media (max-width: 600px) { .build-title { top: 88px; padding: 0 16px; } .build-steps { padding: 0 16px; bottom: 56px; } .build-steps li { left: 16px; right: 16px; } .build-hint { right: 16px; } }

/* ---------- Premium pass ---------- */
:root { --bronze: #b5925a; --bronze-lt: #d9bf8f; --ink-3: #0a1422; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::selection { background: var(--red); color: #fff; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Header: clear over the hero, frosted navy once the page scrolls */
.top, .top.solid { position: fixed; top: 0; left: 0; right: 0; background: transparent; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.top.solid, .top.scrolled { background: rgba(10, 20, 34, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(181, 146, 90, .25); }
.nav a { letter-spacing: .01em; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--bronze); }
.page-head { padding: 156px 0 72px; background: radial-gradient(120% 140% at 85% 0%, #1d3354 0%, var(--ink) 55%, var(--ink-3) 100%); position: relative; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze), transparent); opacity: .6; }
.page-head h1 { letter-spacing: .005em; }

/* Buttons: slightly more refined */
.btn { border-radius: 3px; letter-spacing: .01em; padding: .95em 1.6em; }
.btn-red { box-shadow: 0 8px 24px rgba(200, 55, 45, .28); }
.btn-line { border-width: 1.5px; }

/* Hero: one orchestrated entrance, then still */
.hero .who { display: inline-flex; align-items: center; gap: 12px; color: var(--bronze-lt); }
.hero .who::before { content: ''; width: 36px; height: 1px; background: var(--bronze); }
.hero h1 { text-wrap: balance; }
.hero .who, .hero h1, .hero .lead, .hero .actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .12s; } .hero .lead { animation-delay: .26s; } .hero .actions { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 12px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* Section headings get a bronze rule */
.sec-head h2 { position: relative; padding-top: 22px; }
.sec-head h2::before { content: ''; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--bronze); }
section.band { padding: 112px 0; }
@media (max-width: 600px) { section.band { padding: 80px 0; } }

/* Register: a proper document feel */
.register { border: 0; box-shadow: 0 1px 2px rgba(14,27,46,.06), 0 18px 48px rgba(14,27,46,.10); border-radius: 4px; overflow: hidden; }
.register-title { border-bottom: 0; background: var(--ink); color: #fff; }
.register-title strong { color: #fff; }
.register-title span { color: var(--bronze-lt); }
.register tbody tr { transition: background .2s; }
.register tbody tr:hover { background: #f7f6f1; }

/* Video cards */
.vcard .thumb { border-radius: 6px; box-shadow: 0 10px 30px rgba(14,27,46,.14); }
.vcard .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,20,34,.55)); transition: opacity .3s; }
.vcard .thumb { background-size: cover; transition: background-size .5s; }
.vcard:hover .thumb { background-size: 108%; }
.vcard .tag { z-index: 1; background: rgba(10,20,34,.85); border: 1px solid rgba(181,146,90,.6); }

/* About block on dark */
.band.dark { background: radial-gradient(90% 120% at 15% 0%, #1b2f4e 0%, var(--ink) 50%, var(--ink-3) 100%); }
.about img { border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.45); outline: 1px solid rgba(181,146,90,.35); outline-offset: 10px; }
.about .quote { color: var(--bronze-lt); }

/* Hub tiles */
.hub-grid { border-radius: 6px; overflow: hidden; box-shadow: 0 18px 48px rgba(14,27,46,.08); }
.hub-grid > a { transition: background .25s; }
.hub-grid > a:hover { background: #fbfaf6; }
.hub-grid h3 { display: flex; justify-content: space-between; align-items: baseline; }

/* Footer */
.foot { background: var(--ink-3); border-top: 1px solid rgba(181,146,90,.3); }
.social a { border-color: rgba(181,146,90,.45); }
.social a:hover { border-color: var(--bronze-lt); background: rgba(181,146,90,.08); }

/* Build section: hint sits top-right so it never meets the WhatsApp button */
.build-hint { top: 96px; bottom: auto; }
@media (max-width: 600px) { .build-hint { top: 88px; } }
.build-title { display: inline-flex; gap: 12px; align-items: center; color: var(--bronze-lt); }

/* "Would you approve it?" */
.game-band { background: linear-gradient(180deg, var(--paper) 0%, #e9e7df 100%); }
.game { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .game { grid-template-columns: 1fr; gap: 32px; } }
.game-count { font: 600 1rem var(--body); color: var(--bronze); margin-top: 18px; }
.game-card { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 30px 70px rgba(14,27,46,.16); }
.game-photo { position: relative; aspect-ratio: 4/5; max-height: 62vh; border-radius: 5px; overflow: hidden; background: var(--ink); margin: 0 auto; }
.game-img { width: 100%; height: 100%; object-fit: cover; }
.game-stamp { position: absolute; left: 50%; top: 50%; width: 72%; max-width: 380px; transform: translate(-50%, -50%) rotate(-10deg); filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.game-stamp.slam { animation: slam .32s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes slam { from { transform: translate(-50%, -50%) rotate(-10deg) scale(2.2); opacity: 0; } to { transform: translate(-50%, -50%) rotate(-10deg) scale(1); opacity: 1; } }
.game-photo.shake { animation: shake .3s .26s; }
@keyframes shake { 25% { transform: translate(3px, -2px); } 50% { transform: translate(-3px, 2px); } 75% { transform: translate(2px, 1px); } }
.game-q { font: 600 1.15rem var(--body); color: var(--ink); margin: 16px 4px 14px; }
.game-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game-actions .btn { justify-content: center; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--display); }
.btn-approve { background: #1d7a3e; color: #fff; box-shadow: 0 8px 24px rgba(29,122,62,.25); }
.btn-approve:hover { background: #17642f; }
.game-result { margin: 4px; }
.game-verdict { font: 700 1.5rem var(--display); margin: 6px 0; }
.game-verdict.right { color: #1d7a3e; } .game-verdict.wrong { color: var(--red); }
.game-why { color: var(--muted); }
.game-next { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .game-stamp.slam, .game-photo.shake { animation: none; } }
.game-actions[hidden], .game-result[hidden], .game-stamp[hidden] { display: none; }

/* ---------- Dark lobby theme: the whole site continues the look of the entrance door ---------- */
:root { --paper: #0b1422; --text: #d5dbe4; --muted: #93a0b2; --rule: rgba(181,146,90,.2); --card: #101c2e; --card-2: #14233a; }
body { background: var(--paper); color: var(--text); }
h1, h2, h3 { color: #f4f1ea; }
.lead { color: var(--muted); }
section.band { background: transparent; }
.band.grid-bg { background-color: #0d1828; background-image: linear-gradient(rgba(181,146,90,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(181,146,90,.07) 1px, transparent 1px); background-size: 40px 40px; }
.band.dark { background: radial-gradient(90% 120% at 15% 0%, #172a46 0%, #0d1828 55%, #08111d 100%); }
.more { color: #f4f1ea; border-bottom-color: var(--bronze); }
.sec-head p { color: var(--muted); }

/* Checks: vertical poster rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 19vw, 230px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-btn { position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(217,191,143,.6); background: rgba(8,17,29,.8); color: #f4f1ea; font: 400 1.8rem/1 var(--body); cursor: pointer; backdrop-filter: blur(6px); }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
@media (max-width: 860px) { .rail-btn { display: none; } .rail { grid-auto-columns: 62vw; } }
.poster { position: relative; display: block; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; scroll-snap-align: start; background: #08111d; text-decoration: none; color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.45); outline: 1px solid rgba(181,146,90,.25); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.poster:hover img { transform: scale(1.05); }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,17,29,0) 45%, rgba(8,17,29,.92) 100%); }
.poster-meta { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; }
.poster-meta b { font: 700 1.25rem/1.05 var(--display); letter-spacing: .01em; }
.poster-meta em { font: 500 .85rem var(--body); font-style: normal; color: var(--bronze-lt); }
.poster-play { position: absolute; z-index: 1; top: 46%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(200,55,45,.92); box-shadow: 0 8px 24px rgba(0,0,0,.4); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; }
.poster-play::before { content: ''; position: absolute; left: 21px; top: 16px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
a.poster:hover .poster-play, a.poster:focus-visible .poster-play { opacity: 1; transform: none; }
.poster.locked img { filter: grayscale(.85) brightness(.45) blur(1.5px); }
.poster.locked::before { content: ''; position: absolute; z-index: 1; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(217,191,143,.7); background: rgba(8,17,29,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bf8f' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/14px no-repeat; }
.poster.is-next { outline: 2px solid var(--bronze); }
.poster.is-next em { color: #fff; background: var(--red); justify-self: start; padding: 3px 8px; border-radius: 3px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }

/* Cards and surfaces on the dark theme */
.game-band { background: linear-gradient(180deg, #0d1828 0%, #0a1422 100%); }
.game-card { background: var(--card); box-shadow: 0 30px 70px rgba(0,0,0,.45); outline: 1px solid rgba(181,146,90,.25); }
.game-q, .game-next { color: #f4f1ea; }
.game-why { color: var(--muted); }
.game-verdict.right { color: #4cc277; } .game-verdict.wrong { color: #ff6b5e; }
.vcard { color: var(--text); }
.vcard h3 { color: #f4f1ea; }
.hub-grid { background: rgba(181,146,90,.2); border-color: rgba(181,146,90,.2); }
.hub-grid > * { background: var(--card); color: var(--text); }
.hub-grid > a:hover { background: var(--card-2); }
.hub-grid p { color: var(--muted); }
.calc { background: var(--card); border-color: rgba(181,146,90,.2); }
.calc input, .form input, .form select, .form textarea { background: #0a1422; color: #f4f1ea; border-color: rgba(181,146,90,.35); }
.calc output { color: #f4f1ea; }
.form label { color: #f4f1ea; }
.gloss dt { color: #f4f1ea; }
.plan { border-top-color: var(--bronze); }
.plan b { color: #f4f1ea; }
.cycle { border-top-color: var(--bronze); }
.cycle b { color: #f4f1ea; }
.contact ul { color: var(--muted); }
.form-note { color: var(--muted); }
.form-note a, .prose a, .game-why a { color: var(--bronze-lt); }
.filters button { border-color: rgba(181,146,90,.6); color: #f4f1ea; }
.filters button[aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); color: #0b1422; }

/* Build section: a clear instruction until the tower is built */
.build-hint { position: absolute; z-index: 3; top: auto; bottom: 36%; left: 50%; right: auto; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(181,146,90,.95); color: #0b1422; font: 700 1.05rem/1.1 var(--body); letter-spacing: .02em; box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap; transition: opacity .4s; }
.build-hint i { width: 14px; height: 14px; border-right: 3px solid #0b1422; border-bottom: 3px solid #0b1422; transform: rotate(45deg); margin-top: -6px; animation: hintbob 1.2s ease-in-out infinite; }
@keyframes hintbob { 50% { transform: translateY(5px) rotate(45deg); } }
.build.started .build-hint { opacity: .0; pointer-events: none; }
.build.started:not(.done) .build-hint { opacity: 0; }
@media (max-width: 600px) { .build-hint { top: auto; bottom: 34%; font-size: .98rem; } }
.build-bar { height: 6px; }
