/* ============================================================
   BEING JOHN STOCKLEY — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --bg-mid:    #111111;
  --bg-card:   #161616;
  --fg:        #f0ece4;
  --fg-dim:    #888880;
  --pink:      #ff2d9b;
  --yellow:    #f5e642;
  --orange:    #ff8c3a;
  --divider:   rgba(255,255,255,0.08);
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    4px;
  --max-w:     1200px;
  --nav-h:     64px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Grain Texture ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.site-nav .logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  transition: color 0.2s;
}
.site-nav .logo span { color: var(--pink); }
.site-nav .logo:hover { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--pink);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }

/* ── Homepage Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* ── Side Panels — brain-split aesthetic ────────────────────── */
.hero-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
  transition: background 0.4s;
}
.hero-side:hover { background: rgba(255,255,255,0.02); }
.hero-side-left {
  border-right: none;
  text-align: right;
  align-items: flex-end;
}
.hero-side-left h2,
.hero-side-left p,
.hero-side-left .side-label,
.hero-side-left .split-arrow {
  text-align: right;
}
.hero-side-right {
  border-left: none;
  text-align: left;
  align-items: flex-start;
}

.side-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.hero-side-left  .side-label { color: var(--pink); }
.hero-side-right .side-label { color: var(--yellow); }

.hero-side h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-side p {
  max-width: 38ch;
  color: var(--fg-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}
.hero-side-left p { margin-left: auto; }

.hero-side .split-arrow {
  margin-top: 2rem;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}
.hero-side:hover .split-arrow {
  opacity: 1;
  transform: translateX(8px);
}

.hero-side.active { background: rgba(255,255,255,0.02); }
.hero-side.active .split-arrow { opacity: 1; transform: translateX(8px); }


.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vmin; height: 60vmin;
  background: radial-gradient(ellipse at center,
    rgba(255,45,155,0.08) 0%, rgba(245,230,66,0.04) 40%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes glowPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Brain ──────────────────────────────────────────────────── */
.brain-wrap {
  position: relative;
  z-index: 2;
  width: min(50vmin, 520px);
  flex-shrink: 0;
  align-self: center;
  cursor: pointer;
}

@keyframes brainFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-12px) rotate(0.4deg); }
  66%     { transform: translateY(-6px) rotate(-0.3deg); }
}

.brain-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  animation: brainFloat 7s ease-in-out infinite;
}

/* Dim overlay — covers opposite half to where mouse is */
.brain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.brain-overlay::before,
.brain-overlay::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: rgba(0,0,0,0.6);
  transition: opacity 0.35s ease;
  opacity: 0;
}
.brain-overlay::before { left: 0; }   /* covers left half */
.brain-overlay::after  { right: 0; }  /* covers right half */

/* hover-left = mouse on left = dim the RIGHT half */
.brain-wrap.hover-left  .brain-overlay::after  { opacity: 1; }
/* hover-right = mouse on right = dim the LEFT half */
.brain-wrap.hover-right .brain-overlay::before { opacity: 1; }

/* Orange divider */
.brain-divider {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange), 0 0 24px rgba(255,140,58,0.4);
  animation: dividerPulse 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes dividerPulse {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--orange), 0 0 20px rgba(255,140,58,0.3); }
  50%     { opacity:0.7; box-shadow: 0 0 16px var(--orange), 0 0 40px rgba(255,140,58,0.5); }
}

/* ── Hover Panels ───────────────────────────────────────────── */
.brain-panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.brain-panel-left  { left: 0; }
.brain-panel-right { right: 0; }

.brain-wrap.hover-left  .brain-panel-left,
.brain-wrap.hover-right .brain-panel-right {
  opacity: 1;
  transform: translateY(0);
}

.panel-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
  display: block;
}
.brain-panel-right .panel-eyebrow { color: var(--yellow); }

.panel-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vmin, 2.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin: 0 0 0.6rem;
}
.panel-desc {
  font-size: clamp(0.7rem, 1.5vmin, 0.85rem);
  color: var(--fg-dim);
  line-height: 1.5;
  margin: 0 0 0.8rem;
}
.panel-cta {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--fg);
}
.brain-panel-left  .panel-cta { color: var(--pink); }
.brain-panel-right .panel-cta { color: var(--yellow); }

/* ── Inner Page Header ──────────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 2rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.page-header-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.page-header .lead {
  margin-top: 1.5rem;
  max-width: 55ch;
  color: var(--fg-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Section ────────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section + .section {
  border-top: 1px solid var(--divider);
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.section p {
  max-width: 65ch;
  color: var(--fg-dim);
  line-height: 1.75;
}

/* ── Grid layouts ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 3rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(255,45,155,0.3);
  transform: translateY(-4px);
}
.card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-mid);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 1rem 1.25rem 1.25rem; }
.card-body h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.card-body p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.5;
}
.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245,230,66,0.3);
  border-radius: 2px;
  padding: 0.2em 0.6em;
  margin-bottom: 0.5rem;
}

/* ── Skills/Tags ────────────────────────────────────────────── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.4em 0.9em;
  border: 1px solid var(--divider);
  border-radius: 2px;
  color: var(--fg-dim);
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--pink); color: var(--fg); }

/* ── Left/Right Brain Split ──────────────────────────────────── */
.brain-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.brain-split-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.4s;
}
.brain-split-side:first-child {
  border-right: 1px solid var(--divider);
}
.brain-split-side:hover {
  background: rgba(255,255,255,0.02);
}
.brain-split-side .side-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.brain-split-side:first-child .side-label { color: var(--pink); }
.brain-split-side:last-child .side-label { color: var(--yellow); }
.brain-split-side h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.brain-split-side p {
  max-width: 45ch;
  color: var(--fg-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}
.split-arrow {
  margin-top: 2rem;
  font-size: 2rem;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}
.brain-split-side:hover .split-arrow {
  opacity: 1;
  transform: translateX(8px);
}

/* ── Super Nothing TV ────────────────────────────────────────── */
.sntv-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}
.sntv-logo img {
  width: 100%;
  filter: drop-shadow(0 0 20px rgba(255,45,155,0.3));
}
.sntv-text p { color: var(--fg-dim); line-height: 1.8; margin-bottom: 1rem; }
.sntv-roles { margin-top: 1.5rem; }
.sntv-img-card .portfolio-card-body { display: none; }
@media (max-width: 600px) {
  .sntv-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .sntv-logo { max-width: 140px; }
}

/* ── Music Grid ──────────────────────────────────────────────── */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.music-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.music-card-header { margin-bottom: 1rem; }
.music-card-type {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
.music-card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  line-height: 1;
}
.music-card-desc { color: var(--fg-dim); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.music-embed-slot { margin-top: 1.25rem; }
.embed-placeholder {
  border: 1px dashed var(--divider);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.embed-placeholder-wide { padding: 3rem; }

/* ── Art Projects ────────────────────────────────────────────── */
.art-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.art-project-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.art-project-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.art-project-card p { color: var(--fg-dim); font-size: 0.88rem; line-height: 1.6; }

/* ── Video Grid ──────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.video-card.has-embed { cursor: pointer; }
.video-card.has-embed:hover { border-color: var(--pink); transform: translateY(-3px); }
.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-mid);
}
.video-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.video-card.has-embed:hover .video-card-thumb img { transform: scale(1.04); }
.video-card-placeholder { width: 100%; height: 100%; background: var(--bg-mid); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  transition: transform 0.2s;
}
.video-card.has-embed:hover .video-play-btn { transform: scale(1.15); }
.video-card-desc {
  color: var(--fg-dim);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Video popup */
.pf-modal-video {
  grid-template-columns: 1fr !important;
  max-width: 860px;
}
.video-embed-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  width: 100%;
}
.video-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Instagram embed */
.instagram-embed-wrap {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.instagram-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}
.instagram-label a { color: var(--pink); }

/* ── Portfolio Grid ──────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}
.portfolio-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}
.portfolio-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-mid);
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.04); }
.portfolio-card-placeholder { width: 100%; height: 100%; background: var(--bg-mid); }
.portfolio-card-body { padding: 1rem 1.25rem 1.25rem; }
.portfolio-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
  color: var(--fg);
}

/* ── Portfolio Popup ─────────────────────────────────────────── */
.pf-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pf-popup.active { display: flex; }
.pf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  animation: lbFadeIn 0.2s ease;
}
.pf-modal {
  position: relative;
  z-index: 1;
  background: #000;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  animation: lbSlideIn 0.25s ease;
}
.pf-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--divider);
  color: var(--fg);
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}
.pf-close:hover { border-color: var(--pink); color: var(--pink); }
.pf-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #000;
}
.pf-main-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}
.pf-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.pf-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  overflow-x: auto;
  background: rgba(0,0,0,0.8);
  flex-shrink: 0;
}
.pf-thumbs:empty { display: none; }
.pf-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  flex-shrink: 0;
  transition: border-color 0.2s;
  opacity: 0.6;
}
.pf-thumb:hover, .pf-thumb.active { border-color: var(--pink); opacity: 1; }
.pf-info {
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.pf-cat {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  white-space: nowrap;
}
.pf-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-desc {
  color: var(--fg-dim);
  line-height: 1.5;
  font-size: 0.82rem;
  margin: 0;
  flex: 1;
}
.pf-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
@media (max-width: 600px) {
  .pf-info { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .pf-title { white-space: normal; font-size: 1.2rem; }
}


.site-footer {
  border-top: 1px solid var(--divider);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--fg-dim);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }

/* ── About Page ─────────────────────────────────────────────── */
.about-hero {
  padding: calc(var(--nav-h) + 5rem) 4rem 4rem;
  border-bottom: 1px solid var(--divider);
  overflow: hidden;
}
.about-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}
.about-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.about-lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--fg-dim);
  max-width: 60ch;
  line-height: 1.7;
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about-section,
.about-col-main .entry-content {
  margin-bottom: 3rem;
}
.about-section h2,
.about-col-main .entry-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  color: var(--fg);
}
.about-section p,
.about-col-main .entry-content p {
  color: var(--fg-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 65ch;
}
.about-section strong { color: var(--fg); }
.about-list,
.about-col-main .entry-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-list li,
.about-col-main .entry-content ul li {
  color: var(--fg-dim);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.about-list li::before,
.about-col-main .entry-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 0.8rem;
}
.about-list li strong { color: var(--fg); }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.skill-tag {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  border-radius: var(--radius);
}

/* Side column */
.about-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.about-contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.about-contact-card > p {
  color: var(--fg-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--divider);
  color: var(--fg-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.contact-link:hover { color: var(--pink); }
.contact-icon {
  font-size: 0.9rem;
  width: 1.2rem;
  flex-shrink: 0;
  color: var(--fg-dim);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
.highlight {
  background: var(--bg-card);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.highlight-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--pink);
  line-height: 1;
}
.highlight-label {
  font-size: 0.72rem;
  color: var(--fg-dim);
  line-height: 1.4;
}

/* ── Utilities ───────────────────────────────────────────────── */
.text-pink   { color: var(--pink); }
.text-yellow { color: var(--yellow); }
.text-orange { color: var(--orange); }
.text-dim    { color: var(--fg-dim); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 3rem 1.5rem; }
  .page-header { padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem; }

  /* Grid: brain full width top, panels side by side below */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    padding-top: var(--nav-h);
  }

  .brain-wrap {
    grid-column: 1 / 3;
    grid-row: 1;
    width: min(70vw, 300px);
    height: min(70vw, 300px);
    justify-self: center;
    margin: 2rem auto;
  }

  .hero-side-left {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    opacity: 1;
    border-top: 1px solid var(--divider);
    border-right: 1px solid var(--divider);
  }
  .hero-side-left * { text-align: left; }
  .hero-side-left p { margin-left: 0; max-width: 100%; }

  .hero-side-right {
    grid-column: 2;
    grid-row: 2;
    padding: 1.5rem 1rem;
    opacity: 1;
    border-top: 1px solid var(--divider);
  }

  .about-hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem; }
  .about-body { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .about-contact-card { position: static; }
  .about-col-side { order: -1; }
  .about-page { overflow-x: hidden; }
  .about-col-main .entry-content p,
  .about-col-main .entry-content li { font-size: 1rem; }
  .about-hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); word-break: break-word; }
  .about-lead { font-size: 1rem; }
}


/* ══════════════════════════════════════════════════════════
   COMING SOON PAGE
   ══════════════════════════════════════════════════════════ */

.cs-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
  position: relative;
}

.cs-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.cs-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cs-title-pink { color: var(--pink); }

.cs-brain {
  width: clamp(100px, 18vw, 160px);
  margin: 1rem 0 1.5rem;
  opacity: 0.9;
}

.cs-tagline {
  max-width: 520px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cs-tagline strong { color: var(--fg); }

.cs-scroll {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Services */
.cs-services {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
}

.cs-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.cs-section-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.cs-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.cs-service-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-service-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--fg-dim);
  opacity: 0.4;
  line-height: 1;
}

.cs-service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cs-service-card p {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.6;
  flex: 1;
}

.cs-service-price {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* About */
.cs-about {
  border-top: 1px solid var(--divider);
  padding: 5rem 2rem;
}

.cs-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cs-about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}
.cs-about-text p strong { color: var(--fg); }
.cs-about-text .cs-section-label { margin-bottom: 1.5rem; }

.cs-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 1rem;
}

.cs-stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

.cs-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* CTA */
.cs-cta {
  border-top: 1px solid var(--divider);
  padding: 5rem 2rem;
  text-align: center;
}

.cs-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.cs-cta p {
  color: var(--fg-dim);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cs-cta-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cs-btn-primary {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  transition: opacity 0.2s;
}
.cs-btn-primary:hover { opacity: 0.85; }

.cs-btn-secondary {
  display: inline-block;
  border: 1px solid var(--divider);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  transition: border-color 0.2s, color 0.2s;
}
.cs-btn-secondary:hover { border-color: var(--pink); color: var(--pink); }

/* Hide nav on coming soon page */
.page-template-page-coming-soon .site-nav { display: none; }
.page-template-page-coming-soon .cs-hero  { padding-top: 4rem; }

/* Responsive */
@media (max-width: 900px) {
  .cs-services-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .cs-services-grid { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
  .cs-cta-links { flex-direction: column; align-items: center; }
}
