/* Tennessee mobile corrections (from the Oregon page); shared state and desktop rules stay intact. */
@media (max-width: 576px) {
  .state-v2--tennessee .container-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .state-v2--tennessee .state-why-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .state-v2--tennessee .state-consult-copy > .tagline {
    font-size: 10px;
    line-height: 10px;
    padding: 8px 10px;
  }

  .state-v2--tennessee .state-consult-copy {
    align-items: flex-start;
    text-align: left;
  }

  .state-v2--tennessee .state-consult-heading {
    text-align: left;
    font-size: 32px;
    line-height: 1.25;
  }

  .state-v2--tennessee .state-consult-heading br {
    display: none;
  }

  .state-v2--tennessee .state-consult-check {
    justify-content: flex-start;
  }

  .state-v2--tennessee .state-consult-check span {
    font-size: 14px;
    line-height: 28.8px;
  }

  .state-v2--tennessee .state-process-steps {
    gap: 20px;
  }

  .state-v2--tennessee .state-process-step {
    grid-template-columns: minmax(0, 39.5%) minmax(0, 1fr);
    row-gap: 10px;
  }

  .state-v2--tennessee .state-process-step-graphic {
    width: 100%;
    height: auto;
  }

  .state-v2--tennessee .state-process-step-title {
    line-height: 20px;
  }

  .state-v2--tennessee .state-process-step-desc {
    line-height: 25.2px;
  }

  .state-v2--tennessee .state-features-heading {
    font-size: 24px;
    line-height: 35px;
  }

  .state-v2--tennessee .state-features-lead {
    max-width: none;
    font-size: 14px;
    line-height: 25.2px;
  }

  .state-v2--tennessee .state-features-badge {
    width: 40px;
    height: 40px;
  }

  .state-v2--tennessee .state-features-badge img {
    width: 24px;
    height: 24px;
  }

  .state-v2--tennessee .state-features-item p {
    font-size: 14px;
    line-height: 19.6px;
  }

  .state-v2--tennessee .state-features-grid {
    gap: 30px;
  }

  .state-v2--tennessee .state-features-col {
    gap: 30px;
    padding: 0;
  }

  .state-v2--tennessee .state-case {
    container-type: inline-size;
  }

  .state-v2--tennessee .state-case-photo-wrap {
    display: block;
    position: relative;
    padding: 16.75cqw 5.75cqw 19cqw 5.25cqw;
    isolation: isolate;
  }

  .state-v2--tennessee .state-case-photo-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 7.75cqw 0 10cqw;
    border-radius: 10px;
    background: linear-gradient(to top, rgba(39, 55, 117, .6) 29.688%, rgba(252, 93, 97, .6) 99.881%);
  }

  .state-v2--tennessee .state-case-photo-inner {
    position: relative;
    left: auto;
    top: auto;
    min-height: 106.5cqw;
    padding: 5cqw;
  }

  .state-v2--tennessee .state-case-photo-img {
    object-position: center;
  }

  .state-v2--tennessee .state-case-photo-text h3 {
    font-size: 5cqw;
    line-height: 8.46cqw;
  }

  .state-v2--tennessee .state-case-photo-role,
  .state-v2--tennessee .state-case-photo-quote {
    font-size: 3.5cqw;
    line-height: 6.4cqw;
  }

  .state-v2--tennessee .state-case-photo-text {
    gap: 5cqw;
  }

  .state-v2--tennessee .state-case-badge p {
    font-size: 3cqw;
    line-height: 6.25cqw;
  }

  .state-v2--tennessee .state-case-badge {
    position: absolute;
    padding: 1.5cqw 5cqw;
    min-height: 15.5cqw;
  }

  .state-v2--tennessee .state-case-badge--top {
    top: 0;
    left: auto;
    right: 0;
    width: 58.75% !important;
  }

  .state-v2--tennessee .state-case-badge--bottom {
    top: auto;
    bottom: 0;
    left: 0;
    width: 66% !important;
  }

  .state-v2--tennessee .calc6-track {
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding-bottom: 4px;
  }

  .state-v2--tennessee .calc6-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px minmax(0, 1fr);
    gap: 10px;
  }

  .state-v2--tennessee .calc6-nav {
    display: flex;
    width: 38px;
    height: 38px;
  }

  .state-v2--tennessee .calc6-nav--prev {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }

  .state-v2--tennessee .calc6-nav--next {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
  }

  .state-v2--tennessee .calc6-card {
    display: block;
    grid-row: 1;
    flex: 0 0 min(100%, 363.5px);
    width: min(100%, 363.5px);
    width: 100%;
    max-width: 363.5px;
    min-height: 284px;
    padding: 20px 18px 120px;
    border: 0;
    background: none;
  }

  .state-v2--tennessee .calc6-card-border {
    display: block;
    width: 100%;
    height: 100%;
  }

  .state-v2--tennessee .calc6-card-rating {
    width: 188px;
    height: 28px;
    margin-bottom: 20px;
  }

  .state-v2--tennessee .calc6-card-quote {
    font-size: 14px;
    line-height: 24px;
  }

  .state-v2--tennessee .calc6-card-mark {
    position: absolute;
    top: auto;
    right: 29.8%;
    bottom: 98px;
    width: 39px;
    height: 28px;
    opacity: 1;
  }

  .state-v2--tennessee .calc6-card-footer {
    position: absolute;
    left: 10px;
    right: 33%;
    top: auto;
    bottom: 17px;
    align-items: flex-end;
    padding: 0;
    text-align: right;
  }

  .state-v2--tennessee .calc6-card-name {
    font-size: 16px;
    line-height: 24px;
  }

  .state-v2--tennessee .calc6-card-org {
    font-size: 14px;
    line-height: 24px;
  }

  .state-v2--tennessee .calc6-card-photo {
    position: absolute;
    top: auto;
    bottom: -4px;
    right: 5px;
    width: 25.6%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    border: 0;
  }

  .state-v2--tennessee .state-case-top-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .state-v2--tennessee .state-case-top-row .tagline {
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 10px;
    white-space: nowrap;
  }

  .state-v2--tennessee .state-case-link {
    font-size: 14px;
    line-height: 20px;
  }

  .state-v2--tennessee .state-lead-form-submit {
    font-size: 14px;
    white-space: nowrap;
  }

  .state-v2--tennessee .state-lead-form-trust {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 10px 0;
    width: 100%;
  }

  .state-v2--tennessee .state-lead-form-trust-item {
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
  }

  .state-v2--tennessee .state-lead-form-trust-item img {
    flex-shrink: 0;
  }

  .state-v2--tennessee .state-lead-form-trust-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .state-v2--tennessee .state-credentialing-heading {
    font-size: 24px;
    line-height: 35px;
  }

  .state-v2--tennessee .state-credentialing-subhead {
    font-size: 14px;
    line-height: 25.2px;
  }

  .state-v2--tennessee .state-credentialing-table-scroll {
    display: flex;
    flex-direction: column;
    gap: 11.16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .state-v2--tennessee .state-credentialing-graphic {
    display: block;
    flex-shrink: 0;
    width: 930px;
  }

  .state-v2--tennessee .state-credentialing-graphic img {
    display: block;
    width: 930px;
    max-width: none;
  }

  .state-v2--tennessee .state-credentialing-cols {
    display: grid;
    flex-shrink: 0;
    width: 930px;
    grid-template-columns: repeat(5, 171.302px);
    gap: 13.392px;
  }

  .state-v2--tennessee .state-credentialing-col {
    min-width: 0;
    gap: 15px;
  }

  .state-v2--tennessee .state-credentialing-col-title {
    min-height: 45px;
    font-size: 16px;
    line-height: 22.5px;
  }

  .state-v2--tennessee .state-credentialing-list {
    gap: 15px;
  }

  .state-v2--tennessee .state-credentialing-list li {
    gap: 7.5px;
  }

  .state-v2--tennessee .state-credentialing-list img {
    width: 18px;
    height: 18px;
  }

  .state-v2--tennessee .state-credentialing-list span {
    font-size: 14px;
    line-height: 21.9px;
  }
}

@media (min-width: 769px) {
  .state-v2--tennessee .state-case-photo-img {
    object-position: center 10%;
  }
}

.state-v2--tennessee .state-credential-cta-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  flex: 1 1 0;
  min-width: 0;
  gap: clamp(8px, 1.5vw, 20px);
}

.state-v2--tennessee .state-credential-cta-stat {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.state-v2--tennessee .state-credential-cta-stat p {
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-align: center;
}

@media (min-width: 1101px) {
  .state-v2--tennessee .state-credentialing-list li:nth-child(1) {
    min-height: 65.7px;
  }

  .state-v2--tennessee .state-credentialing-list li:nth-child(2) {
    min-height: 87.6px;
  }

  .state-v2--tennessee .state-credential-cta-copy {
    flex: 1 1 36%;
    min-width: 0;
  }

  .state-v2--tennessee .state-credential-cta-action {
    flex: 0 1 230px;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .state-v2--tennessee .state-credential-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 22px;
  }

  .state-v2--tennessee .state-credential-cta-decor {
    display: block;
    left: 31px;
    top: auto;
    bottom: 59px;
    width: 83.1671px;
    height: 117.667px;
    transform: rotate(64.12deg);
    transform-origin: center;
  }

  .state-v2--tennessee .state-credential-cta-copy {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .state-v2--tennessee .state-credential-cta-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    flex: 0 0 100%;
    justify-content: initial;
    gap: clamp(8px, 2vw, 16px);
  }

  .state-v2--tennessee .state-credential-cta-stat {
    width: auto;
    flex: 0 0 auto;
    justify-self: stretch;
  }

  .state-v2--tennessee .state-credential-cta-stat p {
    white-space: normal;
  }

  .state-v2--tennessee .state-credential-cta-action {
    width: 100%;
    flex: 0 0 100%;
    max-width: none;
  }

  .state-v2--tennessee .state-credential-cta-heading {
    font-size: 24px;
    line-height: 30px;
  }
}

/* ============================================================= */
/* 01 HERO + CONSULTATION (Figma 11881:45)                       */
/* ============================================================= */
/* Figma places the Parthenon photo on the right 85.56% of the frame
   (left 14.44%, 108.18% tall, -4.17% top) under the blue-to-clear
   gradient that reaches solid #EFF2FF at 83.025%. */
.state-v2--tennessee .state-consult-bg-overlay {
  background: linear-gradient(to left, rgba(239, 242, 255, 0.1), var(--c-bg-blue) 83.025%);
}

@media (min-width: 1025px) {
  .state-v2--tennessee .state-consult-inner {
    min-height: 641px;
  }

  .state-v2--tennessee .state-consult-bg-img {
    inset: auto;
    top: -4.17%;
    left: 14.44%;
    width: 85.56%;
    height: 108.18%;
  }
}

/* Idle: very slow push-in of the photo once the entrance settle has played. */
@keyframes tn-consult-drift {
  from { scale: 1; }
  to   { scale: 1.04; }
}

.state-v2--tennessee .state-consult-bg-img {
  animation:
    state-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    tn-consult-drift 22s ease-in-out 1.8s infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .state-v2--tennessee .state-consult-bg-img {
    animation: none;
  }
}

/* ============================================================= */
/* 03 WHY LOCAL EXPERTISE MATTERS (Figma 11881:260)              */
/* ============================================================= */
/* Idle: the gradient icon badges float gently, staggered per card. */
@keyframes tn-why-float {
  from { translate: 0 0; }
  to   { translate: 0 -3px; }
}

.state-v2--tennessee .state-why-card-icon,
.state-v2--tennessee .state-why-feature-icon {
  animation: tn-why-float 3.2s ease-in-out infinite alternate;
}

.state-v2--tennessee .state-why-feature:nth-child(2) .state-why-feature-icon { animation-delay: 0.4s; }
.state-v2--tennessee .state-why-feature:nth-child(3) .state-why-feature-icon { animation-delay: 0.8s; }
.state-v2--tennessee .state-why-feature:nth-child(4) .state-why-feature-icon { animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .state-v2--tennessee .state-why-card-icon,
  .state-v2--tennessee .state-why-feature-icon {
    animation: none;
  }
}

/* Figma keeps each stat label on its two authored lines. */
@media (min-width: 577px) {
  .state-v2--tennessee .state-why-stat span {
    white-space: nowrap;
  }
}

/* ============================================================= */
/* 05 EXPERT RCM CTA BAR (Figma 11881:658)                       */
/* ============================================================= */
/* Same compact bar as Oregon (18px/22px padding, top-aligned icons) but
   with the full-width copy column (464px, heading 435px), 15px between
   the icon groups and the 180px button. Below 1340px the shared compact
   widths (432px copy, 146px button) keep the bar on one row. */
@media (min-width: 1340px) {
  .state-v2--tennessee .state-cta--rcm .state-cta-copy {
    width: 464px;
  }

  .state-v2--tennessee .state-cta--rcm .state-cta-copy-inner {
    max-width: 435px;
  }

  .state-v2--tennessee .state-cta--rcm .state-cta-icons {
    gap: 15px;
  }

  .state-v2--tennessee .state-cta--rcm .state-cta-btn {
    width: 180px;
  }
}

/* Idle: the blue glow behind the bar breathes slowly. */
@keyframes tn-cta-glow {
  from { opacity: 0.75; scale: 1; }
  to   { opacity: 1; scale: 1.18; }
}

.state-v2--tennessee .state-cta--rcm::before {
  animation: tn-cta-glow 6s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .state-v2--tennessee .state-cta--rcm::before {
    animation: none;
  }
}

/* 06 Client Success Stories (Figma 11881:694): on desktop the quote mark sits
   above the photo notch and the name block is right-aligned beside the photo
   (the Oregon page has the mark top-right and a left-aligned name). Offsets are
   the design's px over the 363.5px card. Below 1241px the cards get too narrow
   for the photo-side name block, so the shared state layout is kept there. */
@media (min-width: 1241px) {
  .state-v2--tennessee .calc6-card-mark {
    top: auto;
    right: 29.71%;   /* 108 / 363.5 */
    bottom: 98px;
    opacity: 1;
  }

  .state-v2--tennessee .calc6-card-footer {
    top: auto;
    bottom: 17px;
    left: 8px;
    right: 36.59%;   /* 133 / 363.5 */
    align-items: flex-end;
    text-align: right;
  }

  .state-v2--tennessee .calc6-card-name,
  .state-v2--tennessee .calc6-card-org {
    line-height: 24px;
    overflow: visible;
    text-overflow: clip;
  }
}

@media (min-width: 1241px) and (max-width: 1399px) {
  .state-v2--tennessee .calc6-card-quote {
    font-size: 15px;
    line-height: 22px;
  }
}

/* Idle motion: the photo ring breathes softly. */
@media (prefers-reduced-motion: no-preference) {
  .state-v2--tennessee .calc6-card-photo {
    animation: tn-success-breathe 5s ease-in-out infinite;
  }

  .state-v2--tennessee .calc6-card:nth-child(3n + 2) .calc6-card-photo { animation-delay: -1.6s; }
  .state-v2--tennessee .calc6-card:nth-child(3n) .calc6-card-photo { animation-delay: -3.2s; }
}

@keyframes tn-success-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 93, 97, 0); }
  50% { box-shadow: 0 0 0 5px rgba(252, 93, 97, 0.14); }
}

/* 07 Facilities We Serve in Tennessee (Figma 11881:771): 16px gradient frame
   (the Oregon card uses 10px); the phone keeps the shared 8px frame. */
@media (min-width: 577px) {
  .state-v2--tennessee .state-serve {
    border-width: 16px;
  }
}

/* Idle motion: the tick marks pulse in turn. */
@media (prefers-reduced-motion: no-preference) {
  .state-v2--tennessee .state-serve-item > img {
    animation: tn-serve-tick 4.5s ease-in-out infinite;
  }

  .state-v2--tennessee .state-serve-item:nth-child(2) > img { animation-delay: 0.5s; }
  .state-v2--tennessee .state-serve-item:nth-child(3) > img { animation-delay: 1s; }
  .state-v2--tennessee .state-serve-col--panel .state-serve-item > img { animation-delay: 1.5s; }
  .state-v2--tennessee .state-serve-col--panel .state-serve-item:nth-child(2) > img { animation-delay: 2s; }
  .state-v2--tennessee .state-serve-col--panel .state-serve-item:nth-child(3) > img { animation-delay: 2.5s; }
}

@keyframes tn-serve-tick {
  0%, 80%, 100% { transform: scale(1); }
  88% { transform: scale(1.18); }
}

/* 08 Our Medical Billing Process (Figma 11881:814): on desktop each step's
   copy sits under its platform, so the columns follow the design's x offsets
   and step up 10px (of 1236px) per step as the path rises to the right. */
@media (min-width: 1025px) {
  .state-v2--tennessee .state-process-steps {
    container-type: inline-size;
    grid-template-columns: repeat(5, 18.123%);
    column-gap: 1.375%;
    padding-left: 2.589%;
    align-items: start;
    margin-top: 10px;
  }

  .state-v2--tennessee .state-process-step:nth-child(1) { margin-top: 0.809cqw; }
  .state-v2--tennessee .state-process-step:nth-child(2) { margin-top: 0; }
  .state-v2--tennessee .state-process-step:nth-child(3) { margin-top: -0.809cqw; }
  .state-v2--tennessee .state-process-step:nth-child(4) { margin-top: -1.618cqw; }
  .state-v2--tennessee .state-process-step:nth-child(5) { margin-top: -2.427cqw; }

  .state-v2--tennessee .state-process-step-title {
    line-height: 20px;
  }

  .state-v2--tennessee .state-process-step-desc {
    line-height: 25.2px;
  }
}

/* Idle motion: the path image floats very slightly. */
@media (prefers-reduced-motion: no-preference) {
  .state-v2--tennessee .state-process-graphic img {
    animation: tn-process-float 6s ease-in-out infinite;
  }
}

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

/* 09 What Makes MedsIT Nexus the Top Medical Billing Company in Tennessee?
   (Figma 11881:1224): two-paragraph lead, regular-weight items with 20px
   bottom padding, 448px intro column, arrow at 364/154 inside the intro. */
.state-v2--tennessee .state-features-lead p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.state-v2--tennessee .state-features-item p {
  font-weight: 400;
}

@media (min-width: 1101px) {
  .state-v2--tennessee .state-features-intro {
    width: 448px;
    padding: 10px 0;
  }

  .state-v2--tennessee .state-features-decor-arrow {
    top: 154px;
    right: -20.585px;
    bottom: auto;
    width: 104.585px;
    height: 87px;
  }
}

@media (min-width: 1101px) {
  .state-v2--tennessee .state-features-item p {
    padding-bottom: 20px;
  }
}

/* Idle motion: the hand-drawn arrow nudges toward the list. */
@media (prefers-reduced-motion: no-preference) {
  .state-v2--tennessee .state-features-decor-arrow {
    animation: tn-features-nudge 3.2s ease-in-out infinite;
  }

  .state-v2--tennessee .state-features-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .state-v2--tennessee .state-features-item:hover .state-features-badge {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  }
}

@keyframes tn-features-nudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -4px); }
}

/* 10 Why Choose Us MedsIT Nexus? (Figma 11881:1289): gradient question mark,
   two-line labels pinned to the numbered circles (top labels 12px below the
   graphic's top, bottom labels flush with its bottom), widths from the design. */
.state-v2--tennessee .state-choose-qmark {
  background: linear-gradient(90deg, #273775 29.808%, #fc5d61 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 901px) {
  .state-v2--tennessee .state-choose-label p {
    line-height: 28.8px;
  }

  .state-v2--tennessee .state-choose-label--tl,
  .state-v2--tennessee .state-choose-label--tr {
    align-self: start;
    margin-top: 12px;
    max-width: 294px;
  }

  .state-v2--tennessee .state-choose-label--bl,
  .state-v2--tennessee .state-choose-label--br {
    align-self: end;
    margin-bottom: -4.6px;
    max-width: 294px;
  }

  .state-v2--tennessee .state-choose-label--bl {
    max-width: 194px;
  }

  .state-v2--tennessee .state-choose-label--tl,
  .state-v2--tennessee .state-choose-label--bl {
    justify-self: end;
  }
}

/* Idle motion: the quadrant graphic drifts gently. */
@media (prefers-reduced-motion: no-preference) {
  .state-v2--tennessee .state-choose-graphic img {
    animation: tn-choose-drift 7s ease-in-out infinite;
  }
}

@keyframes tn-choose-drift {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(1.2deg) scale(1.015); }
}

/* =============================================================
   Tennessee Billing Expertise for Payers and Compliance
   (Figma 11888:3931) — replaces Oregon's laws + payer sections.
   Entrance: 11-payer-laws.js adds .is-armed / .is-in to each
   [data-tnpl-reveal] block; without JS everything is static and visible.
   ============================================================= */
.state-v2--tennessee .tn-pl {
  position: relative;
  overflow: hidden;
  background: #f5f7fc;
  padding: 60px 0;
  isolation: isolate;
}

.state-v2--tennessee .tn-pl-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.state-v2--tennessee .tn-pl-deco--circle {
  top: -220px;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: #eaeef8;
}

.state-v2--tennessee .tn-pl-deco--ring {
  top: -131px;
  right: -71px;
  width: 582px;
  height: 582px;
  box-sizing: border-box;
  border: 1px dashed #d3daec;
  border-radius: 50%;
}

.state-v2--tennessee .tn-pl-deco--blush {
  bottom: -179.91px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: #fdecec;
  opacity: 0.6;
}

.state-v2--tennessee .tn-pl-deco--dots {
  top: 64px;
  left: 40px;
  width: 104px;
  height: 44px;
  opacity: 0.55;
}

.state-v2--tennessee .tn-pl-deco--dots img {
  display: block;
  width: 104px;
  height: 44px;
}

.state-v2--tennessee .tn-pl-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- head: copy + illustration ---------- */
.state-v2--tennessee .tn-pl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.state-v2--tennessee .tn-pl-copy {
  flex: 0 1 700px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.state-v2--tennessee .tn-pl-heading {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.5px;
  color: #273775;
}

.state-v2--tennessee .tn-pl-heading .accent {
  display: block;
  color: #fc5d61;
}

.state-v2--tennessee .tn-pl-lead {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #3d3d3d;
}

.state-v2--tennessee .tn-pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.state-v2--tennessee .tn-pl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 17px 11px;
  background: #fff;
  border: 1px solid #e1e6f2;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: #273775;
  white-space: nowrap;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease;
}

.state-v2--tennessee .tn-pl-chip:hover {
  border-color: #fc5d61;
  box-shadow: 0 8px 18px rgba(39, 55, 117, 0.1);
  translate: 0 -2px;
}

.state-v2--tennessee .tn-pl-chip img {
  flex: none;
  display: block;
  width: 16px;
  height: 16px;
}

/* ---------- illustration (fixed 401 x 336.84 stage, Figma 11888:3980) ---------- */
.state-v2--tennessee .tn-pl-art-wrap {
  flex: none;
}

.state-v2--tennessee .tn-pl-art {
  position: relative;
  width: 401px;
  height: 336.84px;
  font-family: var(--font-primary);
}

.state-v2--tennessee .tn-pl-art img {
  display: block;
  max-width: none;
}

.state-v2--tennessee .tn-pl-skyline {
  position: absolute;
  z-index: 1;
  top: 27.27px;
  left: 0;
  width: 401px;
  height: 120.3px;
  overflow: hidden;
}

.state-v2--tennessee .tn-pl-sky {
  position: absolute;
  transform-origin: 50% 100%;
}

.state-v2--tennessee .tn-pl-sky--row { top: 41.33%; right: 10.8%; bottom: 0; left: 8%; }
.state-v2--tennessee .tn-pl-sky--tower { top: 2.67%; right: 44.4%; bottom: 0; left: 44.4%; }

.state-v2--tennessee .tn-pl-sky img {
  width: 100%;
  height: 100%;
}

.state-v2--tennessee .tn-pl-map {
  position: absolute;
  z-index: 2;
  top: 137.94px;
  left: 0;
  width: 401px;
  height: 105.864px;
}

/* Each vector sits in its Figma slot; the img fills it (with the stroke bleed Figma exports). */
.state-v2--tennessee .tn-pl-v {
  position: absolute;
}

.state-v2--tennessee .tn-pl-v img {
  position: absolute;
  width: auto;
  height: auto;
}

.state-v2--tennessee .tn-pl-v--shadow { inset: 15.8% 0.14% -1.56% 2.78%; }
.state-v2--tennessee .tn-pl-v--shadow img { inset: 0; width: 100%; height: 100%; }
.state-v2--tennessee .tn-pl-v--outline { inset: 8.44% 1.53% 5.81% 1.39%; }
.state-v2--tennessee .tn-pl-v--outline img { top: -0.92%; right: -0.21%; bottom: -0.92%; left: -0.21%; width: 100.42%; height: 101.84%; }
.state-v2--tennessee .tn-pl-v--div1 { inset: 9.49% 72.22% 6.33% 26.11%; }
.state-v2--tennessee .tn-pl-v--div1 img { top: -0.2%; left: -8.06%; width: 115.97%; height: 100.36%; }
.state-v2--tennessee .tn-pl-v--div2 { inset: 9.49% 33.61% 7.39% 60.83%; }
.state-v2--tennessee .tn-pl-v--div2 img { top: -0.27%; left: -2.46%; width: 104.73%; height: 100.38%; }
.state-v2--tennessee .tn-pl-v--route1 { inset: 32.64% 26.67% 16.86% 5.56%; }
.state-v2--tennessee .tn-pl-v--route1 img { top: -1.31%; left: -0.26%; width: 100.52%; height: 102.61%; }
.state-v2--tennessee .tn-pl-v--route2 { inset: 32.64% 42.36% 11.6% 41.11%; }
.state-v2--tennessee .tn-pl-v--route2 img { top: -1.18%; left: -1.05%; width: 102.1%; height: 102.36%; }
.state-v2--tennessee .tn-pl-v--markers { inset: 20.01% 25.7% 7.91% 3.33%; }
.state-v2--tennessee .tn-pl-v--markers img { top: 0; left: 0; width: 100.29%; height: 101.1%; }

.state-v2--tennessee .tn-pl-region,
.state-v2--tennessee .tn-pl-city {
  position: absolute;
  font-size: 8.354px;
  line-height: normal;
  white-space: nowrap;
}

.state-v2--tennessee .tn-pl-region {
  font-weight: 700;
  color: #8f9bbc;
}

.state-v2--tennessee .tn-pl-region--west { left: 12.22%; top: 62.63%; }
.state-v2--tennessee .tn-pl-region--middle { left: 38.61%; top: 66.83%; }
.state-v2--tennessee .tn-pl-region--east { left: 76.39%; top: 26.85%; }

.state-v2--tennessee .tn-pl-city {
  z-index: 1;
  font-weight: 400;
  color: #3d3d3d;
}

.state-v2--tennessee .tn-pl-city--nashville { left: 43.61%; top: 18.43%; font-weight: 700; color: #273775; }
.state-v2--tennessee .tn-pl-city--memphis { left: 8.6%; top: 78.79%; }
.state-v2--tennessee .tn-pl-city--knoxville { left: 71.8%; top: 45.45%; }
.state-v2--tennessee .tn-pl-city--chattanooga { left: 41.2%; top: 79.55%; }

/* Idle pulse rings centred on the four city markers. */
.state-v2--tennessee .tn-pl-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1.5px solid #fc5d61;
  opacity: 0;
  animation: tnPlPulse 2.6s ease-out infinite;
}

.state-v2--tennessee .tn-pl-pulse--memphis { left: 5.55%; top: 83.13%; animation-delay: 0.4s; }
.state-v2--tennessee .tn-pl-pulse--nashville { left: 41.11%; top: 32.64%; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.state-v2--tennessee .tn-pl-pulse--knoxville { left: 73.33%; top: 43.16%; border-color: #273775; animation-delay: 1.3s; }
.state-v2--tennessee .tn-pl-pulse--chattanooga { left: 57.63%; top: 88.4%; border-color: #273775; animation-delay: 1.9s; }

@keyframes tnPlPulse {
  0% { opacity: 0.85; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(3); }
}

/* Floating cards */
.state-v2--tennessee .tn-pl-scrub {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 181.252px;
  box-sizing: border-box;
  padding: 12.832px 14.436px;
  display: flex;
  flex-direction: column;
  gap: 9.624px;
  background: #fff;
  border: 0.802px solid #e6eaf4;
  border-radius: 12.832px;
  box-shadow: 0 14.436px 16.04px rgba(39, 55, 117, 0.12);
  animation: tnPlFloat 6s ease-in-out 1.2s infinite;
}

.state-v2--tennessee .tn-pl-scrub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.state-v2--tennessee .tn-pl-scrub-title {
  padding-bottom: 0.802px;
  font-weight: 600;
  font-size: 8.822px;
  line-height: normal;
  letter-spacing: 1.203px;
  text-transform: uppercase;
  color: #5a6585;
}

.state-v2--tennessee .tn-pl-scrub-tag {
  padding: 2.406px 7.218px 3.208px;
  border-radius: 999px;
  background: #eef1f8;
  font-weight: 600;
  font-size: 8.822px;
  line-height: normal;
  color: #273775;
}

.state-v2--tennessee .tn-pl-scrub-list {
  display: flex;
  flex-direction: column;
  gap: 6.416px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.state-v2--tennessee .tn-pl-scrub-list li {
  display: flex;
  align-items: center;
  gap: 6.416px;
  padding-bottom: 0.802px;
  font-size: 10.025px;
  line-height: normal;
  color: #3d3d3d;
}

.state-v2--tennessee .tn-pl-scrub-list img {
  flex: none;
}

.state-v2--tennessee .tn-pl-scrub-list li:nth-child(-n+2) img { width: 12.832px; height: 12.832px; }
.state-v2--tennessee .tn-pl-scrub-list li:nth-child(3) img { width: 12.768px; height: 12.83px; }

.state-v2--tennessee .tn-pl-clock {
  position: absolute;
  z-index: 4;
  left: 11px;
  bottom: 3.94px;
  width: 200.5px;
  box-sizing: border-box;
  padding: 12.832px 14.436px;
  display: flex;
  flex-direction: column;
  gap: 8.02px;
  background: #273775;
  border-radius: 12.832px;
  box-shadow: 0 14.436px 16.04px rgba(39, 55, 117, 0.25);
  animation: tnPlFloat 6.5s ease-in-out 2s infinite reverse;
}

.state-v2--tennessee .tn-pl-clock-top {
  display: flex;
  align-items: center;
  gap: 8.02px;
}

.state-v2--tennessee .tn-pl-clock-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22.833px;
  height: 25.664px;
  border-radius: 8.02px;
  background: rgba(255, 255, 255, 0.12);
}

.state-v2--tennessee .tn-pl-clock-icon img {
  width: 14.436px;
  height: 14.436px;
  transform-origin: 50% 54%;
}

.state-v2--tennessee .tn-pl-clock-copy {
  display: flex;
  flex-direction: column;
  min-width: 140.775px;
}

.state-v2--tennessee .tn-pl-clock-kicker {
  padding-bottom: 0.802px;
  font-weight: 400;
  font-size: 8.822px;
  line-height: normal;
  letter-spacing: 0.802px;
  text-transform: uppercase;
  color: #c9d1ea;
}

.state-v2--tennessee .tn-pl-clock-title {
  padding: 0.802px 0;
  font-weight: 600;
  font-size: 12.03px;
  line-height: normal;
  color: #fff;
}

.state-v2--tennessee .tn-pl-clock-bar {
  position: relative;
  display: block;
  height: 4.812px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.state-v2--tennessee .tn-pl-clock-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 38.01%;
  overflow: hidden;
  border-radius: 999px;
  background: #fc5d61;
  transform-origin: 0 50%;
}

/* Idle sheen along the filled part of the clock bar. */
.state-v2--tennessee .tn-pl-clock-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  translate: -100% 0;
  animation: tnPlSheen 3.2s ease-in-out 2.4s infinite;
}

@keyframes tnPlSheen {
  0% { translate: -100% 0; }
  55%, 100% { translate: 100% 0; }
}

.state-v2--tennessee .tn-pl-era {
  position: absolute;
  z-index: 4;
  top: 64.72%;
  right: 2.86%;
  bottom: 22.9%;
  left: 63.34%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8.02px;
  padding: 8.822px 13.634px 8.822px 8.822px;
  background: #fff;
  border: 0.802px solid #e6eaf4;
  border-radius: 999px;
  box-shadow: 0 11.228px 12.03px rgba(39, 55, 117, 0.12);
  animation: tnPlFloat 5s ease-in-out 3s infinite;
}

.state-v2--tennessee .tn-pl-era-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24.06px;
  height: 24.06px;
  border-radius: 50%;
  background: #fc5d61;
  font-weight: 700;
  font-size: 12.03px;
  line-height: normal;
  color: #fff;
}

.state-v2--tennessee .tn-pl-era-text {
  padding-bottom: 0.802px;
  font-weight: 600;
  font-size: 10.426px;
  line-height: normal;
  color: #273775;
  white-space: nowrap;
}

@keyframes tnPlFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

/* ---------- two cards ---------- */
.state-v2--tennessee .tn-pl-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

.state-v2--tennessee .tn-pl-card {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8f3;
  border-radius: 24px;
  box-shadow: 0 24px 30px rgba(39, 55, 117, 0.08);
  transition: box-shadow 0.3s ease;
}

.state-v2--tennessee .tn-pl-card:hover {
  box-shadow: 0 28px 40px rgba(39, 55, 117, 0.13);
}

.state-v2--tennessee .tn-pl-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 19px;
  border-bottom: 1px solid #e8ecf5;
}

.state-v2--tennessee .tn-pl-card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.state-v2--tennessee .tn-pl-card-bar {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #fc5d61;
  transform-origin: 0 50%;
}

.state-v2--tennessee .tn-pl-card-title h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: 36.4px;
  color: #273775;
}

.state-v2--tennessee .tn-pl-card-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f1f4fa;
}

.state-v2--tennessee .tn-pl-card-badge > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 12px rgba(39, 55, 117, 0.12);
  animation: tnPlBob 4.5s ease-in-out infinite;
}

.state-v2--tennessee .tn-pl-card--laws .tn-pl-card-badge { background: #feefef; }
.state-v2--tennessee .tn-pl-card--laws .tn-pl-card-badge > span {
  box-shadow: 0 10px 12px rgba(252, 93, 97, 0.18);
  animation-delay: 1.2s;
}

.state-v2--tennessee .tn-pl-card-badge img {
  display: block;
  width: 32px;
  height: 32px;
}

@keyframes tnPlBob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -3px; rotate: -4deg; }
}

.state-v2--tennessee .tn-pl-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.state-v2--tennessee .tn-pl-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eef1f7;
}

.state-v2--tennessee .tn-pl-item:last-child {
  border-bottom: 0;
}

.state-v2--tennessee .tn-pl-tile {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eef1f8;
  transition: background-color 0.3s ease;
}

.state-v2--tennessee .tn-pl-tile img {
  display: block;
  width: 28px;
  height: 28px;
  transition: scale 0.3s ease;
}

.state-v2--tennessee .tn-pl-tile img.tn-pl-tile-lg {
  width: 30px;
  height: 30px;
}

/* Red status dot (Figma: 16px, 2px white border, offset -3px). */
.state-v2--tennessee .tn-pl-tile::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fc5d61;
}

.state-v2--tennessee .tn-pl-item:hover .tn-pl-tile { background: #e3e8f6; }
.state-v2--tennessee .tn-pl-item:hover .tn-pl-tile img { scale: 1.1; }

.state-v2--tennessee .tn-pl-item-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5.375px;
}

.state-v2--tennessee .tn-pl-item-text h4 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 18px;
  line-height: 25.2px;
  color: #273775;
}

.state-v2--tennessee .tn-pl-item-text p {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 26.25px;
  color: #3d3d3d;
}

/* ---------- entrance choreography (only once JS arms a block) ---------- */
@keyframes tnPlUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes tnPlFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tnPlPop {
  0% { opacity: 0; transform: scale(0.55); }
  65% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: none; }
}

@keyframes tnPlRise {
  from { transform: scaleY(0); }
  to { transform: none; }
}

@keyframes tnPlDraw {
  from { clip-path: inset(-10% 100% -10% 0); }
  to { clip-path: inset(-10% -2% -10% 0); }
}

@keyframes tnPlFill {
  from { transform: scaleX(0); }
  to { transform: none; }
}

@keyframes tnPlTick {
  0% { opacity: 0; transform: scale(0) rotate(-90deg); }
  70% { opacity: 1; transform: scale(1.25) rotate(0deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes tnPlSlideL {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes tnPlDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}

@keyframes tnPlBarGrow {
  from { transform: scaleX(0); }
  to { transform: none; }
}

/* Head */
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-heading,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-lead,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-chip,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-map .tn-pl-v--shadow,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-map .tn-pl-v--outline,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-map .tn-pl-v--div1,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-map .tn-pl-v--div2,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-region,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-city,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-v--markers,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-scrub,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-scrub-list img,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-scrub-list span,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-clock,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-era {
  opacity: 0;
}

.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-sky { transform: scaleY(0); }

.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-clock-fill { transform: scaleX(0); }

.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-v--route1,
.state-v2--tennessee .tn-pl-head.is-armed .tn-pl-v--route2 {
  clip-path: inset(-10% 100% -10% 0);
}

.state-v2--tennessee .tn-pl-head.is-in .tn-pl-heading { animation: tnPlUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-lead { animation: tnPlUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-chip { animation: tnPlPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-chip:nth-child(1) { animation-delay: 0.3s; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-chip:nth-child(2) { animation-delay: 0.42s; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-chip:nth-child(3) { animation-delay: 0.54s; }

.state-v2--tennessee .tn-pl-head.is-in .tn-pl-sky--row { animation: tnPlRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-sky--tower { animation: tnPlRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--shadow,
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--outline { animation: tnPlUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--div1,
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--div2,
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-region { animation: tnPlFade 0.5s ease 0.6s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--route1 { animation: tnPlDraw 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.8s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--route2 { animation: tnPlDraw 0.8s cubic-bezier(0.65, 0, 0.35, 1) 1.45s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-v--markers { animation: tnPlPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both; transform-origin: 50% 50%; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-city { animation: tnPlFade 0.5s ease 1s both; }

.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub {
  animation: tnPlDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both, tnPlFloat 6s ease-in-out 1.2s infinite;
}
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub-list img { animation: tnPlTick 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub-list span { animation: tnPlSlideL 0.4s ease both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub-list li:nth-child(1) > * { animation-delay: 1s; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub-list li:nth-child(2) > * { animation-delay: 1.35s; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-scrub-list li:nth-child(3) > * { animation-delay: 1.7s; }

.state-v2--tennessee .tn-pl-head.is-in .tn-pl-clock {
  animation: tnPlUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both, tnPlFloat 6.5s ease-in-out 2s infinite reverse;
}
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-clock-fill { animation: tnPlFill 1.4s cubic-bezier(0.65, 0, 0.35, 1) 1.2s both; }
.state-v2--tennessee .tn-pl-head.is-in .tn-pl-clock-icon img { animation: tnPlTick 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both; }

.state-v2--tennessee .tn-pl-head.is-in .tn-pl-era {
  animation: tnPlPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s both, tnPlFloat 5s ease-in-out 3.2s infinite;
}

/* Cards: card rises, title bar grows, then items cascade with their red dot popping. */
.state-v2--tennessee .tn-pl-card.is-armed,
.state-v2--tennessee .tn-pl-card.is-armed .tn-pl-item,
.state-v2--tennessee .tn-pl-card.is-armed .tn-pl-card-badge {
  opacity: 0;
}

.state-v2--tennessee .tn-pl-card.is-armed .tn-pl-card-bar { transform: scaleX(0); }
.state-v2--tennessee .tn-pl-card.is-armed .tn-pl-tile::after { transform: scale(0); }

.state-v2--tennessee .tn-pl-card.is-in { animation: tnPlUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.state-v2--tennessee .tn-pl-card--laws.is-in { animation-delay: 0.12s; }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-card-bar { animation: tnPlBarGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-card-badge { animation: tnPlPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-item { animation: tnPlUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-tile::after { animation: tnPlPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-item { animation-delay: var(--tnpl-d); }
.state-v2--tennessee .tn-pl-card.is-in .tn-pl-tile::after { animation-delay: calc(var(--tnpl-d) + 0.35s); }
.state-v2--tennessee .tn-pl-item:nth-child(1) { --tnpl-d: 0.45s; }
.state-v2--tennessee .tn-pl-item:nth-child(2) { --tnpl-d: 0.57s; }
.state-v2--tennessee .tn-pl-item:nth-child(3) { --tnpl-d: 0.69s; }
.state-v2--tennessee .tn-pl-item:nth-child(4) { --tnpl-d: 0.81s; }
.state-v2--tennessee .tn-pl-item:nth-child(5) { --tnpl-d: 0.93s; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .state-v2--tennessee .tn-pl-copy { flex-basis: 560px; }
  .state-v2--tennessee .tn-pl-br { display: none; }
}

@media (max-width: 1100px) {
  .state-v2--tennessee .tn-pl-head {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .state-v2--tennessee .tn-pl-copy {
    flex: none;
    width: 100%;
    max-width: 700px;
    align-items: center;
    text-align: center;
  }

  .state-v2--tennessee .tn-pl-chips { justify-content: center; }
}

@media (max-width: 900px) {
  .state-v2--tennessee .tn-pl-cards {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .state-v2--tennessee .tn-pl { padding: 40px 0; }
  .state-v2--tennessee .tn-pl-inner { gap: 32px; }
  .state-v2--tennessee .tn-pl-br { display: none; }
  .state-v2--tennessee .tn-pl-deco--circle { width: 420px; height: 420px; top: -140px; right: -200px; }
  .state-v2--tennessee .tn-pl-deco--ring { width: 320px; height: 320px; top: -90px; right: -140px; }
  .state-v2--tennessee .tn-pl-deco--blush { width: 300px; height: 300px; left: -150px; bottom: -120px; }
  .state-v2--tennessee .tn-pl-deco--dots { top: 24px; left: 12px; }

  .state-v2--tennessee .tn-pl-copy {
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .state-v2--tennessee .tn-pl-heading {
    font-size: 24px;
    line-height: 32px;
  }

  .state-v2--tennessee .tn-pl-lead {
    font-size: 15px;
    line-height: 24px;
  }

  .state-v2--tennessee .tn-pl-chips {
    justify-content: flex-start;
    gap: 8px;
  }

  .state-v2--tennessee .tn-pl-chip {
    min-height: 38px;
    padding: 8px 14px 9px;
    font-size: 13px;
  }

  /* The illustration is a fixed-geometry stage: scale it to the column. */
  .state-v2--tennessee .tn-pl-art {
    height: 352.84px;
    zoom: 0.86;
  }

  .state-v2--tennessee .tn-pl-card {
    padding: 16px;
    border-radius: 18px;
  }

  .state-v2--tennessee .tn-pl-card-head { padding-bottom: 16px; }

  .state-v2--tennessee .tn-pl-card-title h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .state-v2--tennessee .tn-pl-card-badge { width: 64px; height: 64px; }
  .state-v2--tennessee .tn-pl-card-badge > span { width: 46px; height: 46px; border-radius: 14px; }
  .state-v2--tennessee .tn-pl-card-badge img { width: 26px; height: 26px; }

  .state-v2--tennessee .tn-pl-list { gap: 0; }

  .state-v2--tennessee .tn-pl-item {
    gap: 14px;
    padding: 18px 0;
  }

  .state-v2--tennessee .tn-pl-tile {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .state-v2--tennessee .tn-pl-tile img { width: 24px; height: 24px; }
  .state-v2--tennessee .tn-pl-tile img.tn-pl-tile-lg { width: 26px; height: 26px; }

  .state-v2--tennessee .tn-pl-item-text h4 {
    font-size: 16px;
    line-height: 22px;
  }

  .state-v2--tennessee .tn-pl-item-text p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 374px) {
  .state-v2--tennessee .tn-pl-art { zoom: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  .state-v2--tennessee .tn-pl *,
  .state-v2--tennessee .tn-pl *::after,
  .state-v2--tennessee .tn-pl-card {
    animation: none !important;
    transition: none !important;
  }

  .state-v2--tennessee .tn-pl-pulse { display: none; }
}

/* Case study (Figma 11881:1970): underlined "Read Full Case Study" link, one-line practice name on desktop. */
.state-v2--tennessee .state-case-link {
  text-decoration: underline !important; /* beats the global a { text-decoration: none !important } */
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

@media (min-width: 768px) {
  .state-v2--tennessee .state-case-photo-role {
    white-space: nowrap;
  }
}

/* Credentialing (Figma 11881:2084): the design sets two stage titles on two lines at desktop widths. */
@media (max-width: 1199.98px) {
  .state-v2--tennessee .state-credentialing-br {
    display: none;
  }
}

/* Get Credentialed Today (Figma 11881:2197): stat labels break onto two lines as in the design. */
.state-v2--tennessee .state-credential-cta-stat p {
  max-width: 95px;
  margin-left: auto;
  margin-right: auto;
}

/* Lead form (Figma 11881:2301): the design breaks the intro after its first sentence at desktop widths. */
@media (max-width: 1024px) {
  .state-v2--tennessee .state-lead-form-br {
    display: none;
  }
}
