﻿:root {
  /* SkillEngine brand — one neutral family + gold accent + orange CTA only */
  --ink: #0f0e0c;
  --ink-2: #171511;
  --cream: #f2eee5;
  --cream-2: #ebe6db;
  --paper: #f8f4eb;
  --white: #fffdf8;
  --gold: #fccc18;
  --yellow: #fccc18;
  --orange: #e85d04;
  --muted: #6b665c;
  --muted-2: #9a948a;
  --accent: var(--gold);
  --accent-on-dark: var(--gold);
  --accent-on-light: var(--ink);
  --line: rgba(15, 14, 12, 0.1);
  --line-strong: rgba(15, 14, 12, 0.18);
  --header: 72px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(15, 14, 12, 0.08);
  --shadow-lg: 0 28px 70px rgba(15, 14, 12, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
button, input, textarea { font: inherit; }
h1, h2, h3, .logo, .footer-logo {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -48px; background: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px;
}
.skip:focus { top: 10px; }

.topbar {
  background: #0b0a08;
  color: #f6f1e6;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.topbar-row, .footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
}
.top-contacts, .top-links, .footer-contact, .menu { list-style: none; margin: 0; padding: 0; }
.top-contacts, .top-links { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.top-contacts li, .top-contacts a, .footer-contact li, .footer-contact a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
/* Ometry-style separators between contact items */
.top-contacts > li + li {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.top-contacts a:hover, .top-links a:hover { color: var(--gold); }
.gold { color: var(--gold); display: inline-flex; align-items: center; }
.gold svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--gold); fill: currentColor; }
.gold svg, .header-phone svg, .btn svg, .footer-contact svg, .socials svg, .text-link svg, .underline-link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.top-links { gap: 0; }
.top-links a { color: #fff; text-decoration: none; font-weight: 600; }
.top-links a + a { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: var(--header);
  padding-right: 18px;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 238, 229, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  background: #0b0a08; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: var(--header);
  padding: 0 clamp(14px, 2.4vw, 28px); margin: 0;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  font-size: clamp(13px, 1.35vw, 17px);
  flex: 0 0 auto; max-width: min(58vw, 280px);
}
.logo-mark {
  display: none;
  width: 34px; height: 34px; border-radius: 8px;
  place-items: center; background: rgba(255,255,255,.08);
  font-size: 12px; letter-spacing: 0.04em;
}
.logo-text {
  white-space: nowrap;
  text-shadow: 1px 0 0 rgba(255,80,80,.35), -1px 0 0 rgba(0,220,255,.35);
}
.logo:hover { opacity: .96; }
.logo sup, .footer-logo sup { font-size: 0.55em; }
.logo img, .logo .custom-logo { max-height: 34px; width: auto; display: block; }
.logo .custom-logo-link { display: block; }
.header-rest {
  display: flex; align-items: center; gap: 14px; margin-left: auto; min-width: 0; flex: 1 1 auto; justify-content: flex-end;
}
.header-actions { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.primary-nav { min-width: 0; }
.primary-nav .menu { display: flex; gap: 0; align-items: center; flex-wrap: nowrap; }
.primary-nav a {
  color: var(--ink);
  text-decoration: none; text-transform: uppercase; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; padding: 8px 11px; position: relative; white-space: nowrap;
}
.primary-nav a:hover { color: #000; }
.primary-nav a::after {
  content: "";
  position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.primary-nav li + li a { border-left: 1px solid rgba(15,14,12,.22); }
.header-phone {
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  border: 1px solid var(--ink); background: #fff; border-radius: 999px;
  padding: 8px 12px 8px 10px; font-weight: 700; margin-left: auto; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  flex: 0 0 auto;
}
.nav-toggle-bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle-bars i {
  display: block; height: 2px; background: currentColor; border-radius: 99px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle-label { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-toggle:hover, body.nav-open .nav-toggle { background: var(--ink); color: #fff; }
body.nav-open .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 999px; padding: 13px 18px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn-light { background: #f4efe4; color: #12100c; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: #f4efe4; border-color: rgba(244,239,228,.42); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(15,14,12,.35); padding: 9px 14px; font-size: 13px; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-teal, .btn-accent { background: var(--gold); color: #1a1504; border-radius: 10px; padding: 11px 14px; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; border: none; }
.btn-teal:hover, .btn-accent:hover { filter: brightness(1.04); box-shadow: 0 10px 24px rgba(252,204,24,.28); }
.btn-dark { background: #12100c; color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-gold { background: var(--gold); color: #1a1504; }
.btn-gold:hover { filter: brightness(1.04); box-shadow: 0 12px 28px rgba(252,204,24,.28); }

.hero {
  background: radial-gradient(1200px 500px at 10% 0%, #242018 0%, var(--ink) 55%);
  color: #f6f1e6; padding: clamp(48px, 7vw, 84px) 0 clamp(42px, 6vw, 72px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.eyebrow, .kicker {
  display: inline-flex; border: 1px solid rgba(246,241,230,.22); border-radius: 999px;
  padding: 7px 13px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  font-family: var(--mono);
}
.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.35rem); text-transform: uppercase;
  margin: 20px 0 18px; max-width: 10.5ch;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.lede {
  max-width: 44ch; color: #cfc7b7; font-size: 16.5px; line-height: 1.65;
  font-family: var(--mono); font-size: 14.5px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.rating { color: #d9d2c4; font-size: 13.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-art {
  position: relative; min-height: 440px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 28% 42%, #2a2418 0%, var(--ink-2) 44%, var(--ink) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}
.rays {
  position: absolute; inset: -30%;
  background: repeating-conic-gradient(from 205deg at 18% 55%, transparent 0 9deg, rgba(252,204,24,.12) 9deg 10deg);
  animation: rays-spin 48s linear infinite;
}
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particles span {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(6px * var(--s)); height: calc(6px * var(--s));
  border-radius: 50%; background: var(--gold);
  opacity: .55; box-shadow: 0 0 10px rgba(252,204,24,.35);
  animation: particle-float 5.5s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-14px) scale(1.15); opacity: .85; }
}
/* Thinkific-style floating portrait cards */
.people-stack {
  position: relative; z-index: 2;
  width: 100%; height: 100%; min-height: 440px;
}
.people-card {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
  border: 1px solid rgba(252,204,24,.18);
  background: var(--ink-2);
}
.people-card svg { display: block; width: 100%; height: 100%; }
.people-card--a {
  width: 38%; height: 58%;
  left: 6%; top: 22%;
  transform: rotate(-6deg);
  animation: card-float-a 7s ease-in-out infinite;
}
.people-card--b {
  width: 46%; height: 68%;
  left: 28%; top: 10%;
  z-index: 2;
  transform: rotate(2deg);
  animation: card-float-b 8s ease-in-out infinite;
}
.people-card--c {
  width: 36%; height: 56%;
  right: 6%; bottom: 12%;
  transform: rotate(5deg);
  animation: card-float-c 6.5s ease-in-out infinite;
}
@keyframes card-float-a {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}
@keyframes card-float-b {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(-14px); }
}
@keyframes card-float-c {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-8px); }
}
.people { position: relative; z-index: 2; width: 100%; height: 460px; }

.marquee {
  background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
  padding: 18px 0;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--cream-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--cream-2), transparent); }
.marquee-track {
  display: flex; gap: 26px; align-items: center; width: max-content; padding: 18px 0;
  animation: ticker 28s linear infinite;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee i { font-style: normal; opacity: .45; font-weight: 500; }

.about-band { padding: clamp(64px, 9vw, 96px) 0; background: var(--cream-2); }
.narrow { width: min(820px, calc(100% - 48px)); text-align: center; }
.statement {
  font-family: var(--display); font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 1.4; letter-spacing: -0.03em; font-weight: 650;
}
.statement .dim { color: var(--muted-2); }
.underline-link {
  display: inline-block; margin-top: 28px; color: var(--ink); font-weight: 700;
  text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px;
}
.underline-link:hover { color: var(--gold); }

.awards { padding: 8px 0 36px; background: var(--cream); }
.award-panel {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(105deg, var(--paper) 0%, var(--cream-2) 100%);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.65);
}
.award-badge {
  width: 140px; background: #fff; border-radius: 10px 10px 18px 18px; padding: 16px 12px 20px;
  text-align: center; box-shadow: var(--shadow); position: relative;
}
.award-badge strong, .award-badge span, .award-badge em { display: block; font-style: normal; }
.award-badge strong { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.award-badge span { font-family: var(--display); font-size: 21px; line-height: 1; margin: 8px 0; }
.award-badge em { color: var(--gold); font-weight: 800; }
.award-panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 14px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .pill-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px;
  font-weight: 650; font-size: 13.5px; box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.chip:hover, .pill-link:hover {
  transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong);
}

.band { padding: clamp(56px, 8vw, 88px) 0; }
.cream { background: var(--cream); }
.white { background: var(--white); }
.ink { background: var(--ink); color: #f6f1e6; }
.kicker { color: var(--ink); background: #fff; border-color: var(--line); }
.kicker.light { color: #f6f1e6; background: transparent; }
.split-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.band h2, .cta h2, .center-title { font-size: clamp(2.2rem, 4.8vw, 4.1rem); text-transform: uppercase; }
.section-text, .center-copy p, .stack-copy {
  color: var(--muted); margin-top: 14px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7;
}
.ink .center-copy p, .ink .stack-copy { color: #c9c2b4; }
.center-copy, .center-title, .center { text-align: center; }
.center-copy { width: min(720px, calc(100% - 48px)); margin: 0 auto 32px; }
.center-copy h2, .center-title { margin: 12px 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pill-link i { width: 7px; height: 7px; border-radius: 50%; background: #111; display: inline-block; }
.more-line { grid-column: 1 / -1; text-align: center; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.more-line a, .text-link { color: var(--gold); font-weight: 700; text-underline-offset: 3px; }
.more-line a:hover, .text-link:hover { color: var(--orange); }
.cream .more-line a, .white .more-line a { color: var(--ink); }
.cream .more-line a:hover, .white .more-line a:hover { color: var(--gold); }
.ink .more-line { color: #bdb6aa; }
.ink .more-line a { color: var(--gold); }

.card-grid, .book-grid, .story-grid, .vs-grid, .cat-grid { display: grid; gap: 18px; }
.card-grid, .book-grid, .story-grid, .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.q-card, .book-card, .story, .cat-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.q-card:hover, .book-card:hover, .story:hover, .cat-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.q-card-top { display: flex; gap: 12px; align-items: center; color: #fff; padding: 16px; min-height: 96px; }
.q-card-top span { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.18); font-weight: 800; }
.q-card-top strong { font-size: 14px; letter-spacing: 0.02em; }
.q-card-top small { display: block; letter-spacing: 0.1em; font-size: 10.5px; text-transform: uppercase; opacity: .85; margin-top: 2px; }
.q-card-body, .book-body, .story-body, .cat-card { padding: 16px 16px 18px; }
.q-card-body ul { margin: 0 0 16px; padding-left: 18px; color: #4e4942; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; }
.q-card-body li + li { margin-top: 7px; }

.compare-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 28px; }
.mock-window { background: #f7f3ea; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dots { display: flex; gap: 6px; margin-bottom: 14px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #ded6c8; }
.mock-row { display: grid; grid-template-columns: 28px 1fr auto 28px 1fr; gap: 8px; align-items: center; margin: 10px 0; }
.mock-row span { height: 22px; border-radius: 4px; background: #e4dccb; }
.mock-row b { height: 8px; background: #ddd4c4; border-radius: 99px; display: block; }
.mock-row em { font-size: 12px; color: #8a8378; }
.block-title { font-size: 1.25rem; text-transform: uppercase; margin: 8px 0 14px; }
.vs-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.vs-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.vs-mark { width: 28px; height: 28px; border-radius: 7px; background: #ece6da; display: grid; place-items: center; flex: 0 0 auto; }
.vs-chip em { font-style: normal; color: #8d877c; font-weight: 700; }

.cta {
  background: linear-gradient(120deg, var(--orange) 0%, #c44f00 100%);
  color: #fff; padding: clamp(28px, 4vw, 40px) 0; overflow: hidden;
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; }
.cta p { max-width: 46ch; margin: 14px 0 20px; color: #ffe8d8; }
.cta-art svg { width: 100%; height: auto; }

.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.cat-card h3 { font-size: 1.2rem; letter-spacing: -0.03em; text-transform: none; margin-bottom: 8px; }
.cat-card ul { list-style: none; margin: 0; padding: 0; }
.cat-card a {
  display: flex; justify-content: space-between; text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.cat-card a:hover { color: var(--gold); padding-left: 4px; }
.cat-card summary { cursor: pointer; font-weight: 700; margin-top: 8px; }
.center { margin: 28px 0 0; }

.book-cover { height: 210px; display: grid; place-items: center; }
.book {
  width: 120px; height: 156px; background: #f7f3ea; color: #222; border-radius: 3px 8px 8px 3px;
  box-shadow: 8px 10px 0 rgba(0,0,0,.08); padding: 12px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .35s var(--ease);
}
.book-card:hover .book { transform: translateY(-6px) rotate(-2deg); }
.book small { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #6d675e; }
.book strong { font-size: 13px; letter-spacing: -0.03em; line-height: 1.15; }
.book-body h3 { font-size: 1.02rem; text-transform: uppercase; margin-bottom: 6px; }
.book-body p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

.band.white, .quotes {
  background: var(--paper);
}
.quotes {
  padding: clamp(56px, 8vw, 96px) 0;
}
.quotes .quote {
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.quotes blockquote {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  max-width: 28ch;
}
.band.white#categories,
.band.white {
  padding: clamp(64px, 9vw, 104px) 0;
}
.band.white#categories .center-title {
  text-align: center;
  margin-bottom: 36px;
}
.band.white#categories .center,
.band.white .center {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}
.band.white .center .btn {
  min-width: 200px;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
}
/* Academies-style: cream bands with left heading + breathing room */
.band.cream {
  background: var(--cream);
  padding: clamp(64px, 9vw, 104px) 0;
}
.band.cream .split-head {
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}
.quote { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.quote + .quote { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(20,18,14,.08); }
.quote-kicker { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
blockquote {
  margin: 0 0 16px; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.35;
  font-family: var(--display); letter-spacing: -0.03em;
}
.quote-by { margin-bottom: 16px; color: #3f4550; }
.portrait, .quote-photo img {
  width: min(100%, 360px); height: 320px; object-fit: cover; border-radius: 20px; margin-left: auto;
  box-shadow: var(--shadow);
}
.portrait { display: block; background: radial-gradient(circle at 50% 30%, var(--cream-2), var(--ink-2) 70%); }

.journal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a, .latest {
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; background: #fff;
}
.filters a:hover, .latest:hover { border-color: var(--ink); }
.filters a.is-on { background: #12100c; color: #fff; border-color: #12100c; }
.story { background: #fff; border: 1px solid var(--line); }
.story-media { display: block; height: 180px; background: #ddd; overflow: hidden; }
.story-media img, .story-fallback { width: 100%; height: 180px; object-fit: cover; transition: transform .55s var(--ease); }
.story:hover .story-media img, .story:hover .story-fallback { transform: scale(1.05); }
.story-fallback { display: block; }
.story-business { background: linear-gradient(140deg, var(--ink-2), var(--muted)); }
.story-tech { background: linear-gradient(140deg, var(--ink), var(--ink-2)); }
.story-market { background: linear-gradient(140deg, #3d3830, var(--muted-2)); }
.story-news { background: linear-gradient(140deg, #5a4a08, var(--gold)); }
.story-marketing { background: linear-gradient(140deg, #7a3a0a, var(--orange)); }
.story-meta { display: flex; gap: 8px; flex-wrap: wrap; color: #6d675e; font-size: 12px; margin-bottom: 8px; }
.story-meta em { margin-left: auto; font-style: normal; border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; }
.story h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 8px; }
.story h3 a { text-decoration: none; }
.story-body p { color: #5e584f; font-size: 14.5px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }

.site-footer { background: #100e0c; color: #f4efe6; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 28px; }
.footer-logo { color: #fff; text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer p { color: #bdb6aa; margin-top: 12px; font-size: 14px; line-height: 1.6; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer .menu a, .footer-contact a { color: #f4efe6; text-decoration: none; display: inline-block; padding: 5px 0; }
.site-footer .menu a:hover, .footer-contact a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
}
.socials a:hover { background: #fff; color: #111; border-color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding: 16px 0 20px; font-size: 13px; }
.footer-base p { margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-base a { color: #fff; text-decoration: none; }
.footer-base a:hover { color: var(--gold); }
/* Elementor Theme Builder: no cream strip between footer sections */
.elementor-location-footer .site-footer,
.elementor-section.site-footer { margin: 0; }
.elementor-location-footer .footer-base,
.elementor-section.footer-base { margin-top: 0; }
/* Kill classic sticky on Elementor header section — location wrapper sticks */
.elementor-location-header .site-header { position: relative; top: auto; }

.chat {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}
.chat.chat-side-left {
  left: max(12px, env(safe-area-inset-left));
  right: auto;
  align-items: flex-start;
}
.chat.chat-side-right {
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  align-items: flex-end;
}
.chat > * { pointer-events: auto; }
.se-elementor-agent {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 50;
  border: 0;
  background: transparent;
  padding: 0;
  width: 78px;
  cursor: pointer;
}
.chat-toggle {
  border: 0; background: transparent; padding: 0; margin: 0;
  position: relative; cursor: pointer;
  flex: 0 0 auto; align-self: flex-end;
  width: 78px;
}
.agent-face {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden; display: block;
  box-shadow: var(--shadow-lg); border: 3px solid #fff; transition: transform .3s var(--ease);
}
.chat-toggle:hover .agent-face { transform: scale(1.04); }
.agent-face svg { width: 100%; height: 100%; display: block; }
.agent-pill {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  background: #fff; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 800;
  display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; box-shadow: var(--shadow);
}
.agent-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; flex: 0 0 auto; }
.chat-panel {
  width: min(340px, calc(100vw - 40px));
  max-height: min(560px, calc(100dvh - 140px));
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff; color: var(--ink); border-radius: 18px;
  padding: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform-origin: bottom right; animation: panel-in .28s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.chat-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 8px; position: sticky; top: 0; z-index: 1;
  background: #fff; padding-bottom: 2px;
}
.chat-head-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-head-copy strong { font-size: 15px; }
.live {
  width: auto; height: auto; background: none; color: #15803d;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto;
}
.chat-close {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: #f7f3ea; color: var(--ink); display: inline-grid; place-items: center;
  cursor: pointer; flex: 0 0 auto; padding: 0;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chat-close svg { width: 16px; height: 16px; }
.chat-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-panel p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; }
.chat-panel .se-form {
  padding: 14px; gap: 10px; box-shadow: none;
}
.chat-panel .se-form textarea { min-height: 88px; resize: vertical; }
.chat-panel .se-form .btn { width: 100%; justify-content: center; }
.chat.is-open .chat-toggle { z-index: 1; }

.page-hero { padding: clamp(42px, 7vw, 70px) 0 22px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.8vw, 4.4rem); text-transform: uppercase; }
.tone-dark { background: var(--ink); color: #f6f1e6; }
.tone-dark .page-hero,
.tone-dark .page-hero h1,
.tone-dark .archive-intro,
.tone-dark .prose,
.tone-dark .prose h2,
.tone-dark .prose p,
.tone-dark .prose li,
.tone-dark .kicker.light,
.tone-dark .form-note {
  color: #f6f1e6;
}
.tone-dark .prose a { color: var(--gold); }
.tone-dark .q-card { color: var(--ink); }
.tone-dark .site-header {
  background: #f2eee5;
  color: #0f0e0c;
  border-bottom-color: var(--line);
}
.tone-dark .site-header .primary-nav .menu a,
.tone-dark .site-header .header-phone,
.tone-dark .site-header .nav-toggle,
.tone-dark .site-header .btn-line {
  color: #0f0e0c;
}
.tone-dark .site-header .logo,
.tone-dark .site-header .logo a,
.tone-dark .site-header .logo-text,
.tone-dark .site-header .logo-mark {
  color: #fff;
}
.tone-dark .site-header .primary-nav a::after { background: #0f0e0c; }
.tone-dark .site-header .btn-line {
  border-color: rgba(15, 14, 12, 0.35);
}
.tone-dark .site-header .btn-line:hover {
  background: #0f0e0c;
  color: #fff;
  border-color: #0f0e0c;
}
.tone-dark .site-header .nav-toggle {
  background: #fff;
  border-color: #0f0e0c;
}
.tone-dark .site-header .nav-toggle:hover,
.tone-dark.nav-open .site-header .nav-toggle {
  background: #0f0e0c;
  color: #fff;
}
.tone-dark .site-header .header-rest {
  color: #0f0e0c;
}
@media (max-width: 980px) {
  .tone-dark .site-header .header-rest {
    background: #f2eee5;
  }
}
.tone-dark .topbar,
.tone-dark .topbar a {
  color: #f6f1e6;
}
.tone-dark .top-links a:hover,
.tone-dark .top-contacts a:hover {
  color: var(--gold);
}
.prose, .split-page { padding-bottom: 64px; }
.prose { width: min(820px, calc(100% - 48px)); }
.prose h2 { font-size: 1.55rem; margin: 1.25em 0 .45em; text-transform: none; }
.prose p, .prose li { font-size: 1.05rem; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.split-page { width: min(1040px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.se-form, .list-row { background: #fff; }
.se-form {
  display: grid; gap: 11px; padding: 18px; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.se-form label { display: grid; gap: 6px; font-weight: 700; font-size: 13.5px; }
.se-form input, .se-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.se-form input:focus, .se-form textarea:focus {
  outline: none; border-color: rgba(15,14,12,.45); box-shadow: 0 0 0 4px rgba(15,14,12,.06);
}
.form-note { padding: 10px 12px; border-radius: 10px; background: #ecfdf3; }
.form-note.bad { background: #fff1f2; }
.stack-list { display: grid; gap: 12px; padding-bottom: 40px; }
.list-row {
  display: flex; justify-content: space-between; gap: 12px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; align-items: center;
}
.list-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.archive-intro { margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: 13.5px; }
.nav-links { display: flex; gap: 12px; justify-content: center; padding: 10px 0 40px; }
.nav-links a { text-decoration: none; font-weight: 700; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes rays-spin { to { transform: rotate(360deg); } }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

body.admin-bar .site-header { top: 32px; }

@media (max-width: 1360px) {
  .header-phone { display: none; }
  .primary-nav a { padding: 8px 9px; font-size: 11px; letter-spacing: 0.06em; }
}
@media (max-width: 1100px) {
  .header-actions .btn-line span { display: none; }
  .primary-nav a { padding: 8px 7px; font-size: 10.5px; }
}
@media (max-width: 980px) {
  .hero-grid, .split-head, .compare-top, .cta-grid, .award-panel, .quote, .footer-grid, .split-page { grid-template-columns: 1fr; }
  .card-grid, .book-grid, .story-grid, .vs-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pills { justify-content: flex-start; }
  .hero-art { min-height: 300px; }
  .people { height: 320px; }
  .portrait, .quote-photo img { margin-left: 0; width: 100%; height: 280px; }
  .quote-photo { order: -1; }
  .nav-toggle { display: inline-flex; }
  .site-header { overflow: visible; }
  .header-rest {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #f2eee5;
    padding: 8px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(15,14,12,.16); gap: 8px; margin: 0; flex: none; justify-content: stretch;
  }
  body.nav-open .header-rest { display: grid; animation: panel-in .25s var(--ease); }
  body.nav-open { overflow: hidden; }
  body.nav-open .header-rest .btn-line { display: inline-flex; width: fit-content; }
  body.nav-open .header-rest .btn-line span { display: inline; }
  body.nav-open .header-phone { display: inline-flex; }
  .header-actions { display: grid; gap: 10px; justify-items: start; padding-top: 8px; border-top: 1px solid var(--line); }
  .primary-nav .menu { display: grid; width: 100%; }
  .primary-nav a { padding: 13px 2px; font-size: 14px; letter-spacing: 0.05em; color: var(--ink); }
  .primary-nav li + li a { border-left: 0; border-top: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .logo { max-width: none; }
  .header-row { padding-right: 12px; gap: 10px; position: relative; }
  .prose, .split-page { width: min(100% - 28px, 1040px); }
  .page-hero { padding-top: 28px; }
  .se-form { padding: 16px; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar { font-size: 11.5px; }
  .topbar-row {
    align-items: stretch; padding: 8px 0; flex-direction: column; gap: 6px; min-height: 0;
  }
  .top-contacts { gap: 8px 14px; }
  .top-address { display: none; }
  .top-links { width: 100%; justify-content: space-between; gap: 10px; }
  .top-links a { font-size: 11px; }
  .top-links a + a { border-left: 0; padding-left: 0; }
  .logo {
    padding: 0 12px; min-height: 58px; gap: 8px;
    font-size: 12px; max-width: calc(100% - 108px);
  }
  .logo-mark { display: grid; width: 30px; height: 30px; }
  .logo-text { overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { padding: 8px 10px; }
  .nav-toggle-label { display: none; }
  .card-grid, .book-grid, .story-grid, .vs-grid, .cat-grid { grid-template-columns: 1fr; }
  .journal-head { display: grid; }
  .hero { padding: 32px 0 24px; }
  .hero h1 { max-width: none; font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-art { min-height: 240px; border-radius: 16px; }
  .people { height: 250px; }
  .cta { padding: 32px 0; }
  .band { padding: 44px 0; }
  .award-panel { padding: 18px; gap: 16px; }
  .chat {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
  }
  .chat-toggle { width: 64px; }
  .agent-face { width: 64px; height: 64px; }
  .agent-pill { font-size: 10px; padding: 3px 8px; }
  .chat-panel {
    width: min(100vw - 20px, 360px);
    max-height: calc(100dvh - 118px);
    padding: 12px;
    border-radius: 16px;
  }
  .chat-panel .se-form { padding: 12px; border-radius: 14px; }
  .chat-panel .se-form textarea { min-height: 72px; }
  .chat-panel .se-form label { font-size: 12.5px; }
  .chat-panel .se-form input,
  .chat-panel .se-form textarea { padding: 10px 11px; font-size: 16px; }
  .chat-close { width: 34px; height: 34px; }
  .footer-grid { gap: 22px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 560px) {
  .chat.is-open .agent-pill { display: none; }
  .chat-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 108px);
  }
  .chat-panel p { font-size: 13px; }
}
@media (max-width: 420px) {
  .logo-text { display: none; }
  .logo-mark { display: grid; }
  .logo { max-width: none; padding: 0 14px; }
  .top-contacts span:not(.gold) { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chat-toggle { width: 58px; }
  .agent-face { width: 58px; height: 58px; border-width: 2px; }
  .chat-panel { max-height: calc(100dvh - 96px); padding: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .rays, .particles span, .people-card { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
