Skip to content

A lightweight Clip Studio Paint alternative with real-time multiplayer collaborative drawing. Built with Tauri and React.

27.7 KB
Raw Blame
/* Self-hosted OFL Fonts (CSP font-src 'self' compliant) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('./assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('./assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('./assets/fonts/dm-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Warm Matte Charcoal & Paper Atelier Palette */
  --bg: #11100f;
  --bg-band: #161412;
  --bg-surface: #1c1a17;
  --bg-elevated: #24211d;
  --bg-hover: #2d2924;

  --border: rgba(242, 234, 220, 0.085);
  --border-strong: rgba(242, 234, 220, 0.16);
  --border-accent: rgba(225, 186, 123, 0.34);

  /* Raw Ochre / Naples Gold + Warm Rag Paper */
  --accent: #e1ba7b;
  --accent-hover: #ecd09d;
  --accent-soft: rgba(225, 186, 123, 0.13);
  --accent-ink: #17130d;

  --paper: #ede6d9;
  --paper-hover: #f7f1e6;
  --paper-ink: #141210;

  /* Muted mineral pigment accents (used sparingly) */
  --pigment-sage: #a2c39d;
  --pigment-ochre: #e1ba7b;
  --pigment-crimson: #cc6d5e;

  --text: #f2ece2;
  --text-secondary: #b0a89d;
  --text-muted: #7f776c;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

::selection {
  background: rgba(225, 186, 123, 0.28);
  color: #fffaf2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

code,
.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--text-muted);
}

.nowrap {
  white-space: nowrap;
}

.icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2f2b26;
  border-radius: 9999px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #433d36;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 16, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: 'SOFT' 50, 'opsz' 24;
}

.brand-icon {
  display: block;
  border-radius: 6px;
  background: var(--paper);
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.16s ease;
}

.header-link:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13.5px;
}

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 238, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.28);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.34);
}

.btn-paper {
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-paper:hover {
  background: var(--paper-hover);
}

.btn-subtle {
  background: rgba(242, 234, 220, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-subtle:hover {
  background: rgba(242, 234, 220, 0.09);
  border-color: rgba(242, 234, 220, 0.28);
}

/* Full-Bleed Artwork Hero */
.hero {
  position: relative;
  min-height: min(84vh, 760px);
  display: flex;
  align-items: center;
  background: #060605;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #060605;
}

.hero-backdrop img {
  position: absolute;
  top: 0;
  right: max(-36px, calc(50% - 750px));
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 7, 6, 0.96) 0%,
      rgba(8, 7, 6, 0.86) 36%,
      rgba(8, 7, 6, 0.34) 58%,
      rgba(8, 7, 6, 0.03) 82%,
      rgba(8, 7, 6, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(17, 16, 15, 0.22) 0%,
      rgba(8, 7, 6, 0) 68%,
      #161412 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 28px 96px;
}

.hero-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: #bab0a2;
  letter-spacing: 0.005em;
}

.hero-version {
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--text-muted);
  font-size: 13px;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 480;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50, 'opsz' 72;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-lead {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.66;
  color: #cfc8bc;
  max-width: 500px;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 490px;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Bands */
.band {
  background: var(--bg);
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 64px;
}

.band-alt {
  background: var(--bg-band);
}

.band-grid {
  background-color: var(--bg-band);
  background-image: radial-gradient(rgba(242, 234, 220, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container-stacked {
  gap: 84px;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  scroll-margin-top: 84px;
}

/* Editorial Section Intros */
.section-intro {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-intro-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px 56px;
  align-items: end;
}

.section-intro-split p {
  max-width: 470px;
  justify-self: end;
}

.section-intro-row {
  max-width: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-intro-row > div {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 480;
  line-height: 1.13;
  letter-spacing: -0.022em;
  color: var(--text);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50, 'opsz' 48;
}

.section-intro p,
.section-intro-split p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--text-secondary);
}

h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--text);
  font-variation-settings: 'SOFT' 50, 'opsz' 28;
}

.section-note {
  font-size: 13px;
  color: var(--text-muted);
}

.link-muted {
  font-size: 13.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.link-muted:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.4;
}

/* Workspace Tour */
.tour-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tour-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.tour-tab {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.tour-tab:hover {
  color: var(--text);
  background: rgba(242, 234, 220, 0.05);
}

.tour-tab.active {
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 600;
}

.tour-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d0c0b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.tour-zoom {
  display: block;
  width: 100%;
  background: #0d0c0b;
  cursor: zoom-in;
  overflow: hidden;
}

.tour-zoom img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.tour-zoom:hover img {
  transform: scale(1.008);
}

.tour-caption-bar {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.tour-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Zoomable Image Frames */
.zoom-frame {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  background: #0d0c0b;
}

.zoom-frame img {
  display: block;
  width: 100%;
  transition: transform 0.32s ease;
}

.zoom-frame:hover img {
  transform: scale(1.014);
}

/* Brushes & Pigment Section */
.brush-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: stretch;
}

.shot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.shot-card .zoom-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-card .zoom-frame img {
  height: 100%;
  object-fit: cover;
}

.pigment-light-mat {
  background: #f6f3ec;
  padding: 18px;
}

.pigment-light-mat img {
  object-fit: contain !important;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.shot-caption {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  line-height: 1.58;
  color: var(--text-secondary);
}

.shot-caption strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.notes-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.note-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-col h3 {
  font-size: 18px;
  color: var(--text);
}

.note-col p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-secondary);
}

/* Feature Stories */
.feature-stories {
  display: flex;
  flex-direction: column;
  gap: 76px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.86fr);
  gap: 52px;
  align-items: center;
}

.story-row-flip {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.24fr);
}

.story-row-flip .story-media {
  order: 2;
}

.story-row-flip .story-copy {
  order: 1;
}

.story-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d0c0b;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

.story-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini-switcher {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.mini-pill {
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.mini-pill:hover {
  color: var(--text);
}

.mini-pill.active {
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 600;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.story-copy h3 {
  font-size: clamp(24px, 2.5vw, 31px);
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text);
}

.story-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.story-copy strong {
  color: var(--text);
  font-weight: 600;
}

/* Two Side-by-Side Feature Cards (3D + Animation) */
.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

/* Studio Details Ledger (Replaces generic 3x2 AI card grid) */
.details-ledger {
  margin-top: 12px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.detail-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-row:nth-last-child(-n + 2) {
  border-bottom: none;
}

.detail-row h3 {
  font-size: 18px;
  color: var(--text);
}

.detail-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-secondary);
}

/* Download Section */
.download-box {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-surface);
  overflow: hidden;
}

.download-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-band);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.tab-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 600;
}

.download-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.asset-row.recommended {
  border-color: var(--border-accent);
}

.asset-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.asset-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.asset-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.asset-filename {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.asset-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.asset-size {
  font-size: 12.5px;
  color: var(--text-muted);
}

.code-block {
  margin: 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #e4ddd0;
  overflow-x: auto;
  line-height: 1.7;
}

.download-empty {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-empty p {
  margin: 0;
  font-size: 14.5px;
}

.download-footer {
  padding: 13px 22px;
  background: var(--bg-band);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Formats & Shortcuts */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.spec-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.format-table {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.format-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.format-row:first-child {
  padding-top: 0;
}

.format-row:last-child {
  border-bottom: none;
}

.format-row dt {
  font-size: 13.5px;
  color: var(--text-muted);
}

.format-row dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
}

.shortcut-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

/* Recent Releases */
.release-history {
  display: flex;
  flex-direction: column;
}

.release-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.release-item:first-child {
  padding-top: 0;
}

.release-item:last-child {
  border-bottom: none;
}

.release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.release-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.release-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.release-name:hover {
  color: var(--accent);
}

.release-notes {
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.release-notes-strong {
  color: var(--text);
  font-weight: 600;
}

.release-notes-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.release-notes-heading {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--text);
}

.release-notes-heading--new {
  color: var(--pigment-sage);
}

.release-notes-heading--improvements {
  color: var(--pigment-ochre);
}

.release-notes-heading--fixes {
  color: var(--pigment-crimson);
}

.release-notes-heading--other {
  color: var(--text-muted);
}

.release-notes-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.58;
}

.release-notes-para {
  margin: 0;
  line-height: 1.58;
  color: var(--text-muted);
}

.release-notes-code {
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}

.release-assets-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.asset-pill:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--text);
}

/* Footer */
.site-footer {
  background: #0c0b0a;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.footer-links a {
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* Native Lightbox Dialog */
.lightbox {
  max-width: min(94vw, 1340px);
  max-height: 92vh;
  width: fit-content;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--text);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-shell {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.lightbox-caption {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.lightbox-close:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.lightbox-stage {
  background: #080706;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: auto;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 84px);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    min-height: 0;
    align-items: flex-end;
  }

  .hero-backdrop img {
    right: 50%;
    transform: translateX(50%);
    height: 70%;
    top: 0;
    opacity: 0.56;
  }

  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 7, 6, 0.34) 0%,
      rgba(8, 7, 6, 0.8) 46%,
      #161412 100%
    );
  }

  .hero-inner {
    padding: 215px 24px 72px;
  }

  .hero-sub {
    color: #b6aea2;
  }

  .band {
    padding: 76px 0;
  }
}

@media (max-width: 860px) {
  .story-row,
  .story-row-flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-row-flip .story-media,
  .story-row-flip .story-copy {
    order: initial;
  }

  .notes-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .section-intro-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-intro-split p {
    justify-self: start;
    max-width: 620px;
  }

  .brush-duo,
  .feature-pair,
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .details-ledger {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .detail-row:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .nav-links,
  .hide-sm {
    display: none;
  }

  .header-inner {
    padding: 0 18px;
  }

  .hero-inner {
    padding: 185px 18px 56px;
  }

  .container {
    padding: 0 18px;
  }

  .band {
    padding: 58px 0;
  }

  .tour-tabs {
    width: 100%;
  }

  .shortcut-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tour-zoom img,
  .zoom-frame img,
  .btn {
    transition: none;
  }
}