@import "style.css";

/* Home hero: About.webp + readable scrim (matches Product hero treatment) */
.page-hero.page-hero--home:not(.page-hero--contact):not(.page-hero--gallery)::before {
  background:
    linear-gradient(105deg, rgba(8, 3, 2, 0.92) 0%, rgba(12, 6, 4, 0.55) 45%, rgba(20, 10, 6, 0.35) 100%),
    url("assets/About.webp");
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .page-hero.page-hero--home:not(.page-hero--contact):not(.page-hero--gallery)::before {
    background:
      linear-gradient(180deg, rgba(9, 4, 3, 0.94) 0%, rgba(9, 4, 3, 0.62) 38%, rgba(9, 4, 3, 0.4) 100%),
      url("assets/About.webp");
    background-size: auto, cover;
    background-position: center top, center center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 480px) {
  .page-hero.page-hero--home:not(.page-hero--contact):not(.page-hero--gallery)::before {
    background-position: center top, center center;
  }
}

/* Gold underline under “Our Professional Programs” heading (same as Product / Services) */
.section-barista .section-top .section-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 0;
}

.section-barista .section-top .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100px, 32vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(198, 154, 91, 0.95), rgba(198, 154, 91, 0.2));
}

.section-barista .section-top .section-copy {
  margin-top: 14px;
}

/* Gold underline under “Rooted in tradition…” (Our Craft & Passion) */
.section-craft .section-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 0;
}

.section-craft .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100px, 32vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(198, 154, 91, 0.95), rgba(198, 154, 91, 0.2));
}

.section-craft .split > .reveal:first-child .section-copy {
  margin-top: 14px;
}

/* Slightly tighter space below course cards (home programs section) */
.section.section-barista {
  padding-bottom: 48px;
}

@media (max-width: 900px) {
  .section.section-barista {
    padding-bottom: 52px;
  }
}

@media (max-width: 767px) {
  .section.section-barista {
    padding-bottom: 36px;
  }
}

/* Match image column height without dead space below text (same idea as craft split) */
.section.section-barista .program-row {
  align-items: start;
}

@media (max-width: 900px) and (min-width: 641px) {
  .section.section-barista .program-row {
    align-items: start;
  }
}

/* Home hero - shorter than default 80vh grid */
.page-hero:not(.page-hero--contact) {
  min-height: min(32vh, 360px);
}
.page-hero:not(.page-hero--contact) .hero-grid {
  min-height: 0;
}
.page-hero:not(.page-hero--contact) .hero-copy {
  padding-top: 16px;
  padding-bottom: 14px;
}

/* Home: a little more space above eyebrow (“Specialty Coffee…”) */
.page-hero.page-hero--home .hero-copy {
  padding-top: 24px;
}

/* Mobile: match “Rooted in tradition…” — same token as .section-title */
@media (max-width: 767px) {
  .page-hero--home .hero-title {
    font-size: var(--text-section);
    line-height: var(--leading-section);
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
  }
}

.page-hero:not(.page-hero--contact) .eyebrow {
  margin-bottom: 8px;
}
.page-hero:not(.page-hero--contact) .hero-title {
  margin-bottom: 10px;
}
.page-hero:not(.page-hero--contact) .hero-text {
  margin-bottom: 16px;
}

/* Hero CTAs - same treatment as services page (services-hero-btn) */
.page-hero .hero-actions {
  margin-bottom: 0;
  margin-top: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.page-hero--home .hero-actions {
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
}

/* Home hero CTAs: slightly compact; center label + icon */
.page-hero--home .hero-actions .services-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.94rem;
  border-radius: 12px;
}

.page-hero--home .hero-actions .services-hero-btn--programs {
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 11px;
  padding-inline: 14px 22px;
  font-size: 0.94rem;
}

.page-hero--home .hero-actions .services-hero-programs__label {
  text-align: center;
}

.services-hero-btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  letter-spacing: 0.02em;
}

.services-hero-btn--book.btn-primary {
  background: linear-gradient(165deg, #c69a5b 0%, #a67c3d 55%, #8b6630 100%);
  color: #1b120c;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 32px rgba(230, 194, 142, 0.22),
    0 6px 28px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.services-hero-btn--book.btn-primary:hover {
  box-shadow:
    0 0 42px rgba(230, 194, 142, 0.32),
    0 10px 36px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.services-hero-btn--book:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.services-hero-btn--programs {
  gap: 14px;
  min-height: 52px;
  padding-inline: 18px 28px;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(155deg, rgba(22, 12, 8, 0.78) 0%, rgba(8, 4, 3, 0.52) 100%);
  border: 1px solid rgba(230, 194, 142, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 4px 28px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(198, 154, 91, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.services-hero-btn--programs:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 194, 142, 0.62);
  background: linear-gradient(155deg, rgba(32, 18, 12, 0.88) 0%, rgba(12, 6, 4, 0.62) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 10px 40px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(230, 194, 142, 0.16);
}

.services-hero-btn--programs:focus-visible {
  outline: 2px solid rgba(230, 194, 142, 0.55);
  outline-offset: 3px;
}

.services-hero-programs__mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(230, 194, 142, 0.2) 0%, rgba(139, 102, 48, 0.12) 100%);
  border: 1px solid rgba(230, 194, 142, 0.38);
  color: var(--gold-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero--home .services-hero-programs__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.page-hero--home .services-hero-programs__mark svg {
  width: 17px;
  height: 17px;
}

.services-hero-programs__mark svg {
  display: block;
}

.services-hero-programs__label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  letter-spacing: 0.03em;
}

/* Home hero CTAs: side-by-side + compact (overrides global mobile .btn rules) */
@media (max-width: 1024px) {
  .page-hero--home .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(8px, 2.2vw, 14px);
  }
}

@media (max-width: 767px) {
  .page-hero--home .hero-actions .services-hero-btn {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.88rem;
    line-height: 1.2;
    border-radius: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .page-hero--home .hero-actions .services-hero-btn--programs {
    gap: 9px;
    min-height: 46px;
    padding-inline: 11px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    justify-content: center;
  }

  .page-hero--home .hero-actions .services-hero-programs__mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .page-hero--home .hero-actions .services-hero-programs__mark svg {
    width: 15px;
    height: 15px;
  }

  .page-hero--home .hero-actions .services-hero-programs__label {
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Feature row below hero CTAs (matches reference layout) */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  max-width: min(720px, 100%);
  width: 100%;
  align-items: start;
}
.hero-highlight {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}
.hero-highlight--divider-left {
  border-left: 1px solid rgba(198, 154, 91, 0.38);
  padding-left: 18px;
  margin-left: 0;
}
/* Bottom-right cell: same vertical divider + inset as col 2 (2×2 on all breakpoints) */
.hero-highlights > .hero-highlight--grid-col-right {
  border-left: 1px solid rgba(198, 154, 91, 0.38);
  padding-left: 18px;
  margin-left: 0;
}
.hero-highlight--row2 {
  border-top: 1px solid rgba(198, 154, 91, 0.42);
  padding-top: 18px;
  margin-left: 0;
}
.hero-highlight__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  padding-top: 2px;
}
.hero-highlight__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: rgba(230, 194, 142, 0.92);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-highlight__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-align: left;
}
.hero-highlight__title,
.hero-highlight__sub {
  display: block;
  min-width: 0;
}
.hero-highlight__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--gold-2);
}
.hero-highlight__sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(246, 234, 216, 0.78);
}
.hero-highlight__line {
  display: block;
  overflow: hidden;
}
.hero-highlight__paint {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.12s cubic-bezier(0.76, 0, 0.215, 1);
}
.hero-highlights.visible .hero-highlight__paint {
  clip-path: inset(0 0 0 0);
}
.hero-highlights.visible .hero-highlight:nth-child(1) .hero-highlight__title .hero-highlight__paint {
  transition-delay: 0.08s;
}
.hero-highlights.visible .hero-highlight:nth-child(1) .hero-highlight__sub .hero-highlight__paint {
  transition-delay: 0.18s;
}
.hero-highlights.visible .hero-highlight:nth-child(2) .hero-highlight__title .hero-highlight__paint {
  transition-delay: 0.28s;
}
.hero-highlights.visible .hero-highlight:nth-child(2) .hero-highlight__sub .hero-highlight__paint {
  transition-delay: 0.38s;
}
.hero-highlights.visible .hero-highlight:nth-child(3) .hero-highlight__title .hero-highlight__paint {
  transition-delay: 0.48s;
}
.hero-highlights.visible .hero-highlight:nth-child(3) .hero-highlight__sub .hero-highlight__paint {
  transition-delay: 0.58s;
}
.hero-highlights.visible .hero-highlight:nth-child(4) .hero-highlight__title .hero-highlight__paint {
  transition-delay: 0.68s;
}
.hero-highlights.visible .hero-highlight:nth-child(4) .hero-highlight__sub .hero-highlight__paint {
  transition-delay: 0.78s;
}
/* Narrow phones: tighter 2×2 so hero stays compact */
@media (max-width: 520px) {
  .hero-highlights {
    gap: 10px;
    margin-top: 10px;
  }
  .hero-highlight--divider-left {
    padding-left: 10px;
  }
  .hero-highlights > .hero-highlight--grid-col-right {
    padding-left: 10px;
  }
  .hero-highlight--row2 {
    padding-top: 12px;
  }
  .hero-highlight {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }
  .hero-highlight__icon {
    width: 30px;
  }
  .hero-highlight__icon svg {
    width: 22px;
    height: 22px;
  }
  .hero-highlight__title {
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  }
  .hero-highlight__sub {
    letter-spacing: 0.1em;
    font-size: 0.52rem;
    line-height: 1.4;
  }
}

/* Space after hero; a bit of extra top padding so “Our Craft & Passion” sits slightly lower (home only) */
.page-hero:not(.page-hero--contact) + .section-craft {
  padding-top: 40px;
}

@media (max-width: 900px) {
  .page-hero:not(.page-hero--contact) {
    min-height: auto;
  }
  .page-hero:not(.page-hero--contact) .hero-copy {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .page-hero.page-hero--home .hero-copy {
    padding-top: 26px;
  }
}
@media (max-width: 767px) {
  .page-hero:not(.page-hero--contact) .hero-copy {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .page-hero.page-hero--home .hero-copy {
    padding-top: 24px;
  }
}
@media (max-width: 520px) {
  .page-hero:not(.page-hero--contact) .hero-copy {
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .page-hero.page-hero--home .hero-copy {
    padding-top: 22px;
  }
  .page-hero:not(.page-hero--contact) .hero-text {
    margin-bottom: 12px;
  }
}
@media (max-width: 640px) {
  .page-hero:not(.page-hero--contact) + .section-craft {
    padding-top: 24px;
  }
}
@media (max-width: 480px) {
  .page-hero:not(.page-hero--contact) .hero-grid {
    min-height: 0;
  }
}

/* Slightly less space below craft highlights (incl. Internship Support) before Programs */
.section.section-craft {
  padding-bottom: 48px;
}
.section-craft + .section-barista {
  padding-top: 20px;
}
@media (max-width: 900px) {
  .section.section-craft {
    padding-bottom: 52px;
  }
}
@media (max-width: 767px) {
  .section.section-craft {
    padding-bottom: 42px;
  }
  .section-craft + .section-barista {
    padding-top: 20px;
  }
  /* Stack split: top-align columns; keep eyebrow, title, and body copy on one visual margin */
  .section-craft .split {
    align-items: start;
  }
  .section-craft .split > .reveal:first-child {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
  .section-craft .eyebrow {
    text-align: left;
  }
  .section-craft .section-title {
    text-align: left;
    text-wrap: balance;
  }
  .section-craft .section-copy {
    text-align: left;
    max-width: none;
  }
}

/* ----- Hero: subtle moving / floating animation ----- */
.hero-title {
  animation: heroTitleFloat 6s ease-in-out infinite;
}
@keyframes heroTitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----- Card animations ----- */

/* Story card: slightly smaller than global .story-card (home craft column only) */
.section-craft .story-card {
  width: 100%;
  min-height: 328px;
  border-radius: 24px;
  /* Café photo: keep layers + position in sync with tablet/mobile (see max-width:1080px block) */
  background:
    linear-gradient(180deg, rgba(12, 5, 4, 0.18), rgba(12, 5, 4, 0.7)),
    url("assets/Cafe.png") 65% calc(50% + 18px) / cover no-repeat;
  background-repeat: no-repeat;
}
/* Wide desktop: story card is out of flow so row height = copy + highlights only (no dead space below cards) */
@media (min-width: 1081px) {
  .section-craft .split {
    position: relative;
    align-items: start;
  }
  .section-craft .split > .reveal:first-child {
    grid-column: 1;
  }
  .section-craft .story-card {
    position: absolute;
    top: 0;
    right: 0;
    width: calc((100% - var(--space-craft-split)) / 2);
    max-width: none;
    margin-inline: 0;
    min-height: 0;
    bottom: 0;
    height: auto;
    aspect-ratio: unset;
  }
}
/* Tablet & phone: same 4:3 box + same gradient/position as desktop so cover crop matches */
@media (max-width: 1080px) {
  .section-craft .story-card {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    max-height: none;
    background:
      linear-gradient(180deg, rgba(12, 5, 4, 0.18), rgba(12, 5, 4, 0.7)),
      url("assets/Cafe.png") 65% calc(50% + 18px) / cover no-repeat;
    background-repeat: no-repeat;
  }
}
@media (max-width: 767px) {
  .section-craft .story-card {
    border-radius: 16px;
  }
}

/* Story card: theme-aligned glass panel + typography (gold / cream) */
.section-craft .story-card .story-card-content {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(18, 8, 5, 0.88) 0%, rgba(10, 4, 3, 0.82) 100%),
    linear-gradient(180deg, rgba(230, 194, 142, 0.1) 0%, transparent 52%);
  border: 1px solid rgba(198, 154, 91, 0.38);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(230, 194, 142, 0.14) inset;
}

.section-craft .story-card .story-card-content .eyebrow {
  margin-bottom: 6px;
  color: var(--gold-2);
  border-color: rgba(198, 154, 91, 0.5);
  background: linear-gradient(165deg, rgba(198, 154, 91, 0.22) 0%, rgba(90, 48, 22, 0.35) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.25);
}

.section-craft .story-card .story-card-content p {
  margin: 0;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 14px rgba(8, 3, 2, 0.75);
}

@media (max-width: 767px) {
  .section-craft .story-card .story-card-content {
    left: 10px;
    right: 10px;
    bottom: 8px;
    padding: 10px 12px 11px;
    border-radius: 11px;
  }
  .section-craft .story-card .story-card-content .eyebrow {
    margin-bottom: 4px;
    padding: 0.28rem 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
}

/* Story card: hover lift on inner content */
.story-card .story-card-content {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}
.story-card:hover .story-card-content {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 28px rgba(198, 154, 91, 0.12);
  border-color: rgba(230, 194, 142, 0.42);
}

/* Program row cards: image zoom + lift */
.program-row .program-media {
  overflow: hidden;
}
.program-row .program-media img {
  transition: transform 0.5s ease;
}
.program-row:hover .program-media img {
  transform: scale(1.08);
}

.program-row {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.program-row:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 154, 91, 0.25);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

/* Highlight icons (type unified at end of file) */
.section-craft .highlight .highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}
.section-craft .highlight .highlight-icon svg {
  width: 18px;
  height: 18px;
}

/* Highlight cards: staggered entrance + layered hover animation */
.section-craft .highlight {
  opacity: 0;
  transform: translateY(20px);
  animation: highlightReveal 0.6s ease-out forwards;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.section-craft .highlight:nth-child(1) { animation-delay: 0.1s; }
.section-craft .highlight:nth-child(2) { animation-delay: 0.2s; }
.section-craft .highlight:nth-child(3) { animation-delay: 0.3s; }
.section-craft .highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
}
.section-craft .highlight > * {
  position: relative;
  z-index: 2;
}
.section-craft .highlight:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(198, 154, 91, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}
.section-craft .highlight:hover::before {
  opacity: 1;
  animation: highlightShimmer 0.85s ease-out forwards;
}
.section-craft .highlight .highlight-icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), background 0.35s ease;
}
.section-craft .highlight:hover .highlight-icon {
  transform: scale(1.12) translateY(-2px);
  background: rgba(198, 154, 91, 0.26);
}
.section-craft .highlight strong {
  transition: color 0.3s ease, letter-spacing 0.35s ease;
}
.section-craft .highlight:hover strong {
  text-shadow: 0 0 24px rgba(230, 194, 142, 0.45);
  letter-spacing: 0.02em;
}
.section-craft .highlight span {
  transition: color 0.3s ease, opacity 0.3s ease;
}
.section-craft .highlight:hover span {
  opacity: 0.95;
}

@keyframes highlightReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes highlightShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-title {
    animation: none;
  }
  .section-craft .highlight {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .section-craft .highlight:nth-child(1),
  .section-craft .highlight:nth-child(2),
  .section-craft .highlight:nth-child(3) {
    animation-delay: 0s;
  }
  .section-craft .highlight:hover {
    transform: none;
  }
  .section-craft .highlight:hover::before {
    animation: none;
    opacity: 0;
  }
  .section-craft .highlight:hover .highlight-icon {
    transform: none;
  }
  .section-craft .highlight:hover strong {
    text-shadow: none;
    letter-spacing: normal;
  }
  .section-craft .highlight:hover span {
    opacity: 1;
  }
  .hero-highlight__paint {
    clip-path: inset(0 0 0 0);
    transition: none;
  }
  .services-hero-btn--book.btn-primary:hover,
  .services-hero-btn--programs:hover {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Home: one type scale + rhythm for hero, craft, programs (all breakpoints) */
/* -------------------------------------------------------------------------- */
body[data-page="home"] {
  --home-prose-lh: 1.65;
}

@media (max-width: 767px) {
  body[data-page="home"] {
    --home-prose-lh: 1.6;
  }
}

body[data-page="home"] .hero-text,
body[data-page="home"] .section-copy,
body[data-page="home"] .section-barista .program-body p {
  font-size: var(--fluid-lead);
  line-height: var(--home-prose-lh);
  color: rgba(246, 234, 216, 0.78);
}

/* Craft highlights: slightly smaller than body lead */
body[data-page="home"] .section-craft .highlight > span {
  font-size: clamp(0.82rem, 0.14vw + 0.76rem, 0.92rem);
  line-height: var(--home-prose-lh);
  color: rgba(246, 234, 216, 0.78);
}

body[data-page="home"] .hero-text {
  color: rgba(246, 234, 216, 0.82);
}

body[data-page="home"] .section-craft .story-card .story-card-content p {
  font-size: var(--fluid-lead);
  line-height: var(--home-prose-lh);
  color: rgba(246, 234, 216, 0.78);
}

body[data-page="home"] .section-barista .program-body h3 {
  font-family: var(--font-serif);
  font-size: var(--text-program-h3);
  font-weight: var(--weight-semibold);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

body[data-page="home"] .section-craft .highlight-title strong {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.38rem);
  font-weight: var(--weight-semibold);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

body[data-page="home"] .highlights {
  margin-top: var(--space-section-top);
}

body[data-page="home"] .program-list {
  margin-top: var(--space-section-top);
}

@media (max-width: 767px) {
  body[data-page="home"] .page-hero--home .hero-text {
    max-width: min(46ch, var(--prose-max));
  }
  /* After global .fluid-lead rule — keep craft story blurb compact on phones */
  body[data-page="home"] .section-craft .story-card .story-card-content p {
    font-size: 0.8rem;
    line-height: 1.38;
  }
}
