/* ─────────────────────────────────────────────────────
   AriMonton CharCreator — Stylesheet
   ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Federo&display=swap');


/* ── VARIABLES ── */
:root {
  --bg-darkest:    #111418;
  --bg-dark:       #1a1e24;
  --bg-mid:        #22272f;
  --bg-panel:      #2a3040;
  --bg-panel-light:#323a4a;
  --accent-cyan:   #7fb3d5;
  --accent-cyan-dim:#5a7fa3;
  --accent-yellow: #e8c84a;
  --text-primary:  #e8eaf0;
  --text-secondary:#8a9ab0;
  --text-muted:    #556070;
  --border:        #3a4455;
  --border-light:  #4a5568;
  --selected:      #5bc8d8;
  --btn-bg:        #2a3040;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── GLOBAL LINKS ── */
a { color: var(--accent-cyan); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ── LOADING SCREEN ── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-darkest);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#loading-screen.fade-out { opacity: 0; pointer-events: none; }

.loading-content {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.loading-dots {
  display: flex;
  gap: 0.2rem;
}

.loading-dots span {
  display: inline-block;
  opacity: 0;
  animation: loading-dot 1.2s infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.loading-dots span::after { content: '.'; }

@keyframes loading-dot {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* ── BASE ── */
body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg-darkest);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  background: var(--bg-darkest);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  height: 28px;
  width: auto;
}

.back-btn-svg {
  height: 60px;
  width: auto;
  display: block;
}

.nav-btn.portfolio {
  padding: 0.2rem 0.4rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.nav-btn:hover { color: var(--accent-cyan); }

/* ── DROPDOWN ── */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  min-width: 220px;
  z-index: 200;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-item {
  display: block;
  padding: 0.85rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--bg-panel);
  color: var(--text-primary);
}

/* ── BACKGROUND CHARACTER ── */
.bg-character {
  position: fixed;
  left: 0;
  top: 72px;
  transform: translateX(-50%);
  height: calc(100vh - 72px - 48px);
  width: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ── MAIN LAYOUT ── */
.creator-layout {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── LEFT PANEL ── */
.left-panel {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  width: 300px;
  flex-shrink: 0;
  max-height: 100%;
  overflow: hidden;
}

.tab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.tab {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg-mid);
  color: var(--text-muted);
  border: none;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.tab.active {
  background: var(--bg-dark);
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* ── FEATURES PANEL ── */
.features-panel         { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.features-panel.active  { display: flex; }

.feature-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.6rem 1rem;
  color: var(--accent-cyan);
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.thumbnail-carousel {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.carousel-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all 0.2s;
  align-self: stretch;
}

.carousel-arrow:hover    { background: var(--bg-panel-light); color: var(--text-primary); }
.carousel-arrow:disabled { opacity: 0.25; pointer-events: none; }
.carousel-arrow.hidden   { visibility: hidden; pointer-events: none; }

.carousel-thumbs {
  display: grid;
  grid-template-rows: 68px 68px;
  grid-auto-flow: column;
  grid-auto-columns: 68px;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.carousel-thumbs.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.carousel-thumbs::-webkit-scrollbar { display: none; }

.thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: #DDE5EC;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.thumb:hover    { border-color: var(--border-light); }
.thumb.selected { border-color: var(--accent-cyan); }

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-none {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

.feature-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.carousel-slot {
  overflow: hidden;
  max-height: 0;
}

.carousel-slot.open {
  max-height: 200px;
}

.carousel-slot .thumbnail-carousel {
  border-top: none;
  border-bottom: 1px solid var(--border);
}

.feature-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-btn:hover  { background: var(--bg-panel); color: var(--text-primary); }
.feature-btn.active { background: var(--bg-panel); color: var(--accent-cyan); }

.feature-btn .check {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: none;
}

.feature-btn.has-selection .check { display: block; }

/* ── PANEL ACTIONS (undo / reset) ── */
.panel-actions {
  display: flex;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
}

.panel-action-btn {
  flex: 1;
  padding: 0.65rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg-mid);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.panel-action-btn:last-child { border-right: none; }
.panel-action-btn:hover { background: var(--bg-panel); color: var(--text-primary); }

/* ── COLORS PANEL ── */
.colors-panel        { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.colors-panel.active { display: flex; }

.color-section {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.color-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatch {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.swatch:hover    { transform: scale(1.1); }
.swatch.selected { border-color: var(--text-primary); box-shadow: 0 0 0 1px var(--accent-cyan); }

.swatch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heterochromia-section { padding-bottom: 0; }

.heterochromia-btn {
  width: 100%;
  padding: 6px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.heterochromia-btn:hover { border-color: var(--accent-cyan); }

/* ── CENTER PANEL (PREVIEW) ── */
.center-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}

.preview-container {
  position: relative;
  height: calc((100vh - 72px - 48px - 3rem) * 0.8);
  width: auto;
  aspect-ratio: 3/4;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  overflow: hidden;
}

.preview-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
}

.preview-watermark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  text-align: center;
}

.preview-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  z-index: 60;
}

.preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 1;
}

.preview-placeholder svg { width: 64px; height: 64px; opacity: 0.15; }

.preview-placeholder p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.action-bar {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.action-btn {
  flex: 1;
  padding: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--btn-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover { background: var(--bg-panel-light); color: var(--text-primary); }

.action-btn.primary {
  background: var(--accent-cyan);
  color: var(--bg-darkest);
  border-color: var(--accent-cyan);
  font-weight: 800;
}

.action-btn.primary:hover { background: #7ad8e8; }

/* ── RIGHT PANEL ── */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  width: 240px;
  align-self: flex-start;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  border: 1px solid var(--border);
}

.right-panel::-webkit-scrollbar { width: 4px; }
.right-panel::-webkit-scrollbar-track { background: transparent; }
.right-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.side-dropdown { display: flex; flex-direction: column; }

.right-nav-btn {
  width: 100%;
  padding: 0.7rem 0.75rem;
  background: var(--bg-dark);
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.right-nav-btn::after {
  content: '›';
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
  opacity: 0.5;
}

.right-nav-btn:hover { background: var(--bg-panel); }
.right-nav-btn.active { background: var(--bg-panel); border-bottom-color: transparent; }
.right-nav-btn.active::after { transform: rotate(90deg); opacity: 1; }

/* ── ABOUT PANEL ── */
.about-body {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.about-body strong { color: var(--text-primary); }

.about-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.about-brand span { color: var(--accent-cyan); }

/* ── DEBUG TERMINAL ── */
#debug-panel {
  position: fixed;
  bottom: 48px; /* sit just above the footer */
  left: 50%;
  transform: translateX(-50%);
  /* match the preview container width: height * (3/4) */
  width: calc((100vh - 72px - 48px - 3rem) * 0.6);
  z-index: 200;
  flex-direction: column;
  background: #0d1117;
  border: 1px solid var(--border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  overflow: hidden;
}

.debug-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.75rem;
  background: #161b22;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.debug-title {
  color: #4ade80;
  font-weight: bold;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.debug-title kbd {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  padding: 0 4px;
  border-radius: 3px;
  font-size: 0.62rem;
  color: var(--text-secondary);
  margin-left: 5px;
  font-family: inherit;
}

.debug-actions { display: flex; gap: 0.4rem; }

.debug-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  padding: 0.15rem 0.55rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}

.debug-btn:hover { background: var(--bg-panel-light); color: var(--text-primary); }

.debug-log {
  max-height: min(220px, calc(100vh - 72px - 48px - 80px));
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.debug-log::-webkit-scrollbar { width: 4px; }
.debug-log::-webkit-scrollbar-track { background: transparent; }
.debug-log::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }

.dbg { color: #4ade80; white-space: pre; line-height: 1.55; }
.dbg.sep  { color: #2a3a2a; }
.dbg.info { color: var(--accent-cyan); }
.dbg.warn { color: var(--accent-yellow); }
.dbg.err  { color: #f87171; }
.dbg.dim  { color: var(--text-muted); }

.debug-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-top: 1px solid var(--border-dark);
}
.debug-prompt { color: var(--text-muted); font-size: 0.8rem; line-height: 1; }
.debug-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #4ade80;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  caret-color: #4ade80;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-darkest);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-icon-link:hover { opacity: 1; }

.footer-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.footer-url:hover { color: var(--accent-cyan); }

/* ── SIDE DROPDOWNS ── */
.side-dropdown-panel {
  overflow: hidden;
  max-height: 0;
  background: var(--bg-mid);
  border-bottom: 0px solid var(--border);
  transition: max-height 0.32s ease, border-bottom-width 0s 0.32s;
}

.side-dropdown-panel.open {
  max-height: 1000px;
  border-bottom: 1px solid var(--border);
  transition: max-height 0.35s ease;
}

/* ── MODALS ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #0a0a0a;
  border: 2px solid var(--accent-cyan);
  border-radius: 20px;
  max-width: 672px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  text-align: center;
  animation: fadeUp 0.2s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  transition: color 0.15s;
}

.modal-close:hover { color: var(--accent-cyan); }

.modal h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.modal .beta-note {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal .cta-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.modal-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 0.8rem;
  justify-content: center;
}

.modal-action-btn {
  padding: 0.3rem 2rem;
  background: transparent;
  border: 2px solid var(--accent-cyan);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 160px;
  white-space: nowrap;
}

.modal-action-btn:hover {
  background: var(--accent-cyan);
  color: #0a0a0a;
}

.modal-action-btn.vgen-btn {
  background: transparent;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.modal-action-btn.vgen-btn img {
  max-height: 42px;
  width: auto;
  transition: opacity 0.2s;
}

.modal-action-btn.vgen-btn:hover img {
  opacity: 0.8;
}

.modal-action-labels {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-action-labels span {
  font-size: 0.7rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: 1;
  min-width: 140px;
}

.buy-response-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  text-align: center;
  margin: 0.5rem 0 0;
}

.modal-thank {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.modal-footnote {
  font-size: 0.75rem;
  color: var(--text-primary);
  font-style: normal;
  letter-spacing: 0.05em;
}

.modal-footnote-link {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

.modal-footnote-link:hover {
  opacity: 0.8;
}

/* ── HOW IT WORKS MODAL ── */
.steps {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.step-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.step-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── PRICING MODAL ── */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
  text-align: left;
}

.price-tier { padding: 1rem; border-bottom: 1px solid var(--border); }

.price-tier-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
}

.price-amounts {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.price-features {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Allow vertical scrolling on mobile */
  body {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  /* Hide background character — no room on mobile */
  .bg-character { display: none; }

  /* Stack layout vertically */
  .creator-layout {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  /* ── CENTER PANEL first, action-bar above preview ── */
  .center-panel {
    order: 1;
    width: 100%;
    flex-direction: column-reverse; /* puts action-bar above preview-container */
    align-items: center;
    gap: 0.75rem;
  }

  /* Preview: width-driven, centred */
  .preview-container {
    height: auto;
    width: min(280px, 80vw);
    aspect-ratio: 3/4;
  }

  /* Action bar: full width */
  .action-bar {
    width: min(280px, 80vw);
  }

  /* ── LEFT PANEL second, horizontal design ── */
  .left-panel {
    order: 2;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  /* Feature buttons become a horizontal scrollable row */
  .feature-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .feature-list::-webkit-scrollbar { display: none; }

  .feature-item {
    flex-shrink: 0;
    flex-direction: row;
  }
  .carousel-slot { display: none; }

  .feature-btn {
    width: auto;
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 0.65rem 1.1rem;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .feature-item:last-child .feature-btn { border-right: none; }

  /* Restore carousel to top of features panel on mobile */
  .feature-list       { order: 2; }
  .thumbnail-carousel { order: 1; border-top: none; border-bottom: 1px solid var(--border); }

  /* Carousel: single row on mobile, smaller thumbs */
  .carousel-thumbs {
    grid-template-rows: 60px;
  }
  .thumb { width: 60px; height: 60px; }

  /* ── RIGHT PANEL — hide on mobile ── */
  .right-panel { display: none; }

  /* Shrink header slightly */
  header { padding: 0 1rem; }
  header .logo { font-size: 1.1rem; }
}

/* ─────────────────────────────────────────────────────
   SHARED — Site header, nav, footer (all pages)
   ───────────────────────────────────────────────────── */

:root {
  --accent-lime: var(--accent-cyan);
  --font-main: 'Montserrat', sans-serif;
}

.site-header {
  background: var(--bg-darkest);
  padding: 0.75rem 2rem;
  height: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  line-height: 1;
}

.site-logo {
  font-family: var(--font-main);
  font-size: 1.14rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.logo-bold { font-weight: 800; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  line-height: 1;
}

.site-nav a {
  font-family: 'Federo', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s;
  line-height: 1;
}

.site-nav a:hover { color: var(--text-primary); }
.site-nav a.active { color: var(--accent-cyan); }

.site-artist {
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.site-artist:hover { color: var(--text-primary); }

/* Site footer */
.site-footer {
  background: var(--bg-darkest);
  padding: 1.92rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.site-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.footer-link:hover { opacity: 1; }

.footer-vgen { height: 26px; width: auto; display: block; }
.footer-link .footer-icon { width: 24px; height: 24px; display: block; }

.footer-artist {
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 1 !important;
}

.site-footer .footer-copy {
  font-family: var(--font-main);
  font-size: 0.78rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

/* Shared page body base */
body.page-scrollable {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
}

/* Shared page section */
.page-section {
  padding: 4rem 2rem;
}

.page-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Shared heading style */
.page-heading {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.page-subheading {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Shared button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-primary);
  transition: all 0.2s;
}
.btn:hover { background: var(--bg-panel-light); }

.btn-primary {
  background: var(--accent-cyan);
  color: #111;
  border-color: var(--accent-cyan);
  font-weight: 800;
}
.btn-primary:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-secondary); }

/* ─────────────────────────────────────────────────────
   EDITOR PAGE (editor.html) — new layout
   ───────────────────────────────────────────────────── */

body.editor-body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-main);
  background: var(--bg-darkest);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Decorative character art on left/right sides */
.editor-bg-char {
  position: fixed;
  top: 50%;
  transform: translateY(-45%);
  height: 82vh;
  width: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.35;
}
.editor-bg-left  { left: 0;  transform: translateY(-45%) translateX(-50%); }
.editor-bg-right { right: 0; transform: translateY(-45%) translateX(50%) scaleX(-1); }

/* Centered editor container */
.editor-center {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  width: 100%;
  flex: 1;
}

/* Main two-panel row */
.editor-row {
  display: flex;
  gap: 1.5625rem;
  align-items: flex-start;
}

/* ── LEFT: column wrapper for controls + floating buttons ── */
.editor-left-col {
  width: 381.6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* ── LEFT: Controls box ── */
.editor-controls {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 600px;
}

/* Floating action buttons below controls */
.editor-floating-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
.ed-float-btn {
  padding: 0.625rem 0.375rem;
  font-family: var(--font-main);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 12.5px;
  border: 2px solid var(--accent-cyan);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.ed-float-btn:hover { background: rgba(91,200,216,0.12); }
.ed-float-btn.upgrade {
  grid-column: 1 / -1;
  max-width: 70%;
  justify-self: center;
  padding: 0.8125rem 0.625rem;
  font-size: 1.25rem;
}

/* Icon strip with arrows */
.icon-strip-wrap {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.icon-strip-arr {
  width: 35px;
  flex-shrink: 0;
  background: var(--bg-mid);
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.icon-strip-arr:last-child { border-right: none; border-left: 1px solid var(--border); }
.icon-strip-arr:hover { background: var(--bg-panel); color: var(--text-primary); }

.icon-strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  background: var(--bg-mid);
  gap: 3.75px;
  padding: 5px;
}
.icon-strip::-webkit-scrollbar { display: none; }

.icon-btn {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
}
.icon-btn:hover { background: var(--bg-panel-light); }
.icon-btn.active {
  background: rgba(91,200,216,0.18);
  border-color: var(--accent-cyan);
}
.icon-btn img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

/* Sub-category row (clothes categories / piercing types) */
.subcat-row {
  display: flex;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subcat-row::-webkit-scrollbar { display: none; }
.subcat-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
  /* text fallback for categories without an icon */
  font-family: var(--font-main);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.subcat-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.subcat-icon:hover { background: var(--bg-panel-light); }
.subcat-icon.active {
  background: rgba(91,200,216,0.18);
  border-color: var(--accent-cyan);
}

/* Context swatches area */
.ctx-swatches {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 36px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ctx-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ctx-label {
  font-family: var(--font-main);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.ctx-swatches .heterochromia-btn {
  font-family: var(--font-main);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  color: var(--text-secondary);
}

/* Thumbnail grid */
.grid-wrap {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  min-height: 200px;
}
.grid-wrap::-webkit-scrollbar { width: 4px; }
.grid-wrap::-webkit-scrollbar-thumb { background: var(--border); }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6.25px;
  padding: 10px;
}

.thumb-grid .thumb {
  width: auto;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* Editor action buttons */
.editor-btns {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.editor-btn-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.ed-btn {
  flex: 1;
  padding: 0.55rem 0.4rem;
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg-mid);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.ed-btn:last-child { border-right: none; }
.ed-btn:hover { background: var(--bg-panel); color: var(--text-primary); }

.ed-btn.upgrade {
  background: var(--accent-cyan);
  color: #111;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  padding: 0.75rem;
  border-right: none;
}
.ed-btn.upgrade:hover { background: var(--accent-cyan-dim); }

/* ── RIGHT: Preview box ── */
.editor-preview {
  width: 500px;
  flex-shrink: 0;
  background: var(--bg-panel);
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.preview-panel {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-mid);
  overflow: hidden;
}

.ed-save-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-main);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
  border-radius: 10px 0 0 0;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 1;
  transition: background 0.15s, color 0.15s;
}
.ed-save-btn:hover { background: var(--bg-mid); color: var(--text-primary); }

/* Order modal */
#order-modal { display: none; }
#order-modal.open { display: flex; }

/* ── Watermark note ── */
.watermark-note {
  font-size: 0.68rem;
  color: var(--font-main);
  letter-spacing: 0.04em;
  text-align: center;
  font-style: italic;
  margin: 1rem 0;
  font-family: var(--font-main);
}

/* ── Info row: steps + pricing ── */
.editor-info-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  overflow: hidden;
}

.editor-steps-box {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.25rem;
}

.editor-pricing-box {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.75rem 1.25rem;
  background-image: linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px);
  background-position: left 1.25rem;
  background-size: 100% calc(100% - 1.5rem);
  background-repeat: no-repeat;
}

.editor-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.editor-step {}

.editor-step-num {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.editor-step-title {
  font-family: var(--font-main);
  font-size: 0.72rem;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Pricing table */
.ed-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
  font-size: 0.68rem;
}

.ed-pricing-table thead tr {
  border-bottom: none;
}

.ed-pricing-table th {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 0 0.5rem 0.3rem;
  text-align: right;
  font-size: 0.68rem;
}
.ed-pricing-table th.ed-pt-label {
  text-align: left;
  padding-left: 0;
  color: var(--accent-cyan);
  font-size: 1.15rem;
}

.ed-pricing-table td {
  padding: 0.2rem 0.5rem;
  color: var(--text-primary);
  text-align: right;
  border-bottom: none;
}
.ed-pricing-table td:first-child {
  text-align: left;
  padding-left: 0;
  color: var(--text-primary);
  font-weight: 500;
}
.ed-pricing-table tbody tr:last-child td { border-bottom: none; }

/* ─────────────────────────────────────────────────────
   LANDING PAGE (index.html)
   ───────────────────────────────────────────────────── */

body.landing-body {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
  background: var(--bg-darkest);
}

.landing-main { flex: 1; }

/* ── Shared landing button ── */
.lp-btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lp-btn:hover { background: rgba(91,200,216,0.1); border-color: var(--accent-cyan); }

.lp-btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

/* Lime accent helpers */
.lp-lime      { color: var(--accent-cyan); }
.lp-lime-bold { color: var(--accent-cyan); font-weight: 800; }

/* ── HERO ── */
/* Shared placeholder image — constrained width, centered */
.lp-placeholder-img {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
}

/* BG_01 spans hero through How It Works */
.lp-bg1-wrap {
  background: var(--bg-darkest) url('Media/Backgrounds/BG_01.png') no-repeat center top / cover;
  position: relative;
}
.lp-bg1-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.55);
  pointer-events: none;
  z-index: 0;
}
.lp-bg1-wrap > * { position: relative; z-index: 1; }
.lp-bg1-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #111418);
  pointer-events: none;
  z-index: 2;
}

.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 0;
  background: transparent;
}

.lp-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-darkest);
}

.lp-hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(26, 30, 36, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lp-hero-the {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.1rem;
}

.lp-hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.lp-hero-title .lp-lime { font-weight: 800; }

.lp-hero-sub {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--accent-cyan);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.lp-hero-sub em { font-style: italic; }

.lp-no-signup {
  font-family: var(--font-main);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}

/* ── DESCRIPTION ── */
.lp-desc {
  padding: 4rem 2rem;
  background: transparent;
}

.lp-desc-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lp-desc-inner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lp-desc-inner strong {
  color: var(--text-primary);
  font-weight: 700;
}

.lp-tagline {
  color: var(--text-primary);
}

/* ── STATS ── */
.lp-stats {
  padding: 2.5rem 2rem;
  text-align: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.lp-stats p {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* ── CAROUSEL ── */
.lp-carousel-section {
  padding: 2.5rem 0 3rem;
  background: transparent;
  overflow: hidden;
}

.lp-carousel-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lp-carousel-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.lp-carousel-arrow {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  padding: 0 0.5rem;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.15s;
}
.lp-carousel-arrow:hover { color: var(--text-primary); transform: scale(1.2); }

.lp-carousel-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 0 4px;
}
.lp-carousel-track::-webkit-scrollbar { display: none; }

.lp-carousel-item {
  flex-shrink: 0;
  width: 160px;
  height: 212px;
  background: var(--bg-panel);
  overflow: hidden;
  border-radius: 12px;
}
.lp-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-carousel-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-carousel-placeholder span {
  font-family: var(--font-main);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lp-carousel-footer {
  text-align: center;
  margin-top: 1.5rem;
}

/* ── HOW IT WORKS ── */
.lp-how {
  background: transparent;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
}

.lp-how-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.lp-how-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lp-how-title {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.lp-how-media-placeholder {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/9;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-how-media-placeholder span {
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}
/* When video/gif is provided, hide the placeholder and show the media */
.lp-how-media-placeholder video,
.lp-how-media-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lp-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.lp-how-step { display: flex; flex-direction: column; gap: 0.4rem; }

.lp-how-num {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.lp-how-step-title {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lp-how-step-body {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── PRICING PREVIEW ── */
.lp-bg2-wrap {
  background: var(--bg-darkest) url('Media/Backgrounds/BG_02.png') no-repeat center center / cover;
  position: relative;
  margin-top: 40px;
}

.lp-bg2-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.55);
  pointer-events: none;
  z-index: 0;
}

.lp-bg2-wrap > * { position: relative; z-index: 1; }
.lp-bg2-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, transparent, #111418);
  pointer-events: none;
  z-index: 2;
}

.lp-pricing {
  padding: 4rem 2rem;
}

.lp-pricing-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.lp-pricing-title {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.15;
}

.lp-pricing-sub {
  font-size: 0.65em;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.lp-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.lp-pricing-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
}

.lp-pricing-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--accent-cyan);
}
.lp-pricing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-pricing-img-placeholder {
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-pricing-card-body {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.lp-pricing-tier {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.lp-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.lp-pricing-features li {
  font-size: 0.72rem;
  color: var(--text-primary);
  line-height: 1.45;
  padding-left: 0.9rem;
  position: relative;
}
.lp-pricing-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-primary);
}

/* ── CUSTOM ART ── */
.lp-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-custom-img {
  width: 100%;
  max-width: 640px;
  display: block;
  object-fit: cover;
}

.lp-custom-content {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
}

.lp-custom-title {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.lp-custom-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CONTACT CTA ── */
.lp-contact-cta {
  padding: 3.5rem 2rem;
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lp-contact-cta-text {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: normal;
}

/* ─────────────────────────────────────────────────────
   PRICING PAGE
   ───────────────────────────────────────────────────── */

body.pricing-body {
  min-height: 100vh;
  overflow-y: auto;
  font-family: var(--font-main);
  background: var(--bg-darkest);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Full-page background */
.pricing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('Media/Pricing/25_09_13_2_1920.png') no-repeat center center / cover;
}
.pricing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.82);
}

.pricing-main {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero text (no box) */
.pricing-hero {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
  font-family: var(--font-main);
}
.pricing-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.pricing-hero-sub {
  font-size: 0.88rem;
  color: var(--text-primary);
  letter-spacing: normal;
  margin-bottom: 0.75rem;
}
.pricing-hero-body {
  font-size: 0.75rem;
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Shared rounded box */
.pr-box {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-main);
}

/* Section: standalone portrait left + card(s) right */
/* Each section centres independently — no cross-row alignment */
.pr-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.pr-portrait-col {
  flex-shrink: 0;
  width: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.pr-portrait-col .pr-btn { align-self: center; }

.pr-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--accent-cyan);
  display: block;
}

/* Single card (FREE TIER) — wider so text wraps less */
.pr-section-card {
  width: 280px;
  flex-shrink: 0;
}

/* Two cards side by side (sketch / render rows) */
.pr-cards-pair {
  display: grid;
  grid-template-columns: 255px 255px;
  gap: 1rem;
}

/* Content area */
.pr-content {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pr-tier-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.pr-tier-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.pr-tier-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}

.pr-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pr-features li {
  font-size: 0.72rem;
  color: var(--text-primary);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.4;
}
.pr-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Buttons */
.pr-btn {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  transition: all 0.2s;
  align-self: flex-start;
}
.pr-btn-primary {
  background: var(--accent-cyan);
  color: #111418;
}
.pr-btn-primary:hover { background: var(--accent-cyan-dim); color: var(--text-primary); }
.pr-btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-cyan);
}
.pr-btn-outline:hover { background: var(--accent-cyan); color: #111418; }

/* Bundle pricing box */
.pr-bundle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  align-self: center;
}
.pr-bundle-wrap .pr-btn { align-self: center; }
.pr-bundle {
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pr-bundle-title {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
  font-size: 0.72rem;
}
.pr-table thead tr { border-bottom: none; }
.pr-table th {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 0 0.5rem 0.4rem;
  text-align: right;
}
.pr-table th:first-child { text-align: left; padding-left: 0; }
.pr-table td {
  padding: 0.2rem 0.5rem;
  color: var(--text-primary);
  text-align: right;
  border-bottom: none;
}
.pr-table td:first-child { text-align: left; padding-left: 0; font-weight: 600; }

/* Custom art box */
.pr-custom-art {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: stretch;
  padding: 2rem 0;
}
.pr-custom-img {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 2px solid var(--accent-cyan);
  display: block;
}
.pr-custom-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.pr-custom-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.pr-custom-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.pr-custom-body {
  font-size: 0.78rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Order via row */
.pr-order-via-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0 1rem;
}
.pr-order-via-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.pr-order-via-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.pr-order-via-row > * { justify-self: center; }
.pr-via-item {
  display: contents;
}
.pr-vgen-logo-btn { height: 32px; width: auto; display: block; }
.pr-via-label {
  font-size: 0.62rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ─────────────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────────────── */

.about-section {
  padding: 4rem 2rem;
}

.about-section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-body-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.artist-section {
  padding: 4rem 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.artist-section-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.artist-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  overflow: hidden;
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-family: var(--font-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artist-bio p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.no-ai-section {
  padding: 4rem 2rem;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  text-align: center;
}

.no-ai-inner {
  max-width: 660px;
  margin: 0 auto;
}

.no-ai-inner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.thanks-section {
  padding: 3rem 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.thanks-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.thanks-card-title {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.thanks-card-name {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────
   NEWSLETTER PAGE
   ───────────────────────────────────────────────────── */

.newsletter-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: calc(100vh - 120px);
}

.newsletter-content {
  text-align: center;
  max-width: 500px;
}

.newsletter-content h1 {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.coming-soon {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 1.5rem 0;
}

.social-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  transition: all 0.2s;
  opacity: 0.6;
}
.social-link:hover { opacity: 1; background: var(--bg-panel-light); }
.social-link img { width: 22px; height: 22px; }

/* ─────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────── */

.contact-page {
  flex: 1;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-content {
  width: 100%;
  max-width: 620px;
}

.contact-content h1 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-content .page-subheading {
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-family: var(--font-main);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.82rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-status {
  font-family: var(--font-main);
  font-size: 0.75rem;
  padding: 0.65rem 1rem;
  display: none;
}
.form-status.success { display: block; color: #4ade80; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2); }
.form-status.error   { display: block; color: #f87171; background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2); }

.contact-divider {
  font-family: var(--font-main);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin: 2rem 0 1rem;
  position: relative;
}

.direct-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.direct-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.direct-link:hover { background: var(--bg-panel-light); color: var(--text-primary); }

.vgen-direct {
  border-color: #4caf7d;
  background: #1a1f2e;
  padding: 0.45rem 1rem;
}
.vgen-direct img { height: 28px; width: auto; }
.vgen-direct:hover { background: #222a40; }

/* ─────────────────────────────────────────────────────
   SHOWCASE PAGE
   ───────────────────────────────────────────────────── */

.showcase-page {
  flex: 1;
  padding: 3rem 2rem 4rem;
}

.showcase-header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.showcase-item {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  transition: border-color 0.2s;
}
.showcase-item:hover { border-color: var(--border-light); }
.showcase-item:hover .showcase-item-overlay { opacity: 1; }

/* Row 1: items 1 & 2 — landscape side by side */
.showcase-item:nth-child(1),
.showcase-item:nth-child(2) { grid-column: span 2; aspect-ratio: 3/2; }

/* Row 2: portrait | wide | portrait */
.showcase-item:nth-child(4) { grid-column: span 2; aspect-ratio: 3/2; }

/* Row 3: items 6 & 7 — landscape side by side */
.showcase-item:nth-child(6),
.showcase-item:nth-child(7) { grid-column: span 2; aspect-ratio: 3/2; }

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,20,24,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.showcase-item-credit {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
}

.showcase-item-type {
  font-family: var(--font-main);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.2rem;
  text-align: center;
}

/* Showcase lightbox */
.showcase-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.showcase-lightbox.open { display: flex; }

.lightbox-inner {
  display: flex;
  gap: 1.5rem;
  max-height: 85vh;
  max-width: 900px;
  width: 100%;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  z-index: 10;
  transition: color 0.15s;
}
.lightbox-close:hover { color: var(--text-primary); }

.lightbox-sketches {
  width: 130px;
  flex-shrink: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox-sketch-item {
  padding: 0.4rem;
}

.lightbox-sketch-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.lightbox-sketch-label {
  font-family: var(--font-main);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 0.25rem;
}

.lightbox-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  min-width: 0;
}

.lightbox-img-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.lightbox-nav-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-nav-btn:hover { background: var(--bg-panel-light); color: var(--text-primary); }

.lightbox-meta {
  text-align: center;
  margin-top: 0.5rem;
}

.lightbox-type {
  font-family: var(--font-main);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.lightbox-credit {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.2rem;
}

/* ─────────────────────────────────────────────────────
   MOBILE RESPONSIVE — new pages
   ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .site-header { padding: 0 1rem; }
  .site-nav a { padding: 0.35rem 0.4rem; font-size: 0.62rem; }

  .editor-wrap { flex-direction: column; gap: 0.75rem; padding: 0.75rem; }
  .editor-bg-char { display: none; }
  .editor-row { flex-direction: column; }
  .editor-controls { width: 100%; }
  .editor-left-col { width: 100%; }
  .editor-preview { order: -1; width: 100%; }
  .editor-info-row { flex-direction: column; }
  .editor-steps-box { border-right: none; border-bottom: 1px solid var(--border); }
  .preview-panel {
    height: auto;
    width: min(280px, 80vw);
    aspect-ratio: 3/4;
    margin: 0 auto;
  }

  .lp-hero { padding: 2rem 1.25rem; min-height: 80vh; }
  .lp-hero-panel { padding: 2rem 1.75rem; max-width: 100%; }
  .lp-hero-title { font-size: 2.5rem; }
  .lp-how-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .lp-pricing-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .lp-stats p { font-size: 0.88rem; }
  .tier-cards { grid-template-columns: 1fr; }
  .artist-section-inner { grid-template-columns: 1fr; }
  .thanks-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-item:nth-child(1),.showcase-item:nth-child(2),
  .showcase-item:nth-child(4),.showcase-item:nth-child(6),
  .showcase-item:nth-child(7) { grid-column: span 2; aspect-ratio: 3/2; }
  .editor-steps { grid-template-columns: 1fr 1fr; }
}
/* ── BLOG ─────────────────────────────────────────────────── */

.blog-listing {
  min-height: 60vh;
  padding: 4rem 1.5rem 6rem;
}
.blog-listing-inner {
  max-width: 900px;
  margin: 0 auto;
}
.blog-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--accent-cyan); }
.blog-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.blog-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.blog-empty {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* single post */
.blog-post-page { padding: 4rem 1.5rem 6rem; }
.blog-post {
  max-width: 720px;
  margin: 0 auto;
}
.blog-post-cover-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.blog-post-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post-meta { margin-bottom: 2.5rem; }
.blog-post-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.blog-post-date {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}
.blog-post-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.blog-post-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}
.blog-post-body p { margin-bottom: 1rem; }
.blog-post-body img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1.5rem 0;
  display: block;
}
.blog-post-body a { color: var(--accent-cyan); text-decoration: none; }
.blog-post-body a:hover { text-decoration: underline; }
.blog-post-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 0px; }
.blog-back-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-decoration: none;
}
.blog-back-link:hover { text-decoration: underline; }
