/* =====================================================================
   Signature home (v2): hero, Florida scene, quiz, route, Florida 101
   ===================================================================== */
:root {
  --sun: #6b9bdb;
  --sun-2: #c9daf3;
  --sun-grad: linear-gradient(100deg, #ffffff, #c9daf3 38%, #6b9bdb 100%);
  --font-hand: "Caveat", "Segoe Print", cursive;
}
.eyebrow--sun { color: var(--sun); }
.btn--sun { background: var(--sun-grad); color: #16213f; box-shadow: 0 12px 26px -10px rgba(107, 155, 219, .8); }
.btn--sun:hover { filter: brightness(1.05); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.section__head--light p:last-child { color: #b9c5de; }
.section__head--light h2 em { color: var(--sun-2); }
.quiz-section h2 em, .scene h2 em { color: var(--sun); }

/* ---------- Hero ---------- */
.hero2 {
  position: relative; overflow: hidden; color: #c9d3e8;
  background: radial-gradient(1200px 600px at 75% -10%, #2d4377, transparent 60%), var(--navy-900);
}
.hero2__glow {
  position: absolute; width: 760px; height: 760px; right: -160px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 155, 219, .38), rgba(201, 218, 243, .12) 45%, transparent 70%);
  filter: blur(10px); animation: glow 9s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.08) translate(-20px, 10px); opacity: .85; } }
.hero2__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 70px); align-items: center;
  padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(80px, 9vw, 120px);
}
.hero2__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-2);
}
.hero2__kicker::before { content: ""; width: 34px; height: 2px; background: var(--sun-grad); border-radius: 2px; }
.hero2__title {
  position: relative; color: var(--white); margin-bottom: 26px;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -.025em;
}
.hero2__line { display: block; }
.hero2__rotator { display: block; min-height: 1.1em; padding-bottom: .08em; color: var(--sun); }
.hero2__rotator .rotator__word {
  background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 500;
}
.hero2__rotator .rotator__word::after { display: none; }
.hero2__swoosh { position: absolute; left: 0; bottom: -30px; width: min(62%, 380px); height: 34px; overflow: visible; }
.hero2__swoosh path {
  fill: none; stroke: var(--blue-400); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 460; stroke-dashoffset: 460; animation: draw 1.6s .5s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero2__lead { font-size: 1.14rem; max-width: 34em; color: #c3cee6; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero2__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero2__chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(201, 218, 243, .18); background: rgba(255, 255, 255, .05);
  font-size: .88rem; font-weight: 600; color: #e3e9f6; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.hero2__chips svg { width: 18px; height: 18px; color: var(--sun-2); }
.hero2__chips a:hover { background: rgba(255, 255, 255, .12); border-color: var(--sun); transform: translateY(-2px); }

.hero2__visual { position: relative; justify-self: center; width: min(100%, 420px); --mx: 0; --my: 0; }
.hero2__sunring {
  position: absolute; inset: -14px; border-radius: 260px 260px 40px 40px;
  border: 3px solid transparent;
  background: conic-gradient(from var(--angle, 0deg), #c9daf3, #6b9bdb, #4f86d6, #6b9bdb, #c9daf3) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 8s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ring { to { --angle: 360deg; } }
.hero2__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 32px 32px; overflow: hidden;
  background: linear-gradient(180deg, #f3e1cf, #e9cdb5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -8px)); transition: transform .3s ease-out;
}
.hero2__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero2__note {
  position: absolute; top: -78px; left: -4%; margin: 0; white-space: nowrap; z-index: 2;
  font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--sun-2); transform: rotate(-8deg);
  translate: calc(var(--mx) * 14px) calc(var(--my) * 10px); transition: translate .3s ease-out;
}
.hero2__note svg { display: block; width: 70px; height: 52px; margin: 2px 0 0 60%; fill: none; stroke: var(--sun-2); stroke-width: 3; stroke-linecap: round; }
.hero2__badge {
  position: absolute; left: -46px; bottom: 54px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center;
}
.hero2__badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rotate 16s linear infinite; }
.hero2__badge text { font: 800 15px var(--font-body); fill: var(--navy-700); }
.hero2__badge-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-grad); color: #16213f; }
.hero2__badge-icon svg { width: 24px; height: 24px; }
@keyframes rotate { to { transform: rotate(360deg); } }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink); font-size: .84rem; font-weight: 700; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  translate: calc(var(--mx) * 20px) calc(var(--my) * 14px); transition: translate .3s ease-out;
}
.sticker svg { width: 18px; height: 18px; color: var(--navy-700); }
.sticker--google { top: 30%; right: -16%; flex-direction: column; align-items: flex-start; gap: 2px; }
.sticker__stars { display: flex; gap: 2px; }
.sticker__stars svg { width: 14px; height: 14px; color: var(--gold); }
.sticker--license { bottom: 14%; right: -12%; animation-delay: -3s; background: var(--sun-grad); color: #16213f; }
.sticker--license svg { color: #16213f; }
.hero2__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8e9bb8;
}
.hero2__scroll span { width: 22px; height: 34px; border: 2px solid #5a6890; border-radius: 12px; position: relative; }
.hero2__scroll span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sun); animation: wheel 1.8s infinite; }
@keyframes wheel { 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.page-home .marquee { margin-top: 0; }

/* ---------- Expanding insurance panels ---------- */
.scene { background: linear-gradient(180deg, var(--white), var(--sand-50)); }
.panels { display: flex; gap: 12px; height: 500px; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; outline: none;
  border-radius: var(--radius-lg); color: #c9d3e8;
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow);
  transition: flex-grow .7s cubic-bezier(.65, 0, .25, 1), box-shadow .3s;
}
.panel:focus-visible { box-shadow: 0 0 0 3px var(--blue-400), var(--shadow); }
.panel.is-open { flex-grow: 5; cursor: default; }
.panel::before {
  content: ""; position: absolute; inset: 0; opacity: .9; transition: opacity .6s;
  background: radial-gradient(420px 320px at 100% 0%, rgba(107, 155, 219, .45), transparent 70%);
}
.panel--commercial::before { background: radial-gradient(420px 320px at 100% 0%, rgba(107, 155, 219, .5), transparent 70%); }
.panel--business::before { background: radial-gradient(420px 320px at 100% 0%, rgba(201, 218, 243, .45), transparent 70%); }
.panel--health::before { background: radial-gradient(420px 320px at 100% 0%, rgba(79, 134, 214, .45), transparent 70%); }
.panel--life::before { background: radial-gradient(420px 320px at 100% 0%, rgba(201, 218, 243, .4), transparent 70%); }
.panel:not(.is-open):hover::before { opacity: 1; }
.panel__bg-icon {
  position: absolute; right: -40px; bottom: -50px; width: 260px; height: 260px; color: rgba(255, 255, 255, .05);
  transition: transform .8s var(--ease), color .6s;
}
.panel__bg-icon svg { width: 100%; height: 100%; }
.panel.is-open .panel__bg-icon { transform: rotate(-12deg) scale(1.1); color: rgba(255, 255, 255, .07); }
.panel__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255, 255, 255, .08); color: var(--sun-2); border: 1px solid rgba(255, 255, 255, .12);
}
.panel__icon svg { width: 28px; height: 28px; }
.panel__closed {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 0; transition: opacity .35s;
}
.panel__vertical {
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--white); letter-spacing: .01em;
}
.panel.is-open .panel__closed { opacity: 0; pointer-events: none; }
.panel__open {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: clamp(26px, 3vw, 40px); width: min(100%, 560px);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.panel.is-open .panel__open { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s .3s, transform .6s .3s var(--ease); }
.panel__open .panel__icon { margin-bottom: auto; background: var(--sun-grad); color: #16213f; border: 0; }
.panel__tag { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--sun-2); }
.panel__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--white); }
.panel__text { color: #c3cee6; font-size: .98rem; max-width: 34em; margin-bottom: 8px; }
.panel__covers { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.panel__covers li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 600; color: #e6ecf8;
}
.panel__covers svg { width: 14px; height: 14px; color: var(--sun-2); fill: currentColor; }
.panel__open .btn { align-self: flex-start; }
.panel.is-open .panel__covers li { animation: spring-in .6s cubic-bezier(.34, 1.56, .5, 1) both; }
.panel.is-open .panel__covers li:nth-child(2) { animation-delay: .45s; }
.panel.is-open .panel__covers li:nth-child(1) { animation-delay: .4s; }
.panel.is-open .panel__covers li:nth-child(3) { animation-delay: .5s; }
.panel.is-open .panel__covers li:nth-child(4) { animation-delay: .55s; }

/* ---------- Quiz ---------- */
.quiz-section { background: var(--sand-100); position: relative; overflow: hidden; }
.quiz-section::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 155, 219, .25), transparent 70%);
}
.quiz-section__inner { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quiz-section__intro p:last-child { font-size: 1.08rem; }
.quiz { position: relative; min-height: 340px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.quiz__progress { height: 6px; border-radius: 99px; background: var(--blue-100); overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--sun-grad); border-radius: inherit; transition: width .5s var(--ease); }
.quiz__q { display: none; }
.quiz__q.is-active { display: block; animation: panel-in .45s var(--ease); }
.quiz__num { font-weight: 700; font-size: .82rem; color: var(--sun); margin-bottom: 6px; }
.quiz__q h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 22px; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt {
  text-align: left; padding: 16px 20px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white);
  font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease), padding-left .2s var(--ease);
}
.quiz__opt:hover { border-color: var(--sun); background: #f5f8fd; padding-left: 26px; }
.quiz__opt.is-picked { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); transform: scale(.98); }
.quiz__result h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.quiz__recs { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.quiz__rec {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line);
  animation: card-in .5s var(--ease) both;
}
.quiz__rec-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--navy-700); }
.quiz__rec-icon svg { width: 24px; height: 24px; }
.quiz__rec strong { display: block; color: var(--ink); }
.quiz__rec span { font-size: .88rem; color: var(--muted); }
.quiz__rec a { font-weight: 700; color: var(--sun); white-space: nowrap; font-size: .9rem; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Route (new to Florida) ---------- */
.route {
  background:
    radial-gradient(800px 400px at 100% 100%, rgba(107, 155, 219, .28), transparent 70%),
    radial-gradient(700px 400px at 0% 0%, rgba(107, 155, 219, .25), transparent 70%),
    var(--navy-800);
  color: #c9d3e8;
}
.route__list { --progress: 0; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.route__list::before, .route__list::after { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 3px; border-radius: 3px; }
.route__list::before { background: rgba(201, 218, 243, .15); }
.route__list::after { background: var(--sun-grad); transform-origin: left; transform: scaleX(var(--progress)); transition: transform 1.8s var(--ease); }
.route__step { position: relative; z-index: 1; text-align: center; }
.route__dot {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  background: var(--navy-700); color: #8e9bb8; border: 2px solid rgba(201, 218, 243, .25);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.route__step.is-on .route__dot { background: var(--sun-grad); color: #16213f; border-color: transparent; transform: scale(1.1); }
.route__step h3 { color: var(--white); font-size: 1.1rem; }
.route__step p { color: #b3bfd8; font-size: .94rem; margin: 0; }

/* ---------- Florida 101 flip cards ---------- */
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flip { border: 0; padding: 0; background: none; cursor: pointer; perspective: 1000px; height: 260px; font: inherit; text-align: left; }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip__front { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #c9d3e8; justify-content: flex-end; box-shadow: var(--shadow); }
.flip__front::before { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 155, 219, .45), transparent 70%); }
.flip__big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flip__label { font-weight: 700; color: var(--white); margin-top: 8px; }
.flip__hint { margin-top: 18px; font-size: .78rem; color: #8e9bb8; }
.flip__back { transform: rotateY(180deg); background: var(--white); border: 1.5px solid var(--sun); color: var(--text); box-shadow: var(--shadow); }
.flip__back .flip__label { color: var(--sun); margin: 0 0 10px; font-family: var(--font-hand); font-size: 1.7rem; line-height: 1; }
.flip__text { font-size: .93rem; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flips { grid-template-columns: repeat(2, 1fr); }
  .sticker--google { right: -6%; }
  .sticker--license { right: -4%; }
}
@media (max-width: 920px) {
  .hero2__inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 110px; }
  .hero2__kicker { justify-content: center; }
  .hero2__swoosh { left: 50%; transform: translateX(-50%); }
  .hero2__lead { margin-left: auto; margin-right: auto; }
  .hero2__actions, .hero2__chips { justify-content: center; }
  .hero2__visual { width: min(78%, 360px); margin-top: 20px; }
  .hero2__note { top: -66px; left: 0; font-size: 1.7rem; }
  .hero2__visual { margin-top: 90px; }
  .quiz-section__inner { grid-template-columns: 1fr; }
  .route__list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .route__list::before, .route__list::after { display: none; }
}
@media (max-width: 640px) {
  .hero2__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero2__actions .btn { flex: 1 1 100%; }
  .hero2__badge { width: 96px; height: 96px; left: -26px; bottom: 30px; }
  .hero2__badge-icon { width: 36px; height: 36px; }
  .sticker { font-size: .74rem; padding: 8px 10px; }
  .hero2__note { display: none; }
  .hero2__visual { margin-top: 24px; }
  .flips { grid-template-columns: 1fr; }
  .flip { height: 210px; }
  .route__list { grid-template-columns: 1fr; }
  .quiz__rec { grid-template-columns: auto 1fr; }
  .quiz__rec a { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__swoosh path { stroke-dashoffset: 0; }
}

/* ---------- Motion pack (clip path, spring, magnification, light dot) ---------- */
/* Clip path: the photo opens like a window from the center */
.hero2__photo { animation: reveal 1.3s .2s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes reveal { from { clip-path: circle(0% at 50% 45%); } to { clip-path: circle(80% at 50% 45%); } }

/* Spring: stickers and badge land with a little overshoot */
.sticker--google { animation: spring-in .9s 1.1s cubic-bezier(.34, 1.7, .5, 1) both, float 6s 2s ease-in-out infinite; }
.sticker--license { animation: spring-in .9s 1.35s cubic-bezier(.34, 1.7, .5, 1) both, float 6s 2.3s ease-in-out infinite; }
.hero2__badge { animation: spring-in .9s 1.6s cubic-bezier(.34, 1.7, .5, 1) both; }
.hero2__note { animation: fade-up .8s 1.9s var(--ease) both; }
@keyframes spring-in { from { opacity: 0; transform: translateY(40px) scale(.6); } }
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } }
.quiz__rec { animation-name: spring-in; animation-duration: .7s; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }

/* Magnification: chips grow near the cursor (JS sets --scale) */
.hero2__chips a { --scale: 1; transform: scale(var(--scale)); transform-origin: center bottom; transition: transform .18s ease-out, background .2s, border-color .2s; }
.hero2__chips a:hover { transform: scale(var(--scale)) translateY(-2px); }

/* Light dot travelling along the route */
.route__runner {
  position: absolute; top: 22px; left: 12%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; z-index: 2;
  background: #fff; box-shadow: 0 0 0 4px rgba(201, 218, 243, .35), 0 0 18px 6px rgba(107, 155, 219, .7);
  opacity: 0;
}
.route__list.is-running .route__runner { animation: run 3.2s 2s ease-in-out infinite; }
@keyframes run {
  0% { left: 12%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 88%; opacity: 0; }
}
@media (max-width: 920px) { .route__runner { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero2__photo { clip-path: none; } }

/* Panels on tablets/phones become a vertical accordion */
@media (max-width: 920px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; min-height: 84px; transition: min-height .6s cubic-bezier(.65, 0, .25, 1); }
  .panel.is-open { min-height: 470px; }
  .panel__closed { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 20px; }
  .panel__vertical { writing-mode: horizontal-tb; transform: none; font-size: 1.3rem; }
  .panel__open { width: 100%; }
}

/* Panels autoplay: progress bar on the open panel */
.panel::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 3;
  background: var(--sun-grad); transform-origin: left; transform: scaleX(0); opacity: 0;
}
.panels.is-auto .panel.is-open::after { opacity: 1; animation: panel-progress var(--autoplay, 5000ms) linear forwards; }
@keyframes panel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Keep the open panel's icon inside the card */
.panel__open { justify-content: flex-end; padding-top: 96px; }
.panel__open .panel__icon { position: absolute; top: 30px; left: clamp(26px, 3vw, 40px); margin: 0; }
@media (min-width: 921px) { .panels { height: 520px; } }
