/* Squishables site: the 2026-09 brand (Pixelify Sans headlines, Fredoka body, ink outlines,
   honey swash on one keyword, a grass-and-soil strip at the bottom). Palette from
   Tools/Brand/brandkit.py in the Unity repo. */
@font-face {
  font-family: "Pixelify Sans";
  src: url("/squishables/fonts/PixelifySans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("/squishables/fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --parchment: #fff8ea;
  --cream: #fff1c9;
  --card: #fffbf2;
  --ink: #1a1512;
  --ink-text: #2a1e16;
  --muted: #6b5646;
  --honey: #f6c445;
  --swash: #ffd45a;
  --key: #e0492a;
  --tangerine: #f5a13a;
  --meadow: #4dbe79;
  --meadow-ink: #23784a;
  --sky: #6fc4f2;
  --sky-soft: #e3f3fc;
  --bubblegum: #e872ae;
  --soil: #7a4b2c;
  --line: #e7cf9f;
  --shadow: 0 5px 0 var(--ink);
  --radius: 18px;
  --maxw: 1120px;
  --display: "Pixelify Sans", ui-monospace, monospace;
  --body: "Fredoka", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink-text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--meadow-ink); text-underline-offset: 3px; font-weight: 500; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--key); outline-offset: 4px; }
.pixelated { image-rendering: pixelated; image-rendering: crisp-edges; }
.shell { width: min(var(--maxw), calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* header and footer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 234, .95); border-bottom: 3px solid var(--ink); backdrop-filter: blur(6px); }
.header-row, .footer-row { width: min(var(--maxw), calc(100% - 2rem)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand-home { white-space: nowrap; display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font: 700 1.15rem var(--display); text-decoration: none; }
.brand-home img { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--ink); }
.site-nav, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; }
.site-nav a, .footer-links a { color: var(--ink-text); text-decoration: none; font: 600 1rem var(--body); }
.site-nav a:hover, .footer-links a:hover, .site-nav a[aria-current="page"] { color: var(--key); }
.ground { height: 104px; margin-top: 4rem; background: url("/squishables/img/ground-strip.png") repeat-x 0 0 / 600px 104px; image-rendering: pixelated; }
.site-footer { background: #5e3820; color: #f6e3c8; padding: 1.1rem 0 2rem; }
.site-footer a { color: #fff1c9; }
.site-footer .brand-home { color: #fff1c9; }
.copyright { width: min(var(--maxw), calc(100% - 2rem)); margin: .4rem auto 0; color: #e0c7a6; font-size: .86rem; }

/* type */
.kicker { margin: 0 0 .7rem; color: var(--meadow-ink); font: 700 1.05rem var(--display); letter-spacing: .06em; text-transform: uppercase; }
.wordmark-image { width: 366px; height: auto; margin: 0 0 1.1rem -6px; }
h1, h2, h3 { color: var(--ink-text); }
.hero h1, .page-title { margin: 0 0 1rem; font: 700 clamp(2.6rem, 6.4vw, 4.6rem)/1.02 var(--display); letter-spacing: -.01em; }
.swash { position: relative; z-index: 0; color: var(--key); white-space: nowrap; }
.swash::before { content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; top: .5em; bottom: .02em; background: var(--swash); }
.lede { max-width: 34rem; margin: 0 0 1.3rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-text); }

/* buttons and store badges */
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin: 1.4rem 0 1rem; }
.key, .key-secondary { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); background: var(--honey); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: .62rem 1.1rem; font: 700 1.05rem var(--body); text-decoration: none; }
.key:hover, .key-secondary:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.key-secondary { background: var(--card); }
.store-badge { display: inline-flex; align-items: center; gap: .65rem; min-width: 190px; padding: .55rem 1.05rem .55rem .85rem; color: #fff; background: var(--ink); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 #5e3820; text-decoration: none; line-height: 1.1; }
.store-badge:hover { color: #fff; transform: translateY(2px); box-shadow: 0 3px 0 #5e3820; }
.store-badge svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store-badge small { display: block; font: 500 .72rem var(--body); letter-spacing: .02em; opacity: .85; }
.store-badge b { display: block; font: 600 1.15rem var(--body); }
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.play-badge img { height: 78px; width: auto; margin: -10px 0; }
.short { margin: 0; color: var(--muted); font-size: .95rem; }

/* panels */
.panel { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }

/* hero */
.hero { overflow-x: clip; padding: clamp(2.8rem, 7vw, 5.5rem) 0 2rem; background: linear-gradient(180deg, #ceecff 0%, #fff0d6 62%, var(--parchment) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-farm { margin: 0; padding: 8px; overflow: hidden; }
.hero-farm img { width: 100%; height: auto; border-radius: 11px; }
.hero-farm figcaption { padding: .55rem .3rem .2rem; text-align: center; font: 700 .98rem var(--display); color: var(--muted); }
.hero-pet { position: absolute; width: 102px; height: auto; filter: drop-shadow(0 4px 0 rgba(26, 21, 18, .18)); }
.hero-pet.left { left: -46px; bottom: 64px; }
.hero-pet.right { right: -30px; top: -34px; width: 92px; }

/* sections */
.section { padding: 4.2rem 0; }
.section + .section { border-top: 3px dashed var(--line); }
.section-head { max-width: 700px; margin: 0 auto 2.2rem; text-align: center; }
.section-head h2 { margin: 0 0 .6rem; font: 700 clamp(2rem, 4.6vw, 3rem)/1.05 var(--display); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature { padding: 1.3rem 1.3rem 1.4rem; }
.feature img.pet { width: 80px; height: auto; margin: 0 0 .7rem; }
.feature h3 { margin: 0 0 .35rem; font: 700 1.45rem/1.1 var(--display); }
.feature p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; padding: 8px; }
.split figure img { width: 100%; height: auto; border-radius: 11px; }
.split h2 { margin: 0 0 .7rem; font: 700 clamp(1.9rem, 4vw, 2.7rem)/1.05 var(--display); }
.split p { margin: 0 0 .9rem; }
.ticks { margin: .3rem 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: .85rem; height: .85rem; background: var(--meadow); border: 2px solid var(--ink); border-radius: 4px; }
.species-strip { margin: 2rem auto 0; padding: 10px; max-width: 980px; }
.species-strip img { width: 100%; height: auto; border-radius: 10px; }
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.shots-grid .panel { margin: 0; padding: 5px; overflow: hidden; background: var(--cream); }
.shots-grid img { width: 100%; height: auto; border-radius: 12px; }
.web-play { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; padding: 1.4rem 1.6rem; background: var(--sky-soft); }
.web-play img { width: 92px; height: auto; }
.web-play h3 { margin: 0 0 .25rem; font: 700 1.5rem var(--display); }
.web-play p { margin: 0; color: var(--muted); }
.closing { padding: 3.5rem 0 0; text-align: center; }
.closing h2 { margin: 0 0 .7rem; font: 700 clamp(2rem, 5vw, 3rem) var(--display); }
.closing .lede { margin-inline: auto; }
.closing .cta-row { justify-content: center; }

/* press, support, legal */
.press-shell, .legal-shell { width: min(1080px, calc(100% - 2rem)); margin-inline: auto; padding: 3.2rem 0 1rem; }
.legal-shell { width: min(800px, calc(100% - 2rem)); }
.press-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.press-hero-art { margin: 0; }
.press-hero-art img { width: 272px; height: auto; }
.kicker-icon { display: inline-block; vertical-align: middle; width: 40px; height: 40px; margin-right: .55rem; border-radius: 10px; border: 2px solid var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding: .9rem 1.1rem; margin: 2rem 0 0; border: 3px dashed var(--line); border-radius: 14px; }
.toc a { text-decoration: none; }
.press-shell > section, .legal-shell > section { margin-top: 3rem; }
.press-shell > section > h2, .legal-shell h2.group { margin: 0 0 .7rem; font: 700 2.1rem/1.05 var(--display); }
.press-shell h3 { margin: 1.3rem 0 .35rem; font: 700 1.3rem/1.1 var(--display); }
.card-pad { padding: clamp(1.1rem, 3vw, 2rem); }
.card-pad > :first-child { margin-top: 0; }
.card-pad p { margin: 0 0 1rem; }
.card-pad ul { padding-left: 1.3rem; }
.card-pad li { margin-bottom: .4rem; }
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { border: 2px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.fact-table th { width: 30%; background: var(--cream); font: 700 1rem var(--display); }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.asset { display: flex; flex-direction: column; overflow: hidden; }
.asset .thumb { min-height: 190px; display: grid; place-items: center; padding: .9rem; background: var(--parchment); }
.asset .thumb.dark { background: #2a1e16; }
.asset .thumb.sky { background: linear-gradient(180deg, #ceecff, #fff0d6); }
.asset .thumb.flush { padding: 0; min-height: 0; }
.asset .thumb.flush img { width: 100%; height: auto; max-height: none; }
.asset .thumb img { max-height: 260px; width: auto; height: auto; }
.asset .thumb img.icon { width: 170px; border-radius: 22%; border: 3px solid var(--ink); }
.asset .meta { display: flex; flex-wrap: wrap; gap: .3rem .85rem; align-items: baseline; padding: .65rem .85rem; border-top: 3px solid var(--ink); font: 700 1rem var(--display); }
.asset .meta a { font: 600 .95rem var(--body); }
.crew-grid { grid-template-columns: repeat(4, 1fr); }
.crew-grid .thumb { min-height: 0; }
.crew-grid .thumb img { max-height: 150px; }
.asset-span2 { grid-column: span 2; }
.asset-span3 { grid-column: 1 / -1; }
.asset-guide .thumb.flush { max-height: 520px; overflow: hidden; align-items: start; }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 1.3rem 0 .6rem; }
.swatch { display: inline-flex; align-items: center; gap: .45rem; font: 600 .98rem var(--body); }
.swatch i { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 7px; display: inline-block; }
.shots-press a { display: block; }
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { position: relative; cursor: pointer; padding: 1rem 3rem 1rem 1.15rem; list-style: none; font: 600 1.08rem var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .7rem; font: 700 1.5rem var(--display); color: var(--key); }
.faq details[open] summary::after { content: "–"; }
.answer { padding: 0 1.15rem 1rem; }
.answer p { margin: 0 0 .7rem; }
.contact-card { padding: 1.4rem 1.5rem; margin: 2.2rem 0 0; background: var(--swash); }
.contact-card h2 { margin: 0 0 .4rem; font: 700 1.6rem var(--display); }
.contact-card p { margin: 0; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-copy { max-width: 100%; text-align: center; }
  .wordmark-image, .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-art { width: min(100%, 360px); }
  .feature-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-grid { grid-template-columns: 1fr 1fr; }
  .press-hero { grid-template-columns: 1fr; text-align: center; }
  .press-hero .wordmark-image, .press-hero .lede { margin-inline: auto; }
  .press-hero-art img { width: 204px; margin: 0 auto; }
  .web-play { grid-template-columns: auto minmax(0, 1fr); }
  .web-play .key { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wordmark-image { width: 260px; }
  .site-nav { gap: .2rem .7rem; }
  .site-nav a { font-size: .92rem; }
  .site-nav .hide-sm { display: none; }
  .press-hero-art img { width: 136px; }
  .asset-grid.crew-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .crew-grid .thumb { min-height: 0; padding: .6rem; }
  .crew-grid .thumb img { max-height: 110px; }
  .crew-grid .meta { padding: .5rem .55rem; gap: .2rem .55rem; font-size: .92rem; }
  .hero-pet { width: 74px; }
  .hero-pet.left { left: -14px; bottom: 54px; }
  .hero-pet.right { right: -8px; top: -26px; width: 66px; }
  .shots-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 215px; overflow-x: auto; padding: 0 .25rem .9rem; scroll-snap-type: x mandatory; }
  .shots-grid > * { scroll-snap-align: start; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-span2 { grid-column: auto; }
  .store-badge { min-width: 0; }
  .web-play { grid-template-columns: 1fr; text-align: center; }
  .web-play img { margin: 0 auto; }
  .web-play .key { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
