/* ======================================================
   GOLDSMITH & CO — CARTOON LANDING
   80s Schoolhouse-Rock vibe on the brand 4-color palette.
   Scoped to body.cartoon-landing so it never bleeds into
   the authenticated portal pages.
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600&display=swap');

body.cartoon-landing {
  /* Brand-locked palette — yellow/green/orange/blue + navy + cream */
  --cl-navy:    #001a44;
  --cl-navy-2:  #003087;
  --cl-yellow:  #FFC000;
  --cl-yellow-2:#FDD835;
  --cl-green:   #00b050;
  --cl-orange:  #ed7d32;
  --cl-blue:    #2C5294;
  --cl-blue-lt: #4A78C4;
  --cl-cream:   #FFFDF5;
  --cl-ink:     #00102b;

  font-family: 'Barlow', sans-serif;
  background: var(--cl-navy);
  color: var(--cl-cream);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body.cartoon-landing *,
body.cartoon-landing *::before,
body.cartoon-landing *::after {
  box-sizing: border-box;
}

/* Hide the original .landing wrapper styles — we render on body directly */
body.cartoon-landing .landing { all: unset; display: contents; }

/* ===== KEYFRAMES ===== */
@keyframes cl-spray-reveal {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0.3; }
  100% { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
@keyframes cl-fade-up {
  from { transform: translateY(36px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cl-float {
  0%, 100% { transform: translateY(0)    rotate(0); }
  40%      { transform: translateY(-14px) rotate(4deg); }
  70%      { transform: translateY(-6px)  rotate(-2deg); }
}
@keyframes cl-float-b {
  0%, 100% { transform: translateY(0)    rotate(0); }
  40%      { transform: translateY(-8px)  rotate(-4deg); }
  70%      { transform: translateY(-16px) rotate(3deg); }
}
@keyframes cl-twinkle {
  0%, 100% { opacity: 1;   transform: scale(1)   rotate(0); }
  25%      { opacity: 0.2; transform: scale(0.5) rotate(20deg); }
  50%      { opacity: 1;   transform: scale(1.4) rotate(0); }
  75%      { opacity: 0.4; transform: scale(0.8) rotate(-15deg); }
}
@keyframes cl-wave-letter {
  0%, 100% { transform: translateY(0); }
  35%      { transform: translateY(-14px); }
  70%      { transform: translateY(7px); }
}
@keyframes cl-arm-wave {
  0%, 100% { transform: rotate(0); }
  20%      { transform: rotate(-30deg); }
  50%      { transform: rotate(30deg); }
  80%      { transform: rotate(-14deg); }
}
@keyframes cl-arm-wave-l {
  0%, 100% { transform: rotate(0); }
  20%      { transform: rotate(30deg); }
  50%      { transform: rotate(-30deg); }
  80%      { transform: rotate(14deg); }
}
@keyframes cl-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes cl-spin-slow {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
@keyframes cl-video-cycle {
  0%   { filter: hue-rotate(0deg)   saturate(1.6) contrast(1.15); }
  25%  { filter: hue-rotate(-15deg) saturate(2)   contrast(1.25); }
  50%  { filter: hue-rotate(20deg)  saturate(1.8) contrast(1.2); }
  75%  { filter: hue-rotate(-8deg)  saturate(2.1) contrast(1.3); }
  100% { filter: hue-rotate(0deg)   saturate(1.6) contrast(1.15); }
}
@keyframes cl-wash-drift-a {
  0%   { transform: translate(-15%, -10%) scale(1);   opacity: 0.55; }
  50%  { transform: translate(20%, 15%)   scale(1.2); opacity: 0.85; }
  100% { transform: translate(-15%, -10%) scale(1);   opacity: 0.55; }
}
@keyframes cl-wash-drift-b {
  0%   { transform: translate(20%, 10%)   scale(1.1); opacity: 0.7; }
  50%  { transform: translate(-25%, -20%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(20%, 10%)   scale(1.1); opacity: 0.7; }
}
@keyframes cl-wash-drift-c {
  0%   { transform: translate(0, 25%)  scale(1);    opacity: 0.6; }
  50%  { transform: translate(15%, -25%) scale(1.3); opacity: 0.8; }
  100% { transform: translate(0, 25%)  scale(1);    opacity: 0.6; }
}
@keyframes cl-scanlines-drift {
  from { background-position: 0 0; }
  to   { background-position: 0 8px; }
}
@keyframes cl-halftone-pulse {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.32; }
}
@keyframes cl-color-cycle {
  0%   { color: var(--cl-yellow); }
  33%  { color: var(--cl-green); }
  66%  { color: var(--cl-orange); }
  100% { color: var(--cl-yellow); }
}
@keyframes cl-bg-cycle {
  0%   { background: var(--cl-yellow); }
  33%  { background: var(--cl-green); }
  66%  { background: var(--cl-orange); }
  100% { background: var(--cl-yellow); }
}
@keyframes cl-pulse-glow {
  0%, 100% { box-shadow: 6px 6px 0 var(--cl-ink), 0 0 0 0 rgba(255, 192, 0, 0.6); }
  50%      { box-shadow: 6px 6px 0 var(--cl-ink), 0 0 0 18px rgba(255, 192, 0, 0); }
}
@keyframes cl-jiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-3deg); }
  75%      { transform: rotate(3deg); }
}
@keyframes cl-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes cl-orbit {
  from { transform: rotate(0deg) translateX(38px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(38px) rotate(-360deg); }
}
@keyframes cl-orbit-rev {
  from { transform: rotate(360deg) translateX(28px) rotate(-360deg); }
  to   { transform: rotate(0deg) translateX(28px) rotate(0deg); }
}
@keyframes cl-marching-ants {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 24px 0, -24px 0, 0 24px, 0 -24px; }
}
@keyframes cl-card-tilt {
  0%, 100% { transform: rotate(0); }
  50%      { transform: rotate(0.7deg); }
}
@keyframes cl-stroke-draw {
  0%   { stroke-dashoffset: 1; }
  3%   { stroke-dashoffset: 1; }
  16%  { stroke-dashoffset: 0; }
  92%  { stroke-dashoffset: 0; }
  98%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes cl-drip-grow {
  0%   { height: 0; }
  18%  { height: 0; }
  30%  { height: 18px; }
  92%  { height: 18px; }
  100% { height: 0; }
}
@keyframes cl-can-drift {
  0%, 100% { transform: translate(140px, 660px); }
  16%      { transform: translate(700px, 640px); }
  17%      { transform: translate(880px, 730px); }
  33%      { transform: translate(1380px, 660px); }
  34%      { transform: translate(220px, 400px); }
  50%      { transform: translate(540px, 400px); }
  51%      { transform: translate(1100px, 410px); }
  66%      { transform: translate(1440px, 400px); }
  67%      { transform: translate(640px, 540px); }
  83%      { transform: translate(820px, 540px); }
  84%      { transform: translate(1160px, 130px); }
  98%      { transform: translate(1300px, 200px); }
}
@keyframes cl-can-color {
  0%, 16.6%   { color: #FFC000; }
  16.7%, 33.3% { color: #00b050; }
  33.4%, 50%   { color: #ed7d32; }
  50.1%, 66.6% { color: #2C5294; }
  66.7%, 83.3% { color: #FFC000; }
  83.4%, 100%  { color: #ed7d32; }
}
@keyframes cl-spray-pulse {
  0%, 100% { opacity: 0;   transform: scale(0.7); }
  50%      { opacity: 0.9; transform: scale(1.3); }
}
@keyframes cl-walk-in-l {
  0%   { transform: translateX(-120vw) rotate(-4deg); opacity: 0; }
  60%  { transform: translateX(12px)  rotate(2deg);   opacity: 1; }
  80%  { transform: translateX(-6px)  rotate(-1deg);  opacity: 1; }
  100% { transform: translateX(0)     rotate(0);      opacity: 1; }
}
@keyframes cl-walk-in-r {
  0%   { transform: translateX(120vw)  rotate(4deg);  opacity: 0; }
  60%  { transform: translateX(-12px)  rotate(-2deg); opacity: 1; }
  80%  { transform: translateX(6px)    rotate(1deg);  opacity: 1; }
  100% { transform: translateX(0)      rotate(0);     opacity: 1; }
}
@keyframes cl-parade-march {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cl-hustle-pace {
  0%, 100% { transform: translateX(-2vw) rotate(-1deg); }
  25%      { transform: translateX(2vw)  rotate(1deg); }
  50%      { transform: translateX(4vw)  rotate(-1deg); }
  75%      { transform: translateX(-4vw) rotate(1.5deg); }
}
@keyframes cl-parade-bounce {
  0%, 100% { transform: translateY(0)    rotate(0); }
  50%      { transform: translateY(-10px) rotate(15deg); }
}
@keyframes cl-pop-card {
  from { transform: translateY(52px) scale(0.88); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
@keyframes cl-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cl-spray-drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.65; }
  50%  { transform: translate(8px, -10px) scale(1.15); opacity: 0.95; }
  100% { transform: translate(-6px, 6px) scale(0.9); opacity: 0.5; }
}
@keyframes cl-spray-burst {
  0%   { transform: scale(0.8); opacity: 0; }
  20%  { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ===== NAV ===== */
body.cartoon-landing .cl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
  background: rgba(0, 16, 43, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--cl-yellow);
}
.cl-nav__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 3px;
  color: var(--cl-cream); text-decoration: none;
}
.cl-nav__logo span { color: var(--cl-yellow); }
.cl-nav__signin {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cl-ink);
  background: linear-gradient(90deg, var(--cl-green) 0%, var(--cl-yellow) 50%, var(--cl-orange) 100%);
  border: none; padding: 10px 28px;
  text-decoration: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: filter 0.18s, transform 0.18s;
  position: relative;
}
.cl-nav__signin:hover { filter: brightness(1.1); transform: scale(1.05); }
.cl-login-dropdown-wrap { position: relative; }

/* ===== LOGIN DROPDOWN (cartoon restyle) ===== */
body.cartoon-landing #login-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 360px; padding: 0;
  background: var(--cl-cream);
  border: 3px solid var(--cl-ink);
  box-shadow: 8px 8px 0 var(--cl-yellow), 16px 16px 0 var(--cl-orange);
  z-index: 400;
}
body.cartoon-landing #login-dropdown[hidden] { display: none; }
body.cartoon-landing .login-dropdown__inner { padding: 28px 26px 22px; }
body.cartoon-landing .login-logo {
  text-align: center; margin-bottom: 18px;
  border-bottom: 2px dashed var(--cl-ink); padding-bottom: 14px;
}
body.cartoon-landing .login-logo img { max-width: 160px; height: auto; }
body.cartoon-landing .login-form .form-group { margin-bottom: 14px; }
body.cartoon-landing .login-form label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cl-ink); margin-bottom: 6px;
}
body.cartoon-landing .login-form input {
  width: 100%; padding: 10px 12px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  background: #fff; color: var(--cl-ink);
  border: 2px solid var(--cl-ink); border-radius: 0;
  outline: none;
  transition: box-shadow 0.18s, transform 0.18s;
}
body.cartoon-landing .login-form input:focus {
  box-shadow: 4px 4px 0 var(--cl-yellow);
  transform: translate(-1px, -1px);
}
body.cartoon-landing .login-form .btn-primary {
  display: block; width: 100%; margin-top: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cl-ink);
  background: linear-gradient(90deg, var(--cl-green) 0%, var(--cl-yellow) 50%, var(--cl-orange) 100%);
  border: 2px solid var(--cl-ink);
  padding: 12px 16px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 0;
}
body.cartoon-landing .login-form .btn-primary:hover,
body.cartoon-landing .login-form .btn-primary--active {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--cl-ink);
}
body.cartoon-landing .login-form .btn-primary:disabled {
  opacity: 0.6; cursor: wait;
}
body.cartoon-landing .demo-accounts {
  margin-top: 18px; padding-top: 14px;
  border-top: 2px dashed var(--cl-ink);
  text-align: center;
}
body.cartoon-landing .demo-accounts__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cl-ink); margin: 0 0 10px;
}
body.cartoon-landing .demo-accounts__btn {
  display: inline-block; margin: 4px 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cl-ink); background: #fff;
  border: 2px solid var(--cl-ink); padding: 7px 12px;
  cursor: pointer; transform: rotate(-2deg);
  transition: transform 0.18s, background 0.18s;
}
body.cartoon-landing .demo-accounts__btn:nth-child(2n) { transform: rotate(2deg); }
body.cartoon-landing .demo-accounts__btn:hover {
  background: var(--cl-yellow); transform: rotate(0) scale(1.06);
}
body.cartoon-landing .login-error {
  color: #c0392b; font-size: 13px;
  margin-top: 12px; text-align: center;
  font-family: 'Barlow', sans-serif;
}

/* ===== HERO ===== */
body.cartoon-landing .cl-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 64px 90px;
}

/* video — animated, cartoon-like color cycling */
body.cartoon-landing .landing-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.95;
  filter: saturate(1.7) contrast(1.2);
  animation: cl-video-cycle 14s ease-in-out infinite;
}

/* drifting brand-color washes painted ON TOP of the video (mix-blend) */
.cl-hero__color-wash {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  mix-blend-mode: soft-light;
  filter: blur(60px);
}
.cl-hero__color-wash--yellow {
  background: radial-gradient(ellipse 60% 50% at 30% 35%, rgba(255, 192, 0, 0.85) 0%, transparent 70%);
  animation: cl-wash-drift-a 11s ease-in-out infinite;
}
.cl-hero__color-wash--green {
  background: radial-gradient(ellipse 50% 60% at 70% 60%, rgba(0, 176, 80, 0.85) 0%, transparent 70%);
  animation: cl-wash-drift-b 13s ease-in-out infinite;
  mix-blend-mode: screen;
}
.cl-hero__color-wash--orange {
  background: radial-gradient(ellipse 55% 55% at 50% 75%, rgba(237, 125, 50, 0.7) 0%, transparent 70%);
  animation: cl-wash-drift-c 9s ease-in-out infinite;
  mix-blend-mode: overlay;
}

/* halftone dot pattern — cartoon comic-book texture */
.cl-hero__halftone {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: 0.22;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0.8px, transparent 1.4px);
  background-size: 6px 6px;
  mix-blend-mode: multiply;
  animation: cl-halftone-pulse 7s ease-in-out infinite;
}

/* scan lines — old animated TV / cartoon vibe */
.cl-hero__scanlines {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: 0.18;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.4) 1px,
    transparent 1px, transparent 4px
  );
  animation: cl-scanlines-drift 1.6s linear infinite;
}

/* dim overlay so text pops */
.cl-hero__overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    to top,
    rgba(0, 16, 43, 0.96) 0%,
    rgba(0, 16, 43, 0.62) 38%,
    rgba(0, 16, 43, 0.20) 70%,
    rgba(0, 16, 43, 0.10) 100%
  );
}

/* fence slats */
.cl-hero__fence {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg, transparent, transparent 60px,
    rgba(0, 0, 0, 0.18) 60px, rgba(0, 0, 0, 0.18) 62px
  );
}

/* spray-paint particle dots */
.cl-spray {
  position: absolute; z-index: 4; pointer-events: none;
  width: 14px; height: 14px; border-radius: 50%;
  filter: blur(0.5px);
  animation: cl-spray-drift 4s ease-in-out infinite;
}
.cl-spray-burst {
  position: absolute; z-index: 4; pointer-events: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at center, currentColor 0%, transparent 65%);
  animation: cl-spray-burst 2.6s ease-out infinite;
}

/* floating star decorations */
.cl-hero__star {
  position: absolute; z-index: 4; pointer-events: none; line-height: 1;
  font-size: 36px;
  animation: cl-float 4s ease-in-out infinite, cl-twinkle 3.5s ease-in-out infinite;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.4);
  paint-order: stroke fill;
}
.cl-hero__star.b { animation-name: cl-float-b, cl-twinkle; }

.cl-hero__content { position: relative; z-index: 5; max-width: 760px; }

.cl-hero__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--cl-yellow);
  margin: 0 0 14px;
  animation: cl-fade-up 0.5s ease both 0.2s; opacity: 0;
}

.cl-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.92; letter-spacing: 2px;
  color: var(--cl-cream); margin: 0 0 20px;
  display: flex; flex-direction: column;
}
.cl-hero__title .spray-line {
  display: block;
  animation: cl-spray-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  text-shadow:
     3px 3px 0 var(--cl-blue),
    -2px -2px 0 rgba(44, 82, 148, 0.4),
     4px 0 10px rgba(44, 82, 148, 0.5);
}
.cl-hero__title .spray-line:nth-child(1) { animation-delay: 0.30s; }
.cl-hero__title .spray-line:nth-child(2) {
  animation-delay: 0.65s;
  color: var(--cl-yellow);
  text-shadow:
     3px 3px 0 var(--cl-orange),
    -2px -2px 0 rgba(237, 125, 50, 0.4),
     4px 0 10px rgba(237, 125, 50, 0.5);
}

/* wavy subtitle */
.cl-hero__sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3.6vw, 44px);
  letter-spacing: 4px;
  color: var(--cl-green);
  margin: 0 0 28px;
  animation: cl-spray-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) both 1s;
}
.wavy-word { display: inline-block; }
.wavy-word span { display: inline-block; animation: cl-wave-letter 2.4s ease-in-out infinite; }
.wavy-word span:nth-child(1)  { animation-delay: 0.00s; }
.wavy-word span:nth-child(2)  { animation-delay: 0.08s; }
.wavy-word span:nth-child(3)  { animation-delay: 0.16s; }
.wavy-word span:nth-child(4)  { animation-delay: 0.24s; }
.wavy-word span:nth-child(5)  { animation-delay: 0.32s; }
.wavy-word span:nth-child(6)  { animation-delay: 0.40s; }
.wavy-word span:nth-child(7)  { animation-delay: 0.48s; }
.wavy-word span:nth-child(8)  { animation-delay: 0.56s; }
.wavy-word span:nth-child(9)  { animation-delay: 0.64s; }
.wavy-word span:nth-child(10) { animation-delay: 0.72s; }
.wavy-word span:nth-child(11) { animation-delay: 0.80s; }
.wavy-word span:nth-child(12) { animation-delay: 0.88s; }
.wavy-word span:nth-child(13) { animation-delay: 0.96s; }
.wavy-word span:nth-child(14) { animation-delay: 1.04s; }
.wavy-word span:nth-child(15) { animation-delay: 1.12s; }
.wavy-word span:nth-child(16) { animation-delay: 1.20s; }
.wavy-word span:nth-child(17) { animation-delay: 1.28s; }
.wavy-word span:nth-child(18) { animation-delay: 1.36s; }
.wavy-word span:nth-child(19) { animation-delay: 1.44s; }
.wavy-word span:nth-child(20) { animation-delay: 1.52s; }

.cl-hero__desc {
  font-size: 17px; font-weight: 500;
  color: rgba(255, 253, 245, 0.82);
  max-width: 480px; line-height: 1.65;
  margin: 0 0 36px;
  animation: cl-fade-up 0.6s ease both 1.4s; opacity: 0;
}
.cl-hero__cta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  animation: cl-fade-up 0.6s ease both 1.6s; opacity: 0;
}

body.cartoon-landing .btn-primary.cl-cta,
body.cartoon-landing .btn-primary.cl-cta-bottom {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cl-ink);
  background: linear-gradient(90deg, var(--cl-green) 0%, var(--cl-yellow) 50%, var(--cl-orange) 100%);
  border: 3px solid var(--cl-ink);
  padding: 16px 44px;
  text-decoration: none; cursor: pointer;
  display: inline-block;
  box-shadow: 6px 6px 0 var(--cl-ink);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
body.cartoon-landing .btn-primary.cl-cta:hover,
body.cartoon-landing .btn-primary.cl-cta-bottom:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--cl-ink);
  filter: brightness(1.08);
}

.cl-hero__ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 253, 245, 0.6);
  background: none; border: none; cursor: pointer;
  border-bottom: 2px solid rgba(255, 253, 245, 0.3);
  padding: 4px 2px;
  transition: color 0.18s, border-color 0.18s;
}
.cl-hero__ghost:hover { color: var(--cl-yellow); border-color: var(--cl-yellow); }

/* ===== TICKER ===== */
.cl-ticker {
  overflow: hidden;
  background: var(--cl-blue);
  border-top: 3px solid var(--cl-yellow);
  border-bottom: 3px solid var(--cl-yellow);
}
.cl-ticker__track {
  display: flex; white-space: nowrap;
  animation: cl-ticker 22s linear infinite;
}
.cl-ticker__item {
  display: inline-flex; align-items: center; gap: 24px;
  padding: 14px 32px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px;
  color: var(--cl-cream);
}
.cl-ticker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cl-yellow); flex-shrink: 0;
}
.cl-ticker__item:nth-child(4n+2) .cl-ticker__dot { background: var(--cl-green); }
.cl-ticker__item:nth-child(4n+3) .cl-ticker__dot { background: var(--cl-orange); }
.cl-ticker__item:nth-child(4n+4) .cl-ticker__dot { background: var(--cl-cream); }

/* ===== TEAM CHARACTERS ===== */
.cl-team {
  background: var(--cl-ink);
  padding: 90px 64px;
  border-top: 4px solid var(--cl-yellow);
  border-bottom: 4px solid var(--cl-orange);
}
.cl-team__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 2px; color: var(--cl-cream);
  margin: 0 0 56px; text-align: center;
  position: relative;
}
.cl-team__heading span {
  display: inline-block;
  animation: cl-color-cycle 4s ease-in-out infinite, cl-jiggle 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}
.cl-team__heading::before,
.cl-team__heading::after {
  content: '★';
  position: absolute; top: 50%;
  font-size: 0.6em;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
  animation: cl-twinkle 2.6s ease-in-out infinite, cl-color-cycle 5s ease-in-out infinite;
}
.cl-team__heading::before { left: 30%; transform: translateY(-50%); animation-delay: 0s, 0s; }
.cl-team__heading::after  { right: 30%; transform: translateY(-50%); animation-delay: 1.3s, 2s; }

.cl-team__row {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.cl-character {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cl-character__figure { animation: cl-bob 2.5s ease-in-out infinite; }
.cl-character:nth-child(7n+1) .cl-character__figure { animation-delay: 0.00s; }
.cl-character:nth-child(7n+2) .cl-character__figure { animation-delay: 0.35s; }
.cl-character:nth-child(7n+3) .cl-character__figure { animation-delay: 0.70s; }
.cl-character:nth-child(7n+4) .cl-character__figure { animation-delay: 1.05s; }
.cl-character:nth-child(7n+5) .cl-character__figure { animation-delay: 1.40s; }
.cl-character:nth-child(7n+6) .cl-character__figure { animation-delay: 0.15s; }
.cl-character:nth-child(7n+7) .cl-character__figure { animation-delay: 0.85s; }

.cl-character__svg { width: 100px; height: auto; display: block; }
.arm-wave   { animation: cl-arm-wave   1.7s ease-in-out infinite; transform-origin: 50% 90%; }
.arm-wave-l { animation: cl-arm-wave-l 1.7s ease-in-out infinite; transform-origin: 50% 90%; }
.cl-character:nth-child(3n+1) .arm-wave   { animation-duration: 1.4s; }
.cl-character:nth-child(3n+2) .arm-wave   { animation-delay: 0.35s; }
.cl-character:nth-child(3n)   .arm-wave   { animation-delay: 0.7s; animation-duration: 2s; }
.cl-character:nth-child(3n+1) .arm-wave-l { animation-delay: 0.15s; }
.cl-character:nth-child(3n+2) .arm-wave-l { animation-delay: 0.55s; animation-duration: 1.5s; }
.cl-character:nth-child(3n)   .arm-wave-l { animation-delay: 0.9s; }

.cl-character__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cl-cream);
  background: rgba(255, 192, 0, 0.12);
  border: 1.5px solid var(--cl-yellow);
  border-radius: 50px; padding: 3px 12px;
  margin-top: 4px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.cl-character:hover .cl-character__name {
  transform: scale(1.12) rotate(-2deg);
  background: var(--cl-yellow);
  color: var(--cl-ink);
}
.cl-character:nth-child(5n+1) .cl-character__name { border-color: var(--cl-yellow); }
.cl-character:nth-child(5n+2) .cl-character__name { border-color: var(--cl-green); }
.cl-character:nth-child(5n+3) .cl-character__name { border-color: var(--cl-orange); }
.cl-character:nth-child(5n+4) .cl-character__name { border-color: var(--cl-blue-lt); }
.cl-character:nth-child(5n)   .cl-character__name { border-color: var(--cl-cream); }

/* ===== GRID SECTION ===== */
.cl-grid {
  padding: 100px 64px;
  background: var(--cl-navy);
  position: relative;
}
.cl-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--cl-yellow);
  margin: 0 0 14px;
  position: relative;
  display: inline-block;
}
.cl-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cl-yellow);
  margin-right: 10px; vertical-align: middle;
  animation: cl-bg-cycle 3s ease-in-out infinite, cl-bob 1.6s ease-in-out infinite;
}
.cl-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: 2px;
  color: var(--cl-cream);
  line-height: 0.92;
  margin: 0 0 56px;
  max-width: 720px;
}
.cl-section-title em {
  font-style: normal;
  display: inline-block;
  animation: cl-color-cycle 5s ease-in-out infinite, cl-jiggle 3s ease-in-out infinite;
  transform-origin: center bottom;
}

.cl-grid__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.cl-grid__cards .cl-card--wide { grid-column: span 2; }
.cl-grid__cards--solo {
  grid-template-columns: 1fr;
  max-width: 640px; margin: 0 auto;
}
.cl-card--solo {
  text-align: center;
  padding: 56px 48px;
}
.cl-card--solo .cl-card__title {
  font-size: 44px; margin-bottom: 18px;
}
.cl-card--solo .cl-card__desc {
  max-width: none; margin: 0 auto 26px;
}
.cl-card--solo .cl-card__arrow {
  position: static; opacity: 1;
  font-size: 14px; padding: 12px 28px;
  border: 2px solid var(--card-color, var(--cl-yellow));
  background: transparent;
  display: inline-block; margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
.cl-card--solo .cl-card__arrow:hover {
  background: var(--card-color, var(--cl-yellow));
  color: var(--cl-ink);
}

.cl-card {
  background: rgba(255, 253, 245, 0.04);
  border: 2px solid rgba(255, 253, 245, 0.08);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  animation: cl-card-tilt 6s ease-in-out infinite;
}
.cl-card:nth-child(2n) { animation-direction: reverse; animation-duration: 7s; }
.cl-card:nth-child(3n) { animation-duration: 8s; }
.cl-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-color, var(--cl-blue-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s ease;
}
.cl-card::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none; opacity: 0;
  background:
    linear-gradient(90deg, var(--card-color, var(--cl-yellow)) 50%, transparent 50%) repeat-x top    / 24px 2px,
    linear-gradient(90deg, var(--card-color, var(--cl-yellow)) 50%, transparent 50%) repeat-x bottom / 24px 2px,
    linear-gradient(0deg,  var(--card-color, var(--cl-yellow)) 50%, transparent 50%) repeat-y left   / 2px 24px,
    linear-gradient(0deg,  var(--card-color, var(--cl-yellow)) 50%, transparent 50%) repeat-y right  / 2px 24px;
  transition: opacity 0.25s;
}
.cl-card:hover {
  background: rgba(255, 253, 245, 0.07);
  border-color: var(--card-color, var(--cl-yellow));
  transform: translateY(-4px) rotate(0);
  animation-play-state: paused;
}
.cl-card:hover::before { transform: scaleX(1); }
.cl-card:hover::after  { opacity: 0.9; animation: cl-marching-ants 1s linear infinite; }

.cl-card__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 3px;
  color: rgba(255, 253, 245, 0.25);
  margin: 0 0 28px;
}
.cl-card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px;
  color: var(--cl-cream);
  margin: 0 0 10px;
}
.cl-card__desc {
  font-size: 14px;
  color: rgba(255, 253, 245, 0.65);
  line-height: 1.72;
  max-width: 360px;
  margin: 0;
}
.cl-card__quote {
  margin-top: 22px;
  font-size: 15px;
  color: rgba(255, 253, 245, 0.55);
  line-height: 1.75;
  max-width: 540px;
  font-style: italic;
}
.cl-card__arrow {
  position: absolute; bottom: 28px; right: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--card-color, var(--cl-yellow));
  opacity: 0; transition: opacity 0.22s;
  background: none; border: none; cursor: pointer;
}
.cl-card:hover .cl-card__arrow { opacity: 1; }

/* ===== HISTORY ===== */
.cl-history {
  padding: 100px 64px;
  background: #001233;
}
.cl-history__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 56px;
}
.cl-history-card {
  position: relative;
  padding: 48px 40px; min-height: 220px;
  background: rgba(255, 253, 245, 0.03);
  border: 2px solid rgba(255, 253, 245, 0.06);
  overflow: hidden; cursor: pointer;
  transition: border-color 0.25s;
}
.cl-history-card:hover { border-color: var(--h-color, var(--cl-yellow)); }
.cl-history-card__front { transition: opacity 0.28s, transform 0.28s; }
.cl-history-card__year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px; letter-spacing: 2px;
  color: rgba(255, 253, 245, 0.07);
  line-height: 1; margin-bottom: 6px;
  transition: color 0.28s;
}
.cl-history-card:hover .cl-history-card__year { color: rgba(255, 253, 245, 0.18); }
.cl-history-card__role {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 2px;
  color: var(--cl-cream); margin-bottom: 6px;
}
.cl-history-card__co {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--h-color, var(--cl-yellow));
}
.cl-history-card__detail {
  position: absolute; inset: 0; padding: 40px;
  background: var(--h-color, var(--cl-blue));
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.28s, transform 0.28s;
  display: flex; flex-direction: column; justify-content: center;
}
.cl-history-card:hover .cl-history-card__detail { opacity: 1; transform: translateY(0); }
.cl-history-card:hover .cl-history-card__front { opacity: 0; transform: translateY(-8px); }
.cl-history-card__detail-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255, 253, 245, 0.7);
  margin-bottom: 10px;
}
.cl-history-card__detail-role {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px; letter-spacing: 2px;
  color: var(--cl-cream); margin-bottom: 4px;
}
.cl-history-card__detail-co {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 253, 245, 0.75);
  margin-bottom: 16px;
}
.cl-history-card__detail-text {
  font-size: 15px;
  color: rgba(255, 253, 245, 0.92);
  line-height: 1.72;
}

/* ===== Walk-in entrance animations ===== */
.cl-walk-in            { opacity: 0; will-change: transform, opacity; }
.cl-walk-in--l         { animation: cl-walk-in-l 0.95s cubic-bezier(0.5, 1.6, 0.4, 1) both; }
.cl-walk-in--r         { animation: cl-walk-in-r 0.95s cubic-bezier(0.5, 1.6, 0.4, 1) both; }

/* ===== Parade marquee strip (walks across each section) ===== */
.cl-parade {
  position: absolute; left: 0; right: 0;
  top: 24px; height: 48px;
  overflow: hidden; pointer-events: none;
  opacity: 0.65;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cl-parade--reverse { top: auto; bottom: 24px; }
.cl-parade__track {
  display: flex; align-items: center;
  gap: 36px; width: max-content;
  animation: cl-parade-march 30s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  white-space: nowrap;
}
.cl-parade--reverse .cl-parade__track { animation-direction: reverse; }
.cl-parade__item {
  display: inline-block; line-height: 1;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4); paint-order: stroke fill;
  animation: cl-parade-bounce 1.6s ease-in-out infinite;
}
.cl-parade__item:nth-child(2n)  { animation-delay: 0.2s; }
.cl-parade__item:nth-child(3n)  { animation-delay: 0.4s; }
.cl-parade__item:nth-child(4n)  { animation-delay: 0.6s; }
.cl-parade__item:nth-child(5n)  { animation-delay: 0.8s; }

/* ===== HUSTLE ===== */
.cl-hustle {
  padding: 120px 64px;
  background: var(--cl-navy);
  position: relative; overflow: hidden;
}
.cl-hustle::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(74, 120, 196, 0.06) 40px, rgba(74, 120, 196, 0.06) 42px
  );
}
.cl-hustle__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.cl-hustle__giant {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(90px, 14vw, 220px);
  letter-spacing: -2px; line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--cl-yellow);
  transition: -webkit-text-stroke 0.3s, color 0.3s;
  cursor: default;
  animation: cl-hustle-pace 9s ease-in-out infinite;
}
.cl-hustle__giant:hover {
  -webkit-text-stroke: 2px var(--cl-orange);
  color: rgba(255, 192, 0, 0.12);
}
.cl-hustle__quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 62px);
  letter-spacing: 2px; color: var(--cl-cream);
  line-height: 1.04; margin: 0 0 24px;
}
.cl-hustle__quote em { color: var(--cl-yellow); font-style: normal; }
.cl-hustle__body {
  font-size: 16px;
  color: rgba(255, 253, 245, 0.6);
  line-height: 1.76;
  max-width: 460px;
  margin: 0 0 32px;
}
.cl-hustle__tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--cl-yellow);
  border: 2px solid var(--cl-yellow);
  padding: 8px 20px;
}

/* ===== CTA BAND ===== */
.cl-cta-band {
  background: var(--cl-blue);
  padding: 100px 64px;
  position: relative; overflow: hidden;
}
.cl-cta-band::before {
  content: 'GOLDSMITH'; position: absolute;
  bottom: -30px; right: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px; letter-spacing: 2px;
  color: rgba(255, 253, 245, 0.06);
  pointer-events: none; white-space: nowrap; line-height: 1;
}
.cl-cta-band__star {
  position: absolute; pointer-events: none;
  font-size: 30px;
  animation: cl-float 3.5s ease-in-out infinite, cl-twinkle 3s ease-in-out infinite;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}
.cl-cta-band__inner { position: relative; z-index: 1; max-width: 720px; }
.cl-cta-band__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  letter-spacing: 2px;
  color: var(--cl-cream);
  line-height: 0.9; margin: 0 0 22px;
}
.cl-cta-band__body {
  font-size: 17px;
  color: rgba(255, 253, 245, 0.78);
  max-width: 480px; line-height: 1.7;
  margin: 0 0 48px;
}

/* ===== FOOTER ===== */
.cl-footer {
  background: var(--cl-ink);
  padding: 30px 64px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 4px solid var(--cl-yellow);
}
.cl-footer__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px;
  color: rgba(255, 253, 245, 0.55);
  text-decoration: none;
}
.cl-footer__logo span { color: var(--cl-yellow); }
.cl-footer p {
  font-size: 13px;
  color: rgba(255, 253, 245, 0.4);
  letter-spacing: 1px;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body.cartoon-landing .cl-nav { padding: 0 24px; }
  body.cartoon-landing .cl-hero { padding: 120px 28px 64px; }
  .cl-team, .cl-grid, .cl-history, .cl-hustle, .cl-cta-band { padding: 72px 28px; }
  .cl-footer { padding: 24px 28px; flex-direction: column; gap: 8px; text-align: center; }
  .cl-grid__cards { grid-template-columns: 1fr; }
  .cl-grid__cards .cl-card--wide { grid-column: span 1; }
  .cl-history__grid { grid-template-columns: 1fr; }
  .cl-hustle__inner { grid-template-columns: 1fr; gap: 40px; }
  .cl-hustle__giant { font-size: 90px; }
  .cl-team__row { gap: 20px; }
  .cl-character__svg { width: 78px; }
  body.cartoon-landing #login-dropdown { width: 92vw; right: 4vw; }
}

/* Reduced motion respect — kill animations for users who ask */
@media (prefers-reduced-motion: reduce) {
  body.cartoon-landing *,
  body.cartoon-landing *::before,
  body.cartoon-landing *::after {
    animation: none !important;
    transition: none !important;
  }
}
