/* ==========================================================================
   Maxa.On — Brand Concept Site
   Design system with 3 live-switchable variants (themes)
   ========================================================================== */

/* ----- Fonts (self-hosted variable fonts) ----- */
@font-face {
  font-family: "Cinzel";
  src: url("../assets/fonts/Cinzel-Variable.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ----- Brand tokens (shared) ----- */
:root {
  --gold: #C9A15E;
  --gold-1: #F3D9A6;
  --gold-2: #D6A85E;
  --gold-3: #B07C36;
  --gold-grad: linear-gradient(120deg, #F3D9A6 0%, #D6A85E 45%, #B07C36 100%);

  --graphite: #2B2B2B;
  --sand: #D6C7A6;
  --beige: #E8DCC4;
  --oak: #6E4F34;
  --white: #FFFFFF;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ===== Theme 1 — Графит · Золото (dark luxe) — DEFAULT ===== */
:root,
[data-theme="graphite"] {
  --bg: #141416;
  --bg-2: #1B1B1F;
  --surface: #232329;
  --surface-2: #2B2B32;
  --text: #F2ECE0;
  --text-dim: #ADA491;
  --heading: #F6EEDF;
  --accent: var(--gold);
  --accent-soft: rgba(201, 161, 94, 0.14);
  --line: rgba(201, 161, 94, 0.22);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --hero-glow: radial-gradient(60% 60% at 50% 30%, rgba(201,161,94,0.18), transparent 70%);
}

/* ===== Theme 2 — Песок · Свет (light editorial) ===== */
[data-theme="sand"] {
  --bg: #F4EEE2;
  --bg-2: #ECE3D2;
  --surface: #FBF7EF;
  --surface-2: #F3EBDB;
  --text: #2C2620;
  --text-dim: #7C6F5C;
  --heading: #241F19;
  --accent: #A97C3C;
  --accent-soft: rgba(169, 124, 60, 0.12);
  --line: rgba(110, 79, 52, 0.22);
  --border: rgba(60, 45, 30, 0.12);
  --shadow: 0 30px 70px -34px rgba(80, 60, 35, 0.4);
  --hero-glow: radial-gradient(60% 60% at 50% 30%, rgba(169,124,60,0.16), transparent 70%);
}

/* ===== Theme 3 — Дуб · Тепло (warm natural) ===== */
[data-theme="oak"] {
  --bg: #241B14;
  --bg-2: #2C2018;
  --surface: #362820;
  --surface-2: #403025;
  --text: #F3E7D4;
  --text-dim: #C0A888;
  --heading: #F7EEDF;
  --accent: #E0B978;
  --accent-soft: rgba(224, 185, 120, 0.14);
  --line: rgba(224, 185, 120, 0.26);
  --border: rgba(255, 240, 220, 0.10);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --hero-glow: radial-gradient(60% 60% at 50% 30%, rgba(224,185,120,0.2), transparent 70%);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* ----- Utilities ----- */
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; display: inline-block;
}
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 18px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); font-weight: 500; line-height: 1.12; letter-spacing: 0.01em; }
.h-xl { font-size: clamp(2.4rem, 6vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.2rem); }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); }
.muted { color: var(--text-dim); }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 44px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .word { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.04em; color: var(--heading); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.86rem; letter-spacing: 0.02em; color: var(--text-dim); transition: color 0.25s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent); transition: width 0.3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 16px;
    background: var(--surface); padding: 22px 26px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); box-shadow: var(--shadow); gap: 18px;
  }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
}

/* Theme switcher (segmented) */
.theme-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.theme-switch button { width: 26px; height: 26px; border-radius: 50%; position: relative; transition: transform 0.25s var(--ease); }
.theme-switch button::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset; }
.theme-switch button[data-set="graphite"] { background: linear-gradient(135deg, #2b2b2b, #4a4a4a); }
.theme-switch button[data-set="sand"] { background: linear-gradient(135deg, #efe6d4, #cbb389); }
.theme-switch button[data-set="oak"] { background: linear-gradient(135deg, #6e4f34, #a9784a); }
.theme-switch button.active { transform: scale(1.12); box-shadow: 0 0 0 2px var(--accent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-logo { width: clamp(280px, 42vw, 460px); margin: 0 auto; animation: floaty 7s ease-in-out infinite; }
[data-theme="graphite"] .hero-logo, [data-theme="oak"] .hero-logo { filter: drop-shadow(0 24px 50px rgba(0,0,0,0.5)); }
[data-theme="sand"] .hero-logo { filter: drop-shadow(0 22px 44px rgba(120,90,50,0.28)); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-claim { margin: 30px auto 0; max-width: 620px; font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-family: var(--font-display); color: var(--text); font-weight: 400; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-size: 0.9rem; letter-spacing: 0.03em; font-weight: 500; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--gold-grad); color: #23180a; box-shadow: 0 14px 30px -12px rgba(201,161,94,0.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(201,161,94,0.7); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--accent-soft); border-color: var(--accent); }

/* ==========================================================================
   Concept variants (3 design directions)
   ========================================================================== */
.variants-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .variants-grid { grid-template-columns: 1fr; } }
.variant-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  display: flex; flex-direction: column;
}
.variant-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line); }
.variant-preview { aspect-ratio: 4 / 3.2; display: grid; place-items: center; position: relative; overflow: hidden; }
.variant-preview .mini-mark { height: clamp(84px, 12vw, 120px); width: auto; position: relative; z-index: 2; }
.variant-preview .mini-word { position: relative; z-index: 2; margin-top: 14px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.05em; }
.variant-preview .mini-tag { position: relative; z-index: 2; font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; margin-top: 4px; }
/* Variant preview palettes */
.pv-graphite { background: radial-gradient(70% 70% at 50% 35%, #26262c, #141416); color: #f2ece0; }
.pv-graphite .mini-word { color: #f3d9a6; } .pv-graphite .mini-tag { color: #C9A15E; }
.pv-sand { background: radial-gradient(70% 70% at 50% 35%, #fbf7ef, #e7dcc7); color: #2c2620; }
.pv-sand .mini-word { color: #8a5f2c; } .pv-sand .mini-tag { color: #a97c3c; }
.pv-oak { background: radial-gradient(70% 70% at 50% 35%, #3c2c20, #241b14); color: #f3e7d4; }
.pv-oak .mini-word { color: #e6c184; } .pv-oak .mini-tag { color: #E0B978; }
.variant-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.variant-body .concept-tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.variant-body h3 { font-size: 1.35rem; margin-top: -4px; }
.variant-body .v-desc { color: var(--text-dim); font-size: 0.92rem; }
.variant-body .v-swatches { display: flex; gap: 8px; }
.variant-body .v-swatches span { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.variant-body .v-use { font-size: 0.78rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 2px; }
.variant-body .v-apply { margin-top: auto; padding-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; transition: 0.3s; }
.chip:hover { background: var(--accent-soft); }
.chip.is-active { background: var(--gold-grad); color: #23180a; border-color: transparent; }

/* ==========================================================================
   Story / name meaning
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.name-cards { display: grid; gap: 18px; }
.name-card { border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 24px 26px; background: var(--surface); transition: transform 0.35s var(--ease); }
.name-card:hover { transform: translateX(6px); }
.name-card h4 { font-size: 1.5rem; margin-bottom: 6px; }
.name-card .tag { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.name-card p { color: var(--text-dim); font-size: 0.95rem; margin-top: 6px; }
.big-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.3; color: var(--heading); }
.big-quote em { font-style: italic; color: var(--accent); }

/* Manifesto band */
.band { background: var(--bg-2); border-block: 1px solid var(--border); }
.manifesto { text-align: center; max-width: 900px; margin-inline: auto; }
.manifesto p { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1.45; color: var(--text); }
.manifesto p + p { margin-top: 26px; }

/* ==========================================================================
   Logo concept — 5 symbols
   ========================================================================== */
.logo-lab { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
@media (max-width: 900px) { .logo-lab { grid-template-columns: 1fr; } }
.logo-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius); background: radial-gradient(60% 60% at 50% 45%, var(--accent-soft), transparent 70%); }
.logo-stage img { width: 66%; filter: drop-shadow(0 18px 36px rgba(0,0,0,0.35)); }
.logo-stage .halo { position: absolute; inset: 8%; border: 1px dashed var(--line); border-radius: 50%; opacity: 0; transition: opacity 0.4s; }
.symbols { display: grid; gap: 12px; }
.symbol {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; transition: 0.35s var(--ease);
}
.symbol:hover, .symbol.active { border-color: var(--accent); background: var(--accent-soft); transform: translateX(4px); }
.symbol .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); }
.symbol .ico svg { width: 24px; height: 24px; }
.symbol h4 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em; color: var(--heading); }
.symbol p { font-size: 0.88rem; color: var(--text-dim); margin-top: 3px; }

/* ----- Anatomy of the mark (interactive) ----- */
.anatomy { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; } }
.anatomy-stage { position: relative; width: min(100%, 440px); margin-inline: auto; }
.anatomy-stage > img { width: 100%; display: block; filter: drop-shadow(0 22px 46px rgba(0,0,0,0.45)); }
[data-theme="sand"] .anatomy-stage > img { filter: drop-shadow(0 18px 38px rgba(120,90,50,0.28)); }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; color: #23180a;
  background: var(--gold-grad); border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer; z-index: 3; box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.3s var(--ease);
}
.hotspot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; }
.hotspot:hover, .hotspot.active { transform: translate(-50%, -50%) scale(1.28); }
.hotspot.active::before { opacity: 1; animation: ping 1.5s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.7); opacity: 0.85; } 100% { transform: scale(2.1); opacity: 0; } }
.anatomy-list { display: grid; gap: 12px; }
.el-card { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; transition: 0.35s var(--ease); }
.el-card:hover, .el-card.active { border-color: var(--accent); background: var(--accent-soft); transform: translateX(5px); }
.el-card .num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); font-family: var(--font-display); font-size: 1.15rem; transition: 0.35s var(--ease); }
.el-card.active .num, .el-card:hover .num { background: var(--gold-grad); color: #23180a; border-color: transparent; }
.el-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--heading); }
.el-card p { font-size: 0.9rem; color: var(--text-dim); margin-top: 4px; }
.logo-summary { margin-top: clamp(42px, 6vw, 68px); text-align: center; max-width: 840px; margin-inline: auto; }
.logo-summary p { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--text); }

/* ==========================================================================
   Logo variants grid
   ========================================================================== */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: 1fr; } }
.logo-cell { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.logo-cell .lc-view { aspect-ratio: 4/3; display: grid; place-items: center; padding: 22px; }
.logo-cell .lc-view svg, .logo-cell .lc-view img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-cell .lc-label { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); text-align: center; }
.on-dark { background: #141416; } .on-dark svg .word-fill { fill: #f3d9a6; }
.on-light { background: #f4eee2; }
.on-gold { background: var(--gold-grad); }
.on-oak { background: linear-gradient(135deg, #4a3420, #2a1d13); }

/* Do / Don't */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .rules { grid-template-columns: 1fr; } }
.rule-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.rule-col h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.rule-col.dont h4 { color: #d98b7a; } .rule-col.do h4 { color: #8fbf8a; }
.rule-col ul { list-style: none; display: grid; gap: 12px; }
.rule-col li { font-size: 0.9rem; color: var(--text-dim); display: flex; gap: 10px; align-items: flex-start; }
.rule-col li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.dont li svg { color: #d98b7a; } .do li svg { color: #8fbf8a; }

/* ==========================================================================
   Colors
   ========================================================================== */
.color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .color-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.swatch:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.swatch .chip-color { height: 130px; position: relative; }
.swatch .copy-hint { position: absolute; inset: auto 10px 10px auto; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,0.35); color: #fff; opacity: 0; transition: 0.3s; backdrop-filter: blur(4px); }
.swatch:hover .copy-hint { opacity: 1; }
.swatch .chip-meta { padding: 16px; }
.swatch .chip-meta .nm { font-weight: 600; font-size: 0.95rem; color: var(--heading); }
.swatch .chip-meta .val { font-size: 0.74rem; color: var(--text-dim); font-family: ui-monospace, "SF Mono", Menlo, monospace; margin-top: 6px; line-height: 1.7; }
.swatch .chip-meta .val span { display: block; }

/* ==========================================================================
   Typography specimen
   ========================================================================== */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .type-grid { grid-template-columns: 1fr; } }
.type-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; background: var(--surface); }
.type-card .role { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.type-card .fam { font-size: 1.6rem; margin: 6px 0 4px; }
.type-card .specimen-display { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin: 20px 0 8px; color: var(--heading); }
.type-card .specimen-body { font-size: 1.05rem; color: var(--text-dim); }
.type-card .glyphs { margin-top: 20px; font-size: 1.1rem; letter-spacing: 0.06em; color: var(--text); border-top: 1px solid var(--border); padding-top: 18px; word-spacing: 4px; }
.type-card .weights { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.type-card .weights span { color: var(--text-dim); font-size: 0.95rem; }
.type-card .dl { margin-top: 24px; }

/* ==========================================================================
   Feelings (6 sensations)
   ========================================================================== */
.feel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .feel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feel-grid { grid-template-columns: 1fr; } }
.feel { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; background: var(--surface); transition: 0.4s var(--ease); position: relative; overflow: hidden; }
.feel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.feel:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feel:hover::before { transform: scaleX(1); }
.feel .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); margin-bottom: 18px; }
.feel .ico svg { width: 26px; height: 26px; }
.feel h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.04em; color: var(--heading); }
.feel p { font-size: 0.9rem; color: var(--text-dim); margin-top: 8px; }

/* ==========================================================================
   Mockups / applications
   ========================================================================== */
.mock-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.mock { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.mock:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mock .m-view { position: relative; overflow: hidden; }
.mock .m-view svg { width: 100%; height: 100%; display: block; }
.mock .m-label { padding: 14px 16px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.04em; }
.mock.span-3 { grid-column: span 3; } .mock.span-2 { grid-column: span 2; } .mock.span-4 { grid-column: span 4; }
.mock.span-3 .m-view { aspect-ratio: 16/10; } .mock.span-2 .m-view { aspect-ratio: 4/3; } .mock.span-4 .m-view { aspect-ratio: 16/8; }
@media (max-width: 900px) {
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
  .mock.span-3, .mock.span-2, .mock.span-4 { grid-column: span 2; }
  .mock .m-view { aspect-ratio: 4/3 !important; }
}
@media (max-width: 560px) { .mock-grid { grid-template-columns: 1fr; } .mock.span-3, .mock.span-2, .mock.span-4 { grid-column: span 1; } }

/* ==========================================================================
   Downloads
   ========================================================================== */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; transition: 0.4s var(--ease); }
.dl-card:hover { border-color: var(--line); transform: translateY(-5px); }
.dl-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); margin-bottom: 8px; }
.dl-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; color: var(--heading); }
.dl-card p { font-size: 0.88rem; color: var(--text-dim); flex: 1; }
.dl-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dl-links a { font-size: 0.78rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); transition: 0.3s; display: inline-flex; align-items: center; gap: 6px; }
.dl-links a:hover { background: var(--accent-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 70px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer .brand-block { max-width: 340px; }
.footer .brand-block svg { width: 44px; color: var(--accent); margin-bottom: 16px; }
.footer .brand-block p { color: var(--text-dim); font-size: 0.9rem; margin-top: 10px; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-nav .col h5 { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-nav .col a { display: block; color: var(--text-dim); font-size: 0.9rem; padding: 5px 0; transition: color 0.25s; }
.footer-nav .col a:hover { color: var(--text); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-dim); }

/* Toast */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(40px); background: var(--gold-grad); color: #23180a; padding: 12px 22px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: 0.4s var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
