@charset "UTF-8";

:root {
  --radius: 0.25rem;
  --background: oklch(0.14 0.012 45);
  --foreground: oklch(0.92 0.02 80);
  --card: oklch(0.18 0.016 45);
  --card-foreground: oklch(0.92 0.02 80);
  --primary: oklch(0.76 0.11 72);
  --primary-foreground: oklch(0.15 0.02 45);
  --muted-foreground: oklch(0.68 0.03 70);
  --border: oklch(0.3 0.025 55 / 60%);
  --gold: oklch(0.82 0.12 82);
  --copper: oklch(0.66 0.13 55);
  --ember: oklch(0.62 0.19 40);
  --gradient-gold: linear-gradient(100deg, oklch(0.6 0.09 60), oklch(0.9 0.13 88), oklch(0.68 0.11 50), oklch(0.88 0.12 85));
  --gradient-night: linear-gradient(180deg, oklch(0.14 0.012 45) 0%, oklch(0.19 0.02 40) 45%, oklch(0.12 0.01 45) 100%);
  --shadow-cover: 0 40px 80px -20px oklch(0 0 0 / 85%), 0 0 90px -30px oklch(0.62 0.19 40 / 50%);
  --shadow-glow: 0 0 40px -8px oklch(0.76 0.11 72 / 50%);
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-ui: "Barlow Condensed", sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; scroll-padding-top: 59px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--ember); color: oklch(0.98 0 0); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.soc-site-main { min-height: 1px; }
.soc-landing { min-height: 100vh; background-image: var(--gradient-night); }
.soc-grain { position: relative; }
.soc-grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.soc-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.soc-gilded,
.soc-source-hero h1,
.soc-source-pull-quote p,
.soc-source-closing-quote,
.soc-source-card h3,
.soc-source-order h2 { color: transparent; background-image: var(--gradient-gold); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: soc-shimmer 9s ease-in-out infinite; }

/* Header: direct equivalent of the source navigation. */
.soc-site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid oklch(0.3 0.025 55 / 24%); background: oklch(0.14 0.012 45 / 70%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.soc-nav-wrap { width: 100%; max-width: 1152px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 20px; }
.soc-site-branding { min-width: 0; }
.soc-wordmark { display: block; overflow: hidden; color: transparent; background-image: var(--gradient-gold); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; font-family: var(--font-display); font-size: 14px; line-height: 20px; letter-spacing: 0.35em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; animation: soc-shimmer 9s ease-in-out infinite; }
.soc-site-branding .custom-logo-link { display: block; max-width: 220px; }
.soc-site-branding .custom-logo { width: auto; max-height: 34px; }
.soc-primary-navigation { flex-shrink: 0; }
.soc-menu-list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; color: var(--muted-foreground); font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; }
.soc-menu-list a { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.soc-menu-list a:hover { color: var(--primary); }
.soc-menu-list li:last-child a { display: block; padding: 8px 16px; border: 1px solid oklch(0.76 0.11 72 / 60%); border-radius: 2px; color: var(--primary); }
.soc-menu-list li:last-child a:hover { background: var(--primary); color: var(--primary-foreground); }
.soc-menu-toggle { display: none !important; }
body.admin-bar .soc-site-header { top: 32px; }

/* Hero */
.soc-source-hero { position: relative; display: flex; min-height: 100vh; align-items: center; overflow: hidden; padding: 96px 0 64px; }
.soc-source-hero-bg { position: absolute; inset: 0; background-position: center 30%; background-size: cover; opacity: 0.35; filter: blur(6px) saturate(0.75); transform: translateY(var(--soc-parallax-y, 0px)) scale(1.2); will-change: transform; }
.soc-source-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.14 0.012 45 / 90%) 0%, oklch(0.14 0.012 45 / 72%) 40%, var(--background) 96%); }
.soc-source-hero-grid { position: relative; max-width: 1152px; margin-inline: auto; display: grid; align-items: center; gap: 56px; padding-inline: 20px; }
.soc-source-eyebrow { color: var(--copper); font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: 0.5em; text-transform: uppercase; }
.soc-source-hero h1 { margin-top: 20px; font-size: 60px; font-weight: 700; line-height: 0.9; letter-spacing: -0.025em; text-transform: uppercase; }
.soc-source-hero-rule { max-width: 384px; margin-block: 28px; }
.soc-source-hero-description { max-width: 576px; color: var(--muted-foreground); font-size: 20px; line-height: 1.625; }
.soc-source-author-line { margin-top: 24px; color: var(--foreground); font-family: var(--font-display); font-size: 18px; line-height: 28px; letter-spacing: 0.25em; text-transform: uppercase; }
.soc-source-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.soc-source-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 32px; border-radius: 2px; font-family: var(--font-ui); font-size: 14px; line-height: 20px; letter-spacing: 0.2em; text-align: center; text-transform: uppercase; }
.soc-source-button-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); transition: transform 150ms ease; }
.soc-source-button-primary:hover { transform: translateY(-2px); }
.soc-source-button-secondary { border: 1px solid var(--border); color: var(--foreground); transition: color 150ms ease, border-color 150ms ease; }
.soc-source-button-secondary:hover { border-color: var(--primary); color: var(--primary); }
.soc-source-hero-cover-wrap { justify-self: center; }
.soc-source-float { perspective: 1000px; animation: soc-float-slow 9s ease-in-out infinite; }
.soc-source-hero-cover { width: 300px; border-radius: 2px; box-shadow: var(--shadow-cover); }
.soc-source-scroll-line { position: absolute; inset: auto 0 32px; width: 1px; height: 40px; margin-inline: auto; background: linear-gradient(to bottom, transparent, var(--primary), transparent); animation: soc-pulse-glow 3s ease-in-out infinite; }
.soc-embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.soc-embers .soc-ember { position: absolute; bottom: -10px; left: var(--ember-left); width: var(--ember-size); height: var(--ember-size); border-radius: 9999px; background: var(--ember); box-shadow: 0 0 10px 2px oklch(0.62 0.19 40 / 70%); animation: soc-ember-rise var(--ember-duration) linear var(--ember-delay) infinite; }

/* Pull quote */
.soc-source-pull-quote { position: relative; padding-block: 80px; border-block: 1px solid oklch(0.3 0.025 55 / 30%); background: oklch(0.18 0.016 45 / 40%); }
.soc-source-quote-inner { max-width: 896px; margin-inline: auto; padding-inline: 20px; text-align: center; }
.soc-source-pull-quote p { font-family: var(--font-display); font-size: 30px; line-height: 1.375; }

/* Story */
.soc-source-story { position: relative; max-width: 896px; margin-inline: auto; padding: 96px 20px; }
.soc-source-story h2 { color: var(--foreground); font-size: 36px; line-height: 40px; letter-spacing: 0.15em; text-align: center; text-transform: uppercase; }
.soc-source-section-rule { max-width: 320px; margin: 24px auto 0; }
.soc-source-chapters { display: grid; gap: 56px; margin-top: 64px; }
.soc-source-chapter { position: relative; padding-left: 24px; border-left: 1px solid oklch(0.3 0.025 55 / 42%); transition: border-color 150ms ease; }
.soc-source-chapter > span { position: absolute; top: 0; left: -1px; width: 1px; height: 32px; background: var(--primary); opacity: 0; transition: opacity 150ms ease; }
.soc-source-chapter:hover { border-left-color: var(--primary); }
.soc-source-chapter:hover > span { opacity: 1; }
.soc-source-chapter-kicker { color: var(--copper); font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: 0.35em; text-transform: uppercase; }
.soc-source-chapter-body { margin-top: 16px; color: var(--muted-foreground); font-size: 20px; line-height: 1.625; }
.soc-source-closing-quote { margin-top: 64px; font-family: var(--font-display); font-size: 24px; line-height: 1.625; text-align: center; }

/* Themes */
.soc-source-themes { position: relative; padding-block: 96px; border-block: 1px solid oklch(0.3 0.025 55 / 30%); background: oklch(0.18 0.016 45 / 30%); }
.soc-source-wide { max-width: 1152px; margin-inline: auto; padding-inline: 20px; }
.soc-source-themes h2 { font-size: 30px; line-height: 36px; letter-spacing: 0.15em; text-align: center; text-transform: uppercase; }
.soc-source-card-grid { display: grid; gap: 24px; margin-top: 56px; }
.soc-source-card-grid > .soc-reveal { height: 100%; }
.soc-source-card { height: 100%; padding: 32px; border: 1px solid oklch(0.3 0.025 55 / 42%); border-radius: 2px; background: oklch(0.14 0.012 45 / 60%); transition: transform 150ms ease, border-color 150ms ease; }
.soc-source-card:hover { transform: translateY(-4px); border-color: oklch(0.76 0.11 72 / 70%); }
.soc-source-card h3 { font-size: 20px; line-height: 28px; letter-spacing: 0.2em; text-transform: uppercase; }
.soc-source-card p { margin-top: 16px; color: var(--muted-foreground); font-size: 18px; line-height: 1.625; }

/* Author */
.soc-source-author { max-width: 896px; margin-inline: auto; padding: 96px 20px; text-align: center; }
.soc-source-author h2 { margin-top: 20px; font-size: 36px; line-height: 40px; letter-spacing: 0.15em; text-transform: uppercase; }
.soc-source-author-bio { max-width: 672px; margin: 32px auto 0; color: var(--muted-foreground); font-size: 20px; line-height: 1.625; }

/* Order */
.soc-source-order { position: relative; overflow: hidden; padding-block: 96px; border-top: 1px solid oklch(0.3 0.025 55 / 30%); }
.soc-source-order-grid { position: relative; max-width: 1024px; margin-inline: auto; display: grid; align-items: center; gap: 48px; padding-inline: 20px; }
.soc-source-order-cover-wrap { justify-self: center; }
.soc-source-order-cover { width: 260px; border-radius: 2px; box-shadow: var(--shadow-cover); }
.soc-source-order h2 { margin-top: 16px; font-size: 36px; line-height: 1.25; }
.soc-source-order-description { margin-top: 20px; color: var(--muted-foreground); font-size: 20px; line-height: 1.625; }
.soc-source-price { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.soc-source-price span { color: var(--foreground); font-family: var(--font-display); font-size: 36px; line-height: 40px; }
.soc-source-price del { color: var(--muted-foreground); font-family: var(--font-ui); font-size: 14px; line-height: 20px; letter-spacing: 0.1em; }
.soc-source-order-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* Footer: exact source defaults; optional footer menus stay compact. */
.soc-site-footer { padding-block: 40px; border-top: 1px solid oklch(0.3 0.025 55 / 30%); text-align: center; background: transparent; }
.soc-footer-inner { padding-inline: 0; }
.soc-site-footer p { color: var(--muted-foreground); font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: 0.3em; text-transform: uppercase; }
.soc-footer-navigation { margin-bottom: 20px; }
.soc-footer-menu { display: flex; justify-content: center; gap: 20px; margin: 0; padding: 0; list-style: none; color: var(--muted-foreground); font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* Scroll reveal */
.soc-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--soc-reveal-delay, 0ms); }
.soc-reveal.soc-is-visible { opacity: 1; transform: none; }

/* Native WordPress content */
.soc-content-frame { width: min(896px, calc(100% - 40px)); margin-inline: auto; padding: 128px 0 96px; }
.soc-content-frame h1 { margin-bottom: 28px; font-size: 48px; line-height: 1.15; }
.soc-content-frame h2 { margin: 44px 0 20px; font-size: 36px; line-height: 1.2; }
.soc-content-frame h3 { margin: 34px 0 16px; font-size: 28px; }
.soc-content-frame p, .soc-content-frame li { color: var(--muted-foreground); font-size: 20px; line-height: 1.625; }
.soc-content-frame p { margin-bottom: 24px; }
.soc-content-frame a { color: var(--primary); }
.soc-content-frame ul, .soc-content-frame ol { padding-left: 28px; }
.soc-content-frame blockquote { margin-block: 36px; padding-left: 28px; border-left: 1px solid var(--primary); color: var(--foreground); font-family: var(--font-display); font-size: 30px; line-height: 1.4; }
.soc-content-frame figure { margin-block: 36px; }
.soc-post { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--border); }
.soc-post-meta { display: flex; gap: 9px; margin-bottom: 20px; color: var(--copper); font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.soc-post-title { margin: 0 0 22px !important; }
.soc-post-title a { color: var(--foreground); }
.soc-read-more { display: inline-block; margin-top: 8px; color: var(--primary); font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.soc-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.soc-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--border); }
.soc-pagination .current { background: var(--primary); color: var(--primary-foreground); }
.soc-button { display: inline-flex; padding: 16px 32px; border-radius: 2px; background: var(--primary); color: var(--primary-foreground) !important; font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.soc-content-frame input, .soc-content-frame textarea, .soc-content-frame select { width: 100%; max-width: 100%; padding: 12px; border: 1px solid var(--border); color: var(--foreground); background: var(--card); font: inherit; }
.soc-elementor-page .elementor-widget-text-editor, .soc-elementor-page .elementor-widget-theme-post-content { color: var(--muted-foreground); }
.soc-elementor-page .elementor-section.elementor-section-boxed > .elementor-container, .soc-elementor-page .e-con.e-con-boxed > .e-con-inner { max-width: 1152px; }

@keyframes soc-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes soc-float-slow { 0%, 100% { transform: translateY(0) rotateY(0deg); } 50% { transform: translateY(-14px) rotateY(-3deg); } }
@keyframes soc-ember-rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 0.8; } 100% { transform: translateY(-70vh) scale(1.1); opacity: 0; } }
@keyframes soc-pulse-glow { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.75; } }

@media (min-width: 640px) {
  .soc-nav-wrap { display: flex; justify-content: space-between; }
  .soc-source-hero h1 { font-size: 96px; }
  .soc-source-hero-description { font-size: 24px; line-height: 1.625; }
  .soc-source-hero-cover { width: 380px; }
  .soc-source-pull-quote p { font-size: 48px; }
  .soc-source-story { padding-block: 128px; }
  .soc-source-story h2 { font-size: 48px; line-height: 1; }
  .soc-source-chapter { padding-left: 40px; }
  .soc-source-chapter-body { font-size: 24px; line-height: 1.625; }
  .soc-source-closing-quote { font-size: 30px; }
  .soc-source-themes h2 { font-size: 36px; line-height: 40px; }
  .soc-source-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .soc-source-author h2 { font-size: 48px; line-height: 1; }
  .soc-source-order-cover { width: 320px; }
  .soc-source-order h2 { font-size: 48px; }
  .soc-source-order-actions { flex-direction: row; }
}

@media (min-width: 768px) {
  .soc-source-order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .soc-source-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

@media (max-width: 639px) {
  .soc-menu-list li:not(:last-child) { display: none; }
  body.admin-bar .soc-site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .soc-reveal { opacity: 1; transform: none; }
  .soc-source-hero-bg { transform: scale(1.2); }
}
