/* ============================================
   Pranan Brand Kit page styles
   ============================================ */

.brand-hero {
  padding: calc(var(--nav-h) + 96px) 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at top, rgba(167,139,250,0.08), transparent 60%);
  position: relative;
}
.brand-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent));
  opacity: 0.4;
}

/* Brand essence */
.essence-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(167,139,250,0.02));
}
.essence-block .container { max-width: 1100px; }
.essence-block .essence-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.essence-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 800px;
}
.essence-block h2 em { color: var(--accent-bright); font-style: italic; }
.essence-block .essence-lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(250,250,250,0.78);
  max-width: 720px;
  margin: 0 0 48px;
}
.essence-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.essence-attr {
  padding: 28px 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.essence-attr .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
}
.essence-attr .word {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1;
}
.essence-attr .desc {
  font-size: 13px;
  color: rgba(250,250,250,0.7);
  line-height: 1.5;
}

/* Sticky section nav */
.section-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.section-nav .container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.section-nav .container::-webkit-scrollbar { display: none; }
.section-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 16px 14px;
  white-space: nowrap;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.section-nav a:hover { color: var(--text); }
.section-nav a.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

/* Clearance / spacing rules */
.clearance-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.clearance-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: var(--bg);
  border-radius: 12px;
  padding: 40px;
}
.clearance-visual img { width: 96px; height: 96px; }
.clearance-box {
  position: absolute;
  inset: 40px;
  border: 1px dashed rgba(167,139,250,0.4);
  border-radius: 8px;
  pointer-events: none;
}
.clearance-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg);
  padding: 2px 8px;
}
.clearance-label.top { top: 28px; left: 50%; transform: translateX(-50%); }
.clearance-label.right { right: 28px; top: 50%; transform: translateY(-50%); }
.clearance-rules h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--text);
}
.clearance-rules p {
  font-size: 15px;
  color: rgba(250,250,250,0.78);
  line-height: 1.65;
  margin: 0 0 12px;
}
.clearance-rules p:last-child { margin-bottom: 0; }
.clearance-rules .rule {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  color: rgba(250,250,250,0.7);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.clearance-rules .rule .badge {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(167,139,250,0.15);
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 24px;
  flex-shrink: 0;
}

/* Typography pairing composition */
.type-pairing {
  margin-top: 32px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}
.type-pairing .label-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.type-pairing .display {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 720px;
}
.type-pairing .display em { color: var(--accent-bright); font-style: italic; }
.type-pairing .body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(250,250,250,0.82);
  max-width: 640px;
  margin: 0;
}
.type-pairing .meta-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Anti-pattern logo usage */
.dont-use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.dont-tile {
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.dont-tile::before {
  content: "✕";
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: rgba(239,68,68,0.18);
  color: #ef4444;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.dont-frame {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.dont-frame.bg-busy {
  background-image: linear-gradient(45deg, #ff6b6b 25%, transparent 25%), linear-gradient(-45deg, #4ecdc4 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ffe66d 75%), linear-gradient(-45deg, transparent 75%, #f38181 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.dont-frame.bg-low-contrast { background: #6d28d9; }
.dont-frame.bg-recolored { background: var(--bg); }
.dont-frame.bg-rotated { background: var(--bg); }
.dont-frame.bg-stretched { background: var(--bg); }
.dont-frame img { max-width: 80%; max-height: 80px; }
.dont-frame .recolored { filter: hue-rotate(180deg) saturate(2); }
.dont-frame .rotated { transform: rotate(15deg); }
.dont-frame .stretched { transform: scaleX(1.6); }
.dont-meta {
  padding: 12px 16px;
  border-top: 1px solid rgba(239,68,68,0.15);
  background: rgba(239,68,68,0.04);
}
.dont-meta .name {
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
}
.dont-meta .why {
  font-size: 11px;
  color: rgba(250,250,250,0.55);
  margin-top: 2px;
}
.brand-hero .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.brand-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 20px;
  max-width: 900px;
}
.brand-hero h1 em {
  color: var(--accent-bright);
  font-style: italic;
}
.brand-hero .desc {
  font-size: 18px;
  color: rgba(250,250,250,0.78);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.brand-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.brand-section:last-child { border-bottom: none; }
.brand-section .container { max-width: 1100px; }
.brand-section .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.brand-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.brand-section .section-desc {
  font-size: 17px;
  color: rgba(250,250,250,0.72);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 0 48px;
}

/* Logo gallery */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.logo-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.logo-tile:hover {
  border-color: rgba(167,139,250,0.35);
  transform: translateY(-2px);
}
.logo-tile .preview {
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--bg);
}
.logo-tile .preview.is-light {
  background: #fafafa;
}
.logo-tile .preview img,
.logo-tile .preview svg { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.logo-tile .preview .icon-only { width: 96px !important; height: 96px !important; max-width: 96px !important; max-height: 96px !important; }
.logo-tile .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.logo-tile .meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.logo-tile .meta-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.logo-tile .meta-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.logo-tile .download {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}
.logo-tile .download:hover {
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.5);
}

/* Color palette */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.color-tile {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.color-tile .swatch {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.color-tile .swatch.gradient {
  background: linear-gradient(135deg, #e0d4fc 0%, #a78bfa 50%, #6d28d9 100%);
}
.color-tile .info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.color-tile .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.color-tile .hex {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.color-tile .role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Typography specimens */
.type-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.type-tile {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.type-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.type-meta .role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}
.type-meta .family {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.type-meta .usage {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}
.type-specimen {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.type-specimen.serif { font-family: var(--font-serif); font-weight: 400; }
.type-specimen.sans { font-family: var(--font-sans); font-weight: 600; }
.type-specimen.mono { font-family: var(--font-mono); font-weight: 500; font-size: 32px; }
.type-specimen .small { font-size: 16px; line-height: 1.6; color: rgba(250,250,250,0.75); margin-top: 16px; font-weight: 400; letter-spacing: 0; }

/* Do / Don't */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dos-card, .donts-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.dos-card {
  border-color: rgba(52,211,153,0.3);
  background: linear-gradient(180deg, rgba(52,211,153,0.04), var(--surface));
}
.donts-card {
  border-color: rgba(239,68,68,0.3);
  background: linear-gradient(180deg, rgba(239,68,68,0.04), var(--surface));
}
.dos-card h3, .donts-card h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dos-card h3 { color: #34d399; }
.donts-card h3 { color: #ef4444; }
.dos-card ul, .donts-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dos-card li, .donts-card li {
  font-size: 15px;
  color: rgba(250,250,250,0.8);
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.dos-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}
.donts-card li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

/* Name and pronunciation */
.name-card {
  padding: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(167,139,250,0.08), rgba(109,40,217,0.04));
  border: 1px solid rgba(167,139,250,0.2);
  text-align: center;
}
.name-card .pronunciation {
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  color: var(--accent-bright);
  margin: 0 0 12px;
}
.name-card .meaning {
  font-size: 18px;
  color: rgba(250,250,250,0.85);
  margin: 0 0 24px;
}
.name-card .origin {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Quick downloads bar */
.download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 32px;
}
.download-bar .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.download-bar a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}
.download-bar a:hover {
  border-color: rgba(167,139,250,0.4);
  color: var(--accent-bright);
}

/* Platforms preview section */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.platform-frame {
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.platform-frame.is-light { background: #f5f5f7; }
.platform-frame.is-dark { background: #09090b; }
.platform-frame.is-chrome {
  background: #f0f0f0;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 28px, #f5f5f7 28px, #f5f5f7 100%);
}
.platform-frame.is-mac-dock {
  background: linear-gradient(180deg, #1a1a1d 0%, #2a2a2d 100%);
}
.platform-frame.is-ios {
  background: linear-gradient(135deg, #4a3380 0%, #2a1f5c 100%);
}
.platform-frame.is-android {
  background: linear-gradient(135deg, #1f1f1f 0%, #2c2c2c 100%);
}
.platform-frame.is-slack {
  background: #1a1d29;
}
.platform-frame.is-menubar {
  background: #1c1c1e;
  background-image: linear-gradient(180deg, #2a2a2c 0%, #2a2a2c 24px, #1c1c1e 24px, #1c1c1e 100%);
}

/* Chrome tab favicon mockup */
.chrome-tab {
  position: absolute;
  top: 0; left: 12px;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  padding: 6px 12px 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #5f6368;
  border: 1px solid #e8eaed;
  border-bottom: none;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chrome-tab img { width: 16px; height: 16px; flex-shrink: 0; }
.chrome-content {
  margin-top: 28px;
  padding: 24px 12px 0;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #5f6368;
  text-align: center;
}

/* iOS / Android home screen mockup */
.ios-icon-grid, .android-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 200px;
}
.ios-icon, .android-icon {
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;
  background: #1a1a1d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.android-icon { border-radius: 50%; }
.ios-icon img, .android-icon img { width: 80%; height: 80%; }
.ios-icon.placeholder, .android-icon.placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.1);
}

/* Mac Dock mockup */
.dock {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(20px);
}
.dock-item {
  width: 44px; height: 44px;
  border-radius: 22%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dock-item.placeholder {
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.15);
}

/* Slack workspace icon */
.slack-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: #19171d;
  border-radius: 12px;
}
.slack-workspace {
  width: 40px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slack-workspace img { width: 88%; height: 88%; object-fit: contain; }

/* Menu bar */
.menubar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background: #2a2a2c;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
}
.menubar-icons {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.menubar-icons img { width: 14px; height: 14px; }
.menubar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Browser favicon bar */
.browser-favicon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #202124;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.browser-favicon img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
}

/* App store / browser tab card */
.app-card {
  background: #fafafa;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.app-card img {
  width: 56px; height: 56px;
  border-radius: 12px;
}
.app-card .info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-card .name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #202124;
}
.app-card .meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #5f6368;
}
.app-card .get {
  margin-left: auto;
  background: #007aff;
  color: white;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.platform-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.platform-meta .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.platform-meta .ctx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .brand-hero { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .brand-section { padding: 64px 0; }
  .type-tile { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .type-specimen { font-size: 36px; }
  .type-specimen.mono { font-size: 24px; }
  .dos-donts { grid-template-columns: 1fr; }
  .name-card { padding: 32px 20px; }
  .name-card .pronunciation { font-size: 36px; }
}

/* === BRAND SECTION ADDITIONS: CTA, PHOTOGRAPHY, TEMPLATES, SOCIAL === */

/* CTA section */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.cta-tile {
  background: rgba(167,139,250,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.cta-tile-block {
  grid-column: 1 / -1;
}
.cta-tile-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250,250,250,0.62);
  margin-bottom: 24px;
}
.cta-preview {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  padding: 32px 24px;
  background: rgba(9,9,11,0.5);
  border-radius: 10px;
  min-height: 120px;
  justify-content: center;
}
.cta-preview .btn-primary,
.cta-preview .btn-ghost {
  pointer-events: none;
}
.cta-block-preview {
  background: linear-gradient(135deg, rgba(167,139,250,0.08), rgba(109,40,217,0.06));
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 24px;
}
.cta-block-preview h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-block-preview p {
  color: rgba(250,250,250,0.7);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.cta-block-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-specs {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(250,250,250,0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: auto;
}
.cta-rules {
  background: rgba(250,250,250,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.cta-rules .label-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cta-rules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cta-rules li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(250,250,250,0.82);
  padding: 10px 0;
  border-bottom: 1px solid rgba(250,250,250,0.05);
  padding-left: 20px;
  position: relative;
}
.cta-rules li:last-child { border-bottom: none; }
.cta-rules li::before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Photography section */
.photo-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.photo-rule {
  background: rgba(250,250,250,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.photo-rule.do { border-left: 3px solid var(--green); }
.photo-rule.dont { border-left: 3px solid rgba(250,250,250,0.3); }
.rule-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.photo-rule.do .rule-tag { color: var(--green); }
.photo-rule.dont .rule-tag { color: rgba(250,250,250,0.55); }
.photo-rule h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.photo-rule p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(250,250,250,0.72);
}
.photo-mood {
  background: rgba(167,139,250,0.04);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 14px;
  padding: 32px;
}
.photo-mood .label-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.mood-tile {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250,250,250,0.05);
}
.mood-tile-1 { background: radial-gradient(ellipse at 30% 70%, #2a1844 0%, #0e0a1f 60%, #09090b 100%); }
.mood-tile-2 { background: radial-gradient(ellipse at 70% 30%, #4a2870 0%, #1a0f3d 50%, #09090b 100%); }
.mood-tile-3 {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(167,139,250,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #09090b 0%, #1a0a2a 100%);
}
.mood-tile-4 {
  background:
    radial-gradient(circle at 80% 20%, rgba(196,181,253,0.25) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(109,40,217,0.3) 0%, transparent 50%),
    #0e0a1f;
}
.mood-tile span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250,250,250,0.7);
  letter-spacing: 0.5px;
}
.mood-note {
  font-size: 13.5px;
  color: rgba(250,250,250,0.6);
  font-style: italic;
  line-height: 1.6;
}

/* Page/Blog templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.template-tile {
  background: rgba(250,250,250,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.template-preview-wrapper {
  background: #09090b;
  border-bottom: 1px solid rgba(250,250,250,0.05);
  aspect-ratio: 1200 / 630;
  overflow: hidden;
}
.template-preview {
  display: block;
  width: 100%;
  height: 100%;
}
.template-meta {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.template-meta h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.template-meta p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(250,250,250,0.65);
  margin-bottom: 18px;
  flex: 1;
}
.template-download {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(167,139,250,0.3);
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
  align-self: flex-start;
}
.template-download:hover {
  background: rgba(167,139,250,0.12);
  border-color: var(--accent);
  color: var(--accent-bright);
}

/* Social templates */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.social-tile {
  background: rgba(250,250,250,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.social-tile-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250,250,250,0.62);
  margin-bottom: 16px;
}
.social-preview-wrapper {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(250,250,250,0.05);
  background: #0e0a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}
.social-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.social-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(250,250,250,0.65);
  margin-bottom: 16px;
  flex: 1;
}
.social-rules {
  background: rgba(250,250,250,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.social-rules .label-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.social-rules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-rules li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(250,250,250,0.82);
  padding: 10px 0;
  border-bottom: 1px solid rgba(250,250,250,0.05);
  padding-left: 20px;
  position: relative;
}
.social-rules li:last-child { border-bottom: none; }
.social-rules li::before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Section nav: scrollable on mobile */
.section-nav .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-nav .container::-webkit-scrollbar { display: none; }
.section-nav .container > a {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr; gap: 20px; }
  .photo-rules-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .photo-rules-grid { grid-template-columns: 1fr; }
  .mood-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mood-tile { aspect-ratio: 4 / 3; }
  .template-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .cta-block-preview { padding: 32px 20px; }
  .cta-block-preview h3 { font-size: 26px; }
}
