/* ═══════════════════════════════════════════════════
   ART DECO — "ParkLane"
   ParkLaneNF     hero headings
   Peignot        display / card titles / nav
   TitanickDisplay eyebrow labels (RESOURCE, HOW IT WORKS …)
   AnchorSteamNF  available via .ff-anchor
   GangueOuais    available via .ff-gangue
   Georgia        body / fallback
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Peignot';
  src: url("../fonts/Peignot.1f302b4757aa.ttf") format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ParkLaneNF';
  src: url("../fonts/ParkLaneNF.0ad00c499859.otf") format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'TitanickDisplayNF';
  src: url("../fonts/TitanickDisplayNF.3e9469d2adf6.otf") format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'AnchorSteamNF';
  src: url("../fonts/AnchorSteamNF.137867def316.otf") format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'GangueOuais';
  src: url("../fonts/GangueOuais.c5ac52cc413e.ttf") format('truetype');
  font-display: swap;
}

:root {
  --gold:      #d4af37;
  --gold-lt:   #f0d472;
  --gold-dk:   #8b6914;
  --bg:        #0a0a0a;
  --bg3:       #1a1a12;
  --cream:     #f0e8d0;
  --muted:     #8a7a5a;
  --copper:    #b87333;
  --copper-lt: #d4956a;
  --copper-dk: #6b3f18;
  --silver:    #cec9b8;
  --silver-dk: #7d7664;

  --eng-bg:     #b8881a;
  --eng-text:   #180c00;
  --eng-border: #6b4208;
  --eng-ph:     #4a3010;

  --urgent:     #c84c2a;
  --urgent-lt:  #e07a55;

  --fs-1: 16px;
  --fs-2: 19px;
  --fs-3: 23px;
  --fs-4: 28px;
  --fs-5: 34px;
  --fs-6: 42px;
  --fs-7: 54px;

  --nav-h: 110px;
  --frieze-h: 62px;
  --search-row-h: 0px;
}

.ff-peignot  { font-family: 'Peignot', 'Georgia', serif; }
.ff-ardeco   { font-family: 'Georgia', serif; }
.ff-mountain { font-family: 'ParkLaneNF', 'Georgia', serif; }
.ff-eyebrow  { font-family: 'TitanickDisplayNF', 'Georgia', serif; }
.ff-anchor   { font-family: 'AnchorSteamNF', 'Georgia', serif; }
.ff-gangue   { font-family: 'GangueOuais', 'Georgia', serif; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: var(--fs-2);
  line-height: 1.6;
  background: #0a0a0a;
  color: #f0e8d0;
  overflow-x: hidden;
}

#strings-header svg { width: 100%; height: 100%; display: block; }
#stage { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(135 16 16)'%3E%3Cpath d='M16,27C16,27 7.5,18 7.5,11.5C7.5,7 11,5 16,5C21,5 24.5,7 24.5,11.5C24.5,18 16,27 16,27Z' fill='%23b87333' stroke='%23d4af37' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cellipse cx='16' cy='11' rx='5.5' ry='4' fill='none' stroke='%23f0d472' stroke-width='0.85' opacity='0.45'/%3E%3Ccircle cx='16' cy='11' r='1.3' fill='%23d4af37' opacity='0.85'/%3E%3C/g%3E%3C/svg%3E") 16 16, auto; }
#stage * { border-style: initial; cursor: inherit; }

.word-creative { text-shadow: 0 0 10px #000, 0 0 20px rgba(0,0,0,0.9); }
.word-u        { text-shadow: 0 0 12px #000, 0 0 24px rgba(0,0,0,0.9); }

/* ── Login button ── */
.login-btn-inner {
  box-shadow: 0 0 0 2px #0a0800, 0 0 0 4px #8b6914;
  transition: background 0.2s, color 0.2s;
  font-family: 'Georgia', serif;
  display: block;
  background: #100d02;
  border: 1px solid #c8a240;
  color: #d4af37;
  text-transform: uppercase;
  padding: 7px 16px;
  font-size: var(--fs-2);
  letter-spacing: 0.18em;
}
.login-btn:hover .login-btn-inner,
.login-btn:focus-visible .login-btn-inner {
  background: #1e1400 !important;
  color: var(--gold-lt) !important;
}
.login-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.login-btn { text-decoration: none; display: flex; align-items: center; padding: 0 0.75rem; height: var(--nav-h); }
@media (min-width: 768px) { .login-btn { padding: 0 1rem; } }
@media (max-width: 767px) {
  .login-btn-inner { padding: 6px 12px; font-size: var(--fs-1); letter-spacing: 0.14em; }
}

/* ── Search panel ── */
.search-panel {
  background: var(--eng-bg);
  border: 1px solid var(--eng-border);
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  box-shadow:
    inset 0 1px 3px rgba(255,220,80,0.28),
    inset 0 -1px 3px rgba(0,0,0,0.28),
    0 0 0 3px #0a0800,
    0 0 0 5px var(--gold-dk),
    0 0 0 7px #0a0800,
    0 0 0 8px #4a3410;
}
.search-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px,
      rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px);
  pointer-events: none;
}
.search-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
      rgba(255,235,100,0.18) 0%, transparent 35%,
      transparent 65%, rgba(0,0,0,0.16) 100%);
  pointer-events: none;
}

.search-fan {
  position: absolute;
  overflow: hidden;
  width: 18px; height: 18px;
}
.search-fan.tl { top: 0; left: 0; }
.search-fan.tr { top: 0; right: 0; transform: scaleX(-1); }
.search-fan.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.search-fan.br { bottom: 0; right: 0; transform: scale(-1); }

.search-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--eng-border);
  color: var(--eng-text);
  font-family: 'Georgia', serif;
  outline: none;
  width: 200px;
  padding: 5px 8px;
  font-size: var(--fs-2);
  letter-spacing: 0.04em;
}
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button { display: none; }
.search-input::placeholder { color: var(--eng-ph); font-style: italic; }
.search-input:focus { border-bottom-color: #180c00; }
.search-input:focus-visible { outline: 2px solid var(--eng-text); outline-offset: 2px; }

.search-submit {
  background: transparent;
  border: none;
  color: #180c00;
  font-size: var(--fs-2);
  cursor: pointer;
  padding: 5px 12px;
  display: flex; align-items: center;
  text-shadow:
    0 1px 0 rgba(255, 220, 80, 0.45),
    0 -1px 1px rgba(0, 0, 0, 0.65);
  transition: text-shadow 0.15s, opacity 0.15s;
}
.search-submit:hover { opacity: 0.7; }
.search-submit:focus-visible { outline: 2px solid var(--eng-text); outline-offset: 2px; }

.search-divider {
  margin: 0 0.75rem;
  width: 1px;
  height: 20px;
  background: var(--eng-border);
  opacity: 0.6;
}

/* ── Logo (now a link) ── */
#logo-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  pointer-events: auto;
  height: var(--nav-h);
  padding-left: 12px;
  text-decoration: none;
  transition: opacity 0.18s;
}

#logo-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
#logo-wrap svg { width: 230px; height: 178px; }
@media (max-width: 767px) { #logo-wrap svg { width: 160px; height: 124px; } }
@media (max-width: 420px) { #logo-wrap svg { width: 138px; height: 107px; } }

/* ── User nav dropdown ── */
.user-nav {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 0.75rem;
}
@media (min-width: 768px) { .user-nav { padding: 0 1rem; } }
.user-nav summary {
  list-style: none;
  cursor: pointer;
}
.user-nav summary::-webkit-details-marker { display: none; }

.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #100d02;
  border: 1px solid #c8a240;
  color: #d4af37;
  padding: 7px 14px;
  font-size: var(--fs-2);
  font-family: 'Georgia', serif;
  box-shadow: 0 0 0 2px #0a0800, 0 0 0 4px #8b6914;
  transition: background 0.2s, color 0.2s;
}
.user-nav-btn:hover,
.user-nav[open] .user-nav-btn {
  background: #1e1400;
  color: var(--gold-lt);
}
.user-nav-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}
.user-nav[open] .user-nav-chevron { transform: rotate(180deg); }

.user-nav-menu {
  position: absolute;
  top: calc(var(--nav-h) - 2px);
  right: 0;
  min-width: 180px;
  background: #0f0b02;
  border: 1px solid var(--gold-dk);
  box-shadow:
    0 0 0 1px #0a0800,
    0 4px 24px rgba(0,0,0,0.72),
    inset 0 1px 0 rgba(212,175,55,0.15);
  z-index: 400;
}
.user-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.06em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.user-nav-item i { color: var(--gold-dk); width: 16px; text-align: center; transition: color 0.15s; }
.user-nav-item:hover { background: rgba(212,175,55,0.08); color: var(--gold-lt); }
.user-nav-item:hover i { color: var(--gold); }
.user-nav-item--logout { color: var(--muted); }
.user-nav-item--logout:hover { color: #e07a55; }
.user-nav-item--logout:hover i { color: #c84c2a; }
.user-nav-divider { height: 1px; background: var(--gold-dk); opacity: 0.35; margin: 4px 0; }

/* ── Navbar chrome ── */
#strings-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  background: black;
  height: var(--nav-h);
}

.desktop-search-wrap {
  position: fixed;
  z-index: 201;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  height: var(--nav-h);
}
@media (max-width: 767px) {
  :root { --search-row-h: 64px; }
  .desktop-search-wrap {
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    height: var(--search-row-h);
    padding: 0 1rem;
    background: #0a0a0a;
    border-bottom: 1px solid var(--gold-dk);
  }
  .search-input { width: auto; flex: 1; min-width: 0; }
}

.right-nav-group {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

.mobile-only { display: flex; }
@media (min-width: 768px) { .mobile-only { display: none; } }

/* ── DECO FRIEZE ── */
#deco-frieze {
  position: fixed;
  top: calc(var(--nav-h) + var(--search-row-h));
  left: 0; right: 0;
  height: var(--frieze-h);
  z-index: 150;
  pointer-events: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(135 16 16)'%3E%3Cpath d='M16,27C16,27 7.5,18 7.5,11.5C7.5,7 11,5 16,5C21,5 24.5,7 24.5,11.5C24.5,18 16,27 16,27Z' fill='%23b87333' stroke='%23d4af37' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cellipse cx='16' cy='11' rx='5.5' ry='4' fill='none' stroke='%23f0d472' stroke-width='0.85' opacity='0.45'/%3E%3Ccircle cx='16' cy='11' r='1.3' fill='%23d4af37' opacity='0.85'/%3E%3C/g%3E%3C/svg%3E") 16 16, auto;
  background: linear-gradient(180deg,
    #0a0a0a 0%,
    #0a0a0a 72%,
    rgba(10,10,10,0.85) 88%,
    rgba(10,10,10,0) 100%);
}
.frieze-rule {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
}
.frieze-rule-1 {
  top: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,0.55) 4%,
    var(--gold) 12%,
    var(--gold) 88%,
    rgba(212,175,55,0.55) 96%,
    transparent 100%);
  box-shadow: 0 0 4px rgba(212,175,55,0.3);
}
.frieze-rule-2 {
  top: 7px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(206,201,184,0.6) 20%,
    var(--silver) 50%,
    rgba(206,201,184,0.6) 80%,
    transparent 100%);
  opacity: 0.55;
}
.frieze-rule-3 {
  top: 11px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,0.35) 30%,
    rgba(212,175,55,0.35) 70%,
    transparent 100%);
  opacity: 0.6;
}
.frieze-corner {
  position: absolute;
  top: 0;
  width: 210px;
  height: var(--frieze-h);
}
.frieze-corner-l { left: 0; }
.frieze-corner-r { right: 0; transform: scaleX(-1); }
.frieze-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: var(--frieze-h);
}
@media (max-width: 640px) {
  :root { --frieze-h: 48px; }
  .frieze-corner { width: 140px; }
  .frieze-center { width: 120px; }
}
@media (max-width: 420px) {
  :root { --frieze-h: 42px; }
  .frieze-corner { width: 110px; }
  .frieze-center { width: 96px; }
}

/* ── Hero diagonal pattern ── */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 20px 24px 70px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 28px,
      rgba(212,175,55,0.025) 28px, rgba(212,175,55,0.025) 29px);
  pointer-events: none;
}

/* ── Hero 2-column split ── */
.hero-split {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 3rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-split-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-split-logo svg {
  width: 100%;
  max-width: 290px;
  height: auto;
  filter: drop-shadow(0 4px 28px rgba(200,112,64,0.18));
}
.hero-split-content {
  text-align: left;
}
.hero-split-content .hero-buttons {
  justify-content: flex-start;
}
@media (max-width: 700px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .hero-split-logo {
    justify-content: center;
  }
  .hero-split-logo svg { max-width: 200px; }
  .hero-split-content { text-align: center; }
  .hero-split-content .hero-buttons { justify-content: center; }
}

/* ── Section dividers ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 0 2.5rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2a2510, transparent);
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  border: 1px solid #1e1c0e;
}
.feature-card {
  position: relative;
  padding: 2.25rem;
  background: #1a1a12;
  border: 1px solid #1e1c0e;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
}

/* ── CTA band ── */
.cta-band {
  position: relative;
  text-align: center;
  border: 1px solid #8b6914;
  background: #1a1a12;
  padding: 50px 40px;
  margin: 40px 0;
}
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
}
.cta-band::before { top: 8px; }
.cta-band::after  { bottom: 8px; }

/* ── Buttons ── */
.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 12px 30px;
  font-size: var(--fs-1);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Peignot', 'Georgia', serif;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  position: relative;
  background: var(--gold-dk);
  border: 1px solid var(--gold);
  color: black;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(0,0,0,0.3);
  pointer-events: none;
}
.btn-primary:hover { background: var(--gold-lt); }
.btn-primary:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.btn-secondary {
  border: 1px solid var(--gold-dk);
  color: var(--gold);
  background: transparent;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-secondary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 9999;
  font-family: 'Georgia', serif;
  background: var(--gold);
  color: black;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 16px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Showcase rows (Featured Artists) ── */
.showcase-col { display: flex; flex-direction: column; gap: 0; }

.showcase-row {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--muted);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.showcase-row:hover { background: rgba(184,115,51,0.04); }
.showcase-row:hover .row-arrow { color: var(--copper); }

.row-num  { font-size: var(--fs-2); color: var(--muted); text-align: right; font-family: 'Georgia', serif; }
.showcase-info { min-width: 0; }
.row-name { font-size: var(--fs-3); color: var(--cream); letter-spacing: 0.04em; margin-bottom: 3px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            font-family: 'Peignot', 'Georgia', serif; }
.row-meta { font-size: var(--fs-1); letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase;
            font-family: 'Peignot', 'Georgia', serif; }
.row-tags { display: flex; gap: 6px; }
.row-tag  { font-size: var(--fs-1); letter-spacing: 0.18em; text-transform: uppercase;
            color: var(--muted); border: 1px solid var(--muted); padding: 2px 7px;
            font-family: 'Peignot', 'Georgia', serif; }
.row-arrow { font-size: var(--fs-3); color: var(--muted); transition: color 0.15s; }

@media (max-width: 600px) {
  .showcase-row { grid-template-columns: 36px 1fr auto; gap: 12px; }
  .row-tags { display: none; }
}

.section-title {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: var(--fs-2);
  letter-spacing: 0.36em;
  color: var(--copper);
  text-transform: uppercase;
  font-weight: normal;
  white-space: nowrap;
  font-family: 'TitanickDisplayNF', 'Georgia', serif;
}
.title-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
}

/* ── Typography ── */
.hero-eyebrow {
  font-family: 'TitanickDisplayNF', 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-h1 {
  font-family: 'ParkLaneNF', 'Georgia', serif;
  font-size: clamp(36px, 5.8vw, 54px);
  letter-spacing: 0.02em;
  line-height: 1.06;
  color: var(--cream);
  font-weight: normal;
}
.hero-h1 em {
  font-style: normal;
  color: var(--gold);
  font-family: 'ParkLaneNF', 'Georgia', serif;
  letter-spacing: 0.01em;
}
.hero-kicker {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: var(--fs-2);
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Hero spacing variants */
.hero-eyebrow--spaced { margin-bottom: 1rem; }
.hero-h1--spaced { margin-bottom: 0.75rem; }
.hero-h1--contract { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 0.5rem; }
.hero-kicker--spaced { margin-bottom: 2.5rem; }

/* Feature card spacing */
.section-eyebrow--spaced { margin-bottom: 0.75rem; }
.feature-svg { margin-bottom: 1.25rem; display: block; }
.card-h3--spaced { margin-bottom: 0.75rem; }

/* Steps list items */
.step-item { text-align: center; }
.step-num--spaced { margin-bottom: 1rem; }
.step-h3--spaced { margin-bottom: 0.5rem; }

/* Profile detail page */
.main--with-nav { padding-top: calc(var(--nav-h) + var(--search-row-h) + var(--frieze-h)); }
.card-p--profile { margin-top: 2rem; max-width: 48rem; }
.row-tags--spaced { margin-top: 2rem; }
.back-link-p { margin-top: 3rem; }

/* Profile edit page */
.hero-h1--edit { margin-bottom: 1.5rem; }
.card-p--edit { margin-bottom: 2rem; max-width: 48rem; }
.formset-section { margin-top: 2.5rem; }
.inline-heading--spaced { font-size: var(--fs-4); margin-bottom: 0.75rem; }
.form-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.section-eyebrow {
  font-family: 'TitanickDisplayNF', 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.section-h2 {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: clamp(26px, 3.4vw, 35px);
  letter-spacing: 0.05em;
  color: var(--cream);
  font-weight: normal;
}
.card-h3 {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: var(--fs-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: normal;
}
.card-p {
  font-family: 'Georgia', serif;
  font-size: var(--fs-2);
  color: var(--muted);
  line-height: 1.7;
}
.step-num {
  font-family: 'Georgia', serif;
  font-size: var(--fs-6);
  color: #2a2410;
  line-height: 1;
  letter-spacing: 0.02em;
}
.step-h3 {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: var(--fs-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cta-h2-questionmark{
   font-family: Helvetica;
  font-size: clamp(24px, 3.2vw, 35px);
  letter-spacing: 0.02em;
  color: var(--cream);
  font-weight: normal;
}
.cta-h2 {
  font-family: 'ParkLaneNF', 'Georgia', serif;
  font-size: clamp(24px, 3.2vw, 35px);
  letter-spacing: 0.02em;
  color: var(--cream);
  font-weight: normal;
}
.footer-text {
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3a3420;
}

/* ── SEARCH DROPDOWN PARTIAL ── */
.search-dropdown {
  position: fixed;
  z-index: 195;
  top: calc(var(--nav-h) + var(--search-row-h) + var(--frieze-h));
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  max-height: 70vh;
  overflow-y: auto;
  background: #0d0c06;
  border: 1px solid var(--gold-dk);
  box-shadow:
    0 0 0 3px #0a0800,
    0 0 0 4px #4a3410,
    0 20px 40px rgba(0,0,0,0.8);
  padding: 1.5rem 1.25rem;
}
.search-dropdown-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-style: italic;
}
.search-section + .search-section { margin-top: 1.75rem; }
.search-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.search-section-title h3 {
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.36em;
  color: var(--copper);
  text-transform: uppercase;
}
.search-section-title .title-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--copper-dk), transparent); }

.search-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid #2a2510;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.search-result:hover { background: rgba(212,175,55,0.04); }
.search-result:last-child { border-bottom: none; }
.search-result-name {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: var(--fs-3);
  color: var(--cream);
  letter-spacing: 0.04em;
}
.search-result-meta {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: var(--fs-1);
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}
.search-result-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 180px; }

.htmx-indicator {
  opacity: 0;
  transition: opacity 0.2s;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { opacity: 1; }
.search-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ── CONTRACT UPDATES (logged-in) ── */
.contract-hero {
  padding: 48px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contract-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 32px,
      rgba(212,175,55,0.02) 32px, rgba(212,175,55,0.02) 33px);
  pointer-events: none;
}
.contract-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.contract-card {
  position: relative;
  border: 1px solid var(--gold-dk);
  background: #120f07;
  padding: 1.5rem 1.5rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.contract-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
}
.contract-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,175,55,0.08);
}

.contract-card.is-urgent {
  border-color: var(--urgent);
  background:
    linear-gradient(135deg, rgba(200,76,42,0.14) 0%, transparent 30%, transparent 70%, rgba(200,76,42,0.14) 100%),
    #180a06;
  animation: urgentPulse 3s ease-in-out infinite;
}
.contract-card.is-urgent::before {
  background: linear-gradient(90deg, transparent, var(--urgent), transparent);
  height: 3px;
}
.contract-card.is-urgent::after {
  content: '';
  position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--urgent), transparent);
}
.contract-card.is-urgent:hover {
  border-color: var(--urgent-lt);
  box-shadow: 0 0 0 2px rgba(224,122,85,0.15);
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,76,42,0); }
  50%      { box-shadow: 0 0 0 2px rgba(200,76,42,0.18); }
}

.contract-date {
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.5rem;
}
.contract-card.is-urgent .contract-date { color: var(--urgent-lt); }
.contract-title {
  font-family: 'Peignot', 'Georgia', serif;
  font-size: var(--fs-3);
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.contract-meta {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--muted);
  font-size: var(--fs-1);
  margin-bottom: 0.75rem;
}
.contract-status-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #2a2510;
}
.contract-chip {
  font-family: 'Georgia', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--muted);
  color: var(--muted);
}
.contract-chip.is-signed {
  border-color: var(--gold-dk);
  color: var(--gold);
}
.contract-chip.is-pending {
  border-color: var(--urgent);
  color: var(--urgent-lt);
}
.contract-days {
  font-family: 'ParkLaneNF', 'Georgia', serif;
  font-size: var(--fs-5);
  color: var(--gold);
  line-height: 1;
  margin-right: 0.5rem;
  float: right;
  text-align: right;
}
.contract-card.is-urgent .contract-days { color: var(--urgent-lt); }
.contract-days small {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}

.contracts-empty {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--gold-dk);
  background: #120f07;
  color: var(--muted);
  font-style: italic;
}

/* ── Page layout ── */
main#main-content { padding-top: calc(var(--nav-h) + var(--search-row-h) + var(--frieze-h)); }

.container-narrow { max-width: 64rem; margin: 0 auto; padding: 4rem 1.5rem; }
.container-medium { max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem; }
.container-steps  { max-width: 56rem; margin: 0 auto; padding: 4rem 1.5rem; }
.container-cta    { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem 5rem; }

.steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero-svg { display: block; margin: 0 auto 2rem; width: 100%; max-width: 680px; height: auto; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.section-text-center { text-align: center; margin-bottom: 3rem; }

footer.site-footer {
  border-top: 1px solid #1e1c0e;
  padding: 2rem 0;
  text-align: center;
}

/* ── CTA corner decorations ── */
.cta-corner {
  position: absolute;
  width: 18px;
  height: 18px;
}
.cta-corner.tl { top: 3px; left: 3px; }
.cta-corner.tr { top: 3px; right: 3px; transform: scaleX(-1); }
.cta-corner.bl { bottom: 3px; left: 3px; transform: scaleY(-1); }
.cta-corner.br { bottom: 3px; right: 3px; transform: scale(-1); }

/* ── Spacing overrides ── */
.cta-h2 { margin-bottom: 0.5rem; }
.card-p { margin-bottom: 1.75rem; }

/* ── Compact sortable rows: gallery / tracks / products ── */
.sort-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 1.25rem; }

.sort-row {
  display: flex;
  align-items: stretch;
  background: rgba(20, 14, 4, 0.5);
  border: 1px solid var(--gold-dk);
  overflow: hidden;
  transition: opacity 0.15s, border-color 0.15s;
}
.sort-row--ghost { opacity: 0.18 !important; }

/* Dim + red-border when marked for deletion */
.sort-row:has(.sort-row-delete input[type="checkbox"]:checked) {
  opacity: 0.35;
  border-color: var(--copper-dk);
}
.sort-row:has(.sort-row-delete input[type="checkbox"]:checked) .sort-row-delete {
  color: var(--copper);
  background: rgba(184, 115, 51, 0.12);
}

/* Grip handle — left edge */
.drag-handle {
  flex: 0 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  color: var(--gold-dk);
  border-right: 1px solid rgba(139,105,20,0.35);
  user-select: none;
  transition: color 0.12s, background 0.12s;
  font-size: 0.85rem;
  align-self: stretch;
}
.drag-handle:hover { color: var(--gold); background: rgba(212,175,55,0.07); }
.drag-handle:active { cursor: grabbing; }


/* Gallery thumbnail */
.sort-row-thumb-wrap {
  flex: 0 0 52px;
  border-right: 1px solid rgba(139,105,20,0.3);
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,5,1,0.5);
  overflow: hidden;
  align-self: stretch;
}
.sort-thumb { width: 52px; height: 52px; object-fit: cover; display: block; }
.sort-thumb-empty {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk); opacity: 0.28; font-size: 0.95rem;
}

/* 2-line body */
.sort-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sort-row-line1 {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
  border-bottom: 1px solid rgba(139,105,20,0.18);
}
.sort-row-line2 {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.4rem;
  min-height: 2rem;
}
.sort-field { display: flex; flex-direction: column; min-width: 0; }
.sort-field--grow   { flex: 1; }
.sort-field--grow-2 { flex: 2; }
.sort-field--file   { flex: 0 0 auto; }

/* Compact inputs — override broader profile-edit styles */
.profile-edit .sort-row input[type="text"],
.profile-edit .sort-row input[type="url"],
.profile-edit .sort-row input[type="number"] {
  padding: 0.18rem 0.35rem;
  font-size: 0.8rem;
  height: 1.7rem;
  width: 100%;
}
.profile-edit .sort-row input[type="file"] {
  font-size: 0.72rem;
  padding: 0.12rem 0.2rem;
  height: auto;
  width: auto;
  max-width: 160px;
}

/* Line 1 inner layout */
.sort-row-line1 .sort-row-icon {
  flex: 0 0 2rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk);
  font-size: 0.7rem;
  border-right: 1px solid rgba(139,105,20,0.3);
  align-self: stretch;
  background: rgba(8,5,1,0.25);
}
.sort-row-line1 .sort-field { flex: 1; padding: 0 0.4rem; }
.sort-row-line1 .sort-field input { width: 100%; }

/* Delete button — right edge */
.sort-row-delete {
  flex: 0 0 2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--copper);
  border-left: 1px solid rgba(139,105,20,0.3);
  align-self: stretch;
  transition: color 0.12s, background 0.12s;
  font-size: 0.78rem;
}
.sort-row-delete:hover { color: var(--copper-lt); background: rgba(184,115,51,0.09); }
/* Hide the actual checkbox — label acts as toggle */
.sort-row-delete input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

/* ── Compact non-sortable cards (videos / social links / categories) ── */
.compact-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 1.25rem; }
.compact-card {
  display: flex;
  align-items: stretch;
  background: rgba(20, 14, 4, 0.5);
  border: 1px solid var(--gold-dk);
  overflow: hidden;
}

/* ── Event cards ── */
.event-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 1.25rem; }

.event-card {
  display: flex;
  align-items: stretch;
  background: rgba(20, 14, 4, 0.5);
  border: 1px solid var(--gold-dk);
  overflow: hidden;
}

/* Date + time pickers inline */
.event-datetime { display: flex; gap: 0.3rem; align-items: center; padding: 0 0.4rem; }
.profile-edit .event-datetime input[type="date"] {
  flex: 0 0 130px;
  padding: 0.18rem 0.35rem;
  font-size: 0.8rem;
  height: 1.7rem;
  width: 130px;
  color-scheme: dark;
}
.profile-edit .event-datetime input[type="time"] {
  flex: 0 0 90px;
  padding: 0.18rem 0.35rem;
  font-size: 0.8rem;
  height: 1.7rem;
  width: 90px;
  color-scheme: dark;
}

/* Copper trash — no red, fits the warm palette */
.event-delete-btn {
  flex: 0 0 2.25rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--copper);
  border: none;
  border-left: 1px solid rgba(139,105,20,0.3);
  background: transparent;
  align-self: stretch;
  font-size: 0.8rem;
  transition: color 0.12s, background 0.12s;
}
.event-delete-btn:hover {
  color: var(--copper-lt);
  background: rgba(184,115,51,0.09);
}

/* Also add date/time to compact sort-row overrides */
.profile-edit .sort-row input[type="date"],
.profile-edit .sort-row input[type="time"] {
  padding: 0.18rem 0.35rem;
  font-size: 0.8rem;
  height: 1.7rem;
  color-scheme: dark;
}

/* ── Success Levels page ── */
.success-progress-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.success-progress-bar-wrap {
  flex: 1;
  height: 3px;
  background: rgba(139,105,20,0.3);
  position: relative;
}
.success-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  transition: width 0.6s ease;
}
.success-progress-label {
  font-family: 'Georgia', serif;
  font-size: var(--fs-1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dk);
  white-space: nowrap;
}

.success-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.success-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold-dk);
  background: rgba(20,14,4,0.45);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.success-item--done  { border-left: 3px solid var(--gold); }
.success-item--todo  { border-left: 3px solid var(--copper-dk); }
.success-item--greyed { opacity: 0.45; cursor: default; }
.success-item--done:hover,
.success-item--todo:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.06);
}
.success-diamond {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid;
}
.success-diamond--gold  { background: var(--gold-dk); border-color: var(--gold); }
.success-diamond--empty { background: transparent; border-color: var(--gold-dk); }
.success-diamond--silver { background: rgba(206,201,184,0.25); border-color: var(--silver-dk); }
.success-label {
  flex: 1;
  font-family: 'Georgia', serif;
  font-size: var(--fs-2);
  color: var(--cream);
  line-height: 1.45;
}
.success-item--greyed .success-label { color: var(--muted); }
.success-arrow {
  color: var(--gold-dk);
  font-size: var(--fs-1);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.success-item:hover .success-arrow { color: var(--gold); transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .string-anim { animation: none !important; }
  .contract-card.is-urgent { animation: none !important; }
}
