:root {
  color-scheme: dark;
  /* Base — matte black with warm undertones */
  --bg:            #0c0a07;
  --bg-elevated:   #14110c;
  --surface:       #1a1611;
  --surface-soft:  #241d16;
  --espresso:      #2a1d14;
  --charcoal:      #1a1612;
  /* Typography */
  --text:          #f6f0e7;
  --text-soft:     #d8cfc1;
  --muted:         #9c9080;
  --muted-deep:    #6b6357;
  /* Bronze / gold accent system */
  --accent:        #c19a5b;
  --accent-light:  #d9b878;
  --accent-deep:   #8a6d3a;
  --accent-glow:   rgba(193, 154, 91, 0.18);
  --accent-faint:  rgba(193, 154, 91, 0.08);
  --rust:          #6f2b2b;
  /* Borders, shadows */
  --border:        rgba(255, 255, 255, 0.07);
  --border-warm:   rgba(193, 154, 91, 0.16);
  --border-strong: rgba(193, 154, 91, 0.28);
  --shadow:        0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-lg:     0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow:   0 0 60px rgba(193, 154, 91, 0.08);
  --radius:        24px;
  --radius-sm:     14px;
  /* Motion */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --duration:      320ms;
  --duration-slow: 600ms;
  /* Typography stacks */
  --font-display:  "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:     "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(193,154,91,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(111,43,43,0.08), transparent 60%),
    linear-gradient(180deg, #0b0907 0%, #0e0c08 60%, #0b0907 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.65;
  position: relative;
}

/* ============================================================
   BRAND WATERMARK
   Ambient TnG logo sits behind all content as a fixed backdrop.
   Page content (header / main / footer) floats above via z-index.
   Opacity stays low enough to never compete with text readability.
============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/mediastuff/LogoTransp.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(50vw, 580px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  body::before {
    background-size: 65vw;
    opacity: 0.035;
  }
}

a {
  color: var(--text);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #d4b078 0%, #b08b4f 45%, #6f4e25 100%);
  color: #14110c;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 8px 24px rgba(176,139,79,0.18);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

/* When the logo is rendered as an <img> inside .brand-mark */
.brand-mark img.brand-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 16px;
}

.brand-mark img.brand-logo-img--compact {
  object-fit: contain;
  padding: 10px;
}

/* Generic media styling for logo/video blocks */
.brand-logo-img,
.brand-logo-img--compact {
  user-select: none;
  display: block;
}






.brand-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-tag {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
}

.nav-link:not(.nav-cta).active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.nav-cta {
  background: var(--accent-faint);
  border: 1px solid var(--border-warm);
  color: var(--accent-light);
  padding: 9px 18px;
}

.nav-cta:hover {
  background: var(--accent-glow);
  border-color: var(--border-strong);
  color: var(--text);
}

.section {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 44px 24px;
}

.section-large {
  padding-top: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 2.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
  opacity: 0.7;
}

.hero-text,
.section-heading p,
.content-panel p,
.feature-card p,
.panel-card p,
.admin-main p {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: linear-gradient(135deg, #d9b878 0%, #c19a5b 50%, #a3823f 100%);
  color: #1c1200;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 10px 30px rgba(176,139,79,0.18);
}

.button-gold:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 14px 40px rgba(176,139,79,0.28);
}

.button-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-faint);
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-3,
.stats-grid,
.workflow-grid,
.partner-grid,
.admin-panel-grid,
.admin-management-grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-management-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-grid {
  grid-template-columns: 1.4fr 1fr;
}

.admin-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.feature-card,
.panel-card,
.stat-card,
.content-panel,
.form-panel,
.login-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-card h3,
.info-card h3,
.panel-card h3,
.workflow-step h4 {
  margin: 0 0 14px;
}

.feature-list,
.status-list,
.venture-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li,
.status-list li {
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.feature-list li::before,
.status-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.workflow-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 26px;
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176, 139, 79, 0.2);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 18px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.form-panel.wide {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
}

.contact-form select {
  background: #0b0906;
  color: #b08b4f;
  border-color: rgba(176, 139, 79, 0.3);
}

.contact-form select option {
  background: #0b0906;
  color: #b08b4f;
}

.contact-form textarea {
  resize: vertical;
}

.form-note,
.form-submit-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-submit-message {
  margin-top: 8px;
}

.form-success-message {
  color: #d7c498;
}

.form-error-message {
  color: #d29c8a;
}

.hero-visual {
  position: relative;
}

.card-hero {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-cta {
  background: linear-gradient(180deg, rgba(176, 139, 79, 0.12), transparent 100%);
}

.section-cta .section-content {
  display: grid;
  gap: 20px;
}

.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto 40px;
  padding: 24px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-main {
  width: min(1200px, 100%);
  margin: 0 auto 40px;
  padding: 0 24px 24px;
}

.admin-header {
  margin-bottom: 0;
}

.admin-overview {
  padding-bottom: 12px;
}

.stat-card {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 0.95rem;
}

.admin-table th {
  color: var(--muted);
}

.split-panel {
  display: grid;
  gap: 24px;
}

.venture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.venture-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(176, 139, 79, 0.14);
  color: var(--text);
  font-size: 0.95rem;
}

.login-panel {
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .hero,
  .grid-3,
  .workflow-grid,
  .stats-grid,
  .partner-grid,
  .admin-panel-grid,
  .split-grid,
  .panel-card,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer,
  .section,
  .admin-main {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    justify-content: center;
  }

  .hero h1,
  .section-heading h2 {
    font-size: 2.4rem;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   Admin form submit buttons — should not stretch full-width
   ================================================================ */

.panel-card .contact-form button[type="submit"],
.form-panel .contact-form button[type="submit"] {
  width: auto;
  justify-self: start;
}

/* ================================================================
   Tab navigation
   ================================================================ */

.tab-section {
  padding-top: 0;
  padding-bottom: 0;
}

.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 22px;
  margin-bottom: -1px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  background: rgba(176, 139, 79, 0.06);
}

.tab-panel { display: block; }
.tab-panel--hidden { display: none; }

/* ================================================================
   Admin Tools — analytics panels
   ================================================================ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pipeline-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.pipeline-count {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.pipeline-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.attention-list,
.followup-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.attention-item,
.followup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.attention-overdue  { background: rgba(210, 80, 80, 0.08); border: 1px solid rgba(210,80,80,0.15); }
.attention-unassigned { background: rgba(176, 139, 79, 0.07); border: 1px solid rgba(176,139,79,0.15); }

.attention-name,
.followup-name   { font-weight: 600; color: var(--text); flex: 1; min-width: 100px; }
.attention-meta,
.followup-service { color: var(--muted); font-size: 0.82rem; }
.followup-date   { color: var(--accent); font-size: 0.82rem; font-weight: 600; margin-left: auto; }

.source-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.source-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.source-name  { width: 100px; color: var(--text); flex-shrink: 0; }
.source-count { font-weight: 700; color: var(--accent); flex-shrink: 0; width: 24px; text-align: right; }

.source-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.source-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #d4aa60);
  border-radius: 999px;
  min-width: 4px;
  transition: width 0.4s ease;
}

.tools-section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 960px) {
  .tools-grid       { grid-template-columns: 1fr; }
  .pipeline-grid    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-management-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Compact button variant — used inside tables and tight UI areas
   ================================================================ */

.button-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
}

/* ================================================================
   Status badges — lead status column
   ================================================================ */

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.status-new        { background: rgba(199, 185, 157, 0.12); color: #c7b99d; }
.status-contacted  { background: rgba(100, 149, 210, 0.15); color: #8ab4d8; }
.status-qualified  { background: rgba(176, 139, 79,  0.18); color: #d4aa60; }
.status-assigned   { background: rgba(155, 100, 210, 0.15); color: #b48ad4; }
.status-booked     { background: rgba(90,  175, 120, 0.18); color: #7ec99a; }
.status-lost       { background: rgba(210, 80,  80,  0.15); color: #d08a8a; }
.status-spam       { background: rgba(255, 255, 255, 0.05); color: #7a7068; }

/* ================================================================
   Inline table editing
   ================================================================ */

.lead-row--editing {
  background: rgba(176, 139, 79, 0.05);
  box-shadow: inset 3px 0 0 var(--accent);
}

.table-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text);
  width: 100%;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.table-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(176, 139, 79, 0.08);
}

.table-select {
  background: #0b0906;
  color: var(--accent);
  border-color: rgba(176, 139, 79, 0.3);
  cursor: pointer;
}

.table-select option {
  background: #0b0906;
  color: var(--text);
}

/* $ prefix wrapper for the value input */
.table-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.table-input-prefix {
  position: absolute;
  left: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  pointer-events: none;
}

.table-input-prefixed {
  padding-left: 22px;
}

/* Keep table cells from becoming too cramped when inputs are active */
.admin-table td:has(.table-input) {
  min-width: 100px;
}

/* ================================================================
   Section description text — admin panel context blocks
   ================================================================ */

.panel-description {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 60ch;
}

/* ================================================================
   Lead detail drawer — slides in from right
   ================================================================ */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

.lead-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100vh;
  background: #0f0d0a;
  border-left: 1px solid var(--border);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.lead-drawer--open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 4px 0 0;
  color: var(--text);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.drawer-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.drawer-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.drawer-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer-field--full {
  grid-column: 1 / -1;
}

.drawer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.drawer-value {
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-word;
}

.drawer-link {
  color: var(--accent);
  text-decoration: none;
}

.drawer-link:hover {
  text-decoration: underline;
}

.drawer-message {
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  max-height: 120px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.drawer-footer {
  display: flex;
  gap: 10px;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* ================================================================
   Partners / affiliate showcase page
   ================================================================ */

.affiliate-feature {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.affiliate-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.affiliate-subtitle {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin: -12px 0 0;
}

.affiliate-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.affiliate-service-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.affiliate-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.affiliate-value-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(176, 139, 79, 0.1);
  border: 1px solid rgba(176, 139, 79, 0.25);
  color: var(--accent);
}

.affiliate-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.affiliate-contact-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.affiliate-contact-item:hover {
  color: var(--accent);
}

.affiliate-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  width: 66px;
  flex-shrink: 0;
}

.affiliate-contact-value {
  font-size: 0.9rem;
}

.affiliate-flier-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.affiliate-promo {
  padding: 20px 22px;
  background: rgba(176, 139, 79, 0.07);
  border: 1px solid rgba(176, 139, 79, 0.2);
  border-radius: 14px;
}

.affiliate-flier {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
}

@media (max-width: 1024px) {
  .affiliate-feature   { grid-template-columns: 1fr; }
  .affiliate-services  { grid-template-columns: 1fr 1fr; }
  .affiliate-flier-wrap { order: -1; max-width: 480px; }
}

@media (max-width: 640px) {
  .affiliate-services { grid-template-columns: 1fr; }
}

/* ================================================================
   Staff Moderation — corporate QoL components
   ================================================================ */

.staff-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.staff-section-header > div {
  flex: 1;
  min-width: 0;
}

/* Secondary pill sub-tabs */
.staff-subtab-bar {
  display: flex;
  gap: 6px;
  margin: 22px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.staff-subtab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.staff-subtab:hover {
  border-color: rgba(176, 139, 79, 0.35);
  color: var(--text);
}

.staff-subtab.active {
  background: rgba(176, 139, 79, 0.1);
  border-color: rgba(176, 139, 79, 0.4);
  color: var(--accent);
}

.subtab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.staff-subtab.active .subtab-count {
  background: rgba(176, 139, 79, 0.22);
}

/* Collapsible add-member form */
.staff-add-panel {
  display: none;
  margin-top: 20px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.staff-add-panel--visible {
  display: block;
}

/* Avatar circle */
.staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.staff-avatar--admin {
  background: rgba(176, 139, 79, 0.14);
  color: var(--accent);
  border: 1px solid rgba(176, 139, 79, 0.3);
}

.staff-avatar--staff {
  background: rgba(100, 149, 210, 0.12);
  color: #8ab4d8;
  border: 1px solid rgba(100, 149, 210, 0.25);
}

.staff-avatar--inactive {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Name + email stacked cell */
.staff-name-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.staff-name-primary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-name-secondary {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Role badge */
.role-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-badge--admin {
  background: rgba(176, 139, 79, 0.12);
  color: var(--accent);
  border: 1px solid rgba(176, 139, 79, 0.25);
}

.role-badge--staff {
  background: rgba(100, 149, 210, 0.1);
  color: #8ab4d8;
  border: 1px solid rgba(100, 149, 210, 0.2);
}

/* Status dot */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
}

.status-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--active {
  color: #7ec99a;
}

.status-dot--active::before {
  background: #7ec99a;
  box-shadow: 0 0 6px rgba(90, 175, 120, 0.45);
}

.status-dot--inactive::before {
  background: #444;
}

/* "you" badge */
.you-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: lowercase;
  border: 1px solid var(--border);
}

/* Avatar column is narrow */
.admin-table td:first-child:has(.staff-avatar) {
  width: 52px;
  padding-right: 0;
}

/* Action button group in staff table */
.staff-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ================================================================
   Submission type badges
   ================================================================ */

.sub-type-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sub-type-event        { background: rgba(100,149,210,0.12); color: #8ab4d8; border: 1px solid rgba(100,149,210,0.22); }
.sub-type-flier        { background: rgba(176,139,79,0.12);  color: var(--accent); border: 1px solid rgba(176,139,79,0.25); }
.sub-type-announcement { background: rgba(155,100,210,0.12); color: #b48ad4; border: 1px solid rgba(155,100,210,0.22); }

.sub-status-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.sub-pending  { background: rgba(199,185,157,0.12); color: #c7b99d; }
.sub-approved { background: rgba(90,175,120,0.15);  color: #7ec99a; }
.sub-rejected { background: rgba(210,80,80,0.12);   color: #d08a8a; }

/* ================================================================
   Content Review tab — submission rows
   ================================================================ */

.submission-row-image {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
}

.submission-name-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.submission-name-primary {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.submission-name-secondary {
  font-size: 0.78rem;
  color: var(--muted);
}

.submission-video-link {
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
}

.submission-video-link:hover {
  text-decoration: underline;
}

/* ================================================================
   Partner portal pages — layout & components
   ================================================================ */

.partner-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.partner-portal-welcome {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.partner-portal-welcome h1 {
  font-size: 1.5rem;
  margin: 0;
}

.partner-portal-welcome p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ================================================================
   Finance tab — sub-tabs
   ================================================================ */

.fin-subtab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}

.fin-subtab:hover { color: var(--text); }

.fin-subtab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.fin-subtab-panel {
  display: block;
}

/* ================================================================
   Finance tab — KPI grid
   ================================================================ */

.fin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .fin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .fin-kpi-grid { grid-template-columns: 1fr; }
}

.fin-kpi-card {
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fin-kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.fin-kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.fin-kpi-value--accent { color: var(--accent); }
.fin-kpi-value--warn   { color: #d08a8a; }

.fin-kpi-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ================================================================
   Finance — payment status badges
   ================================================================ */

.fin-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.fin-status-pending  { background: rgba(199,185,157,0.12); color: #c7b99d; }
.fin-status-received,
.fin-status-sent,
.fin-status-paid     { background: rgba(90,175,120,0.15);  color: #7ec99a; }
.fin-status-overdue  { background: rgba(210,80,80,0.12);   color: #d08a8a; }
.fin-status-waived,
.fin-status-void     { background: rgba(120,120,120,0.12); color: #888; }
.fin-status-draft    { background: rgba(199,185,157,0.08); color: var(--muted); }
.fin-status-sent     { background: rgba(100,160,220,0.12); color: #90b8e0; }

/* ================================================================
   Finance — overdue / upcoming payment rows
   ================================================================ */

.fin-payment-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.fin-payment-row:last-child { border-bottom: none; }

.fin-payment-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.fin-payment-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.fin-payment-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.fin-payment-amount--overdue { color: #d08a8a; }

/* ================================================================
   Finance — invoice overlay modal
   ================================================================ */

.invoice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9500;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 20px 60px;
}

.invoice-overlay--open {
  display: flex;
}

/* ================================================================
   Finance — invoice preview (print-ready)
   ================================================================ */

.invoice-preview {
  background: #fff;
  color: #111;
  font-family: var(--font-body);
  max-width: 760px;
  margin: 40px auto;
  padding: 48px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.invoice-preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.invoice-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 24px;
}

.invoice-preview-brand-mark {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1410;
  font-family: var(--font-display);
}

.invoice-preview-brand-sub {
  font-size: 0.75rem;
  color: #666;
  margin-top: 2px;
}

.invoice-preview-meta {
  text-align: right;
}

.invoice-preview-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c19a5b;
}

.invoice-preview-date {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

.invoice-preview-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.invoice-preview-party-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 6px;
}

.invoice-preview-party-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.invoice-line-items {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.invoice-line-items th {
  background: #f5f3ef;
  color: #444;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.invoice-line-items th:last-child,
.invoice-line-items td:last-child {
  text-align: right;
}

.invoice-line-items td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0ede9;
  color: #222;
  vertical-align: top;
}

.invoice-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 32px;
}

.invoice-totals-row {
  display: flex;
  gap: 48px;
  font-size: 0.875rem;
  color: #444;
}

.invoice-totals-row--total {
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  padding-top: 8px;
  border-top: 2px solid #111;
  margin-top: 4px;
}

.invoice-preview-notes {
  font-size: 0.82rem;
  color: #666;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  line-height: 1.6;
}

/* ================================================================
   Finance — invoice line item builder (in form)
   ================================================================ */

.line-item-row {
  display: grid;
  grid-template-columns: 1fr 70px 100px 100px 28px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.line-item-row input {
  font-size: 0.85rem;
  padding: 7px 10px;
}

.line-item-remove {
  background: none;
  border: none;
  color: #d08a8a;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
}

/* ================================================================
   Print styles — invoice only
   ================================================================ */

@media print {
  /* Ensure background colors and images print correctly in Chrome/Safari */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide everything except the invoice overlay */
  body > *:not(#invoicePreviewOverlay) {
    display: none !important;
  }

  /* Flatten the overlay — no backdrop, no scroll container */
  #invoicePreviewOverlay {
    display: block !important;
    position: static !important;
    background: none !important;
    overflow: visible !important;
    padding: 0 !important;
    opacity: 1 !important;
  }

  /* Clean up the preview card for paper */
  .invoice-preview {
    box-shadow: none !important;
    margin: 0 !important;
    padding: 24px !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    color: #111 !important;
    background: #fff !important;
  }

  /* Table header background needs explicit color for print */
  .invoice-line-items th {
    background: #f5f3ef !important;
    color: #444 !important;
  }

  /* Hide action buttons and any no-print elements */
  .no-print,
  .invoice-preview-actions {
    display: none !important;
  }
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.submission-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.submission-history-card {
  padding: 16px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.submission-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.submission-history-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.submission-history-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.submission-history-notes {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--border);
  border-radius: 0 6px 6px 0;
}

/* ================================================================
   Partners page — approved event cards
   ================================================================ */

.partner-updates {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.partner-updates-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.event-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.event-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,0.04);
}

.event-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.event-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.event-card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-card-description {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.event-card-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 6px;
}

.event-card-video:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Admin view-switcher toolbar
   ================================================================ */

.view-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  background: rgba(176,139,79,0.07);
  border-bottom: 1px solid rgba(176,139,79,0.18);
  flex-wrap: wrap;
}

.view-switcher-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.view-switcher-btn {
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-switcher-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.view-switcher-btn.active {
  background: rgba(176,139,79,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.view-switcher-note {
  font-size: 0.78rem;
  color: var(--accent);
  font-style: italic;
  margin-left: 4px;
}

/* ================================================================
   Partner portal — admin preview banner
   ================================================================ */

.preview-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
  background: rgba(176,139,79,0.1);
  border-bottom: 1px solid rgba(176,139,79,0.25);
  flex-wrap: wrap;
}

.preview-banner-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(176,139,79,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(176,139,79,0.3);
  white-space: nowrap;
}

.preview-partner-select {
  padding: 6px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  min-width: 220px;
}

/* ================================================================
   PREMIUM v2 — editorial typography, cinematic sections,
   preferred partners, process timeline, testimonials, concierge CTA
   ================================================================ */

/* Editorial display headings — applied selectively */
.display-serif {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.display-serif em {
  font-style: italic;
  color: var(--accent-light);
  font-weight: 400;
}

/* Section wrappers — cinematic spacing */
.section-cinema {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 110px 32px;
  position: relative;
}

.section-cinema--tight  { padding: 80px 32px; }
.section-cinema--narrow { width: min(960px, 100%); }

/* Subtle dividing rule */
.rule-soft {
  width: min(1280px, 100%);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-warm) 30%, var(--border-warm) 70%, transparent);
}

/* Hero v2 — cinematic */
.hero-cinema {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 120px 32px 90px;
  position: relative;
}

.hero-cinema-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-cinema-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.hero-cinema h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-cinema h1 em {
  font-style: italic;
  color: var(--accent-light);
  font-weight: 400;
}

.hero-cinema-lead {
  margin: 32px 0 0;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-cinema-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cinema-meta-row {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-warm);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hero-meta-item-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-meta-item-value {
  display: block;
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 500;
}

/* Manifesto / About section */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.manifesto-eyebrow-block .display-serif {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

.manifesto-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 22px;
  max-width: 60ch;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-body p strong {
  color: var(--accent-light);
  font-weight: 500;
}

/* Coordination services — refined cards */
.coordination-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-warm);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  overflow: hidden;
}

.coordination-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  padding: 40px 32px 36px;
  transition: background var(--duration) var(--ease);
  position: relative;
}

.coordination-card:hover {
  background: linear-gradient(180deg, var(--accent-faint) 0%, transparent 100%);
}

.coordination-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  display: block;
}

.coordination-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.coordination-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 32ch;
}

.coordination-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: gap var(--duration) var(--ease), color var(--duration) var(--ease);
}

.coordination-card .link-arrow::after {
  content: "→";
  transition: transform var(--duration) var(--ease);
}

.coordination-card:hover .link-arrow {
  color: var(--accent-light);
  gap: 12px;
}

.coordination-card:hover .link-arrow::after {
  transform: translateX(4px);
}

/* Preferred Partners feature */
.preferred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.preferred-card {
  background:
    linear-gradient(135deg, rgba(193,154,91,0.06) 0%, transparent 50%),
    rgba(255,255,255,0.025);
  border: 1px solid var(--border-warm);
  border-radius: 22px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.preferred-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.preferred-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-faint);
  border: 1px solid var(--border-warm);
  color: var(--accent-light);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.preferred-card-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.preferred-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.preferred-card-subtitle {
  color: var(--accent);
  font-style: italic;
  font-size: 0.95rem;
  margin: 0 0 24px;
  font-family: var(--font-display);
}

.preferred-card-body {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

.preferred-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.preferred-card-tags span {
  font-size: 0.74rem;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.04em;
}

/* Process timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-warm) 10%, var(--border-warm) 90%, transparent);
}

.process-step {
  padding: 0 18px;
  position: relative;
}

.process-step-marker {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-warm);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.process-step:hover .process-step-marker {
  border-color: var(--accent);
  background: var(--accent-faint);
}

.process-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 500;
}

.process-step h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}

/* Testimonials / social proof */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.voice-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-warm);
}

.voice-card::before {
  content: "";
  position: absolute;

  top: 8px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}

.voice-card blockquote {
  margin: 24px 0 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
}

.voice-card-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.voice-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-deep));
  display: grid;
  place-items: center;
  color: #14110c;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.voice-card-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.voice-card-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Concierge CTA */
.concierge-cta {
  width: min(1100px, 100%);
  margin: 0 auto 60px;
  padding: 80px 64px;
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(193,154,91,0.14), transparent 60%),
    linear-gradient(180deg, rgba(42,29,20,0.6), rgba(20,15,11,0.85));
  border: 1px solid var(--border-warm);
  border-radius: 28px;
  overflow: hidden;
}

.concierge-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at -10% 110%, rgba(111,43,43,0.15), transparent 60%);
  pointer-events: none;
}

.concierge-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.concierge-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.concierge-cta h2 em {
  font-style: italic;
  color: var(--accent-light);
}

.concierge-cta p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 50ch;
}

.concierge-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.concierge-cta-detail {
  border-left: 1px solid var(--border-warm);
  padding-left: 40px;
}

.concierge-cta-detail-item {
  margin-bottom: 26px;
}

.concierge-cta-detail-item:last-child { margin-bottom: 0; }

.concierge-cta-detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.concierge-cta-detail-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  display: block;
  letter-spacing: 0.01em;
}

/* Footer refinement */
.site-footer-cinema {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 50px 32px 36px;
  border-top: 1px solid var(--border-warm);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
}

.site-footer-cinema .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.footer-brand-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 36ch;
}

.footer-column h5 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color var(--duration) var(--ease);
}

.footer-column a:hover { color: var(--accent-light); }

.footer-legal {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 20px 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Scroll-reveal animation utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive — premium components */
@media (max-width: 1000px) {
  .manifesto { grid-template-columns: 1fr; gap: 32px; }
  .coordination-grid { grid-template-columns: 1fr; }
  .preferred-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .process-timeline::before { display: none; }
  .voices-grid { grid-template-columns: 1fr; }
  .concierge-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .concierge-cta-detail { border-left: 0; border-top: 1px solid var(--border-warm); padding: 32px 0 0; }
  .hero-cinema-meta-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .site-footer-cinema { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .hero-cinema { padding: 80px 24px 60px; }
  .section-cinema { padding: 70px 24px; }
  .concierge-cta { padding: 50px 28px; }
  .process-timeline { grid-template-columns: 1fr; }
}

/* ================================================================
   Lead moderation sub-tabs
   ================================================================ */

.lead-subtab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}

.lead-subtab:hover { color: var(--text); }

.lead-subtab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
