/* Sofia standalone page — extracted from v63 + normalized. */

body.sofia-page-active { padding-top: 0; }
.site-footer, body.sofia-page-active > .nav { display: none; }

.sofia-page-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.sofia-page-nav .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif; font-size: 20px;
  font-style: italic; font-weight: 400;
  color: var(--text); cursor: pointer;
}
.sofia-page-nav .brand-mark {
  width: 28px; height: 28px;
}
.sofia-page-nav .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.sofia-page-back {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-muted); cursor: pointer;
  transition: color 0.2s;
}
.sofia-page-back:hover { color: var(--gold); }

/* ABOVE THE FOLD — Sofia stage */
.sofia-stage-section {
  min-height: calc(100vh - 70px);
  padding: 48px 24px 64px;
  display: flex; align-items: center; justify-content: center;
}
.sofia-stage-inner {
  max-width: 780px; width: 100%;
  text-align: center;
}

.sofia-stage-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sofia-stage-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 #10b981;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Avatar frame */
.sofia-avatar-frame {
  position: relative;
  width: 100%; max-width: 380px;
  aspect-ratio: 4/5;
  margin: 0 auto 36px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px rgba(0,0,0,0.5);
  overflow: hidden;
}
.sofia-avatar-frame .corner {
  position: absolute; width: 22px; height: 22px;
  border-color: var(--gold); z-index: 4;
}
.sofia-avatar-frame .corner.tl { top: 14px; left: 14px; border-top: 1px solid; border-left: 1px solid; }
.sofia-avatar-frame .corner.tr { top: 14px; right: 14px; border-top: 1px solid; border-right: 1px solid; }
.sofia-avatar-frame .corner.bl { bottom: 14px; left: 14px; border-bottom: 1px solid; border-left: 1px solid; }
.sofia-avatar-frame .corner.br { bottom: 14px; right: 14px; border-bottom: 1px solid; border-right: 1px solid; }

/* Placeholder state */
.sofia-placeholder {
  position: relative;
  width: 100%; height: 100%;
}
.sofia-placeholder-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(0.85) contrast(1.04);
}
.sofia-placeholder-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.85) 50%, rgba(10, 22, 40, 0.98) 100%);
  text-align: center;
}
.sofia-placeholder-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(200, 169, 107, 0.1);
  border: 1px solid rgba(200, 169, 107, 0.3);
}
.sofia-placeholder-badge .badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
.sofia-placeholder-headline {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.sofia-placeholder-headline em {
  font-style: italic; color: var(--gold);
}
.sofia-placeholder-sub {
  font-size: 14px; line-height: 1.5;
  color: var(--text-secondary);
  max-width: 32ch; margin: 0 auto;
}

/* Language selector */
.sofia-lang-selector {
  margin-bottom: 36px;
}
.sofia-lang-label {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sofia-lang-buttons {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sofia-lang-btn {
  background: transparent;
  border: 1px solid var(--line-bright);
  color: var(--text-secondary);
  padding: 14px 22px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 140px;
  font-family: inherit;
}
.sofia-lang-btn .lang-name {
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.sofia-lang-btn .lang-greeting {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
}
.sofia-lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.sofia-lang-btn:hover .lang-name { color: var(--gold); }
.sofia-lang-btn.active {
  background: rgba(200, 169, 107, 0.08);
  border-color: var(--gold);
}
.sofia-lang-btn.active .lang-name { color: var(--gold); }
.sofia-lang-btn.active .lang-greeting { color: var(--text-secondary); }

.sofia-lang-more {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 50ch; margin: 0 auto;
}
.sofia-lang-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 107, 0.3);
}
.sofia-lang-more a:hover { border-bottom-color: var(--gold); }

/* Sofia ownership clarifier — prevents prospects from thinking they're buying "a Sofia" */
.sofia-ownership-clarifier {
  margin: 28px auto 0;
  padding: 14px 24px;
  background: rgba(200, 169, 107, 0.06);
  border: 1px solid var(--line-gold);
  border-radius: 0;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.sofia-ownership-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.sofia-ownership-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.sofia-ownership-text em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
}
@media (max-width: 600px) {
  .sofia-ownership-clarifier {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }
  .sofia-ownership-text em { font-size: 14px; }
}

/* CTA area — notify card (placeholder state) */
.sofia-cta-area {
  margin-top: 8px;
}
.sofia-notify-card {
  background: rgba(200, 169, 107, 0.04);
  border: 1px solid var(--line);
  padding: 32px 28px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.sofia-notify-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
}
.sofia-notify-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sofia-notify-sub {
  font-size: 14px; line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.sofia-notify-form {
  display: flex; gap: 8px;
  margin-bottom: 14px;
}
.sofia-notify-form input {
  flex: 1; min-width: 0;
  background: var(--navy);
  border: 1px solid var(--line-bright);
  color: var(--text);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  transition: border-color 0.2s;
}
.sofia-notify-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.sofia-notify-form input::placeholder { color: var(--text-muted); }
.sofia-notify-form button {
  background: var(--gold); color: var(--navy);
  border: 1px solid var(--gold);
  padding: 14px 22px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.sofia-notify-form button:hover {
  background: transparent;
  color: var(--gold);
}
.sofia-notify-fineprint {
  font-size: 14px; line-height: 1.5;
  color: var(--text-muted);
}

/* LIVE state start button (currently hidden, ready for Viktor) */
.sofia-start-btn {
  background: var(--gold); color: var(--navy);
  padding: 20px 36px;
  border: 1px solid var(--gold);
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px;
  transition: all 0.3s;
}
.sofia-start-btn .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 #10b981;
  animation: pulse 2s infinite;
}
.sofia-start-btn:hover {
  background: transparent;
  color: var(--gold);
}
.sofia-start-meta {
  margin-top: 14px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* BELOW THE FOLD — context section */
.sofia-context-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.sofia-context-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1180px; margin: 0 auto;
  padding: 0 32px;
}
.sofia-context-block .eyebrow { margin-bottom: 16px; }
.sofia-context-block h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 24px;
}
.sofia-context-block h2 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.sofia-context-block p {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 15px; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.sofia-context-block p strong { color: var(--text); font-weight: 500; }
.sofia-context-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold);
  cursor: pointer;
  transition: gap 0.25s;
}
.sofia-context-link:hover { gap: 14px; }

/* Roles list — replaces caps list. Used in /sofia "what yours could do" block */
.sofia-roles-intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.sofia-roles-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.sofia-role {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.sofia-role:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sofia-role:first-child {
  padding-top: 0;
}
.sofia-role .role-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.sofia-role .role-detail {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.sofia-roles-outro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sofia-roles-outro strong {
  color: var(--text);
  font-weight: 500;
}

/* CTA bottom section */
.sofia-cta-bottom-section {
  padding: 96px 0;
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.sofia-cta-bottom-inner {
  max-width: 760px; margin: 0 auto;
  padding: 0 32px;
}
.sofia-cta-bottom-inner .eyebrow { justify-content: center; }
.sofia-cta-bottom-inner h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.sofia-cta-bottom-inner h2 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.sofia-cta-bottom-inner p {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 16px; line-height: 1.7;
  color: var(--text-secondary);
  max-width: 56ch; margin: 0 auto 36px;
}
.sofia-cta-bottom-inner .btn-row { justify-content: center; }

/* Share section */
.sofia-share-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.sofia-share-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 64px; align-items: center;
  max-width: 1180px; margin: 0 auto;
  padding: 0 32px;
}
.sofia-share-text .eyebrow { margin-bottom: 16px; }
.sofia-share-text h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 20px;
}
.sofia-share-text h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.sofia-share-text p {
  font-size: 15px; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.sofia-share-link-row {
  display: flex; gap: 8px;
  margin-bottom: 20px;
}
.sofia-share-link-row input {
  flex: 1; min-width: 0;
  background: var(--navy-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px;
}
.sofia-share-copy {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 22px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.sofia-share-copy:hover {
  background: var(--gold);
  color: var(--navy);
}
.sofia-share-copy.copied {
  background: var(--gold);
  color: var(--navy);
}
.sofia-share-channels {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sofia-share-channel {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.25s;
}
.sofia-share-channel:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.sofia-share-channel .ch-icon {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.05em;
}
.sofia-share-channel .ch-label {
  font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.15em;
}

.sofia-share-qr {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
}
.sofia-share-qr-frame {
  position: relative;
  width: 240px; height: 240px;
  background: var(--text);
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
}
.sofia-share-qr-frame .corner {
  position: absolute; width: 18px; height: 18px;
  border-color: var(--gold); z-index: 4;
}
.sofia-share-qr-frame .corner.tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.sofia-share-qr-frame .corner.tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.sofia-share-qr-frame .corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.sofia-share-qr-frame .corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }
.sofia-share-qr-frame canvas,
.sofia-share-qr-frame img {
  width: 100%; height: 100%; display: block;
}
.sofia-share-qr-caption {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* Page footer */
.sofia-page-footer {
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--navy);
}
.sofia-page-footer-row {
  font-family: 'Inter', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sofia-page-footer-row span {
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 4px;
}
.sofia-page-footer-row span:hover { color: var(--gold); }
.sofia-page-footer-legal {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text-muted);
}
.sofia-page-footer-legal span {
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}
.sofia-page-footer-legal span:hover { color: var(--gold); }
