/* Shisaku website. Colours from the brand card (Pasproef B):
   heidepaars #5B3C69, rood #B3261E, antraciet #1D1B18, warm wit #F5F1E8.
   Dark mode follows the brand card: white logo on antraciet. The lighter
   purple/red text tints in dark mode are interface tints chosen for contrast. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #ebe5d7;
  --ink: #1d1b18;
  --ink-soft: #55504a;
  --line: #d9d1c0;
  --purple: #5b3c69;
  --red: #b3261e;
  --link: #5b3c69;
  --accent-text: #b3261e;
  --btn-bg: #1d1b18;
  --btn-ink: #f5f1e8;
  --focus: #5b3c69;
  --radius: 14px;
  --max: 1080px;
  --heading: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1b18;
    --surface: #26231f;
    --surface-2: #302c27;
    --ink: #f5f1e8;
    --ink-soft: #bdb6a8;
    --line: #3d3832;
    --link: #d2b6df;
    --accent-text: #ff8d84;
    --btn-bg: #f5f1e8;
    --btn-ink: #1d1b18;
    --focus: #d2b6df;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 40em; }
.eyebrow { font-family: var(--heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--accent-text); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 6px; background: linear-gradient(90deg, var(--purple) 0 50%, var(--red) 50% 100%); transform: skewX(-20deg); border-radius: 1px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo img { height: 40px; width: auto; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .on-light { display: none; }
  :root:not([data-theme="light"]) .logo .on-dark { display: block; }
}
nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
nav a:hover { background: var(--surface-2); }
nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* hero */
.hero { padding-block: clamp(40px, 8vw, 96px) clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before { /* faint sudoku grid, the studio's first game */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000, transparent 70%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 14em; }
.jp { font-size: 0.95rem; color: var(--ink-soft); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; font-weight: 700; border: 2px solid var(--btn-bg); font-size: 1rem; }
.btn:hover { opacity: 0.88; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

section { padding-block: clamp(36px, 6vw, 72px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* product card */
.product { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .product { grid-template-columns: 1fr 1.15fr; } }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-head img { width: 56px; height: 56px; border-radius: 14px; }
.product-head h2 { margin: 0; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
figcaption { font-size: 0.88rem; color: var(--ink-soft); padding: 8px 2px 0; }
figure { margin: 0; }

.status { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.status li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; }
.band .status li, .status li { font-size: 0.97rem; }
.tag { font-family: var(--heading); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.tag.live { color: #1f6b3a; }
.tag.dev { color: var(--accent-text); }
.tag.later { color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.live { color: #7fd69b; } }

/* modes */
.modes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 24px; }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; border-top: 5px solid var(--purple); }
.mode:nth-child(even) { border-top-color: var(--red); }
.mode h3 { margin-bottom: 6px; }
.mode p { color: var(--ink-soft); font-size: 0.97rem; }

/* phone gallery */
.phones { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 260px); gap: 16px; overflow-x: auto; padding: 4px 0 18px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) { .phones { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; } }
.phones figure { scroll-snap-align: start; }
.phones img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 9/16; width: 100%; object-fit: cover; }

/* two columns */
.cols { display: grid; gap: clamp(24px, 5vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .cols { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mail { font-family: var(--heading); font-size: 1.25rem; word-break: break-word; }

/* prose pages */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.note { border-left: 5px solid var(--purple); background: var(--surface-2); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 0.97rem; }
.page-head { padding-block: clamp(32px, 6vw, 64px) 8px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 0.93rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* v2 additions */
.small { font-size: 0.92rem; color: var(--ink-soft); }
.last { margin-bottom: 0; }
.eyebrow.flat { margin: 0; }
.hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { max-width: 12em; }
.peek { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; justify-self: center; }
.peek img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 9/16; width: 100%; object-fit: cover; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
tbody th { font-weight: 700; }

.modes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 719px) {
  .table-wrap { overflow: visible; }
  table, thead, tbody, tr, th, td { display: block; min-width: 0; }
  table { min-width: 0; }
  thead { position: absolute; left: -9999px; }
  tr { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 6px 4px; margin-bottom: 12px; }
  th, td { border: 0; padding: 6px 12px; }
  tbody th { font-family: var(--heading); font-size: 1.05rem; }
  td[data-label]::before { content: attr(data-label); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
}
