/* Direction: Upstairs Loft Co. — chalky plasterboard paper, deep slate-green workshop band, safety-amber accent, a chunky grotesque display */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f6f2ea;
  --surface: #fffdf8;
  --surface-2: #ebe5d8;
  --border: #d9d1c0;
  --border-strong: #b4ada4;
  --ink: #1b2326;
  --muted: #5a625d;
  --accent: #b4540a;
  --accent-hover: #994709;
  --accent-ink: #ffffff;
  --accent-text: #98470a;
  --accent-strong: #994708;
  --accent-soft: #eddccb;
  --accent-border: #d8ab85;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dbe4d5;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #eedfcf;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #efd8d1;
  --danger-strong: #b91c1c;
  --chart-1: #b4540a;
  --chart-2: #8f8e0e;
  --chart-3: #006e54;
  --chart-4: #0a95c3;
  --chart-5: #5b47a4;
  --chart-6: #ca6298;

  --x-band: #1b2b2d;
  --x-band-2: #243a3c;
  --x-on-photo: #ffffff;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 12px;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #0f0801;
  --surface: #27211a;
  --surface-2: #1b140e;
  --border: #312b25;
  --border-strong: #57524d;
  --ink: #f6f2ea;
  --muted: #9a948d;
  --accent: #b4540a;
  --accent-hover: #bf6e2f;
  --accent-ink: #ffffff;
  --accent-text: #c57b41;
  --accent-strong: #c57b41;
  --accent-soft: #331903;
  --accent-border: #592a05;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #10220e;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #331903;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #340c07;
  --danger-strong: #d16969;
  --chart-1: #b4540a;
  --chart-2: #95941b;
  --chart-3: #1c9575;
  --chart-4: #0a95c3;
  --chart-5: #806ed0;
  --chart-6: #ca6298;
}

/* Upstairs Loft Co. — page-specific touches */
.rungs {
  background-image: repeating-linear-gradient(to bottom, transparent 0 34px, color-mix(in srgb, var(--ink) 9%, transparent) 34px 36px);
}
.band-grid {
  background-image:
    linear-gradient(color-mix(in srgb, #ffffff 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #ffffff 6%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
}
.svc-tile { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.svc-tile:active { transform: translateY(-1px); }
.nudge { display: inline-block; transition: transform .2s ease; }
a:hover > .nudge, button:hover > .nudge { transform: translateX(4px); }
@keyframes climb { from { transform: translateY(14px); } to { transform: translateY(0); } }
.climb { animation: climb .7s cubic-bezier(.2,.7,.2,1) both; }
.climb-2 { animation-delay: .12s; }
.climb-3 { animation-delay: .24s; }
html.reduced-motion .climb, html.reduced-motion .svc-tile, html.reduced-motion .nudge { animation: none; transition: none; }
