/* =========================================================
   Talk City Engine v1.19.3 — Premium Homepage Effects Pack
   Dedicated stylesheet for legacy builders / white homepages.
========================================================= */
.tce-home-discovery-view .tce-home-module,
.tce-home-discovery-stack .tce-home-module{box-sizing:border-box}
.tce-home-module,
.tce-home-module *{box-sizing:border-box}

@keyframes tceHomeAmbientShift{
  0%{background-position:0% 50%,100% 0%,0% 100%,0% 0%}
  50%{background-position:18% 58%,85% 12%,8% 88%,100% 100%}
  100%{background-position:0% 50%,100% 0%,0% 100%,0% 0%}
}
@keyframes tceHomeDividerPulse{
  0%,100%{opacity:.72;transform:translate(-50%,-50%) scaleX(.92)}
  50%{opacity:1;transform:translate(-50%,-50%) scaleX(1)}
}
@keyframes tceHomeDividerGlow{
  0%,100%{opacity:.3;transform:translate(-50%,-50%) scale(.95)}
  50%{opacity:.72;transform:translate(-50%,-50%) scale(1.04)}
}
@keyframes tceHomeCardBorderShift{
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
}
@keyframes tceHomeShimmer{
  0%{transform:translateX(-145%) rotate(14deg)}
  100%{transform:translateX(160%) rotate(14deg)}
}

/* Each module owns its dark canvas so the design remains premium when it is
 * inserted into Modesto/Unyson pages that otherwise use a white background. */
.tce-home-module{
  position:relative;
  width:100vw;
  max-width:none;
  margin:0 calc(50% - 50vw) 0;
  padding:42px clamp(24px,4vw,76px);
  overflow:hidden;
  border-top:1px solid rgba(77,150,255,.16);
  border-bottom:1px solid rgba(77,150,255,.16);
  border-left:0;
  border-right:0;
  border-radius:0;
  background:
    radial-gradient(circle at 80% 4%,rgba(124,83,255,.16),transparent 28%),
    radial-gradient(circle at 3% 90%,rgba(35,203,255,.14),transparent 31%),
    radial-gradient(circle at 95% 72%,rgba(255,72,178,.07),transparent 24%),
    linear-gradient(145deg,#111722 0%,#090d14 56%,#06090e 100%);
  background-size:140% 140%,130% 130%,120% 120%,100% 100%;
  color:#fff;
  font-family:inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(51,118,255,.05),
    0 24px 70px rgba(7,10,18,.16),
    0 0 48px rgba(39,121,255,.10);
  animation:tceHomeAmbientShift 18s ease-in-out infinite;
}
.tce-home-module > *{position:relative;z-index:2}
.tce-home-module::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0%,rgba(87,205,255,.06) 16%,rgba(255,92,198,.07) 48%,rgba(73,113,255,.06) 84%,transparent 100%);
  mix-blend-mode:screen;
  opacity:.6;
}
.tce-home-module a{box-shadow:none}

/* Full-bleed breakout: legacy builders can place the shortcode inside a fixed-width
 * content column. These rules intentionally break the module out to the viewport. */
.tce-home-discovery-view .tce-home-module,
.tce-home-discovery-stack .tce-home-module{
  max-width:none!important;
}

/* Create a premium illuminated divider between consecutive homepage sections. */
.tce-home-module + .tce-home-module{margin-top:0}
.tce-home-module + .tce-home-module::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(300px,58vw);
  height:4px;
  transform:translate(-50%,-50%);
  background:linear-gradient(90deg,rgba(34,208,255,0) 0%,rgba(34,208,255,.8) 18%,rgba(255,68,191,1) 50%,rgba(91,115,255,.8) 82%,rgba(91,115,255,0) 100%);
  border-radius:999px;
  box-shadow:0 0 14px rgba(54,194,255,.45),0 0 24px rgba(255,64,185,.30);
  z-index:5;
  pointer-events:none;
  animation:tceHomeDividerPulse 5.2s ease-in-out infinite;
}
.tce-home-module + .tce-home-module .tce-home-module-heading{padding-top:12px}

.tce-home-module-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 25px}
.tce-home-module-heading>div{min-width:0}
.tce-home-module-heading>div>span{display:block;margin:0 0 7px;color:#7fdcff;font-size:11px;font-weight:900;letter-spacing:.17em;text-transform:uppercase;text-shadow:0 0 14px rgba(75,196,255,.24)}
.tce-home-module-heading h2{margin:0!important;color:#fff!important;font-size:clamp(30px,4vw,52px)!important;line-height:1!important;letter-spacing:-.035em!important;text-transform:none!important;text-shadow:0 12px 28px rgba(0,0,0,.24)}
.tce-home-module-heading p{max-width:500px;margin:0;color:#aeb6c5;font-size:15px;line-height:1.55}
.tce-home-module-heading>a{flex:0 0 auto;color:#dfe5ef!important;text-decoration:none!important;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:4px;transition:.2s ease}
.tce-home-module-heading>a:hover,.tce-home-module-heading>a:focus-visible{color:#fff!important;border-color:#54d8ff;outline:none;text-shadow:0 0 18px rgba(84,216,255,.45)}

.tce-home-destination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tce-home-destination-grid .tce-home-destination-card:first-child{grid-column:span 2;grid-row:span 2;min-height:420px}
.tce-home-destination-card{
  --tce-home-card-image:none;
  position:relative;
  isolation:isolate;
  display:flex!important;
  min-height:202px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:22px;
  background-image:var(--tce-home-card-image),radial-gradient(circle at 90% 10%,rgba(255,72,214,.16),transparent 38%),radial-gradient(circle at 10% 90%,rgba(54,199,255,.16),transparent 42%),linear-gradient(145deg,#141925,#090c12)!important;
  background-size:cover!important;
  background-position:center!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 18px 50px rgba(0,0,0,.26),0 0 0 1px rgba(90,145,255,.06),0 0 26px rgba(46,106,255,.12)!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,filter .25s ease
}
.tce-home-destination-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(78,216,255,.95),rgba(255,83,184,.85) 45%,rgba(98,117,255,.95));
  background-size:180% 180%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.42;
  pointer-events:none;
  animation:tceHomeCardBorderShift 8.4s linear infinite alternate;
}
.tce-home-destination-card::after{
  content:"";
  position:absolute;
  left:-12%;
  top:-30%;
  width:42%;
  height:180%;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.10) 45%,transparent 100%);
  transform:translateX(-145%) rotate(12deg);
  opacity:0;
  pointer-events:none;
}
.tce-home-destination-card:hover,.tce-home-destination-card:focus-visible{transform:translateY(-4px);border-color:rgba(86,206,255,.68)!important;box-shadow:0 28px 72px rgba(0,0,0,.36),0 0 0 1px rgba(86,206,255,.15),0 0 34px rgba(86,206,255,.18),0 0 42px rgba(255,77,193,.10)!important;filter:saturate(1.04);outline:none}
.tce-home-destination-card:hover::before,.tce-home-destination-card:focus-visible::before{opacity:.92}
.tce-home-destination-card:hover::after,.tce-home-destination-card:focus-visible::after{opacity:1;animation:tceHomeShimmer 1.4s ease forwards}
.tce-home-card-overlay{position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(4,7,12,.96) 0%,rgba(4,7,12,.68) 54%,rgba(4,7,12,.16) 100%),linear-gradient(90deg,rgba(4,7,12,.58),transparent)}
.tce-home-destination-card:not(.has-image) .tce-home-card-overlay{background:linear-gradient(145deg,rgba(12,16,25,.34),rgba(7,9,14,.58))}
.tce-home-card-content{display:flex;flex-direction:column;justify-content:flex-end;width:100%;padding:24px;min-width:0}
.tce-home-card-label{display:block;margin-bottom:7px;color:#8edfff;font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;text-shadow:0 0 12px rgba(73,196,255,.26)}
.tce-home-card-content strong{display:block;color:#fff!important;font-size:clamp(22px,2.1vw,31px);line-height:1.02;letter-spacing:-.025em;text-shadow:0 14px 26px rgba(0,0,0,.22)}
.tce-home-card-copy{display:block;max-width:430px;margin-top:8px;color:#c0c7d2;font-size:13px;line-height:1.45}
.tce-home-card-arrow{position:absolute;right:20px;top:18px;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(6,9,15,.54);color:#fff;font-size:18px;box-shadow:0 0 18px rgba(34,208,255,.08);transition:.2s ease}
.tce-home-destination-card:hover .tce-home-card-arrow{border-color:#56d4ff;transform:translateX(2px);box-shadow:0 0 18px rgba(86,212,255,.24)}

.tce-home-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tce-home-event-grid .tce-event-card{
  position:relative;
  isolation:isolate;
  margin:0;
  background:linear-gradient(155deg,rgba(19,23,32,.98),rgba(10,12,18,.99));
  border:1px solid rgba(124,201,255,.14);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 48px rgba(0,0,0,.26),0 0 0 1px rgba(83,144,255,.05),0 0 28px rgba(53,116,255,.12);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,filter .25s ease;
}
.tce-home-event-grid .tce-event-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(74,223,255,.85),rgba(255,79,181,.8) 50%,rgba(92,117,255,.9));
  background-size:220% 220%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.48;
  pointer-events:none;
  animation:tceHomeCardBorderShift 10s linear infinite alternate;
}
.tce-home-event-grid .tce-event-card::after{
  content:"";
  position:absolute;
  left:-12%;
  top:-35%;
  width:44%;
  height:180%;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.13) 48%,transparent 100%);
  transform:translateX(-145%) rotate(14deg);
  opacity:0;
  pointer-events:none;
}
.tce-home-event-grid .tce-event-card:hover,
.tce-home-event-grid .tce-event-card:focus-within{
  transform:translateY(-5px);
  border-color:rgba(112,226,255,.72);
  box-shadow:0 28px 64px rgba(0,0,0,.34),0 0 0 1px rgba(112,226,255,.15),0 0 34px rgba(69,141,255,.18),0 0 52px rgba(255,84,182,.08);
  filter:saturate(1.03);
}
.tce-home-event-grid .tce-event-card:hover::before,
.tce-home-event-grid .tce-event-card:focus-within::before{opacity:.95}
.tce-home-event-grid .tce-event-card:hover::after,
.tce-home-event-grid .tce-event-card:focus-within::after{opacity:1;animation:tceHomeShimmer 1.45s ease forwards}
.tce-home-event-grid .tce-card-media{aspect-ratio:4/3}
.tce-home-event-grid .tce-card-body h3,
.tce-home-event-grid .tce-card-body h3 a{color:#fff!important;text-decoration:none!important}
.tce-home-event-grid .tce-card-meta{color:#919aaa}
.tce-home-event-grid .tce-text-link{display:inline-flex;margin-top:auto;text-shadow:0 0 10px rgba(86,212,255,.16)}

/* Plan More already had a dark shell in v1.19.0; on the standalone stylesheet
 * it becomes a subtle variation rather than a second nested panel. */
.tce-home-plan{background:radial-gradient(circle at 100% 0%,rgba(255,72,214,.14),transparent 35%),radial-gradient(circle at 0% 100%,rgba(54,199,255,.13),transparent 36%),linear-gradient(145deg,#111722,#090d14)}
.tce-home-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.tce-home-plan-grid .tce-home-destination-card{min-height:235px}
.tce-home-weekend{position:relative}
.tce-home-weekend:before{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(120deg,rgba(43,194,255,.035),rgba(255,65,205,.035));pointer-events:none}
.tce-home-weekend>*{position:relative;z-index:1}
.tce-home-editor-placeholder{padding:18px;border:1px dashed #8c8f94;background:#f6f7f7;color:#2c3338}

@media(max-width:1020px){
  .tce-home-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tce-home-destination-grid .tce-home-destination-card:first-child{grid-column:span 2;grid-row:auto;min-height:320px}
  .tce-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tce-home-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .tce-home-module{width:100vw;max-width:none;margin:0 calc(50% - 50vw) 0;padding:24px 14px;border-radius:0}
  .tce-home-module + .tce-home-module::before{width:min(220px,62vw)}
  .tce-home-module-heading{display:block;margin-bottom:20px;padding:0 7px}
  .tce-home-module-heading p{margin-top:10px}
  .tce-home-module-heading>a{display:inline-flex;margin-top:13px}
  .tce-home-destination-grid{grid-template-columns:1fr;gap:11px}
  .tce-home-destination-grid .tce-home-destination-card:first-child{grid-column:auto;min-height:250px}
  .tce-home-destination-card{min-height:190px;border-radius:19px}
  .tce-home-card-content{padding:21px}
  .tce-home-card-content strong{font-size:26px}
  .tce-home-event-grid{grid-template-columns:1fr;gap:14px}
  .tce-home-plan-grid{grid-template-columns:1fr}
  .tce-home-plan-grid .tce-home-destination-card{min-height:190px}
}
@media (prefers-reduced-motion:reduce){
  .tce-home-module,
  .tce-home-module::after,
  .tce-home-module + .tce-home-module::before,
  .tce-home-destination-card::before,
  .tce-home-destination-card::after,
  .tce-home-event-grid .tce-event-card::before,
  .tce-home-event-grid .tce-event-card::after{animation:none!important}
  .tce-home-destination-card,
  .tce-home-event-grid .tce-event-card{transition:none!important}
  .tce-home-wave-bar{animation:none!important;transform:scaleY(.72)!important;opacity:.78!important}
}


/* v1.19.4 Hero Motion + Promoter FOMO Strip */
.tce-home-hero{
  min-height:360px;
  padding-top:34px;
  padding-bottom:34px;
  background:
    radial-gradient(circle at 14% 18%,rgba(26,190,255,.16),transparent 23%),
    radial-gradient(circle at 82% 16%,rgba(255,72,188,.14),transparent 24%),
    linear-gradient(115deg,rgba(7,10,18,.96) 0%,rgba(7,10,18,.88) 32%,rgba(7,10,18,.54) 58%,rgba(7,10,18,.34) 72%,rgba(7,10,18,.18) 100%),
    url('../img/toronto-skyline-lights.png'),
    linear-gradient(145deg,#111722 0%,#090d14 56%,#06090e 100%);
  background-size:140% 140%,140% 140%,100% 100%,cover,100% 100%;
  background-repeat:no-repeat;
  background-position:0% 50%,100% 0%,0 0,center center,0 0;
  box-shadow:0 0 0 1px rgba(71,126,255,.08),0 24px 70px rgba(7,10,18,.18),0 0 52px rgba(39,121,255,.12),inset 0 -60px 120px rgba(6,9,14,.52);
}
.tce-home-hero::before{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:26%;
  background:linear-gradient(180deg,rgba(6,9,14,0) 0%,rgba(6,9,14,.82) 76%,rgba(6,9,14,.98) 100%);
  pointer-events:none;
  z-index:1;
}
.tce-home-hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:24px;min-height:280px}
.tce-home-hero-copy{max-width:720px}
.tce-home-hero-kicker{display:inline-block;margin:0 0 10px;color:#87deff;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;text-shadow:0 0 16px rgba(78,205,255,.26)}
.tce-home-hero h2{margin:0!important;color:#fff!important;font-size:clamp(38px,5.6vw,76px)!important;line-height:.95!important;letter-spacing:-.045em!important;text-transform:uppercase!important;text-shadow:0 18px 34px rgba(0,0,0,.34)}
.tce-home-hero h2 span{display:block;background:linear-gradient(90deg,#ffba57 0%,#ff5f97 30%,#a96dff 62%,#63bbff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.tce-home-hero p{max-width:560px;margin:18px 0 0;color:#d5deea;font-size:17px;line-height:1.62;text-shadow:0 10px 20px rgba(0,0,0,.24)}
.tce-home-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.tce-home-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;border:1px solid rgba(112,205,255,.34);background:rgba(11,15,24,.58);color:#eef3ff!important;text-decoration:none!important;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 0 20px rgba(40,116,255,.10);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.tce-home-hero-btn:hover,.tce-home-hero-btn:focus-visible{transform:translateY(-2px);border-color:#63d4ff;box-shadow:0 0 28px rgba(72,208,255,.24),0 0 26px rgba(255,73,181,.10);outline:none}
.tce-home-hero-btn-primary{background:linear-gradient(90deg,rgba(255,132,60,.12),rgba(255,73,181,.12)),rgba(10,14,22,.75);border-color:rgba(255,94,176,.48);box-shadow:0 0 22px rgba(255,73,181,.16),0 0 18px rgba(88,109,255,.12)}
.tce-home-hero-visual{display:flex;align-items:flex-end;justify-content:flex-end;min-height:200px}
.tce-home-hero-pill-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;max-width:520px}
.tce-home-hero-pill-row a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(8,12,19,.6);border:1px solid rgba(255,255,255,.12);color:#d9e2ef!important;text-decoration:none!important;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;box-shadow:0 0 18px rgba(75,205,255,.08);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.tce-home-hero-pill-row a:hover,.tce-home-hero-pill-row a:focus-visible{transform:translateY(-2px);border-color:rgba(99,212,255,.82);background:rgba(12,18,29,.78);color:#fff!important;box-shadow:0 0 22px rgba(99,212,255,.22),0 0 20px rgba(255,79,184,.10);outline:none}

.tce-home-promote{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(180px,.9fr) auto;
  align-items:center;
  gap:18px;
  padding-top:26px;
  padding-bottom:26px;
  background:
    radial-gradient(circle at 12% 50%,rgba(255,91,183,.12),transparent 22%),
    radial-gradient(circle at 88% 50%,rgba(70,201,255,.12),transparent 24%),
    linear-gradient(145deg,#141925 0%,#0b1018 100%);
}
.tce-home-promote-copy span{display:block;margin-bottom:8px;color:#87deff;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.tce-home-promote-copy h2{margin:0!important;color:#fff!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.04!important;letter-spacing:-.03em!important}
.tce-home-promote-copy p{margin:10px 0 0;color:#c4cedb;font-size:15px;line-height:1.56}
@keyframes tceHomeWavePulse{
  0%,100%{transform:scaleY(.26);opacity:.46;filter:brightness(.85)}
  45%{transform:scaleY(1);opacity:1;filter:brightness(1.25)}
  70%{transform:scaleY(.58);opacity:.74;filter:brightness(1)}
}
.tce-home-promote-visual{position:relative;height:72px;border-radius:999px;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:4px;padding:8px 24px;background:radial-gradient(circle at 50% 50%,rgba(255,70,187,.08),transparent 58%),linear-gradient(90deg,rgba(17,23,35,.10),rgba(17,23,35,.28),rgba(17,23,35,.10));border:1px solid rgba(255,255,255,.09);box-shadow:inset 0 0 28px rgba(49,119,255,.08),0 0 24px rgba(255,72,185,.06)}
.tce-home-promote-visual::before{content:"";position:absolute;left:5%;right:5%;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(104,213,255,.30),rgba(255,76,188,.36),rgba(255,169,77,.28),transparent);box-shadow:0 0 10px rgba(103,207,255,.16);pointer-events:none}
.tce-home-wave-bar{position:relative;z-index:1;display:block;flex:1 1 0;max-width:7px;min-width:3px;height:var(--h);border-radius:999px;transform-origin:center;background:linear-gradient(180deg,#69d9ff 0%,#8d7dff 36%,#ff54b8 68%,#ffad5f 100%);box-shadow:0 0 7px rgba(91,210,255,.38),0 0 10px rgba(255,75,181,.20);animation:tceHomeWavePulse var(--d) ease-in-out infinite;animation-delay:calc(var(--i) * -0.047s)}
.tce-home-wave-bar:nth-child(3n+2){background:linear-gradient(180deg,#7adfff 0%,#b868ff 48%,#ff59b5 100%)}
.tce-home-wave-bar:nth-child(3n){background:linear-gradient(180deg,#6fbcff 0%,#ff66c5 54%,#ffb45d 100%)}
.tce-home-promote-actions{display:flex;justify-content:flex-end}
.tce-home-promote-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:999px;border:1px solid rgba(255,95,182,.55);background:linear-gradient(90deg,rgba(8,12,20,.86),rgba(16,21,31,.8));color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 0 24px rgba(255,85,182,.18),0 0 20px rgba(92,122,255,.12);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.tce-home-promote-btn:hover,.tce-home-promote-btn:focus-visible{transform:translateY(-2px);border-color:#64d5ff;box-shadow:0 0 28px rgba(100,213,255,.24),0 0 24px rgba(255,85,182,.18);outline:none}

@media(max-width:960px){
  .tce-home-hero-layout{grid-template-columns:1fr;gap:16px}
  .tce-home-hero-visual{justify-content:flex-start;min-height:auto}
  .tce-home-promote{grid-template-columns:1fr;gap:14px}
  .tce-home-promote-actions{justify-content:flex-start}
}
@media(max-width:700px){
  .tce-home-hero{min-height:0;padding-top:24px;padding-bottom:24px;background-position:0% 50%,100% 0%,0 0,70% center,0 0}
  .tce-home-hero h2{font-size:clamp(34px,11vw,50px)!important}
  .tce-home-hero p{font-size:15px}
  .tce-home-hero-btn{min-height:42px;padding:0 15px}
  .tce-home-hero-pill-row{justify-content:flex-start}
  .tce-home-promote-copy h2{font-size:30px!important}
  .tce-home-promote-visual{height:48px}
}


/* =========================================================
   v1.19.6 — Mobile Motion + Newsletter FOMO
========================================================= */
@keyframes tceHeroLightDrift{
  0%{background-position:43% 50%;filter:saturate(1.02) brightness(.96)}
  50%{background-position:55% 48%;filter:saturate(1.10) brightness(1.04)}
  100%{background-position:47% 52%;filter:saturate(1.04) brightness(.99)}
}
@keyframes tceNewsletterFlow{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@keyframes tceNewsletterAura{
  0%,100%{opacity:.48;transform:translate3d(-8%,0,0) scale(.96)}
  50%{opacity:.88;transform:translate3d(8%,0,0) scale(1.04)}
}

/* A second skyline layer creates GPU-friendly parallax that remains visible on
 * phones without requiring a heavyweight video background. */
.tce-home-hero::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:-4%;
  pointer-events:none;
  background:url('../img/toronto-skyline-lights.png') center center / cover no-repeat;
  opacity:var(--tce-hero-glow,.58);
  mix-blend-mode:screen;
  transform:translate3d(var(--tce-hero-shift,0%),var(--tce-hero-lift,0%),0) scale(1.055);
  transform-origin:center;
  will-change:transform,opacity,background-position;
  animation:tceHeroLightDrift 13s ease-in-out infinite alternate;
  transition:transform .12s linear,opacity .18s linear;
}
.tce-home-hero::before{z-index:1}
.tce-home-hero-layout{z-index:2}

/* Mobile browsers get a more obvious light drift while keeping the actual
 * hero image static underneath, minimizing layout and paint cost. */
@media(max-width:700px){
  .tce-home-hero::after{
    inset:-7% -18%;
    opacity:var(--tce-hero-glow,.62);
    background-size:auto 108%;
    background-position:58% center;
    animation-duration:9s;
  }
  .tce-home-promote-visual{height:62px;gap:3px;padding:7px 14px}
  .tce-home-wave-bar{min-width:2px;max-width:5px;box-shadow:0 0 6px rgba(91,210,255,.45),0 0 9px rgba(255,75,181,.22)}
}

.tce-home-newsletter{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr) auto;
  align-items:center;
  gap:22px;
  padding-top:30px;
  padding-bottom:30px;
  background:
    radial-gradient(circle at 10% 50%,rgba(64,207,255,.15),transparent 24%),
    radial-gradient(circle at 88% 42%,rgba(255,72,185,.16),transparent 26%),
    linear-gradient(135deg,#0e1724 0%,#0a0e17 52%,#120a18 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),inset 0 -1px 0 rgba(255,255,255,.04),0 0 44px rgba(41,122,255,.10);
}
.tce-home-newsletter-copy span{display:block;margin-bottom:7px;color:#82dfff;font-size:11px;font-weight:900;letter-spacing:.17em;text-transform:uppercase;text-shadow:0 0 14px rgba(76,204,255,.28)}
.tce-home-newsletter-copy h2{margin:0!important;color:#fff!important;font-size:clamp(27px,3.1vw,42px)!important;line-height:1.03!important;letter-spacing:-.035em!important;text-transform:none!important}
.tce-home-newsletter-copy p{max-width:720px;margin:10px 0 0;color:#c7d0de;font-size:15px;line-height:1.55}
.tce-home-newsletter-motion{position:relative;overflow:hidden;min-height:58px;border:1px solid rgba(111,206,255,.13);border-radius:999px;background:rgba(5,9,16,.42);box-shadow:inset 0 0 24px rgba(64,139,255,.08),0 0 24px rgba(255,74,184,.06)}
.tce-home-newsletter-motion::before{content:"";position:absolute;inset:-70% -12%;background:radial-gradient(ellipse at center,rgba(94,218,255,.15),rgba(255,73,185,.13) 42%,transparent 68%);animation:tceNewsletterAura 6s ease-in-out infinite;pointer-events:none}
.tce-home-newsletter-track{position:absolute;left:0;top:0;height:100%;width:max-content;display:flex;align-items:center;gap:16px;padding-right:16px;white-space:nowrap;will-change:transform}
.tce-home-newsletter-track.is-moving{animation:tceNewsletterFlow 16s linear infinite}
.tce-home-newsletter-track span{font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:#e6edf8;text-shadow:0 0 12px rgba(91,205,255,.18)}
.tce-home-newsletter-track b{font-size:15px;color:#ff5ab9;text-shadow:0 0 12px rgba(255,73,184,.38)}
.tce-home-newsletter-actions{display:flex;justify-content:flex-end}
.tce-home-newsletter-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:999px;border:1px solid rgba(91,211,255,.58);background:linear-gradient(90deg,rgba(46,191,255,.12),rgba(176,83,255,.12),rgba(255,80,184,.13)),rgba(8,12,20,.78);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;letter-spacing:.085em;text-transform:uppercase;box-shadow:0 0 24px rgba(77,203,255,.16),0 0 24px rgba(255,77,183,.12);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.tce-home-newsletter-btn:hover,.tce-home-newsletter-btn:focus-visible{transform:translateY(-2px);border-color:#ff68bf;box-shadow:0 0 30px rgba(88,211,255,.22),0 0 28px rgba(255,81,185,.20);outline:none}

@media(max-width:960px){
  .tce-home-newsletter{grid-template-columns:1fr;gap:15px}
  .tce-home-newsletter-motion{min-height:52px}
  .tce-home-newsletter-actions{justify-content:flex-start}
}
@media(max-width:700px){
  .tce-home-newsletter{padding-top:25px;padding-bottom:25px}
  .tce-home-newsletter-copy h2{font-size:31px!important}
  .tce-home-newsletter-copy p{font-size:14px}
  .tce-home-newsletter-motion{min-height:48px}
  .tce-home-newsletter-track{gap:13px}
  .tce-home-newsletter-track.is-moving{animation-duration:12s}
}

/* Preserve the visitor's accessibility preference. When Reduce Motion is
 * enabled at OS/browser level, Talk City intentionally shows a premium static state. */
@media(prefers-reduced-motion:reduce){
  .tce-home-hero::after,
  .tce-home-newsletter-motion::before,
  .tce-home-newsletter-track.is-moving{animation:none!important}
  .tce-home-hero::after{transform:none!important;opacity:.34!important}
  .tce-home-newsletter-track{position:relative;overflow:hidden;transform:none!important;padding:0 18px;flex-wrap:wrap;justify-content:center}
}
