/* Desktop layout (>= 960px). The page is mobile-first with inline styles, so these rules override them on wide screens only.
   Content width: --w is the gutter that centres a 1200px column. */
@media (min-width: 960px) {
  :root { --w: max(48px, calc((100vw - 1200px) / 2)); }

  .pg { max-width: none !important; }
  .pg > section, .pg > div[data-seasonal] { box-sizing: border-box; }

  /* hero: full-bleed video, wordmark left, copy beside it */
  .pg > section:nth-of-type(1) { height: min(92vh, 860px) !important; min-height: 620px; }
  .pg > section:nth-of-type(1) video { object-position: center 30% !important; }
  .pg > section:nth-of-type(1) > header { padding: 0 var(--w) !important; min-height: 84px !important; }
  .pg > section:nth-of-type(1) > div:last-child { padding: 0 var(--w) 56px !important; max-width: none !important; }
  .pg h1 { font-size: clamp(160px, 17vw, 300px) !important; letter-spacing: -2px !important; }
  .pg > section:nth-of-type(1) > div:last-child p:nth-of-type(1) { font-size: 44px !important; }
  .pg > section:nth-of-type(1) > div:last-child p:nth-of-type(2) { font-size: 20px !important; }

  /* seasonal block */
  .pg > section[data-seasonal] { padding-left: var(--w) !important; padding-right: var(--w) !important; padding-top: 96px !important; padding-bottom: 64px !important; }
  .pg > section[data-seasonal] h2 { font-size: 64px !important; }
  .pg > section[data-seasonal] > div[style*="grid-template-columns: repeat(4"] { max-width: 640px; }

  /* section headings and spacing */
  .pg > section:not(:nth-of-type(1)):not([data-seasonal]) h2 { font-size: 56px !important; }
  .pg > section:nth-of-type(3) { padding: 112px var(--w) 0 !important; }
  .pg > section:nth-of-type(3) > h2 { padding: 0 !important; }

  /* services: carousel becomes a grid */
  #svc-track { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px !important; overflow: visible !important; padding: 0 !important; scroll-snap-type: none !important; }
  #svc-track > article { width: auto !important; height: 520px !important; }
  #svc-track > article:hover img { transform: scale(1.04); }
  #svc-track > article img { transition: transform .5s ease; }
  #svc-track h3 { font-size: 40px !important; }
  #svc-track button { cursor: pointer; }
  #svc-track button:hover { background: rgba(255, 255, 255, .24) !important; }

  /* gift certificate: text left, card right */
  .pg > section:nth-of-type(4) { margin: 112px var(--w) 0 !important; padding: 56px 64px !important; display: grid !important; grid-template-columns: 1.1fr 1fr; column-gap: 64px; align-items: center; border-radius: 32px !important; }
  .pg > section:nth-of-type(4) > h2 { grid-column: 1; font-size: 64px !important; }
  .pg > section:nth-of-type(4) > p { grid-column: 1; font-size: 20px !important; max-width: 520px; }
  .pg > section:nth-of-type(4) > div { grid-column: 2; grid-row: 1 / span 3; margin: 0 !important; }
  .pg > section:nth-of-type(4) > a { grid-column: 1; max-width: 320px; }

  /* works: 3-column mosaic */
  .pg > section:nth-of-type(5) { margin-top: 112px !important; padding: 0 var(--w) !important; }
  .pg > section:nth-of-type(5) > div:nth-of-type(2) { grid-template-columns: 1.1fr 1fr 1fr !important; grid-auto-rows: 300px; gap: 12px !important; }
  .pg > section:nth-of-type(5) img { height: 100% !important; min-height: 0 !important; border-radius: 20px !important; }
  .pg > section:nth-of-type(5) > div:first-child a { font-size: 17px !important; }

  /* reviews: grid instead of a swipe row */
  .pg > section:nth-of-type(6) { margin-top: 112px !important; padding: 0 var(--w) !important; }
  .pg > section:nth-of-type(6) > div { padding-left: 0 !important; padding-right: 0 !important; }
  .pg > section:nth-of-type(6) > div[style*="overflow-x"] { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible !important; gap: 14px !important; }
  .pg > section:nth-of-type(6) article { width: auto !important; }
  .pg > section:nth-of-type(6) > div:last-child a { max-width: 360px; }

  /* where */
  .pg > section:nth-of-type(7) { padding: 112px var(--w) 160px !important; }
  .pg > section:nth-of-type(7) > p { font-size: 22px !important; }
  .pg > section:nth-of-type(7) > div { max-width: 560px; }

  /* booking button: a floating pill instead of a full-width bar */
  [data-sticky] { background: none !important; pointer-events: none; padding: 0 0 28px !important; display: flex; justify-content: center; }
  [data-sticky] > button { pointer-events: auto; width: min(440px, calc(100vw - 96px)) !important; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); cursor: pointer; transition: background .2s, transform .2s; }
  [data-sticky] > button:hover { background: #38695A !important; transform: translateY(-1px); }

  /* generic hover affordances (touch devices never trigger these) */
  a:hover { opacity: .85; }
}

@media (min-width: 960px) and (max-width: 1180px) {
  #svc-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg > section:nth-of-type(6) > div[style*="overflow-x"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
