/* ========================================
   PressCommandOS — Theme Stylesheet
   Dark industrial print shop aesthetic
   ======================================== */

:root {
  --bg: #0d0d0d;
  --bg-alt: #111111;
  --fg: #f5f0e8;
  --fg-muted: #9a9590;
  --fg-dim: #5a5550;
  --accent: #f5a623;
  --accent-dim: #8b5e10;
  --accent-glow: rgba(245, 166, 35, 0.15);
  --border: rgba(245, 166, 35, 0.15);
  --surface: #181818;
  --surface-2: #222222;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NOISE OVERLAY === */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245, 166, 35, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245, 166, 35, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  padding: var(--space-xl) var(--space-lg) var(--space-xl) clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-type-mark {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.mark-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
}

.mark-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-dim), transparent);
  max-width: 120px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.detail-col {
  display: flex;
  flex-direction: column;
}

.detail-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 0.25rem;
}

.detail-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  z-index: 2;
}

.press-visual {
  width: 100%;
  max-width: 400px;
}

.press-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.press-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.7;
}

.press-roll-top, .press-roll-bottom {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.roll-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.press-roll-bottom {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.press-roll-top .roll-label::after {
  content: ' ▲';
  color: var(--fg-dim);
  font-size: 0.5rem;
}

.press-roll-bottom .roll-label::after {
  content: ' ▼';
  color: var(--fg-dim);
  font-size: 0.5rem;
}

.press-rollers {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem 0;
  position: relative;
}

.press-rollers::before {
  content: '';
  position: absolute;
  top: 50%; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

.roller {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--fg-dim);
  position: relative;
}

.roller::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--fg-dim);
}

.roller.r1 { border-color: var(--accent); }
.roller.r1::after { border-color: rgba(245, 166, 35, 0.4); }
.roller.r2 { border-color: var(--fg-muted); }
.roller.r3 { border-color: var(--fg-dim); }

.status-lights {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-dim);
}

.light.on {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.press-gauge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gauge-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.gauge-bar {
  flex: 1;
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.gauge-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 72%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  border-radius: 2px;
}

/* === SECTION COMMON === */
.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

/* === PRESSLINE (Production) === */
.pressline {
  padding: var(--space-xl) clamp(2rem, 5vw, 6rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.pressline .section-header {
  margin-bottom: var(--space-lg);
}

.pressline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pressline-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.pressline-card:hover {
  background: var(--surface);
}

.pressline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.pressline-card:hover::before {
  height: 100%;
}

.card-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pressline-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.pressline-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-stat {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-key {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* === PROOFING === */
.proofing {
  padding: var(--space-xl) clamp(2rem, 5vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  border-top: 1px solid var(--border);
}

.proofing-visual {
  display: flex;
  justify-content: center;
}

.proof-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.mock-header {
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

.mock-status {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.mock-status.approved {
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent);
}

.mock-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mock-line {
  height: 8px;
  background: var(--surface-2);
  border-radius: 2px;
}

.mock-line.short { width: 40%; }
.mock-line.medium { width: 65%; }
.mock-line.long { width: 90%; }

.mock-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.mock-photo-frame {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.photo-icon {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-dim), var(--surface));
  border: 1px solid var(--border);
}

.photo-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
}

.mock-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.action {
  flex: 1;
  padding: 0.6rem;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  cursor: pointer;
}

.action.approve {
  background: var(--accent);
  color: #000;
}

.action.revise {
  background: transparent;
  border: 1px solid var(--fg-dim);
  color: var(--fg-muted);
}

.proofing-content {
  max-width: 520px;
}

.proofing-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.proofing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.proofing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.list-marker {
  flex-shrink: 0;
  margin-top: 2px;
}

/* === MEMORIAL === */
.memorial {
  padding: var(--space-xl) clamp(2rem, 5vw, 6rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.memorial-inner {
  grid-column: 1;
}

.memorial-tag {
  margin-bottom: var(--space-sm);
}

.memorial-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.memorial-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.memorial-badge {
  margin-top: var(--space-lg);
}

.badge-inner {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  position: relative;
}

.badge-inner::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border: 1px solid var(--accent-dim);
  margin: 4px;
}

.badge-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.badge-line {
  height: 2px;
  background: var(--fg-dim);
  border-radius: 1px;
}

.badge-line:nth-child(1) { width: 60%; }
.badge-line:nth-child(2) { width: 80%; }
.badge-line:nth-child(3) { width: 40%; }

.badge-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

.badge-text {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--fg);
  font-style: italic;
}

.badge-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.memorial-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.memorial-ornament {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring1 { width: 260px; height: 260px; border-color: var(--accent-dim); }
.ring2 { width: 190px; height: 190px; border-color: rgba(245, 166, 35, 0.2); }
.ring3 { width: 120px; height: 120px; border-color: rgba(245, 166, 35, 0.1); }

.ornament-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.ornament-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.ornament-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 0.3rem;
}

/* === MANIFESTO === */
.manifesto {
  padding: var(--space-xl) clamp(2rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
  text-align: center;
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: var(--space-md) 0;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.5;
  margin: var(--space-lg) 0;
  quotes: none;
}

.manifesto-attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: var(--space-lg);
}

.attr-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.attr-title {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.attr-loc {
  font-size: 0.7rem;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

.manifesto-closing {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) clamp(2rem, 5vw, 6rem);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: var(--space-md);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.footer-col span:not(.footer-label) {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-md) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
}

.footer-tagline {
  color: var(--fg-dim);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    padding: 2rem;
    order: -1;
  }

  .press-visual { max-width: 300px; }

  .pressline-grid {
    grid-template-columns: 1fr;
  }

  .proofing {
    grid-template-columns: 1fr;
  }

  .proofing-visual {
    order: -1;
  }

  .proof-mockup {
    max-width: 300px;
  }

  .memorial {
    grid-template-columns: 1fr;
  }

  .memorial-visual {
    order: -1;
  }

  .memorial-ornament {
    width: 180px;
    height: 180px;
  }

  .ring1 { width: 180px; height: 180px; }
  .ring2 { width: 130px; height: 130px; }
  .ring3 { width: 80px; height: 80px; }

  .ornament-year { font-size: 1.75rem; }

  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* === DASHBOARD (Order Tracker) === */
.dashboard-wrap {
  min-height: 100vh;
  background: var(--bg);
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem clamp(1.5rem, 4vw, 4rem);
}

.dash-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.dash-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.dash-logo span {
  color: var(--accent);
}

.dash-home-link {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

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

/* === LOCATION TABS === */
.location-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.location-tabs::-webkit-scrollbar { display: none; }

.loc-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  background: transparent;
  white-space: nowrap;
}

.loc-tab:hover {
  color: var(--fg);
  background: var(--surface);
}

.loc-tab.active {
  color: var(--accent);
  background: var(--surface);
  border-color: var(--border);
  border-bottom-color: var(--surface);
}

.tab-city {
  font-weight: 600;
}

.tab-count {
  display: flex;
  gap: 0.35rem;
}

.count-badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

.count-badge.rush {
  background: rgba(220, 50, 50, 0.2);
  color: #dc3232;
  border: 1px solid rgba(220, 50, 50, 0.3);
}

.count-badge.open {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

/* === DASHBOARD BODY === */
.dashboard-body {
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dash-section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
}

.dash-order-count {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}

.order-table-wrap {
  overflow-x: auto;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.order-table thead th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 0 0.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.order-table thead th:first-child { padding-left: 0; }

.order-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.order-table tbody tr:hover {
  background: var(--surface);
}

.order-table tbody td {
  padding: 1rem 0.75rem;
  font-size: 0.875rem;
  color: var(--fg);
  vertical-align: middle;
}

.order-table tbody td:first-child { padding-left: 0; }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

.status-badge.rush {
  background: rgba(220, 50, 50, 0.15);
  color: #dc3232;
  border: 1px solid rgba(220, 50, 50, 0.3);
}

.status-badge.in_progress {
  background: rgba(100, 180, 100, 0.12);
  color: #5cb85c;
  border: 1px solid rgba(100, 180, 100, 0.25);
}

.status-badge.proof {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.status-badge.complete {
  background: rgba(100, 180, 100, 0.12);
  color: #5cb85c;
  border: 1px solid rgba(100, 180, 100, 0.25);
}

/* === ORDER ACTIONS === */
.order-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a9590'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

.status-select:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.status-select:focus {
  border-color: var(--accent);
  outline: none;
}

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: transparent;
  border: 1px solid rgba(220, 50, 50, 0.25);
  color: rgba(220, 50, 50, 0.5);
  font-size: 0.7rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.delete-btn:hover {
  background: rgba(220, 50, 50, 0.12);
  color: #dc3232;
  border-color: rgba(220, 50, 50, 0.5);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  text-decoration: none;
}

.share-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.due-date {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.due-date.overdue {
  color: #dc3232;
  font-weight: 500;
}

.due-date.today {
  color: var(--accent);
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--fg-dim);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--fg-dim);
}

/* === ORDER INTAKE FORM === */
.order-intake-bar {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-intake-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.order-intake-btn:hover { background: #f8b840; }

.order-intake-panel {
  display: none;
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.order-intake-panel.open { display: block; }

.intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.intake-form .full { grid-column: 1 / -1; }

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

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 72px;
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.toggle-row label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: var(--fg-dim);
  transition: transform 0.2s, background 0.2s;
}

.toggle-switch input:checked + .toggle-slider { background: rgba(245, 166, 35, 0.25); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); background: var(--accent); }

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

.btn-primary {
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: #f8b840; }

.btn-ghost {
  padding: 0.6rem 1.25rem;
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover { color: var(--fg); border-color: var(--fg-muted); }

.form-error {
  grid-column: 1 / -1;
  padding: 0.75rem;
  background: rgba(220, 50, 50, 0.1);
  border: 1px solid rgba(220, 50, 50, 0.3);
  color: #dc3232;
  font-size: 0.85rem;
  display: none;
}

.form-error.visible { display: block; }

.success-banner {
  display: none;
  padding: 0.75rem 1rem;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  color: #3fb950;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.success-banner.visible { display: block; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    padding: 2rem;
    order: -1;
  }

  .press-visual { max-width: 300px; }

  .pressline-grid {
    grid-template-columns: 1fr;
  }

  .proofing {
    grid-template-columns: 1fr;
  }

  .proofing-visual {
    order: -1;
  }

  .proof-mockup {
    max-width: 300px;
  }

  .memorial {
    grid-template-columns: 1fr;
  }

  .memorial-visual {
    order: -1;
  }

  .memorial-ornament {
    width: 180px;
    height: 180px;
  }

  .ring1 { width: 180px; height: 180px; }
  .ring2 { width: 130px; height: 130px; }
  .ring3 { width: 80px; height: 80px; }

  .ornament-year { font-size: 1.75rem; }

  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .dash-brand {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .hero-detail { flex-wrap: wrap; gap: 1rem; }
  .pressline-card { padding: 1.5rem; }
  .location-tabs { gap: 0; }
  .loc-tab { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
}