/* Bit Quirky ideas directory. Palette and type mirror the public website. */
@font-face {
  font-family: Geist;
  src: url("/brand/geist-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/brand/geist-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/brand/space-grotesk-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0a0812;
  --panel: #19131f;
  --text: #f3eee3;
  --muted: #c0b5c9;
  --line: #726478;
  --link: #ff80ef;
  --focus: #30ffa0;
  --positive: #30ffa0;
  --ink: #0a0812;
  --mint: #30ffa0;
  --mint-hover: #7affc1;
  --body: Geist, Inter, system-ui, sans-serif;
  --display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3eee3;
  --panel: #fffaf2;
  --text: #0a0812;
  --muted: #5b5264;
  --line: #827486;
  --link: #990087;
  --focus: #990087;
  --positive: #006b43;
}
/* Useful without JavaScript too. Explicit user choice always wins. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f3eee3;
    --panel: #fffaf2;
    --text: #0a0812;
    --muted: #5b5264;
    --line: #827486;
    --link: #990087;
    --focus: #990087;
    --positive: #006b43;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, select { -webkit-tap-highlight-color: transparent; }
:where(a, button, select, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin-inline: auto; padding: 8px 32px 8px 12px; min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.studio { display: inline-flex; gap: 0; align-items: center; color: var(--text); text-decoration: none; flex-shrink: 0; }
.studio-mark { padding: 20px; }
.studio-mark img { width: 40px; height: 40px; }
.studio strong { font-family: var(--display); font-size: 20px; font-weight: 600; display: block; }
.studio-caption { display: block; color: var(--muted); font-size: 13px; }
.header-end { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.header-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.theme-control { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.theme-control select { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: var(--panel); color: var(--text); font: inherit; }
main { max-width: 1136px; margin-inline: auto; padding: 76px 32px 64px; }
.intro { max-width: 850px; margin-bottom: 72px; }
.eyebrow { color: var(--link); font-size: 16px; font-weight: 600; margin-bottom: 20px; }
h1 { font-size: clamp(2.75rem, 6.8vw, 5.5rem); letter-spacing: -0.04em; line-height: 1.02; }
.lead { margin-top: 28px; max-width: 670px; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); }
.section-heading { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: baseline; margin-bottom: 24px; }
h2 { font-size: 24px; }
.section-heading p { color: var(--muted); font-size: 15px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 256px minmax(0, 1fr); align-items: center; }
.product-art { padding: 64px 76px; }
.product-art img { width: 104px; height: 104px; max-width: none; }
.board-copy { padding: 40px 48px 40px 12px; }
.product-kind { font-size: 14px; color: var(--positive); margin-bottom: 10px; }
h3 { font-size: 36px; }
.board-copy > p:not(.product-kind) { color: var(--muted); max-width: 560px; margin-top: 16px; }
.board-link { margin-top: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 20px; background: var(--mint); border: 1px solid var(--mint); border-radius: 6px; color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.4; }
.board-link:hover { background: var(--mint-hover); border-color: var(--mint-hover); text-decoration: underline; }
.board-link span { font-size: 22px; line-height: 1; }
.guidance { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.guidance h2 { font-size: 20px; }
.guidance p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.site-footer { max-width: 1136px; margin: 0 auto; padding: 24px 32px 36px; color: var(--muted); font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 760px) {
  .header-inner { padding: 8px 24px 16px 4px; gap: 0 16px; }
  .header-end { padding-left: 20px; gap: 16px; }
  main { padding: 48px 24px; }
  .intro { margin-bottom: 48px; }
  .board { grid-template-columns: 176px minmax(0, 1fr); }
  .product-art { padding: 40px 48px; }
  .product-art img { width: 80px; height: 80px; }
  .board-copy { padding: 32px 24px 32px 0; }
  h3 { font-size: 30px; }
  .board-link { gap: 10px; padding: 12px 16px; }
  .guidance { gap: 28px; }
  .site-footer { padding-inline: 24px; }
}
@media (max-width: 540px) {
  .header-inner { align-items: start; }
  .header-end { width: 100%; justify-content: space-between; }
  .header-link { font-size: 13px; }
  .theme-control { font-size: 13px; gap: 6px; }
  .wide-break { display: none; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .product-art { padding: 40px 40px 0; }
  .product-art img { width: 80px; height: 80px; }
  .board-copy { padding: 40px 24px 28px; }
  .board-link { width: 100%; }
  .guidance { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .site-footer { align-items: start; flex-direction: column; }
}
@media (forced-colors: active) {
  .board-link { border: 2px solid ButtonText; }
  .board, .theme-control select { border-color: CanvasText; }
}
