/* Priced Wisely Studios: the public site in the design kit's look (Price, 2026-11-17).
   kit/style.css and kit/pages.css are the kit's own files, unchanged. This file only adds what the kit does not have:
   the self-hosted kit fonts, the studio's pictures in kit frames, form fields, and a few small layout variants.
   Kit rules: slate-teal ink + lime action colour, one tangerine for "look here"; Bricolage Grotesque headings,
   Atkinson Hyperlegible body; radius 4 / 10 / 22. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/assets/fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

[hidden] { display: none !important; }
img { max-width: 100%; }
p a:not(.btn), section li a:not(.btn), small a, .fine a { color: var(--chalk); font-weight: 700; background: linear-gradient(var(--tang), var(--tang)) 0 100% / 100% 2px no-repeat; padding-bottom: 1px; transition: background-size .25s var(--ease-out), color .2s; }
p a:not(.btn):hover, section li a:not(.btn):hover, small a:hover, .fine a:hover { background-size: 100% 100%; color: var(--ink); }
img.ic { object-fit: contain; }
.brand__mark { border-radius: var(--r2); }
.foot__word img { border-radius: var(--r1); }
.btn { justify-content: center; }
.btn .mk { width: 22px; height: 22px; flex: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; filter: none; }

/* ---------- home hero card: the first game, on the kit's example-dashboard card ---------- */
.dash__mascot { border-radius: 50%; }
.dash__art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r2); margin: var(--s2) 0 0; }
.dash__big b { display: block; font: 800 28px/1.05 var(--display); letter-spacing: -.02em; color: var(--chalk); margin: 6px 0 4px; }
.dash__mini b { font-size: 20px; }

/* ---------- games: the kit's game card, plus a three-up grid for the map page ---------- */
.games--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game { grid-template-rows: auto 1fr; }
.game__art img { height: auto; aspect-ratio: 16 / 9; }
.games--3 .game__art img { aspect-ratio: 4 / 3; }
.game p { margin: 0; color: var(--mute); }
.game__open--dev { color: var(--tang); }
.game__open--dev i { background: var(--tang); }
.game .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: var(--s2) 0; }
.game .stats div { padding: 10px 12px; border-radius: var(--r2); background: var(--ink); }
.game .stats dt { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.game .stats dd { margin: 4px 0 0; font: 800 24px/1 var(--display); color: var(--lime); }
.slot { min-height: 260px; }
.slot img { width: 120px; margin: 0 auto var(--s2); border-radius: 50%; transition: transform .45s var(--ease-pop); }
.slot:hover img { transform: rotate(-10deg) scale(1.06); }
.slot p { margin: 6px auto 0; max-width: 30ch; }

/* ---------- facts: as many equal columns as are shown (a hidden fact takes no room), stacked on small screens.
   Inside a section the row drops the kit's own bottom margin, or it doubles the section's (Price, 2026-11-19 kit audit). ---------- */
.facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.band .facts { margin-bottom: 0; }
.facts--words .fact__n { font-size: 30px; letter-spacing: -.02em; }

/* ---------- photos on the kit's frames ---------- */
.frame__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.frame__pic--fill img { width: 88%; height: auto; border-radius: 50%; }
.frames--map .frame__pic { aspect-ratio: 16 / 10; }
.frames--map .frame { width: 46%; max-width: 260px; }
.frames--map .frame--b { left: 27%; }
.frames--map { height: 400px; }
.frames--map .frame--a { top: 90px; }
.frames--map .frame--c { left: 54%; top: 210px; }
.fine, .nostory .fine { margin: var(--s2) 0 0; font-size: 15px; color: var(--mute); }

/* ---------- steps track: four steps instead of six ---------- */
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- open jobs on the kit's rates menu (the kit's own columns, so rows line up with the head) ---------- */
.menu__price--words { justify-self: end; }

/* ---------- CTA band with a picture instead of a mascot ---------- */
.cta__pic { justify-self: center; width: 230px; padding: 12px 12px 44px; position: relative; background: var(--chalk); border-radius: var(--r1); box-shadow: 8px 8px 0 var(--lime-deep); transform: rotate(4deg); transition: transform .4s var(--ease-pop); }
.cta__pic:hover { transform: rotate(-3deg) scale(1.04); }
.cta__pic img { display: block; width: 100%; aspect-ratio: 316 / 380; object-fit: cover; border-radius: 2px; }
.cta__pic span { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center; font: 800 15px/1.2 var(--display); color: var(--ink); }
.cta .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: var(--s3) 0 0; font-weight: 700; font-size: 15px; }
.cta .who code { font: 800 15px/1 var(--display); padding: 8px 10px; border-radius: var(--r1); background: #10200a; color: var(--lime); user-select: all; }
.cta .who button { padding: 8px 12px; border-radius: var(--r1); border: 2px solid #10200a; font-weight: 700; font-size: 14px; transition: transform .1s, background .2s; }
.cta .who button:hover { background: rgba(16, 32, 10, .1); }
.cta .who button:active { transform: scale(.94); }
.cta p a { color: #10200a; background-image: linear-gradient(#10200a, #10200a); }
.cta p a:hover { color: var(--lime); }
.cta__mascot { border-radius: 50%; }

/* ---------- forms in the kit's look (the search box: ink field, tangerine focus) ---------- */
.form { display: grid; gap: var(--s3); padding: var(--s4); background: var(--ink-2); border: 2px solid var(--ink-3); border-radius: var(--r3); }
.field { display: grid; gap: 8px; }
.field > span { font: 800 18px/1.2 var(--display); letter-spacing: -.01em; color: var(--chalk); }
.form small { color: var(--mute); font: 400 14px/1.45 var(--body); }
.form small b { color: var(--chalk); }
.opt { margin-left: 6px; padding: 3px 6px; border: 2px solid var(--ink-3); border-radius: var(--r1); font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); vertical-align: 2px; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea {
  width: 100%; min-width: 0; height: 52px; padding: 0 14px; font: 400 16px/1.3 var(--body); color: var(--chalk);
  background: var(--ink); border: 2px solid var(--line); border-radius: var(--r2); transition: border-color .2s, box-shadow .2s;
}
.form textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8b0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
.form input::placeholder, .form textarea::placeholder { color: var(--mute); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--tang); box-shadow: 4px 4px 0 var(--tang-deep); }
.form .links { display: grid; gap: 8px; }
.form .more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r1); border: 2px solid var(--ink-3); font-weight: 700; font-size: 14px; color: var(--mute); transition: color .2s, border-color .2s, transform .1s; }
.form .more:hover { color: var(--chalk); border-color: var(--line); }
.form .more:active { transform: scale(.94); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form > label:not(.tick), .form .row2 > label { display: grid; gap: 8px; font: 800 17px/1.2 var(--display); color: var(--chalk); }
.drop { display: grid; place-items: center; gap: 4px; text-align: center; padding: var(--s3); border: 3px dashed var(--ink-3); border-radius: var(--r2); color: var(--mute); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.drop b { font: 800 18px/1.2 var(--display); color: var(--chalk); }
.drop .ic { width: 34px; height: 34px; color: var(--lime); transition: transform .45s var(--ease-pop); }
.drop:hover, .drop.on { border-color: var(--lime-deep); color: var(--chalk); background: rgba(111, 210, 26, .06); }
.drop:hover .ic { transform: rotate(90deg); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--r2); overflow: hidden; background: var(--ink-3); border: 2px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: var(--r1); background: var(--chalk); color: var(--ink); font: 800 16px/1 var(--display); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err { margin: 0; padding: 12px 14px; border-radius: var(--r2); background: rgba(255, 107, 87, .12); border-left: 4px solid #ff6b57; color: var(--chalk); font-weight: 700; }
.tick { font-family: var(--body); font-weight: 400; display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.4; color: #c7d4d8; cursor: pointer; }
.tick input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--lime); }

/* the apply page: form + a side card */
.applyx { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s4); align-items: start; padding-bottom: var(--s5); }
.applyx__side { position: sticky; top: 96px; display: grid; gap: var(--s3); }
.applyx__art { position: relative; justify-self: center; width: min(240px, 70%); }
.applyx__art img { width: 100%; display: block; border-radius: 50%; transform: rotate(-4deg); transition: transform .45s var(--ease-pop); cursor: pointer; }
.applyx__art img:hover { transform: rotate(2deg) scale(1.03); }
.applyx__art img.is-boing { animation: boing .6s var(--ease-out); }
.applyx__art .apply__time { left: -30px; bottom: 6%; }
.done { display: grid; gap: 12px; padding: var(--s4); border-radius: var(--r3); background: var(--chalk); color: var(--ink); box-shadow: 10px 10px 0 var(--ink-3); }
.done:focus { outline: 0; }
.done h2 { margin: 0; font: 800 clamp(30px, 4vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.done p { margin: 0; color: #556469; font-size: 18px; }
.done .stamp { justify-self: start; }

/* ---------- policies page extras ---------- */
.pol .lead-in { color: #c7d4d8; max-width: 66ch; margin: 0 0 var(--s4); padding-bottom: var(--s4); border-bottom: 2px solid var(--ink-3); font-size: 18px; }
.pol h3 { margin: var(--s3) 0 6px; font: 800 21px/1.2 var(--display); letter-spacing: -.01em; color: var(--chalk); }
.pol section li b { color: var(--chalk); }
.pol h2 img.ic { width: 46px; height: 46px; margin: -6px 0; }

/* ---------- FAQ with native details (works without JavaScript) ---------- */
.qa summary { list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa[open]::before { transform: scaleY(1); }
.qa[open] .qa__n { color: var(--lime); }
.qa[open] .qa__pm { background: var(--lime); color: #10200a; transform: rotate(45deg); }
.qa__body { padding: 0 0 var(--s2) 42px; }
.qa__body p { margin: 0 0 var(--s2); max-width: 62ch; color: #c7d4d8; }
.qa__t { font-size: 21px; }

/* ---------- the lost page ---------- */
.lost { display: grid; justify-items: start; gap: var(--s3); padding: var(--s5) 0; }
.lost img { width: 180px; border-radius: 50%; transform: rotate(-6deg); }
.lost h1 { margin: 0; font: 800 clamp(48px, 8vw, 100px)/.9 var(--display); letter-spacing: -.045em; }
.lost p { margin: 0; font-size: 20px; color: #c7d4d8; max-width: 40ch; }

@media (max-width: 960px) {
  .games--3 { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .applyx { grid-template-columns: 1fr; }
  .applyx__side { position: static; }
  .facts { grid-auto-flow: row; grid-template-columns: 1fr; }
  .fact, .fact + .fact, .fact:nth-child(3) { padding: var(--s2) 0; border-left: 0; }
  .fact + .fact { border-top: 2px solid var(--ink-3); }
}
@media (max-width: 820px) {
  .cta__pic { width: 170px; justify-self: end; margin-top: -10px; }
  .cta__pic span { font-size: 12px; }
}
@media (max-width: 560px) {
  .form { padding: var(--s3) var(--s2); }
  .form .row2 { grid-template-columns: 1fr; }
  .menu__price--words { justify-self: start; }
  .game .stats dd { font-size: 20px; }
  .qa__body { padding-left: 0; }
  .qa__t { font-size: 18px; }
  .frames--map { height: 270px; }
  .frames--map .frame--a { top: 50px; }
  .frames--map .frame--c { top: 130px; }
  .done { padding: var(--s3); }
  .applyx__art .apply__time { left: -10px; }
}

/* section heading outside a sec-head grid */
.sec-h2 { margin: 0 0 var(--s2); font: 800 clamp(32px, 4.4vw, 52px)/.98 var(--display); letter-spacing: -.035em; max-width: 14ch; }
.sec-p { margin: 0 0 var(--s3); color: var(--mute); font-size: 18px; max-width: 40ch; }
figure.frame { margin: 0; }
.dash__art, .slot img, .cta__pic img, .applyx__art img, .lost img, .cta__mascot, .dash__mascot { height: auto; }

/* the longer ribbon on the map jobs page: one step down the kit's ribbon size so each item stays on one line */
.ribbon--long { font-size: clamp(22px, 2.3vw, 28px); }
@media (min-width: 1100px) { .ribbon--long span { white-space: nowrap; } }

/* a link line inside a kit card: bold words + arrow on one line; the arrow nudges on hover */
.go, .tile p.go { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; color: var(--chalk); }
.go .ic, .tile .go .ic { width: 18px; height: 18px; margin: 0; transition: transform .3s var(--ease-pop); }
a:hover .go .ic, .tile:hover .go .ic { transform: translateX(4px); }

/* header on a 390px phone: the brand name and the header button each stay on one line, like the kit's header */
.brand__word, .bar .btn { white-space: nowrap; }
@media (max-width: 400px) { .bar .btn--sm { padding-left: 12px; padding-right: 12px; } }

/* ---------- UX 10/10 pass (Price, 2026-11-19): bigger tap targets, a clear "sent" answer, a way on from the lost page,
   and a red edge on the field that needs fixing. Kit tokens only. ---------- */
.cta .who button { min-height: 44px; min-width: 64px; }
.form-ok { display: block; padding: var(--s2); border-radius: var(--r2); border: 2px solid var(--lime); color: var(--chalk) !important; font-size: 16px !important; font-weight: 700; }
.lost .lost__more { font-size: 16px; color: var(--mute); }
.lost .lost__more a { margin: 0 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .links input[aria-invalid="true"] { border-color: #ff6b57; box-shadow: 0 0 0 3px rgba(255, 107, 87, .25); }
.done .done__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.done .done__go p { margin: 0; }
/* The header button's short name on narrow phones, so the logo words still fit beside it. */
.bar .lbl-short { display: none; }
@media (max-width: 430px) { .bar .lbl-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .bar .lbl-short { display: inline; } }
.field-err { margin-top: 8px; }
.done .done__go p a { color: var(--ink); }
