/* ============================================================
   PSIP East Coast 2027 — Responsive
   ============================================================ */

/* Laptop */
@media (max-width: 1199px) {
    .ticket-cta {
        padding: 0.65rem 10px;
        text-align: left;
    }
  .nav-links a {
    padding: 0.45rem 9px 0.45rem 0;
    font-size: 10px;
  }

  .questions-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .questions-grid {
    grid-column: 1;
    grid-row: auto;
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
  }

  .poll-widget {
    grid-column: 1;
    grid-row: auto;
    position: static;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .poll-intro-card {
    padding: 1.25rem 1.35rem 1.15rem;
  }

  .poll-widget-title {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  }

  .poll-prompt {
    font-size: 0.875rem;
  }

  .poll-shell {
    padding: 1rem 1.15rem 1.1rem;
  }

  .poll-options {
    overflow: visible;
    max-height: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .poll-option {
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 0.6rem;
  }

  .poll-option-icon {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.9rem;
  }

  .poll-see-btn {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip-item:nth-child(3n) {
    border-right: none;
  }

  .strip-item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }
  
  .speakers .speaker-social {
        top: 88%;
        left: 35%;
    }
}

/* Tablet */
@media (max-width: 991px) {
  :root {
    --nav-h: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-mobile-actions {
    display: flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-brand-logos {
    width: 7.5rem;
    max-width: 7.5rem;
    height: 2rem;
  }

  .nav-brand-logo {
    height: 2rem;
    max-width: 7.5rem;
  }

  .nav-mobile-panel {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1035;
    overflow-y: auto;
    visibility: hidden;
  }

  .nav-mobile-panel.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-mobile-panel a {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-mobile-panel a.active {
    color: var(--primary);
  }

  .nav-mobile-panel .btn-psip {
    width: 100%;
    margin-top: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  }

  .hero-layout {
    gap: 0;
  }

  .hero-aside {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 2rem 0 0;
    text-align: right;
    overflow: hidden;
  }

  .hero-rotator {
    min-height: clamp(3rem, 12vw, 4.5rem);
    width: 100%;
    overflow: hidden;
  }

  .hero-rotator-item {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    text-align: right;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.3;
    font-size: clamp(1.35rem, 4.8vw, 1.85rem);
  }

  .hero-highlight {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .hero-rotator-progress {
    justify-content: flex-end;
  }

  .nj-visual {
    margin-inline: auto;
    width: 100%;
  }

  .why-attend-split {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .wa-stage {
    min-height: clamp(14rem, 48vw, 22rem);
    height: clamp(14rem, 48vw, 22rem);
    order: -1;
    clip-path: none;
  }

  .wa-menu-item {
    padding: 0.95rem 0.5rem;
    opacity: 0.55;
  }

  .wa-menu-item.is-active {
    opacity: 1;
  }

  .questions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poll-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
    .speaker-heading .h2 {
        font-size: 25px;
    }
    
    .speaker-heading .h4 {
        font-size: 14px;
    }
    
    .footer-widget-social {
        justify-content: start;
    }
  body {
    font-size: 16px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .hero-lead {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  }

  .hero-slogan {
    letter-spacing: 0.1em;
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-psip {
    width: 100%;
  }
  
  .hero-aside {
    margin-top: 1.75rem;
  }

  .hero-rotator {
    min-height: clamp(3.5rem, 18vw, 6rem);
  }

  .hero-rotator-item {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    line-height: 1.35;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.6rem 0.75rem 1.5rem;
  }

  .strip-title {
    font-size: clamp(2.5rem, 10vw, 3.15rem);
  }

  .strip-item:nth-child(2n) {
    border-right: none;
  }

  .strip-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .questions-grid {
    grid-template-columns: 1fr;
  }

  .questions-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: none;
  }

  .poll-widget {
    grid-column: auto;
    grid-row: auto;
  }

  .transformation-card {
    padding: 0.45rem;
  }

  .why-attend-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .wa-menu-title {
    font-size: 0.98rem;
  }

  .wa-stage {
    min-height: clamp(12rem, 52vw, 18rem);
    height: clamp(12rem, 52vw, 18rem);
  }

  .wa-stage::after {
    width: 1.75rem;
    height: 1.75rem;
    top: 0.65rem;
    right: 0.65rem;
  }

  .wa-stage-caption {
    gap: 0.6rem;
    padding: 1rem 1rem 0.85rem;
  }

  .wa-stage-caption-text {
    font-size: 0.88rem;
  }

  .audience-bg img {
    object-position: 65% center;
  }

  .audience-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .why-attend-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .audience-header-cta {
    width: 100%;
  }

  .why-attend-header-cta {
    width: 100%;
  }

  .audience-tags span {
    font-size: 0.95rem;
    padding: 0.5rem 0.95rem;
  }

  .faq-accordion {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .faq-accordion .accordion-button {
    padding: 1.1rem 1.15rem 1.1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-accordion .accordion-body {
    margin: 0 1.15rem 1.15rem;
    padding: 0.9rem 1rem 1rem;
  }

  .faq-q-num {
    min-width: 2.1rem;
    height: 2.1rem;
    font-size: 0.68rem;
  }

  .tf-card-surface {
    padding: 0.85rem 0.9rem 0.8rem;
  }

  .transformation-card.is-open {
    transform: translateY(-2px);
  }

  .poll-options {
    grid-template-columns: 1fr;
  }

  .poll-bar-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .poll-bar-pct {
    text-align: left;
  }

  .poll-shell {
    padding: 1.25rem 1rem;
  }

  .sig-force {
    padding-left: 1rem;
  }

  .sig-force-title {
    font-size: clamp(1.25rem, 6vw, 1.85rem);
  }

  .sig-force-desc {
    font-size: 0.82rem;
  }

  .sig-source-text {
    font-size: 1.05rem;
  }

  .sig-source {
    padding: 0.8rem 1rem;
  }

  .pillar {
    grid-template-columns: 2.75rem 1fr;
    gap: 1.1rem;
    padding: 1.2rem 0;
    align-items: center;
  }

  .pillar-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-size: 0.72rem;
  }

  .pillar-body {
    font-size: 1rem;
  }

  .nj-map-card {
    width: clamp(10.5rem, 48%, 14.5rem);
    right: 0.65rem;
    bottom: 0.65rem;
    border-radius: 12px;
  }

  .nj-map-view-btn {
    padding: 0.7rem 0.85rem;
    font-size: 0.625rem;
  }
}

@media (max-width: 639px) {
    .speaker-info {
        align-items: center;
        text-align: center;
    }
    .speakers .mySpeakerSwiper .speaker-social {
        top: 90%;
        left: 44%;
    }
}

@media (max-width: 575px){
    .speaker-heading {
        flex-direction: column;
        margin-bottom: 0;
    }
    .testimonials-stage {
        padding: 48px 15px 28px 15px;
    }
    .testimonials-stage-mark {
        left: 0;
    }
    .testimonial-slide blockquote {
        font-size: 16px;
    }
    .testimonial-logo {
        margin-top: 0;
        padding: 16px 0 4px 0;
    }
    .testimonial-logo img {
        max-width: 150px;
    }
    .footer-widget-social {
        justify-content: start;
    }
    
    .ticket-path {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .ticket-stub {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.7rem 1rem;
        gap: 0.75rem;
    }
    .ticket-stub::before, .ticket-stub::after {
        top: auto;
        bottom: 0;
        right: auto;
        transform: translateY(50%);
    }
    .ticket-stub::before {
        left: -9px;
    }
    .ticket-kicker {
        writing-mode: horizontal-tb;
        transform: none;
        margin: 0;
    }
    
    .ticket-stub::after {
        right: -9px;
        left: auto;
    }
}

/* Small phones */
@media (max-width: 429px) {
  .hero-meta {
    gap: 1rem 1.25rem;
  }

  .hero-meta-rule {
    height: 2.75rem;
  }
}

@media (max-width: 400px){
    .contact-form {
        padding: 1.75rem 10px 1.7rem;
    }
    .footer-logo {
        width: 200px;
    }
    
    .speaker-heading .h2 {
        font-size: 20px;
    }
    
    .speaker-prev, .speaker-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .main-speakers h3 {
        font-size: 25px;
    }
}

@media (max-width: 374px) {
  .hero-title {
    font-size: 32px;
  }

  .btn-psip {
    padding: 0.8rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* Prevent overflow */
@media (max-width: 320px) {
  .btn-psip {
    padding: 0.75rem 1.1rem;
  }
}
