/* CLAUDE WAS HERE (StudioSite, 2026-11-05): the studio site's look.  It borrows the game site's materials (brass,
   cream, the warm red, Fraunces + Fredoka -- the user's "homey" picks for play.suzerainstudios.com) so the two read as
   one house, but its ground is the game city's purple night, and its one loud moment is the studio logo's own idea:
   Sooz over the name with soft gold and red sunbeams behind him.  Everything else stays quiet. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces.ttf") format("truetype"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --night:     #1c1433;   /* the city's sky after dark */
  --night-lo:  #140e26;
  --night-hi:  #2a1f4a;
  --brass:     #d9ae5a;
  --brass-lit: #ffd98a;
  --red:       #b83a2e;
  --cream:     #fbf3e0;
  --body:      #ddd2e4;
  --dim:       #ab9fbd;
  --ink:       #1a1008;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Fredoka", system-ui, sans-serif; font-size: 18px; line-height: 1.5; color: var(--cream); background: var(--night); }
a { color: var(--brass-lit); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--brass-lit); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
sup { font-size: .5em; vertical-align: super; line-height: 0; letter-spacing: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---- buttons: the game site's brass pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 0; background: var(--brass); color: var(--ink); font: inherit; font-weight: 700;
  letter-spacing: .04em; text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 #8a6427; }
.btn:hover { color: var(--ink); background: var(--brass-lit); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a6427; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn.big { min-height: 64px; padding: 0 40px; font-size: 22px; }
@media (max-width: 420px) { .btn.big { min-height: 58px; padding: 0 26px; font-size: 19px; } }
.btn.big, .btn.small { white-space: nowrap; }
.btn.small { min-height: 42px; padding: 0 20px; font-size: 16px; }

/* ---- header */
header.top { border-bottom: 1px solid rgba(217,174,90,.25); background: var(--night-lo); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 21px; }
@media (max-width: 520px) { .brand span { font-size: 18px; } header.top .btn.small { padding: 0 16px; font-size: 15px; } }
@media (max-width: 400px) { .brand span { display: none; } }

/* ---- the marquee: the studio's sign */
.marquee { position: relative; overflow: hidden; text-align: center; padding: 56px 0 64px;
  background: radial-gradient(ellipse 60% 70% at 50% 30%, var(--night-hi) 0%, var(--night) 70%); }
.rays { position: absolute; left: 50%; top: 230px; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(217,174,90,.20) 0deg 7deg, transparent 7deg 15deg, rgba(184,58,46,.20) 15deg 22deg, transparent 22deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.55) 22%, transparent 48%);
          mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.55) 22%, transparent 48%);
  animation: turn 140s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rays { animation: none; } }
.marquee .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
/* the studio logo (2026-11-05): his own drawing, cut out of its cream background, on the purple */
.logo { position: relative; margin: 0; width: min(580px, 100%); container-type: inline-size; line-height: 0; }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 26px rgba(0,0,0,.45)); }
.logo .tm { position: absolute; left: 66.6%; top: 92.6%; font: 600 2.6cqw/1 "Fredoka", sans-serif; color: #fbf3e0; vertical-align: baseline; }
.lead { margin: 28px 0 0; font-size: clamp(19px, 2.2vw, 22px); color: var(--body); max-width: 34ch; }
.cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta .quiet { font-weight: 600; }
.cta .note { margin: 0; font-size: 15px; color: var(--dim); max-width: 36ch; }
.cta .note span { display: block; color: var(--brass-lit); font-weight: 600; }
.race { margin: 26px 0 0; font-size: 16px; }
.race a { color: var(--cream); text-decoration-color: rgba(255,217,138,.5); }
.race b { color: var(--brass-lit); font-weight: 600; }

/* ---- the game */
section.game { background: var(--night-lo); border-top: 1px solid rgba(217,174,90,.18); border-bottom: 1px solid rgba(217,174,90,.18); }
section.game .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.shot { margin: 0; border: 3px solid var(--brass); border-radius: 18px; overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.shot img { display: block; width: 100%; height: auto; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 14px; }
.copy > p { margin: 0 0 18px; color: var(--body); max-width: 46ch; }
.facts { list-style: none; margin: 6px 0 26px; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.facts .keys { display: inline-flex; gap: 4px; width: 56px; flex: none; }
.facts kbd { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: var(--cream); color: var(--ink); font: 700 17px/1 "Fredoka", sans-serif; box-shadow: 0 2px 0 #b9a77f; }
.facts .coin { width: 34px; height: 34px; margin: 0 11px; flex: none; }
.facts .cup { width: 30px; height: 30px; margin: 0 13px; flex: none; fill: var(--brass-lit); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (max-width: 860px) {
  section.game .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .shot { transform: none; }
}

/* ---- what's next */
section.next .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.phone-art { width: 150px; height: auto; flex: none; transform: rotate(6deg); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
section.next .copy { max-width: 460px; }
@media (max-width: 640px) { section.next .wrap { flex-direction: column; text-align: left; gap: 32px; padding-top: 56px; padding-bottom: 64px; } .phone-art { width: 120px; } }

/* ---- footer */
footer.foot { background: var(--night-lo); border-top: 3px solid var(--brass); }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; padding-top: 24px; padding-bottom: 28px; font-size: 15px; color: var(--dim); }
footer.foot p { margin: 0; }
footer.foot .studio { font-family: var(--serif); font-weight: 700; color: var(--brass); font-size: 17px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.foot nav a { color: var(--body); }
footer.foot .fine { flex-basis: 100%; }

/* ---- the 404 */
.lost { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.lost .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lost img { width: 150px; height: auto; }
.lost h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); margin: 0; }
.lost p { margin: 0; color: var(--body); }

/* ---- header links */
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav > a:not(.btn) { color: var(--cream); font-weight: 600; text-decoration: none; }
.topnav > a:not(.btn):hover { color: var(--brass-lit); }

/* ---- the blog (CLAUDE WAS HERE, 2026-11-05): one readable column on the night ground */
main.blog { padding: 56px 0 80px; }
.posts, .post { max-width: 760px; }
.posts h1, .post h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 5.4vw, 58px); line-height: 1.04; margin: 0 0 12px; letter-spacing: -.01em; }
.posts .lede { margin: 0 0 36px; color: var(--body); font-size: 20px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 26px 0; border-top: 1px solid rgba(217,174,90,.25); }
.list li:last-child { border-bottom: 1px solid rgba(217,174,90,.25); }
.list a { color: var(--cream); text-decoration: none; }
.list a:hover h2 { color: var(--brass-lit); }
.list h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 6px; }
.list p { margin: 0; color: var(--body); }
.meta { margin: 0 0 10px; color: var(--dim); font-size: 15px; }
.crumb { margin: 0 0 14px; font-size: 15px; }
.post .meta { margin-bottom: 30px; }
.prose { font-size: 19px; line-height: 1.65; color: var(--body); }
.prose > * { margin: 0 0 20px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin: 44px 0 12px; color: var(--cream); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose b { color: var(--cream); }
.prose figure { margin: 30px 0; }
.prose figure img { display: block; width: 100%; height: auto; border: 3px solid var(--brass); border-radius: 14px; }
.prose figure.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.prose figure.narrow img { border: 0; border-radius: 0; }
.prose figcaption { margin-top: 8px; font-size: 15px; color: var(--dim); }
.prose .faq h2:first-child { margin-top: 10px; }
.prose .cta-line { margin-top: 36px; }
.prose .fine { font-size: 14px; color: var(--dim); margin-top: 36px; }

/* ---- Truncs (CLAUDE WAS HERE, 2026-11-24): the studio's page for its first app (/truncs) and its card on the home
   page.  The studio's purple and brass around it; the app's own look (black, mint, Inter) inside its panel and tile. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
.kicker { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.topnav > a[aria-current="page"] { color: var(--brass-lit); }

section.tool { border-top: 1px solid rgba(217,174,90,.18); }
section.tool .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.tool-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 260px; height: 220px; background: #000;
  border: 3px solid var(--brass); border-radius: 28px; color: #fff; transform: rotate(-4deg); box-shadow: 0 22px 44px rgba(0,0,0,.45); }
.tool-tile:hover { transform: rotate(-2deg) scale(1.02); }
.truncs-mascot { display: block; width: 78%; height: auto; }
section.tool .copy { max-width: 460px; }
section.tool .copy > .kicker { margin: 0; color: var(--brass); }
section.tool h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 44px); margin: 8px 0 12px; }
section.tool .copy > p:not(.kicker):not(.links) { color: var(--body); margin: 0 0 20px; }
@media (max-width: 640px) { section.tool .wrap { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 56px; padding-bottom: 56px; } .tool-tile { width: 200px; height: 170px; } }

.tr-hero { background: radial-gradient(ellipse 60% 70% at 50% 30%, var(--night-hi) 0%, var(--night) 70%); }
.tr-hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.tr-copy { flex: 1 1 440px; min-width: 0; }
.tr-copy h1 { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(56px, 8vw, 72px); line-height: 1; font-weight: 800; }
.tr-tag { margin: 18px 0 0; font-size: 24px; color: var(--body); line-height: 1.4; max-width: 24ch; }
.tr-sub { margin: 18px 0 0; font-size: 18px; color: var(--dim); line-height: 1.55; max-width: 42ch; }
.tr-cta { margin-top: 32px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tr-cta .btn.big { font-size: 20px; padding: 0 34px; white-space: normal; text-align: center; }
.tr-cta span { font-size: 16px; color: var(--dim); }
.tr-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.qm { width: 100%; max-width: 440px; background: #000; border: 2px solid var(--brass); border-radius: 20px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); font-family: "Inter", system-ui, sans-serif; }
.qm-search { display: flex; align-items: center; gap: 10px; background: #0E0F11; border: 1.5px solid #62F0A8; border-radius: 19px; padding: 11px 16px; color: #A9AEB6; font-size: 15px; }
.qm-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font: 700 16px/1.2 "JetBrains Mono", ui-monospace, monospace; }
.qm-rows div { padding: 12px 14px; color: #fff; border-radius: 10px; }
.qm-rows .on { background: #62F0A8; color: #06090C; }
.qm-full { margin: 12px 0 0; background: #0A0B0C; border: 1px solid #24272B; border-radius: 14px; padding: 14px; font-size: 15px; line-height: 1.5; color: #fff; }

.tr-how { background: var(--night-lo); border-top: 1px solid rgba(217,174,90,.18); border-bottom: 1px solid rgba(217,174,90,.18); }
.tr-how .wrap { padding-top: 72px; padding-bottom: 72px; }
.tr-how h2 { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 700; }
.tr-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tr-steps > div { background: var(--night); border: 1px solid rgba(217,174,90,.3); border-radius: 18px; padding: 26px; }
.tr-steps p { margin: 10px 0 0; color: var(--body); line-height: 1.5; }
.tr-steps .n { margin: 0; color: var(--brass); font-weight: 700; }

.tr-price .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.tr-price .wrap > div { flex: 1 1 480px; min-width: 0; }
.tr-price h2 { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 700; }
.tr-price p { margin: 12px 0 0; color: var(--dim); line-height: 1.55; }
.tr-more { font-weight: 600; font-size: 19px; }
