/* Tombs of Sand website. Fonts are served from this site; nothing is loaded from other companies. */
@font-face{font-family:Cinzel;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/cinzel-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Cinzel;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/cinzel-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Lato;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Lato;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
img{max-width:100%}
[hidden]{display:none!important}
/* LAYOUT: a night-desert title scene with a playable board set into it; below it one column of bands on the tomb wall
   (how it plays, the seven lands as an itinerary, the kit). Manual, Support and Privacy are separate views of the same page.
   The identity is the game's own: Cinzel and Lato, tomb red-brown, gold, lapis and turquoise; papyrus by day. */
:root{
  color-scheme:dark;
  /* theme tokens: the tomb wall by night */
  --bg:#2a1109;--bg2:#210d07;--surface:#3b190d;--ink:#f7ecd6;--muted:#dcc39a;--head:#f3cf5a;--accent:#8fe9df;
  --rule:rgba(243,207,90,.3);--stripe:rgba(0,0,0,.16);--strong:#ffe9b0;--th-bg:#5a2a14;--th-ink:#f6ebcf;
  --zebra:rgba(0,0,0,.2);--note:rgba(0,0,0,.28);--chip:#4a2010;--chip-ink:#f7ecd6;
  /* brand constants, the same in both themes: the bar, the scene, the board and the footer are always dark */
  --gold:#d9a520;--gold2:#f3cf5a;--lapis:#1d3f8a;--turq:#2aa198;--tomb:#40190c;--tomb2:#260e06;--sand:#f7ecd6;--sand2:#e0c9a0;--onGold:#2a1606;
  /* type */
  --display:Cinzel,Georgia,"Times New Roman",serif;--body:Lato,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){
  color-scheme:light;
  --bg:#f6ebcf;--bg2:#eddcb2;--surface:#fffaf0;--ink:#2b1a0a;--muted:#6b4a2a;--head:#7a3520;--accent:#1d3f8a;
  --rule:#cfb074;--stripe:rgba(122,53,32,.055);--strong:#5a1f0a;--th-bg:#7a3520;--th-ink:#f6ebcf;
  --zebra:#f3e4c0;--note:#fff4d8;--chip:#fff7e3;--chip-ink:#5a2a14;
}}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f6ebcf;--bg2:#eddcb2;--surface:#fffaf0;--ink:#2b1a0a;--muted:#6b4a2a;--head:#7a3520;--accent:#1d3f8a;
  --rule:#cfb074;--stripe:rgba(122,53,32,.055);--strong:#5a1f0a;--th-bg:#7a3520;--th-ink:#f6ebcf;
  --zebra:#f3e4c0;--note:#fff4d8;--chip:#fff7e3;--chip-ink:#5a2a14;
}
*{box-sizing:border-box;min-width:0}
body{margin:0;color:var(--ink);font:17px/1.6 var(--body);overflow-x:clip;
  background:repeating-linear-gradient(90deg,transparent 0 46px,var(--stripe) 46px 48px),var(--bg)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:50;background:var(--tomb)}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--accent)}
b,strong{font-weight:700}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* two languages live side by side in the markup; only one shows */
:root:not([data-lang="tr"]) .l-tr{display:none!important}
:root[data-lang="tr"] .l-en{display:none!important}
.wrap{max-width:1120px;margin-inline:auto;padding-left:max(clamp(16px,4vw,40px),env(safe-area-inset-left,0px));padding-right:max(clamp(16px,4vw,40px),env(safe-area-inset-right,0px))}
.frieze{height:6px;background:repeating-linear-gradient(90deg,var(--lapis) 0 10px,var(--gold) 10px 13px,var(--turq) 13px 23px,var(--gold) 23px 26px)}

/* ===== bar ===== */
.bar{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:linear-gradient(var(--tomb),var(--tomb2));border-bottom:2px solid var(--gold);box-shadow:0 4px 14px rgba(0,0,0,.35);color:var(--sand)}
.bar-in{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding-block:8px}
.brand{display:inline-flex;align-items:center;gap:9px;margin-right:auto;min-height:40px;font:800 clamp(17px,2.3vw,21px)/1 var(--display);letter-spacing:.03em;color:var(--gold2);text-decoration:none;white-space:nowrap}
.brand svg{width:26px;height:26px;flex:none}
.nav{display:flex;gap:2px}
.nav a{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border-radius:999px;color:var(--sand);font:700 15px/1 var(--body);text-decoration:none;white-space:nowrap}
.nav a:hover{background:rgba(243,207,90,.12)}
.nav a[aria-current="page"]{background:rgba(243,207,90,.2);color:var(--gold2)}
.lang{display:inline-flex;border:1.5px solid rgba(243,207,90,.55);border-radius:999px;overflow:hidden;flex:none}
.lang button,.lang a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:34px;padding:0 10px;border:0;background:transparent;color:var(--sand);font:700 13px/1 var(--body);letter-spacing:.08em;text-decoration:none;cursor:pointer}
.lang button[aria-pressed="true"],.lang a[aria-current="true"]{background:var(--gold);color:var(--onGold)}
.bar :focus-visible{outline-color:#fff}
@media (max-width:680px){.nav{order:3;width:100%;justify-content:space-between}.nav a{padding:0 10px;min-height:36px}}

/* ===== hero: the game's night scene ===== */
.hero{position:relative;isolation:isolate;overflow:hidden;color:var(--sand)}
.scene{position:absolute;inset:0;z-index:-1;overflow:hidden;--hz:80%;background:linear-gradient(#0a0620 0%,#1a1046 32%,#3b1a5c 56%,#7a2c58 calc(var(--hz) - 7%),#c8573f calc(var(--hz) - 1%),#5a2414 var(--hz))}
.stars{position:absolute;inset:0 0 26% 0;-webkit-mask:linear-gradient(#000 35%,transparent);mask:linear-gradient(#000 35%,transparent)}
.stars.sa{background:radial-gradient(circle,#fff 1px,transparent 1.7px) 14px 22px/97px 113px,radial-gradient(circle,#ffe9b0 1.3px,transparent 2px) 60px 70px/151px 131px}
.stars.sb{background:radial-gradient(circle,#fff 1.1px,transparent 1.8px) 40px 50px/127px 89px,radial-gradient(circle,#cfe0ff 1px,transparent 1.6px) 90px 10px/173px 149px}
.sunwrap{position:absolute;left:var(--fx,50%);top:var(--hz);width:min(120vw,640px);aspect-ratio:1;transform:translate(-50%,-43%);opacity:.8}
.rays{position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(rgba(255,228,150,.3) 0 5deg,transparent 5deg 15deg);-webkit-mask:radial-gradient(circle,transparent 21%,#000 23%,transparent 68%);mask:radial-gradient(circle,transparent 21%,#000 23%,transparent 68%)}
.sun{position:absolute;inset:29%;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fffbe0,#ffe08a 38%,#ffb347 70%,#f08a3c);box-shadow:0 0 70px 26px rgba(255,205,120,.55),0 0 160px 70px rgba(255,150,70,.35)}
.pyrs{position:absolute;left:var(--fx,50%);bottom:calc(100% - var(--hz) - 1px);height:min(24%,190px);aspect-ratio:10/3;transform:translateX(-50%);display:block;filter:brightness(.5) saturate(.8)}
.dune{position:absolute;left:0;bottom:0;width:200%;background-repeat:repeat-x;background-size:50% 100%}
.dune.d1{height:calc(100% - var(--hz) + 26px);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%237a3a4c'/%3E%3Cstop offset='1' stop-color='%233c1b30'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 40C125 0 250 0 375 30S600 70 700 45S900 72 1000 40V300H0z' fill='url(%23g)'/%3E%3C/svg%3E")}
.dune.d2{height:calc((100% - var(--hz)) * .76);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2346203a'/%3E%3Cstop offset='1' stop-color='%23210e20'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 46C110 78 240 74 330 44S520 4 640 30S880 16 1000 46V300H0z' fill='url(%23g)'/%3E%3C/svg%3E")}
.dune.d3{height:calc((100% - var(--hz)) * .5);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231e0c1b'/%3E%3Cstop offset='1' stop-color='%2309040a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 36C140 6 300 10 420 40S640 78 760 50S900 64 1000 36V300H0z' fill='url(%23g)'/%3E%3C/svg%3E")}
.wind{position:absolute;left:0;width:34%;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(255,238,200,.75),transparent);transform:translateX(-120%)}
.wind.w1{top:84%}.wind.w2{top:89%;width:22%}.wind.w3{top:94%;width:44%}
.hero-in{display:grid;grid-template-areas:"copy" "demo" "stores";justify-items:center;gap:26px;padding-block:clamp(26px,5vw,52px) clamp(34px,6vw,60px);text-align:center}
.hero-copy{grid-area:copy;display:flex;flex-direction:column;align-items:center;gap:14px}
.emblem{width:clamp(130px,26vw,190px);height:auto;overflow:visible;filter:drop-shadow(0 4px 10px rgba(0,0,0,.5))}
.logo{display:inline-flex;flex-direction:column;align-items:center;filter:drop-shadow(0 3px 0 #2a0f1c) drop-shadow(0 8px 14px rgba(0,0,0,.55))}
.lg1,.lg3{font:800 clamp(42px,9.4vw,86px)/.98 var(--display);letter-spacing:.06em;margin-right:-.06em;text-transform:uppercase;background:linear-gradient(100deg,#f3cf5a 30%,#fff6c8 48%,#f3cf5a 66%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
.lg3{font-size:clamp(48px,10.8vw,98px)}
.lg2{display:flex;align-items:center;gap:10px;font:600 clamp(14px,2.6vw,20px)/1.7 var(--display);letter-spacing:.3em;margin-right:-.3em;text-transform:uppercase;color:#ffe9b0}
.lg2 i{width:clamp(26px,7vw,60px);height:2px;background:linear-gradient(90deg,transparent,#f3cf5a)}
.lg2 i:last-child{transform:scaleX(-1);margin-left:-.3em}
.tagline{font:700 clamp(15px,2vw,17px)/1.3 var(--body);letter-spacing:.06em;color:#ffe9c4;text-shadow:0 1px 3px rgba(0,0,0,.8);text-wrap:balance}
.lede{max-width:44ch;font-size:clamp(17px,2vw,19px);line-height:1.55;color:#fbeed6;text-shadow:0 1px 4px rgba(10,4,20,.9);text-wrap:pretty}
.stores{grid-area:stores;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.store{display:inline-flex;flex-direction:column;justify-content:center;gap:3px;min-height:58px;padding:7px 20px 8px;border-radius:13px;border:2px solid rgba(243,207,90,.65);background:rgba(18,7,3,.72);color:var(--sand);text-align:left;line-height:1.1}
.store small{font:700 11px/1.1 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--sand2)}
.store b{font:800 19px/1.1 var(--display);color:var(--gold2);white-space:nowrap}
@media (min-width:900px){
  .hero-in{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"copy demo" "stores demo";align-items:center;justify-items:start;gap:22px 56px;text-align:left}
  .hero-copy{align-items:flex-start}
  .stores{justify-content:flex-start;align-self:start}
  .hero-copy{align-self:end}
  .scene{--fx:61%}
  .lede{max-width:40ch}
}

/* ===== the playable board ===== */
.demo{grid-area:demo;width:min(100%,384px);display:flex;flex-direction:column;gap:9px}
.demo-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.demo-top .kick{font:700 12.5px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:#ffe9c4;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.pscore{font:800 17px/1 var(--display);color:var(--gold2);white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.8);font-variant-numeric:tabular-nums}
.pframe{position:relative;background:linear-gradient(145deg,var(--gold2),var(--gold) 40%,#8a6210);padding:7px;border-radius:18px;box-shadow:0 14px 30px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.4)}
.pboard{position:relative;aspect-ratio:1;border-radius:12px;background:radial-gradient(60% 50% at 50% 40%,rgba(160,200,255,.2),transparent 72%),linear-gradient(#173371,#0f2552);overflow:hidden;touch-action:manipulation;outline:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;cursor:pointer}
.pboard:focus-visible{box-shadow:0 0 0 3px #fff}
.pcell{position:absolute;width:calc(100% / 6);height:calc(100% / 6)}
.pcell i{position:absolute;inset:2px;border-radius:10px;background:rgba(255,255,255,.07)}
.pcell.odd i{background:rgba(255,255,255,.12)}
.ptile{position:absolute;left:0;top:0;width:calc(100% / 6);height:calc(100% / 6);z-index:2;transform:translate(calc(var(--c) * 100%),calc(var(--r) * 100%));transition:transform .24s cubic-bezier(.3,.7,.4,1)}
.ptile>.tile{position:absolute;inset:2px;width:auto}
.tile{position:relative;display:grid;place-items:center;aspect-ratio:1;padding:12%;border-radius:24%;box-shadow:inset 0 -3px 0 rgba(0,0,0,.16),inset 0 2px 0 rgba(255,255,255,.5),0 2px 3px rgba(0,0,0,.3)}
.tile>img,.tile>svg{width:100%;height:100%;display:block;pointer-events:none}
.tile.s0{background:linear-gradient(#e8f6da,#b4da98)}
.tile.s1{background:linear-gradient(#e2ecff,#a8c2f3)}
.tile.s2{background:linear-gradient(#d6f4ef,#8cd2c8)}
.tile.s3{background:linear-gradient(#f5f0ff,#cdbff0)}
.tile.s4{background:linear-gradient(#fdebc4,#e6bd6c)}
.tile.s5{background:linear-gradient(#ffe0d0,#f19e78)}
.tile.s6{background:linear-gradient(#fff3c0,#eec64a)}
.tile.sp{padding:6%;box-shadow:0 0 0 2px #fff6c8,0 0 12px rgba(255,220,120,.85),inset 0 -3px 0 rgba(0,0,0,.2)}
.tile.ob{background:radial-gradient(circle at 50% 40%,#4a7fe0,#14306e)}
.tile.ob.h>svg,.tile.ob.h>img{transform:rotate(90deg)}
.tile.fl{background:radial-gradient(circle at 50% 45%,#ffe0a0,#d0541f 72%)}
.tile.cl{background:radial-gradient(circle at 50% 40%,#fbf2ff,#b88ad8);padding:8%}
.tile.dark{background:linear-gradient(#6a3218,#3a1a0c);box-shadow:0 0 0 2px var(--gold),0 2px 4px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.18)}
/* tiles outside the board take their size from --sz, so their padding follows the tile and not the row they sit in */
.tile.st{flex:none;width:var(--sz,44px);height:var(--sz,44px);padding:calc(var(--sz,44px) * .12)}
.tile.st.sp{padding:calc(var(--sz,44px) * .06)}
.tile.st.cl{padding:calc(var(--sz,44px) * .08)}
.tile.st.dark{padding:calc(var(--sz,44px) * .16)}
.fav{position:absolute;right:-3px;bottom:-3px;width:44%;aspect-ratio:1;border-radius:30%;background:#fff8e8;box-shadow:0 0 0 2px var(--gold),0 1px 3px rgba(0,0,0,.4);padding:7%}
.fav img{width:100%;height:100%;display:block}
.ptile[data-h]::after{content:"";position:absolute;left:0;top:0;width:36%;aspect-ratio:1;border-radius:50%;z-index:3;box-shadow:0 0 0 1.5px #fff,0 1px 3px rgba(0,0,0,.5);background:var(--lapis) center/72% no-repeat}
.ptile[data-h=oh]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3cf5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M7 7l-4 5 4 5M17 7l4 5-4 5'/%3E%3C/svg%3E")}
.ptile[data-h=ov]::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3cf5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 7l5-4 5 4M7 17l5 4 5-4'/%3E%3C/svg%3E")}
.ptile[data-h=fl]::after{background-color:#c0461c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23fff3b8'/%3E%3Cpath d='M12 1v5M12 18v5M1 12h5M18 12h5M4 4l3.5 3.5M16.5 16.5 20 20M20 4l-3.5 3.5M7.5 16.5 4 20' stroke='%23fff3b8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.ptile[data-h=cl]::after{background-color:#7b3fb0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18 4 7l5 4 3-7 3 7 5-4 1 11z' fill='%23f3cf5a'/%3E%3C/svg%3E")}
.pcur{position:absolute;left:0;top:0;width:calc(100% / 6);height:calc(100% / 6);z-index:7;transform:translate(calc(var(--c) * 100%),calc(var(--r) * 100%));border:3px solid #fff;border-radius:12px;pointer-events:none;box-shadow:0 0 0 2px #1d3f8a,0 0 12px rgba(255,255,255,.8)}
.ppop{position:absolute;z-index:8;transform:translate(-50%,-50%);font:800 clamp(16px,4.4vw,21px)/1 var(--display);color:#fff;text-shadow:0 2px 0 #5a2a0c,0 0 8px #f3cf5a;white-space:nowrap;pointer-events:none;opacity:0}
.pmsg{min-height:44px;display:grid;place-items:center;padding:7px 12px;border-radius:12px;background:rgba(18,7,3,.66);border:1px solid rgba(243,207,90,.22);font-weight:700;font-size:15px;line-height:1.35;text-align:center;color:var(--sand);text-wrap:balance}
@keyframes pzgone{to{transform:scale(.1) rotate(30deg);opacity:0;filter:sepia(1) blur(1.5px)}}
@keyframes pzpop{0%{transform:scale(.3)}60%{transform:scale(1.18)}100%{transform:none}}
@keyframes pzshake{20%,60%{transform:translateX(-4px) rotate(-4deg)}40%,80%{transform:translateX(4px) rotate(4deg)}}
@keyframes pzfloat{0%{opacity:0;transform:translate(-50%,-20%) scale(.6)}20%{opacity:1;transform:translate(-50%,-60%) scale(1.1)}100%{opacity:0;transform:translate(-50%,-160%)}}
@keyframes pzbob{50%{transform:translateY(-6%)}}
@keyframes hspin{to{transform:rotate(360deg)}}
@keyframes htwinkle{from{opacity:.35}to{opacity:1}}
@keyframes hpan{to{transform:translateX(-50%)}}
@keyframes hwind{to{transform:translateX(420%)}}
@keyframes gleam{from{background-position:100% 0}to{background-position:-150% 0}}
@media (prefers-reduced-motion:no-preference){
  .ptile.gone>.tile{animation:pzgone .26s ease-in forwards}
  .ptile.pop>.tile{animation:pzpop .34s cubic-bezier(.2,1.6,.4,1)}
  .ptile.shake>.tile{animation:pzshake .32s}
  .ptile[data-h]>.tile{animation:pzbob 1.5s ease-in-out infinite}
  .ppop{animation:pzfloat 1s ease-out forwards}
  .rays{animation:hspin 80s linear infinite}
  .stars.sa{animation:htwinkle 2.8s ease-in-out infinite alternate}
  .stars.sb{animation:htwinkle 3.7s ease-in-out infinite alternate-reverse}
  .dune.d1{animation:hpan 95s linear infinite}
  .dune.d2{animation:hpan 60s linear infinite}
  .dune.d3{animation:hpan 34s linear infinite}
  .wind{animation:hwind 5s linear infinite}
  .wind.w2{animation-duration:3.6s;animation-delay:-1.2s}.wind.w3{animation-duration:6.5s;animation-delay:-3s}
  .lg1,.lg3{animation:gleam 6s linear infinite}
}
@media (prefers-reduced-motion:reduce){.ptile{transition:none}.ptile.gone{display:none}.ppop{display:none}}

/* ===== bands ===== */
.band{padding-block:clamp(48px,7vw,84px)}
.band.alt{background:var(--bg2)}
.band[id]{scroll-margin-top:calc(env(safe-area-inset-top,0px) + 52px)}
.band-in{display:flex;flex-direction:column;gap:clamp(26px,4vw,40px)}
.head{display:flex;flex-direction:column;gap:10px;max-width:62ch}
.eyebrow{font:700 12.5px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
h2{font:800 clamp(27px,4.2vw,40px)/1.1 var(--display);color:var(--head);text-wrap:balance}
h3{font:800 20px/1.2 var(--display);color:var(--head);text-wrap:balance}
.sub{color:var(--muted);font-size:18px;line-height:1.5;text-wrap:pretty}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px 40px}
.step{display:flex;flex-direction:column;gap:12px;padding-top:20px;border-top:2px solid var(--rule)}
.step p{text-wrap:pretty}
.art{--sz:48px;display:flex;align-items:flex-end;gap:10px;min-height:96px}
.mini{--sz:44px;display:grid;grid-template-columns:repeat(3,44px);gap:4px}
.mini .tile.on{box-shadow:0 0 0 3px var(--gold2),0 0 14px rgba(243,207,90,.8),inset 0 -3px 0 rgba(0,0,0,.16)}
.mini .tile:not(.on){opacity:.55}
.cap{--sz:52px;display:flex;flex-direction:column;align-items:center;gap:6px;font:700 13px/1 var(--body);color:var(--muted);font-variant-numeric:tabular-nums}
.legend{--sz:56px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 10px}
.legend li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font:700 14px/1.25 var(--body)}
.legend small{display:block;font-weight:400;font-size:12.5px;color:var(--muted)}
@media (min-width:760px){.legend{grid-template-columns:repeat(8,minmax(0,1fr))}}
.legend-head{display:flex;flex-direction:column;gap:16px;padding-top:26px;border-top:2px solid var(--rule)}

/* the seven lands, as an itinerary */
.lands{display:flex;flex-direction:column}
.land{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px 18px;align-items:start;padding-block:22px;border-top:1px solid var(--rule)}
.land:last-child{border-bottom:1px solid var(--rule)}
.medal{grid-row:span 2;width:72px;aspect-ratio:1;border-radius:50%;padding:8px;background:radial-gradient(circle at 50% 35%,var(--m1),var(--m2) 75%);box-shadow:0 0 0 3px #1a0a05,0 0 0 5px var(--gold),0 6px 12px rgba(0,0,0,.35)}
.medal svg{width:100%;height:100%;display:block;overflow:visible}
.wadjet{--m1:#2c7a47;--m2:#0b2a16}.taweret{--m1:#2a55b0;--m2:#0c1c44}.kheperet{--m1:#1c7f77;--m2:#06302c}
.horet{--m1:#5a3aa0;--m2:#1c1240}.shesepet{--m1:#8a6210;--m2:#3a2600}.raet{--m1:#a8321c;--m2:#4a1208}.nemeset{--m1:#2b2a6e;--m2:#0c1238}
.land-main,.land-boss{display:flex;flex-direction:column;gap:6px}
.chapters{font-size:14.5px;line-height:1.5;color:var(--muted);text-wrap:pretty}
.land-boss p{text-wrap:pretty}
.weak>span:not(.tile){padding-top:3px}
.land-boss b{color:var(--strong)}
.weak{--sz:28px;display:flex;align-items:flex-start;gap:8px;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
@media (min-width:860px){
  .land{grid-template-columns:96px minmax(0,1.15fr) minmax(0,1fr);gap:6px 32px;align-items:center}
  .medal{width:96px;grid-row:auto;padding:10px}
}

/* the kit */
.kit{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:34px 44px}
.kit li{display:flex;flex-direction:column;gap:10px}
.kit p{text-wrap:pretty}
.ics{--sz:46px;display:flex;gap:8px;min-height:46px;align-items:center}
.ics .tile.dark svg{overflow:visible}
/* the teaser */
.vframe{max-width:920px;background:linear-gradient(145deg,var(--gold2),var(--gold) 40%,#8a6210);padding:7px;border-radius:18px;box-shadow:0 14px 30px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.4)}
.teaser{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:12px;background:#0a0620}
.cta{text-align:center}
.cta .band-in{align-items:center;gap:20px}
.cta .stores{justify-content:center}
.textlink{font-weight:700}

/* ===== manual, support and privacy ===== */
.doc{display:flex;flex-direction:column;gap:22px;max-width:780px}
.doc h3{font-size:22px;padding-bottom:6px;border-bottom:2px solid var(--rule);scroll-margin-top:calc(env(safe-area-inset-top,0px) + 118px)}
.doc section{display:flex;flex-direction:column;gap:12px}
.doc p,.doc li{max-width:70ch;text-wrap:pretty}
.doc b{color:var(--strong)}
.doc ul{display:flex;flex-direction:column;gap:10px;padding-left:22px;list-style:disc}
.doc ul ::marker{color:var(--gold)}
.lead{font-size:16px;color:var(--ink);background:var(--note);border-left:4px solid var(--gold);padding:12px 16px;border-radius:6px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--rule);background:var(--chip);color:var(--chip-ink);font:700 14px/1 var(--body);text-decoration:none;cursor:pointer}
.chips a:hover{border-color:var(--gold)}
.tblwrap{overflow-x:auto;border-radius:8px}
table{border-collapse:collapse;width:100%;font-size:16px;background:var(--surface)}
th{background:var(--th-bg);color:var(--th-ink);font-size:13.5px;font-weight:700;letter-spacing:.04em;text-align:left;padding:8px 10px;white-space:nowrap}
td{padding:9px 10px;border-bottom:1px solid var(--rule);vertical-align:top}
tr:nth-child(even) td{background:var(--zebra)}
td:first-child,td.nw{white-space:nowrap;font-variant-numeric:tabular-nums}
.ii{display:inline-grid;place-items:center;width:30px;height:30px;vertical-align:middle;margin:-4px 8px -2px 0;padding:4px;border-radius:8px;background:linear-gradient(#6a3218,#3a1a0c);box-shadow:0 0 0 1.5px var(--gold)}
.ii svg{width:100%;height:100%;display:block}
.ii.tl{--sz:30px;padding:0;background:none;box-shadow:none}
.ii.md{width:38px;height:38px;padding:4px;border-radius:50%;background:radial-gradient(circle at 50% 35%,var(--m1),var(--m2) 75%)}
.contact{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:16px 18px;border:1.5px solid var(--rule);border-radius:14px;background:var(--surface)}
.contact .who{display:flex;flex-direction:column;gap:2px;margin-right:auto}
.addr{font:700 18px/1.3 var(--body);color:var(--ink);overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.copy{min-height:40px;padding:0 16px;border-radius:999px;border:0;background:var(--gold);color:var(--onGold);font:800 14px/1 var(--display);cursor:pointer}
.copy:not(.done) .c2,.copy.done .c1{display:none}
.faq{display:flex;flex-direction:column;gap:20px}
.faq li{display:flex;flex-direction:column;gap:6px}
.faq h4{margin:0;font:700 18px/1.3 var(--body);color:var(--head);text-wrap:balance}
.doc ul.faq{list-style:none;padding-left:0}
.meta{color:var(--muted);font-size:15px}

/* ===== footer ===== */
.foot{background:linear-gradient(var(--tomb),var(--tomb2));color:var(--sand2);font-size:15px}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px;padding-block:26px}
.foot b{font:800 17px/1.2 var(--display);color:var(--gold2);letter-spacing:.03em}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot a{color:var(--sand);font-weight:700}
.foot .fine{width:100%;font-size:13px;color:var(--sand2);opacity:.85}
.foot :focus-visible{outline-color:#fff}
