/* tenthroomstudio.com. All styles live in this file because the CSP in _headers blocks inline styles.
   body.studio: the studio home page (warm paper background). body.kis: the Keep It Shut pages (dark like the game). */
:root{
  --serif:ui-serif,"New York",Georgia,"Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --amber:#e8a84c;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.6 var(--sans)}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);line-height:1.15;margin:0}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.narrow{max-width:720px;margin-left:auto;margin-right:auto}
.top{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--serif);font-weight:700;font-size:18px}
.brand small{font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.22em;text-transform:uppercase;opacity:.65}
h2.eyebrow{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;margin:0 0 18px}
section{padding:44px 0}
footer{padding:36px 0 56px;font-size:14px}
footer a{margin-right:14px}

/* ---- Studio home page ---- */
body.studio{background:#f6f2ec;color:#1d1916}
.studio h2.eyebrow{color:#8a7a68}
.studio .intro{text-align:center;padding:56px 0 36px}
.studio .intro img{width:96px;height:96px;margin:0 auto 22px}
.studio h1{font-size:clamp(38px,7vw,60px);letter-spacing:.01em}
.studio .tagline{font-family:var(--serif);font-style:italic;font-size:21px;color:#5d5246;margin:14px auto 0;max-width:520px}
.game-card{display:grid;grid-template-columns:1.25fr 1fr;background:#0e0c0b;color:#e9e1d4;border-radius:18px;overflow:hidden;text-decoration:none;
  box-shadow:0 18px 40px rgba(29,25,22,.18);transition:transform .2s}
.game-card:hover{transform:translateY(-2px)}
.game-card .card-image{width:100%;height:100%;object-fit:cover}
.card-text{padding:30px 28px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.card-text .icon{width:72px;height:72px;border-radius:16px}
.card-text h3{font-size:30px;letter-spacing:.06em;text-transform:uppercase}
.card-text p{margin:0;color:#b9ad9e}
.badge{display:inline-block;align-self:flex-start;border:1px solid rgba(232,168,76,.5);color:var(--amber);border-radius:999px;padding:4px 12px;font-size:13px}
.card-text .view{color:#e9e1d4;font-weight:600}
.studio .about p{font-family:var(--serif);font-size:20px;color:#3b332b;max-width:640px;margin:0}
.studio footer{color:#8a7a68;border-top:1px solid #e2d9cc}
@media (max-width:720px){.game-card{grid-template-columns:1fr}.card-text{padding:24px 22px}}

/* ---- Keep It Shut ---- */
body.kis{background:#0e0c0b;color:#e9e1d4}
.kis h2.eyebrow{color:#c4402f}
/* Apple product names are never set in all caps (Apple trademark guidelines, ASO review 10/22). */
h2.eyebrow.normal-case{text-transform:none;letter-spacing:.04em}
.kis .top{color:#b9ad9e}
.kis .top a{text-decoration:none}
.kis h2:not(.eyebrow){font-size:clamp(28px,4.5vw,40px);margin-bottom:14px}
.kis p{color:#c9bfb1}
.kis .intro{text-align:center;padding:30px 0 10px}
.kis .intro .icon{width:96px;height:96px;border-radius:22px;margin:0 auto 22px;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.kis h1{font-size:clamp(40px,8vw,76px);letter-spacing:.08em;text-transform:uppercase}
.kis .tagline{font-family:var(--serif);font-style:italic;font-size:22px;color:#b9ad9e;margin:12px 0 18px}
.kis .hero{margin:34px auto 0;border-radius:14px;border:1px solid #2a231d}
.video{width:100%;aspect-ratio:16/9;border-radius:14px;border:1px solid #2a231d;background:#000}
.three-col{display:grid;grid-template-columns:.62fr 1fr 1fr;gap:16px;align-items:end;margin-top:26px}
.three-col figure{margin:0}
.three-col img{border-radius:12px;border:1px solid #2a231d;width:100%}
.three-col figcaption{margin-top:10px;font-size:15px;color:#b9ad9e}
.three-col figcaption b{display:block;color:#e9e1d4;font-family:var(--serif);font-size:18px}
.note{margin-top:22px;padding:14px 18px;border:1px solid #2a231d;border-radius:12px;font-size:15px}
.residents{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.resident{background:#16120f;border:1px solid #2a231d;border-radius:14px;overflow:hidden}
.resident img{width:100%;aspect-ratio:4/5;object-fit:cover}
.resident div{padding:14px 16px 18px}
.resident h3{font-size:20px;margin-bottom:6px}
.resident p{margin:0;font-size:15px}
.story{font-family:var(--serif);font-size:21px;line-height:1.55;color:#d8cebf;max-width:680px}
.features{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px;padding:0;margin:24px 0 0;list-style:none}
.features li{padding-left:22px;position:relative;color:#c9bfb1}
.features li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:#c4402f}
.scroller{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 2px 14px;margin-top:22px}
.scroller img{flex:0 0 auto;width:230px;border-radius:14px;border:1px solid #2a231d;scroll-snap-align:start}
.faq{border-top:1px solid #2a231d;padding:16px 0}
.faq b{display:block;color:#e9e1d4;margin-bottom:4px}
.faq p{margin:0}
.contact{margin-top:22px;padding:18px 20px;border:1px solid rgba(232,168,76,.4);border-radius:12px}
.kis a{color:#e9e1d4}
.kis .contact a{color:var(--amber)}
.kis footer{color:#8c8174;border-top:1px solid #2a231d}
.kis .legal h2:not(.eyebrow){font-size:24px;margin:30px 0 8px}
@media (max-width:760px){
  .three-col{grid-template-columns:1fr 1fr}.three-col figure:first-child{grid-column:1/3;max-width:260px}
  .residents{grid-template-columns:repeat(2,1fr)}.features{grid-template-columns:1fr}
}
.scroller{scrollbar-color:#3a3029 transparent}
.studio .legal h2:not(.eyebrow){font-size:24px;margin:30px 0 8px}
.studio .legal p,.studio .legal li{color:#3b332b}
.legal h1{margin-bottom:18px}
/* Keep It Shut press page */
.button{display:inline-block;margin-top:18px;background:#c4402f;color:#fff !important;text-decoration:none;font-weight:600;padding:11px 22px;border-radius:999px}
.facts{width:100%;border-collapse:collapse;font-size:16px}
.facts td{border-top:1px solid #2a231d;padding:10px 8px;vertical-align:top;color:#c9bfb1}
.facts td:first-child{width:32%;color:#e9e1d4;font-weight:600}
.fine-print{font-size:14px;color:#8c8174}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:16px}
.grid.portrait{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
.grid img{width:100%;border-radius:10px;border:1px solid #2a231d}
.logo-downloads{display:flex;flex-wrap:wrap;gap:22px;margin-top:16px}
.logo-downloads a{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;font-size:14px;color:#c9bfb1}
.logo-downloads img{border-radius:20px;background:#16120f;padding:8px}
.kis .narrow h2.eyebrow{margin-top:26px}

/* ---- Foldlock (10/22): warm dark like the game's wood and brass; the layout reuses the Keep It Shut classes above ---- */
body.fl{background:#100c09;color:#ece2d1}
.fl h2.eyebrow{color:#d2a65a}
.fl .top{color:#bcae99}
.fl .top a{text-decoration:none}
.fl h2:not(.eyebrow){font-size:clamp(28px,4.5vw,40px);margin-bottom:14px}
.fl p{color:#cdbfa9}
.fl .intro{text-align:center;padding:30px 0 10px}
.fl .intro .icon{width:96px;height:96px;border-radius:22px;margin:0 auto 22px;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.fl h1{font-size:clamp(40px,8vw,76px);letter-spacing:.08em;text-transform:uppercase}
.fl .tagline{font-family:var(--serif);font-style:italic;font-size:22px;color:#bcae99;margin:12px 0 18px}
.fl .hero{margin:34px auto 0;border-radius:14px}
.fl a{color:#ece2d1}
.fl .contact a{color:var(--amber)}
.fl .features li::before{background:#d2a65a}
.fl footer{color:#8f8372;border-top:1px solid #2c241c}
.fl .legal h2:not(.eyebrow){font-size:24px;margin:30px 0 8px}
.fl .narrow h2.eyebrow{margin-top:26px}
.four-col{display:grid;grid-template-columns:.5fr .5fr 1fr 1fr;gap:14px;align-items:end;margin-top:26px}
.four-col figure{margin:0}
.four-col img{border-radius:12px;border:1px solid #2c241c;width:100%}
.four-col figcaption{margin-top:10px;font-size:15px;color:#bcae99}
.four-col figcaption b{display:block;color:#ece2d1;font-family:var(--serif);font-size:18px}
@media (max-width:860px){.four-col{grid-template-columns:1fr 1fr}}
.fl .grid{grid-template-columns:repeat(2,1fr)}
@media (max-width:620px){.fl .grid{grid-template-columns:1fr}}
