/*
 * Logos showcase page styles.
 *
 * Ported from the design handoff (slotique-logos.html). Page-specific —
 * loaded only on /logos via stylesheet_link_tag.
 *
 * Each `.ab` is one "artboard" card; each variant adds its own background
 * and stage layout on top of the shared chrome.
 */

.canvas {
  background: #EFE6DD;
  min-height: 100vh;
  padding: 56px 24px 96px;
}
.canvas-header {
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: center;
}
.canvas-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.canvas-header p { color: rgba(42, 31, 26, 0.55); margin: 0; }

.section {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  font-weight: 700;
  margin: 64px 0 16px;
}

.ab {
  position: relative;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 24px 48px -24px rgba(74, 46, 39, 0.18);
  overflow: hidden;
}
.ab-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(42, 31, 26, 0.55);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.ab-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 32px 0;
}
.swatch-row { display: flex; gap: 8px; align-items: center; }
.swatch {
  width: 14px; height: 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ---------- v1: horizontal lockup ---------- */
.v1 { background: var(--cream); }
.v1-stage { display: flex; align-items: center; gap: 32px; }
.v1-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 96px;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 0.95;
}
.v1-name .dot { color: var(--rose); }
.v1-tag {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-weight: 600;
}

/* ---------- v2: stacked badge ---------- */
.v2 {
  background: linear-gradient(160deg, var(--blush-light) 0%, var(--cream) 60%, var(--blush-pale) 100%);
}
.v2::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), transparent 70%);
  transform: translate(-20%, -10%);
  pointer-events: none;
}
.v2 .ab-meta { position: relative; z-index: 2; }
.v2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 38px 56px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 36px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 48px -24px rgba(74, 46, 39, 0.18);
  position: relative;
  z-index: 2;
}
.v2-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rose-gold);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 700;
}
.v2-rule::before, .v2-rule::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.v2-tag {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-weight: 700;
  margin-top: -6px;
}

/* ---------- v3: icon-only / mark ---------- */
.v3 {
  background: radial-gradient(120% 80% at 30% 20%, #FBE3E1 0%, #F4C7C5 60%, #E89B98 100%);
}
.v3 .ab-meta { color: rgba(42, 31, 26, 0.65); }
.v3-frame {
  width: 380px;
  height: 380px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 60px -20px rgba(74, 46, 39, 0.25),
    0 0 0 14px rgba(255, 255, 255, 0.3);
  position: relative;
}
.v3-ring {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.6);
}

/* ---------- v4: iOS app icon ---------- */
.v4 { background: linear-gradient(180deg, #2A1F1A 0%, #4F362B 100%); }
.v4 .ab-meta { color: rgba(255, 255, 255, 0.5); }
.v4-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 36px;
  align-items: center;
  justify-items: center;
}
.ios-cell { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ios-icon {
  width: 220px;
  height: 220px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 24px 48px -12px rgba(0, 0, 0, 0.4),
    0 8px 16px -8px rgba(0, 0, 0, 0.3);
}
.ios-icon.primary  { background: radial-gradient(120% 90% at 30% 20%, #FBE3E1 0%, #F4C7C5 50%, #E89B98 100%); }
.ios-icon.cream    { background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, #FBF6F0 60%, #F4ECE0 100%); }
.ios-icon.deep     { background: radial-gradient(120% 90% at 30% 20%, #5C3A30 0%, #3A2520 60%, #2A1814 100%); }
.ios-icon.gradient { background: radial-gradient(120% 90% at 30% 20%, #F8D4C2 0%, #C99B7C 50%, #A87257 100%); }
.ios-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- v5: favicon ---------- */
.v5 { background: var(--cream); }
.v5 .ab-stage { min-height: 280px; }
.v5-row { display: flex; align-items: flex-end; justify-content: center; gap: 36px; flex-wrap: wrap; }
.fav { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fav-tile {
  background: var(--rose);
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(201, 123, 123, 0.5);
}
.fav-tile.cream { background: var(--cream); box-shadow: 0 8px 18px -6px rgba(74, 46, 39, 0.18); }
.fav-tile.deep  { background: var(--ink);   box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.3); }
.fav-size {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  font-weight: 600;
}

/* ---------- system cards ---------- */
.system { background: var(--cream); }
.system .ab-stage { min-height: 320px; }
.pal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  width: 100%;
}
.pal-cell {
  height: 200px;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  font-size: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.pal-cell .name { font-weight: 700; font-size: 13px; }
.pal-cell .hex  { opacity: 0.7; font-variant-numeric: tabular-nums; }
.pal-light { color: var(--cream); }

.type-rows {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}
.type-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  font-weight: 600;
}
.type-spec  { color: rgba(42, 31, 26, 0.55); font-size: 13px; margin-top: 6px; }
.type-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 80px;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  margin-top: 8px;
}
.type-wordmark .dot { color: var(--rose); }
.type-headline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin-top: 6px;
}
.type-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: rgba(42, 31, 26, 0.7);
  margin-top: 4px;
  max-width: 520px;
}
