/* Global mobile / iPhone polish — loaded on every public page */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

@keyframes menu-btn-glow {
  from {
    box-shadow:
      0 0 0 2px rgba(200, 245, 66, 0.3),
      0 0 10px rgba(200, 245, 66, 0.4),
      0 0 20px rgba(61, 139, 22, 0.18);
  }
  to {
    box-shadow:
      0 0 0 3px rgba(200, 245, 66, 0.55),
      0 0 18px rgba(200, 245, 66, 0.75),
      0 0 34px rgba(61, 139, 22, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-btn {
    animation: none !important;
  }
}

/* Prevent iOS input zoom (needs ≥16px) */
@media (max-width: 768px) {
  input,
  select,
  textarea,
  button {
    font-size: 16px !important;
  }

  body {
    overflow-x: hidden;
  }

  .wrap {
    width: min(1120px, calc(100% - 24px));
  }

  .topbar-inner {
    padding: 8px 0 10px;
    gap: 10px;
  }

  .nav-brand img {
    width: 36px;
    height: 36px;
  }

  .nav-brand strong {
    font-size: 13px;
  }

  .nav-brand span {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 0 !important;
    border-color: #c8f542 !important;
    background: #f4fbe6 !important;
    color: #1a3d0a !important;
    box-shadow:
      0 0 0 2px rgba(200, 245, 66, 0.35),
      0 0 14px rgba(200, 245, 66, 0.55),
      0 0 28px rgba(61, 139, 22, 0.28);
    animation: menu-btn-glow 1.8s ease-in-out infinite alternate;
  }

  .menu-btn:hover,
  .menu-btn[aria-expanded="true"] {
    box-shadow:
      0 0 0 3px rgba(200, 245, 66, 0.5),
      0 0 18px rgba(200, 245, 66, 0.7),
      0 0 36px rgba(61, 139, 22, 0.35);
  }

  h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.1rem) !important;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem) !important;
    line-height: 1.25;
  }

  h3 {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem) !important;
  }

  .lead,
  .home-plain {
    font-size: 15px !important;
    line-height: 1.55;
  }

  .kicker {
    font-size: 11px;
  }

  .btn,
  .cr-btn,
  .jb-apply-btn,
  .jb-join-btn,
  .jb-submit {
    min-height: 44px;
    font-size: 14px !important;
  }

  .site-footer {
    padding: 28px 0 96px;
    font-size: 11px;
  }

  .foot-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    margin-bottom: 14px;
  }

  /* Brand full width (compact), Work links in 2 cols, then Counsel | Talk */
  .foot-col-brand {
    order: 1;
    grid-column: 1 / -1;
  }

  .foot-col-brand p {
    margin: 0 0 3px !important;
  }

  .foot-col-work {
    order: 2;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 2px;
  }

  .foot-col-work h3 {
    grid-column: 1 / -1;
    margin-bottom: 4px !important;
  }

  .foot-col-work p {
    margin: 0 !important;
  }

  .foot-col-counsel {
    order: 3;
    grid-column: auto;
  }

  .foot-col-talk {
    order: 4;
    grid-column: auto;
  }

  .foot-col-counsel p {
    margin: 0 0 8px !important;
    line-height: 1.35 !important;
  }

  .foot-grid h3 {
    font-size: 12px !important;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .foot-grid p {
    font-size: 11px !important;
    line-height: 1.3;
    margin: 0 0 4px;
  }

  .foot-social {
    gap: 6px;
    margin-top: 6px;
  }

  .foot-social-btn {
    width: 30px;
    height: 30px;
  }

  .foot-social-btn svg {
    width: 20px;
    height: 20px;
  }

  .foot-pay {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 10px;
  }

  .foot-pay > div {
    flex: none;
    width: 100%;
  }

  .foot-pay-kicker {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .foot-pay p {
    font-size: 10px !important;
    line-height: 1.35;
  }

  .pay-marks {
    gap: 4px;
  }

  .pay-mark {
    width: 36px;
    height: 22px;
  }

  .foot-copy {
    font-size: 10px;
    line-height: 1.4;
  }

  /* Demo / studio iPhone play control — keep obvious on phones */
  .studio-vbtn {
    width: 72px;
    height: 72px;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.4),
      0 0 0 8px rgba(200, 245, 66, 0.28);
  }

  .studio-vbtn-play {
    border-width: 12px 0 12px 20px;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .card,
  .notice {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1120px, calc(100% - 20px));
  }

  .topbar-util {
    font-size: 11px;
  }

  .nav-brand span {
    max-width: 11rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 1.45rem !important;
  }

  h2 {
    font-size: 1.2rem !important;
  }

  h3 {
    font-size: 1.05rem !important;
  }

  .lead {
    font-size: 14px !important;
  }

  .btn {
    padding: 10px 14px;
    font-size: 13px !important;
  }

  .home-hero {
    padding: 28px 0 36px !important;
  }

  .studio-vbtn {
    width: 64px;
    height: 64px;
  }

  /* Floating WhatsApp / lead widgets should not crush content */
  .wa-float,
  .wa-lead-fab,
  [class*="wa-"][class*="float"] {
    transform: scale(0.92);
    transform-origin: bottom right;
  }
}

/* Careers board — phone layout */
@media (max-width: 768px) {
  body.careers-page .jb-search {
    padding: 12px 0 14px;
  }

  body.careers-page .jb-brand {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  body.careers-page .jb-crumb {
    display: none;
  }

  body.careers-page .jb-form,
  body.careers-page .jb-filters,
  body.careers-page .jb-sort {
    display: none !important;
  }

  body.careers-page .jb-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.careers-page .jb-pair-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  body.careers-page .jb-pair-field span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: lowercase;
  }

  body.careers-page .jb-pair-field select {
    width: 100%;
    min-height: 40px;
    padding: 0 28px 0 10px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    color: #1a2433;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235a6578' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;
    appearance: none;
  }

  body.careers-page .jb-results-title {
    font-size: 1.2rem;
  }

  body.careers-page .jb-toolbar {
    width: 100%;
    justify-content: space-between;
  }

  body.careers-page .jb-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.careers-page .jb-cards[data-view="list"] {
    grid-template-columns: 1fr;
  }

  body.careers-page .jb-card {
    min-height: 0;
    gap: 4px;
    padding: 10px 10px 8px;
    border-radius: 8px;
  }

  body.careers-page .jb-card-top {
    gap: 4px;
  }

  body.careers-page .jb-card-title,
  body.careers-page .jb-card-open {
    font-size: 13px !important;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.careers-page .jb-card-id {
    font-size: 10px;
  }

  body.careers-page .jb-heart {
    width: 26px;
    height: 26px;
  }

  body.careers-page .jb-heart svg {
    width: 15px;
    height: 15px;
  }

  body.careers-page .jb-card-meta {
    font-size: 11px;
    gap: 4px;
    line-height: 1.3;
  }

  body.careers-page .jb-card-meta svg {
    width: 12px;
    height: 12px;
  }

  body.careers-page .jb-card-foot {
    padding-top: 4px;
    margin-top: 2px;
  }

  body.careers-page .jb-card-foot time {
    font-size: 10px;
  }

  body.careers-page .jb-info svg {
    width: 15px;
    height: 15px;
  }

  body.careers-page .jb-cards[data-view="list"] .jb-card-title,
  body.careers-page .jb-cards[data-view="list"] .jb-card-open {
    font-size: 15px !important;
    -webkit-line-clamp: unset;
    display: block;
  }

  body.careers-page .jb-cards[data-view="list"] .jb-card-meta {
    font-size: 13px;
  }

  body.careers-page .jb-job-title {
    font-size: 1.35rem;
  }

  body.careers-page .jb-job-summary {
    font-size: 14px;
  }

  body.careers-page .jb-job-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.careers-page .jb-job-meta li {
    font-size: 13px;
    padding: 8px 10px;
  }

  body.careers-page .jb-job-body {
    grid-template-columns: 1fr;
  }

  body.careers-page .jb-apply-panel {
    max-width: calc(100vw - 16px);
    padding: 20px 14px 18px;
  }

  body.careers-page .jb-form-grid {
    grid-template-columns: 1fr;
  }

  body.careers-page .jb-join {
    margin-top: 16px;
    padding: 22px 16px;
  }

  body.careers-page .jb-join-title {
    font-size: 1.35rem;
  }

  body.careers-page .jb-join-text {
    font-size: 14px;
  }

  body.careers-page .jb-join-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex-wrap: nowrap;
  }

  body.careers-page .jb-join-btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
  }

  body.careers-page .cr-compact-inner h2 {
    font-size: 1.15rem;
  }

  body.careers-page .cr-compact-inner p:last-child {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body.careers-page .jb-job-meta {
    grid-template-columns: 1fr;
  }

  body.careers-page .jb-filter-row {
    gap: 6px;
  }

  body.careers-page .jb-chip {
    font-size: 12px;
    min-height: 34px;
    padding: 0 12px;
  }

  body.careers-page .jb-apply-btn {
    min-width: 0;
    width: 100%;
  }

  body.careers-page .jb-job-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* About */
@media (max-width: 640px) {
  body.about-page .ab-hero h1,
  .about-page h1 {
    font-size: 1.5rem !important;
  }
}

/* Counseling hubs */
@media (max-width: 640px) {
  .cx-hero h1,
  .cx-desk h1,
  .counseling-page h1 {
    font-size: 1.45rem !important;
  }

  .cx-hero .lead,
  .cx-lead {
    font-size: 14px !important;
  }
}

/* Home hero — mobile-only polish */
@media (max-width: 768px) {
  .hp-hero {
    padding-top: 22px;
    min-height: 0;
  }

  .hp-hero-split {
    gap: 18px;
  }

  .hp-chip {
    font-size: 9px !important;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    margin: 0 0 12px;
  }

  .hp-hero h1,
  .hp-hero .hp-title {
    font-size: clamp(2.05rem, 11.5vw, 2.65rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.045em;
    margin: 0 0 14px;
  }

  .hp-thin {
    font-size: 0.4em !important;
    margin-top: 10px;
  }

  .hp-sub {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    margin: 0 0 18px;
  }

  .hp-cta {
    gap: 8px;
    align-items: center;
  }

  .hp-btn-line {
    font-size: 13px !important;
    padding: 11px 16px;
  }

  /* WhatsApp = logo-only on mobile */
  .hp-btn-wa {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    font-size: 0 !important;
    flex: none;
  }

  .hp-btn-wa .hp-wa-ico {
    width: 24px;
    height: 24px;
  }

  .hp-btn-wa .hp-wa-label {
    display: none !important;
  }

  .hp-phone-hint {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .hp-phone-stage {
    width: min(236px, 62vw);
    margin-inline: auto;
  }

  .hp-phone {
    --phone-w: 236px;
    --phone-h: 505px;
    width: 236px;
    height: 505px;
    max-width: 62vw;
    border-radius: 34px;
    padding: 8px;
    box-shadow:
      0 0 0 1.5px #c8f542,
      0 0 0 6px rgba(200, 245, 66, 0.2),
      0 18px 40px rgba(18, 20, 26, 0.22);
    margin-inline: auto;
  }

  .hp-phone-glass {
    border-radius: 28px;
  }

  .hp-phone-island {
    width: 72px;
    height: 18px;
    margin-top: 8px;
  }

  .hp-phone-hand {
    width: 110px !important;
    right: -16px !important;
  }

  /* Smaller phone frame → scroll service cards inside */
  .hp-zpath {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 6px;
  }

  .hp-zpath-grid {
    flex: none;
    min-height: 0;
    align-content: start;
    gap: 8px;
  }

  .hp-zcard {
    min-height: 72px;
  }

  .hp-ztrack > * {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .hp-ios-home {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

@media (max-width: 480px) {
  .hp-chip {
    font-size: 8px !important;
    letter-spacing: 0.08em;
    padding: 4px 9px;
  }

  .hp-hero h1,
  .hp-hero .hp-title {
    font-size: clamp(1.95rem, 12.5vw, 2.45rem) !important;
  }

  .hp-sub {
    font-size: 15px !important;
  }

  .hp-phone-stage {
    width: min(210px, 58vw);
  }

  .hp-phone {
    --phone-w: 210px;
    --phone-h: 449px;
    width: 210px;
    height: 449px;
    max-width: 58vw;
    border-radius: 30px;
    padding: 7px;
  }

  .hp-phone-glass {
    border-radius: 24px;
  }

  .hp-btn-wa {
    width: 44px;
    height: 44px;
  }

  .hp-btn-wa .hp-wa-ico {
    width: 22px;
    height: 22px;
  }

  .hp-zpath-head h2 {
    font-size: 16px !important;
  }

  .hp-zcard b {
    font-size: 11px;
  }

  .hp-zcard small {
    font-size: 9px;
  }
}

/* Hire doors — always 2 cards per row on phones */
@media (max-width: 768px) {
  .hp-grid,
  .hp-grid-small {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .hp-grid-small .hp-door:last-child {
    grid-column: 1 / -1;
  }

  .hp-tile.hp-door {
    min-height: 0;
    padding: 12px 10px 10px;
  }

  .hp-tile.hp-door h3 {
    font-size: 14px !important;
    line-height: 1.2;
  }

  .hp-tile.hp-door p {
    font-size: 11px !important;
    line-height: 1.4;
    margin: 0 0 8px;
  }

  .hp-tile.hp-door i {
    font-size: 11px !important;
    padding: 7px 9px;
  }

  .hp-tile .hp-art-b {
    width: 56px;
    height: 56px;
  }

  .hp-tile-sm .hp-art-b {
    width: 48px;
    height: 48px;
  }

  /* People hire this most — mobile marquee (~2 cards visible) */
  .hp-popular {
    overflow: hidden;
    margin-top: 14px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .hp-popular-track {
    display: flex !important;
    width: max-content;
    gap: 10px;
    animation: hp-popular-marquee 18s linear infinite;
  }

  .hp-popular-track a[data-mq-clone] {
    display: block !important;
  }

  .hp-popular a {
    flex: 0 0 min(46vw, 168px);
    width: min(46vw, 168px);
    padding: 14px 12px;
    transform: none !important;
  }

  .hp-popular a:hover {
    transform: none !important;
    border-color: #c8e87a;
  }

  .hp-popular strong {
    font-size: 14px !important;
    margin-bottom: 4px;
  }

  .hp-popular span {
    font-size: 11.5px !important;
    line-height: 1.4;
    display: block;
  }

  .hp-popular:hover .hp-popular-track,
  .hp-popular:focus-within .hp-popular-track {
    animation-play-state: paused;
  }
}

@keyframes hp-popular-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* What a Zeline build is — fit the phone */
@media (max-width: 768px) {
  .hp-build {
    padding: 32px 0 28px;
    overflow: hidden;
  }

  .hp-build .wrap,
  .hp-build-grid,
  .hp-build-grid > div {
    min-width: 0;
    max-width: 100%;
  }

  .hp-build-grid {
    gap: 22px !important;
  }

  .hp-build .hp-sec-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
  }

  .hp-build h2 {
    font-size: 1.35rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
  }

  .hp-build-grid > div > p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0;
  }

  .hp-build .hp-checks {
    margin: 12px 0 14px;
  }

  .hp-build .hp-checks li {
    padding: 7px 0 7px 28px;
    font-size: 13px;
    line-height: 1.35;
  }

  .hp-build .hp-checks li::before {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .hp-build .hp-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hp-build .hp-cta .hp-btn {
    width: 100%;
    padding: 11px 8px;
    font-size: 13px !important;
    text-align: center;
    line-height: 1.2;
  }

  .hp-popular {
    max-width: 100%;
  }

  .hp-popular a {
    flex: 0 0 46vw;
    width: 46vw;
    min-height: 112px;
  }

  .hp-more {
    padding: 8px 0 36px;
  }

  .hp-more-grid {
    gap: 16px !important;
  }

  .hp-more h2 {
    font-size: 1.4rem !important;
    line-height: 1.18 !important;
    margin-bottom: 10px;
  }

  .hp-more-lead {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px;
  }

  .hp-more-link {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .hp-more-points {
    overflow: hidden;
    margin-top: 6px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .hp-more-track {
    display: flex !important;
    width: max-content;
    gap: 10px;
    animation: hp-more-marquee 20s linear infinite;
  }

  .hp-more-track [data-mq-clone] {
    display: block !important;
  }

  .hp-more-points article {
    flex: 0 0 72vw;
    width: 72vw;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .hp-more-points h3 {
    font-size: 15px !important;
    margin: 2px 0 4px;
  }

  .hp-more-points p {
    font-size: 13px !important;
    line-height: 1.4;
  }

  .hp-more-points:hover .hp-more-track,
  .hp-more-points:focus-within .hp-more-track {
    animation-play-state: paused;
  }
}

@keyframes hp-more-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .hp-popular {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hp-popular-track {
    animation: none !important;
  }

  .hp-values {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hp-values-track {
    animation: none !important;
  }

  .hp-more-points {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hp-more-track {
    animation: none !important;
  }
}

/* Our Core Values — mobile marquee (~2 cards visible) */
@media (max-width: 768px) {
  .hp-values {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .hp-values-track {
    display: flex !important;
    width: max-content;
    gap: 10px;
    grid-template-columns: none !important;
    animation: hp-values-marquee 22s linear infinite;
  }

  .hp-values-track [data-mq-clone] {
    display: flex !important;
  }

  .hp-values-track .hp-value {
    flex: 0 0 min(46vw, 168px);
    width: min(46vw, 168px);
    padding: 14px 12px;
    gap: 10px;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hp-values-track .hp-value h4 {
    font-size: 14px !important;
  }

  .hp-values-track .hp-value p {
    font-size: 11.5px !important;
    line-height: 1.4;
  }

  .hp-values-track .hp-value b {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .hp-values:hover .hp-values-track,
  .hp-values:focus-within .hp-values-track {
    animation-play-state: paused;
  }
}

@keyframes hp-values-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Path steps — points left, WhatsApp logo button right */
@media (max-width: 768px) {
  .hp-path .wrap {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 14px;
  }

  .hp-path-row {
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .hp-path-row > div {
    display: flex;
    align-items: baseline;
    gap: 0.35em;
  }

  .hp-path-row b {
    display: inline !important;
    flex: none;
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: 0;
    color: #3d8b16;
  }

  .hp-path-row span {
    display: inline;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
  }

  .hp-path-wa {
    width: 48px !important;
    height: 48px;
    min-width: 48px;
    padding: 0 !important;
    flex: none;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
  }

  .hp-path-wa-label {
    display: none !important;
  }

  .hp-path-wa .hp-wa-ico {
    width: 26px;
    height: 26px;
    color: #128c4a;
  }
}

/* Trust / certification badges — smaller icons on mobile */
@media (max-width: 768px) {
  .hp-trust {
    padding: 36px 0 44px;
  }

  .hp-trust-head h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem) !important;
  }

  .hp-trust-emblem {
    width: 52px;
    height: 52px;
  }

  .hp-trust-logos {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 8px;
    justify-items: center;
  }

  .hp-trust-logos figure {
    width: 100%;
    max-width: 96px;
  }

  .hp-trust-logos svg {
    width: 72px !important;
    max-width: 72px;
    margin-inline: auto;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }

  .hp-trust-logos figcaption {
    font-size: 10px;
    margin-top: 6px;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .hp-trust-logos svg {
    width: 64px !important;
    max-width: 64px;
  }

  .hp-trust-logos figure {
    max-width: 84px;
  }
}

/* About — stats stay side by side; founding desks scroll */
@media (max-width: 768px) {
  .ab-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .ab-stat {
    padding: 12px 10px;
  }

  .ab-stat strong {
    font-size: 1.35rem !important;
  }

  .ab-stat > span {
    font-size: 11px;
  }

  .ab-facts {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .ab-facts article {
    padding: 12px 10px;
  }

  .ab-facts h3 {
    font-size: 11px !important;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .ab-facts p {
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .ab-social {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .ab-social-card {
    align-items: center;
    text-align: center;
    padding: 10px 6px 12px;
    gap: 6px;
  }

  .ab-social-ico {
    margin-bottom: 0;
  }

  .ab-social-ico svg {
    width: 32px;
    height: 32px;
  }

  .ab-social-card b {
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1.2;
  }

  .ab-social-meta {
    display: none;
  }

  .ab-founder-grid {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .ab-founder-track {
    display: flex !important;
    width: max-content;
    gap: 10px;
    grid-template-columns: none !important;
    animation: ab-founder-marquee 24s linear infinite;
  }

  .ab-founder-track [data-mq-clone] {
    display: block !important;
  }

  .ab-founder-track .ab-founder {
    flex: 0 0 78vw;
    width: 78vw;
    padding: 16px 14px;
  }

  .ab-founder-track .ab-founder h3 {
    font-size: 1rem !important;
  }

  .ab-founder-grid:hover .ab-founder-track,
  .ab-founder-grid:focus-within .ab-founder-track {
    animation-play-state: paused;
  }

  .ab-mile-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .ab-mile-grid {
    display: flex !important;
    width: max-content;
    gap: 10px;
    grid-template-columns: none !important;
    animation: ab-mile-marquee 28s linear infinite;
  }

  .ab-mile-grid [data-mq-clone] {
    display: flex !important;
  }

  .ab-mile-grid li {
    flex: 0 0 46vw;
    width: 46vw;
    padding: 14px 10px;
  }

  .ab-mile-logo svg {
    width: 52px;
    height: 52px;
  }

  .ab-mile-grid b {
    font-size: 13px !important;
  }

  .ab-mile-scroll:hover .ab-mile-grid,
  .ab-mile-scroll:focus-within .ab-mile-grid {
    animation-play-state: paused;
  }
}

@keyframes ab-founder-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ab-mile-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .ab-founder-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .ab-founder-track {
    animation: none !important;
  }

  .ab-mile-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .ab-mile-grid {
    animation: none !important;
  }
}

/* Counselling desks — contact cards stay two-up */
@media (max-width: 768px) {
  .cn-contact-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .cn-contact-card {
    padding: 12px 10px;
  }

  .cn-contact-card b {
    font-size: 13px !important;
  }

  .cn-contact-card span {
    font-size: 11px;
    line-height: 1.35;
  }

  .cn-hero-copy {
    padding-right: 0;
  }

  .cn-float-chip {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .cn-float-chip span {
    padding: 6px 7px;
    font-size: 9px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .sc-hero-copy,
  .st-hero-copy,
  .fl-hero-copy,
  .ag-hero-copy,
  .itc-hero-copy,
  .cn-hero-copy {
    padding-right: 0;
  }

  .sc-actions,
  .st-actions,
  .fl-actions,
  .ag-actions,
  .itc-actions,
  .oj-actions,
  .cn-actions,
  .custom-actions,
  .st-explore-actions {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .sc-actions .sc-btn,
  .st-actions .st-btn,
  .fl-actions .fl-btn,
  .ag-actions .ag-btn,
  .itc-actions .itc-btn,
  .oj-actions .oj-btn,
  .cn-actions .cn-btn,
  .custom-actions .custom-btn,
  .st-explore-actions .st-btn {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    min-height: 44px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .action-mark {
    display: block;
    flex: none;
  }

  .sc-actions .is-mark,
  .st-actions .is-mark,
  .fl-actions .is-mark,
  .ag-actions .is-mark,
  .itc-actions .is-mark,
  .oj-actions .is-mark,
  .cn-actions .is-mark,
  .custom-actions .is-mark {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    padding: 0;
  }

  .is-mark .btn-words {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .oj-actions .oj-btn-primary,
  .custom-actions .custom-btn-primary:not(.is-mark) {
    gap: 6px;
  }

  .cn-brand-actions .cn-btn-line,
  .cn-brand-actions .cn-btn-dark {
    min-height: 42px;
    padding: 6px 6px;
    font-size: 11px !important;
  }

  .cn-desk-cta-actions {
    grid-template-columns: 1fr 1fr !important;
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }

  .cn-desk-cta-actions .cn-btn-dark,
  .cn-desk-cta-actions .cn-btn-line {
    min-height: 42px;
    padding: 6px 6px;
    font-size: 12px !important;
  }

  #portals,
  .cn-browse-desk {
    display: none;
  }

  .cn-browse-phone {
    display: inline-flex;
  }

  .cn-core-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .cn-core-grid {
    display: flex !important;
    width: max-content;
    gap: 10px;
    grid-template-columns: none !important;
    animation: cn-core-marquee 280s linear infinite;
  }

  .cn-core-grid .is-extra,
  .cn-core-grid [data-mq-clone] {
    display: block !important;
  }

  .cn-core-card {
    flex: 0 0 82vw;
    width: 82vw;
    padding: 14px 14px 14px 16px;
  }

  .cn-core-card h3 {
    font-size: 1.05rem !important;
  }

  .cn-core-scroll:hover .cn-core-grid,
  .cn-core-scroll:focus-within .cn-core-grid {
    animation-play-state: paused;
  }

  .custom-hero-copy {
    padding-right: 0;
  }

  .custom-pillar-row {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 8px;
    padding: 12px 0;
    align-items: center;
  }

  .custom-pillar-num {
    font-size: 12px;
    padding-top: 0;
  }

  .custom-pillar-title {
    font-size: 0.95rem !important;
    margin-bottom: 2px;
  }

  .custom-pillar-text {
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .custom-steps li {
    padding: 12px 0;
    column-gap: 10px;
  }

  .custom-steps strong {
    font-size: 0.95rem !important;
  }

  .custom-steps span {
    font-size: 13px;
    line-height: 1.4;
  }

  .oj-hero-copy {
    padding-right: 0;
  }

  .shop-process {
    padding: 14px 8px 10px;
    border-radius: 18px;
    margin-bottom: 16px;
    overflow-x: clip;
  }

  .shop-process-head {
    margin-bottom: 10px;
  }

  .shop-process-head h2 {
    font-size: 1.05rem !important;
  }

  .shop-process-track {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    overflow: visible;
    padding: 2px 0 4px;
  }

  .shop-process-track::before {
    top: 22px;
    left: 6%;
    right: 6%;
  }

  .shop-process-track::after {
    top: 16px;
  }

  .shop-process-track li {
    min-width: 0 !important;
    width: auto;
    flex: none;
    padding: 6px 2px 8px;
    border-radius: 12px;
  }

  .shop-step-orb {
    width: 34px;
    height: 34px;
    margin: 0 auto 6px;
  }

  .shop-step-orb b {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .shop-process-track strong {
    font-size: 9px !important;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-process-track li > span {
    display: none;
  }

  .shop-step-tip {
    width: min(230px, calc(100vw - 28px));
  }

  .shop-process-track li:nth-child(4) .shop-step-tip,
  .shop-process-track li:nth-child(5) .shop-step-tip {
    left: auto;
    right: 0;
  }

  .shop-explore {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    overflow: visible;
  }

  .shop-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .shop-filters h2,
  .shop-else { display: none; }

  .shop-filter-full { display: none; }
  .shop-filter-short { display: inline; }

  .shop-filter-block {
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: #fff;
    min-height: 42px;
  }

  .shop-filter-block.is-cat { border-color: #b7d9a8; }
  .shop-filter-block.is-trade { border-color: #f0d9a0; }
  .shop-filter-block.is-feat { border-color: #b4cfe8; }

  .shop-filter-block > label,
  .shop-drop summary {
    margin: 0;
    min-height: 42px;
    padding: 0 16px 0 8px;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-filter-block.is-cat > label {
    pointer-events: none;
  }

  .shop-filter-block.is-cat > label::after,
  .shop-drop summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    flex: none;
  }

  .shop-cat {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .shop-drop[open] summary::after {
    transform: rotate(-135deg) translateY(-1px);
  }

  .shop-drop[open] .shop-checks {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    width: min(86vw, 300px);
    max-height: 48vh;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(16, 20, 28, 0.12);
    box-shadow: 0 14px 32px rgba(16, 20, 28, 0.16);
  }

  .shop-filter-block.is-trade .shop-drop[open] .shop-checks {
    left: 50%;
    transform: translateX(-50%);
  }

  .shop-filter-block.is-feat .shop-drop[open] .shop-checks {
    left: auto;
    right: 0;
  }

  .shop-cards {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .shop-card { border-radius: 16px; }

  .shop-card-body {
    padding: 10px;
  }

  .shop-card-body h3 {
    font-size: 13px !important;
    margin-bottom: 4px;
  }

  .shop-card-body ul {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .shop-card-meta {
    margin-bottom: 8px;
    letter-spacing: 0.06em;
  }

  .shop-card-actions {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .shop-btn-details {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 8px;
    font-size: 12px;
  }

  .shop-btn-wa,
  .shop-btn-mail {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0;
    gap: 0;
  }

  .shop-btn-wa svg,
  .shop-btn-mail svg {
    width: 16px;
    height: 16px;
  }

  .shop-locale-nav {
    margin: 8px 0 0;
    gap: 6px;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .shop-locale-full { display: none; }

  .shop-locale-short {
    display: inline;
    font-size: 9px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .shop-locale-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    min-height: 0;
    padding: 0 22px 0 10px;
    font-size: 11px !important;
    line-height: 26px;
    background-position: right 8px center;
    box-shadow: inset 0 0 0 1px rgba(200, 245, 66, 0.16);
  }

  .shop-tz-note {
    margin-top: 6px;
    font-size: 12px;
  }

  .shop-callpop {
    left: 12px;
    right: 12px;
    bottom: 72px;
    width: auto;
    padding: 10px 34px 10px 12px;
    border-radius: 14px;
  }

  .shop-callpop-title { font-size: 13px; }
  .shop-callpop-sub { margin-bottom: 8px; font-size: 12px; }
  .shop-callpop-btn { min-height: 32px; font-size: 12px; }
}

@keyframes cn-core-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .cn-core-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .cn-core-grid {
    animation: none !important;
  }
}
