.nav-toggle {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --pad: clamp(24px, 4vw, 42px);
  }

  .section {
    padding-top: clamp(60px, 7vw, 88px);
    padding-bottom: clamp(60px, 7vw, 88px);
  }

  h1 {
    font-size: clamp(46px, 7vw, 86px);
  }

  h2 {
    font-size: clamp(34px, 5vw, 62px);
  }

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

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

@media (min-width: 768px) and (max-width: 1100px) {
  .site-nav {
    position: fixed;
    background: rgba(60, 0, 0, .97);
  }

  .nav-inner {
    grid-template-columns: auto 1fr auto auto !important;
    align-items: center;
    gap: clamp(12px, 2vw, 20px) !important;
    min-height: 82px;
    padding: 0 var(--pad) !important;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    height: 82px;
    min-width: 0;
  }

  .brand-mark {
    width: 132px;
    height: 68px;
  }

  .brand-mark img {
    width: auto;
    height: 58px;
    object-fit: contain;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(5, 3, 3, .25);
    color: var(--white);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .site-nav.is-open .nav-toggle span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-inner > .btn {
    grid-column: 4;
    grid-row: 1;
    width: auto !important;
    min-height: 48px;
    padding: 0 clamp(16px, 2.4vw, 22px);
    display: inline-flex !important;
    justify-self: end;
    margin: 0 !important;
    font-size: clamp(12px, 1.35vw, 14px);
  }

  .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2;
    width: 100%;
    display: none !important;
    flex-wrap: wrap;
    justify-content: flex-end !important;
    align-items: center;
    gap: 8px clamp(18px, 3vw, 32px) !important;
    padding: 0 0 18px !important;
    overflow: visible !important;
    font-size: clamp(12px, 1.5vw, 14px);
  }

  .site-nav.is-open .nav-links {
    display: flex !important;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero,
  .home-hero,
  .reserve-hero,
  .suites-hero,
  .concierge-hero,
  .community-hero,
  .partners-hero {
    padding-top: clamp(122px, 14vw, 152px);
  }

  .community-card,
  .service-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    min-height: 0 !important;
    overflow: hidden;
    background: var(--charcoal);
  }

  .community-card > img,
  .service-card > img,
  .community-card > .image-placeholder {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex: 0 0 auto;
  }

  .community-copy,
  .service-copy {
    position: relative !important;
    z-index: 1;
    width: 100%;
    flex: 0 0 auto;
    background: var(--charcoal);
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  h1 {
    font-size: clamp(48px, 7vw, 68px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(34px, 5.5vw, 48px);
    line-height: 1.08;
  }

  p,
  li {
    font-size: clamp(16px, 2vw, 19px);
  }

  .split,
  .suite-layout,
  .community-card,
  .service-card,
  .split-feature,
  .partner-group {
    grid-template-columns: 1fr;
  }

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

  .partner-copy,
  .hero-copy,
  .lead-stack,
  .conversation-card {
    max-width: min(100%, 760px);
  }
}

@media (max-width: 767px) {
  :root {
    --pad: clamp(18px, 5vw, 28px);
  }

  html,
  body {
    overflow-x: hidden;
  }

  .site-nav {
    position: fixed;
    background: rgba(60, 0, 0, .97);
  }

  .nav-inner {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 0 var(--pad) 0 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(5, 3, 3, .25);
    color: var(--white);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .site-nav.is-open .nav-toggle span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 14px;
    overflow: visible;
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .site-nav .nav-inner > .btn {
    display: none;
  }

  .site-nav.is-open .nav-inner > .btn {
    grid-column: 1 / -1;
    width: calc(100% - (var(--pad) * 2));
    min-height: 48px;
    display: inline-flex;
    justify-self: center;
    margin: 0 var(--pad) 18px;
  }

  .section,
  .partner-section,
  .gallery-section {
    padding-top: clamp(44px, 11vw, 64px);
    padding-bottom: clamp(44px, 11vw, 64px);
  }

  .hero,
  .home-hero,
  .reserve-hero,
  .suites-hero,
  .concierge-hero,
  .community-hero,
  .partners-hero {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: clamp(54px, 12vw, 78px);
    background-attachment: scroll;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.08;
  }

  h3 {
    font-size: clamp(22px, 7vw, 32px);
  }

  p {
    font-size: clamp(16px, 4.4vw, 19px);
  }

  .hero-copy,
  .feature-copy,
  .partner-copy,
  .conversation-card,
  .lead-stack {
    max-width: 100%;
  }

  .split,
  .suite-layout,
  .location-grid,
  .community-card,
  .service-card,
  .split-feature,
  .card-grid,
  .showcase-grid,
  .cta-panel,
  .partner-group,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .partner-groups,
  .service-list,
  .lead-stack,
  .request-form {
    gap: 20px;
  }

  .path-card,
  .suite-card,
  .conversation-card,
  .location-image,
  .location-map,
  .availability-card {
    border-radius: 4px;
  }

  .path-card img,
  .suite-image img,
  .location-image img,
  .gallery img,
  .image-placeholder,
  .media-frame video {
    width: 100%;
  }

  .suite-image {
    border-left: 0;
    border-top: 2px solid var(--white);
  }

  .suite-image img {
    min-height: 220px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .btn,
  .request-submit {
    width: 100%;
    min-height: 48px;
  }

  .request-form input,
  .request-form select,
  .request-form textarea {
    width: 100%;
  }

  .location-image,
  .location-map,
  .location-image img,
  #reserve-map {
    min-height: 300px;
    height: 300px;
  }

  .footer-inner {
    gap: 22px;
    text-align: left;
  }

  .footer-logo {
    justify-self: end;
  }

  .logo-grid,
  .logo-grid.five,
  .logo-grid.two {
    gap: 34px 42px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px), (max-width: 932px) and (max-height: 480px) and (orientation: landscape) {
    .community-card,
    .service-card {
      display: flex !important;
      flex-direction: column !important;
      grid-template-columns: none !important;
      height: auto !important;
      min-height: 0 !important;
      overflow: visible !important;
    }

    .community-card > img,
    .community-card > .image-placeholder,
    .service-card > img {
      position: static !important;
      display: block !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-width: 100% !important;
      aspect-ratio: auto !important;
      object-fit: contain !important;
      transform: none !important;
    }

    .community-copy,
    .service-copy {
      position: static !important;
      inset: auto !important;
      z-index: auto !important;
      width: 100% !important;
      height: auto !important;
      margin: 0 !important;
      transform: none !important;
      background: var(--charcoal) !important;
    }

    .suite-image {
      display: flex !important;
      flex-direction: column !important;
      height: auto !important;
      min-height: 0 !important;
      overflow: visible !important;
    }

    .suite-image img {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      aspect-ratio: auto !important;
      object-fit: contain !important;
      object-position: center center !important;
    }
  }
}
