@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
  }

  * {
    margin: 0;
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  img, svg, iframe {
    display: block;
    max-width: 100%;
  }

  img {
    height: auto;
  }

  button, a {
    font: inherit;
  }
}

@layer tokens {
  :root {
    --bg-canvas: oklch(0.985 0.008 75);
    --bg-surface: oklch(0.997 0.004 75);
    --bg-warm: oklch(0.953 0.017 68);
    --bg-dark: oklch(0.23 0.02 46);

    --ink-primary: oklch(0.22 0.018 48);
    --ink-secondary: oklch(0.42 0.016 48);
    --ink-muted: oklch(0.54 0.014 48);
    --ink-on-dark: oklch(0.98 0.006 75);

    --terracotta: oklch(0.53 0.145 38);
    --terracotta-hover: oklch(0.47 0.14 38);
    --terracotta-soft: oklch(0.935 0.032 42);
    --terracotta-border: oklch(0.84 0.065 42);

    --sage: oklch(0.45 0.085 152);
    --sage-soft: oklch(0.94 0.03 152);

    --line-green: #058538;
    --line-green-hover: #046d2d;
    --line-badge: #06c755;

    --border-subtle: oklch(0.895 0.014 70);
    --border-strong: oklch(0.82 0.02 65);

    --shadow-sm: 0 2px 10px oklch(0.22 0.02 48 / 0.05);
    --shadow-md: 0 14px 36px oklch(0.22 0.02 48 / 0.08);
    --shadow-lg: 0 24px 56px oklch(0.22 0.02 48 / 0.14);

    --font-sans: 'Anuphan', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 0.75rem;
    --radius-md: 1.125rem;
    --radius-lg: 1.5rem;
    --radius-pill: 999px;

    --container-max: 76rem;
    --header-h: 4.5rem;
  }
}

@layer base {
  body {
    background-color: var(--bg-canvas);
    color: var(--ink-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: clip;
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  @media (min-width: 768px) {
    body {
      padding-bottom: 0;
    }
  }

  h1, h2, h3, h4 {
    line-height: 1.28;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-wrap: balance;
    color: var(--ink-primary);
  }

  p, li {
    text-wrap: pretty;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  :focus-visible {
    outline: 2.5px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 6px;
  }

  section[id] {
    scroll-margin-top: calc(var(--header-h) + 1.25rem);
  }
}

@layer layout {
  .container {
    width: min(var(--container-max), 100% - 2.25rem);
    margin-inline: auto;
  }

  @media (min-width: 768px) {
    .container {
      width: min(var(--container-max), 100% - 4rem);
    }
  }

  .section {
    padding-block: clamp(3.5rem, 6vw, 6rem);
  }

  .section--warm {
    background-color: var(--bg-warm);
    border-block: 1px solid var(--border-subtle);
  }

  .section-header {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--terracotta);
    background: var(--terracotta-soft);
    border: 1px solid var(--terracotta-border);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--ink-secondary);
  }
}

@layer components {
  /* Skip link */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    z-index: 200;
    background: var(--ink-primary);
    color: var(--ink-on-dark);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
  }
  .skip-link:focus {
    left: 1rem;
  }

  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    height: var(--header-h);
    background: oklch(0.985 0.008 75 / 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
  }

  .header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand-en {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--ink-primary);
  }

  .brand-th {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-secondary);
  }

  .nav-links {
    display: none;
    align-items: center;
    gap: 1.65rem;
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-secondary);
  }

  .nav-links a {
    transition: color 0.18s ease;
  }

  .nav-links a:hover {
    color: var(--terracotta);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  @media (min-width: 960px) {
    .nav-links {
      display: flex;
    }
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.35rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
  }

  .btn:active {
    transform: translateY(1px);
  }

  .btn--sm {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }

  .btn--line {
    background-color: var(--line-green);
    color: #ffffff;
    box-shadow: 0 8px 20px oklch(0.52 0.16 146 / 0.24);
  }

  .btn--line:hover {
    background-color: var(--line-green-hover);
  }

  .btn--primary {
    background-color: var(--terracotta);
    color: #ffffff;
  }

  .btn--primary:hover {
    background-color: var(--terracotta-hover);
  }

  .btn--outline {
    background-color: var(--bg-surface);
    color: var(--ink-primary);
    border-color: var(--border-strong);
  }

  .btn--outline:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
  }

  .btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
  }

  /* Hero */
  .hero {
    padding-block: clamp(2.25rem, 5vw, 4.75rem) clamp(3rem, 6vw, 5.5rem);
  }

  .hero-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }

  @media (min-width: 960px) {
    .hero-grid {
      grid-template-columns: 1.05fr 0.95fr;
    }
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sage-soft);
    color: var(--sage);
    border: 1px solid oklch(0.84 0.05 152);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
  }

  .status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--line-badge);
    box-shadow: 0 0 0 4px oklch(0.72 0.2 145 / 0.22);
  }

  .rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-primary);
  }

  .star-gold {
    color: #d97706;
  }

  .hero-title {
    font-size: clamp(2rem, 4.3vw, 3.25rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }

  .hero-title span {
    color: var(--terracotta);
  }

  .hero-lead {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    color: var(--ink-secondary);
    margin-bottom: 1.6rem;
    max-width: 38rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .stat-item + .stat-item {
    border-left: 1px solid var(--border-subtle);
    padding-left: 0.85rem;
  }

  .stat-value {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--ink-primary);
    line-height: 1.2;
  }

  .stat-value--accent {
    color: var(--terracotta);
  }

  .stat-label {
    font-size: 0.8rem;
    color: var(--ink-secondary);
  }

  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
  }

  .hero-hours-note {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
  }

  /* Hero Visual Stack */
  .hero-visual {
    position: relative;
  }

  .hero-main-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-warm);
  }

  .hero-main-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-float-card {
    margin-top: -2.75rem;
    margin-left: auto;
    margin-right: 1rem;
    position: relative;
    z-index: 2;
    max-width: 20.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: oklch(0.996 0.004 75 / 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
  }

  .hero-float-card img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.65rem;
    object-fit: cover;
    flex-shrink: 0;
  }

  .hero-float-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .hero-float-sub {
    font-size: 0.78rem;
    color: var(--ink-secondary);
    margin-top: 0.15rem;
  }

  /* Bento Grid */
  .bento-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  @media (min-width: 768px) {
    .bento-grid {
      grid-template-columns: repeat(12, 1fr);
    }
    .bento-span-7 { grid-column: span 7; }
    .bento-span-5 { grid-column: span 5; }
    .bento-span-4 { grid-column: span 4; }
  }

  .bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
  }

  .bento-card--accent {
    background: linear-gradient(155deg, oklch(0.30 0.05 40), oklch(0.22 0.025 45));
    color: var(--ink-on-dark);
    border-color: transparent;
    justify-content: space-between;
  }

  .bento-card--accent h3 {
    color: var(--ink-on-dark);
  }

  .bento-card--accent p {
    color: oklch(0.88 0.015 70);
  }

  .bento-media img {
    width: 100%;
    height: 15.5rem;
    object-fit: cover;
  }

  .bento-media--wide img {
    height: clamp(13rem, 24vw, 18rem);
  }

  .bento-body {
    padding: clamp(1.35rem, 2.5vw, 1.85rem);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
  }

  .bento-title {
    font-size: 1.25rem;
  }

  .bento-desc {
    color: var(--ink-secondary);
    font-size: 0.96rem;
  }

  .amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.4rem;
    padding: 0;
    list-style: none;
  }

  .amenity-tags li {
    font-size: 0.83rem;
    font-weight: 500;
    background: var(--bg-warm);
    border: 1px solid var(--border-subtle);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    color: var(--ink-primary);
  }

  .quiet-highlights {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
    display: grid;
    gap: 0.6rem;
    font-size: 0.92rem;
  }

  .quiet-highlights li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: oklch(0.93 0.015 75);
  }

  /* Gallery */
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }

  .filter-btn {
    background: var(--bg-surface);
    color: var(--ink-secondary);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
  }

  .filter-btn:hover {
    border-color: var(--terracotta);
    color: var(--ink-primary);
  }

  .filter-btn[aria-pressed="true"] {
    background: var(--ink-primary);
    color: var(--ink-on-dark);
    border-color: var(--ink-primary);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: 1rem;
  }

  .gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    padding: 0;
    cursor: zoom-in;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .gallery-item[hidden] {
    display: none;
  }

  .gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.03);
  }

  .gallery-caption {
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .gallery-cat-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
  }

  /* Native Lightbox Dialog */
  .lightbox {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: min(92vw, 68rem);
    max-height: 90dvh;
    margin: auto;
    background: oklch(0.16 0.01 48);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .lightbox::backdrop {
    background: oklch(0.12 0.01 48 / 0.82);
    backdrop-filter: blur(6px);
  }

  .lightbox-inner {
    display: flex;
    flex-direction: column;
    max-height: 90dvh;
  }

  .lightbox-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid oklch(1 0 0 / 0.12);
    font-size: 0.9rem;
  }

  .lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0.75rem;
    min-height: 16rem;
  }

  .lightbox-stage img {
    max-height: 74dvh;
    width: auto;
    object-fit: contain;
    border-radius: 0.5rem;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid oklch(1 0 0 / 0.22);
    background: oklch(0.18 0.01 48 / 0.78);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .lightbox-nav:hover {
    background: var(--terracotta);
  }

  .lightbox-nav--prev { left: 1rem; }
  .lightbox-nav--next { right: 1rem; }

  .lightbox-close {
    background: oklch(1 0 0 / 0.12);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.85rem;
    cursor: pointer;
    font-size: 0.85rem;
  }

  .lightbox-close:hover {
    background: oklch(1 0 0 / 0.24);
  }

  /* Pricing & House Rules */
  .pricing-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
  }

  @media (min-width: 880px) {
    .pricing-grid {
      grid-template-columns: 1.15fr 0.85fr;
    }
  }

  .card-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
  }

  .price-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .price-big {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1.1;
  }

  .price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-secondary);
  }

  .movein-callout {
    margin-block: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--terracotta-soft);
    border: 1px solid var(--terracotta-border);
  }

  .movein-callout-title {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ink-primary);
  }

  .movein-callout-desc {
    font-size: 0.9rem;
    color: var(--ink-secondary);
    margin-top: 0.2rem;
  }

  .rate-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .rate-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-subtle);
    font-size: 0.96rem;
  }

  .rate-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .rate-label {
    color: var(--ink-secondary);
  }

  .rate-val {
    font-weight: 700;
    text-align: right;
  }

  .rules-list {
    list-style: none;
    padding: 0;
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
  }

  .rules-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
  }

  .rule-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--terracotta-soft);
    color: var(--terracotta);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 700;
  }

  .rule-title {
    font-weight: 700;
    font-size: 0.98rem;
  }

  .rule-sub {
    font-size: 0.86rem;
    color: var(--ink-secondary);
    margin-top: 0.15rem;
  }

  .pricing-disclaimer {
    margin-top: 1.25rem;
    font-size: 0.84rem;
    color: var(--ink-muted);
    background: var(--bg-warm);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  /* Reviews & Location */
  .review-banner {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
    box-shadow: var(--shadow-sm);
  }

  .review-score-box {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .review-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink-primary);
  }

  .review-quote {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink-primary);
  }

  .review-author {
    font-size: 0.86rem;
    color: var(--ink-muted);
    margin-top: 0.2rem;
  }

  .landmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .landmark-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow-sm);
  }

  .landmark-time {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sage);
    background: var(--sage-soft);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.55rem;
  }

  .landmark-name {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .landmark-dist {
    font-size: 0.86rem;
    color: var(--ink-secondary);
    margin-top: 0.15rem;
  }

  .location-split {
    display: grid;
    gap: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  @media (min-width: 880px) {
    .location-split {
      grid-template-columns: 0.95fr 1.05fr;
    }
  }

  .location-info {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .address-block {
    display: grid;
    gap: 0.65rem;
    font-size: 0.96rem;
    color: var(--ink-secondary);
  }

  .address-block strong {
    color: var(--ink-primary);
  }

  .map-embed {
    min-height: 21rem;
    background: var(--bg-warm);
  }

  .map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 21rem;
    border: 0;
  }

  /* Closing CTA & Footer */
  .cta-banner {
    background: var(--bg-dark);
    color: var(--ink-on-dark);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4.5vw, 3.25rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .cta-banner h2 {
    color: var(--ink-on-dark);
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    margin-bottom: 0.45rem;
  }

  .cta-banner p {
    color: oklch(0.84 0.015 70);
    max-width: 34rem;
  }

  .site-footer {
    border-top: 1px solid var(--border-subtle);
    padding-block: 2rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
  }

  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Mobile Sticky Bottom Bar */
  .mobile-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: oklch(0.995 0.005 75 / 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -6px 24px oklch(0.22 0.02 48 / 0.08);
  }

  .mobile-bar .btn {
    padding: 0.7rem 0.75rem;
    font-size: 0.88rem;
  }

  @media (min-width: 768px) {
    .mobile-bar {
      display: none;
    }
  }
}

@layer utilities {
  .hide-mobile {
    display: none;
  }
  @media (min-width: 640px) {
    .hide-mobile {
      display: inline-flex;
    }
  }
}
