/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #tlp-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 2.5rem 1rem 2.5rem;
    background-color: var(--tlpNavy);
    /* soft accent + brand glows instead of a flat fill */
    background-image: radial-gradient(circle at 12% 0%, rgba(91, 167, 225, 0.22), transparent 42%), radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.06), transparent 55%);
    /*
            Phones + tablets: the content wrapper drops out of the box tree (display: contents),
            so the photo can sit between the services list and the call buttons via order.
            Desktop puts the wrapper back as one column beside the photo.
        */
    /* below the photo: intro (tablet only), buttons, trust rows */
    /* "available now" pill with a pulsing green dot */
    /* "$0 Call Out Fee*. On Call 24/7." under the H1 (kept out of the H1 itself) */
    /* services, two fixed lines so a bullet never dangles at a line break */
    /* hidden on phones so the call buttons sit straight under the photo */
    /*
            Two trust rows in matching glass panels: points ($0 call out, same-day, family owned)
            then badges (Google rating, licences, guarantee). Both rows are the same 3-column grid
            so all six panels line up, and every panel's icon sits at the top so they read as one even set.
            Wide desktops (1280px+) switch to horizontal plates (icon left, text right).
        */
    /* Google's four colours on the top edge */
    /* Google G on a white tile */
    /* glowing accent tile behind the shield / tick icons */
    /* licence numbers as small glowing pills */
    /* Photo panel: full bleed, straight under the services list */
    /* team photo card (reference: owner with name caption) */
  }
  #tlp-hero .tlp-hero-inner {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #tlp-hero .tlp-hero-content {
    text-align: center;
    display: contents;
  }
  #tlp-hero .tlp-hero-content > * {
    animation: tlpRise 0.7s ease-out both;
  }
  #tlp-hero .tlp-hero-text,
  #tlp-hero .tlp-hero-actions,
  #tlp-hero .tlp-hero-points,
  #tlp-hero .tlp-hero-badges {
    order: 2;
  }
  #tlp-hero .tlp-hero-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    margin-bottom: 0.875rem;
    padding: 0.4375rem 0.75rem 0.4375rem 0.6875rem;
    font-family: var(--tlpFontHead);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    /* the pill is a tel: link, so drop the link underline */
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  #tlp-hero .tlp-hero-live-dot {
    position: relative;
    flex: none;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #2FD675;
    /* ring that pings outward */
  }
  #tlp-hero .tlp-hero-live-dot:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #2FD675;
    animation: tlpPing 1.6s ease-out infinite;
  }
  #tlp-hero .tlp-hero-live-sub {
    padding-left: 0.5625rem;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.8);
  }
  #tlp-hero .tlp-hero-title {
    font-family: var(--tlpFontHead);
    /* 34px - 56px */
    font-size: clamp(2.125rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.04em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
    color: #fff;
  }
  #tlp-hero .tlp-hero-tagline {
    font-family: var(--tlpFontHead);
    /* 27px - 45px: 80% of the H1 */
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    /* matches .tlp-accent-text: italic reads thinner, so one step heavier than the H1 */
    font-weight: 900;
    font-style: italic;
    line-height: 1.04em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--tlpAccent);
    margin-top: 0.375rem;
    /* italic overhang would otherwise clip on the right */
    padding-right: 0.06em;
  }
  #tlp-hero .tlp-hero-kicker {
    font-family: var(--tlpFontHead);
    /* 13px - 14px on phones so the first line fits a 360px screen */
    font-size: clamp(0.8125rem, 3.7vw, 0.875rem);
    font-weight: 800;
    line-height: 1.15em;
    text-transform: uppercase;
    color: #fff;
    margin: 1.25rem 0 0.75rem;
  }
  #tlp-hero .tlp-hero-kicker-line {
    display: block;
  }
  #tlp-hero .tlp-hero-kicker-line + .tlp-hero-kicker-line {
    margin-top: 0.45em;
  }
  #tlp-hero .tlp-hero-kicker-dot {
    color: var(--tlpAccent);
    margin: 0 0.2em;
  }
  #tlp-hero .tlp-hero-text {
    display: none;
    font-size: 1rem;
    line-height: 1.65em;
    max-width: 35rem;
    color: rgba(255, 255, 255, 0.84);
  }
  #tlp-hero .tlp-hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 1.75rem;
  }
  #tlp-hero .tlp-hero-actions .tlp-btn {
    width: 100%;
  }
  #tlp-hero .tlp-hero-points,
  #tlp-hero .tlp-hero-badges {
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  #tlp-hero .tlp-hero-points li,
  #tlp-hero .tlp-hero-badges li {
    display: flex;
  }
  #tlp-hero .tlp-hero-points {
    margin-bottom: 0.5rem;
    /* light sweep runs left to right, top row first */
  }
  #tlp-hero .tlp-hero-points li {
    position: relative;
    /* keeps the sweep (z-index -1) above the panel background but under the text */
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.875rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 65%), rgba(10, 17, 34, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5625rem;
    padding: 0.875rem 0.3125rem 0.8125rem;
    text-align: center;
    font-size: 0.78125rem;
    font-weight: 700;
    line-height: 1.25em;
  }
  #tlp-hero .tlp-hero-points li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, var(--tlpAccent), transparent);
    box-shadow: 0 0 12px 1px rgba(91, 167, 225, 0.6);
  }
  #tlp-hero .tlp-hero-points li:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: tlpShine 1.6s ease-out 1s both;
    pointer-events: none;
  }
  #tlp-hero .tlp-hero-points li:nth-child(2):after {
    animation-delay: 1.12s;
  }
  #tlp-hero .tlp-hero-points li:nth-child(3):after {
    animation-delay: 1.24s;
  }
  #tlp-hero .tlp-hero-point-icon {
    flex: none;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.625rem;
    background: linear-gradient(145deg, var(--tlpAccent), var(--tlpAccentHot));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(91, 167, 225, 0.14), 0 8px 18px rgba(13, 118, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tlp-hero .tlp-hero-point-icon .tlp-icon {
    width: 1.1875rem;
    height: 1.1875rem;
  }
  #tlp-hero .tlp-hero-badges li:nth-child(1) .tlp-hero-badge:after {
    animation-delay: 1.36s;
  }
  #tlp-hero .tlp-hero-badges li:nth-child(2) .tlp-hero-badge:after {
    animation-delay: 1.48s;
  }
  #tlp-hero .tlp-hero-badges li:nth-child(3) .tlp-hero-badge:after {
    animation-delay: 1.6s;
  }
  #tlp-hero .tlp-hero-badge {
    position: relative;
    /* keeps the sweep (z-index -1) above the panel background but under the text */
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.875rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 65%), rgba(10, 17, 34, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5625rem;
    padding: 0.875rem 0.3125rem 0.8125rem;
    text-align: center;
  }
  #tlp-hero .tlp-hero-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, var(--tlpAccent), transparent);
    box-shadow: 0 0 12px 1px rgba(91, 167, 225, 0.6);
  }
  #tlp-hero .tlp-hero-badge:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: tlpShine 1.6s ease-out 1s both;
    pointer-events: none;
  }
  #tlp-hero .tlp-hero-badge--google:before {
    background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%);
    box-shadow: 0 0 12px 1px rgba(255, 255, 255, 0.25);
  }
  #tlp-hero .tlp-hero-badge-mark {
    flex: none;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.625rem;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tlp-hero .tlp-hero-badge-mark .tlp-icon {
    width: 1.1875rem;
    height: 1.1875rem;
  }
  #tlp-hero .tlp-hero-badge-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3125rem;
  }
  #tlp-hero .tlp-hero-badge-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    line-height: 1em;
  }
  #tlp-hero .tlp-hero-badge-score strong {
    font-family: var(--tlpFontHead);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: -0.02em;
    color: #fff;
  }
  #tlp-hero .tlp-hero-badge-score .tlp-stars {
    gap: 1px;
  }
  #tlp-hero .tlp-hero-badge-score .tlp-stars .tlp-icon {
    width: 0.8125rem;
    height: 0.8125rem;
  }
  #tlp-hero .tlp-hero-badge-note {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.25em;
    color: rgba(255, 255, 255, 0.72);
  }
  #tlp-hero .tlp-hero-badge-seal {
    flex: none;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.625rem;
    background: linear-gradient(145deg, var(--tlpAccent), var(--tlpAccentHot));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(91, 167, 225, 0.14), 0 8px 18px rgba(13, 118, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tlp-hero .tlp-hero-badge-seal .tlp-icon {
    width: 1.1875rem;
    height: 1.1875rem;
  }
  #tlp-hero .tlp-hero-badge-label {
    font-family: var(--tlpFontHead);
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
  }
  #tlp-hero .tlp-hero-badge-chips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  #tlp-hero .tlp-hero-badge-chips span {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #D6EAFA;
    background-color: rgba(91, 167, 225, 0.14);
    border: 1px solid rgba(91, 167, 225, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.375rem;
  }
  #tlp-hero .tlp-hero-badge--member .tlp-hero-badge-label {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--tlpBody);
  }
  #tlp-hero .tlp-hero-badge--member img {
    display: block;
    width: 100%;
    max-width: 6rem;
    height: auto;
  }
  #tlp-hero .tlp-hero-media {
    order: 1;
    align-self: stretch;
    position: relative;
    height: 18.125rem;
    margin: 0.75rem -1rem 0;
    border-top: 4px solid var(--tlpAccentHot);
  }
  #tlp-hero .tlp-hero-photo {
    position: absolute;
    inset: 0;
    display: block;
  }
  #tlp-hero .tlp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keeps the plumber's face in frame when the panel is short and wide */
    object-position: center 22%;
    display: block;
  }
  #tlp-hero .tlp-hero-tag {
    position: absolute;
    top: 0.875rem;
    z-index: 2;
    font-family: var(--tlpFontHead);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.4375rem 0.75rem;
  }
  #tlp-hero .tlp-hero-tag--after {
    left: 0.875rem;
    color: var(--tlpOnAccent);
    background: var(--tlpAccentGrad);
  }
  #tlp-hero .tlp-hero-tag--before {
    right: 0.875rem;
    color: #fff;
    background-color: var(--tlpInk);
  }
  #tlp-hero .tlp-hero-person {
    position: absolute;
    right: 0.875rem;
    bottom: 2.5rem;
    z-index: 2;
    width: 7rem;
    border: 3px solid #fff;
    border-radius: 0.875rem;
    overflow: hidden;
    background-color: var(--tlpInk);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  }
  #tlp-hero .tlp-hero-person picture,
  #tlp-hero .tlp-hero-person img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: center 20%;
  }
  #tlp-hero .tlp-hero-person figcaption {
    padding: 0.375rem 0.5rem 0.4375rem;
    line-height: 1.1em;
  }
  #tlp-hero .tlp-hero-person figcaption strong {
    display: block;
    font-family: var(--tlpFontHead);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
  }
  #tlp-hero .tlp-hero-person figcaption span {
    font-size: 0.6875rem;
    font-style: italic;
    color: var(--tlpAccent);
  }
  @keyframes tlpPing {
    from {
      opacity: 0.7;
      transform: scale(1);
    }
    to {
      opacity: 0;
      transform: scale(2.8);
    }
  }
  @keyframes tlpRise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes tlpShine {
    from {
      transform: translateX(-130%);
    }
    to {
      transform: translateX(130%);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  #tlp-hero .tlp-hero-points li:after,
  #tlp-hero .tlp-hero-badge:after {
    animation: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  #tlp-hero {
    /* bottom clears the quote card, which overlaps the hero by 40px here */
    padding-top: 4rem;
    padding-bottom: 5.5rem;
    /* both trust rows share one centred grid so the panels stay in columns */
  }
  #tlp-hero .tlp-hero-kicker {
    /* 14px - 20px */
    font-size: clamp(0.875rem, 1.6vw, 1.25rem);
  }
  #tlp-hero .tlp-hero-text {
    display: block;
    margin-top: 1.75rem;
  }
  #tlp-hero .tlp-hero-actions {
    width: auto;
    flex-direction: row;
    justify-content: center;
  }
  #tlp-hero .tlp-hero-actions .tlp-btn {
    width: auto;
  }
  #tlp-hero .tlp-hero-points,
  #tlp-hero .tlp-hero-badges {
    max-width: 37.5rem;
    gap: 0.625rem;
  }
  #tlp-hero .tlp-hero-points {
    margin-bottom: 0.625rem;
  }
  #tlp-hero .tlp-hero-points li {
    gap: 0.625rem;
    padding: 1rem 0.5rem 0.9375rem;
    font-size: 0.875rem;
  }
  #tlp-hero .tlp-hero-badge {
    gap: 0.625rem;
    padding: 1rem 0.5rem 0.9375rem;
  }
  #tlp-hero .tlp-hero-point-icon,
  #tlp-hero .tlp-hero-badge-mark,
  #tlp-hero .tlp-hero-badge-seal {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
  }
  #tlp-hero .tlp-hero-point-icon .tlp-icon,
  #tlp-hero .tlp-hero-badge-mark .tlp-icon,
  #tlp-hero .tlp-hero-badge-seal .tlp-icon {
    width: 1.375rem;
    height: 1.375rem;
  }
  #tlp-hero .tlp-hero-badge-score strong {
    font-size: 1.5rem;
  }
  #tlp-hero .tlp-hero-badge-score .tlp-stars .tlp-icon {
    width: 0.9375rem;
    height: 0.9375rem;
  }
  #tlp-hero .tlp-hero-badge-note {
    font-size: 0.75rem;
  }
  #tlp-hero .tlp-hero-badge-label {
    font-size: 0.75rem;
  }
  #tlp-hero .tlp-hero-badge-chips span {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }
  #tlp-hero .tlp-hero-badge--member {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3125rem;
  }
  #tlp-hero .tlp-hero-badge--member img {
    width: 7.375rem;
    max-width: none;
  }
  #tlp-hero .tlp-hero-media {
    height: 26.25rem;
  }
  #tlp-hero .tlp-hero-person {
    width: 10.625rem;
    right: 2rem;
    bottom: 4.375rem;
  }
  #tlp-hero .tlp-hero-person figcaption strong {
    font-size: 0.9375rem;
  }
  #tlp-hero .tlp-hero-person figcaption span {
    font-size: 0.8125rem;
  }
}
/* Desktop - 1024px: text left, photo bleeds off the right edge with a chevron cut */
@media only screen and (min-width: 64em) {
  #tlp-hero {
    /* bottom padding leaves room for the overlapping quote card (top trimmed to offset the taller trust plates) */
    padding: 2.5rem 1rem 9.375rem;
    /* narrower on small desktops so the H1 clears the chevron */
    /* narrow text column here, so the panels stay stacked (icon over text) until 1280px */
  }
  #tlp-hero .tlp-hero-inner {
    display: block;
  }
  #tlp-hero .tlp-hero-content {
    width: 50%;
    max-width: 40rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: tlpRise 0.7s ease-out both;
  }
  #tlp-hero .tlp-hero-content > * {
    animation: none;
  }
  #tlp-hero .tlp-hero-text {
    font-size: 1.0625rem;
  }
  #tlp-hero .tlp-hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #tlp-hero .tlp-hero-actions .tlp-btn {
    min-height: 3.75rem;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
  }
  #tlp-hero .tlp-hero-points,
  #tlp-hero .tlp-hero-badges {
    max-width: none;
    gap: 0.5rem;
  }
  #tlp-hero .tlp-hero-points {
    margin-bottom: 0.5rem;
  }
  #tlp-hero .tlp-hero-point-icon,
  #tlp-hero .tlp-hero-badge-mark,
  #tlp-hero .tlp-hero-badge-seal {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6875rem;
  }
  #tlp-hero .tlp-hero-point-icon .tlp-icon,
  #tlp-hero .tlp-hero-badge-mark .tlp-icon,
  #tlp-hero .tlp-hero-badge-seal .tlp-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  #tlp-hero .tlp-hero-badge-score .tlp-stars .tlp-icon {
    width: 0.8125rem;
    height: 0.8125rem;
  }
  #tlp-hero .tlp-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: auto;
    margin: 0;
    border-top: none;
    /* accent chevron stripes behind the photo's cut edge */
  }
  #tlp-hero .tlp-hero-media:before,
  #tlp-hero .tlp-hero-media:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22% 50%);
  }
  #tlp-hero .tlp-hero-media:before {
    left: -1.25rem;
    background: linear-gradient(180deg, var(--tlpAccentHot), var(--tlpAccentGold));
  }
  #tlp-hero .tlp-hero-media:after {
    left: -3.25rem;
    z-index: -1;
    background: rgba(255, 255, 255, 0.07);
  }
  #tlp-hero .tlp-hero-photo {
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22% 50%);
    /* plumber sits left of centre in the photo: anchor left so he clears the chevron cut */
  }
  #tlp-hero .tlp-hero-photo img {
    object-position: left center;
  }
  #tlp-hero .tlp-hero-tag {
    top: 2.5rem;
    font-size: 0.875rem;
    padding: 0.5625rem 0.875rem;
  }
  #tlp-hero .tlp-hero-tag--after {
    left: 20%;
  }
  #tlp-hero .tlp-hero-tag--before {
    right: 2.5rem;
  }
  #tlp-hero .tlp-hero-person {
    width: 12.5rem;
    right: 3rem;
    bottom: 10.625rem;
  }
}
/* Large desktop - 1280px: room for a wider text column */
@media only screen and (min-width: 80em) {
  #tlp-hero .tlp-hero-content {
    width: 54%;
  }
  /* horizontal plates: icon left, text right, centred in each panel */
  #tlp-hero .tlp-hero-points li,
  #tlp-hero .tlp-hero-badge {
    min-height: 4.125rem;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.75rem 0.75rem 0.6875rem;
    text-align: left;
  }
  #tlp-hero .tlp-hero-points li:before,
  #tlp-hero .tlp-hero-badge:before {
    left: 1rem;
    right: 1rem;
  }
  #tlp-hero .tlp-hero-badge-body {
    align-items: flex-start;
  }
  #tlp-hero .tlp-hero-badge-score {
    flex-direction: row;
    gap: 0.375rem;
  }
  #tlp-hero .tlp-hero-badge-chips {
    align-items: flex-start;
    gap: 0.1875rem;
  }
}
/*-- -------------------------- -->
<---      Hero Quote Card       -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #tlp-quote-wrap {
    position: relative;
    z-index: 2;
    padding: 0 0 3rem;
  }
  .tlp-quote-card {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    background-color: var(--tlpInk);
    /* accent rule lifts the card off the navy hero behind it */
    border-top: 4px solid var(--tlpAccentHot);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 1.875rem 1rem 1.75rem;
    /* title with accent rules either side (reference style) */
    /* message box: full row, icon pinned to the first line */
  }
  .tlp-quote-card .tlp-quote-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.625rem;
    /* rules only from tablet up; on phones the title wraps */
  }
  .tlp-quote-card .tlp-quote-title:before,
  .tlp-quote-card .tlp-quote-title:after {
    content: '';
    display: none;
    flex: 1;
    min-width: 1rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--tlpAccentHot));
  }
  .tlp-quote-card .tlp-quote-title:after {
    background: linear-gradient(90deg, var(--tlpAccentHot), transparent);
  }
  .tlp-quote-card .tlp-quote-title span {
    font-family: var(--tlpFontHead);
    /* 24px - 40px */
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }
  .tlp-quote-card .tlp-quote-title em {
    font-style: normal;
    color: var(--tlpAccent);
  }
  .tlp-quote-card .tlp-quote-sub {
    font-size: 0.9375rem;
    line-height: 1.5em;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    max-width: 38.75rem;
    margin: 0 auto 1.375rem;
  }
  .tlp-quote-card .tlp-quote-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .tlp-quote-card .tlp-quote-field {
    position: relative;
    display: block;
  }
  .tlp-quote-card .tlp-quote-field > .tlp-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
    pointer-events: none;
  }
  .tlp-quote-card .tlp-quote-field input,
  .tlp-quote-card .tlp-quote-field select,
  .tlp-quote-card .tlp-quote-field textarea {
    display: block;
    width: 100%;
    height: 3.375rem;
    /* 16px stops iOS zooming into the field */
    font-size: 1rem;
    font-family: inherit;
    color: #fff;
    padding: 0 2.875rem 0 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, background-color 0.3s;
  }
  .tlp-quote-card .tlp-quote-field input::placeholder,
  .tlp-quote-card .tlp-quote-field select::placeholder,
  .tlp-quote-card .tlp-quote-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.85);
  }
  .tlp-quote-card .tlp-quote-field input:focus,
  .tlp-quote-card .tlp-quote-field select:focus,
  .tlp-quote-card .tlp-quote-field textarea:focus {
    outline: none;
    border-color: var(--tlpAccent);
    background-color: rgba(255, 255, 255, 0.12);
  }
  .tlp-quote-card .tlp-quote-field textarea {
    height: 6.5rem;
    padding-top: 0.9375rem;
    padding-bottom: 0.9375rem;
    line-height: 1.45em;
    resize: vertical;
  }
  .tlp-quote-card .tlp-quote-field select {
    appearance: none;
    /* chevron */
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 1.4rem) 50%, calc(100% - 1.05rem) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
  }
  .tlp-quote-card .tlp-quote-field select option {
    color: var(--tlpInk);
  }
  .tlp-quote-card .tlp-quote-field--message {
    grid-column: 1 / -1;
  }
  .tlp-quote-card .tlp-quote-field--message > .tlp-icon {
    top: 1.0625rem;
    transform: none;
  }
  .tlp-quote-card .tlp-quote-submit {
    width: 100%;
    min-height: 3.625rem;
    font-size: 1.125rem;
    margin-top: 0.375rem;
  }
  .tlp-quote-card .tlp-quote-assure {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.375rem;
    margin-top: 1.125rem;
  }
  .tlp-quote-card .tlp-quote-assure li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
  }
  .tlp-quote-card .tlp-quote-assure .tlp-icon {
    width: 1rem;
    height: 1rem;
    color: var(--tlpAccent);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  #tlp-quote-wrap {
    padding: 0 1rem 3.5rem;
    margin-top: -2.5rem;
  }
  .tlp-quote-card {
    padding: 2.25rem 2rem 1.875rem;
    /*
            Pages keep their own fields, so the form carries its input count (--2, --3, --4).
            Two columns here; with three inputs the third runs full width.
        */
  }
  .tlp-quote-card .tlp-quote-title:before,
  .tlp-quote-card .tlp-quote-title:after {
    display: block;
  }
  .tlp-quote-card .tlp-quote-form {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .tlp-quote-card .tlp-quote-form--3 .tlp-quote-field:nth-of-type(3) {
    grid-column: 1 / -1;
  }
  .tlp-quote-card .tlp-quote-submit {
    grid-column: 1 / -1;
    justify-self: center;
    width: 21.25rem;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64em) {
  #tlp-quote-wrap {
    margin-top: -6rem;
    /* wide hero card: every input on one row */
  }
  #tlp-quote-wrap .tlp-quote-card {
    padding: 2.375rem 2.75rem 2rem;
  }
  #tlp-quote-wrap .tlp-quote-form {
    gap: 1.125rem 1.25rem;
  }
  #tlp-quote-wrap .tlp-quote-form--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  #tlp-quote-wrap .tlp-quote-form--3 .tlp-quote-field:nth-of-type(3) {
    grid-column: auto;
  }
  #tlp-quote-wrap .tlp-quote-form--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
/*-- -------------------------- -->
<---        Brand Strip         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #tlp-brands {
    background-color: #fff;
    border-top: 1px solid var(--tlpLine);
    padding: 1.375rem 0 1.625rem;
    /* logos drift right to left, fading out at both edges */
    /*
            Logo height comes from displayHeight in _data/brands.json (--logo-h, in px),
            which evens out the visual size of square vs very wide logos.
        */
  }
  #tlp-brands .tlp-brands-inner {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
  }
  #tlp-brands .tlp-brands-title {
    font-family: var(--tlpFontHead);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.25em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: var(--tlpHeading);
    padding: 0 1rem;
  }
  #tlp-brands .tlp-brands-title span {
    color: var(--tlpAccentDeep);
  }
  #tlp-brands .tlp-brands-band {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  #tlp-brands .tlp-brands-track {
    display: flex;
    width: max-content;
    animation: tlpMarquee 45s linear infinite;
  }
  #tlp-brands .tlp-brands-band:hover .tlp-brands-track {
    animation-play-state: paused;
  }
  #tlp-brands .tlp-brands-list {
    list-style: none;
    display: flex;
    align-items: center;
  }
  #tlp-brands .tlp-brands-logo {
    flex: none;
    height: 3rem;
    margin: 0 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #tlp-brands .tlp-brands-logo img {
    display: block;
    width: auto;
    height: calc(var(--logo-h, 40) * 0.7px);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  #tlp-brands {
    padding: 1.75rem 1rem 2rem;
  }
  #tlp-brands .tlp-brands-logo {
    height: 3.75rem;
    margin: 0 1.875rem;
  }
  #tlp-brands .tlp-brands-logo img {
    height: calc(var(--logo-h, 40) * 0.85px);
  }
}
/* Desktop - 1024px: title sits left of the logo band */
@media only screen and (min-width: 64em) {
  #tlp-brands .tlp-brands-inner {
    flex-direction: row;
    gap: 2.25rem;
  }
  #tlp-brands .tlp-brands-title {
    flex: none;
    white-space: nowrap;
    font-size: 0.9375rem;
    text-align: left;
    padding: 0 1.75rem 0 0;
    border-right: 3px solid var(--tlpAccentHot);
  }
  #tlp-brands .tlp-brands-title span {
    display: block;
  }
  #tlp-brands .tlp-brands-band {
    flex: 1;
    min-width: 0;
  }
}
/*-- -------------------------- -->
<---      Scrolling Strip       -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  .tlp-marquee {
    overflow: hidden;
    background: var(--tlpAccentGrad);
    color: var(--tlpOnAccent);
    padding: 0.75rem 0;
  }
  .tlp-marquee .tlp-marquee-track {
    display: flex;
    width: max-content;
    animation: tlpMarquee 38s linear infinite;
  }
  .tlp-marquee ul {
    list-style: none;
    display: flex;
  }
  .tlp-marquee li {
    font-family: var(--tlpFontHead);
    /* 18px - 28px */
    font-size: clamp(1.125rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.1em;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    /* dot separator */
  }
  .tlp-marquee li:after {
    content: '';
    width: 0.28em;
    height: 0.28em;
    margin: 0 0.9em;
    border-radius: 50%;
    background-color: currentColor;
  }
  .tlp-marquee--dark {
    background: var(--tlpInkDeep);
    color: #fff;
  }
  @keyframes tlpMarquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
}
