/* Homepage-only presentation. This file is loaded exclusively by the home route. */
.page-home main h2 strong { font-weight: 700; }
.page-home .home-section-heading { margin-bottom: 28px; }
.page-home .home-section-heading h2 { margin-top: 12px; font-size: clamp(34px, 3.5vw, 48px); line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
.page-home .home-process h2 strong { color: var(--accent-dark); font-style: italic; }
.page-home .home-item-number { display: block; color: var(--accent); font-size: 11px; line-height: 1.4; letter-spacing: 1.3px; }
.page-home main .text-link { min-height: 44px; padding-block: 9px; gap: 12px; color: var(--accent-dark); font-size: 13px; }
.page-home main a:is(.text-link, .button) > span[aria-hidden] { flex-shrink: 0; transition: transform .2s ease; }
.page-home main a:is(.text-link, .button):hover > span[aria-hidden] { transform: translateX(3px); }
.page-home main a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 5px; }

/* The wholesale offer is clear before the buyer chooses a collection. */
.page-home .hero-inner { min-height: 500px; gap: 24px; }
.page-home .hero-copy { padding-block: 44px; }
.page-home .hero-copy h1 { overflow: visible; margin-top: 0; font-size: clamp(48px, 4.8vw, 66px); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.page-home .hero-copy h1 > span { max-width: none; }
.page-home .hero-description { margin-top: 24px; max-width: 450px; font-size: 15px; line-height: 1.7; }
.page-home .hero-description strong { color: var(--accent-dark); font-weight: 600; }
.page-home .hero-actions { flex-wrap: wrap; gap: 14px 22px; margin-top: 24px; }
.page-home .hero-actions .button { min-height: 52px; padding: 15px 18px; gap: 15px; border-radius: var(--image-radius); font-size: 12px; }
.page-home .hero-actions .text-link { font-size: 12px; }
.page-home .hero-visual { min-width: 0; width: 100%; margin-inline: auto; }
.page-home .hero-product { width: 100%; max-width: 100%; margin: 0; transform: none; }
.page-home .hero-disc { width: min(88%, 480px); height: auto; aspect-ratio: 1; left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%); }
.page-home .home-text-shimmer { color: var(--accent); }
.page-home .hero-copy h1 > .hero-answer { color: var(--accent); font-size: .66em; font-weight: 700; line-height: 1.2; padding: .08em .14em .14em; margin: 7px -.14em -.14em; }
.page-home .home-invitation .home-text-shimmer { display: inline-block; padding: .06em .12em .14em; margin: -.06em -.12em -.14em; }

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .page-home .home-text-shimmer { background: linear-gradient(110deg, var(--accent) 40%, #dc58a1 46%, #dc58a1 54%, var(--accent) 60%); background-size: 300% 100%; background-position: 100% 0; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .page-home .home-text-shimmer.is-shimmering { animation: home-answer-shimmer 4s ease-in-out infinite both; }
}
@keyframes home-answer-shimmer { 0%, 10% { background-position: 100% 0; } 70%, 100% { background-position: 0% 0; } }

/* Compact photo routes sit directly beneath the hero. */
.page-home .home-audiences { padding-block: 28px 32px; border-top: 1px solid var(--line); }
.page-home .home-audiences .home-section-heading { margin-bottom: 18px; }
.page-home .home-audiences .home-section-heading h2 { margin: 0; font-size: clamp(27px, 2.5vw, 34px); }
.page-home .home-audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.page-home .home-audience { min-width: 0; display: grid; grid-template-columns: 125px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--image-radius); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.page-home .home-audience-image { width: 100%; height: 100%; min-height: 124px; overflow: hidden; background: var(--biscuit); }
.page-home .home-audience-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.page-home .home-audience-retail .home-audience-image img { object-position: center 47%; }
.page-home .home-audience-foodservice .home-audience-image img { object-position: center 73%; }
.page-home .home-audience-copy { display: grid; align-content: center; grid-template-columns: minmax(0, 1fr) 18px; gap: 7px 8px; min-width: 0; padding: 18px; }
.page-home .home-audience h3 { font: 500 clamp(22px, 1.8vw, 26px)/1.2 var(--serif); letter-spacing: -.4px; }
.page-home .home-audience-arrow { align-self: center; color: var(--accent); font: 400 21px/1 var(--sans); transition: transform .2s ease; }
.page-home .home-audience p { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.55; }
.page-home .home-audience:is(:hover, :focus-visible) { border-color: var(--accent); box-shadow: 0 6px 20px rgb(43 28 22 / 6%); }
.page-home .home-audience:is(:hover, :focus-visible) h3 { color: var(--accent-dark); }
.page-home .home-audience:is(:hover, :focus-visible) .home-audience-arrow { transform: translateX(3px); }

/* Brand relationship and territories read as one compact credential. */
.page-home .home-credentials { background: var(--white); border-block: 1px solid var(--line); }
.page-home .home-credentials-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; max-width: 1180px; padding-block: 20px; gap: 24px; }
.page-home .home-credentials-brand { grid-column: 2; grid-row: 1; justify-self: center; width: 260px; height: auto; }
.page-home .home-credential { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: center; min-width: 0; gap: 12px; text-align: center; }
.page-home .home-credential + .home-credential { grid-column: 3; }
.page-home .home-credential p { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.6; white-space: nowrap; }
.page-home .home-credential strong { font-weight: 600; }
.page-home .home-credential p > span { color: var(--accent); white-space: nowrap; }
.page-home .credential-flag { font-size: 25px; line-height: 1; }

/* Every collection stays visible near the top of the homepage. */
.page-home .home-preview { padding-block: 44px 32px; background: var(--white); }
.page-home .home-preview .preview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.page-home .home-preview .preview-grid > .preview-card { grid-column: auto; }
.page-home .home-preview .preview-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.page-home .home-preview .preview-image { width: 100%; height: auto; aspect-ratio: 8 / 5; flex-shrink: 0; border-radius: var(--image-radius); }
.page-home .home-preview .preview-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.page-home .preview-card[data-preview-collection="bakery"] .preview-image { background: #e4cfb1; }
.page-home .preview-card[data-preview-collection="at-home"] .preview-image { background: #e8ece8; }
.page-home .preview-card[data-preview-collection="monteleone"] .preview-image { background: #ceb1a1; }
.page-home .preview-card[data-preview-collection="at-home"] .preview-image img { object-position: center 84%; }
.page-home .home-preview .preview-image:hover img { transform: scale(1.025); }
.page-home .home-preview .preview-card h3 { font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); letter-spacing: -.35px; margin-top: 17px; }
.page-home .home-preview .preview-card[data-preview-collection="bakery"] h3 { color: var(--accent-dark); font-weight: 700; }
.page-home .home-preview .preview-card > p { margin-block: 8px 7px; font-size: 14px; line-height: 1.65; }
.page-home .home-preview .preview-card > .text-link { margin-top: auto; font-size: 12px; }
.page-home .home-portfolio-link { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 12px; }

/* One brand introduction carries the reasons to choose Coveted Cakes. */
.page-home .brand-value { padding-block: 44px; border: 0; background: #f1ece3; }
.page-home .brand-value-inner { grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.page-home .brand-value-inner > * { min-width: 0; }
.page-home .brand-value-intro h2 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.15; letter-spacing: -.035em; margin-top: 15px; }
.page-home .brand-value-intro h2 strong { color: var(--accent-dark); }
.page-home .brand-value-intro > p:not(.eyebrow) { max-width: 430px; margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.page-home .home-brand-benefits { display: grid; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.page-home .home-brand-benefits li { font-size: 13px; line-height: 1.65; color: var(--muted); }
.page-home .home-brand-benefits strong { color: var(--accent-dark); font-weight: 600; }
.page-home .brand-value-intro .brand-value-cta { margin-top: 14px; font-size: 12px; }
.page-home .brand-value-image { width: 100%; max-width: 600px; aspect-ratio: 1736 / 928; margin-inline: auto; overflow: hidden; border-radius: var(--image-radius); }
.page-home .brand-value-image img { width: 100%; height: 100%; object-fit: cover; }

.page-home .home-process { padding-block: 42px 30px; background: var(--white); border-block: 1px solid var(--line); }
.page-home .home-process .home-section-heading h2 { max-width: 780px; }
.page-home .home-process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding: 0; margin: 0; list-style: none; }
.page-home .home-process-steps li { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.page-home .home-process-steps .home-item-number { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; flex-shrink: 0; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent); color: var(--white); font: 700 24px/1 var(--serif); letter-spacing: 0; }
.page-home .home-process-steps li > div { min-width: 0; }
.page-home .home-process-steps h3 { font: 700 22px/1.3 var(--serif); letter-spacing: -.3px; }
.page-home .home-process-steps p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.page-home .home-process-link { margin-top: 22px; }
.page-home .home-invitation { padding-block: 48px; background: #f7eaf2; border-block: 1px solid #ead5e3; }
.page-home .home-invitation .invitation-inner { gap: 35px; }
.page-home .home-invitation h2 { max-width: 720px; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.page-home .home-invitation p { max-width: 450px; line-height: 1.7; }
.page-home .home-invitation .button { font-size: 13px; padding-inline: 21px; gap: 18px; }

@media (max-width: 1100px) {
  .page-home .home-credentials-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; gap: 18px 24px; }
  .page-home .home-credentials-brand { grid-column: 1 / -1; }
  .page-home .home-credential { grid-row: 2; }
  .page-home .home-credential + .home-credential { grid-column: 2; }
  .page-home .hero-inner { gap: 20px; }
  .page-home .hero-copy { padding-block: 38px; }
  .page-home .hero-actions { gap: 12px 16px; }
  .page-home .home-audience-grid { gap: 14px; }
  .page-home .home-audience { grid-template-columns: 100px minmax(0, 1fr); }
  .page-home .home-audience-copy { padding: 15px; }
  .page-home .home-preview .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .page-home .home-preview .preview-image { aspect-ratio: 2 / 1; }
  .page-home .preview-card[data-preview-collection="at-home"] .preview-image img { object-position: center 86%; }
  .page-home .home-preview .preview-card h3 { font-size: 24px; }
  .page-home .home-process-steps { gap: 24px; }
  .page-home .home-process-steps li { gap: 12px; }
  .page-home .home-invitation .invitation-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (max-width: 900px) {
  .page-home .home-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .home-audience { grid-template-columns: 110px minmax(0, 1fr); }
  .page-home .home-audience-distribution { grid-column: 1 / -1; }
  .page-home .home-audience-distribution .home-audience-image { min-height: 94px; max-height: 94px; }
  .page-home .home-audience h3 { font-size: 24px; }
}

@media (max-width: 760px) {
  .page-home .home-section-heading { margin-bottom: 24px; }
  .page-home .home-section-heading h2 { font-size: clamp(32px, 5.8vw, 42px); }
  .page-home .hero-inner { min-height: 0; gap: 0; }
  .page-home .hero-copy { padding-block: 28px 0; }
  .page-home .hero-copy h1 { font-size: clamp(38px, 7vw, 48px); }
  .page-home .hero-description { margin-top: 20px; max-width: 470px; font-size: 14px; line-height: 1.65; }
  .page-home .hero-actions { margin-top: 18px; }
  .page-home .hero-actions .button { min-height: 48px; padding-block: 13px; }
  .page-home .hero-visual { min-height: 0; max-width: 340px; padding-block: 12px 22px; margin-top: 0; }
  .page-home .hero-disc { width: min(82%, 270px); }
  .page-home .home-audiences { padding-block: 24px; }
  .page-home .home-audiences .home-section-heading h2 { font-size: 28px; }
  .page-home .home-credentials-inner { grid-template-columns: 1fr; padding-block: 14px; gap: 8px; }
  .page-home .home-credentials-brand { grid-column: 1; width: 180px; }
  .page-home .home-credential { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: 20px auto; justify-content: center; gap: 10px; padding-inline: 0; text-align: left; }
  .page-home .home-credential + .home-credential { grid-column: 1; }
  .page-home .home-credential p { flex-direction: row; align-items: baseline; gap: 8px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
  .page-home .home-credential strong { max-width: none; }
  .page-home .credential-flag { font-size: 20px; }
  .page-home .home-preview { padding-block: 32px 24px; }
  .page-home .home-preview .preview-grid { gap: 24px 18px; }
  .page-home .home-preview .preview-card h3 { font-size: 23px; margin-top: 14px; }
  .page-home .home-preview .preview-card > p { margin-block: 8px 0; }
  .page-home .home-portfolio-link { justify-content: flex-start; margin-top: 22px; }
  .page-home .brand-value { padding-block: 32px; }
  .page-home .brand-value-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-home .brand-value-intro h2 { font-size: clamp(32px, 6.5vw, 42px); }
  .page-home .brand-value-image { max-width: 540px; }
  .page-home .home-process { padding-block: 32px 24px; }
  .page-home .home-process-steps { grid-template-columns: 1fr; gap: 19px; }
  .page-home .home-process-steps li { gap: 17px; padding-top: 18px; }
  .page-home .home-process-steps .home-item-number { width: 44px; height: 44px; font-size: 22px; }
  .page-home .home-process-steps h3 { font-size: 22px; }
  .page-home .home-process-steps p { margin-top: 7px; }
  .page-home .home-invitation { padding-block: 32px; }
}

@media (max-width: 540px) {
  .page-home .hero-copy h1 { font-size: clamp(40px, 10vw, 44px); }
  .page-home .hero-actions { gap: 8px 14px; }
  .page-home .hero-actions .button { padding-inline: 14px; gap: 10px; }
  .page-home .hero-actions .text-link { gap: 6px; font-size: 11px; }
  .page-home .hero-visual { max-width: 290px; padding-block: 12px 18px; }
  .page-home .hero-disc { width: 80%; }
  .page-home .home-audience-grid { grid-template-columns: 1fr; gap: 12px; }
  .page-home .home-audience { grid-template-columns: 92px minmax(0, 1fr); }
  .page-home .home-audience-image { min-height: 94px; }
  .page-home .home-audience-copy { padding: 14px 16px; }
  .page-home .home-audience h3 { font-size: 24px; }
  .page-home .home-preview .preview-grid { gap: 24px 16px; }
  .page-home .home-preview .preview-image { aspect-ratio: 3 / 2; }
  .page-home .preview-card[data-preview-collection="at-home"] .preview-image img { object-position: center 82%; }
  .page-home .home-preview .preview-card h3 { font-size: 19px; letter-spacing: -.3px; }
  .page-home .home-preview .preview-card > p { font-size: 13px; line-height: 1.65; }
  .page-home .home-preview .preview-card > .text-link { gap: 6px; font-size: 11px; }
  .page-home .home-invitation .button { width: 100%; justify-content: space-between; font-size: 13px; }
}

@media (hover: none) {
  .page-home .home-preview .preview-image:hover img { transform: none; }
}
@media (hover: hover) {
  .page-home .home-audience:hover .home-audience-image img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .page-home .home-text-shimmer, .page-home .home-text-shimmer.is-shimmering { animation: none; background: none; -webkit-text-fill-color: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home main a:is(.text-link, .button), .page-home main a:is(.text-link, .button) > span[aria-hidden], .page-home .home-audience, .page-home .home-audience-arrow, .page-home .home-audience-image img, .page-home .home-preview .preview-image img { transition: none; }
  .page-home main a:is(.text-link, .button):hover, .page-home main a:is(.text-link, .button):hover > span[aria-hidden], .page-home .home-audience:is(:hover, :focus-visible) .home-audience-arrow, .page-home .home-audience:hover .home-audience-image img, .page-home .home-preview .preview-image:hover img { transform: none; }
}
@media (forced-colors: active) {
  .page-home .home-text-shimmer, .page-home .hero-copy h1 > .hero-answer { color: CanvasText; }
}
