/* Desktop composition. The existing mobile and tablet layouts remain in styles.css. */
@media (min-width: 981px) {
  :root {
    --desktop-shell: min(1280px, calc(100% - 112px));
    --shell: var(--desktop-shell);
    --brand-shell: var(--desktop-shell);
  }

  html { scroll-padding-top: 96px; }
  .section { padding-block: 72px; }
  h2 { font-size: clamp(2.1rem, 3.2vw, 3rem); line-height: 1.1; }

  .site-header { height: 96px; }
  .site-header:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }
  .site-header.scrolled {
    height: 76px;
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--line);
  }
  .header-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .main-nav { gap: clamp(20px, 2.3vw, 34px); font-size: .875rem; }
  .main-nav .nav-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    transition: background .2s, box-shadow .2s;
  }
  .main-nav .nav-order-button::after { display: none; }
  .main-nav .nav-order-button:hover {
    background: #fff;
    box-shadow: 0 5px 18px rgba(190, 8, 17, .08);
  }

  .hero { height: clamp(520px, 39vw, 600px); min-height: 0; padding: 0; }
  .hero-slides { width: 100%; height: 100%; margin: 0; }
  .hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    align-items: center;
    gap: 0;
    overflow: hidden;
    background: #f8f3eb;
  }
  .hero-slide[hidden] { display: none; }
  .hero-media {
    grid-column: 1 / -1;
    grid-row: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 0;
  }
  .hero-picture { width: 100%; height: 100%; }
  .hero-media .hero-image {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-media::after {
    display: block;
    border: 0;
    background:
      linear-gradient(180deg, rgba(255, 253, 249, .92), rgba(255, 253, 249, .48) 90px, transparent 200px),
      linear-gradient(90deg, rgba(255, 253, 249, .94), rgba(255, 253, 249, .82) 22%, rgba(255, 253, 249, .58) 36%, rgba(255, 253, 249, .08) 61%, transparent 74%);
  }
  .hero-content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: relative;
    z-index: 2;
    width: var(--desktop-shell);
    max-width: none;
    margin-inline: auto;
    padding: 76px 0 30px;
    background: transparent;
  }
  .hero .eyebrow { max-width: 540px; margin-bottom: 20px; font-size: .65rem; letter-spacing: .17em; }
  .hero .hero-heading {
    max-width: 620px;
    min-height: 2.2em;
    font-size: clamp(2.55rem, 3.6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .hero .hero-heading em { color: var(--olive-ink); font-weight: 600; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .hero-unit-button {
    min-height: 52px;
    min-width: 230px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: var(--red);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 5px 18px rgba(90, 45, 22, .05);
  }
  .hero-actions .hero-unit-button:hover { color: var(--red-dark); background: #fff; }
  .hero-footer {
    position: absolute;
    inset: auto 0 18px;
    z-index: 3;
    width: var(--desktop-shell);
    margin-inline: auto;
    padding: 0;
  }
  .hero-controls {
    gap: 2px;
    padding: 0 4px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
  }
  .hero-dots button { width: 36px; height: 44px; }
  .hero-autoplay, .hero-autoplay:hover { width: 36px; height: 36px; padding: 10px; border: 0; background: transparent; }
  .hero-location {
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--olive-ink);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(6px);
  }
  .hero-location .location-icon { width: 28px; height: 28px; flex-basis: 28px; background: transparent; }
  .hero-location small { display: inline; margin-right: 6px; color: inherit; font-size: .75rem; }
  .hero-location span:not(.location-icon) { font-size: .75rem; font-weight: 500; }
  .hero-location .arrow { display: none; }

  .trust-grid div { grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; padding: 24px; }
  .trust-grid div:first-child { padding-left: 0; }
  .trust-grid div:last-child { padding-right: 0; }
  .trust-icon { width: 34px; height: 34px; }
  .trust-grid strong { font-size: 1.2rem; }
  .trust-grid span { font-size: .8rem; }

  .story-readable-heading { margin-bottom: 36px; }
  .story-readable-heading > p:last-child { margin-top: 14px; font-size: .95rem; }
  .history-readable-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: none; }
  .history-moment {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 22px;
    padding: 20px;
    border: 1px solid #eee9df;
    border-radius: 18px;
    background: #fff;
  }
  .history-memory-photo { height: 236px; padding: 12px; border: 0; border-radius: 10px; }
  .history-memory-copy { max-width: none; }
  .history-memory-copy .history-memory-kicker { margin-bottom: 9px; font-size: .6rem; letter-spacing: .1em; }
  .history-memory-copy h3 { margin-bottom: 12px; font-size: clamp(1.2rem, 1.75vw, 1.6rem); }
  .history-memory-copy > p:last-child { font-size: .9rem; line-height: 1.7; }
  .history-moment:nth-child(even) .history-memory-photo { grid-column: 1; grid-row: 1; }
  .history-moment:nth-child(even) .history-memory-copy { grid-column: 2; grid-row: 1; }

  .selection { min-height: 560px; padding: 0; background: #faf9f5; }
  .selection-image { inset: 0 50% 0 0; min-height: 0; background-position: 30% center; }
  .selection-layout { padding-block: 42px; }
  .selection-card { width: calc(50% - 48px); padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .selection h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1.1; }
  .selection-card > p:not(.section-kicker) { font-size: .93rem; line-height: 1.65; }
  .selection .section-kicker { margin-bottom: 14px; }
  .category-list { margin: 20px 0 24px; }
  .category-list li { gap: 14px; padding: 8px 0; font-size: .98rem; }

  .instagram-heading { margin-bottom: 28px; }
  .instagram-heading h2 { max-width: 760px; }
  .instagram-intro { margin-top: 16px; font-size: .95rem; }
  .instagram-viewport { padding: 2px 0 8px; }
  .instagram-track { gap: 24px; }
  .instagram-slide {
    flex-basis: calc((100% - 48px) / 3);
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: none;
  }
  .instagram-card-kicker { margin: 2px 2px 0; font-size: .65rem; }
  .post-gallery, .post-gallery-full-video {
    position: relative;
    height: clamp(340px, 32vw, 430px);
    border: 0;
    border-radius: 10px;
    background: transparent;
  }
  .post-frame, .post-frame-la-vera { height: 100%; aspect-ratio: auto; }
  .post-gallery[data-post-gallery] { height: clamp(340px, 32vw, 430px); padding-bottom: 48px; }
  .post-gallery-controls { position: absolute; inset: auto 0 0; height: 48px; border-top: 0; }
  .post-gallery-controls button { width: 34px; height: 34px; }
  .instagram-card-caption { margin: 0 2px; padding-top: 2px; min-height: 3em; font-size: .9rem; line-height: 1.5; }
  .post-source { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }

  .locations { background: #fafbf8; }
  .section-heading { grid-template-columns: 1fr .8fr; gap: 60px; margin-bottom: 28px; }
  .locations-intro { margin-top: 16px; font-size: .95rem; }
  .location-tools { max-width: 440px; justify-self: end; }
  .location-tools > p:first-child { margin-bottom: 14px; font-size: .9rem; }
  .location-status:empty { display: none; }
  .locations-layout { grid-template-columns: 1fr 1.04fr; gap: 28px; align-items: stretch; }
  .location-list { gap: 10px; align-content: start; }
  .location-card { border-radius: 14px; }
  .location-select { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 12px; padding: 13px 16px; }
  .place-number { width: 32px; height: 32px; font-size: .7rem; }
  .place-city { font-size: .58rem; }
  .place-copy strong { font-size: 1.15rem; }
  .place-copy small { font-size: .78rem; }
  .place-hours { margin-top: 3px; font-size: .71rem; }
  .select-arrow { width: 28px; height: 28px; }
  .route-actions a { min-height: 42px; font-size: .72rem; }
  .map-wrap { min-height: 560px; border: 1px solid var(--line); border-radius: 18px; box-shadow: none; }
  .map-wrap iframe { min-height: 560px; }
  .map-label { border-radius: 12px; box-shadow: 0 4px 18px rgba(45, 48, 41, .08); }
  .hours-note { margin-top: 18px; font-size: .76rem; }

  .contact-cta { padding-block: 34px; }
  .contact-inner h2 { font-size: 1.9rem; }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1.2fr .65fr 1fr; gap: 48px; padding-bottom: 24px; }
  .footer-bottom { padding-top: 16px; }
  .reveal-enabled .reveal { opacity: 1; transform: none; }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .main-nav { gap: 18px; font-size: .8rem; }
  .main-nav .nav-order-button { padding-inline: 16px; }
  .hero .hero-heading { max-width: 500px; }
  .trust-grid div { padding-inline: 16px; column-gap: 12px; }
  .trust-grid strong { font-size: 1.05rem; }
  .trust-grid span { font-size: .73rem; }
  .history-moment { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); padding: 16px; gap: 16px; }
  .history-memory-photo { height: 250px; padding: 8px; }
  .selection-card { width: calc(50% - 32px); }
}
