/* site.css - the HOMES website: the fan page, the artist page and the small
 * pages beside them. Plain CSS, no build step.
 *
 * The palette, the panel and the button plate are the house's, copied from
 * the dashboard's styles-v2.css (itself from the room's hp-panel.css
 * and shell.css). Values copied, not retyped. Press Start 2P stays on the
 * 8px grid (8, 16, 24, 32): it blurs anywhere else.
 * Style: hyphens, never em dashes.
 */

@font-face {
  font-family: 'HP Press Start 2P';
  src: url('../fonts/press-start-2p-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'HP Pixelify Sans';
  src: url('../fonts/pixelify-sans-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --u: 4px;

  /* the popup panel */
  --hp-border:      #1E211C;
  --hp-ivory:       #F6EED2;
  --hp-ivory-low:   #E7DCB6;
  --hp-rule:        #5A4C3D;
  --hp-bright:      #F8F3E5;
  --hp-paper:       #EEE3D0;
  --hp-paper-edge:  rgba(122,100,66,.18);
  --hp-rivet:       #C39A61;
  --hp-rivet-lit:   #E0BE8B;
  --hp-rivet-dark:  #6E5432;
  --hp-ink:         #1A1D18;
  --hp-ink-soft:    #3B3A33;
  --hp-muted:       #6E6656;
  --hp-link:        #5A6350;
  --hp-btn-label:   #F4F2EA;
  --hp-green:       #394637;
  --hp-green-edge:  #808C6C;
  --hp-green-dip:   #303D2D;
  --hp-green-foot:  #4D5746;
  --hp-green-line:  rgba(255,255,255,.055);
  --hp-green-brd:   #20271C;
  --hp-green-shade: #171C16;
  --hp-gold:        #B8985C;
  --hp-error:       #8A2B1E;
  --hp-field-line:  #8C7F6B;
  --hp-field:       #F5F0E5;

  /* the corner plate */
  --plate-band:     #D8B25E;
  --plate-face:     #1A1611;
  --plate-lit:      #54442A;
  --plate-low:      #100D0A;
  --plate-ink:      #F3EAD6;
  --plate-ink-soft: #BFAF8F;
  --plate-band-hi:  #F6CB6B;

  /* the page: the dashboard's desk green */
  --desk:     #394637;
  --desk-low: #2F3B2D;
  --desk-ink: #F3EAD6;
  --lamp-green: #6CC04A;
  --lamp-red:   #E0533D;
  --lamp-orange: #F2902E;

  --font:       'HP Pixelify Sans', ui-monospace, monospace;
  --font-title: 'HP Press Start 2P', ui-monospace, monospace;

  /* Stepped chamfer: whole art pixels, and every nested layer the same cut
     so the bands mitre cleanly (hp-panel.css). */
  --chamfer: polygon(
    calc(2*var(--u)) 0, calc(100% - 2*var(--u)) 0,
    calc(100% - 2*var(--u)) var(--u), calc(100% - var(--u)) var(--u),
    calc(100% - var(--u)) calc(2*var(--u)), 100% calc(2*var(--u)),
    100% calc(100% - 2*var(--u)), calc(100% - var(--u)) calc(100% - 2*var(--u)),
    calc(100% - var(--u)) calc(100% - var(--u)), calc(100% - 2*var(--u)) calc(100% - var(--u)),
    calc(100% - 2*var(--u)) 100%, calc(2*var(--u)) 100%,
    calc(2*var(--u)) calc(100% - var(--u)), var(--u) calc(100% - var(--u)),
    var(--u) calc(100% - 2*var(--u)), 0 calc(100% - 2*var(--u)),
    0 calc(2*var(--u)), var(--u) calc(2*var(--u)),
    var(--u) var(--u), calc(2*var(--u)) var(--u));
  --chamfer-sm: polygon(
    var(--u) 0, calc(100% - var(--u)) 0,
    100% var(--u), 100% calc(100% - var(--u)),
    calc(100% - var(--u)) 100%, var(--u) 100%,
    0 calc(100% - var(--u)), 0 var(--u));

  --paper-grain: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEFElEQVR4nL1ZzXkdMQhUDT6koJTiKtJzOsgluVj59NgBZkY8c3nWLgKWf/Baa62/f37/WGutX58/P9YX7L/P3/P9voMg4lW4iLYLJx/0TRJ0F/f7/YHnWaFzQqUshk6FcyrkIet+eApQWRsJue9HPESHEdSBKU96EEXPGUG3QpFrItwb4RXFvfDJXPeGgQvIA6NSGGVm+BGgIrIzExroWXTLjA8bFjHnVPgd7Suj7piPCuncmGWa0emqEwMvMkxo50yAtMslz508gBLwfk7Ryy4zzJWYRAJVZVN10UwRMnSWUpgwjRAbs52sjsIgsy7BMIzY0KryhhoObPP2Fsg+zLVmpFPx6mhk7/57gJt4FOYOIIG7D1Rb7xmkAtfNG6wcjNujRHudLLs8wTZW2Rk9myjZD1xUg+2+OmGWDVlZ1ldiPsNTh7kH8+zS5MzAzuzntFrxg6MuI+dEKWJ6/GoS7OhU966T71vrY+CxlR07yCyDs4Y5PdSqFK6lKxwmGbKgWNvpKFOG7BndVzK9ErPv2ihBmAqPLrmqkCnElvdGczezAYufZfvzfaXcEc+IceiO0arFviNJt0xHEssXTJSvUx7VELAHiFatMnnGgG1oEH6X5KxZfwImZvUJS99C9j+K52H5/2CI1mWU56y2FaO0kx/KlPGXSVpKXDMrdvZ8U10ed6NAHfGrTSwQwA23Kn+0HqaskKpa3CUu5IqoCxyv3YV8JRKzNblJUBXt3dTcrOs7oOnEUHA2OyyMjbcCr8UydCsDouPcU/aE3TtKqBtB4ypMSZadFyg56xqYDc5mzO7qnRKoyufilZk64rHE3bjOmrOqKVKT9svZmfDcSc7Z7qD7DLBenL5gBEA7PaYhYRocpxnrgPJG1F11S4nJDK/QuxrMVA07u7lul8B2gspswsjVvkCCM0mvqwqdxdnpjw2rUp5Mm0wr3Al4A+xUWSmH7v/ZGs7eYWnd0FAaInR+adDeYUHGAmdtrywZ84Iib1Zyx755vBsDcHpczBPoHbpfnaFWs+2QM6+fAk7OHYg+g0fx/Y6RdIM71SGjIUNl+BKzSKBKhEzsl4KQ8LbJkOnfu0WJ2iQ5Mqk0VNyWAFOSEKhZ/cRhFYvO8G5l7ZtGyAmRbvCqlBDfZRukshVGlxlluJNe9zHdczXXpI3YxPp5YsOTweR6fC2y/KntbjewTGR+1PxkOKqcLSjbm6xZmip/3YY4hq3E13E310Wd0jYdDmNLSwVP3TGi0tsNObKiUIlxXdYW4oIX6zFp/tg1ktn4WH32cZ+Z1x265y8CqXFTk1ec9LLJD/Hpmhf0jt01oDtwHK7O3SYH4btbIygg4MHcGcF3R9WMkboWUwed0/JVSJfhrrScVQe4n1XZPXP/rtYrUFWKfxSe9uREyRGNAAAAAElFTkSuQmCC");
  /* One 5x5 rivet, drawn as art pixels: ring, face, lit corner. */
  --rivet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Cpath fill='%236E5432' d='M1 0h3v1h1v3h-1v1h-3v-1h-1v-3h1z'/%3E%3Cpath fill='%23C39A61' d='M1 1h3v3h-3z'/%3E%3Cpath fill='%23E0BE8B' d='M1 1h2v1h-1v1h-1z'/%3E%3C/svg%3E");
}
@media (max-width: 620px) { :root { --u: 3px; } }
@media (max-width: 400px) { :root { --u: 2px; } }

/* ── page ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--hp-ink);
  background-color: var(--desk);
  /* a quiet two-tone pixel check, the desk under the cards */
  background-image:
    linear-gradient(45deg, var(--desk-low) 25%, transparent 25%, transparent 75%, var(--desk-low) 75%),
    linear-gradient(45deg, var(--desk-low) 25%, transparent 25%, transparent 75%, var(--desk-low) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  overflow-x: hidden;
}
body.pop-open { overflow: hidden; }
img { max-width: 100%; }
.px-art { image-rendering: pixelated; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 620px) { .wrap { padding: 0 16px; } }

.t-title {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

/* ── top bar: the corner plate as a strip ─────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--plate-face);
  box-shadow: inset 0 -4px 0 var(--plate-lit), 0 4px 0 rgba(0,0,0,.35);   /* pale, not gold (23 October 2026) */
  color: var(--plate-ink);
}
.topbar .wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding-top: 8px; padding-bottom: 12px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--plate-ink);
  font-family: var(--font-title); font-size: 24px; line-height: 1;
  text-shadow: 0 4px 0 var(--plate-low);
}
.wordmark svg { width: 32px; height: 32px; flex: none; }
.wordmark:hover { color: var(--plate-band-hi); }

/* For fans / For artists */
.switch {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--plate-low);
  box-shadow: inset 0 0 0 2px var(--plate-lit);
  clip-path: var(--chamfer-sm);
}
.switch a {
  display: block; padding: 8px 12px 6px;
  font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1;
  color: var(--plate-ink-soft); text-decoration: none;
  clip-path: var(--chamfer-sm);
}
.switch a:hover { color: var(--plate-ink); }
.switch a[aria-current="page"] {
  background: var(--plate-band); color: var(--plate-face);
  box-shadow: inset 0 -3px 0 #A8873F;
}
.topbar .spacer { flex: 1; }

/* HOMES for artists: the one site is for artists and managers (23 October
   2026). The words in DM Mono, memerecords.co's terminal font. */
@font-face { font-family: 'HP DM Mono'; src: url('../fonts/dm-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HP DM Mono'; src: url('../fonts/dm-mono-500-latin.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }
.home-for {
  font-family: 'HP DM Mono', 'Menlo', ui-monospace, monospace;
  font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: .04em;
  color: var(--plate-ink-soft); text-shadow: none;
}
@media (max-width: 720px) { .home-for { font-size: 12px; } }
/* a phone has no room for it beside the button */
@media (max-width: 420px) { .home-for { display: none; } }

@media (max-width: 720px) {
  .topbar .wrap { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-top: 10px; }
  .wordmark { font-size: 16px; }
  .wordmark svg { width: 24px; height: 24px; }
  .topbar .switch { order: 3; }
  .topbar .spacer { display: none; }
  .topbar .btn-launch { margin-left: auto; }
}
@media (max-width: 400px) {
  .switch a { font-size: 14px; padding: 7px 9px 5px; }
}

/* ── buttons: the house plate ─────────────────────────────────────────── */
.btn {
  position: relative; display: inline-block;
  padding: var(--u); border: 0; margin: 0;
  background: var(--hp-green-brd);
  clip-path: var(--chamfer);
  cursor: pointer; text-decoration: none;
  filter: drop-shadow(0 var(--u) 0 var(--hp-green-shade));
  vertical-align: middle;
}
.btn-face {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: calc(13 * var(--u));
  padding: calc(2 * var(--u) + 2px) calc(6 * var(--u)) calc(1 * var(--u));
  background:
    linear-gradient(180deg, var(--hp-green-edge) 0 var(--u), var(--hp-green-dip) var(--u) calc(2 * var(--u)), transparent calc(2 * var(--u))),
    linear-gradient(0deg, var(--hp-green-foot) 0 var(--u), transparent var(--u)),
    var(--hp-green);
  clip-path: var(--chamfer);
  font-family: var(--font); font-weight: 700; font-size: 20px; line-height: 1;
  color: var(--hp-btn-label);
  text-shadow: 0 2px 0 rgba(15,20,14,.45);
  white-space: nowrap;
}
.btn-face::after {       /* four gold rivets */
  content: ""; position: absolute; inset: calc(2 * var(--u));
  background-image: linear-gradient(var(--hp-gold), var(--hp-gold)), linear-gradient(var(--hp-gold), var(--hp-gold)),
                    linear-gradient(var(--hp-gold), var(--hp-gold)), linear-gradient(var(--hp-gold), var(--hp-gold));
  background-size: var(--u) var(--u); background-repeat: no-repeat;
  background-position: left top, right top, left bottom, right bottom;
  pointer-events: none;
}
.btn:hover .btn-face {
  background:
    linear-gradient(180deg, #94A07E 0 var(--u), #384633 var(--u) calc(2 * var(--u)), transparent calc(2 * var(--u))),
    linear-gradient(0deg, #59654F 0 var(--u), transparent var(--u)),
    #42503F;
}
.btn:active { transform: translateY(var(--u)); filter: none; }
.btn:focus-visible { outline: none; }
.btn:focus-visible .btn-face { box-shadow: inset 0 0 0 var(--u) var(--hp-ivory); }
.btn[disabled] { filter: none; cursor: not-allowed; }
.btn[disabled] .btn-face { filter: grayscale(1) contrast(.7) brightness(1.1); }

/* the gold one: Launch HOMES */
.btn-gold { background: #5E4A22; filter: drop-shadow(0 var(--u) 0 #2A2010); }
.btn-gold .btn-face {
  background:
    linear-gradient(180deg, #FBE3A6 0 var(--u), #C9A24F var(--u) calc(2 * var(--u)), transparent calc(2 * var(--u))),
    linear-gradient(0deg, #B08A3E 0 var(--u), transparent var(--u)),
    var(--plate-band);
  color: var(--plate-face); text-shadow: 0 2px 0 rgba(255,240,200,.45);
}
.btn-gold .btn-face::after { background-image: linear-gradient(#7A5F2A,#7A5F2A), linear-gradient(#7A5F2A,#7A5F2A), linear-gradient(#7A5F2A,#7A5F2A), linear-gradient(#7A5F2A,#7A5F2A); }
.btn-gold:hover .btn-face {
  background:
    linear-gradient(180deg, #FFF0C4 0 var(--u), #D6B060 var(--u) calc(2 * var(--u)), transparent calc(2 * var(--u))),
    linear-gradient(0deg, #BD9748 0 var(--u), transparent var(--u)),
    var(--plate-band-hi);
}

/* the paper one: second choice */
.btn-paper { background: var(--hp-rule); filter: drop-shadow(0 var(--u) 0 rgba(40,32,22,.45)); }
.btn-paper .btn-face {
  background: linear-gradient(180deg, var(--hp-bright) 0 var(--u), transparent var(--u)), var(--hp-ivory);
  color: var(--hp-ink); text-shadow: none;
}
.btn-paper .btn-face::after { background-image: linear-gradient(var(--hp-rivet),var(--hp-rivet)), linear-gradient(var(--hp-rivet),var(--hp-rivet)), linear-gradient(var(--hp-rivet),var(--hp-rivet)), linear-gradient(var(--hp-rivet),var(--hp-rivet)); }
.btn-paper:hover .btn-face { background: var(--hp-bright); }
.btn-sm .btn-face { min-height: calc(10 * var(--u)); font-size: 16px; padding-left: calc(4 * var(--u)); padding-right: calc(4 * var(--u)); }
.btn-launch .btn-face { font-size: 18px; }
@media (max-width: 400px) { .btn-launch .btn-face { font-size: 15px; padding-left: 12px; padding-right: 12px; } }

.link {
  font-weight: 700; color: var(--hp-link);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link:hover { color: var(--hp-ink); }

/* ── the panel: the house frame in three layers ───────────────────────── */
.px {
  position: relative;
  padding: calc(2 * var(--u));
  background: var(--hp-border);
  clip-path: var(--chamfer);
}
.px-in {
  height: 100%;
  padding: calc(2 * var(--u));
  background: linear-gradient(180deg, var(--hp-ivory) 0%, var(--hp-ivory) 62%, var(--hp-ivory-low) 100%);
  clip-path: var(--chamfer);
}
.px-paper {
  position: relative; height: 100%;
  background-color: var(--hp-paper);
  background-image: var(--rivet), var(--rivet), var(--rivet), var(--rivet), var(--paper-grain);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: calc(5*var(--u)) calc(5*var(--u)), calc(5*var(--u)) calc(5*var(--u)), calc(5*var(--u)) calc(5*var(--u)), calc(5*var(--u)) calc(5*var(--u)), calc(16*var(--u)) calc(16*var(--u));
  background-position: calc(2*var(--u)) calc(2*var(--u)), calc(100% - 2*var(--u)) calc(2*var(--u)), calc(2*var(--u)) calc(100% - 2*var(--u)), calc(100% - 2*var(--u)) calc(100% - 2*var(--u)), 0 0;
  box-shadow:
    inset 0 0 0 var(--u) var(--hp-rule),
    inset 0 0 0 calc(2 * var(--u)) var(--hp-bright),
    inset 0 0 calc(10 * var(--u)) var(--hp-paper-edge);
  clip-path: var(--chamfer);
  padding: calc(7 * var(--u));
}
.px-drop { filter: drop-shadow(0 calc(1.5 * var(--u)) 0 rgba(8,10,7,.45)); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 24px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px; align-items: stretch;
}
.kicker {
  display: inline-block; align-self: flex-start;
  margin: 0 0 16px; padding: 6px 10px 4px;
  background: var(--hp-green); color: var(--hp-btn-label);
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .04em;
  clip-path: var(--chamfer-sm);
}
.hero h1 { margin: 0; font-size: 32px; line-height: 1.5; }
.hero h1 em { font-style: normal; color: var(--hp-green); }
.hero p.lede { margin: 20px 0 0; font-size: 21px; line-height: 1.45; color: var(--hp-ink-soft); max-width: 34em; }
.hero .facts { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 700; font-size: 16px; color: var(--hp-muted); }
.hero .facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--plate-band); vertical-align: 2px; }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 16px; align-items: center; }

/* the window onto Frank's HOME */
.home-window {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  animation: bob 3.2s steps(2, jump-none) infinite;
}
.home-window .px-paper { padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u)); }
.win-bar {
  display: flex; align-items: center; gap: 10px;
  margin: calc(-1 * var(--u)) 0 calc(3 * var(--u));
  font-weight: 700; font-size: 16px; line-height: 1; color: var(--hp-ink-soft);
}
.win-bar .dots { display: inline-flex; gap: 6px; }
.win-bar .dots i { width: 10px; height: 10px; display: block; background: var(--hp-rule); }
.win-bar .dots i:first-child { background: var(--lamp-red); }
.win-bar .grow { flex: 1; }
.screen {
  position: relative; overflow: hidden;
  background: #000;
  clip-path: var(--chamfer-sm);
  box-shadow: inset 0 0 0 var(--u) var(--hp-border);
}
.screen img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.screen .tap {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  padding: 8px 12px 6px;
  background: var(--plate-face); color: var(--plate-ink);
  box-shadow: inset 0 0 0 3px var(--plate-band);
  font-weight: 700; font-size: 17px; line-height: 1; white-space: nowrap;
  clip-path: var(--chamfer-sm);
  animation: blink 1.2s steps(1) infinite;
}
.home-window:hover .screen img { filter: brightness(1.08); }
.home-window:focus-visible { outline: 4px solid var(--plate-band); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
}
@media (max-width: 620px) {
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 16px; line-height: 1.7; }
  .hero p.lede { font-size: 19px; }
  .hero .actions { gap: 12px; }
}

/* a few pixel sparks drifting over the desk */
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparks i {
  position: absolute; width: 8px; height: 8px; background: var(--plate-band);
  opacity: 0; animation: spark 6s steps(6) infinite;
}
.hero-grid { position: relative; z-index: 1; }

/* ── section heads ────────────────────────────────────────────────────── */
.section { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 20px; flex-wrap: wrap; }
.section-head h2 {
  margin: 0; color: var(--desk-ink);
  font-family: var(--font-title); font-weight: 400; font-size: 24px; line-height: 1.4;
  text-shadow: 0 4px 0 var(--hp-green-shade);
}
.section-head p { margin: 6px 0 0; color: #CFD6C0; font-size: 18px; font-weight: 600; max-width: 40em; }
@media (max-width: 620px) { .section-head h2 { font-size: 16px; } }

/* ── cards: pictures first ────────────────────────────────────────────── */
.cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards.four { grid-template-columns: 1fr; gap: 20px; } }

.card {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; text-decoration: none; color: inherit;
  transition: transform 90ms steps(2);
}
.card .px { height: 100%; }
.card .px-paper { display: flex; flex-direction: column; padding: calc(8 * var(--u)); }
.card:hover { transform: translateY(-6px); }
.card:active { transform: translateY(0); }
.card:focus-visible { outline: 4px solid var(--plate-band); outline-offset: 4px; }
.card-pic {
  position: relative; overflow: hidden;
  height: 188px; margin: 0 0 16px;
  display: flex; align-items: center; justify-content: center;
  background: #CFC2A4;
  background-image: linear-gradient(45deg, rgba(90,76,61,.12) 25%, transparent 25%, transparent 75%, rgba(90,76,61,.12) 75%), linear-gradient(45deg, rgba(90,76,61,.12) 25%, transparent 25%, transparent 75%, rgba(90,76,61,.12) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px;
  box-shadow: inset 0 0 0 var(--u) var(--hp-rule);
  clip-path: var(--chamfer-sm);
}
.card-pic.dark { background: #1D2119; }
.card-pic img { max-height: 84%; max-width: 88%; object-fit: contain; image-rendering: pixelated; transition: transform 120ms steps(2); }
.card-pic img.fill { max-height: none; max-width: none; width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-pic img { transform: scale(1.06); }
.card h3 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.card p { margin: 8px 0 0; font-size: 18px; line-height: 1.35; color: var(--hp-ink-soft); }
.card .go {
  margin-top: auto; padding-top: 14px;
  font-weight: 700; font-size: 16px; color: var(--hp-link);
  display: inline-flex; align-items: center; gap: 8px;
}
.card .go::after { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; animation: nudge 1s steps(2) infinite; }

/* a status chip on a card picture */
.chip {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 4px;
  background: var(--plate-face); color: var(--plate-ink);
  font-weight: 700; font-size: 14px; line-height: 1;
  clip-path: var(--chamfer-sm);
}
.chip i { width: 8px; height: 8px; background: #8C8472; display: block; }
.chip.live i { background: var(--lamp-green); animation: blink 1s steps(1) infinite; }

/* message preview on a card */
.card-quote {
  margin: 0 0 16px; padding: 14px 16px;
  min-height: 188px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: var(--hp-bright);
  box-shadow: inset 0 0 0 var(--u) var(--hp-rule);
  clip-path: var(--chamfer-sm);
}
.card-quote .who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--hp-muted); }
.card-quote .who img { width: 40px; height: 40px; image-rendering: pixelated; object-fit: cover; object-position: top; background: #D9CDB0; clip-path: var(--chamfer-sm); }
.card-quote q { font-size: 21px; font-weight: 700; line-height: 1.3; quotes: "\201C" "\201D"; }

/* ── the Play here band ───────────────────────────────────────────────── */
.play-band { padding: 12px 0 28px; }
.consoles { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .consoles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .consoles { grid-template-columns: 1fr 1fr; gap: 14px; } }
.console {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 10px; min-height: 250px; width: 100%;
  padding: 20px 16px 16px; border: 0; cursor: pointer; text-align: center;
  background: radial-gradient(ellipse at 50% 58%, rgba(246,203,107,.16), transparent 62%), var(--plate-face);
  box-shadow: inset 0 0 0 4px var(--plate-lit), inset 0 -8px 0 var(--plate-low);
  color: var(--plate-ink);
  clip-path: var(--chamfer);
  transition: transform 90ms steps(2);
}
.console img { flex: 1; min-height: 0; max-height: 150px; max-width: 86%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 0 rgba(0,0,0,.35)); }
.console:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 4px var(--plate-band), inset 0 -8px 0 var(--plate-low); }
.console:hover img { animation: hop .5s steps(2) infinite alternate; }
.console:focus-visible { outline: 4px solid var(--plate-band); outline-offset: 4px; }
.console b { font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.4; }
.console span { font-size: 16px; color: var(--plate-ink-soft); font-weight: 600; line-height: 1.25; }
.console .press { color: var(--plate-band); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
@media (max-width: 620px) {
  .console { min-height: 200px; padding: 14px 10px 12px; }
  .console img { max-height: 100px; }
  .console b { font-size: 8px; line-height: 1.6; }
  .console span { font-size: 15px; }
}

/* ── footer ───────────────────────────────────────────────────────────── */
.footer {
  margin-top: 40px; padding: 28px 0 40px;
  background: var(--plate-face); color: var(--plate-ink-soft);
  box-shadow: inset 0 4px 0 var(--plate-band);
}
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer a { color: var(--plate-ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.footer a:hover { color: var(--plate-band-hi); text-decoration: underline; text-underline-offset: 4px; }
.footer small { font-size: 15px; }
.footer small a { font-size: inherit; font-weight: inherit; color: inherit; }   /* MEME RECORDS, to memerecords.co */

/* ── pop-ups ──────────────────────────────────────────────────────────── */
.pop {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(12, 15, 11, .74);
  animation: fade 120ms steps(3);
}
.pop[data-kind="app"] { background: rgba(8, 10, 7, .86); }
.pop-box { position: relative; max-width: 100%; max-height: 100%; animation: pop-in 140ms steps(3); }

/* a panel pop-up: the house frame round a scrolling body */
.pop[data-kind="panel"] .pop-box { width: min(720px, 100%); }
.pop[data-kind="panel"].wide .pop-box { width: min(1000px, 100%); }
.pop[data-kind="panel"] .px,
.pop[data-kind="panel"] .px-in { height: auto; max-height: calc(100dvh - 48px); display: flex; flex-direction: column; }
.pop[data-kind="panel"] .px-paper { height: auto; min-height: 0; display: flex; flex-direction: column; padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)); }
.pop-head { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 16px; }
.pop-head h2 { flex: 1; margin: 4px 0 0; font-family: var(--font-title); font-weight: 400; font-size: 24px; line-height: 1.4; }
.pop-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding-right: 4px; }
.pop-body > :first-child { margin-top: 0; }
.pop-body p { margin: 0 0 14px; font-size: 19px; line-height: 1.45; }

.pop-x {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer;
  background: var(--plate-face); color: var(--plate-ink);
  box-shadow: inset 0 0 0 3px var(--plate-band), inset 0 -6px 0 var(--plate-low);
  clip-path: var(--chamfer-sm);
  display: grid; place-items: center;
}
.pop-x svg { width: 20px; height: 20px; }
.pop-x:hover { background: #2A231A; color: var(--plate-band-hi); }
.pop-x:active { transform: translateY(2px); }
.pop-x:focus-visible { outline: 3px solid var(--hp-ivory); outline-offset: 2px; }

/* an app pop-up: the app floats on the dark, as in the room */
.pop[data-kind="app"] .pop-box { width: var(--pw, min(1100px, 94vw)); height: var(--ph, 88dvh); }
.pop-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.pop.boxed .pop-frame { background: #000; clip-path: var(--chamfer-sm); box-shadow: inset 0 0 0 var(--u) var(--hp-border); }
.pop-bar {
  position: absolute; left: 0; right: 0; top: -60px; height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.pop-bar > * { pointer-events: auto; }
.pop-label {
  padding: 10px 12px 8px;
  background: var(--plate-face); color: var(--plate-ink);
  box-shadow: inset 0 0 0 3px var(--plate-band);
  font-family: var(--font-title); font-size: 8px; line-height: 1.5; letter-spacing: .02em;
  clip-path: var(--chamfer-sm);
}
.pop-hint { color: var(--plate-ink-soft); font-weight: 700; font-size: 15px; text-align: center; flex: 1; }
.pop[data-kind="app"] { padding-top: 84px; }
.pop-loading {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  color: var(--plate-ink-soft); font-family: var(--font-title); font-size: 8px;
  animation: blink 1s steps(1) infinite;
}

/* a window inside a pop-up (the room computer's apps) */
.pop[data-kind="window"] { background: rgba(8,10,7,.45); }
.pop[data-kind="window"] .pop-box { width: min(980px, 92vw); height: min(78dvh, 820px); display: flex; flex-direction: column; }
.pop[data-kind="window"] .px, .pop[data-kind="window"] .px-in { height: 100%; display: flex; flex-direction: column; }
.pop[data-kind="window"] .px-paper { flex: 1; display: flex; flex-direction: column; padding: calc(3 * var(--u)); min-height: 0; background-image: var(--paper-grain); }
.pop[data-kind="window"] .pop-head { margin: 0 0 calc(3 * var(--u)); align-items: center; }
.pop[data-kind="window"] .pop-head h2 { font-size: 16px; margin: 0 0 0 8px; }
.pop[data-kind="window"] .pop-frame { flex: 1; background: #fff; box-shadow: inset 0 0 0 2px var(--hp-rule); }

/* A phone: every pop-up fills the screen, as the room's do at 450 and under. */
@media (max-width: 620px) {
  .pop { padding: 0; }
  .pop[data-kind="panel"] .pop-box, .pop[data-kind="panel"].wide .pop-box { width: 100%; height: 100%; }
  .pop[data-kind="panel"] .px, .pop[data-kind="panel"] .px-in { height: 100%; max-height: none; }
  .pop[data-kind="panel"] .px-paper { height: 100%; padding: calc(7 * var(--u)) 18px 18px; }
  .pop-head h2 { font-size: 16px; line-height: 1.6; }
  .pop[data-kind="app"] { padding: 0; }
  .pop[data-kind="app"] .pop-box { width: 100vw !important; height: 100dvh !important; }
  .pop-bar { top: 8px; left: 8px; right: 8px; height: 44px; z-index: 2; }
  .pop-bar .pop-label, .pop-bar .pop-hint { display: none; }
  .pop-bar .pop-x { margin-left: auto; }
  .pop.phone-bar .pop-box { padding-top: 60px; }
  .pop.phone-bar .pop-bar { top: 8px; }
  .pop.phone-bar .pop-bar .pop-label { display: block; }
  .pop[data-kind="window"] .pop-box { width: 100vw; height: 100dvh; }
}

/* ── pop-up contents ──────────────────────────────────────────────────── */
.stack > * + * { margin-top: 16px; }
.big-pic {
  display: block; width: 100%; margin: 0 0 16px;
  background: #1D2119; clip-path: var(--chamfer-sm);
  box-shadow: inset 0 0 0 var(--u) var(--hp-border);
}
.big-pic img { display: block; width: 100%; height: auto; max-height: 56vh; object-fit: contain; image-rendering: pixelated; }
.note {
  padding: 14px 16px; margin: 0 0 14px;
  background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule);
  clip-path: var(--chamfer-sm);
  font-size: 18px; font-weight: 600;
}
.pop-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }

/* message list */
.msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.msg { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 14px; background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule); clip-path: var(--chamfer-sm); }
.msg img { width: 64px; height: 64px; object-fit: cover; object-position: top; image-rendering: pixelated; background: #D9CDB0; clip-path: var(--chamfer-sm); }
.msg b { display: block; font-size: 18px; }
.msg small { color: var(--hp-muted); font-weight: 700; font-size: 15px; }
.msg p { margin: 6px 0 0 !important; font-size: 21px !important; font-weight: 700; line-height: 1.3 !important; }

/* tiles (See what's inside) */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } }
.tile {
  display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 0; cursor: pointer; text-align: left;
  background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule), inset 0 -5px 0 var(--hp-ivory-low);
  clip-path: var(--chamfer-sm);
  transition: transform 90ms steps(2);
}
.tile:hover { transform: translateY(-4px); }
.tile:focus-visible { outline: 3px solid var(--hp-green); outline-offset: 2px; }
.tile .tp { height: 120px; display: grid; place-items: center; background: #D9CDB0; clip-path: var(--chamfer-sm); overflow: hidden; }
.tile .tp img { max-width: 92%; max-height: 92%; object-fit: contain; image-rendering: pixelated; }
.tile b { font-family: var(--font-title); font-weight: 400; font-size: 8px; line-height: 1.6; }
.tile span { font-size: 16px; line-height: 1.25; color: var(--hp-ink-soft); font-weight: 600; }
@media (max-width: 620px) { .tile .tp { height: 96px; } .tile span { font-size: 15px; } }

/* people rows (HOMES to visit, backers) */
.people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.people.people-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* the backers: two rows of four */
@media (max-width: 620px) { .people.people-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px; border: 0; text-align: center;
  background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule);
  clip-path: var(--chamfer-sm);
}
button.person { cursor: pointer; transition: transform 90ms steps(2); }
button.person:hover { transform: translateY(-4px); }
.person img { width: 104px; height: 104px; object-fit: contain; image-rendering: pixelated; }
.person b { font-size: 18px; line-height: 1.2; }
.person span { font-size: 15px; color: var(--hp-muted); font-weight: 600; line-height: 1.25; }
.person .person-title { font-size: 16px; font-weight: 700; color: var(--hp-green); }

/* the three places */
.trio { display: grid; gap: 18px; }
.place { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
.place img { width: 200px; height: 150px; object-fit: cover; image-rendering: pixelated; clip-path: var(--chamfer-sm); background: #1D2119; }
.place h3 { margin: 0 0 6px; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.place p { margin: 0 !important; }
@media (max-width: 620px) { .place { grid-template-columns: 1fr; } .place img { width: 100%; height: 170px; } }

/* the story */
.story p { font-size: 20px !important; }
.story .sig { font-family: var(--font-title); font-size: 16px; margin-top: 8px; }
.story-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.story-head img { width: 120px; height: 120px; object-fit: contain; image-rendering: pixelated; background: #D9CDB0; clip-path: var(--chamfer-sm); flex: none; }

/* nudge: Launch HOMES to keep it */
.nudge {
  position: fixed; left: 50%; bottom: 20px; z-index: 300;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 24px));
  display: none;
}
.nudge.show { display: block; animation: slide-up 160ms steps(3); }
.nudge .px-paper { display: flex; align-items: center; gap: 14px; padding: calc(6 * var(--u)) calc(8 * var(--u)); }
.nudge p { margin: 0; flex: 1; font-weight: 700; font-size: 19px; line-height: 1.3; }
.nudge .pop-x { width: 36px; height: 36px; }
.nudge .pop-x svg { width: 14px; height: 14px; }
@media (max-width: 460px) { .nudge .px-paper { flex-wrap: wrap; } .nudge p { flex-basis: calc(100% - 50px); } }

/* ── artist page ──────────────────────────────────────────────────────── */
.gets { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gets { grid-template-columns: 1fr; } }
.get .px-paper { padding: calc(8 * var(--u)); display: flex; flex-direction: column; gap: 12px; }
.get img { width: 100%; height: 120px; object-fit: contain; image-rendering: pixelated; flex: none; background: #D9CDB0; clip-path: var(--chamfer-sm); padding: 10px; }
.get h3 { margin: 4px 0 8px; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.get p { margin: 0; font-size: 18px; color: var(--hp-ink-soft); line-height: 1.35; }

/* the clips (images/artist-clips, js/artists.js): silent looping video in a
   dark screen, a play button when one is stopped */
.clip {
  position: relative; margin: 0; cursor: pointer;
  aspect-ratio: 16 / 10; overflow: hidden;
  background: #141811;
  clip-path: var(--chamfer-sm);
  box-shadow: inset 0 0 0 var(--u) var(--hp-border);
}
.clip video { display: block; width: 100%; height: 100%; object-fit: cover; padding: var(--u); background: #141811; }
.clip-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: none; place-items: center; width: 64px; height: 64px; padding: 0; border: 0; cursor: pointer;
  background: var(--plate-face); color: var(--plate-band);
  box-shadow: inset 0 0 0 3px var(--plate-band), inset 0 -6px 0 var(--plate-low);
  clip-path: var(--chamfer-sm);
}
.clip-play i { width: 0; height: 0; margin-left: 6px; border-left: 20px solid currentColor; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.clip.stopped .clip-play { display: grid; }
.clip:focus-within .clip-play { outline: 3px solid var(--hp-ivory); outline-offset: 2px; }

/* the hero's HOMES: one still picture (images/homes/homes-stack.png), no
   frame, not tappable, nothing moves. Drawn at 780 wide, shown at up to 440,
   so it scales smoothly rather than pixel by pixel. */
.home-stack { width: 100%; max-width: 440px; margin: 0 auto; }
.home-stack img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(4px 6px 0 rgba(8, 10, 7, .38));
}
/* Desktop only: a wider column, and the picture runs from the top of the
   words (the FOR ARTISTS tag) down to the bottom of the buttons, as big as
   that space allows. Phone and tablet keep the rules above. */
@media (min-width: 981px) {
  .v2 .artist-hero .v2-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(440px, 46%, 520px); align-items: stretch; }
  .v2 .artist-hero .home-stack { position: relative; max-width: none; margin: 0; }
  .v2 .artist-hero .home-stack img { position: absolute; inset: 0; height: 100%; object-fit: contain; object-position: 50% 0; }
}

/* the one line under the hero: larger than the words, smaller than the title */
.one-line {
  margin: 0 0 24px; max-width: 30em;
  font-weight: 700; font-size: 30px; line-height: 1.3; color: var(--desk-ink);
  text-shadow: 0 3px 0 var(--hp-green-shade);
}
@media (max-width: 620px) { .one-line { font-size: 22px; } }

/* the YOU / YOUR FANS pairs (three since 9 October 2026) */
.pairs { display: grid; gap: 24px; }
.pair .px-paper { padding: calc(7 * var(--u)); }
.pair h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.pair-n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--hp-green); color: var(--hp-btn-label);
  font-size: 16px; clip-path: var(--chamfer-sm);
}
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-side p { margin: 12px 0 0; font-size: 19px; line-height: 1.4; color: var(--hp-ink-soft); }
.side-tag {
  display: inline-block; margin: 0 0 10px; padding: 6px 10px 4px;
  background: var(--hp-green); color: var(--hp-btn-label);
  font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: .06em;
  clip-path: var(--chamfer-sm);
}
.side-tag.fans { background: var(--plate-face); color: var(--plate-band); box-shadow: inset 0 0 0 2px var(--plate-band); }
@media (max-width: 760px) {
  .pair-grid { grid-template-columns: 1fr; gap: 20px; }
  .pair .px-paper { padding: calc(7 * var(--u)) 16px 20px; }
}

/* Post less. Get more back: three dark tiles, the Play here tiles' look */
.backs { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .backs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .backs { grid-template-columns: 1fr; } }
.back {
  display: flex; flex-direction: column;
  padding: 20px 20px 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(246,203,107,.12), transparent 62%), var(--plate-face);
  box-shadow: inset 0 0 0 4px var(--plate-lit), inset 0 -8px 0 var(--plate-low);
  color: var(--plate-ink);
  clip-path: var(--chamfer);
}
.back-tag { margin: 18px 0 0; color: var(--plate-band); font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: .06em; }
.back h3 { margin: 10px 0 8px; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.back-shot + h3 { margin-top: 18px; } /* the tiles have no tag line since 6 Oct 2026 */
.back p { margin: 0; font-size: 18px; line-height: 1.35; color: var(--plate-ink-soft); font-weight: 600; }
/* each tile's still (640 x 400, 16:10), in the clips' dark cut-corner frame */
.back-shot {
  aspect-ratio: 16 / 10; overflow: hidden;
  background: #141811;
  clip-path: var(--chamfer-sm); box-shadow: inset 0 0 0 var(--u) var(--hp-border);
}
.back-shot img { display: block; width: 100%; height: 100%; object-fit: cover; padding: var(--u); }
@media (max-width: 620px) { .back { padding: 16px 16px 20px; } .back h3 { font-size: 16px; } }

/* one line across the desk */
.band { padding: 36px 0; text-align: center; }
.band p { margin: 0; color: var(--plate-band-hi); font-size: 24px; text-shadow: 0 4px 0 var(--hp-green-shade); }
.band p.band-sub { margin: 14px auto 0; max-width: 34em; color: var(--desk-ink); font-weight: 600; font-size: 21px; line-height: 1.4; text-shadow: none; }
@media (max-width: 620px) { .band p { font-size: 16px; line-height: 1.7; } .band p.band-sub { font-size: 19px; line-height: 1.4; } }

/* Questions artists ask */
.faq .px-paper { padding: calc(6 * var(--u)) calc(8 * var(--u)); }
.faq details { border-bottom: 2px solid var(--hp-ivory-low); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 20px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 0; height: 0; border-left: 9px solid var(--hp-green); border-top: 7px solid transparent; border-bottom: 7px solid transparent; transition: transform 90ms steps(2); }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq summary:focus-visible { outline: 3px solid var(--hp-green); outline-offset: 2px; }
.faq details p { margin: 0 0 18px 21px; font-size: 19px; line-height: 1.45; color: var(--hp-ink-soft); max-width: 46em; }
@media (max-width: 620px) { .faq .px-paper { padding: 20px 16px; } .faq summary { font-size: 18px; } }

.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }   /* the apply and help forms hide on a good send */
.field label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 18px; }
.field input {
  width: 100%; padding: 12px 14px; border: 0; border-radius: 0;
  font: inherit; font-size: 19px; font-weight: 600; color: var(--hp-ink);
  background: var(--hp-field);
  box-shadow: inset 0 0 0 2px var(--hp-field-line), inset 0 4px 0 rgba(90,76,61,.12);
  clip-path: var(--chamfer-sm);
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--hp-rule), inset 0 4px 0 rgba(90,76,61,.12); background: #FAF5E9; }
.form .small { margin: 0; font-size: 16px; color: var(--hp-muted); font-weight: 600; }
.form .form-error { color: var(--hp-error); font-weight: 700; }

/* the Help and feedback form (help.html): a text box and the kind picker */
.wrap.narrow { max-width: 820px; }
.field textarea {
  display: block; width: 100%; min-height: 180px; resize: vertical;
  padding: 12px 14px; border: 0; border-radius: 0;
  font: inherit; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--hp-ink);
  background: var(--hp-field);
  box-shadow: inset 0 0 0 2px var(--hp-field-line), inset 0 4px 0 rgba(90,76,61,.12);
  clip-path: var(--chamfer-sm);
}
.field textarea:focus { outline: none; box-shadow: inset 0 0 0 3px var(--hp-rule), inset 0 4px 0 rgba(90,76,61,.12); background: #FAF5E9; }
.field input::placeholder, .field textarea::placeholder { color: #8F8471; }
.field .opt { color: var(--hp-muted); font-weight: 600; }
.field .field-note { margin-top: 6px; }
.kinds { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kinds legend { padding: 0; margin: 0 0 8px; font-weight: 700; font-size: 18px; }
.kind { position: relative; cursor: pointer; }
.kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind span {
  display: block; padding: 12px 16px 10px;
  font-weight: 700; font-size: 18px; line-height: 1;
  background: var(--hp-bright); color: var(--hp-ink-soft);
  box-shadow: inset 0 0 0 2px var(--hp-rule), inset 0 -4px 0 var(--hp-ivory-low);
  clip-path: var(--chamfer-sm);
}
.kind:hover span { color: var(--hp-ink); }
.kind input:checked + span { background: var(--hp-green); color: var(--hp-btn-label); box-shadow: inset 0 0 0 2px var(--hp-green-brd), inset 0 -4px 0 var(--hp-green-dip); }
.kind input:focus-visible + span { outline: 3px solid var(--plate-band); outline-offset: -3px; }
@media (max-width: 460px) { .kinds { flex-direction: column; } .kind span { padding: 14px 16px 12px; } }
.done:focus { outline: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 20px 0; }
.done .t-title { font-size: 24px; margin: 0 0 12px; }
.stamp {
  display: inline-block; margin-top: 16px; padding: 10px 14px 8px;
  border: 3px solid var(--hp-green); color: var(--hp-green);
  font-family: var(--font-title); font-size: 8px; transform: rotate(-3deg);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; font-size: 19px; line-height: 1.35; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--hp-green); color: var(--hp-btn-label);
  font-family: var(--font-title); font-size: 16px; clip-path: var(--chamfer-sm);
}
.steps b { display: block; }

/* ── small pages (parents, terms, privacy) ────────────────────────────── */
.doc { padding: 36px 0; }
.doc .px-paper { padding: calc(10 * var(--u)) calc(10 * var(--u)); }
.doc h1 { margin: 0 0 16px; font-family: var(--font-title); font-weight: 400; font-size: 24px; line-height: 1.5; }
.doc h2 { margin: 28px 0 10px; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.doc p, .doc li { font-size: 19px; line-height: 1.5; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--hp-green); }
.facts-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
@media (max-width: 720px) { .facts-grid { grid-template-columns: 1fr; } .doc .px-paper { padding: 28px 18px; } .doc h1 { font-size: 16px; } }
.fact { padding: 16px 18px; background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule); clip-path: var(--chamfer-sm); }
.fact h3 { margin: 0 0 6px; font-family: var(--font-title); font-weight: 400; font-size: 8px; line-height: 1.8; color: var(--hp-green); }
.fact p { margin: 0; font-size: 18px; }
.legal-frame { width: 100%; height: 75vh; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--hp-rule); }
.draft-flag { display: inline-block; padding: 6px 10px 4px; background: var(--hp-error); color: #fff; font-weight: 700; font-size: 15px; clip-path: var(--chamfer-sm); }

/* ── movement ─────────────────────────────────────────────────────────── */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes hop { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .35; } }
@keyframes nudge { 0% { transform: translateX(0); } 100% { transform: translateX(3px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { transform: scale(.96) translateY(8px); } to { transform: none; } }
@keyframes slide-up { from { transform: translate(-50%, 16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .9; } 80% { opacity: .5; } 100% { opacity: 0; transform: translateY(-48px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Your account (account.html, js/account.js; 30 September 2026) ────── */
.account .acct-box { margin: 28px 0 0; padding: 20px 0 0; border-top: 3px solid var(--hp-rule); }
.account .acct-box h2 { margin-top: 0; }
.account .acct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 0; }
.account .acct-email { margin-top: 20px; max-width: 480px; }
.account .small { font-size: 16px; color: var(--hp-muted); font-weight: 600; }
.account .acct-line { margin: 12px 0 0; }
.account .acct-line:empty { display: none; }
.account .acct-line.is-error { color: var(--hp-error); font-weight: 700; }
.account .acct-link { font-weight: 700; font-size: 20px; }
.account .acct-confirm { margin-top: 16px; }
.account .acct-confirm .field { max-width: 480px; margin-top: 12px; }
.account .acct-textbtn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.account [hidden] { display: none !important; }

/* ── HOMES anywhere (anywhere.html, js/anywhere.js; 21 October 2026) ──── */
.wrap.any-wide { max-width: 1040px; }
.anywhere .doc { padding-bottom: 8px; }
.any-lede { margin: 0; font-size: 21px; line-height: 1.45; color: var(--hp-ink-soft); max-width: 36em; }
.any-facts { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; }
/* the three boxes' headings: the page's own size, not .fact's small tag */
.any-facts .fact h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.any-state { margin: 0; color: #CFD6C0; font-size: 18px; font-weight: 600; }
.any-players { display: grid; gap: 28px; }
.any-player .px-paper { padding: calc(8 * var(--u)); }
.any-player h2 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 16px; line-height: 1.5; }
.any-line { margin: 6px 0 0; font-size: 19px; line-height: 1.4; color: var(--hp-ink-soft); }
.any-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); grid-template-areas: "stage head" "stage codes"; grid-template-rows: auto 1fr; gap: 16px 24px; align-items: start; }
.any-head { grid-area: head; } .any-stage { grid-area: stage; } .any-codes { grid-area: codes; }
.any-sample { margin: 0; -webkit-user-select: none; user-select: none; }
.any-stage { min-width: 0; min-height: 240px; padding: 8px; background: var(--hp-bright); box-shadow: inset 0 0 0 2px var(--hp-rule); clip-path: var(--chamfer-sm); }
.any-codes { min-width: 0; display: grid; gap: 14px; }
.any-example { margin: 0; font-weight: 700; font-size: 17px; color: var(--hp-green); }
.any-code-label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 17px; }
.any-code {
  display: block; width: 100%; min-height: 0; resize: none; overflow: hidden;
  padding: 10px 12px; border: 0; border-radius: 0;
  font: 500 14px/1.45 ui-monospace, Menlo, Consolas, monospace; color: var(--hp-ink);
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all;
  background: var(--hp-field);
  box-shadow: inset 0 0 0 2px var(--hp-field-line), inset 0 4px 0 rgba(90,76,61,.12);
  clip-path: var(--chamfer-sm);
}
.any-apply { margin-top: 20px; }
.any-code:focus { outline: none; box-shadow: inset 0 0 0 3px var(--hp-rule), inset 0 4px 0 rgba(90,76,61,.12); background: #FAF5E9; }
@media (max-width: 900px) { .any-facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) {
  .any-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "codes"; grid-template-rows: auto; }
  .any-stage { width: 100%; max-width: 400px; }
}
@media (max-width: 620px) { .any-player .px-paper { padding: 20px 14px; } .any-lede { font-size: 19px; } }

/* ── the key pop-up (site.js openKey; 22 October 2026, closed testing) ─── */
.key-pop > p { margin: 0 0 10px; font-size: 19px; line-height: 1.45; color: var(--hp-ink-soft); }
.key-pop .key-form { margin-top: 16px; }
.tick { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; cursor: pointer; }
.tick input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--hp-green); cursor: pointer; }
