/* ============================================
   Mobile & Tablet Optimization Layer
   Desktop (≥901px / larger breakpoints) is
   intentionally untouched. All rules below
   are scoped to tablet/phone only.
   ============================================ */

/* ── Shared tokens (mobile only) ── */
@media (max-width: 900px) {
  :root {
    --header-height: 64px;
    --section-padding: clamp(3.5rem, 12vw, 5.5rem);
    --m-gutter: 1.15rem;
  }

  body {
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: min(100% - (var(--m-gutter) * 2), 720px);
  }

  .section-title {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.2;
  }

  .section-text {
    font-size: 0.95rem;
  }

  .section-cta {
    margin-top: 2rem;
  }

  .btn {
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    font-size: 0.75rem;
    justify-content: center;
  }

  .section-cta .btn,
  .section-cta--left .btn {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   Header & mobile menu
   ============================================ */
@media (max-width: 1024px) {
  .site-header {
    height: 64px;
  }

  .nav {
    padding-inline: 1.15rem;
  }

  .logo-monogram {
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 5rem 1.5rem 2rem;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* First link (Vision) as primary action chip */
  .mobile-menu a[href="#vision"] {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    background: rgba(201, 169, 98, 0.18);
    border: 1px solid rgba(201, 169, 98, 0.45);
    color: var(--gold-light);
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-body);
  }
}

/* ============================================
   Hero — phone-first composition
   ============================================ */
@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
      calc(var(--header-height) + 0.5rem)
      1.25rem
      1.25rem;
    width: 100%;
  }

  .hero-badge {
    gap: 0.65rem;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
  }

  .badge-line {
    width: 28px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11.5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    max-width: 32ch;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 1rem 1.25rem;
  }

  .hero-planner-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: none;
    text-align: center;
  }

  /* Compact stats as 3 equal tiles */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: 100%;
    gap: 0;
    margin-top: 1.35rem;
    padding: 0.75rem 0.35rem;
    border-radius: 16px;
    background: rgba(250, 247, 242, 0.08);
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 0;
    padding: 0.15rem 0.35rem;
    position: relative;
  }

  .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(250, 247, 242, 0.12);
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    max-width: none;
    white-space: normal;
    line-height: 1.25;
    margin-top: 0.2rem;
  }

  .hero-scroll {
    display: none;
  }
}

/* Short phones */
@media (max-width: 640px) and (max-height: 700px) {
  .hero-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .hero-stats {
    margin-top: 1rem;
    padding: 0.55rem 0.25rem;
  }

  .hero-planner-hint {
    display: none;
  }
}

/* ============================================
   Marquee
   ============================================ */
@media (max-width: 640px) {
  .marquee-section {
    padding: 0.75rem 0;
    min-height: 44px;
  }

  .marquee-track {
    gap: 1.75rem;
  }

  .marquee-track span {
    font-size: 1.05rem;
  }
}

/* ============================================
   About
   ============================================ */
@media (max-width: 900px) {
  .about-images {
    height: min(52vw, 340px);
    max-width: none;
    margin-bottom: 0.5rem;
  }

  .about-float-chip {
    font-size: 0.6rem;
    padding: 0.45rem 0.7rem;
    top: 4%;
    right: 2%;
  }

  .about-frame {
    transform: scale(0.9);
    transform-origin: bottom left;
  }

  .about-content {
    text-align: left;
  }

  .about-pills {
    gap: 0.4rem;
  }

  .about-pill {
    font-size: 0.68rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .about-images {
    height: 280px;
  }

  /* Stack images more tightly for small phones */
  .about-img-1 {
    width: 68% !important;
    height: 72% !important;
  }

  .about-img-2 {
    width: 55% !important;
    height: 55% !important;
  }

  .about-frame {
    bottom: 8%;
    left: 28%;
    padding: 1rem 1.25rem;
  }

  .frame-number {
    font-size: 1.85rem;
  }

  .frame-text {
    font-size: 0.62rem;
  }

  .about-float-chip {
    display: none;
  }
}

/* ============================================
   Services mobile — horizontal snap carousel
   (replaces tall 4-card stack)
   ============================================ */
@media (max-width: 900px) {
  .services-mobile {
    padding-block: var(--section-padding);
    overflow: hidden;
  }

  .services-mobile .section-header {
    padding-inline: var(--m-gutter);
    margin-bottom: 1.5rem;
  }

  .services-mobile .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .services-mobile .section-header,
  .services-mobile .section-cta {
    width: min(100% - (var(--m-gutter) * 2), 720px);
    margin-inline: auto;
  }

  .services-grid {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--m-gutter);
    padding-inline: var(--m-gutter);
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    padding: 1.5rem 1.35rem 1.35rem;
    border-radius: 16px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(44, 44, 44, 0.06);
  }

  .service-card:hover {
    transform: none;
  }

  .service-number {
    font-size: 2.25rem;
    margin-bottom: 0.85rem;
  }

  .service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
  }

  .service-card p {
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
    flex: 1;
  }

  .service-link {
    min-height: 44px;
    align-items: center;
  }

  .services-mobile .section-cta {
    margin-top: 1.5rem;
    padding-inline: 0;
  }

  /* Swipe hint */
  .services-mobile .section-header::after {
    content: 'Swipe to explore →';
    display: block;
    margin-top: 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    font-family: var(--font-body);
    font-weight: 300;
  }
}

/* ============================================
   Process mobile — richer vertical story
   ============================================ */
@media (max-width: 900px) {
  .process-mobile {
    padding-block: var(--section-padding);
  }

  .process-timeline--mobile {
    max-width: none;
  }

  .process-timeline--mobile .process-step {
    gap: 1.1rem;
    padding-bottom: 2rem;
    opacity: 1;
    transform: none;
  }

  .process-timeline--mobile .step-marker {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .process-timeline--mobile .timeline-line {
    left: 21px;
  }

  .process-timeline--mobile .step-content {
    background: rgba(250, 247, 242, 0.04);
    border: 1px solid rgba(250, 247, 242, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1.15rem;
    flex: 1;
  }

  .process-timeline--mobile .step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
  }

  .process-timeline--mobile .step-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .process-timeline--mobile .process-step.is-active .step-content {
    border-color: rgba(201, 169, 98, 0.35);
    background: rgba(201, 169, 98, 0.08);
  }
}

/* ============================================
   The Day — mobile story deck
   ============================================ */
@media (max-width: 900px) {
  .day-section {
    padding-bottom: var(--section-padding);
  }

  /* Hide desktop pin layout on mobile */
  .day-pin {
    display: none !important;
  }

  .day-mobile {
    display: block;
    padding-block: var(--section-padding);
  }

  .day-mobile-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-inline: var(--m-gutter);
  }

  .day-mobile-header .section-title {
    margin-bottom: 0.5rem;
  }

  .day-mobile-header .section-text {
    color: var(--charcoal-soft);
    font-size: 0.92rem;
    max-width: 36ch;
    margin-inline: auto;
  }

  .day-mobile-deck {
    position: relative;
    margin-inline: var(--m-gutter);
  }

  .day-mobile-card {
    display: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 16px 48px rgba(44, 44, 44, 0.1);
    animation: dayMobileIn 0.45s var(--ease-out-expo) both;
  }

  .day-mobile-card.is-active {
    display: block;
  }

  @keyframes dayMobileIn {
    from {
      opacity: 0;
      transform: translateX(18px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  .day-mobile-visual {
    height: min(42vw, 220px);
    position: relative;
    background:
      radial-gradient(circle at 30% 30%, hsla(var(--hue), 45%, 78%, 0.55), transparent 55%),
      linear-gradient(160deg,
        hsl(var(--hue), 35%, 72%) 0%,
        hsl(calc(var(--hue) + 20), 30%, 58%) 50%,
        hsl(calc(var(--hue) + 40), 25%, 45%) 100%);
  }

  .day-mobile-visual-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--cream);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  .day-mobile-body {
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .day-mobile-tag {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.45rem;
  }

  .day-mobile-body h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .day-mobile-body p {
    font-size: 0.92rem;
    color: var(--charcoal-soft);
    line-height: 1.65;
  }

  .day-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1.25rem var(--m-gutter) 0;
  }

  .day-mobile-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(44, 44, 44, 0.12);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
  }

  .day-mobile-btn:active {
    background: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
  }

  .day-mobile-btn:disabled {
    opacity: 0.35;
  }

  .day-mobile-pips {
    display: flex;
    gap: 0.45rem;
    align-items: center;
  }

  .day-mobile-pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 44, 44, 0.15);
    border: none;
    padding: 0;
    transition: all 0.35s var(--ease-out-expo);
  }

  .day-mobile-pip.is-active {
    background: var(--gold);
    transform: scale(1.25);
    width: 22px;
    border-radius: 100px;
  }

  .day-mobile-cta {
    margin: 1.75rem var(--m-gutter) 0;
  }
}

@media (min-width: 901px) {
  .day-mobile {
    display: none !important;
  }
}

/* ============================================
   Destinations — horizontal snap rail
   ============================================ */
@media (max-width: 900px) {
  .dest-pin {
    height: auto;
    min-height: auto;
    padding-block: var(--section-padding);
    overflow: visible;
    justify-content: flex-start;
  }

  .dest-heading {
    width: min(100% - (var(--m-gutter) * 2), 720px);
    margin-inline: auto;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .dest-heading .section-eyebrow,
  .dest-heading .section-title {
    grid-column: auto;
    grid-row: auto;
  }

  .dest-heading .section-title {
    max-width: none;
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .dest-heading-cta {
    margin-top: 0.35rem;
    width: 100%;
    justify-content: center;
  }

  .dest-heading::after {
    content: 'Swipe destinations →';
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 247, 242, 0.45);
    margin-top: 0.25rem;
  }

  .dest-track {
    display: flex;
    flex-direction: row !important;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--m-gutter);
    padding-inline: var(--m-gutter);
    padding-bottom: 0.5rem;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dest-track::-webkit-scrollbar {
    display: none;
  }

  .dest-card {
    flex: 0 0 min(78vw, 300px);
    width: min(78vw, 300px) !important;
    min-height: 280px !important;
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
  }

  .dest-card h3 {
    font-size: 1.45rem;
  }

  .dest-card p {
    font-size: 0.88rem;
  }
}

/* ============================================
   Gallery — fixed heights + always-visible labels
   ============================================ */
@media (max-width: 1024px) {
  .gallery-grid {
    gap: 0.75rem;
    padding-inline: var(--m-gutter, 1.15rem);
  }

  .gallery-item {
    min-height: 220px;
    border-radius: 10px;
    cursor: pointer;
  }

  .gallery-item--tall {
    min-height: 280px;
  }

  .gallery-item--wide {
    min-height: 200px;
  }

  /* Touch devices: overlays always readable */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(44, 44, 44, 0.88) 0%,
      rgba(44, 44, 44, 0.4) 45%,
      transparent 100%
    );
    padding: 0.85rem 1rem 1.1rem;
  }

  .gallery-overlay h4 {
    font-size: 1.15rem;
  }

  .gallery-overlay p {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .gallery .container .section-header {
    margin-bottom: 1.25rem;
  }

  /* Elegant 2-column masonry-ish grid instead of one tall column */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .gallery-item,
  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  /* Feature a few as wide for rhythm */
  .gallery-item--pos-1,
  .gallery-item--pos-5,
  .gallery-item--pos-11 {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .gallery-tag {
    font-size: 0.58rem;
    margin-bottom: 0.25rem;
  }

  .gallery-overlay h4 {
    font-size: 1rem;
  }

  .gallery-overlay p {
    font-size: 0.7rem;
  }
}

/* Lightbox mobile polish */
@media (max-width: 768px) {
  .gallery-lightbox {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .lightbox-panel {
    max-height: min(92dvh, 92vh);
    border-radius: 16px 16px 12px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-visual {
    min-height: 200px;
    height: 32vh;
  }

  .lightbox-content {
    padding: 1.35rem 1.25rem 1.75rem;
  }

  .lightbox-title {
    font-size: 1.75rem;
  }

  .lightbox-description {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    background: rgba(250, 247, 242, 0.95);
  }
}

/* ============================================
   Testimonials
   ============================================ */
@media (max-width: 768px) {
  .testimonial-track {
    min-height: 280px;
  }

  .testimonial-card {
    padding: 1rem 0.25rem;
    position: relative;
  }

  .testimonial-card:not(.testimonial-card--active) {
    position: absolute;
  }

  .testimonial-quote {
    font-size: 3.5rem;
    margin-bottom: -0.5rem;
  }

  .testimonial-card p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }

  .testimonial-nav {
    gap: 1.25rem;
    margin-top: 1.25rem;
  }

  .testimonial-btn {
    width: 48px;
    height: 48px;
  }
}

/* ============================================
   Contact
   ============================================ */
@media (max-width: 900px) {
  .contact-grid {
    gap: 2rem;
  }

  .contact-details {
    margin-top: 1.5rem;
    gap: 1.1rem;
  }

  .detail-value {
    font-size: 1.1rem;
    word-break: break-word;
  }

  .contact-form {
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevent iOS zoom */
    min-height: 48px;
    padding: 0.85rem 0.95rem;
  }

  .form-group textarea {
    min-height: 120px;
  }
}

/* ============================================
   Footer
   ============================================ */
@media (max-width: 900px) {
  .site-footer {
    padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom));
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.1rem;
    max-width: 360px;
  }

  .footer-links a {
    font-size: 0.7rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ============================================
   Floating Vision CTA — align Y with chat bubble
   Chat bubble sits at bottom: 20px (right).
   CTA sits at the same bottom on the left.
   ============================================ */
@media (max-width: 768px) {
  .vp-float {
    /* Chat bubble uses bottom: 20px; sit 5px lower (closer to edge) */
    bottom: max(15px, env(safe-area-inset-bottom));
    left: 1rem;
    right: auto;
    max-width: calc(100vw - 5.5rem);
    z-index: 9990; /* just under chat bubble (10000) */
  }

  .vp-float-btn {
    width: auto;
    max-width: 100%;
    min-height: 48px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 0.75rem 1rem 0.75rem 0.85rem;
    box-shadow: 0 10px 32px rgba(44, 44, 44, 0.28);
  }

  .vp-float-btn span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .vp-float-btn span:last-child {
    /* shorter label on tiny screens — content set via attr if needed */
  }
}

/* ============================================
   Vision Planner mobile polish
   ============================================ */
@media (max-width: 900px) {
  .vision-planner {
    padding-block: var(--section-padding);
  }

  .vp-header {
    margin-bottom: 1.5rem;
    padding-inline: 0;
  }

  .vp-header-sub {
    font-size: 0.92rem;
  }

  .vp-stage {
    border-radius: 20px;
    min-height: 0;
  }

  .vp-screen {
    padding: 1.35rem 1.1rem 1.5rem;
    min-height: 0;
  }

  .vp-intro-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    max-width: none;
  }

  .vp-intro-text {
    font-size: 0.92rem;
  }

  .vp-intro-meta {
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
  }

  .vp-intro-actions {
    flex-direction: column;
    width: 100%;
  }

  .vp-intro-actions .vp-btn {
    width: 100%;
  }

  .vp-options--vibe,
  .vp-options--scale,
  .vp-options--setting,
  .vp-options--season,
  .vp-options--budget {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .vp-option {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    min-height: 64px;
  }

  .vp-option-swatch {
    height: 40px;
    margin-bottom: 0.4rem;
  }

  .vp-option-title {
    font-size: 1.1rem;
  }

  .vp-option-desc {
    font-size: 0.8rem;
  }

  .vp-nav {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .vp-nav-hint {
    order: 3;
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
  }

  .vp-nav .vp-btn {
    min-height: 46px;
  }

  .vp-results-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .vp-card--destination {
    grid-row: auto;
    min-height: 0;
  }

  .vp-dest-name {
    font-size: 1.65rem;
  }

  .vp-price {
    font-size: 1.55rem;
  }

  .vp-quote {
    font-size: 1.05rem;
  }

  .vp-snap-item {
    min-width: calc(50% - 0.25rem);
  }

  .vp-results-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .vp-card--snapshot {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .vp-results-sub {
    margin-bottom: 1.35rem;
    padding-bottom: 0.35rem;
  }

  .vp-results-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .vp-results-cta-actions .vp-btn {
    width: 100%;
  }

  .vp-match-score {
    font-size: 3.25rem;
  }
}

/* Compact list-style vibe options on narrow phones (swatch + text row) */
@media (max-width: 479px) {
  .vp-options--vibe .vp-option-inner {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
  }

  .vp-options--vibe .vp-option-swatch {
    grid-row: 1 / span 2;
    grid-column: 1;
    height: 56px;
    width: 56px;
    margin-bottom: 0;
    border-radius: 12px;
  }

  .vp-options--vibe .vp-option-title {
    grid-column: 2;
    grid-row: 1;
  }

  .vp-options--vibe .vp-option-desc {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Two-column option grid on wider phones / tablets in portrait */
@media (min-width: 480px) and (max-width: 900px) {
  .vp-options--vibe,
  .vp-options--scale,
  .vp-options--season,
  .vp-options--budget {
    grid-template-columns: 1fr 1fr;
  }

  .vp-options--setting {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Tablet landscape / mid sizes
   ============================================ */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-content {
    padding-inline: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    min-width: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
  }

  .service-card {
    flex-basis: min(48vw, 340px);
  }

  .dest-card {
    flex-basis: min(42vw, 320px) !important;
    width: min(42vw, 320px) !important;
  }
}

/* ============================================
   Safe areas + reduced motion
   ============================================ */
@supports (padding: max(0px)) {
  @media (max-width: 900px) {
    .nav {
      padding-left: max(1.15rem, env(safe-area-inset-left));
      padding-right: max(1.15rem, env(safe-area-inset-right));
    }
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .day-mobile-card.is-active {
    animation: none;
  }

  .services-grid,
  .dest-track {
    scroll-behavior: auto;
  }
}

/* ============================================
   Tiny polish: active states for touch
   ============================================ */
@media (max-width: 900px) {
  .btn-primary:active {
    transform: scale(0.98);
  }

  .service-card:active,
  .dest-card:active {
    transform: scale(0.985);
  }

  /* Chat bubble: clear home indicator */
  #gcw-chat-bubble {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }

  #gcw-chat-container {
    bottom: max(88px, calc(72px + env(safe-area-inset-bottom))) !important;
  }
}

/* Magnetic residual offset — touch devices only */
@media (max-width: 900px) and (pointer: coarse) {
  [data-magnetic] {
    transform: none !important;
  }
}
