/* Bulldog Kitchen & Bath: base theme */
:root {
  --ink: #111;
  --ink-mid: #1c1c1c;
  --ink-dark: #000;
  --red: #d71920;
  --red-dark: #a8131a;
  --red-tint: #fdeaea;
  --grey-bg: #fafafa;
  --grey-light: #f6f6f6;
  --grey-line: #d1d6dc;
  --text: #000;
  --text-muted: #494a52;
  --card-title: #222;
  --card-text: #555;
  --field-label: #222;
  --field-border: #959494;
  --field-bg: #f6f6f6;
  --error: #ef6b51;
  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 120px;
  --diamond-pattern: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 40 40%27%3E%3Cpath d=%27M20 3 37 20 20 37 3 20z%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%27.16%27 stroke-width=%271.5%27/%3E%3C/svg%3E");
  --diamond-pattern-ink: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 40 40%27%3E%3Cpath d=%27M20 3 37 20 20 37 3 20z%27 fill=%27none%27 stroke=%27%23111111%27 stroke-opacity=%27.18%27 stroke-width=%271.5%27/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Montserrat", "Gotham", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.2; font-weight: 300; }
h1 strong, h2 strong, h3 strong { font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.bleed > .section-head { padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--grey { background: var(--grey-bg); }
.section--tint { background: var(--grey-light); }
.section-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.section-head--center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--text-muted); max-width: 640px; }
.skip-link { position: absolute; left: -1000px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 0;
  color: #fff;
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  padding: .75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.button:hover, .button:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.button--outline { background: #fff; border-width: 1px; border-color: var(--ink); color: var(--ink); padding-block: calc(.75rem + 1px); }
.button--outline:hover, .button--outline:focus-visible { background: var(--ink); color: #fff; }
.button--block { display: block; width: 100%; }
.link-arrow { color: var(--red); font-weight: 500; text-decoration: underline; text-underline-offset: .25rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header (black, full width) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); padding-right: clamp(.75rem, 1vw, 1rem); }
.logo { position: relative; display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; line-height: 1; margin-right: auto; padding: .75rem 1rem .75rem .6rem; align-self: stretch; }
.logo > * { position: relative; }
.logo__img { width: auto; height: 100px; flex: none; }
@media (max-width: 1260px) { .logo__img { height: 80px; } }
/* Desktop: slimmer header (about 93px tall); the full-size logo hangs a little below it */
@media (min-width: 1261px) { .site-header__inner { min-height: 92px; } .logo { align-self: flex-start; height: 92px; padding-block: 0; } .logo__img { position: relative; z-index: 2; height: 100px; top: 14px; } .header-cta { padding-block: .75rem; }
  /* Menu sits centered in the space between the logo and the phone number */
  .logo { margin-right: 0; } .main-nav { flex: 1; } .main-nav > ul { justify-content: center; } }
@media (max-width: 420px) { .logo__img { height: 64px; } }
@media (max-width: 374px) { .logo { padding-right: .5rem; } .logo__img { height: 56px; } }
.main-nav > ul { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 2rem); list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav__link {
  display: flex; align-items: center; gap: .55rem; text-align: left;
  padding: .75rem 0; background: none; border: 0; font: inherit; font-size: 1.125rem; font-weight: 200; line-height: 1.35;
  color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.main-nav__link svg { width: 12px; height: 12px; flex: none; transition: transform .2s; }
.main-nav__link:hover, .main-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
.submenu {
  position: absolute; top: calc(100% + .5rem); left: -1rem; min-width: 240px; list-style: none; margin: 0; padding: .5rem 0;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.submenu a { display: block; padding: .6rem 1.2rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.submenu a:hover { background: var(--grey-light); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .main-nav__link svg, .has-sub.open > .main-nav__link svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }
.header-phone { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: clamp(1.1rem, 1.45vw, 1.4rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 1em; height: 1em; }
.header-cta { display: block; background: var(--red); color: #fff; text-decoration: none; text-align: center; font-weight: 600; font-size: .9rem; line-height: 1.35; padding: .9rem 1.6rem; white-space: nowrap; border: 1px solid var(--red); transition: all .2s; }
.header-cta:hover { background: #fff; border-color: #fff; color: var(--red); }
/* Phones and tablets: call and estimate buttons stacked between the logo and the menu button */
.header-quick { display: none; flex-direction: column; gap: .35rem; }
.header-quick a { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 9.5rem; padding: .4rem .6rem; border-radius: 3px; font-size: .78rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.header-quick svg { width: 13px; height: 13px; flex: none; }
.header-quick__call { background: #fff; color: var(--ink); border: 1px solid #fff; }
.header-quick__call:hover { background: #e9e9e9; border-color: #e9e9e9; }
.header-quick__cta { background: var(--red); color: #fff; border: 1px solid var(--red); }
.header-quick__cta:hover { background: var(--red-dark); border-color: var(--red-dark); }
/* Bigger where there's room: most phones from 390px wide, then tablets */
@media (min-width: 390px) { .header-quick a { min-width: 10.6rem; padding: .45rem .7rem; font-size: .88rem; } .header-quick svg { width: 14px; height: 14px; } }
@media (min-width: 600px) { .header-quick { gap: .45rem; } .header-quick a { min-width: 13.5rem; padding: .6rem 1rem; font-size: 1.05rem; } .header-quick svg { width: 17px; height: 17px; } }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 30px; height: 30px; }
.mobile-only { display: none; }

/* Offer line (below header) */
.promo-bar { background: var(--red); text-align: center; font-size: .9rem; padding: .55rem var(--gutter); }
.promo-bar a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1260px) {
  .nav-toggle { display: block; }
  .header-cta, .header-actions > .header-phone { display: none; }
  .header-quick { display: flex; }
  /* Menu button and logo on the left, call and estimate buttons on the right */
  .site-header__inner { display: grid; grid-template-columns: auto auto 1fr; gap: .25rem; padding-inline: .25rem clamp(.75rem, 1vw, 1rem); }
  .header-actions { display: contents; }
  .nav-toggle { grid-column: 1; grid-row: 1; }
  .logo { grid-column: 2; grid-row: 1; margin-right: 0; padding: .5rem .25rem; }
  .header-quick { grid-column: 3; grid-row: 1; justify-self: end; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: .5rem var(--gutter) 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__link { width: 100%; max-width: none; justify-content: space-between; padding: .9rem 0; font-size: 1.05rem; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--grey-line); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; display: none; padding: 0 0 .5rem 1rem; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .mobile-only { display: block; margin-top: 1rem; }
  .mobile-only .header-phone { color: var(--ink); align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; }
}

/* Home carousel */
.carousel { position: relative; overflow: hidden; background: #000; }
.carousel__track { display: flex; transition: transform .7s ease; }
.carousel__slide { position: relative; flex: 0 0 100%; min-height: clamp(520px, 68vh, 640px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: 3rem max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 5.5rem; overflow: hidden; }
.carousel__slide > img, .hero > img, .banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__slide > .carousel__bg { opacity: .2; }
.carousel__photo { position: relative; z-index: 2; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.carousel__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel__content { position: relative; z-index: 2; color: #fff; max-width: 600px; }
.carousel__content > :last-child { margin-bottom: 0; }
.carousel__eyebrow { display: block; font-size: clamp(1rem, 1.65vw, 1.3rem); font-weight: 300; margin-bottom: .35rem; }
.carousel__content h1, .carousel__content h2 { color: #fff; font-weight: 200; font-size: clamp(2.15rem, 3.75vw, 3.28rem); letter-spacing: -2.5px; line-height: 1.1; margin-bottom: 1rem; }
.carousel__content h1 strong, .carousel__content h2 strong { font-weight: 500; }
.carousel__content p { font-size: clamp(1rem, 1.5vw, 1.17rem); font-weight: 400; line-height: 1.6; margin-bottom: 1.4rem; }
.carousel__controls { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 1.75rem; z-index: 3; display: flex; gap: .6rem; }
.carousel__nav { width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: all .2s; }
.carousel__nav:hover { background: #fff; color: var(--ink); }
.carousel__nav svg { width: 14px; height: 14px; }
.carousel__dots { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .55rem; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: #fff; }
@media (max-width: 900px) {
  .carousel__slide { grid-template-columns: 1fr; align-content: start; min-height: 0; }
}

/* Strip under hero */
.callout { background: var(--ink); color: #fff; }
.callout__inner { display: flex; align-items: center; gap: 1.5rem; padding: .55rem var(--gutter); min-height: 64px; }
.callout__badge { display: flex; align-items: center; gap: .4rem; background: #fff; color: var(--ink); border-radius: 999px; padding: .3rem .9rem .3rem .45rem; flex-shrink: 0; }
.callout__badge svg { width: 30px; height: 30px; color: #fff; background: var(--red); border-radius: 50%; padding: 4px; }
.callout__badge span { display: flex; flex-direction: column; line-height: 1.05; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.callout__badge strong { font-size: .95rem; letter-spacing: .04em; }
.callout__content { flex: 1; text-align: right; }
.callout__content h2 { color: #fff; font-size: clamp(1.05rem, 2.4vw, 1.65rem); font-weight: 200; margin: 0; }
.callout__content strong { font-weight: 700; }
.callout__years { display: flex; flex-direction: column; align-items: center; line-height: 1; border-left: 1px solid rgba(255,255,255,.5); padding-left: 1rem; }
.callout__years strong { font-size: 1.8rem; font-weight: 700; }
.callout__years span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 640px) { .callout__badge { display: none; } }

/* Offer cards */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
/* Below 900px the homepage promos become a one-card swipe slider with dots, like bathconcepts.com */
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid--slider { display: flex; gap: 16px; padding: 0 16px; scroll-padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .offer-grid--slider::-webkit-scrollbar { display: none; }
  .offer-grid--slider > * { flex: 0 0 100%; scroll-snap-align: start; }
}
.offer-dots { display: none; }
@media (max-width: 900px) {
  .offer-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
  .offer-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); opacity: .3; cursor: pointer; transition: opacity .2s; }
  .offer-dots button[aria-current="true"] { opacity: 1; }
}
.offer-card { display: flex; flex-direction: column; background: #fff; height: 100%; }
.offer-card__image { position: relative; height: 350px; background: #f5f5f5; }
.offer-card__image img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__icon { position: absolute; left: 1.25rem; bottom: -34px; z-index: 2; width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; }
.offer-card__icon svg { width: 30px; height: 30px; }
.offer-card__content { flex-grow: 1; display: flex; flex-direction: column; background: var(--ink-mid); color: #fff; padding: 3.5rem 2rem 2rem; }
.offer-card__title { font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 0 0 .75rem; color: #fff; }
.offer-card__text { flex-grow: 1; color: rgba(255,255,255,.9); font-size: 1rem; margin-bottom: 1.5rem; }
.offer-card__link { color: #fff; font-weight: 500; font-size: .94rem; text-decoration: underline; text-underline-offset: .25rem; }
.offer-card__link:hover { color: rgba(255,255,255,.8); }

/* Side by side (full-bleed 50/50) */
.sbs__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 520px; }
.sbs__grid > * { min-width: 0; }
.sbs--reverse .sbs__media { order: 2; }
.sbs__media { position: relative; min-height: 340px; }
.sbs__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sbs__media--pad { display: flex; align-items: center; justify-content: center; padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 4vw, 4rem); }
/* Embedded map fills the media column edge to edge */
.sbs__media > .map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sbs__media--pad:has(> .map-embed) { padding: 0; }
.sbs__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5.5vw, 5rem); max-width: 760px; }
.sbs--reverse .sbs__content { padding-left: clamp(1.5rem, 4.5vw, 4rem); }
.sbs--reverse .sbs__content { justify-self: end; width: 100%; }
.sbs__title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.08; margin-bottom: 1.5rem; color: var(--text); }
.sbs__title strong { font-weight: 600; }
.sbs__text { font-size: 1.1rem; color: var(--text); margin-bottom: 1.75rem; }
.sbs__text h3 { font-size: 1.3rem; font-weight: 300; color: var(--text); }
.sbs--dark .sbs__content { background: var(--ink); max-width: none; }
.sbs--dark.sbs--reverse .sbs__content { padding-left: clamp(1.5rem, 4.5vw, 4rem); }
.sbs--dark .sbs__title, .sbs--dark .sbs__text, .sbs--dark .sbs__text h3 { color: #fff; }
@media (max-width: 900px) {
  .sbs__grid { grid-template-columns: 1fr; min-height: 0; }
  .sbs--reverse .sbs__media { order: 0; }
  .sbs__media:not(.sbs__media--pad) { aspect-ratio: 4 / 3; min-height: 0; }
}

/* Full-width photo banner */
.banner { position: relative; display: flex; align-items: center; min-height: clamp(460px, 62vh, 620px); color: #fff; overflow: hidden; background: #111; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.1) 80%); }
.banner__content { position: relative; z-index: 2; max-width: 700px; padding: 4rem clamp(1.5rem, 4.5vw, 4rem); }
.banner h2, .banner h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 300; line-height: 1.08; margin-bottom: 1.5rem; }
.banner--bold h1, .banner--bold h2 { font-size: clamp(2.1rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1; }
.banner h2 strong, .banner h1 strong { font-weight: 600; }
.banner p { font-size: 1.1rem; font-weight: 400; margin-bottom: 2rem; }
/* Split banner: text on the left, whole photo on the right with rounded corners, the same photo at 20% opacity on black behind */
.banner--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); min-height: 0; padding: clamp(3rem, 6vw, 5rem) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.banner--split::after { display: none; }
.banner--split > .banner__bg { opacity: .2; }
.banner--split .banner__content, .banner--split .banner__photo { position: relative; z-index: 1; }
.banner--split .banner__content { padding: 0; max-width: 600px; }
.banner__photo { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.banner__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .banner--split { grid-template-columns: 1fr; }
}
.diamond-badge { width: 64px; height: 64px; margin: 0 0 1.5rem 8px; border: 2px solid #fff; transform: rotate(45deg); display: flex; align-items: center; justify-content: center; }
.diamond-badge span { transform: rotate(-45deg); font-weight: 700; font-size: .78rem; white-space: nowrap; }

/* Hero promo form */
.form-card.form-card--promo { padding: 0; }
.form-card__promo { background: var(--ink); color: #fff; padding: 2rem 2rem 3.75rem; }
.form-card .form-card__promo h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.08; margin-bottom: 1rem; }
.form-card__promo h2 strong { font-weight: 600; }
.form-card__promo p { color: #fff; margin: 0; font-size: 1.125rem; font-weight: 400; }
.form-card--promo form { padding: 2.25rem 2rem 2rem; }
.form-card button[type="submit"] { font-weight: 700; border: 0; padding-block: .75rem; }
.interest { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.interest legend { font-size: 1rem; color: var(--field-label); margin-bottom: .6rem; padding: 0; }
.interest__opt { position: relative; display: flex; flex-direction: column; gap: .5rem; border: 1px solid var(--grey-line); padding: .9rem .8rem; cursor: pointer; font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--text); }
.interest__opt img { width: auto; height: 46px; object-fit: contain; align-self: flex-start; }
.interest__opt input { position: absolute; opacity: 0; }
.interest__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--grey-light); }
/* Tick in the top right corner of the chosen tile */
.interest__opt:has(input:checked)::after { content: ""; position: absolute; top: .5rem; right: .5rem; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2712%27 fill=%27%23d71920%27/%3E%3Cpath d=%27m7 12.5 3.3 3.3L17 9%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }
.interest__opt:has(input:focus-visible) { outline: 2px solid var(--red); }
/* "View all products" dropdown under the tiles; picking from it clears the tile choice (main.js) */
.interest__more { grid-column: 1 / -1; }
.interest__more select { width: 100%; padding: .7rem 2.75rem .7rem .8rem; border: 1px solid var(--field-border); border-radius: 0; background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23111111%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 1rem center / 16px; font: inherit; color: var(--text); cursor: pointer; -webkit-appearance: none; appearance: none; }
/* Once a product is picked the dropdown shows a tick, like a chosen tile */
.interest__more select.is-chosen { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2712%27 fill=%27%23d71920%27/%3E%3Cpath d=%27m7 12.5 3.3 3.3L17 9%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23111111%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E"); background-position: left .8rem center, right 1rem center; background-size: 20px, 16px; background-repeat: no-repeat; padding-left: 2.55rem; font-weight: 600; }
@media (max-width: 480px) { .interest { grid-template-columns: 1fr; } .interest__opt { flex-direction: row; align-items: center; } }

/* Forms */
.form-card { background: #fff; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 10px 40px rgba(0,0,0,.12); color: var(--text); }
.form-card h2, .form-card h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--ink); margin-bottom: .5rem; }
.form-card > p { color: var(--text-muted); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.875rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 1rem; font-weight: 400; margin-bottom: .5rem; color: var(--field-label); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; padding: .5rem .75rem; border: 1px solid var(--field-border); border-radius: 3px; background: var(--field-bg); color: var(--text);
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.5rem; background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23111111%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E") no-repeat right .85rem center / 15px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: var(--red); }
.field textarea { min-height: 110px; resize: vertical; }
.form-legal { font-size: .72rem; color: var(--text-muted); margin: .9rem 0; line-height: 1.5; }
.form-success { display: none; background: var(--red-tint); color: var(--ink); padding: 1rem; font-weight: 500; margin-top: 1rem; }
form.sent .form-success { display: block; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Interior hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.25) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 4rem; align-items: center; min-height: 560px; max-width: none; padding: 6.25rem clamp(1.5rem, 6.5vw, 6rem) 6.25rem clamp(1.5rem, 4.5vw, 4rem); }
.hero__inner--solo { grid-template-columns: 1fr; min-height: 420px; }
/* Text on page headers sits in a see-through black box, like the homepage slideshow, so it reads on any photo */
.hero__text { justify-self: start; max-width: 620px; padding: clamp(1.25rem, 2.4vw, 2rem); background: rgba(0,0,0,.6); border-radius: 8px; }
.hero__text > :last-child { margin-bottom: 0; }
.hero h1 { color: #fff; font-weight: 200; font-size: clamp(2.75rem, 5.5vw, 4.5rem); line-height: 1; margin-bottom: 1.5rem; }
.hero h1 strong { display: block; font-weight: 500; }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.4; max-width: 560px; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

/* Simple black page header (blog) */
.page-band { background: var(--ink); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.page-band h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 200; margin-bottom: .5rem; }
.page-band h1 strong { font-weight: 600; }
.page-band p { font-size: 1.15rem; margin: 0; opacity: .92; max-width: 720px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(var(--per-row, 4), minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(min(var(--per-row, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 800px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .card-grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; height: 100%; }
.card__image { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__image img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 1.25rem 0 0; }
.section--grey .card__body, .section--tint .card__body { padding: 1.25rem; }
.card__title { color: var(--card-title); font-size: 1.25rem; font-weight: 400; margin: 0 0 .6rem; }
.card__text { color: var(--card-text); font-size: .95rem; flex-grow: 1; margin-bottom: 1rem; }
.card__link { color: var(--red); font-weight: 500; text-decoration: underline; text-underline-offset: .25rem; font-size: .95rem; }
.card__meta { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }

/* Product gallery cards (image + label) */
.tile { display: block; color: var(--text); text-decoration: none; }
.tile__img { height: var(--tile-h, 300px); overflow: hidden; background: #eee; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.3; color: var(--text); margin: 0; padding: 1.5rem; }
.tile:hover .tile__title { color: var(--ink); text-decoration: underline; }
.tile-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 2rem; }
.tile-grid--tall { --tile-h: 400px; }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .tile-grid--tall { --tile-h: 300px; } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

/* Gallery slider */
.gallery { position: relative; }
.gallery__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 clamp(260px, 38vw, 520px); aspect-ratio: 4 / 3; scroll-snap-align: start; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__controls { display: flex; justify-content: flex-end; gap: .6rem; max-width: var(--max); margin: 1.25rem auto 0; padding-inline: var(--gutter); }
.round-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btn svg { width: 16px; height: 16px; }

/* Content columns (value props) */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem; }
.column { text-align: center; padding: 1rem; }
.column__icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.column__icon svg { width: 34px; height: 34px; }
.column h3 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.column p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Swatches */
.swatch-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 187px)); gap: 1.5rem .95rem; }
@media (max-width: 1000px) { .swatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swatch img, .swatch--drawn span { display: block; width: 100%; aspect-ratio: 187 / 300; object-fit: cover; border-radius: 4px; }
.swatch--drawn span { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swatch h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin: .9rem 0 0; }
/* Gallery headings and intro lines match the side-by-side sections (heading and body text) */
.swatch-title { font-size: clamp(1.9rem, 3vw, 2.5rem) !important; font-weight: 300; line-height: 1.15 !important; }
.swatch-section .section-head p { font-size: 1.1rem; color: var(--text); max-width: 760px; }
.swatch-title--bold { font-weight: 700; }
.swatch-section--flush { padding-bottom: 0; }
.swatch-section--flush + .swatch-section { padding-top: 3rem; }
.swatch-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; padding-inline: .3rem; }
.swatch-grid--wide .swatch span, .swatch-grid--wide .swatch img { aspect-ratio: 346 / 195; border-radius: 0; }
.swatch-grid--wide .swatch h3 { text-align: center; }
@media (max-width: 640px) { .swatch-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swatch-grid--cards { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 2rem 1.25rem; }
.swatch-grid--cards .swatch img, .swatch-grid--cards .swatch--drawn span { aspect-ratio: 4 / 3; border-radius: 8px; }
.swatch-grid--cards .swatch h3 { font-size: 1.25rem; margin-top: 1rem; }
.swatch p { font-size: 1.1rem; line-height: 1.6; color: var(--text); margin: .4rem 0 0; }
@media (max-width: 1000px) { .swatch-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .swatch-grid--cards { gap: 1.75rem .9rem; } .swatch-grid--cards .swatch h3 { font-size: 1.05rem; } .swatch p { font-size: .95rem; line-height: 1.5; } }

/* Centered call-to-action block */
.cta-block { text-align: center; }
.cta-block .container { max-width: 840px; }
.cta-block h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; margin-bottom: 1.5rem; }
.cta-block p { margin-bottom: 2.5rem; }
.cta-block .button-row { justify-content: center; }

/* Accordion */
.faq-group { display: grid; grid-template-columns: minmax(0, 384px) minmax(0, 1fr); gap: 3.5rem; max-width: 1200px; margin: 0 auto; align-items: start; }
.faq-group__intro { font-size: 1rem; margin-bottom: 1.75rem; }
@media (max-width: 900px) { .faq-group { grid-template-columns: 1fr; gap: 1.5rem; } }
.faq-group + .faq-group { margin-top: 6rem; padding-top: 6rem; border-top: 1px solid var(--grey-line); }
.faq-group h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--text); font-weight: 300; line-height: 1.08; margin: 0; }
.faq-list { border-top: 1px solid var(--grey-line); }
.faq { border-bottom: 1px solid var(--grey-line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 4rem 1.4rem 1.5rem; font-weight: 500; font-size: 1.125rem; color: var(--field-label); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2.2rem; font-weight: 200; line-height: 1; color: var(--text); }
.faq[open] summary::after { content: "–"; }
.faq__body { padding: 0 1.5rem 1.4rem; color: var(--text); }


/* Prose (blog posts, warranty) */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.05rem; }
.prose h2 { font-size: 1.75rem; color: var(--text); font-weight: 400; margin-top: 2.5rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.75rem; }
.prose p, .prose li { color: #222; }
.prose img { margin: 2rem 0; width: 100%; }
.prose figure { margin: 0; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--red-tint); color: #444; }
.prose .table-wrap { overflow-x: auto; margin: 2rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid #ddd; vertical-align: top; }
.prose th { font-weight: 600; background: #f6f6f6; }
.notice { background: var(--red-tint); color: var(--ink); padding: 1rem 1.25rem; font-size: .9rem; margin-bottom: 2rem; }

/* Contact info list */
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: .15rem; }
.contact-list a { color: var(--red); font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: linear-gradient(180deg, rgba(17,17,17,.15) 0%, var(--ink) clamp(12rem, 26vw, 22rem)), var(--diamond-pattern) center top / 56px 56px, var(--ink); color: #fff; padding-top: clamp(5rem, 12vw, 11rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
.footer__top > * { min-width: 0; }
.footer__brand .logo { color: #fff; margin-bottom: 1.25rem; padding-left: 0; }
.footer__brand .logo__img { height: 130px; }
.footer__brand p { opacity: .9; font-size: .95rem; }
.newsletter { display: flex; margin: 1rem 0 1.5rem; max-width: 420px; }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: .8rem .9rem; font: inherit; font-size: .9rem; }
.newsletter button { border: 1px solid #fff; background: transparent; color: #fff; font: inherit; font-weight: 500; padding: .8rem 1.1rem; cursor: pointer; }
.newsletter button:hover { background: #fff; color: var(--ink); }
.social { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.social a { display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; }
.social a:hover { opacity: .75; }
.social svg { width: 20px; height: 20px; }
.footer__contact div { margin-bottom: .6rem; opacity: .95; }
.footer__badge { display: block; width: 122px; height: 30px; margin-top: 1.25rem; }
.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; align-content: start; list-style: none; padding: 0 0 0 3rem; margin: 0; border-left: 1px solid rgba(255,255,255,.6); }
.footer__links a { font-size: 1rem; }
@media (max-width: 900px) { .footer__links { padding-left: 0; border-left: 0; gap: 1.25rem 1.5rem; } }
.footer__bottom { background: var(--ink-dark); font-size: .75rem; margin-top: 3.5rem; padding-block: 1.25rem; }
.footer__bottom p { margin: 0 0 .5rem; opacity: .85; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 2.25rem; } }

/* Blog */
.post-meta { font-size: .9rem; opacity: .9; margin-top: .75rem; }

/* Centered form page on a light grey gradient (financing) */
.form-page { background: linear-gradient(180deg, #efefef 0%, #f8f8f8 100%); padding-block: clamp(3.5rem, 7vw, 6rem); }
.form-page__inner { max-width: 712px; margin: 0 auto; padding-inline: var(--gutter); text-align: center; }
.form-page h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.08; color: var(--text); margin-bottom: 1.5rem; }
.form-page h1 strong { font-weight: 600; }
.form-page--bold h1 { font-weight: 700; }
.form-page__inner > p { font-size: 1rem; margin-bottom: 1.5rem; }
.form-page__media { margin: 0 0 3rem; }
.form-page__media img { width: 100%; }
.form-page .form-card { background: transparent; box-shadow: none; padding: 0; text-align: left; max-width: 668px; margin: 0 auto; }
.form-page .field input, .form-page .field select { background-color: #fff; }
.form-page .interest__opt:not(:has(input:checked)) { background: #fff; }
.photo-strip { height: clamp(220px, 25vw, 360px); overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Feature image: one wide labeled photo under a centered heading */
.feature-image__frame { margin: 0 auto; max-width: 1152px; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.feature-image__frame img { display: block; width: 100%; height: auto; }

/* Cabinet solutions: looping slider with the active card centered and both sides faded out */
.solutions { --card: clamp(250px, 29vw, 420px); }
.solutions__wrap { position: relative; }
.solutions__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: calc(50% - var(--card) / 2);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 10%, #000 90%, rgba(0,0,0,.35)); mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 10%, #000 90%, rgba(0,0,0,.35)); }
.solutions__track::-webkit-scrollbar { display: none; }
.solutions__card { flex: 0 0 var(--card); margin: 0; scroll-snap-align: center; opacity: .65; scale: .86; transition: opacity .35s ease, scale .35s ease; }
.solutions__card.is-center { opacity: 1; scale: 1; }
.solutions__photo { aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.solutions__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.solutions__card:hover .solutions__photo img { transform: scale(1.06); }
.solutions__card figcaption { margin-top: 1rem; text-align: center; font-size: 1.05rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
.solutions__nav { position: absolute; top: calc(var(--card) / 2); translate: 0 -50%; z-index: 2; width: 3.25rem; height: 3.25rem; border: 0; border-radius: 50%; background: rgba(17,17,17,.78); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, opacity .2s; }
.solutions__nav:hover, .solutions__nav:focus-visible { background: var(--red); }
.solutions__nav svg { width: 20px; height: 20px; }
.solutions__nav--prev { left: calc(var(--gutter) + .75rem); }
.solutions__nav--next { right: calc(var(--gutter) + .75rem); }
@media (max-width: 640px) { .solutions { --card: 72vw; } .solutions__track { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 6%, #000 94%, rgba(0,0,0,.35)); mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 6%, #000 94%, rgba(0,0,0,.35)); } .solutions__nav { width: 2.75rem; height: 2.75rem; } }

/* Cabinet anatomy: product photo in the middle, detail photos in red rings on both sides */
.anatomy { overflow-x: clip; }
.anatomy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.anatomy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.4rem, 3vw, 2.75rem); }
.anatomy__item { display: flex; align-items: center; gap: 1.1rem; }
.anatomy__list--left .anatomy__item { flex-direction: row-reverse; text-align: right; }
.anatomy__thumb { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red), 0 8px 18px rgba(0,0,0,.18); transition: transform .25s ease; }
.anatomy__item:hover .anatomy__thumb { transform: scale(1.12); }
.anatomy__item h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.25; margin: 0 0 .25rem; }
.anatomy__item p { font-size: .88rem; line-height: 1.45; color: var(--text-muted); margin: 0; }
.anatomy__unit img { width: 100%; height: auto; }
.anatomy__tagline { margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 900px; padding: 1rem 1.5rem; background: var(--ink); border-bottom: 4px solid var(--red); color: #fff; text-align: center; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 300; }
.anatomy__tagline strong { font-weight: 700; color: #fff; }
@media (max-width: 1000px) {
  .anatomy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy__unit { grid-column: 1 / -1; order: -1; justify-self: center; width: min(320px, 80%); }
  .anatomy__list--left .anatomy__item { flex-direction: row; text-align: left; }
}
@media (max-width: 640px) {
  .anatomy__grid { grid-template-columns: minmax(0, 1fr); }
  .anatomy__list { gap: 1.1rem; }
  .anatomy__thumb { width: 72px; height: 72px; }
}

/* Design spotlight: light grey sections, bold headings, large rounded photos */
.sbs--spot { background: #f4f4f4; }
.sbs--spot .sbs__title { font-weight: 700; }
.sbs--spot .sbs__text h3 { font-size: 1.9rem; font-weight: 700; line-height: 1.15; }
.gallery--spot { background: #f4f4f4; padding-top: 0; }
.gallery--spot .gallery__item { flex-basis: clamp(280px, 70vw, 1000px); aspect-ratio: 20 / 13; border-radius: 8px; }

/* Labelled benefit points (product feature sections) */
.benefit-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.benefit-list li { position: relative; padding-left: 2.25rem; margin-bottom: 1.4rem; line-height: 1.6; }
.benefit-list li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.5rem; height: 1.5rem; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2040%2040'%20fill%3D'none'%20stroke%3D'%23111111'%3E%3Cpath%20d%3D'M20%202.5%2037.5%2020%2020%2037.5%202.5%2020z'%20stroke-width%3D'2.6'%2F%3E%3Cpath%20transform%3D'translate(0.8%200)'%20d%3D'M15%2012v16M15%2012h5a4%204%200%200%201%200%208h-5M15%2020h6a4%204%200%200%201%200%208h-6'%20stroke-width%3D'3'%20stroke-linecap%3D'square'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.benefit-list strong { font-weight: 700; }
/* Accessory grid with category filters */
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0 var(--gutter) 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.product-grid__item { position: relative; margin: 0; height: 270px; overflow: hidden; border-radius: 8px; }
.product-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-grid__item:hover img { transform: scale(1.04); }
.product-grid__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-weight: 500; }
.product-grid__item[hidden] { display: none; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-grid__item { height: 220px; } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }
.swatch-lead { max-width: 1180px; margin: 0 0 3rem; padding-left: 1rem; }

/* The Bulldog Difference */
.difference { position: relative; padding-block: clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.difference > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.difference .container { position: relative; }
.difference__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.difference__head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.08; margin-bottom: .75rem; }
.difference__tagline { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; color: var(--ink); margin: 0; }
.difference__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
/* Two-part card: red top (icon + heading), black bottom (text); subgrid keeps the split level across a row */
.difference__card { display: grid; grid-template-rows: auto 1fr; grid-row: span 2; background: var(--ink); color: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
@supports (grid-template-rows: subgrid) { .difference__card { grid-template-rows: subgrid; row-gap: 0; } }
.difference__top { background: var(--red); padding: 1.75rem 1.5rem 1.4rem; }
.difference__icon { display: block; width: 34px; height: 34px; color: #fff; margin-bottom: 1.1rem; }
.difference__icon svg { width: 100%; height: 100%; }
.difference__card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0; color: #fff; }
.difference__card p { font-size: .95rem; margin: 0; padding: 1.4rem 1.5rem 2rem; color: rgba(255,255,255,.9); }
/* Cabinet materials: photo with the name over it, explanation below */
.materials__head { text-align: center; max-width: 800px; margin: 0 auto clamp(2rem, 4vw, 2.75rem); }
.materials__head h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.12; margin-bottom: .75rem; }
.materials__head p { margin: 0; font-size: 1.1rem; text-wrap: balance; }
.material-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1299px) { .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .material-grid { grid-template-columns: minmax(0, 1fr); } }
.material { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.material__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.material__photo img { width: 100%; height: 100%; object-fit: cover; }
.material__photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.material__name { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45em; margin: 0; padding: 1rem; text-align: center; color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.material__no { background: var(--red); border-radius: 4px; padding: .1em .4em; text-shadow: none; }
.material__text { flex-grow: 1; margin: 0; padding: 1.25rem 1.5rem 1.6rem; text-align: center; font-size: .98rem; line-height: 1.6; }
@media (max-width: 359px) { .material__text { padding-inline: .9rem; } }
@media (max-width: 1000px) { .difference__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .difference__grid { grid-template-columns: 1fr; } }

/* Process steps */
.process { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, #fff 100%), var(--diamond-pattern-ink) center top / 56px 56px, #fff; }
.process__head { max-width: 820px; margin: 0 auto 3rem; padding: 1.75rem 2rem; text-align: center; background: rgba(255,255,255,.88); border-radius: 12px; box-shadow: 0 0 40px 20px rgba(255,255,255,.7); }
.process__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.15; margin-bottom: 1.25rem; }
.process__head h2 strong { display: block; }
.process__head p { margin: 0; }
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: none; }
.process__step { position: relative; text-align: center; padding: 1.25rem 1rem 1.5rem; background: rgba(255,255,255,.88); border-radius: 12px; box-shadow: 0 0 30px 12px rgba(255,255,255,.6); }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: calc(1.25rem + 29px); z-index: 1; left: calc(50% + 53px); right: calc(-50% + 53px - 1.5rem); height: 3px; border-radius: 2px; background: rgba(17,17,17,.45); }
.process__num { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 1.25rem; border-radius: 50%; border: 1px solid var(--red); background: var(--red); box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(215,25,32,.35); color: #fff; font-size: 1.38rem; font-weight: 400; }
.process__step h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: .6rem; }
.process__step p { font-size: .9rem; max-width: 240px; margin: 0 auto; }
@media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__step::after { display: none; }
}
@media (max-width: 640px) {
  /* Phones: one list, number on the left, title and text beside it, thin dividers between steps */
  .process__steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .process__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; column-gap: 1rem; text-align: left; padding: 1.4rem 1rem; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--grey-line); }
  .process__step:last-child { border-bottom: 0; }
  .process__body { display: contents; }
  .process__num { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 46px; height: 46px; margin: 0 0 0 5px; font-size: 1rem; }
  .process__step h3 { grid-column: 2; grid-row: 1; font-size: 1.2rem; line-height: 1.2; margin: 0 0 .4rem; }
  .process__step p { grid-column: 2; grid-row: 2; max-width: none; margin: 0; }
}

/* Product photo viewer: large photo with arrows on black, the current photo faded to 20% behind it */
.image-gallery { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.875rem, 3.75vw, 3rem) var(--gutter); background: var(--ink); }
.image-gallery::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gallery-bg) center / cover no-repeat; opacity: .2; transition: opacity .45s ease; }
.image-gallery__main img { transition: opacity .45s ease; }
.image-gallery.is-fading::before, .image-gallery.is-fading .image-gallery__main img { opacity: 0; }
.image-gallery__main { position: relative; max-width: 546px; aspect-ratio: 728 / 600; margin: 0 auto; border-radius: 8px; overflow: hidden; }
.image-gallery--wide .image-gallery__main { max-width: 750px; aspect-ratio: 1000 / 600; }
.image-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.image-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.image-gallery__nav:hover { background: #fff; }
.image-gallery__nav svg { width: 18px; height: 18px; }
.image-gallery__nav--prev { left: 1rem; }
.image-gallery__nav--next { right: 1rem; }
/* Desktop: arrows sit beside the photo instead of over it */
@media (min-width: 900px) {
  .image-gallery:not(.image-gallery--wide) .image-gallery__main { overflow: visible; background: none; }
  .image-gallery:not(.image-gallery--wide) .image-gallery__main img { border-radius: 8px; background: #eee; }
  .image-gallery:not(.image-gallery--wide) .image-gallery__nav--prev { left: -4.5rem; }
  .image-gallery:not(.image-gallery--wide) .image-gallery__nav--next { right: -4.5rem; }
}
@media (min-width: 1000px) {
  .image-gallery--wide .image-gallery__main { overflow: visible; background: none; }
  .image-gallery--wide .image-gallery__main img { border-radius: 8px; background: #eee; }
  .image-gallery--wide .image-gallery__nav--prev { left: -4.5rem; }
  .image-gallery--wide .image-gallery__nav--next { right: -4.5rem; }
}

/* Menu items that are links and also have a dropdown */
.main-nav__parent { display: flex; align-items: center; gap: .4rem; }
.main-nav__toggle { display: flex; align-items: center; background: none; border: 0; padding: .4rem .2rem; color: #fff; cursor: pointer; }
.main-nav__toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub:hover .main-nav__toggle svg, .has-sub.open .main-nav__toggle svg { transform: rotate(180deg); }
@media (max-width: 1260px) {
  .main-nav__parent { justify-content: space-between; border-bottom: 1px solid var(--grey-line); }
  .main-nav__parent .main-nav__link { border-bottom: 0; }
  .main-nav__toggle { color: var(--ink); padding: .9rem .5rem; }
}

/* Before / after photos */
.before-after { overflow-x: clip; background: linear-gradient(180deg, var(--ink) 0%, rgba(17,17,17,0) 25%, rgba(17,17,17,0) 75%, var(--ink) 100%), var(--diamond-pattern) center top / 56px 56px, var(--ink); }
.before-after__title { text-align: center; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; color: #fff; margin-bottom: 2.5rem; }
/* Staggered collage: Before upper-left, After lower-right */
.ba-collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 1.75rem; max-width: 900px; margin: 0 auto; }
.ba-frame { --ba-top: calc(clamp(2.4rem, 5.4vw, 3.6rem) + .3rem); --ba-border: 8px; position: relative; margin: 0; padding-top: var(--ba-top); }
.ba-frame figcaption { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: calc(var(--ba-top) + var(--ba-border)); display: flex; align-items: flex-end; pointer-events: none; }
.ba-frame--before { grid-column: 1 / 10; }
.ba-frame--after { grid-column: 4 / 13; }
.ba-frame__photo { border: var(--ba-border) solid #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.ba-frame__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Big serif word overlapping the frame corner, small script word on the top edge */
.ba-frame__label { align-self: flex-start; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.4rem, 5.4vw, 3.6rem); line-height: 1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.ba-frame__script { margin-left: .5rem; padding: .2rem .75rem 0; background: #fff; border-radius: 6px 6px 0 0; font-family: "Great Vibes", cursive; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.1; color: #111; }
.ba-frame__note { margin: 0 clamp(.75rem, 2.5vw, 2rem) 0 auto; align-self: center; padding-left: 1rem; color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 500; text-align: right; }
@media (max-width: 640px) {
  .ba-frame--before { grid-column: 1 / 12; }
  .ba-frame--after { grid-column: 2 / 13; }
  .ba-frame { --ba-border: 6px; }
  .ba-frame__label { font-size: min(2.1rem, 8.6vw); }
  .ba-frame figcaption { container-type: inline-size; }
  .ba-frame__note { margin-right: .25rem; padding-left: .4rem; font-size: clamp(.75rem, calc(4.75cqw - 1px), 1.25rem); white-space: nowrap; }
}

/* ---------- Animations ----------
   Only run when JavaScript is on (html.js); content is fully visible without it. */

/* 1. Fade up on scroll (main.js adds .reveal to things below the fold, then .is-visible) */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .6s ease-out, translate .6s ease-out, transform .25s ease, box-shadow .25s ease; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* 2. Hover lift on cards */
.offer-card, .difference__card { transition: transform .25s ease, box-shadow .25s ease; }
.offer-card:hover, .difference__card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }

/* 3. Steps: numbers pop in one by one while the connecting line draws across */
.js .process__num { opacity: 0; scale: .6; transition: opacity .4s ease-out, scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.js .process__steps.is-visible .process__num { opacity: 1; scale: 1; }
.js .process__step:nth-child(2) .process__num { transition-delay: .6s; }
.js .process__step:nth-child(3) .process__num { transition-delay: 1.2s; }
.js .process__step:nth-child(4) .process__num { transition-delay: 1.8s; }
.js .process__step:not(:last-child)::after { transform: scaleX(0); transform-origin: left center; transition: transform .6s ease-in-out; }
.js .process__steps.is-visible .process__step:not(:last-child)::after { transform: scaleX(1); }
.js .process__step:nth-child(1)::after { transition-delay: .2s; }
.js .process__step:nth-child(2)::after { transition-delay: .8s; }
.js .process__step:nth-child(3)::after { transition-delay: 1.4s; }

/* 4. Homepage slideshow: slow zoom on the photo, text fades up when a slide becomes active */
.carousel__slide > img, .carousel__photo img { transition: transform 8s ease-out; }
.carousel__slide[aria-hidden="false"] > img, .carousel__slide[aria-hidden="false"] .carousel__photo img { transform: scale(1.08); }
.js .carousel__content > * { opacity: 0; translate: 0 18px; transition: opacity .7s ease-out, translate .7s ease-out; }
.js .carousel__slide[aria-hidden="false"] .carousel__content > * { opacity: 1; translate: 0 0; }
.js .carousel__slide[aria-hidden="false"] .carousel__content > :nth-child(2) { transition-delay: .15s; }
.js .carousel__slide[aria-hidden="false"] .carousel__content > :nth-child(3) { transition-delay: .3s; }
.js .carousel__slide[aria-hidden="false"] .carousel__content > :nth-child(4) { transition-delay: .45s; }


/* 5. Cabinet anatomy: cabinet grows in, then the details slide in from each side with their rings popping */
.js .anatomy__unit { opacity: 0; scale: .9; transition: opacity 1.05s ease-out, scale 1.05s cubic-bezier(.34, 1.56, .64, 1); }
.js .anatomy__grid.is-visible .anatomy__unit { opacity: 1; scale: 1; }
.js .anatomy__item { opacity: 0; transition: opacity .75s ease-out, translate .75s ease-out; transition-delay: calc(.53s + var(--i) * .2s); }
.js .anatomy__list--left .anatomy__item { translate: -36px 0; }
.js .anatomy__list--right .anatomy__item { translate: 36px 0; }
.js .anatomy__grid.is-visible .anatomy__item { opacity: 1; translate: 0 0; }
.js .anatomy__thumb { scale: .4; transition: transform .25s ease, scale .75s cubic-bezier(.34, 1.56, .64, 1); transition-delay: 0s, calc(.68s + var(--i) * .2s); }
.js .anatomy__grid.is-visible .anatomy__thumb { scale: 1; }

/* 6. Cabinet solutions: the center card rises in first, then the side cards slide out from behind it (--d and --dx set in main.js) */
.js .solutions__card > * { opacity: 0; translate: var(--dx, 0px) 24px; transition: opacity .7s ease-out, translate .7s ease-out; transition-delay: calc(.2s + var(--d, 0) * .18s); }
.js .solutions.is-visible .solutions__card > * { opacity: 1; translate: 0 0; }

/* 7. Review slideshow: full-width photo, review card on one side, slides sideways with a motion blur */
.reviews { position: relative; overflow: hidden; background: var(--ink); }
.reviews__frame { position: relative; overflow: hidden; background: var(--ink); }
.reviews__track { display: flex; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.reviews__slide { position: relative; flex: 0 0 100%; min-height: clamp(520px, 56vw, 700px); display: flex; align-items: center; padding: 3rem max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 5rem; }
.reviews__slide--right { justify-content: flex-end; }
.reviews__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .45s ease; }
.reviews.is-moving .reviews__slide > img, .reviews.is-moving .reviews__card { filter: blur(7px); }
.reviews__card { position: relative; z-index: 1; width: min(430px, 100%); margin: 0; padding: 2.25rem 2.25rem 2rem; background: rgba(237, 239, 242, .97); border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transition: filter .45s ease; }
.reviews__stars { display: flex; gap: .4rem; color: var(--red); }
.reviews__stars span { display: block; width: 26px; height: 26px; }
.reviews__stars svg { width: 100%; height: 100%; }
.reviews__quote { margin: 1.5rem 0 1.75rem; }
.reviews__quote p { margin: 0; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 300; line-height: 1.4; color: var(--text); }
.reviews__quote strong { font-weight: 700; }
.reviews__name { font-size: 1.25rem; font-weight: 600; color: var(--text); }
.reviews__name::before { content: ""; display: block; width: 85%; height: 3px; margin-bottom: 2.25rem; background: #cfd3d9; transform-origin: left center; }
.reviews__controls { position: absolute; z-index: 2; left: 50%; bottom: 1.25rem; translate: -50% 0; display: flex; align-items: center; gap: .9rem; padding: .4rem .55rem; border-radius: 999px; background: rgba(0,0,0,.45); }
.reviews__nav { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s; }
.reviews__nav:hover, .reviews__nav:focus-visible { background: #fff; color: var(--ink); }
.reviews__nav svg { width: 16px; height: 16px; }
.reviews__dots { display: flex; gap: .55rem; }
.reviews__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #fff; opacity: .5; cursor: pointer; }
.reviews__dots button[aria-current="true"] { opacity: 1; }
@media (max-width: 640px) {
  /* Phones: photo on top so the person stays visible, card overlapping its bottom edge */
  .reviews__slide, .reviews__slide--right { display: block; min-height: 0; padding: 0 1.25rem 5.5rem; }
  .reviews__slide > img { position: relative; inset: auto; display: block; width: calc(100% + 2.5rem); height: 300px; margin: 0 -1.25rem; }
  .reviews__card { margin-top: -2.75rem; }
  .reviews__card { padding: 2.25rem 1.6rem 2.1rem; border-radius: 16px; }
  .reviews__stars span { width: 22px; height: 22px; }
  .reviews__quote { margin: 1.3rem 0 2rem; }
  .reviews__quote p { font-size: 1.15rem; line-height: 1.55; }
  .reviews__name::before { margin-bottom: 1.6rem; }
}
/* Desktop: rounded photo centered on a red background (--pw wide), with the card hanging past its edge */
@media (min-width: 1001px) {
  .reviews { --pw: min(990px, 70vw); --hang: 4.5rem; background: var(--red); padding-block: clamp(2.5rem, 4.5vw, 4.5rem); }
  .reviews__frame { overflow: visible; background: none; }
  .reviews__slide { min-height: calc(var(--pw) * .55); padding: 2.5rem calc(50% - var(--pw) / 2 - var(--hang)); }
  .reviews__slide > img { left: calc(50% - var(--pw) / 2); width: var(--pw); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
  .reviews__card { box-shadow: 0 24px 50px rgba(0,0,0,.3); }
  .reviews__controls { bottom: 1rem; }
}
/* Desktop review card size */
@media (min-width: 1001px) {
  /* Card 25% larger than the base size */
  .reviews__card { width: min(405px, 100%); padding: 2.1rem 2.1rem 1.9rem; border-radius: 20px; }
  .reviews__stars { gap: .375rem; }
  .reviews__stars span { width: 24px; height: 24px; }
  .reviews__quote { margin: 1.4rem 0 1.65rem; }
  .reviews__quote p { font-size: clamp(1.2rem, 1.9vw, 1.65rem); }
  .reviews__name { font-size: 1.4rem; }
  .reviews__name::before { margin-bottom: 2.1rem; height: 3px; }
}
/* Card build-up when a review comes into view: stars pop in, quote reveals top to bottom, then divider and name */
.js .reviews__stars span { opacity: 0; scale: .3; }
.js .reviews__quote p { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 60%, transparent 100%); -webkit-mask-size: 100% 250%; mask-size: 100% 250%; -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.js .reviews__name { opacity: 0; }
.js .reviews__name::before { transform: scaleX(0); }
.js .reviews__slide.is-active .reviews__stars span { opacity: 1; scale: 1; transition: opacity .3s ease-out, scale .45s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.2s + var(--s) * .12s); }
.js .reviews__slide.is-active .reviews__quote p { -webkit-mask-position: 0 0; mask-position: 0 0; transition: -webkit-mask-position 1.1s ease-out .75s, mask-position 1.1s ease-out .75s; }
.js .reviews__slide.is-active .reviews__name { opacity: 1; transition: opacity .45s ease-out 1.25s; }
.js .reviews__slide.is-active .reviews__name::before { transform: scaleX(1); transition: transform .5s ease-out 1s; }

/* No animation for people who ask their device to reduce motion */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .process__num, .js .carousel__content > *, .js .anatomy__unit, .js .anatomy__item, .js .anatomy__thumb, .js .solutions__card > * { opacity: 1 !important; translate: none !important; scale: none !important; transition: none !important; }
  .js .process__step::after { transform: none !important; transition: none !important; }
  .carousel__slide > img, .carousel__photo img { transform: none !important; transition: none !important; }
  .js .reviews__stars span, .js .reviews__name { opacity: 1 !important; scale: none !important; transition: none !important; }
  .js .reviews__quote p { -webkit-mask-image: none !important; mask-image: none !important; }
  .js .reviews__name::before { transform: none !important; }
  .reviews__track { transition: none !important; }
  .reviews.is-moving .reviews__slide > img, .reviews.is-moving .reviews__card { filter: none; }
  .offer-card:hover, .difference__card:hover { transform: none; }
}

/* Jump links (e.g. /about/#contact) land below the sticky header and promo bar */
#contact { scroll-margin-top: 140px; }
