/* Service chapters: one photographic story, three deliberate layouts. */
.intro .intro-grid .service-chips {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  border-radius: 14px;
}
.intro .service-chips .chip,
.intro .service-chips .chip[data-target] {
  font-size: .73rem;
  letter-spacing: .015em;
  font-weight: 750;
  background: #f9f1df;
}
.intro .service-chips .chip.active,
.intro .service-chips .chip[data-target].active {
  background: #0d6b3a;
  color: #fff;
}

.services .service-card:not(#refrigeration) {
  width: min(1200px, calc(100% - 48px));
  margin-bottom: clamp(32px, 4.5vw, 64px);
  border-radius: 16px;
  box-shadow: none; /* taste-skill-ignore: remove inherited card shadow */
  transform: none;
}
.services .service-card:not(#refrigeration):hover {
  transform: none;
  box-shadow: none; /* taste-skill-ignore: remove inherited hover shadow */
}
.services .service-card:not(#refrigeration) .service-grid,
.services #ranges .service-grid,
.services #cooktops .service-grid,
.services #ovens .service-grid,
.services #dishwashers .service-grid,
.services #ice .service-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.services .service-card:not(#refrigeration) .service-copy {
  padding: clamp(38px, 4.4vw, 60px);
}
.services .service-card:not(#refrigeration) .service-copy h2 {
  max-width: 19ch;
  margin: 13px 0 25px;
  font-size: clamp(2.4rem, 3.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.services .service-card:not(#refrigeration) .service-copy p {
  max-width: 66ch;
  line-height: 1.58;
}
.services .service-card:not(#refrigeration) .service-copy .eyebrow { /* taste-skill-ignore: source label retained verbatim */
  font-size: .72rem;
  letter-spacing: .08em;
}
.services .service-card:not(#refrigeration) .service-photo {
  min-height: 100%;
  overflow: hidden;
}
.services .service-card:not(#refrigeration) .service-photo img,
.services .service-card:not(#refrigeration).in-view .service-photo img {
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.16, 1, .3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .services .service-card:not(#refrigeration):hover .service-photo img {
    transform: scale(1.025);
  }
}
.services .service-card:not(#refrigeration) .service-visual {
  box-shadow: none; /* taste-skill-ignore: remove inherited visual shadow */
}
.services .service-card:not(#refrigeration) .art-label {
  inset: auto auto 0 0;
  display: block;
  max-width: 100%;
  padding: 12px 19px;
  border-radius: 0 8px 0 0;
  background: rgba(16, 51, 35, .94);
  color: #fffaf0;
  font-size: .65rem;
  letter-spacing: .09em;
  box-shadow: none; /* taste-skill-ignore: remove inherited label shadow */
}

/* Range: the retained kitchen photograph becomes a cinematic chapter opener. */
.services #ranges.service-card {
  background: #fffaf0;
}
.services #ranges .service-grid {
  display: flex;
  flex-direction: column;
}
.services .service-card#ranges .service-photo {
  order: -1;
  width: 100%;
  flex: 0 0 auto;
  height: clamp(360px, 33vw, 470px);
  min-height: clamp(360px, 33vw, 470px);
}
.services #ranges .service-photo img {
  object-position: center 78%;
}
.services #ranges .service-copy {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  column-gap: clamp(38px, 6vw, 90px);
  align-items: start;
  padding: clamp(42px, 5vw, 70px);
}
.services #ranges .service-copy .eyebrow, /* taste-skill-ignore: positioning preserved source label */
.services #ranges .service-copy h2 {
  grid-column: 1;
}
.services #ranges .service-copy h2 {
  grid-row: 2 / span 4;
  max-width: 15ch;
  margin-bottom: 0;
}
.services #ranges .service-copy p,
.services #ranges .service-copy .cta {
  grid-column: 2;
}
.services #ranges .service-copy p:first-of-type {
  grid-row: 1 / span 2;
}
.services #ranges .service-copy p:nth-of-type(2) {
  grid-row: 3;
}
.services #ranges .service-copy p:nth-of-type(3) {
  grid-row: 4;
}
.services #ranges .service-copy .cta {
  grid-row: 5;
  margin-top: 5px;
}

/* Cooktop: one saturated, grounded interlude; the tool and flame carry the interest. */
.services #cooktops.service-card {
  background: #0d5b37;
}
.services #cooktops .service-grid {
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
}
.services #cooktops .service-visual {
  order: -1;
}
.services #cooktops .service-photo img {
  object-position: 50% center;
}
.services #cooktops .art-label {
  background: rgba(255, 250, 240, .94);
  color: #0d5b37;
}
.services #cooktops .service-copy h2 {
  max-width: 17ch;
}
.services #cooktops .service-copy h2 span {
  display: block;
}
.services #cooktops .service-copy h2 span + span {
  margin-top: .18em;
  font-size: .78em;
  line-height: 1.1;
}

/* Ovens: the machine is the large frame, not an incidental object in the kitchen. */
.services #ovens.service-card {
  background: #f4ead0;
}
.services #ovens .service-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.services #ovens .service-photo img {
  object-position: 54% center;
}

/* Dishwasher: quieter open surface after the saturated cooking chapter. */
.services #dishwashers.service-card {
  background: #fffdf8;
}
.services #dishwashers .service-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
}
.services #dishwashers .service-visual {
  order: -1;
}
.services #dishwashers .service-photo img {
  object-position: 52% center;
}

/* Ice: a concise photographic closing note before commercial refrigeration. */
.services #ice.service-card {
  background: #fff7e8;
}
.services #ice .service-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.services #ice .service-visual {
  order: 0;
}
.services #ice .service-photo img {
  object-position: 58% center;
}
.services #ice .service-copy {
  padding-block: clamp(42px, 5vw, 68px);
}
.services #ice.service-card {
  margin-bottom: 0;
}
.services {
  padding-bottom: clamp(54px, 6vw, 78px);
}

@media (max-width: 1000px) {
  .intro .intro-grid .service-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services .service-card:not(#refrigeration) .service-grid,
  .services #ranges .service-grid,
  .services #cooktops .service-grid,
  .services #ovens .service-grid,
  .services #dishwashers .service-grid,
  .services #ice .service-grid {
    grid-template-columns: 1fr;
  }
  .services #ranges .service-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: clamp(32px, 5vw, 48px);
  }
  .services #ranges .service-copy h2 {
    max-width: 22ch;
    margin-bottom: 24px;
  }
  .services .service-card#ranges .service-photo {
    order: 1;
    height: 400px;
    min-height: 400px;
  }
  .services #cooktops .service-visual,
  .services #dishwashers .service-visual {
    order: 1;
  }
  .services .service-card:not(#refrigeration) .service-visual {
    min-height: 400px;
    height: 400px;
  }
}
@media (max-width: 680px) {
  .intro .intro-grid .service-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 5px;
  }
  .intro .service-chips .chip,
  .intro .service-chips .chip[data-target] {
    width: 100%;
    min-height: 50px;
    padding: 8px 7px;
    font-size: .72rem;
    line-height: 1.2;
    white-space: normal;
    scroll-snap-align: none;
  }
  .services .service-card:not(#refrigeration) {
    width: min(100% - 28px, 1200px);
    margin-bottom: 26px;
    border-radius: 14px;
  }
  .services .service-card:not(#refrigeration) .service-grid,
  .services #ranges .service-grid {
    display: flex;
    flex-direction: column;
  }
  .services #ranges .service-copy {
    display: contents;
    padding: 0;
  }
  .services .service-card:not(#refrigeration) .service-copy h2 {
    max-width: none;
    margin: 12px 24px 20px;
    font-size: clamp(2rem, 8.8vw, 2.6rem);
    line-height: 1.07;
    letter-spacing: -.032em;
    text-wrap: pretty;
  }
  .services #cooktops .service-copy h2 span + span {
    margin-top: .2em;
    font-size: .76em;
  }
  .services .service-card:not(#refrigeration) .service-copy .eyebrow { /* taste-skill-ignore: mobile source label placement */
    margin: 29px 24px 0;
  }
  .services .service-card:not(#refrigeration) .service-visual,
  .services .service-card#ranges .service-photo {
    order: 2;
    min-height: 260px;
    height: min(70vw, 320px);
  }
  .services .service-card:not(#refrigeration) .service-copy p {
    margin-inline: 24px;
    line-height: 1.54;
  }
  .services .service-card:not(#refrigeration) .service-copy p:first-of-type {
    margin-top: 23px;
  }
  .services .service-card:not(#refrigeration) .service-copy .cta {
    margin: 0 24px 30px;
  }
  .services .service-card:not(#refrigeration) .art-label {
    padding: 10px 13px;
    font-size: .59rem;
  }
  .services #ranges .service-photo img {
    object-position: center 78%;
  }
  .services #ovens .service-photo img {
    object-position: 57% center;
  }
  .services #dishwashers .service-photo img {
    object-position: 52% center;
  }
  .services #ice .service-photo img {
    object-position: 58% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services .service-card:not(#refrigeration) .service-photo img,
  .services .service-card:not(#refrigeration):hover .service-photo img {
    transition: none;
    transform: none;
  }
}
