/* LightHeart Labs site: page parts built from the brand kit's tokens */
.lh-ph{color:var(--lh-mg);font-style:italic}
.lh-links a[aria-current=page]{color:var(--lh-am)}
.lh-ring{width:min(420px,100% - 60px)}   /* leaves room for the tick marks outside the ring */
.sec-first{padding-top:32px}
.sec-note{max-width:62ch;margin:0 0 28px}
.lh-section .lh-actions{margin-top:32px}
.am-h{color:var(--lh-am)}
.lh-panel>p:last-child{margin-bottom:0}
.lh-panel .lh-h3{margin-top:0}

/* Peter's logo mark (inline SVG in currentColor) */
.lh-brand .lh-mark{width:76px;height:auto;flex:none;color:#fff;margin-block:-6px}
@media (max-width:760px){.lh-brand .lh-mark{width:62px}}

/* home: link to the early playtest */
.hp-test{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:22px 0 0;font-size:17px}
.hp-test a{color:#fff}

/* game cards */
.gc-art.gc-tall img{object-fit:contain;background:#03060f}
.gc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:22px}
.gc{padding:12px;--lh-cut:14px;display:flex;flex-direction:column}
.gc-art{display:block;aspect-ratio:16/9;background:#000;overflow:hidden}
.gc-art img{display:block;width:100%;height:100%;object-fit:cover}
.gc-noposter{display:grid;place-items:center;height:100%;color:var(--lh-cy2);font-weight:200;letter-spacing:.2em}
.gc-body{padding:18px 14px 14px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.gc-body .lh-h3{margin:16px 0 2px}
.gc-type{margin:0 0 10px;font-size:13px;letter-spacing:.24em;text-transform:uppercase;color:var(--lh-cy2)}
.gc-body p:not(.gc-type){margin:0 0 22px;flex:1}

/* services */
.sv-list{margin:0 0 16px;padding-left:20px}
.sv-price{margin:0;color:var(--lh-am)}
.sv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:22px}
.sv-card{display:flex;flex-direction:column}
.sv-foot{margin-top:auto;padding-top:6px}
.sv-note{font-size:17px;margin:12px 0 0}
.sv-plans{list-style:none;margin:0 0 4px;padding:0}
.sv-plans li{padding:12px 0;border-top:1px solid rgba(255,122,26,.22);font-size:17px}
.sv-plan{display:flex;justify-content:space-between;gap:6px 16px;flex-wrap:wrap}
.sv-plan b{font-weight:500;color:#fff}
.sv-promises{max-width:68ch;margin:0}
.sv-promises li{margin-bottom:10px}
.sec-tight{padding-top:24px;padding-bottom:40px}

/* home page, below the hero */
.si-table{width:100%;border-collapse:collapse}
.si-table th,.si-table td{text-align:left;vertical-align:top;padding:16px 24px 16px 0;border-bottom:1px solid rgba(255,122,26,.22);font-weight:400}
.si-table thead th{font-size:13px;font-weight:500;letter-spacing:.26em;text-transform:uppercase;color:var(--lh-cy2);padding-top:0}
.si-table tbody th a{color:#fff;font-weight:500;text-decoration:none}
.si-table tbody th a:hover{color:var(--lh-cy);text-decoration:underline}
.si-group th{padding:34px 0 10px;font-size:13px;font-weight:500;letter-spacing:.3em;text-transform:uppercase;color:var(--lh-cy)}
.si-table td:nth-child(2){color:var(--lh-sub)}
.si-price{color:var(--lh-am);white-space:nowrap;padding-right:0!important}
.si-note{margin:18px 0 0;font-size:17px}
.hw-steps{list-style:none;counter-reset:hw;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.hw-steps li{counter-increment:hw;border-top:1.5px solid var(--lh-cy);padding-top:16px}
.hw-steps li::before{content:"0" counter(hw);display:block;color:var(--lh-cy);font-size:13px;font-weight:500;letter-spacing:.3em;margin-bottom:12px}
.hw-steps p,.hw-commit p{margin:0}
.hw-commit{display:grid;grid-template-columns:repeat(2,1fr);gap:32px 56px;max-width:980px}
.hw-cta{padding:40px 0 72px}
.hw-cta .lh-h2{margin-bottom:0}
.hw-cta .lh-actions{margin-top:24px}

/* free consult booking */
html:has(.bk-dialog[open]){overflow:hidden}
.bk-dialog{width:min(420px,calc(100vw - 24px));max-width:none;padding:0;border:0;background:transparent;color:var(--lh-text);overflow:visible}
.bk-dialog::backdrop{background:rgba(0,0,0,.72)}
.bk-dialog [hidden]{display:none!important}
.bk{padding:0;--lh-cut:14px}
.bk-body{padding:22px;max-height:calc(100dvh - 32px);overflow-y:auto}
.bk-body:focus{outline:0}
.bk-title{margin:0 44px 2px 0;font-weight:400;font-size:21px;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.bk-sub{margin:0 0 16px;font-size:17px;line-height:1.35;color:var(--lh-sub)}
.bk-close{position:absolute;top:8px;right:8px;z-index:1;width:44px;height:44px;padding:0;background:none;border:0;color:var(--lh-text);font-size:26px;line-height:1;cursor:pointer}
.bk-close:hover{color:var(--lh-am)}
.bk-status{margin:0 0 14px}
.bk-label{margin:0 0 8px;font-size:17px;color:#fff}
.bk-days,.bk-times{display:grid;gap:7px}
.bk-days{grid-template-columns:repeat(5,1fr);margin-bottom:16px}
.bk-times{grid-template-columns:repeat(3,1fr)}
.lh-btn.bk-opt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:7px 2px;font-size:14px;line-height:1.1;letter-spacing:.02em;text-transform:none;white-space:nowrap;--lh-cut:6px}
.lh-btn.bk-opt[aria-pressed=true]{--lh-c:var(--lh-am);color:var(--lh-bg)}
.lh-btn.bk-opt[aria-pressed=true]::before{background:var(--lh-am)}
.bk-outside{margin:16px 0 0;font-size:17px;line-height:1.4;color:var(--lh-sub)}
.bk-back{margin:0 0 10px;padding:6px 0;min-height:32px;background:none;border:0;color:var(--lh-cy);font:400 17px/1 var(--lh-font);cursor:pointer}
.bk-back:hover{text-decoration:underline}
.bk-when{margin:0 0 16px;font-size:20px;line-height:1.3;color:var(--lh-am)}
.bk-field{display:block;margin-bottom:14px}
.bk-field span{display:block;margin-bottom:5px;font-size:17px;color:var(--lh-sub)}
.bk-field input{width:100%;padding:12px;font:400 18px/1.3 var(--lh-font);color:var(--lh-text);background:var(--lh-bg);border:1.5px solid var(--lh-cy);border-radius:0}
.bk-field input:focus{outline:2px solid var(--lh-am);outline-offset:1px}
.bk-trap{position:absolute;left:-9999px}
.bk-submit{display:block;width:100%;padding-inline:8px;text-align:center;letter-spacing:.16em}
.bk-submit:disabled{opacity:.6;cursor:default}
.bk-fine{margin:10px 0 0;font-size:16px;line-height:1.35;color:var(--lh-sub);text-align:center}
.bk-done-title{margin:0 44px 6px 0;font-size:24px;font-weight:400;color:#fff}
.bk-done-when{margin:0 0 6px;font-size:20px;line-height:1.3;color:var(--lh-am)}
.bk-done-note{margin:0 0 20px}

/* the game player */
.sec-play{padding-top:20px}
.crumb{text-decoration:none}
.crumb:hover{text-decoration:underline}
.gp-title{margin-bottom:20px}
.gp-shell{padding:12px;--lh-cut:12px;z-index:60;max-width:calc((100dvh - 48px)*16/9);margin-inline:auto}
.gp-stage{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.gp-stage iframe,.gp-poster{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.gp-poster{object-fit:cover;opacity:.5}
.gp-start{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap}
.gp-exit{display:none;position:absolute;top:6px;left:6px;z-index:5;padding:12px 14px;font-size:11px;opacity:.7}
.gp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;position:relative;z-index:60}
.gp-tools{display:flex;gap:10px;flex-wrap:wrap}
.gp-tools .lh-btn{padding:12px 20px;font-size:13px}
.gp-tools .lh-btn:disabled{--lh-c:rgba(233,191,159,.35);cursor:default}
.gp-tools .lh-btn:disabled:hover::before{background:var(--lh-panel)}
.gp-tools .lh-btn:disabled:hover{color:var(--lh-c)}
.gp-info{display:grid;grid-template-columns:1fr 1.35fr;gap:48px;padding-bottom:40px}
.gp-small{font-size:17px}
.gp-more{padding-top:24px}
.gp-scroll{overflow-x:auto}
.gp-controls{width:100%;border-collapse:collapse;font-size:17px}
.gp-controls th,.gp-controls td{text-align:left;vertical-align:top;padding:10px 14px 10px 0;border-bottom:1px solid rgba(255,122,26,.22)}
.gp-controls thead th{font-size:12px;font-weight:500;letter-spacing:.26em;text-transform:uppercase;color:var(--lh-cy2)}
.gp-controls tbody th{font-weight:500;color:#fff}

/* full-page play, and real fullscreen where the device has it */
html.gp-lock,html.gp-lock body{overflow:hidden}
.gp-shell.gp-tall{max-width:min(100%,calc((100dvh - 48px)*9/16))}
.gp-tall .gp-stage{aspect-ratio:9/16}
.gp-shell.is-theatre{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;z-index:100;padding:0;background:#000;clip-path:none}
.gp-shell.is-theatre::before{display:none}
.gp-shell.is-theatre .gp-stage{aspect-ratio:auto;width:100%;height:100%}
.gp-shell.is-theatre .gp-exit{display:inline-block;animation:gp-fade .4s 4s forwards}
.gp-exit:hover,.gp-exit:focus-visible{animation:none!important;opacity:1}
@keyframes gp-fade{to{opacity:.22}}   /* no corner is free in every game, so Exit steps back from the HUD */

/* ---- LightHeart accents: DO-T's dark surface stays the page; red and anchors are small touches ---- */
:root{--lh-brand-red:#6e100c;--lh-brand-line:#d0332a;
  /* flame palette: replaces the kit's blues, greens and violets on the site only */
  --lh-bg:#0c0604;--lh-panel:#170b06;--lh-cy:#ff7a1a;--lh-cy2:#ffb347;--lh-am:#ffc93c;--lh-gn:#ffe08a;--lh-vi:#ff5a36;--lh-mg:#ff4a2e;--lh-text:#ffeadb;--lh-sub:#e9bf9f}
.lh-grid{background-image:linear-gradient(rgba(255,122,26,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,122,26,.05) 1px,transparent 1px)}
.lh-finish::after{background:repeating-linear-gradient(0deg,rgba(20,6,0,.07) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 55%,rgba(10,3,0,.5))}
.lh-ring{border-color:rgba(255,122,26,.4)}
.lh-ring::before{background:repeating-conic-gradient(rgba(255,122,26,.6) 0 .5deg,transparent .5deg 7.5deg)}
.lh-band{background-color:var(--lh-brand-red);background-size:120px 120px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cdefs%3E%3Cg id='a' fill='none' stroke='%237c1a13' stroke-width='4' stroke-linecap='round'%3E%3Ccircle cx='40' cy='17' r='5'/%3E%3Cpath d='M40 22V66M30 32H50M20 48c1 11 9 18 20 18s19-7 20-18'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23a'/%3E%3Cuse href='%23a' x='80' y='80'/%3E%3Ccircle cx='120' cy='40' r='3.5' fill='%237c1a13'/%3E%3Ccircle cx='40' cy='120' r='3.5' fill='%237c1a13'/%3E%3C/svg%3E")}
.lh-band .lh-brand{font-weight:600;letter-spacing:.42em}
.lh-band .lh-links a{color:#fff;font-weight:500}
.lh-band .lh-links a[aria-current=page]{color:var(--lh-am)}
.lh-band .lh-nav{padding:12px 0}
.lh-band .lh-footer{border-top:0;color:#ffe3d6}
.lh-rule{background:var(--lh-brand-line)}
.lh-bent::after{background:var(--lh-brand-line)}
.lh-bent::before{content:"";position:absolute;left:270px;bottom:-9px;width:26px;height:30px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16 8 48 62'%3E%3Cg fill='none' stroke='%23d0332a' stroke-width='5' stroke-linecap='round'%3E%3Ccircle cx='40' cy='17' r='5'/%3E%3Cpath d='M40 22V66M30 32H50M20 48c1 11 9 18 20 18s19-7 20-18'/%3E%3C/g%3E%3C/svg%3E")}

/* ---- the games area: AHAD's blues, with a plain black-and-white nav so each game's branding leads ---- */
body.theme-ahad{--lh-bg:#03060f;--lh-panel:#03091c;--lh-cy:#19E3FF;--lh-cy2:#8CF6FF;--lh-am:#FFB938;--lh-gn:#3CFFB0;--lh-vi:#8E7BFF;--lh-mg:#FF3FD0;--lh-text:#D4EDFF;--lh-sub:#A0C8E6;--lh-c:var(--lh-cy)}
.theme-ahad.lh-grid{background-image:linear-gradient(rgba(25,227,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(25,227,255,.06) 1px,transparent 1px)}
.theme-ahad.lh-finish::after{background:repeating-linear-gradient(0deg,rgba(0,10,24,.07) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 55%,rgba(0,4,14,.5))}
.theme-ahad .lh-band{background-color:#000;background-image:none;border-block:1px solid rgba(255,255,255,.22)}
.theme-ahad .lh-band .lh-links a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:7px}
.theme-ahad .lh-band .lh-footer{color:#fff}
.theme-ahad .lh-bent::after{background:var(--lh-cy)}
.theme-ahad .lh-bent::before{display:none}
.theme-ahad .gp-controls th,.theme-ahad .gp-controls td{border-bottom-color:rgba(25,227,255,.2)}
.theme-ahad .gp-tools .lh-btn:disabled{--lh-c:rgba(160,200,230,.35)}

@media (max-width:900px){.hw-steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){
  .hw-steps,.hw-commit{grid-template-columns:1fr;gap:24px}
  .si-table,.si-table tbody,.si-table tr,.si-table th,.si-table td{display:block}
  .si-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .si-table tr{padding:14px 0;border-bottom:1px solid rgba(255,122,26,.22)}
  .si-table tr.si-group{padding:0;border:0}
  .si-table th,.si-table td{border:0;padding:0 0 4px}
  .si-table tr.si-group th{padding:26px 0 6px}
  .si-price{white-space:normal}
  .gp-info{grid-template-columns:1fr;gap:32px}
  .lh-brand{letter-spacing:.26em}
  .lh-btn{padding:14px 24px}
  .lh-display{letter-spacing:.1em}
}
