/* ═══════════════════════════════════════════
   TERRY ADAMS — FREELANCE DESIGNER
   ═══════════════════════════════════════════ */

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

:root {
  --black:       #181818;
  --near-black:  #111111;
  --salmon:      #F5706A;
  --salmon-light:#F9A89A;
  --cream:       #FBDFBC;
  --amber:       #F9CE95;
  --off-white:   #F4F4F4;
  --light-grey:  #EFEFEF;
  --mid-grey:    #888888;
  --dark-brown:  #5F4C42;
  --white:       #FFFFFF;
  --teal:        #7ECEC4;

  --font: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-nav:  12px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.13);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

/* ─── DARK MODE VARIABLES ─── */
body.dark {
  --black:       #F0F0F0;
  --near-black:  #E0E0E0;
  --off-white:   #1A1A2E;
  --white:       #242438;
  --light-grey:  #333355;
  --mid-grey:    #AAAACC;
  --dark-brown:  #C8B8B0;

  background: #12121E;
  color: #F0F0F0;
}
body.dark .nav {
  background: #1A1A2E;
  border-bottom-color: #333355;
}
body.dark .nav.scrolled {
  background: rgba(26, 26, 46, 0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.36), 0 2px 8px rgba(0,0,0,0.18);
}
body.dark .nav__logo { color: #F0F0F0; }
body.dark .nav__link { color: #CCCCEE; }
body.dark .nav__link:hover { color: var(--salmon); border-color: var(--salmon); }
body.dark .nav__link.active,
body.dark .nav__link:active { background: var(--salmon); color: #fff; border-color: var(--salmon); }
body.dark .nav__social {
  background: #2A2A45;
  color: #CCCCEE;
}
body.dark .hero { background: #1A1A2E; }
body.dark .logos {
  background: #1E1E35;
  border-color: #333355;
}
body.dark .logos {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
body.dark .logo-img { filter: invert(1); opacity: 0.35; }
body.dark .logo-img:hover { filter: invert(1); opacity: 0.8; }
body.dark .about { background: #12121E; }
body.dark .services { background: #12121E; }
body.dark .section-heading { color: #F0F0F0; }
body.dark .works { background: #12121E; }
body.dark .work-card {
  background: #1E1E35;
  border-color: #333355;
}
body.dark .work-card__title { color: #F0F0F0; }
body.dark .works-banner { background: #1E1E35; border-color: #333355; }
body.dark .works-banner__divider { background: #333355; }
body.dark .works-banner__heading { color: #F0F0F0; }
body.dark .works-banner__sub { color: #AAAACC; }
body.dark .testimonials { background: #1A1A2E; }
body.dark .hero__badge {
  background: #2A2A45;
  border-color: #444466;
  color: #F0F0F0;
}
body.dark .footer { background: #E05060; }
body.dark .footer__cta-card { background: #1E1E35; }
body.dark .footer__cta-heading { color: #F0F0F0; }
body.dark .footer__cta-sub { color: #AAAACC; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--salmon);
  color: var(--white);
}
.btn--primary:hover {
  background: #e55a54;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,112,106,0.35);
}

/* ─── SECTION HEADING ─── */
.section-heading {
  font-family: var(--font-cond);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 56px;
  color: var(--black);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  border-radius: 0;
  transition: top 0.35s cubic-bezier(0.4,0,0.2,1),
              left 0.35s cubic-bezier(0.4,0,0.2,1),
              right 0.35s cubic-bezier(0.4,0,0.2,1),
              width 0.35s cubic-bezier(0.4,0,0.2,1),
              border-radius 0.35s cubic-bezier(0.4,0,0.2,1),
              background 0.35s ease,
              box-shadow 0.35s ease;
}
.nav.scrolled {
  top: 20px;
  left: 50%;
  right: auto;
  width: min(calc(100% - 48px), 1200px);
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-nav);
  border-bottom: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}
.nav__logo {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav__logo span { color: var(--salmon); }

.nav__links {
  display: flex;
  gap: 6px;
  margin: 0 auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.nav__link:hover {
  color: var(--salmon);
  border-color: var(--salmon);
}
.nav__link:active {
  background: var(--salmon);
  color: var(--white);
  border-color: var(--salmon);
}
.nav__link.active {
  background: var(--salmon);
  color: var(--white);
  border-color: var(--salmon);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--black);
  transition: var(--transition);
}
.nav__social:hover {
  background: var(--salmon);
  color: var(--white);
}
.nav__cta { padding: 10px 22px; font-size: 14px; }

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 20px;
  background: var(--off-white);
  border: 1.5px solid rgba(0,0,0,0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.theme-toggle__opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 14px;
  color: #aaa;
  transition: background 0.22s ease, color 0.22s ease;
}
/* Light mode active = sun */
.theme-toggle__opt--light {
  background: var(--salmon);
  color: #fff;
}
.theme-toggle__opt--dark {
  background: transparent;
  color: #aaa;
}
/* Dark mode active = moon */
body.dark .theme-toggle {
  background: #1E1E35;
  border-color: rgba(255,255,255,0.08);
}
body.dark .theme-toggle__opt--light {
  background: transparent;
  color: #666;
}
body.dark .theme-toggle__opt--dark {
  background: var(--salmon);
  color: #fff;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  background: var(--off-white);
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 100px;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 3;
}
.hero__content {
  flex: 1;
  max-width: 620px;
  animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--salmon);
  flex-shrink: 0;
}
.hero__heading {
  font-family: var(--font-cond);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 36px;
}
.hero__heading em {
  font-style: normal;
  color: var(--salmon);
}
.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero__cta-link {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.hero__cta-link:hover { color: var(--salmon); }
.hero__cta-link svg { transition: transform var(--transition); }
.hero__cta-link:hover svg { transform: translateX(3px); }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__proof-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero__proof-stat strong {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__proof-stat span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.hero__proof-divider {
  width: 1px;
  height: 32px;
  background: var(--light-grey);
  flex-shrink: 0;
}

.hero__visual {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero__avatar {
  width: clamp(240px, 28vw, 340px);
  animation: float 4s ease-in-out infinite;
}
.avatar-svg { width: 100%; height: auto; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--shadow-card);
  margin-top: 20px;
  align-self: center;
  margin-right: 0;
}
.hero__badge svg { color: var(--salmon); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ═══════════════════════════════════════════
   CLIENT LOGOS
   ═══════════════════════════════════════════ */
.logos {
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 36px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logos__track {
  display: flex;
  width: max-content;
  animation: logos-marquee 40s linear infinite;
}
.logos__track:hover { animation-play-state: paused; }
.logos__slide {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
}
.logo-img {
  height: auto;
  width: auto;
  max-height: 46px;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.28;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.logo-img:hover { opacity: 0.72; }

@keyframes logos-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
  .logos__slide:last-child { display: none; }
  .logos { -webkit-mask-image: none; mask-image: none; }
  .logos__slide { flex-wrap: wrap; justify-content: center; gap: 28px 40px; }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 72px 0;
  background: var(--white);
}
.about .section-heading { text-align: left; margin-bottom: 0; }

.about__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-top: 2rem;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__text {
  font-size: 18px;
  line-height: 1.75;
  color: #444;
  text-align: left;
}
.about__accent {
  font-weight: 700;
  color: var(--salmon);
}
.about__portrait {
  flex-shrink: 0;
  width: 260px;
}
.about__portrait-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats row */
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--light-grey);
}
.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.about__stat-num {
  font-family: var(--font-cond);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--salmon);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

body.dark .about__stats { border-top-color: #333355; }

@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__portrait { width: 200px; margin: 0 auto; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
}

body.dark .about__text { color: #AAAACC; }

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process {
  padding: 100px 0 112px;
  background: var(--salmon);
}
.process .section-heading { color: #fff; }

body.dark .process { background: #1C1A2E; }

/* ── storyboard strip: shared card system used by Process and
   Services — pinned index cards from a design notebook, not a
   SaaS "3-step wheel" / circle-icon feature grid ── */
.storyboard-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1.75rem;
}

.storyboard-connector {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 130px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
}
.storyboard-connector path {
  fill: none;
  stroke: rgba(255,255,255,0.4);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}
body.dark .storyboard-connector path { stroke: rgba(255,255,255,0.16); }

.storyboard-card {
  position: relative;
  z-index: 1;
  background: #FBF3E6;
  border-radius: 6px;
  padding: 30px 24px 28px;
  transform: rotate(var(--rot, 0deg));
  box-shadow:
    0 2px 4px rgba(60,30,10,0.10),
    0 16px 32px -12px rgba(60,30,10,0.30);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.storyboard-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 4px 8px rgba(60,30,10,0.12),
    0 24px 42px -14px rgba(60,30,10,0.36);
  z-index: 2;
}
.storyboard-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 56px;
  height: 22px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
body.dark .storyboard-tape {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.storyboard-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--salmon);
}
.storyboard-icon svg { width: 100%; height: 100%; }
.storyboard-icon--mask {
  background-color: var(--salmon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.storyboard-index {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--salmon);
  opacity: 0.75;
  margin-bottom: 6px;
}

.storyboard-title {
  font-family: var(--font-cond);
  font-size: 1.375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--dark-brown);
  margin-bottom: 10px;
}

.storyboard-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6B5A4E;
}

body.dark .storyboard-card  { background: #2A2440; }
body.dark .storyboard-title { color: #F0F0F0; }
body.dark .storyboard-desc  { color: #AAAACC; }

@media (max-width: 768px) {
  .storyboard-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }
  .storyboard-connector { display: none; }
}

@media (max-width: 480px) {
  .storyboard-strip { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   TOOLS
   ═══════════════════════════════════════════ */
.tools {
  padding: 72px 0;
  background: var(--white);
}

.tools__heading {
  text-align: center;
  margin-bottom: 2rem;
}

.tools__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.tools__pill {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-brown);
  background: #FEF6ED;
  border: 1.5px solid var(--cream);
  border-radius: var(--radius-pill);
  padding: 0.45em 1.1em;
  letter-spacing: 0.01em;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: default;
}

.tools__pill:hover {
  background: var(--salmon);
  border-color: var(--salmon);
  color: #fff;
  transform: translateY(-2px);
}

body.dark .tools             { background: #12121E; }
body.dark .tools__pill       { background: #2A2040; border-color: #3A305A; color: #D0C8E8; }
body.dark .tools__pill:hover { background: var(--salmon); border-color: var(--salmon); color: #fff; }

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  padding: 100px 0 112px;
  background: #76B8F5;
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.services .section-heading { color: #fff; }

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.marquee {
  background: #76B8F5;
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}
.marquee__set {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px; /* matches gap so junction is seamless */
}
.marquee__set span {
  font-family: var(--font-cond);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.marquee__set .dot {
  font-size: 20px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════
   SELECTED WORKS
   ═══════════════════════════════════════════ */
.works {
  padding: 90px 0;
  background: #F9F9F9;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #D8D8D8;
  box-shadow: var(--shadow-card);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
  opacity: 1;
  transform: translateY(0);
}
.work-card.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.work-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.work-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.work-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.work-card.reveal:nth-child(4) { transition-delay: 0.25s; }
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.work-card__img {
  overflow: hidden;
  background: var(--off-white);
}
.work-card__thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.work-card:hover .work-card__thumb {
  transform: scale(1.03);
}
.work-card__browser {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.work-card__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #E8E8E8;
}
.work-card__browser-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.work-card__browser-bar span:nth-child(1) { background: #FF6059; }
.work-card__browser-bar span:nth-child(2) { background: #FFBE2F; }
.work-card__browser-bar span:nth-child(3) { background: #28CA42; }

/* Screen compositions */
.work-card__screen {
  height: 180px;
  padding: 10px 12px;
  overflow: hidden;
}

/* Screen 1 — Evolv Sports (dark blue sports site) */
.work-card__screen--1 { background: linear-gradient(135deg, #0a2a5e 0%, #0d4fa8 100%); }
.work-card__screen--1 .ws-nav {
  height: 12px; background: rgba(255,255,255,0.15);
  border-radius: 3px; margin-bottom: 10px;
}
.work-card__screen--1 .ws-hero {
  display: flex; gap: 10px; align-items: center; margin-bottom: 10px;
}
.work-card__screen--1 .ws-figure {
  width: 60px; height: 70px;
  background: linear-gradient(180deg, #FF8C42, #e55);
  border-radius: 6px; flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.work-card__screen--1 .ws-text { flex: 1; }
.work-card__screen--1 .ws-line--lg {
  height: 10px; background: rgba(255,255,255,0.9);
  border-radius: 3px; width: 80%; margin-bottom: 6px;
}
.work-card__screen--1 .ws-line--md {
  height: 7px; background: rgba(255,255,255,0.5);
  border-radius: 3px; width: 60%; margin-bottom: 8px;
}
.work-card__screen--1 .ws-btn {
  width: 50px; height: 14px;
  background: #FF8C42; border-radius: var(--radius-pill);
}
.work-card__screen--1 .ws-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 6px;
}
.work-card__screen--1 .ws-card {
  height: 30px; background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Screen 2 — INOVO (clean white/grey) */
.work-card__screen--2 { background: #F7F8FA; }
.work-card__screen--2 .ws-nav--light {
  height: 12px; background: #E0E4EB;
  border-radius: 3px; margin-bottom: 12px;
}
.work-card__screen--2 .ws-hero--light {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.work-card__screen--2 .ws-text--center { flex: 1; padding-right: 10px; }
.work-card__screen--2 .ws-line--lg.ws-line--dark {
  height: 9px; background: #2D3748;
  border-radius: 3px; width: 75%; margin-bottom: 6px;
}
.work-card__screen--2 .ws-line--sm.ws-line--dark {
  height: 6px; background: #CBD5E0;
  border-radius: 3px; width: 55%;
}
.work-card__screen--2 .ws-figures {
  display: flex; align-items: flex-end; gap: 4px;
}
.ws-person {
  width: 20px; height: 44px;
  background: linear-gradient(180deg, #F5AC93, #F9CE95);
  border-radius: 10px 10px 4px 4px;
}
.ws-person--sm { width: 14px; height: 30px; opacity: 0.7; }
.work-card__screen--2 .ws-features {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.ws-feat {
  height: 26px; background: #fff;
  border-radius: 6px; border: 1px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Screen 3 — Homeloan brand */
.work-card__screen--3 { background: #1a2e4a; }
.ws-brand {
  display: flex; height: 100%;
}
.ws-brand-left {
  flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px;
}
.ws-brand-logo {
  width: 40px; height: 40px;
  background: var(--white); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.ws-brand-logo::after {
  content: ''; display: block;
  width: 24px; height: 24px;
  background: var(--salmon);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.ws-brand-left .ws-line--sm {
  height: 7px; background: rgba(255,255,255,0.5);
  border-radius: 3px; width: 70%;
}
.ws-brand-left .ws-line--xs {
  height: 5px; background: rgba(255,255,255,0.25);
  border-radius: 3px; width: 50%;
}
.ws-brand-right {
  width: 55%; overflow: hidden;
}
.ws-brand-photo {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2d5a8e, #4a90d9);
  position: relative;
}
.ws-brand-photo::after {
  content: '';
  position: absolute; bottom: -10px; left: -10px;
  width: 60%; height: 80%;
  background: rgba(255,255,255,0.15);
  transform: rotate(-15deg);
}

/* Screen 4 — Sigma infographic */
.work-card__screen--4 { background: #F0F7F5; }
.ws-infographic {
  display: flex; align-items: center; justify-content: space-around;
  height: 100%;
}
.ws-info-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 6px solid #7ECEC4;
  display: flex; align-items: center; justify-content: center;
}
.ws-info-inner {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--salmon); opacity: 0.7;
}
.ws-info-steps {
  display: flex; flex-direction: column; gap: 10px;
}
.ws-step {
  display: flex; align-items: center; gap: 6px;
}
.ws-step::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%; background: #7ECEC4; flex-shrink: 0;
}
.ws-step::after {
  content: '';
  width: 60px; height: 6px;
  background: rgba(0,0,0,0.1); border-radius: 3px;
}

/* Work card body */
.work-card__body { padding: 20px 22px 24px; }
.work-card__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--salmon);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.work-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.work-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid-grey);
  margin-bottom: 16px;
}
.btn--work {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--salmon);
  border: 1.5px solid var(--salmon);
  transition: var(--transition);
}
.btn--work:hover {
  background: var(--salmon);
  color: var(--white);
}

/* ── Works banner (view-all CTA) ── */
.works-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid #D8D8D8;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.works-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--salmon);
}
.works-banner:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 4px;
}
.works-banner:active {
  transform: translateY(-1px);
}
.works-banner__stat {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.works-banner__stat-num {
  font-family: var(--font-cond);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--salmon);
}
.works-banner__stat-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
}
.works-banner__divider {
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
  background: var(--light-grey);
}
.works-banner__copy {
  flex: 1;
  min-width: 0;
}
.works-banner__eyebrow {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 6px;
}
.works-banner__heading {
  font-family: var(--font-cond);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 6px;
}
.works-banner__sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid-grey);
  max-width: 480px;
}
.works-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  background: var(--salmon);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.works-banner__cta svg {
  transition: transform var(--transition);
}
.works-banner:hover .works-banner__cta {
  background: #e55a54;
}
.works-banner:hover .works-banner__cta svg {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS — circular carousel
   ═══════════════════════════════════════════ */
.testimonials {
  padding: 90px 0;
  background: #FEF6ED;
}

.testi-intro {
  text-align: center;
  color: var(--mid-grey);
  font-size: 1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05), 0 8px 32px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09), 0 20px 48px rgba(0,0,0,0.06);
}



.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #444;
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
}

.testi-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 1.0625rem;
  color: #F5A623;
}

.testi-rating {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F5A623;
  letter-spacing: 0.02em;
}

.testi-card__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #F2EBE3;
}

.testi-portrait {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid #F2EBE3;
  display: block;
}

.testi-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.testi-role {
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.3;
  margin-top: 5px;
}

body.dark .testimonials          { background: #1A1A2E; }
body.dark .testi-card            { background: #1E1E35; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
body.dark .testi-card__person    { border-bottom-color: #2A2A45; }
body.dark .testi-portrait        { border-color: #2A2A45; }

body.dark .testi-name            { color: #F0F0F0; }
body.dark .testi-quote           { color: #CCCCEE; }
body.dark .testi-role            { color: #7777AA; }
body.dark .testi-rating          { color: #F5A623; }

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   FOOTER (salmon bg + floating CTA card)
   ═══════════════════════════════════════════ */
.footer {
  background: var(--salmon);
  /* subtle radial warmth at top-left */
  background-image: radial-gradient(ellipse 60% 50% at 10% 0%, rgba(255,255,255,0.12) 0%, transparent 70%);
}

/* ── CTA card ── */
.footer__cta-wrap {
  padding-top: 80px;
}
.footer__cta-card {
  background: var(--white);
  border-radius: 24px;
  padding: 52px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 16px 56px rgba(200, 60, 50, 0.18);
}
.footer__cta-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--salmon);
  margin-bottom: 10px;
}
.footer__cta-heading {
  font-family: var(--font-cond);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--black);
  letter-spacing: -0.5px;
}
.footer__cta-sub {
  font-size: 15px;
  color: var(--mid-grey);
  margin-top: 10px;
  max-width: 480px;
}

/* ── Footer body ── */
.footer__body {
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  align-items: start;
  gap: 48px;
  padding-bottom: 52px;
}

/* Brand col */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1;
}
.footer__logo span {
  color: rgba(255,255,255,0.55);
}
.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.footer__available {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 5px 12px 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  width: fit-content;
  margin-top: 4px;
}
.footer__available-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6EFFC5;
  box-shadow: 0 0 6px rgba(110,255,197,0.8);
  flex-shrink: 0;
}

/* Nav col */
.footer__col--pages {
  padding-top: 4px;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}
.footer__nav a:hover {
  color: var(--white);
  transform: translateX(4px);
}

/* Contact col */
.footer__col--contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color var(--transition), opacity var(--transition);
}
.footer__email:hover {
  border-color: var(--white);
  opacity: 0.85;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.footer__social-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Divider & bottom bar */
.footer__divider {
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 0 24px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
}
.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}
.footer__made {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════
   DOT SCROLLER
   ═══════════════════════════════════════════ */
.dot-scroller {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  pointer-events: auto;
}
.dot-scroller__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dot-scroller__dot {
  position: relative;
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 1.5px solid rgba(0,0,0,0.22);
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.dot-scroller__dot:hover {
  background: transparent;
  border-color: var(--salmon);
  transform: scale(1.5);
}
.dot-scroller__dot.active {
  background: var(--salmon);
  border-color: var(--salmon);
  transform: scale(1.35);
}
.dot-scroller__tip {
  position: absolute;
  right: calc(100% + 11px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.dot-scroller__tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--black);
}
.dot-scroller__dot:hover .dot-scroller__tip {
  opacity: 1;
}
body.dark .dot-scroller__dot {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.28);
}
body.dark .dot-scroller__dot:hover {
  background: transparent;
  border-color: var(--salmon);
}
body.dark .dot-scroller__dot.active {
  background: var(--salmon);
  border-color: var(--salmon);
}
body.dark .dot-scroller__tip {
  background: #e8e8f4;
  color: #181818;
}
body.dark .dot-scroller__tip::after {
  border-left-color: #e8e8f4;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .works-banner { padding: 32px; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__cta-card { padding: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .dot-scroller { display: none; }

  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__burger { display: flex; }

  /* Mobile nav open state */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--light-grey);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
    z-index: 99;
  }
  .nav__links.open .nav__link { font-size: 17px; }

  .hero__inner { flex-direction: column; text-align: center; padding-top: 40px; padding-bottom: 56px; min-height: auto; }
  .hero__visual { order: -1; }
  .hero__avatar { width: 200px; }
  .hero__badge { align-self: center; margin-right: 0; }
  .hero__cta { margin: 0 auto; }
  .hero__eyebrow { justify-content: center; margin-bottom: 14px; }
  .hero__heading { margin-bottom: 24px; }
  .hero__cta-group { justify-content: center; }
  .hero__cta-link { padding-right: 28px; }
  .hero__proof { justify-content: center; margin-top: 20px; }

  .logos__inner { justify-content: center; }
  .about__text { text-align: left; font-size: 16px; }

  .works__grid { grid-template-columns: 1fr; }
  .works-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px;
    gap: 20px;
  }
  .works-banner__divider { display: none; }
  .works-banner__cta { width: 100%; justify-content: center; }
  .circ-images { height: 280px; }

  .footer__cta-card {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
    gap: 28px;
  }
  .footer__inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px 48px; }
  .footer__col--brand { gap: 20px; }
  .footer__nav { gap: 24px; flex-direction: row; flex-wrap: wrap; }
  .footer__form { min-width: unset; }
  .footer__body { padding-top: 56px; }
  .footer__bottom { justify-content: center; flex-wrap: wrap; gap: 12px; padding: 28px 24px 40px; }
  .footer__divider { margin: 0; }
}

@media (max-width: 480px) {
  .section-heading { margin-bottom: 36px; }
  .footer__cta-wrap { padding-top: 48px; }
}

/* ═══════════════════════════════════════════
   EASTER EGG: COFFEE TALLY
   ═══════════════════════════════════════════ */
.coffee-word {
  cursor: pointer;
  border-bottom: 1px dashed rgba(0,0,0,0.28);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.coffee-word:hover {
  color: var(--salmon);
  border-bottom-color: var(--salmon);
}
body.dark .coffee-word {
  border-bottom-color: rgba(255,255,255,0.28);
}
.coffee-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: var(--black);
  color: #fff;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}
.coffee-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.coffee-toast__icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.coffee-toast__count {
  color: var(--salmon);
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   JAZZ QUOTE
   ═══════════════════════════════════════════ */
@keyframes jazz-vinyl-spin {
  to { transform: rotate(360deg); }
}
@keyframes jazz-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@keyframes jazz-note-pulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.25) translateY(-3px); }
}

.jazz-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.jazz-btn:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  transform: scale(1.15) rotate(-8deg);
}
.jazz-btn:active { transform: scale(0.92); }
.jazz-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

.jazz-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.jazz-modal.open { opacity: 1; pointer-events: all; }
.jazz-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(245, 237, 228, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.jazz-modal__card {
  position: relative; z-index: 1;
  width: min(92vw, 480px);
  background: linear-gradient(150deg, #fff 0%, #fff9f0 100%);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  transform: translateY(22px) scale(0.93) rotate(-2deg);
  transition: transform 0.44s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 12px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(245,166,35,0.1);
}
.jazz-modal__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #F5A623 0%, #FBD07A 35%, #F5A623 65%, #FBD07A 100%);
  background-size: 200% 100%;
  animation: jazz-shimmer 4s linear infinite;
}
.jazz-modal.open .jazz-modal__card { transform: translateY(0) scale(1) rotate(0deg); }

.jazz-modal__vinyl {
  position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px;
  opacity: 0.07; pointer-events: none;
  animation: jazz-vinyl-spin 28s linear infinite;
  transform-origin: 50% 50%;
}
.jazz-modal__openquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 43px; line-height: 0.65;
  color: #F5A623;
  display: block; margin-bottom: 12px;
  user-select: none;
}
.jazz-modal__quote {
  font-family: var(--font);
  font-size: 2.25rem;
  line-height: 1.15;
  color: #444;
  margin: 0 0 0.75rem;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.jazz-modal__notes {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.0625rem;
  color: #F5A623;
  margin-bottom: 0.75rem;
}
.jazz-modal__notes span {
  display: inline-block;
  animation: jazz-note-pulse 1.8s ease-in-out infinite;
}
.jazz-modal__notes span:nth-child(2) { animation-delay: 0.25s; }
.jazz-modal__notes span:nth-child(3) { animation-delay: 0.5s; }
.jazz-modal__notes span:nth-child(4) { animation-delay: 0.75s; }
.jazz-modal__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid #F2EBE3;
}
.jazz-modal__attribution { display: flex; flex-direction: column; gap: 2px; }
.jazz-modal__artist {
  font-family: var(--font-cond);
  font-size: 0.5625rem; font-weight: 700;
  color: #1a1a1a;
  transition: opacity 0.22s ease, transform 0.22s ease;
  letter-spacing: 0; text-transform: none;
}
.jazz-modal__role {
  font-family: var(--font);
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.3;
  transition: opacity 0.25s ease;
}
.jazz-modal__actions { display: flex; align-items: center; gap: 8px; }
.jazz-modal__next {
  font-family: var(--font-cond);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #F5A623;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.jazz-modal__next:hover {
  background: rgba(245, 166, 35, 0.18);
  border-color: rgba(245, 166, 35, 0.55);
  transform: scale(1.06);
}
.jazz-modal__next:focus-visible {
  outline: 2px solid rgba(245,166,35,0.7);
  outline-offset: 2px;
}
.jazz-modal__close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  color: #888;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.jazz-modal__close:hover {
  background: rgba(0,0,0,0.1);
  color: #333;
}
.jazz-modal__close:focus-visible {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════
   BLOG / INSIGHTS — LISTING PAGE
   ═══════════════════════════════════════════ */
.blog-header {
  background: var(--salmon);
  background-image: radial-gradient(ellipse 70% 60% at 80% 100%, rgba(255,255,255,0.10) 0%, transparent 70%);
  padding: 130px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-header canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.blog-header__inner { position: relative; z-index: 1; }
.blog-header__eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 14px;
}
.blog-header__heading {
  font-family: var(--font-cond);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900; color: #fff;
  line-height: 0.92; letter-spacing: -0.02em;
  text-transform: uppercase; margin-bottom: 20px;
}
.blog-header__sub {
  font-size: 16px; color: rgba(255,255,255,0.8);
  max-width: 480px; margin: 0 auto;
  line-height: 1.65;
}

.blog-section { padding: 80px 0 100px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-grey);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.28s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.blog-card__gradient {
  height: 210px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card__gradient::after {
  content: attr(data-num);
  position: absolute; right: -12px; bottom: -24px;
  font-family: var(--font-cond);
  font-size: 180px; font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1; letter-spacing: -4px;
  pointer-events: none; user-select: none;
}

.blog-card__body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; flex: 1;
}
.blog-card__top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 10px;
}
.blog-card__cat {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--salmon);
}
.blog-card__time {
  font-size: 11px; font-weight: 600;
  color: var(--mid-grey);
}
.blog-card__title {
  font-family: var(--font-cond);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.08;
  color: var(--black); margin-bottom: 10px;
}
.blog-card__excerpt {
  font-size: 13.5px; line-height: 1.7;
  color: var(--mid-grey); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 20px;
}
.blog-card__footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--light-grey);
  margin-top: auto;
}
.blog-card__date {
  font-size: 12px; color: var(--mid-grey); font-weight: 600;
}
.blog-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--salmon);
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 10px; }

body.dark .blog-card { background: #1E1E35; border-color: #333355; }
body.dark .blog-card__title { color: #F0F0F0; }
body.dark .blog-card__footer { border-top-color: #2A2A45; }

/* ═══════════════════════════════════════════
   BLOG / INSIGHTS — INDIVIDUAL POST PAGES
   ═══════════════════════════════════════════ */
.post-header {
  padding: 130px 0 80px;
  position: relative; overflow: hidden;
}
.post-header canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; pointer-events: none;
}
.post-header__inner {
  position: relative; z-index: 1;
  max-width: 760px;
}
.post-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  transition: color var(--transition), gap var(--transition);
}
.post-back:hover { color: #fff; gap: 11px; }
.post-back svg { flex-shrink: 0; }
.post-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.post-cat {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 4px 12px; color: #fff;
}
.post-date {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.post-readtime {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.post-title {
  font-family: var(--font-cond);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 0.97; letter-spacing: -0.02em;
  text-transform: uppercase; margin-bottom: 28px;
}
.post-author {
  display: flex; align-items: center; gap: 12px;
}
.post-author__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); font-size: 14px;
  font-weight: 900; color: #fff; flex-shrink: 0;
}
.post-author__name {
  font-size: 13px; font-weight: 700; color: #fff;
  line-height: 1.3;
}
.post-author__role {
  font-size: 11px; color: rgba(255,255,255,0.6);
}

.post-body { padding: 72px 0 100px; }
.post-article {
  max-width: 700px; margin: 0 auto;
  font-size: 17px; line-height: 1.85;
  color: #444;
}
.post-article h2 {
  font-family: var(--font-cond);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; color: var(--black);
  margin: 2em 0 0.6em;
  padding-top: 0.2em;
}
.post-article p { margin-bottom: 1.5em; }
.post-article strong { color: var(--black); font-weight: 700; }
.post-pullquote {
  border-left: 3px solid var(--salmon);
  padding: 4px 0 4px 28px;
  margin: 2.2em 0;
  font-family: var(--font-cond);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2; color: var(--black);
}
.post-dashes {
  list-style: none; padding: 0; margin: 0 0 1.5em;
}
.post-dashes li {
  padding: 6px 0 6px 20px;
  position: relative; font-size: 16px;
  line-height: 1.75; color: #444;
}
.post-dashes li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--salmon); font-weight: 700;
}

.post-nav {
  max-width: 700px; margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--light-grey);
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.post-nav__back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--salmon);
  transition: gap var(--transition);
}
.post-nav__back:hover { gap: 12px; }
.post-nav__next {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-cond);
  font-size: 16px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--black);
  transition: gap var(--transition);
}
.post-nav__next:hover { gap: 12px; }
.post-nav__next-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mid-grey); display: block; margin-bottom: 3px;
}

body.dark .post-article { color: #CCCCEE; }
body.dark .post-article h2 { color: #F0F0F0; }
body.dark .post-article strong { color: #F0F0F0; }
body.dark .post-pullquote { color: #F0F0F0; }
body.dark .post-dashes li { color: #CCCCEE; }
body.dark .post-nav { border-top-color: #333355; }
body.dark .post-nav__next { color: #F0F0F0; }

@media (max-width: 768px) {
  .blog-header { padding: 110px 0 56px; }
  .post-header { padding: 110px 0 60px; }
  .post-body { padding: 48px 0 72px; }
  .post-article { font-size: 16px; }
}