/* phone: 2 columns x 41 rows */
        .cl-mosaic { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(28, minmax(0, 1fr)); aspect-ratio: 20 / 28; background: #000; overflow: hidden; }

        .cl-tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #1b1b1b; min-width: 0; min-height: 0; -webkit-tap-highlight-color: transparent; }
        .cl-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.61,.36,1); }

        /* medium vignette: darker toward the middle (behind the title) and the edges stay clearer */
        .cl-tile-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(0,0,0,.52) 0%, rgba(0,0,0,.40) 45%, rgba(0,0,0,.22) 80%, rgba(0,0,0,.14) 100%); transition: background .5s ease; }

        .cl-tile-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 8%; box-sizing: border-box; }
        .cl-tile-title { font-family: var(--unc-font-logo); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; padding-left: .2em; font-size: clamp(13px, 3.6vw, 20px); line-height: 1.2; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
        .cl-tile-desc { font-family: 'Inter', 'Roboto', sans-serif; font-weight: 300; font-size: clamp(11px, 2.9vw, 15px); line-height: 1.45; max-width: 24ch; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, max-height .45s ease, margin-top .45s ease; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

        .cl-tile:hover .cl-tile-img, .cl-tile:focus-visible .cl-tile-img { transform: scale(1.04); }
        .cl-tile:hover .cl-tile-shade, .cl-tile:focus-visible .cl-tile-shade { background: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(0,0,0,.66) 0%, rgba(0,0,0,.54) 45%, rgba(0,0,0,.34) 80%, rgba(0,0,0,.24) 100%); }
        .cl-tile:hover .cl-tile-desc, .cl-tile:focus-visible .cl-tile-desc { margin-top: 12px; max-height: 8em; opacity: 1; transform: none; }
        .cl-tile:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

        .cl-t-house { grid-column: 1 / span 2; grid-row: 1 / span 14; }
        .cl-t-media { grid-column: 1; grid-row: 15 / span 14; }
        .cl-t-studios { grid-column: 2; grid-row: 15 / span 14; }

        /* tablet and desktop: 4 columns x 3 rows that fill the screen below the header */
        @media (min-width: 769px) {
          .cl-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: auto; height: calc(100vh - 84px); height: calc(100svh - 84px); min-height: 520px; }
          .cl-t-house { grid-column: 1 / span 2; grid-row: 1 / span 2; }
          .cl-t-media { grid-column: 3; grid-row: 1; }
          .cl-t-studios { grid-column: 3; grid-row: 2; }
          .cl-tile-title { font-size: clamp(15px, 1.7vw, 26px); }
          .cl-tile-desc { font-size: clamp(12px, 1.05vw, 16px); }
        }

        /* ---- hero: phone shows the photo fading to black, with the text over the faded part ---- */
        .cl-hero { position: relative; display: block; text-align: left; background: #000; color: #fff; overflow: hidden; }
        .cl-hero-bg { display: block; width: 100%; aspect-ratio: 5 / 4; background-size: cover; background-position: 62% 50%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
        .cl-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; margin-top: -40px; padding: 0 20px 36px; }
        .cl-hero-eyebrow { font-family: 'Inter', 'Roboto', sans-serif; font-weight: 400; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; color: #fff; margin: 0; }
        .cl-hero-title { font-family: var(--unc-font-logo); font-weight: 400; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: .05em; color: #fff; margin: 0; text-wrap: balance; }
        .cl-hero-desc { font-family: 'Inter', 'Roboto', sans-serif; font-weight: 300; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.45; color: #fff; margin: 0; }
        .cl-hero-btn { margin-top: 6px; font-family: 'Inter', 'Roboto', sans-serif; font-size: 15px; font-weight: 400; letter-spacing: .06em; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
        .cl-hero-btn:hover { text-decoration-thickness: 2px; }
        .cl-hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

        /* ---- New Arrivals: four products in a row, square image boxes on #f1f1f1 ---- */
        .cl-new { padding: 48px 20px 52px; background: #fff; color: #000; }
        .cl-new-title { font-family: var(--unc-font-logo); font-weight: 400; font-size: clamp(20px, 2.5vw, 30px); letter-spacing: .05em; text-transform: uppercase; color: #000; margin: 0 0 24px; }
        .cl-new-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
        .cl-product { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
        .cl-product-box { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; background: #f1f1f1; overflow: hidden; }
        .cl-product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
        .cl-product-name { display: block; margin-top: 12px; font-family: 'Inter', 'Roboto', sans-serif; font-size: 14px; line-height: 1.4; color: #111; }
        .cl-product:hover .cl-product-img, .cl-product:focus-visible .cl-product-img { transform: scale(1.04); }
        .cl-product:hover .cl-product-name, .cl-product:focus-visible .cl-product-name { text-decoration: underline; text-underline-offset: 3px; }
        .cl-product:focus-visible { outline: 2px solid #000; outline-offset: 4px; }

        @media (min-width: 769px) {
          /* tablet and desktop: text sits over the photo on the left, with a dark scrim so the white text stays legible */
          .cl-hero { display: flex; align-items: center; justify-content: flex-start; min-height: clamp(380px, 46vw, 640px); padding: 48px 64px 56px; color: #fff; }
          .cl-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; background-position: 70% 82%; -webkit-mask-image: none; mask-image: none; }
          .cl-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(0,0,0,.50) 0%, rgba(0,0,0,.32) 30%, rgba(0,0,0,.08) 55%, rgba(0,0,0,0) 70%); }
          .cl-hero-inner { position: relative; z-index: 2; margin-top: 0; padding: 0; max-width: min(620px, 44vw); }
          .cl-hero-eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
          .cl-hero-title { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
          .cl-hero-desc { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
          .cl-hero-btn { color: #fff; }
          .cl-hero-btn:focus-visible { outline-color: #fff; }
          .cl-new { padding: 64px 64px 72px; }
          .cl-new-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
        }

        @media (prefers-reduced-motion: reduce) {
          .cl-product-img { transition: none; }
          .cl-product:hover .cl-product-img, .cl-product:focus-visible .cl-product-img { transform: none; }
          .cl-tile-img, .cl-tile-shade, .cl-tile-desc { transition: none; }
          .cl-tile:hover .cl-tile-img, .cl-tile:focus-visible .cl-tile-img { transform: none; }
        }
.cl-new-title { margin-bottom: 8px; }
.cl-new-sub, .cl-feature-desc { font-family: 'Inter', 'Roboto', sans-serif; font-weight: 300; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.45; color: #111; margin: 0 0 24px; }
.cl-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0 20px 40px; background: #fff; color: #000; }
.cl-feature-img { display: block; width: 100%; height: auto; }
.cl-feature-text .cl-new-title { margin-bottom: 12px; }
.cl-feature-desc { margin: 0; }
@media (min-width: 769px) {
  .cl-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 0 64px 72px; }
}
/* Article cards (yorkshiretouristguide.com): the picture fills the box instead of sitting inside it like a product */
.cl-product--article .cl-product-img { object-fit: cover; padding: 0; }
.cl-feature-link { display: inline-block; margin-top: 16px; font-family: 'Inter', 'Roboto', sans-serif; font-size: 15px; letter-spacing: .06em; color: #000; text-decoration: underline; text-underline-offset: 4px; }
.cl-feature-link:hover { text-decoration-thickness: 2px; }

/* crownleigh.com, desktop: the hero text, the product row and the picture-and-text section line up with the menu items.
   The header text starts 30px inside a 1280px centred row, so the same inset is used here. */
@media (min-width: 769px) {
  .cl-main .cl-hero, .cl-main .cl-new, .cl-main .cl-feature { padding-left: max(30px, calc((100% - 1280px) / 2 + 30px)); padding-right: max(30px, calc((100% - 1280px) / 2 + 30px)); }
  /* the hero picture stays full width, nudged to the right (it is 4% wider than the hero, so there is room to move) */
  .cl-main .cl-hero-bg { background-repeat: no-repeat; background-size: 104% auto; background-position: 0% 82%; }
}
