/* Compact shop hub, gallery preview, and the page's motion layer.
   Everything here is visible by default: motion only runs when allowed and JS has armed it. */

:root { --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); }

::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Shop hub ---------- */
.sk-visit-band { padding: 2.5rem 0 0; background: var(--color-bg); }
.sk-visit-band .sk-visit { margin-bottom: 0; }
#gallery { padding-top: 3rem; }
.sk-hub { padding: 2rem 0 0; background: var(--color-surface); }
@media (min-width: 900px) {
  .sk-visit-band .sk-visit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .sk-visit-band .sk-visit img { aspect-ratio: 16 / 9; }
}
.sk-visit-band .sk-visit__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.5rem; }

.sk-hub__tabs {
  position: relative; display: flex; gap: 0.25rem; padding: 0.35rem; margin: 0;
  overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: var(--color-bg); border: 1px solid var(--color-border);
}
.sk-hub__tabs::-webkit-scrollbar { display: none; }
.sk-hub__tabs a {
  position: relative; z-index: 1; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; min-height: 48px; padding: 0 1.1rem; border-radius: 999px; white-space: nowrap;
  font-weight: 600; color: var(--color-text); text-decoration: none; transition: color 0.2s ease;
}
.sk-hub__tabs a svg { width: 18px; height: 18px; flex: none; }
.sk-hub__tabs a[aria-current='true'] { color: #fff; }
html[data-theme='dark'] .sk-hub__tabs a[aria-current='true'] { color: var(--navy-900); }
.sk-hub__tabs a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.sk-hub__ink {
  position: absolute; top: 0.35rem; bottom: 0.35rem; left: 0; width: var(--ink-w, 0); border-radius: 999px;
  background: var(--navy-800); transform: translateX(var(--ink-x, 0));
  box-shadow: 0 6px 16px rgba(15, 31, 87, 0.25);
}
html[data-theme='dark'] .sk-hub__ink { background: var(--gold); }
html:not(.js) .sk-hub__ink { display: none; }

.sk-hub > .section { padding: 2.5rem 0 3rem; background: transparent; }
.sk-hub .section-title { margin-bottom: 1.75rem; }
.sk-hub .section-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }

/* Only the chosen range shows once JS is running; without JS every range stays stacked */
html.js .sk-hub:not(.is-ready) > section:not(#shop),
.sk-hub > section[hidden] { display: none; }

.sk-work-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; min-height: 44px;
  font-weight: 700; color: var(--color-secondary); text-decoration: underline; text-underline-offset: 0.25em;
}
.sk-work-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease-out-expo); }
.sk-work-link:hover svg { transform: translateX(4px); }

/* Flooring: one row you slide through, not two rows of cards */
.sk-rail { position: relative; }
.sk-shop .sk-grid--rail {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 80%); gap: 1.25rem; padding: 0.5rem 0.25rem 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-500) transparent;
}
@media (min-width: 700px) { .sk-shop .sk-grid--rail { grid-auto-columns: calc((100% - 2.5rem) / 3); } }
@media (min-width: 1100px) { .sk-shop .sk-grid--rail { grid-auto-columns: calc((100% - 3.75rem) / 4); } }
.sk-grid--rail > .sk-card { scroll-snap-align: start; }
.sk-grid--rail:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sk-rail__btn {
  position: absolute; top: 34%; z-index: 3; display: none; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--color-border); border-radius: 50%; cursor: pointer;
  background: var(--color-bg); color: var(--color-text); box-shadow: 0 8px 20px rgba(15, 31, 87, 0.18);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out-expo);
}
.sk-rail__btn:hover { transform: scale(1.08); }
.sk-rail__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sk-rail__btn[disabled] { opacity: 0; pointer-events: none; }
.sk-rail__btn--prev { left: -14px; }
.sk-rail__btn--next { right: -14px; }
html.js .sk-rail__btn { display: grid; }
@media (hover: none), (max-width: 699px) { html.js .sk-rail__btn { display: none; } }

/* Kitchens: photo and text side by side at a sensible height */
@media (min-width: 900px) {
  .sk-hub .sk-kitchen-hero { align-items: stretch; }
  .sk-hub .sk-kitchen-hero img { max-height: 460px; object-fit: cover; }
}

.sk-quick { padding: 1.25rem 0 0; background: var(--color-bg); }
.sk-quick .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.sk-quick a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--color-border); border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; color: var(--color-text); text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease;
}
.sk-quick a:hover { border-color: var(--gold-600); color: var(--color-secondary); }
.sk-quick a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Gallery preview ---------- */
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-more:has(> [hidden]) { display: none; }

/* ---------- Depth: pointer tilt with a moving light ---------- */
.sk-tilt { transform-style: preserve-3d; transition: transform 0.45s var(--ease-out-expo), box-shadow 0.3s ease; }
.sk-tilt.is-tilting { transition: transform 0.08s linear, box-shadow 0.3s ease; box-shadow: 0 26px 50px rgba(15, 31, 87, 0.22); }
.sk-tilt-glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.28), transparent 62%);
  transition: opacity 0.3s ease;
}
.sk-tilt.is-tilting .sk-tilt-glare { opacity: 1; }
.project-card2, .sk-card, .sk-range, .sk-paint__card, .sk-visit { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  /* Changing tab swings the new range up into place */
  .sk-hub > section.is-entering .container {
    transform-origin: 50% 0;
    animation: hub-swing 0.55s var(--ease-out-expo) backwards;
  }
  @keyframes hub-swing {
    from { opacity: 0; transform: perspective(1400px) rotateX(-9deg) translateY(16px); }
  }
  html.js .sk-hub__ink { transition: transform 0.4s var(--ease-out-expo), width 0.4s var(--ease-out-expo); }

  /* Hero price tiles flip up in turn on load */
  .hero-prices a { animation: price-flip 0.7s var(--ease-out-expo) backwards; transform-origin: 50% 100%; }
  .hero-prices a:nth-child(2) { animation-delay: 0.08s; }
  .hero-prices a:nth-child(3) { animation-delay: 0.16s; }
  .hero-prices a:nth-child(4) { animation-delay: 0.24s; }
  @keyframes price-flip {
    from { opacity: 0; transform: perspective(700px) rotateX(-70deg); }
  }

}

@media (prefers-reduced-motion: reduce) {
  .sk-grid--rail { scroll-behavior: auto; }
}

/* ---------- Hero: the palace film ---------- */
.hero-film { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero-film.is-on { opacity: 1; }
html.house-on .hero-brand::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 58, 0.94) 0%, rgba(10, 22, 58, 0.82) 38%, rgba(10, 22, 58, 0.18) 62%, rgba(10, 22, 58, 0) 100%);
}
html.house-on .hero-brand__emblem { display: none; }
.hero-brand__text { position: relative; z-index: 2; }
@media (min-width: 1280px) { html.house-on .hero-brand__grid { margin-left: max(0px, calc((100vw - 1440px) / 2 + 110px)); max-width: 790px; } }
.hero-cap {
  position: absolute; right: 2rem; top: 1.5rem; z-index: 2; display: none; margin: 0; padding: 0.3rem 0.8rem; border-radius: 999px;
  font-family: var(--font-label); font-size: 1rem; color: #fff; background: rgba(11, 22, 64, 0.62); transition: opacity 0.4s ease;
}
.hero-cap:empty { opacity: 0; }
.hero-film-note { position: absolute; right: 2rem; bottom: 0.75rem; z-index: 2; margin: 0; font-size: 0.72rem; color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); }
.hero-film-note { display: none; }
html.house-on .hero-film-note { display: block; }
@media (max-width: 640px) { .hero-film-note { right: 1rem; bottom: 0.3rem; font-size: 0.64rem; } }
@media (min-width: 1025px) { html.house-on .hero-cap { display: block; } }
/* phones and tablets: the film sits behind the text, half shaded */
@media (max-width: 1024px) {
  html.house-on .hero-brand::after { background: rgba(10, 22, 58, 0.44); }
}

/* solid enough to read over the palace */
html.house-on .hero-brand__ctas .btn-outline-light { background: rgba(11, 22, 64, 0.68); }
html.house-on .hero-brand__ctas .btn-outline-light:hover { background: rgba(26, 52, 135, 0.82); }
html.house-on .hero-prices a { background: rgba(11, 22, 64, 0.62); }

.btn:active { transform: scale(0.96); }

/* A review request lands somewhere obvious */
.review-form.is-called { animation: form-called 1.6s var(--ease-out-expo); }
@keyframes form-called {
  0% { box-shadow: 0 0 0 0 rgba(243, 201, 92, 0.9); }
  100% { box-shadow: 0 0 0 26px rgba(243, 201, 92, 0); }
}

.sk-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3000; height: 3px; pointer-events: none;
  background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

@media (prefers-reduced-motion: no-preference) {
  /* Blueprint grid creeps slowly behind the hero */
  .hero-brand::before { inset: -48px; animation: grid-drift 14s linear infinite; }
  @keyframes grid-drift { to { transform: translate3d(48px, 48px, 0); } }

  /* Headline: frame first, finish lands after it */
  .hero-brand__title { animation: title-in 0.9s var(--ease-out-expo) backwards; }
  .hero-brand__title span { display: inline-block; animation: finish-in 0.8s var(--ease-out-expo) 0.45s backwards; transform-origin: 0 100%; }
  @keyframes title-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -5% 0 0); } }
  @keyframes finish-in { from { opacity: 0; transform: perspective(500px) rotateX(-80deg); } }

  /* A slow glint across the main button */
  .hero-brand__ctas .btn-primary { position: relative; overflow: hidden; }
  .hero-brand__ctas .btn-primary::after {
    content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: translateX(-160%) skewX(-18deg); animation: glint 5.5s ease-in-out 1.6s infinite;
  }
  @keyframes glint { 0% { transform: translateX(-160%) skewX(-18deg); } 22%, 100% { transform: translateX(420%) skewX(-18deg); } }

  .sk-review-btn svg { color: var(--gold); animation: star-pop 4s var(--ease-out-expo) 2s infinite; }
  @keyframes star-pop { 0%, 12%, 100% { transform: none; } 6% { transform: scale(1.45) rotate(72deg); } }

  /* Cards flip up as they scroll in. Driven by JS so it runs on every phone */
  .fx-arm { opacity: 0; transform: perspective(900px) rotateX(26deg) translateY(36px); transform-origin: 50% 100%; }
  .fx-arm.fx-in {
    opacity: 1; transform: none;
    transition: opacity 0.5s ease-out var(--d, 0ms), transform 0.8s var(--ease-out-expo) var(--d, 0ms);
  }

  .project-card2:active, .sk-card:active, .trade-card:active, .review-card:active { scale: 0.97; }
  .project-card2, .sk-card, .trade-card, .review-card { transition-property: transform, box-shadow, scale, opacity; }
}

@media print {
  .fx-arm { opacity: 1 !important; transform: none !important; }
  .sk-progress, .hero-film, .hero-cap { display: none !important; }
}

/* ---------- Makeover packages ---------- */
.nav-links { gap: clamp(0.7rem, 1.25vw, 1.75rem); }
.nav-links a { white-space: nowrap; }
/* small laptops: keep the Free quote button on screen; these three stay in the footer and on the page */
@media (min-width: 1025px) and (max-width: 1239px) { .nav-links li:nth-child(n+8) { display: none; } }
.pk__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
html:not(.js) .pk__tabs { display: none; }
.pk__tabs button {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.1rem; min-height: 72px; padding: 0.8rem 1.1rem; text-align: left;
  border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-bg); color: var(--color-text); cursor: pointer; font: inherit;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.pk__tabs strong { font-family: var(--font-display); font-size: 1.2rem; }
.pk__tabs small { font-size: 0.85rem; color: var(--color-text-muted); }
.pk__tabs em { position: absolute; top: 0.6rem; right: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 999px; font-style: normal; font-size: 0.68rem; font-weight: 700; background: var(--gold); color: var(--navy-900); }
.pk__tabs button:hover { transform: translateY(-2px); }
.pk__tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pk__tabs button[aria-pressed='true'] { background: var(--navy-800); color: #fff; box-shadow: 0 12px 26px rgba(15, 31, 87, 0.28); }
.pk__tabs button[aria-pressed='true'] small { color: rgba(255, 255, 255, 0.82); }
.pk__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* every plan shares one grid cell, so the page never jumps when the plan changes */
.pk__stage { display: grid; }
.pk__panel {
  grid-area: 1 / 1; display: grid; gap: 1.5rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-bg);
  box-shadow: 0 18px 44px rgba(15, 31, 87, 0.1);
}
@media (min-width: 900px) { .pk__panel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; padding: 1.5rem; } }
html.js .pk.is-ready .pk__panel:not(.is-on) { visibility: hidden; opacity: 0; }
html:not(.js) .pk__panel { grid-area: auto; margin-bottom: 1rem; }
.pk__media { position: relative; overflow: hidden; align-self: start; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--color-border); }
.pk__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk__before { clip-path: inset(0 50% 0 0); }
.pk__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.2rem 0 0.35rem; }
.pk__desc { color: var(--color-text-muted); margin-bottom: 0.9rem; }
.pk__body h4 { margin: 0.9rem 0 0.45rem; font-size: 0.82rem; color: var(--color-secondary); }
.pk__services { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pk__services a {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0 0.75rem; border: 1px solid var(--color-border); border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: var(--color-text); text-decoration: none; transition: border-color 0.2s ease, transform 0.25s var(--ease-out-expo);
}
.pk__services a:hover { border-color: var(--gold-600); transform: translateY(-2px); }
.pk__services svg { width: 16px; height: 16px; color: var(--gold-600); }
.pk__good { display: grid; gap: 0.25rem 1rem; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; }
@media (min-width: 640px) { .pk__good { grid-template-columns: 1fr 1fr; } }
.pk__good li { display: flex; gap: 0.4rem; align-items: flex-start; }
.pk__good svg { width: 16px; height: 16px; margin-top: 0.2rem; color: var(--gold-600); flex: none; }
.pk__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.8rem; line-height: 1.25; }
.pk__steps span { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 0.25rem; border-radius: 50%; font-weight: 700; font-size: 0.75rem; background: var(--navy-800); color: #fff; }
html[data-theme='dark'] .pk__steps span { background: var(--gold); color: var(--navy-900); }
.pk__price { margin: 0.95rem 0 0.75rem; font-size: 0.95rem; }
.pk__price strong { color: var(--color-secondary); font-size: 1.1rem; }

@media (prefers-reduced-motion: no-preference) {
  /* the showreel: gold bar fills on the running plan */
  .pk.is-playing .pk__tabs button[aria-pressed='true'] .pk__bar { animation: pk-fill var(--pk-hold, 9000ms) linear forwards; }
  @keyframes pk-fill { to { transform: scaleX(1); } }

  /* a plan arrives: the photo wipes from before to after, chips pop in one by one, steps follow */
  .pk.is-seen .pk__panel.is-on .pk__before { animation: pk-wipe 3.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both; }
  @keyframes pk-wipe { 0% { clip-path: inset(0 0 0 0); } 62% { clip-path: inset(0 92% 0 0); } 100% { clip-path: inset(0 50% 0 0); } }
  .pk.is-seen .pk__panel.is-on .pk__media { animation: pk-media 0.8s var(--ease-out-expo) backwards; transform-origin: 50% 100%; }
  @keyframes pk-media { from { opacity: 0; transform: perspective(900px) rotateY(-14deg) scale(0.96); } }
  .pk.is-seen .pk__panel.is-on .pk__services li { animation: pk-chip 0.55s var(--ease-out-expo) calc(var(--i, 0) * 60ms + 150ms) backwards; }
  @keyframes pk-chip { from { opacity: 0; transform: perspective(500px) rotateX(-60deg) translateY(10px); } }
  .pk.is-seen .pk__panel.is-on .pk__steps li { animation: pk-step 0.5s var(--ease-out-expo) backwards; }
  .pk.is-seen .pk__panel.is-on .pk__steps li:nth-child(2) { animation-delay: 0.45s; }
  .pk.is-seen .pk__panel.is-on .pk__steps li:nth-child(3) { animation-delay: 0.6s; }
  .pk.is-seen .pk__panel.is-on .pk__steps li:nth-child(4) { animation-delay: 0.75s; }
  .pk.is-seen .pk__panel.is-on .pk__steps li:nth-child(1) { animation-delay: 0.3s; }
  @keyframes pk-step { from { opacity: 0; transform: translateX(-12px); } }
}

/* ---------- Firms we work with: a moving belt of names ---------- */
.sk-firms { padding: 3rem 0 2.25rem; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.sk-firms h2 { margin-bottom: 1.5rem; text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; }
.sk-firms__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.sk-firms__belt { display: flex; width: max-content; }
.sk-firms__group { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.sk-firms__group li {
  position: relative; display: flex; align-items: center; padding: 0.3rem 2.75rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--gold);
  transition: color 0.2s ease, transform 0.35s var(--ease-out-expo);
}
.sk-firms__group li::after {
  content: ''; position: absolute; right: -4px; width: 8px; height: 8px; rotate: 45deg; background: rgba(255, 255, 255, 0.35);
}
.sk-firms__group li:hover { color: #fff; transform: perspective(400px) translateZ(40px); }
.sk-firms__note { margin: 1.25rem 0 0; text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }

@media (prefers-reduced-motion: no-preference) {
  .sk-firms__belt { animation: belt 42s linear infinite; }
  .sk-firms__track:hover .sk-firms__belt { animation-play-state: paused; }
  @keyframes belt { to { transform: translate3d(-50%, 0, 0); } }

  /* Picking a material: its cards flip up one after another, same move as the rest of the page */
  .sk-hub > section.is-entering .sk-card,
  .sk-hub > section.is-entering .sk-range,
  .sk-hub > section.is-entering .sk-paint__card,
  .sk-hub > section.is-entering .sk-kitchen-hero {
    transform-origin: 50% 100%;
    animation: card-flip 0.75s var(--ease-out-expo) calc(var(--i, 0) * 75ms + 80ms) backwards;
  }
  @keyframes card-flip {
    from { opacity: 0; transform: perspective(900px) rotateX(30deg) translateY(36px); }
  }
  .sk-hub > section.is-entering .section-title { animation: title-rise 0.55s var(--ease-out-expo) backwards; }
  @keyframes title-rise { from { opacity: 0; transform: translateY(14px); } }
  .sk-hub__tabs a:active { transform: scale(0.95); }
  .sk-hub__tabs a[aria-current='true'] svg { animation: tab-pop 0.5s var(--ease-out-expo); }
  @keyframes tab-pop { from { transform: scale(0.5) rotate(-30deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .sk-firms__track { -webkit-mask-image: none; mask-image: none; }
  .sk-firms__belt { width: auto; }
  .sk-firms__group { flex-wrap: wrap; justify-content: center; }
  .sk-firms__group[aria-hidden='true'], .sk-firms__group li:nth-child(n+6) { display: none; }
}

/* ---------- Phones: smaller controls, more on each screen, photos doing the talking ---------- */
@media (max-width: 640px) {
  .section, .process { padding: 2.25rem 0; }
  .section-title { margin-bottom: 1.25rem; }
  .section-title h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
  .section-title .lead { font-size: 0.95rem; line-height: 1.45; }

  .btn, .btn.large { padding: 0.55rem 0.8rem; font-size: 0.9rem; gap: 0.35rem; }
  .btn svg { width: 16px; height: 16px; }
  .btn-sm { font-size: 0.82rem; }
  .wa-fab { width: 50px; height: 50px; }

  /* Hero: let the photo show, keep everything above the fold */
  .hero-brand {
    padding: 5.25rem 0 1.25rem;
    background:
      linear-gradient(180deg, rgba(10, 22, 58, 0.5) 0%, rgba(10, 22, 58, 0.72) 42%, rgba(10, 22, 58, 0.96) 78%),
      url('../assets/brand/hero-bg-sm.webp') center top / cover no-repeat,
      var(--navy-900);
  }
  .hero-brand__eyebrow { font-size: 0.68rem; margin-bottom: 0.5rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
  .hero-brand__titlewrap { margin-bottom: 0.5rem; }
  .hero-brand__title { font-size: 2.3rem; line-height: 1.05; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
  .hero-brand__emblem { width: 70px; }
  .hero-brand__sub {
    font-size: 0.92rem; line-height: 1.4; margin-bottom: 0.85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .hero-brand__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
  .hero-brand__ctas .btn { width: auto; min-width: 0; white-space: nowrap; }
  .hero-brand__ctas .sk-review-btn { grid-column: 1 / -1; }
  .hero-prices { gap: 0.4rem; margin-bottom: 0.4rem; }
  .hero-prices a { padding: 0.4rem 0.6rem; }
  .hero-prices span { font-size: 0.68rem; }
  .hero-prices strong { font-size: 1.05rem; }
  .hero-prices__note { font-size: 0.72rem; line-height: 1.3; margin-bottom: 0; }
  .hero-brand__chips { display: none; }

  /* Accreditations: one swipeable line */
  .trust-bar { padding: 0.55rem 0; }
  .trust-bar ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 0.8rem; }
  .trust-bar ul::-webkit-scrollbar { display: none; }

  /* Visit panel: photo beside the details */
  .sk-visit-band { padding-top: 1rem; }
  .sk-visit-band .sk-visit { grid-template-columns: 38% minmax(0, 1fr); gap: 0.75rem; padding: 0.6rem; border-radius: 14px; align-items: stretch; }
  .sk-visit-band .sk-visit img { height: 100%; aspect-ratio: auto; border-radius: 10px; }
  .sk-visit-band .sk-visit__text { padding: 0.15rem 0.1rem; }
  .sk-visit-band .sk-visit .eyebrow { display: none; }
  .sk-visit-band .sk-visit__text h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
  .sk-visit-band .sk-visit__text > p:not(.sk-visit__addr):not(.eyebrow) { display: none; }
  .sk-visit__addr { font-size: 0.78rem; line-height: 1.3; margin-bottom: 0.5rem; align-items: flex-start; }
  .sk-visit__addr svg { width: 14px; height: 14px; }
  .sk-visit__ctas { flex-direction: column; gap: 0.35rem; }
  .sk-visit__ctas .btn { width: 100%; font-size: 0.8rem; }

  /* Gallery: two jobs a row */
  #gallery { padding-top: 1.75rem; }
  .gallery-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-bottom: 0.9rem; }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filters .chip { flex: none; padding: 0.3rem 0.75rem; font-size: 0.8rem; min-height: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .project-card2 { border-radius: 12px; }
  .project-card2__body { padding: 0.55rem 0.65rem 0.65rem; }
  .project-card2__cat { display: none; }
  .project-card2 h3 { font-size: 0.92rem; line-height: 1.2; margin: 0 0 0.2rem; }
  .project-card2 p {
    font-size: 0.76rem; line-height: 1.3; margin-bottom: 0.35rem;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  .project-card2 p.project-card2__areas { display: none; }
  .project-card2__more { font-size: 0.78rem; margin-top: auto; }
  .ba2__tag { padding: 0.1rem 0.4rem; font-size: 0.62rem; bottom: 0.4rem; }
  .ba2__tag--before { left: 0.4rem; }
  .ba2__tag--after { right: 0.4rem; }
  .ba2__handle::after { width: 28px; height: 28px; font-size: 0.65rem; }
  .gallery-more { margin-top: 1rem; }

  /* Ranges */
  .sk-hub { padding-top: 1rem; }
  .sk-hub__tabs { gap: 0; padding: 0.25rem; overflow: hidden; }
  .sk-hub__tabs a { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 0 0.3rem; font-size: 0.84rem; }
  .sk-hub__tabs a svg, .sk-hub__more { display: none; }
  .sk-hub__ink { top: 0.25rem; bottom: 0.25rem; }
  .sk-hub > .section { padding: 1.25rem 0 1.75rem; }
  .sk-hub .section-title { margin-bottom: 0.9rem; }
  .sk-hub .section-title h2 { font-size: 1.35rem; }
  .sk-work-link { margin-top: 0.25rem; min-height: 40px; font-size: 0.88rem; }

  .sk-shop .sk-grid--rail, .sk-grid--tiles {
    grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
    gap: 0.6rem; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .sk-card { border-radius: 12px; }
  .sk-card__tag { top: 0.4rem; left: 0.4rem; padding: 0.1rem 0.45rem; font-size: 0.62rem; }
  .sk-card__body { gap: 0.25rem; padding: 0.55rem 0.65rem 0.65rem; }
  .sk-card h3 { font-size: 0.95rem; margin: 0; }
  .sk-card__feats li:nth-child(n+3) { display: none; }
  .sk-card__feats, .sk-card__text { font-size: 0.76rem; line-height: 1.3; }
  .sk-price { font-size: 0.8rem; margin: 0; }
  .sk-price strong { font-size: 1.1rem; }
  .sk-price__inc { font-size: 0.7rem; margin: 0; }
  .sk-card .btn { margin-top: auto; }
  .sk-note { font-size: 0.74rem; line-height: 1.35; }

  .sk-kitchen-hero { gap: 0.6rem; }
  .sk-kitchen-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
  .sk-kitchen-hero__text h3 { font-size: 1.2rem; }
  .sk-kitchen-hero__plus li { font-size: 0.82rem; }
  .sk-ranges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
  .sk-range { padding: 0.6rem; }
  .sk-range h3 { font-size: 0.95rem; }
  .sk-range > p:not(.sk-range__price) { display: none; }
  .sk-range__badge { font-size: 0.6rem; padding: 0.1rem 0.35rem; }
  .sk-range__price { font-size: 0.78rem; }
  .sk-paint__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .sk-paint__card { padding: 0.75rem; }
  .sk-paint__card h3 { font-size: 1rem; }
  .sk-paint__card li { font-size: 0.78rem; }
  .sk-paint__card .btn { font-size: 0.78rem; padding: 0.45rem 0.4rem; }

  /* Trades: two a row, the list stays on the service pages */
  .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .trade-card { padding: 0.75rem; }
  .trade-card h3 { font-size: 0.98rem; margin-bottom: 0.25rem; }
  .trade-card p {
    font-size: 0.78rem; line-height: 1.3; margin-bottom: 0.35rem;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .trade-card ul { display: none; }
  .trade-card__icon { width: 36px; height: 36px; margin-bottom: 0.35rem; }
  .trade-card__cta { font-size: 0.8rem; margin-top: auto; }

  .sk-firms { padding: 1.75rem 0 1.25rem; }
  .sk-firms h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
  .sk-firms__group li { padding: 0.2rem 1.5rem; font-size: 1.2rem; }
  .sk-firms__belt { animation-duration: 30s; }
  .sk-firms__note { font-size: 0.8rem; margin-top: 0.6rem; }

  .sk-quick { padding-top: 0.75rem; }
  .sk-quick .container { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 0.4rem; }
  .sk-quick .container::-webkit-scrollbar { display: none; }
  .sk-quick a { flex: none; min-height: 38px; padding: 0 0.75rem; font-size: 0.8rem; }
  .sk-hub .section-title .sk-work-link { display: flex; justify-content: center; }

  .pk__tabs { gap: 0.35rem; margin-bottom: 0.6rem; }
  .pk__tabs button { min-height: 58px; padding: 0.5rem 0.55rem; }
  .pk__tabs strong { font-size: 0.95rem; }
  .pk__tabs small { font-size: 0.68rem; line-height: 1.15; }
  .pk__tabs em { display: none; }
  .pk__panel { gap: 0.7rem; padding: 0.7rem; border-radius: 14px; }
  .pk__media { aspect-ratio: 16 / 10; }
  .pk__body h3 { font-size: 1.25rem; }
  .pk__desc { font-size: 0.86rem; line-height: 1.35; margin-bottom: 0.3rem; }
  .pk__body h4 { margin: 0.6rem 0 0.3rem; font-size: 0.72rem; }
  .pk__services a { min-height: 34px; padding: 0 0.55rem; font-size: 0.76rem; }
  .pk__services svg { width: 14px; height: 14px; }
  .pk__good { font-size: 0.8rem; }
  .pk__steps { font-size: 0.7rem; }
  .pk__steps span { width: 20px; height: 20px; font-size: 0.65rem; }
  .pk__price { font-size: 0.82rem; margin: 0.6rem 0 0.5rem; }
  .pk__price strong { font-size: 0.95rem; }
  .pk__body .btn { width: 100%; }
}
