/*
Theme Name: XPL OKComputer
Theme URI: https://xperformancelab.com
Author: Xavier Savage
Author URI: https://xperformancelab.com
Description: Xesthetic Performance Labs luxury dark theme. Crimson Shadow #8B0000 and Imperial Purple #4B0082 primary palette. Copper Bronze #B87333 accent. Cormorant Garamond serif display. IOI doctrine — Inertia Over Inspiration.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: xpl-okcomputer
*/

/* ── BRAND TOKENS ──────────────────────────────────────────── */
:root {
  --bg:        #131313;
  --bg-deep:   #0a0a0a;
  --card:      #1A1A1A;
  --card-hi:   #222222;
  --crimson:   #8B0000;
  --purple:    #4B0082;
  --copper:    #B87333;
  --copper-lt: #D4956A;
  --white:     #F7F7F7;
  --muted:     #C8C8C8;
  --dim:       #7A7A7A;
  --warm:      #BFB1A8;
  --border:    rgba(255,255,255,0.055);
  --border-cu: rgba(184,115,51,0.25);
  --copper-grad: linear-gradient(135deg, #B87333 0%, #D4956A 50%, #B87333 100%);
  --radius:    20px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.serif,
h1.display, h2.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: ui-monospace, 'SF Mono', 'Roboto Mono', monospace;
  display: block;
  margin-bottom: 14px;
}
.eyebrow--crimson { color: var(--crimson); }
.eyebrow--purple  { color: var(--purple); }
.eyebrow--copper  { color: var(--copper); }

/* Copper metallic text */
.copper-text {
  background: var(--copper-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── AMBIENT BLOBS ─────────────────────────────────────────── */
.blob-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
}
.blob-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(139,0,0,0.13) 0%, transparent 70%); top: 5%;   left: 8%;  animation: blob1 22s ease-in-out infinite; filter: blur(80px); }
.blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(75,0,130,0.10) 0%, transparent 70%); top: 45%;  right: 3%; animation: blob2 28s ease-in-out infinite; filter: blur(70px); }
.blob-3 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(139,0,0,0.09) 0%, transparent 70%); bottom: 8%;left: 38%; animation: blob3 19s ease-in-out infinite; filter: blur(65px); }
.blob-4 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(184,115,51,0.08) 0%, transparent 70%); top: 28%;  left: 58%; animation: blob4 24s ease-in-out infinite; filter: blur(55px); }

@keyframes blob1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,-60px) scale(1.1)} 66%{transform:translate(-40px,40px) scale(0.9)} }
@keyframes blob2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-60px,50px) scale(1.15)} 66%{transform:translate(30px,-30px) scale(0.95)} }
@keyframes blob3 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(50px,40px) scale(1.05)} 66%{transform:translate(-60px,-20px) scale(0.92)} }
@keyframes blob4 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-30px,-50px) scale(1.08)} 66%{transform:translate(40px,30px) scale(0.95)} }

/* ── NAVIGATION ────────────────────────────────────────────── */
.xpl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 24px;
  transition: padding 0.4s ease;
}
.xpl-nav.scrolled { padding: 10px 24px; }

.xpl-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.45s ease;
}
.xpl-nav.scrolled .xpl-nav__inner {
  background: rgba(16,16,16,0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-color: var(--border);
}

.xpl-nav__logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  background: none;
}

.xpl-nav__links { display: flex; align-items: center; gap: 36px; }
.xpl-nav__link {
  font-size: 13px;
  color: var(--white);
  opacity: 0.75;
  background: none;
  transition: opacity 0.2s;
}
.xpl-nav__link:hover { opacity: 1; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 13px 32px;
  color: #fff;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--crimson { background: var(--crimson); }
.btn--purple  { background: var(--purple); }
.btn--copper  { background: var(--copper-grad); border: none; }
.btn--ghost   { background: transparent; border: 1px solid rgba(255,255,255,0.15); }

/* ── COPPER RULE ───────────────────────────────────────────── */
.copper-rule {
  width: 1px;
  height: 72px;
  background: var(--copper-grad);
  margin: 0 auto;
  opacity: 0.45;
}
.copper-bar {
  width: 40px;
  height: 1px;
  background: var(--copper-grad);
  margin-bottom: 24px;
}

/* ── SECTIONS ──────────────────────────────────────────────── */
.xpl-section {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 15vh 48px;
}
.xpl-section__inner { max-width: 1400px; margin: 0 auto; }

.section-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 64px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 64px;
  line-height: 1.7;
}

/* ── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 100px;
  position: relative;
  z-index: 1;
}
.hero__grid {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 40px;
}
.hero__img-wrap { display: flex; justify-content: flex-end; }
.hero__img-box {
  position: relative;
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  aspect-ratio: 577 / 1024;
  max-height: 72vh;
  overflow: hidden;
  border: 1px solid var(--border-cu);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.hero__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.8) 100%);
  border-radius: 24px;
}
.hero__img-corner {
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(225deg, rgba(184,115,51,0.2) 0%, transparent 60%);
  border-radius: 0 24px 0 0;
  z-index: 3;
}

/* ── CTA SECTION ───────────────────────────────────────────── */
#quiz {
  z-index: 2;
  background: var(--bg);
  padding: 18vh 48px;
  position: relative;
  text-align: center;
}
.cta__h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--white);
}

/* ── TRANSFORMATIONS ───────────────────────────────────────── */
.tx-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.tx-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.tx-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,0,0,0.2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.tx-card__img {
  height: 320px;
  overflow: hidden;
  position: relative;
}
.tx-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.tx-card:hover .tx-card__img img { transform: scale(1.05); }
.tx-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(26,26,26,0.97) 100%); }
.tx-card__body { padding: 28px 32px 36px; }
.tx-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px; font-weight: 400;
  color: var(--white); margin-bottom: 4px; line-height: 1;
}
.tx-card__tagline { font-size: 11px; color: var(--copper); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 20px; }
.tx-stats {
  padding: 16px;
  background: rgba(184,115,51,0.05);
  border-radius: 10px;
  border: 1px solid rgba(184,115,51,0.1);
  margin-bottom: 20px;
}
.tx-stat { display: flex; justify-content: space-between; margin-bottom: 8px; }
.tx-stat:last-child { margin-bottom: 0; }
.tx-stat__label { font-size: 9px; color: var(--dim); font-family: ui-monospace,monospace; letter-spacing: 0.15em; }
.tx-stat__val    { font-size: 11px; color: var(--muted); font-family: ui-monospace,monospace; }
.tx-stat__val--copper { color: var(--copper); font-weight: 600; }
.tx-card__quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px; line-height: 1.7; color: var(--dim); font-style: italic; margin-bottom: 24px;
}
.btn--outline-copper {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid var(--border-cu);
  border-radius: 100px; padding: 10px 24px;
  color: var(--copper); text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn--outline-copper:hover { background: rgba(184,115,51,0.1); }

/* ── PRICING ───────────────────────────────────────────────── */
#pricing { padding: 15vh 48px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.tier-card {
  border-radius: 16px;
  padding: 28px 20px;
  position: relative;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.tier-card:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(0,0,0,0.45); border-color: rgba(139,0,0,0.15); }
.tier-card--featured { background: rgba(139,0,0,0.07); border-color: rgba(139,0,0,0.3); }
.tier-card--featured:hover { border-color: rgba(139,0,0,0.5); }
.tier-badge {
  position: absolute; top: 0; right: 0;
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
  background: var(--crimson); padding: 5px 12px;
  border-radius: 0 16px 0 12px; text-transform: uppercase; color: #fff;
}
.tier-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: ui-monospace,monospace;
  display: block;
  margin-bottom: 4px;
}
.tier-label { font-size: 9px; color: var(--dim); font-family: ui-monospace,monospace; display: block; margin-bottom: 14px; }
.tier-name  { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.tier-divider { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.tier-price big {
  font-size: 26px; font-weight: 600;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tier-price span { font-size: 11px; color: var(--dim); }
.tier-features { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.tier-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.tier-features li::before { content: '+'; color: var(--copper); flex-shrink: 0; margin-top: 1px; }
.tier-btn {
  width: 100%; font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 11px 0; color: #fff; text-transform: uppercase;
  cursor: pointer;
}
.tier-btn--featured { background: var(--crimson); border: none; }

/* Legacy box */
.legacy-box {
  border-radius: var(--radius); padding: 56px 48px;
  background: linear-gradient(135deg, rgba(184,115,51,0.06) 0%, rgba(139,0,0,0.04) 100%);
  border: 1px solid var(--border-cu);
  text-align: center; position: relative; overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.legacy-box__corner-tl { position: absolute; top:0; left:0; width:60px; height:60px; border-top:1px solid var(--border-cu); border-left:1px solid var(--border-cu); border-radius:20px 0 0 0; }
.legacy-box__corner-br { position: absolute; bottom:0; right:0; width:60px; height:60px; border-bottom:1px solid var(--border-cu); border-right:1px solid var(--border-cu); border-radius:0 0 20px 0; }
.legacy-box__h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px; font-weight: 400; color: var(--white); margin-bottom: 12px; letter-spacing: -0.5px;
}

/* ── PROGRAMS ──────────────────────────────────────────────── */
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prog-card {
  border-radius: var(--radius); height: 440px;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.prog-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(15,15,15,0.97) 100%); }
.prog-card__dot { position: absolute; top: 20px; right: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-grad); }
.prog-card__label { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 36px; }
.prog-card__sub { font-size: 9px; letter-spacing: 0.2em; color: var(--copper); font-family: ui-monospace,monospace; text-transform: uppercase; display: block; margin-bottom: 10px; }
.prog-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 400; color: var(--white); line-height: 1.2;
}

/* ── BLOG ──────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.blog-card {
  border-radius: 16px; padding: 36px;
  background: var(--card); border: 1px solid var(--border);
  cursor: pointer; transition: border-color 0.3s ease;
}
.blog-card:hover { border-color: var(--border-cu); }
.blog-card__cat { font-size: 9px; letter-spacing: 0.2em; color: var(--copper); font-family: ui-monospace,monospace; text-transform: uppercase; }
.blog-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 400; color: var(--white); margin: 14px 0; line-height: 1.3;
}
.blog-card__excerpt { font-size: 13px; line-height: 1.75; color: var(--dim); }
.blog-card__cta { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.blog-card__cta span { font-size: 11px; color: var(--copper); font-weight: 500; letter-spacing: 0.05em; }

/* ── CONTACT ───────────────────────────────────────────────── */
#booking { padding: 15vh 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.addon-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--card);
  border-radius: 12px; border: 1px solid var(--border);
  margin-bottom: 10px;
}
.addon-price {
  font-size: 16px; font-weight: 600;
  background: var(--copper-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-form-box { border-radius: var(--radius); padding: 48px; background: var(--card); border: 1px solid var(--border); }
.form-group { margin-bottom: 28px; }
.form-label { font-size: 9px; color: var(--copper); letter-spacing: 0.18em; text-transform: uppercase; font-family: ui-monospace,monospace; display: block; margin-bottom: 10px; }
.form-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0; font-size: 15px; color: var(--white); outline: none;
}
.form-input::placeholder { color: #333; }

/* ── FOOTER ────────────────────────────────────────────────── */
.xpl-footer {
  z-index: 2; background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 28px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 11px; color: var(--dim); font-family: ui-monospace,monospace; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 11px; color: var(--copper); font-family: ui-monospace,monospace; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__img-wrap { justify-content: center; }
  .hero__img-box { max-height: 50vh; }
  .tx-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__grid { gap: 32px; }
  #hero { padding: 120px 24px 60px; }
  .xpl-section { padding: 10vh 24px; }
  #quiz { padding: 12vh 24px; }
  .tx-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .programs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .xpl-nav__links { display: none; }
}

/* ── LIQUID GLASS ──────────────────────────────────────────── */
.liquid-glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 32px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; mix-blend-mode: screen; opacity: 0.25;
}
