@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,800;1,9..144,400&family=Inter:wght@400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --bg-alt: #0a1520;
  --text: #c8c8c8;
  --heading: #f0f0f0;
  --accent: #00aeef;
  --accent-hover: #0090c5;
  --orange: #ff6a00;
  --divider: #1e1e1e;
  --muted: #666;
  --input-bg: #1a1a1a;
  --input-border: #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-top: 104px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography ── */

h1 {
  font-size: clamp(2.2rem, 7.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--heading);
}

h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 72;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }

.eyebrow {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  font-variation-settings: 'opsz' 14;
  letter-spacing: 0;
  text-transform: none;
  color: #e8a020;
  margin-bottom: 16px;
}

/* ── Sections ── */

section { padding: 80px 0; background: var(--bg); }

/* All non-hero page elements sit above the fixed background video */
body > *:not(.hero-video):not(.service-hero):not(.code-rain-hero):not(.network-hero):not(.ideas-hero):not(.calendly-overlay):not(.cursor-dot):not(.cursor-ring) { position: relative; z-index: 1; }
.calendly-overlay { z-index: 10000 !important; }

hr.section-divider {
  border: none;
  border-top: 1px solid var(--divider);
  background: var(--bg);
}

/* ── Nav ── */

#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.95);
  border-bottom: 1px solid var(--divider);
  transition: background 0.25s ease;
}
#site-nav.scrolled {
  background: rgba(26,26,26,0.99);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  transition: height 0.25s ease;
}
#site-nav.scrolled .nav-inner { height: 64px; }

.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
}
.nav-logo:hover { color: var(--heading) !important; }
.nav-logo, .nav-logo:visited { color: var(--heading); }

.nav-logo-img {
  height: 100px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height 0.25s ease;
}
#site-nav.scrolled .nav-logo-img { height: 45px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-links a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

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

/* ── Status pill ── */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8a020;
  box-shadow: 0 0 0 0 rgba(232,160,32,0.55);
  animation: pill-pulse 2.4s ease-out infinite;
}
@keyframes pill-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,160,32,0.55); }
  100% { box-shadow: 0 0 0 9px rgba(232,160,32,0); }
}
@media (prefers-reduced-motion: reduce) {
  .status-pill__dot { animation: none; }
}

/* ── Nav dropdown ── */

.nav-has-dropdown { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  background: rgba(5,5,5,0.97);
  border: 1px solid var(--divider);
  list-style: none;
  min-width: 196px;
  z-index: 1100;
  padding: 6px 0;
  border-radius: 0 0 4px 4px;
}

.nav-has-dropdown:hover .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.04);
}

/* ── Button ── */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #0d0d0d;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 44px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  line-height: 1;
}
.btn:hover {
  background: var(--orange);
  transform: translateY(-1px);
  color: #000;
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ── Hero ── */

.hero {
  padding: 110px 0 90px;
  text-align: center;
}
.service-hero {
  position: relative;
  overflow: hidden;
}
.service-hero-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  object-fit: cover;
  z-index: 0;
}
.service-hero .container {
  position: relative;
  z-index: 2;
}
.service-hero h1 {
  text-shadow: 0 0 30px rgba(0,0,0,0.9), 0 0 60px rgba(0,0,0,0.6);
}
.service-hero .eyebrow,
.service-hero .subhead {
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.service-hero .subhead {
  display: inline-block;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .service-hero-bg { position: absolute; height: 100%; }
}

/* ── Code Rain Hero (Web Dev) ── */
.code-rain-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 50px;
  background: var(--bg);
}
.code-rain-hero canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.code-rain-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 25%, transparent 70%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(13,13,13,0.6) 100%);
}
.code-rain-hero .container {
  position: relative;
  z-index: 2;
}
.code-rain-hero h1 {
  text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 80px rgba(0,0,0,0.8);
}
.code-rain-hero .subhead {
  color: var(--text);
  text-shadow: 0 0 20px rgba(0,0,0,0.9);
}
@media (prefers-reduced-motion: reduce) {
  .code-rain-hero canvas { display: none; }
}

/* ── Network Hero (Marketing Automation) ── */
.network-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 50px;
}
.network-hero canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 0;
}
@media (max-width: 768px) {
  .network-hero canvas,
  .network-hero-bg { position: absolute; height: 100%; }
}
.network-hero-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(13,13,13,0.62) 16%, rgba(13,13,13,0.62) 84%, var(--bg) 100%),
    url('images/email-hero.jpg') center center / cover no-repeat;
}
.network-hero .container {
  position: relative;
  z-index: 2;
}
.network-hero h1 {
  text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 80px rgba(0,0,0,0.8);
}
.network-hero .subhead {
  color: var(--text);
  text-shadow: 0 0 20px rgba(0,0,0,0.9);
}
.network-hero .eyebrow {
  text-shadow: 0 1px 8px rgba(0,0,0,0.95);
}
@media (prefers-reduced-motion: reduce) {
  .network-hero canvas { display: none; }
}

/* ── Ideas Hero (blog index) ── */
.ideas-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 84px;
}
.ideas-hero-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(13,13,13,0.68) 18%, rgba(13,13,13,0.68) 82%, var(--bg) 100%),
    url('images/ideas-hero.jpg') center center / cover no-repeat;
}
@media (max-width: 768px) {
  .ideas-hero-bg { position: absolute; height: 100%; }
}
.ideas-hero .container { position: relative; z-index: 2; }
.ideas-hero h1 { text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 80px rgba(0,0,0,0.8); }
.ideas-hero .subhead { color: var(--text); text-shadow: 0 0 20px rgba(0,0,0,0.9); }
.ideas-hero .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.95); }

.hero-video {
  position: relative;
  overflow: hidden;
  min-height: 55vh;
}
.hero-video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-video-bg,
  .hero-video-overlay { display: none; }
  .hero-video {
    min-height: auto;
    background: url('images/web-bg-motion-still-mobile.jpg') center center / cover no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}
.hero h1 { margin-bottom: 24px; }
.hero .subhead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Stats block ── */

.stats-block { background: var(--bg-alt); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Arrow list ── */

.arrow-list {
  list-style: none;
  margin: 28px 0 0;
}
.arrow-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--input-bg);
  color: var(--text);
  font-size: 1rem;
}
.arrow-list li:first-child { border-top: 1px solid var(--input-bg); }
.arrow-list li::before {
  content: '\2192';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* ── Numbered steps ── */

.steps-list {
  list-style: none;
  counter-reset: steps;
  margin: 32px 0 0;
}
.steps-list li {
  counter-increment: steps;
  position: relative;
  padding: 4px 0 28px 56px;
  min-height: 44px;
}
.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list li strong { color: var(--heading); }

/* ── Pull quote ── */

.pull-quote {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 72;
  border-left: 3px solid var(--accent);
  padding: 14px 28px;
  margin: 44px 0;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--heading);
  line-height: 1.5;
}

/* ── Testimonials ── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 28px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
}
.testimonial-card .attribution {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

/* ── About teaser ── */

.about-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

/* ── CTA block ── */

.cta-block {
  text-align: center;
  padding: 80px 0;
  background: var(--bg);
}
.cta-block h2 { margin-bottom: 16px; }
.cta-block .subhead {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ── Footer ── */

footer {
  background: #1a1a1a;
  border-top: 1px solid var(--divider);
  padding: 32px 0;
  text-align: center;
  color: #383838;
  font-size: 0.85rem;
}
footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
footer .footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}
footer .footer-nav a:hover { color: var(--accent); }
footer .tagline { margin-top: 8px; color: #383838; }

/* Footer: last-shipped signal + colophon (research recs 4.4 / 4.5) */
.footer-shipped {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-shipped__label { opacity: 0.8; }
.footer-shipped time { color: var(--heading); }
.colophon {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.55;
  margin: 14px 0 0;
}

/* How I Work — principles page (research rec 4.2) */
.principles { padding-top: 8px; }
.principle-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.principle-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: start;
}
.principle-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  color: var(--accent);
  padding-top: 8px;
  letter-spacing: 0.06em;
}
.principle-list h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--heading);
}
.principle-list p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 600px) {
  .principle-list li { grid-template-columns: 1fr; gap: 6px; }
  .principle-num { padding-top: 0; }
}

/* ── Services page ── */

.services-list { margin-top: 48px; }
.service-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--divider);
}
.service-item:first-child { border-top: 1px solid var(--divider); }
.service-item h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pricing-block {
  background: var(--input-bg);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
}
.pricing-block h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.pricing-block p { color: var(--text); }

/* ── Blog index ── */

.blog-post-list { margin-top: 40px; }
.blog-post-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--divider);
}
.blog-post-item:first-child { border-top: 1px solid var(--divider); }
.blog-post-thumb,
.blog-post-thumb-ph {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  border-radius: 6px;
  display: block;
}
.blog-post-thumb { object-fit: cover; }
.blog-post-thumb-ph {
  border: 1px solid var(--divider);
  background: linear-gradient(135deg, #0a1520 0%, rgba(0,174,239,0.18) 55%, rgba(232,160,32,0.18) 100%);
}
.blog-post-text { flex: 1; min-width: 0; }
@media (max-width: 600px) {
  .blog-post-item { flex-direction: column; gap: 12px; }
  .blog-post-thumb,
  .blog-post-thumb-ph { width: 100%; height: 180px; }
}
.blog-post-item h2 { font-size: 1.1rem; margin-bottom: 6px; }
.blog-post-item h2 a { color: var(--heading); }
.blog-post-item h2 a:hover { color: var(--accent); }
.blog-post-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.blog-post-item h3 a { color: var(--heading); }
.blog-post-item h3 a:hover { color: var(--accent); }
.blog-post-item .post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-post-item p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

/* ── Blog post page ── */

.post-header { padding: 80px 0 40px; }
.post-header h1 { margin-bottom: 16px; }
.post-meta-bar {
  font-size: 0.85rem;
  color: var(--muted);
}
.post-body { padding: 0 0 80px; }
.post-body h2 { margin: 2.2em 0 0.8em; }
.post-body h3 { margin: 1.8em 0 0.6em; }
.post-body p { margin-bottom: 1.4em; }
.post-body ul, .post-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.post-body li { margin-bottom: 0.5em; }
.post-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.post-back:hover { color: var(--accent); }

/* ── Blog layout with sidebar ── */

.blog-layout {
  display: flex;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 80px;
  background: var(--bg);
}
.blog-layout .post-body,
.blog-layout .blog-main {
  flex: 1;
  min-width: 0;
  padding: 0;
}
.blog-layout .blog-post-list { margin-top: 0; }

.blog-sidebar {
  width: 260px;
  flex-shrink: 0;
  padding-top: 24px;
}
.sidebar-block {
  margin-bottom: 32px;
}
.sidebar-block .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.sidebar-search {
  display: flex;
}
.sidebar-search input {
  flex: 1;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--text);
  font-size: 0.9rem;
}
.sidebar-search input::placeholder {
  color: var(--muted);
}
.sidebar-search button {
  padding: 8px 12px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
}
.sidebar-list li:last-child {
  border-bottom: none;
}
.sidebar-list a {
  color: var(--text);
  font-size: 0.85rem;
}
.sidebar-list a:hover {
  color: var(--accent);
}
@media (max-width: 768px) {
  .blog-layout {
    flex-direction: column;
    gap: 40px;
  }
  .blog-sidebar {
    width: 100%;
  }
}

/* ── Contact page ── */

.contact-section { padding: 80px 0; }
.calendly-placeholder {
  min-width: 320px;
  height: 700px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}
.calendly-placeholder p {
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}
.contact-fallback {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 28px;
}
.contact-fallback a { color: var(--accent); }

/* ── About photo ── */

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  display: block;
  margin: 32px auto 0;
}

/* ── Service icon ── */

.service-icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── Service link ── */

.service-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.service-link:hover { color: var(--accent-hover); }

/* ── About page ── */

.about-facts {
  margin: 48px 0;
  padding: 36px;
  background: var(--input-bg);
  border-radius: 6px;
  border: 1px solid var(--input-border);
}
.about-facts ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.about-facts ul li {
  padding-left: 20px;
  position: relative;
  color: var(--text);
}
.about-facts ul li::before {
  content: '\2192';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* ── Hero 60/40 left-align ── */

.hero-video { text-align: left; }
.hero-content { max-width: 80%; }

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.45);
  animation: scroll-bounce 2s ease-in-out infinite;
  cursor: pointer;
  line-height: 0;
}
.scroll-down:hover { color: var(--orange); }
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}
.hero-video .subhead { margin-left: 0; margin-right: 0; max-width: 500px; }

/* ── H1 stagger reveal ── */

.reveal-h1 { cursor: pointer; }

.reveal-h1 .h1-accent {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, color 0.3s ease;
}
.reveal-h1:hover .h1-accent { color: var(--orange); }
.reveal-h1:hover .h1-accent-2 { transition-delay: 1s; }

.reveal-h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal-h1.is-in span { opacity: 1; transform: none; }
.reveal-h1.is-in span:nth-of-type(1)  { transition-delay: 0.05s; }
.reveal-h1.is-in span:nth-of-type(2)  { transition-delay: 0.11s; }
.reveal-h1.is-in span:nth-of-type(3)  { transition-delay: 0.17s; }
.reveal-h1.is-in span:nth-of-type(4)  { transition-delay: 0.23s; }
.reveal-h1.is-in span:nth-of-type(5)  { transition-delay: 0.29s; }
.reveal-h1.is-in span:nth-of-type(6)  { transition-delay: 0.35s; }
.reveal-h1.is-in span:nth-of-type(7)  { transition-delay: 0.41s; }
.reveal-h1.is-in span:nth-of-type(8)  { transition-delay: 0.47s; }
.reveal-h1.is-in span:nth-of-type(9)  { transition-delay: 0.59s; }
.reveal-h1.is-in span:nth-of-type(10) { transition-delay: 0.65s; }
.reveal-h1.is-in span:nth-of-type(11) { transition-delay: 0.71s; }

/* ── Homepage transparent panels (video bleed-through) ── */

.page-home #sound-familiar,
.page-home #services,
.page-home #testimonials,
.page-home .cta-block { background: transparent; }

/* ── Story section (inverted — cream) ── */

#story {
  background: #f4efe6 !important;
  color: #1a1a1a;
}
#story h2,
#story p { color: #1a1a1a; }
#story .eyebrow { color: #b8731a; }
#story .pull-quote {
  border-left-color: #b8731a;
  color: #1a1a1a;
  font-variation-settings: 'opsz' 72;
}
#story a { color: #b8731a; }
#story a:hover { color: #9a5f0e; }
.story-images {
  display: flex;
  gap: 12px;
  margin: 28px 0 12px;
  max-width: 320px;
}
.story-images a {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}
.story-images a:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.story-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Featured quote ── */

.featured-quote {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 32px 36px;
  margin-top: 40px;
  max-width: 720px;
}
.featured-quote p {
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.featured-quote .attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.featured-quote .attribution a { color: var(--muted); }

/* ── Client logo marquee ── */

.logo-strip-title {
  display: block;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
  color: var(--orange);
  margin-bottom: 32px;
}

.logo-strip {
  padding: 56px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: #000;
}
.logo-track-wrap { overflow: hidden; }
.logo-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  animation: logotrack 48s linear infinite;
  will-change: transform;
}
.logo-track:hover { animation-play-state: paused; }
.logo-track span,
.logo-track a {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  flex: 0 0 auto;
  text-decoration: none;
  transition: color 0.15s;
}
.logo-track a:hover { color: var(--accent); }
@keyframes logotrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Selected work ── */
#work { background: var(--bg-alt); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.work-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.work-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--input-bg);
}
.work-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}
.work-card:hover .work-card-thumb img { transform: scale(1.03); }

/* ── Portfolio gallery (service pages) ── */

.portfolio-section { background: var(--bg-alt); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.portfolio-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--input-border);
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.portfolio-grid img:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.portfolio-linked a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--input-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-linked a:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.15);
}
.portfolio-linked a img {
  border: none;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.portfolio-linked a:hover img {
  transform: scale(1.05);
}
.portfolio-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.portfolio-linked a:hover .portfolio-label {
  color: var(--accent);
}
.portfolio-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.portfolio-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.work-card-body { padding: 20px; }
.work-card-client {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.work-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.work-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.work-card-links {
  margin-top: 10px !important;
  font-size: 0.82rem;
}
.work-card-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.work-card-links a:hover { text-decoration: underline; }
.work-card-links .link-sep {
  color: var(--muted);
  margin: 0 4px;
}
.logo-strip-link {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: -16px;
  margin-bottom: 24px;
}
.logo-strip-link:hover { text-decoration: underline; }

/* ── Custom cursor: inner dot + magnetic outer ring (homepage; guarded for touch + reduced-motion) ── */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 10000;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transition: opacity 0.2s;
}
.cursor-ring {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transition: opacity 0.25s, width 0.22s ease-out, height 0.22s ease-out, border-radius 0.22s ease-out, background-color 0.22s;
}
.cursor-dot.is-visible, .cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-link { background: rgba(0,174,239,0.10); border-radius: 8px; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Mobile ── */

@media (max-width: 640px) {
  body { padding-top: 60px; }
  .nav-inner { height: 60px; }
  .nav-logo-img { height: 44px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--divider);
    padding: 12px 28px 24px;
  }
  #site-nav.open .nav-links { display: flex; }

  .status-pill-item { display: none; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text);
  }
  .nav-links li a.btn {
    margin-top: 12px;
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    color: #0d0d0d;
  }

  .nav-dropdown {
    display: block;
    position: static;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 14px;
    min-width: unset;
  }
  .nav-dropdown li a {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--muted);
  }
  .nav-dropdown li a:hover { color: var(--accent); background: none; }

  .hero { padding: 72px 0 64px; }
  section { padding: 60px 0; }
  .cta-block { padding: 60px 0; }

  .about-teaser { grid-template-columns: 1fr; }
  .about-facts ul { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }

  .btn { width: 100%; text-align: center; display: block; }
  .nav-links .btn { display: block; }

  .pricing-block { padding: 28px 20px; }

  .hero-content { max-width: 100%; }
  .hero-video { text-align: center; }
  .hero-video .subhead { margin-left: auto; margin-right: auto; }

  .work-grid { grid-template-columns: 1fr; }

  .featured-quote { padding: 24px 20px; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid.two-col { grid-template-columns: 1fr; }
  .portfolio-grid.four-col { grid-template-columns: repeat(2, 1fr); }
}
