/*
Theme Name: Connective Agency
Theme URI: https://connective.agency
Author: Connective Studio
Author URI: https://connective.agency
Description: Luxury Event & Artist Agency — Night Sea dark theme with North Star brand mark, Poppins typeface, ember/gold accent, and full Connective design system. Matches the Next.js platform Option A.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://connective.agency/license
Text Domain: connective
Tags: dark, luxury, agency, event, artist, one-page, custom-colors, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* ============================================================
   CONNECTIVE — Night Sea Design System
   Palette: Night #06123D · Azure #2E6BFF · Cyan #22D3EE
            Ember #E85002 · Gold #FF8A4C · Ice #EAF2FF
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night:   #06123d;
  --cobalt:  #1233c7;
  --azure:   #2e6bff;
  --cyan:    #22d3ee;
  --ice:     #eaf2ff;
  --ember:   #e85002;
  --flame:   #ff6a1f;
  --gold:    #ff8a4c;
  --gold-lt: #ffb24a;
  --night-2: #0d1b42;
  --night-3: #1b2a57;
  --night-4: #2d3e70;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: radial-gradient(1200px 800px at 70% -10%, #0a1c55 0%, var(--night) 45%, #040c2c 100%) fixed var(--night);
  color: var(--ice);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(232, 80, 2, 0.35); color: var(--ice); }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

/* ── Scrollbar ─────────────────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--night-3) transparent; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--night-3); border-radius: 3px; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ice);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p { color: rgba(234, 242, 255, 0.55); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.7);
}

/* ── Glass ─────────────────────────────────────────────────── */
.glass {
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(234, 242, 255, 0.08);
}

/* ── Gradient text ─────────────────────────────────────────── */
.gradient-brand {
  background: linear-gradient(120deg, var(--gold-lt) 0%, var(--gold) 45%, var(--ember) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Resin CTA sheen ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: var(--night);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(232, 80, 2, 0.5); color: var(--night); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(234, 242, 255, 0.15);
  color: rgba(234, 242, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover { border-color: rgba(34, 211, 238, 0.4); color: var(--ice); }

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

section { padding: 6rem 0; }

/* ── Ambient nebula blobs (decorative) ─────────────────────── */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ── ★ HEADER / NAV ───────────────────────────────────────── */
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}

#masthead.scrolled {
  background: rgba(6, 18, 61, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(234, 242, 255, 0.08);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo lockup */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-wordmark .logo-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ice);
  text-transform: lowercase;
}

.logo-wordmark .logo-sub {
  font-family: var(--font-display);
  font-size: 0.22rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: rgba(234, 242, 255, 0.4);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Desktop nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) { .primary-nav { display: flex; } }

.primary-nav a {
  font-size: 0.875rem;
  color: rgba(234, 242, 255, 0.6);
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.primary-nav a:hover { color: var(--ice); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta {
  display: none;
}
@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.625rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 110;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ice);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: rgba(234, 242, 255, 0.7);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* ── ★ HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: rgba(34, 211, 238, 0.5);
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.5);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(234, 242, 255, 0.1);
  padding-top: 1.5rem;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ice);
}

.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.4);
  margin-top: 0.25rem;
}

/* Constellation visual */
.hero-constellation {
  display: none;
  position: relative;
  aspect-ratio: 1;
}
@media (min-width: 1024px) { .hero-constellation { display: block; } }

.constellation-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}

.constellation-star-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── ★ TRUSTED BY ─────────────────────────────────────────── */
#trusted {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  border-bottom: 1px solid rgba(234, 242, 255, 0.08);
  background: rgba(6, 18, 61, 0.4);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  margin-bottom: 1.75rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  gap: 4rem;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: rgba(234, 242, 255, 0.35);
  white-space: nowrap;
  transition: color var(--transition);
}
.marquee-item:hover { color: rgba(234, 242, 255, 0.8); }

.marquee-wrap {
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 1;
  pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--night), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--night), transparent); }

/* ── ★ SERVICES ───────────────────────────────────────────── */
#services { position: relative; overflow: hidden; }

.services-header { max-width: 40rem; margin-bottom: 4rem; }

.star-path {
  max-width: 56rem;
  border-radius: var(--radius-xl);
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(234, 242, 255, 0.08);
  padding: 0.25rem 2.25rem;
}

@media (max-width: 640px) { .star-path { padding: 0.25rem 1.25rem; } }

.service-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(234, 242, 255, 0.06);
  transition: all var(--transition);
  cursor: default;
}
.service-row:last-child { border-bottom: 1px solid rgba(234, 242, 255, 0.06); }
.service-row:hover .service-title { color: var(--ice); }
.service-row:hover .service-bar { width: 7rem; }
.service-row:hover .node-glow { transform: scale(1.25); color: var(--ice); }

/* The star node on the path */
.service-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  padding-top: 0.375rem;
  position: relative;
}
.node-line {
  width: 1px;
  flex: 1;
  background: rgba(34, 211, 238, 0.12);
}
.node-glow {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}
.node-glow svg { filter: drop-shadow(0 0 5px rgba(255, 138, 76, 0.6)); }

.service-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.service-greek { font-family: var(--font-serif); font-size: 1.125rem; font-style: italic; color: rgba(255, 178, 74, 0.8); }
.service-index { font-family: monospace; font-size: 0.68rem; letter-spacing: 0.28em; color: rgba(34, 211, 238, 0.55); }

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  color: rgba(234, 242, 255, 0.9);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.service-bar {
  height: 1px;
  width: 0;
  background: linear-gradient(to right, var(--gold), rgba(255, 138, 76, 0.4), transparent);
  transition: width 0.5s ease;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.45);
  max-width: 36rem;
  transition: color var(--transition);
  margin-bottom: 0;
}
.service-row:hover .service-desc { color: rgba(234, 242, 255, 0.7); }

/* ── ★ PORTFOLIO ──────────────────────────────────────────── */
#work { position: relative; overflow: hidden; }

.work-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .work-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 242, 255, 0.08);
  cursor: pointer;
  transition: border-color var(--transition);
}
.portfolio-card.large { aspect-ratio: 4/3; }
.portfolio-card.small { aspect-ratio: 4/3; }
.portfolio-card:hover { border-color: rgba(255, 138, 76, 0.3); }

.card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
}
.portfolio-card:hover .card-bg { transform: scale(1.05); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 18, 61, 0.9) 0%, transparent 60%);
}

.card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-category {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 178, 74, 0.8);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--ice);
  transition: color var(--transition);
  margin-bottom: 0;
}
.portfolio-card:hover .card-title { color: var(--gold-lt); }

.card-desc {
  font-size: 0.85rem;
  color: rgba(234, 242, 255, 0.4);
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-bottom: 0;
}
.portfolio-card:hover .card-desc { opacity: 1; transform: translateY(0); }

.card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(234, 242, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: var(--gold);
}
.portfolio-card:hover .card-arrow { opacity: 1; transform: translateY(0); }

/* Placeholder art per card */
.art-lumiere  { background: linear-gradient(135deg, #0a1c55 0%, rgba(18, 51, 199, 0.6) 50%, rgba(232, 80, 2, 0.4) 100%); }
.art-resonance{ background: linear-gradient(135deg, #15133f 0%, rgba(46, 107, 255, 0.5) 50%, rgba(34, 211, 238, 0.3) 100%); }
.art-velvet   { background: linear-gradient(135deg, #1a0f2e 0%, rgba(138, 107, 255, 0.4) 50%, rgba(240, 107, 180, 0.3) 100%); }
.art-meridian { background: linear-gradient(135deg, #04263d 0%, rgba(34, 211, 238, 0.4) 50%, rgba(255, 178, 74, 0.4) 100%); }

/* ── ★ WHY CONNECTIVE ─────────────────────────────────────── */
#why { position: relative; }

.why-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.why-sticky {
  position: static;
}
@media (min-width: 1024px) {
  .why-sticky { position: sticky; top: 8rem; }
}

.why-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.why-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 138, 76, 0.4), transparent);
}

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 242, 255, 0.08);
  background: rgba(6, 18, 61, 0.4);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: default;
}
.why-card:hover {
  border-color: rgba(255, 138, 76, 0.25);
  background: rgba(6, 18, 61, 0.7);
  box-shadow: 0 0 24px rgba(232, 80, 2, 0.12);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(232, 80, 2, 0.15), transparent);
  border: 1px solid rgba(232, 80, 2, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-lt);
  transition: box-shadow var(--transition);
}
.why-card:hover .why-icon { box-shadow: 0 0 24px rgba(232, 80, 2, 0.25); }

.why-card h4 { color: rgba(234, 242, 255, 0.9); margin-bottom: 0.35rem; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.why-card p  { font-size: 0.875rem; color: rgba(234, 242, 255, 0.45); margin-bottom: 0; }

/* ── ★ TESTIMONIALS ───────────────────────────────────────── */
#testimonials {
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  border-bottom: 1px solid rgba(234, 242, 255, 0.08);
  background: rgba(6, 18, 61, 0.4);
  backdrop-filter: blur(4px);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 242, 255, 0.08);
  background: linear-gradient(to bottom, rgba(18, 51, 199, 0.15), transparent);
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: rgba(34, 211, 238, 0.25); }

.testimonial-quote-mark {
  position: absolute;
  top: -0.25rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 178, 74, 0.12);
  pointer-events: none;
  user-select: none;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.8);
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  padding-top: 1.25rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azure), var(--cobalt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ice);
  flex-shrink: 0;
}

.testimonial-name { font-size: 0.875rem; font-weight: 600; color: rgba(234, 242, 255, 0.9); }
.testimonial-role { font-size: 0.75rem; color: rgba(234, 242, 255, 0.4); }

/* ── ★ PRICING ────────────────────────────────────────────── */
#pricing { position: relative; }

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; } }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 242, 255, 0.1);
  background: rgba(6, 18, 61, 0.4);
  transition: border-color var(--transition);
}
.pricing-card.featured {
  border-color: rgba(255, 138, 76, 0.4);
  background: linear-gradient(to bottom, rgba(232, 80, 2, 0.12), rgba(6, 18, 61, 0.3), rgba(6, 18, 61, 0.6));
  box-shadow: 0 0 60px rgba(232, 80, 2, 0.12);
}
@media (min-width: 1024px) {
  .pricing-card.featured { transform: translateY(-0.75rem); }
}
.pricing-card:not(.featured):hover { border-color: rgba(234, 242, 255, 0.25); }

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--gold-lt), var(--gold));
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night);
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ice);
  margin-bottom: 0.375rem;
}
.pricing-desc { font-size: 0.8rem; color: rgba(234, 242, 255, 0.4); margin-bottom: 1.5rem; }

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}
.pricing-currency { font-size: 0.875rem; color: rgba(234, 242, 255, 0.5); }
.pricing-value { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 500; color: var(--ice); }
.pricing-period { font-size: 0.75rem; color: rgba(234, 242, 255, 0.35); }

.pricing-features {
  list-style: none;
  flex: 1;
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(234, 242, 255, 0.6);
}
.pricing-features li.featured-item { color: rgba(234, 242, 255, 0.8); font-weight: 500; }

.feature-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card.featured .feature-check { color: var(--gold); }
.pricing-card:not(.featured) .feature-check { color: rgba(34, 211, 238, 0.7); }

.pricing-cta { width: 100%; justify-content: center; }

/* ── ★ FAQ ────────────────────────────────────────────────── */
#faq { position: relative; }

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 242, 255, 0.08);
  background: rgba(6, 18, 61, 0.3);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(255, 138, 76, 0.3); background: rgba(6, 18, 61, 0.6); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(234, 242, 255, 0.8);
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--gold-lt); }

.faq-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgba(234, 242, 255, 0.4);
  transition: transform var(--transition), color var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--gold); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.5);
}
.faq-item.open .faq-answer { display: block; }

/* ── ★ CONTACT ────────────────────────────────────────────── */
#contact { position: relative; }

.contact-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 138, 76, 0.4), transparent);
}

.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 76, 0.4);
  text-underline-offset: 4px;
  transition: all var(--transition);
}
.contact-email-link:hover { color: var(--ice); text-decoration-color: var(--gold); }

.contact-email-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 138, 76, 0.3);
  background: rgba(232, 80, 2, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-lt);
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.contact-email-link:hover .contact-email-icon { box-shadow: 0 0 24px rgba(232, 80, 2, 0.3); }

.contact-perks {
  list-style: none;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(234, 242, 255, 0.55);
}

.perk-icon { color: rgba(255, 138, 76, 0.8); flex-shrink: 0; }

.contact-signoff {
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(234, 242, 255, 0.5);
}

/* Contact form */
.contact-form-wrap {
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(234, 242, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

@media (max-width: 640px) { .contact-form-wrap { padding: 1.5rem; } }

.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.4);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(234, 242, 255, 0.1);
  background: rgba(6, 18, 61, 0.6);
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(234, 242, 255, 0.3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(255, 138, 76, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 138, 76, 0.1);
}

.form-select option { background: var(--night-2); color: var(--ice); }

.form-textarea { resize: none; }

.form-note {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(234, 242, 255, 0.3);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-submit { width: 100%; justify-content: center; margin-top: 1.25rem; font-size: 0.9rem; }

/* ── ★ FOOTER ─────────────────────────────────────────────── */
#colophon {
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  background: rgba(6, 18, 61, 0.6);
  backdrop-filter: blur(4px);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand-desc {
  max-width: 22rem;
  font-size: 0.875rem;
  color: rgba(234, 242, 255, 0.4);
  margin: 1.25rem 0;
}

.footer-location {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.3);
}

.footer-heading {
  font-family: monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 138, 76, 0.8);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(234, 242, 255, 0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(234, 242, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }

.footer-legal { font-size: 0.75rem; color: rgba(234, 242, 255, 0.3); }

/* ── ★ Utility / Animations ───────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin: 1rem auto 1.5rem; max-width: 36rem; }
.section-header p { max-width: 36rem; margin: 0 auto; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ★ WordPress Core Overrides ───────────────────────────── */
.wp-block-image { margin: 1.5rem 0; }
.wp-caption { text-align: center; font-size: 0.8rem; color: rgba(234, 242, 255, 0.4); }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }

/* Screen-reader text */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--ember);
  color: var(--ice);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* Comments, posts */
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--cyan); text-decoration: underline; }

/* ── ★ Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .hero-stats { gap: 1.5rem; }
  .hero-body { font-size: 1rem; }
}
