/*
 * Responsive pass 01 — header + hero only.
 * Added 2026-09-02. This file is intentionally loaded last so the approved
 * desktop artwork stays intact while breakpoint behavior is normalized.
 */

/* ---------- shared header refinements ---------- */
body.gift-home .gift-menu-toggle {
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.gift-home .gift-menu-toggle::before {
  width: 18px;
  height: 13px;
  flex: 0 0 18px;
  background:
    linear-gradient(currentColor,currentColor) 0 0 / 18px 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) 0 50% / 18px 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) 0 100% / 18px 1.5px no-repeat;
  border-radius: 99px;
  content: "";
  opacity: .86;
}

/* Laptop: keep the real navigation. The previous CSS switched to the mobile
 * dropdown too early (up to 1230px), which made 1024–1152 feel like a tablet.
 */
@media (min-width: 1024px) and (max-width: 1279px) {
  body.gift-home .gift-header__inner {
    min-height: 70px;
    gap: 18px;
  }

  body.gift-home .gift-header .gift-brand--logo {
    width: 136px;
  }

  body.gift-home .gift-menu-toggle {
    display: none !important;
  }

  body.gift-home .gift-nav {
    position: static !important;
    z-index: auto;
    display: flex !important;
    width: auto;
    flex: 1 1 auto;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    margin-right: auto;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.gift-home .gift-nav .gift-nav__item,
  body.gift-home .gift-nav__ai-brand {
    width: auto;
    min-height: 36px;
    padding: 0 8px;
    font-size: 11.5px;
  }

  body.gift-home .gift-nav > .gift-nav__studio {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    margin: 0 2px 0 4px;
    padding: 0;
  }

  body.gift-home .gift-nav__divider {
    width: 1px;
    height: 20px;
    margin: 0 1px;
  }

  body.gift-home .gift-nav__mobile-actions {
    display: none !important;
  }

  body.gift-home .gift-header__actions {
    display: flex !important;
    flex: 0 0 auto;
    gap: 12px;
  }

  body.gift-home .gift-header__actions .gift-text-link {
    font-size: 11.5px;
  }

  body.gift-home .gift-header__actions .gift-button {
    min-height: 39px;
    padding-inline: 13px 12px;
    font-size: 11px;
  }
}

/* Tablet/mobile header. */
@media (max-width: 1023px) {
  body.gift-home .gift-header__inner {
    min-height: 68px;
    gap: 0;
  }

  body.gift-home .gift-header .gift-brand--logo {
    width: 130px;
    height: auto;
  }

  body.gift-home .gift-header__actions {
    display: none !important;
  }

  body.gift-home .gift-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    color: #705d66;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
  }

  body.gift-home .gift-nav {
    right: 20px;
    left: 20px;
  }
}

/* ---------- laptop hero: 1024–1279 ---------- */
@media (min-width: 1024px) and (max-width: 1279px) {
  body.gift-home .gift-hero {
    min-height: 620px;
    padding-top: 22px;
  }

  body.gift-home .gift-hero__grid {
    display: grid !important;
    min-height: 610px;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: 0;
  }

  body.gift-home .gift-hero__copy {
    max-width: 560px;
    align-self: center;
    margin-top: 0;
    padding-bottom: 22px;
  }

  body.gift-home .gift-hero__copy h1 {
    max-width: 560px;
    font-size: clamp(56px, 5.55vw, 66px);
    line-height: .99;
  }

  body.gift-home .gift-hero__lead {
    max-width: 470px;
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.52;
  }

  body.gift-home .gift-hero__copy .gift-chips {
    gap: 6px;
    margin-top: 17px;
  }

  body.gift-home .gift-hero__copy .gift-chips li {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10.5px;
  }

  body.gift-home .gift-hero__copy .gift-hero__actions {
    gap: 14px;
    margin-top: 20px;
  }

  body.gift-home .gift-hero__actions > .gift-button {
    min-height: 52px;
    padding-inline: 20px 18px;
    font-size: 12px;
  }

  body.gift-home .gift-arrow-link {
    font-size: 12px;
  }

  body.gift-home .gift-hero__trust {
    gap: 7px 10px;
    margin-top: 14px;
  }

  body.gift-home .gift-hero__trust span {
    font-size: 9.5px;
  }

  body.gift-home .gift-hero__visual {
    min-height: 610px;
    margin-top: 0;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap {
    right: -56px;
    bottom: -58px;
    left: auto;
    width: 650px;
    height: 650px;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap img {
    right: 0;
    width: 680px;
    transform: scale(.95);
    transform-origin: 50% 50%;
  }

  body.gift-home .gift-hero__ready-card {
    top: 53%;
    right: -6px;
    display: flex;
    width: 250px;
    height: auto;
    min-height: 112px;
    gap: 12px;
    padding: 17px 18px;
  }

  body.gift-home .gift-hero__ready-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.gift-home .gift-hero__ready-icon svg {
    width: 26px;
    height: 26px;
  }

  body.gift-home .gift-hero__ready-copy small {
    font-size: 11px;
    line-height: 1.2;
  }

  body.gift-home .gift-hero__ready-copy strong {
    font-size: 20px;
  }

  body.gift-home .gift-hero__ready-copy em {
    margin-top: 5px;
    font-size: 9px;
  }
}

/* ---------- tablet hero: 768–1023 ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  body.gift-home .gift-hero {
    min-height: auto;
    padding-top: 30px;
  }

  body.gift-home .gift-hero__grid {
    display: block !important;
    min-height: 0;
  }

  body.gift-home .gift-hero__copy {
    max-width: 720px;
    margin-top: 0;
    padding-bottom: 0;
  }

  body.gift-home .gift-hero__copy h1 {
    max-width: 700px;
    font-size: clamp(52px, 7vw, 62px);
    line-height: .99;
  }

  body.gift-home .gift-hero__lead {
    max-width: 610px;
    margin-top: 17px;
    font-size: 16.5px;
    line-height: 1.5;
  }

  body.gift-home .gift-hero__copy .gift-chips {
    margin-top: 17px;
  }

  body.gift-home .gift-hero__copy .gift-hero__actions {
    margin-top: 20px;
  }

  body.gift-home .gift-hero__trust {
    margin-top: 14px;
  }

  body.gift-home .gift-hero__visual {
    min-height: 480px;
    margin-top: 12px;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap {
    right: auto;
    bottom: -24px;
    left: calc(50% - 315px);
    width: 630px;
    height: 500px;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap img {
    right: 0;
    width: 630px;
    transform: none;
  }

  body.gift-home .gift-hero__visual::before {
    right: calc(50% - 230px);
    left: auto;
    width: 460px;
    height: 460px;
  }

  body.gift-home .gift-hero__ready-card {
    top: 42%;
    right: 28px;
    width: 260px;
    min-height: 116px;
    gap: 12px;
    padding: 17px 18px;
  }

  body.gift-home .gift-hero__ready-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.gift-home .gift-hero__ready-copy small { font-size: 11px; }
  body.gift-home .gift-hero__ready-copy strong { font-size: 20px; }
  body.gift-home .gift-hero__ready-copy em { margin-top: 5px; font-size: 9px; }
}

/* ---------- mobile hero ---------- */
@media (max-width: 767px) {
  body.gift-home .gift-header__inner {
    min-height: 64px;
  }

  body.gift-home .gift-header .gift-brand--logo {
    width: 116px;
  }

  body.gift-home .gift-menu-toggle {
    min-height: 44px;
    padding-right: 2px;
    font-size: 12.5px;
  }

  body.gift-home .gift-hero {
    min-height: auto;
    padding-top: 22px;
  }

  body.gift-home .gift-hero__copy {
    margin-top: 0;
    padding: 0;
  }

  body.gift-home .gift-hero__copy h1,
  body.gift-home .gift-hero h1 {
    max-width: none;
    padding-bottom: .09em;
    font-size: clamp(42px, 11.4vw, 48px);
    letter-spacing: -.04em;
    line-height: .98;
  }

  body.gift-home .gift-hero__lead {
    max-width: 100%;
    margin-top: 13px;
    font-size: 15px;
    line-height: 1.48;
  }

  body.gift-home .gift-hero__copy .gift-chips li,
  body.gift-home .gift-chips li {
    min-height: 37px;
    flex: 0 0 auto;
    padding: 7px 11px;
    font-size: 11px;
    white-space: nowrap;
  }

  body.gift-home .gift-hero__copy .gift-hero__actions,
  body.gift-home .gift-hero__actions {
    display: grid;
    gap: 5px;
    margin-top: 17px;
  }

  body.gift-home .gift-hero__actions > .gift-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
    border-radius: 12px;
    font-size: 13px;
  }

  body.gift-home .gift-arrow-link {
    min-height: 44px;
    margin-left: 0;
    padding-left: 3px;
    font-size: 12.5px;
  }

  body.gift-home .gift-arrow-link__play {
    width: 34px;
    height: 34px;
  }

  body.gift-home .gift-hero__trust {
    display: grid;
    gap: 5px;
    margin-top: 10px;
  }

  body.gift-home .gift-hero__trust span {
    gap: 6px;
    font-size: 10.25px;
    line-height: 1.35;
  }

  body.gift-home .gift-hero__trust svg {
    width: 14px;
    height: 14px;
  }

  body.gift-home .gift-hero__visual {
    min-height: 405px;
    margin-top: 12px;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap {
    right: auto;
    bottom: -16px;
    left: calc(50% - 255px);
    width: 510px;
    height: 430px;
    transform: none !important;
  }

  body.gift-home .gift-hero__image-wrap img {
    right: 0;
    bottom: 0;
    width: 510px;
    transform: none;
  }

  body.gift-home .gift-hero__visual::before {
    right: calc(50% - 180px);
    left: auto;
    width: 360px;
    height: 360px;
  }

  body.gift-home .gift-hero__ready-card {
    display: none !important;
  }

  body.gift-home .gift-hero__wave-glow-underlay,
  body.gift-home .gift-hero__wave-secondary,
  body.gift-home .gift-hero__wave-main {
    bottom: 0;
    height: 430px;
  }
}

@media (max-width: 479px) {
  body.gift-home .gift-hero {
    padding-top: 20px;
  }

  body.gift-home .gift-hero__copy h1,
  body.gift-home .gift-hero h1 {
    font-size: clamp(40px, 11vw, 44px);
  }

  body.gift-home .gift-hero__lead {
    margin-top: 12px;
    font-size: 14.5px;
  }

  body.gift-home .gift-hero__copy .gift-chips,
  body.gift-home .gift-chips {
    margin-top: 12px;
  }

  body.gift-home .gift-hero__copy .gift-hero__actions,
  body.gift-home .gift-hero__actions {
    margin-top: 14px;
  }

  body.gift-home .gift-hero__actions > .gift-button {
    min-height: 52px;
  }

  body.gift-home .gift-hero__visual {
    min-height: 390px;
    margin-top: 7px;
  }

  body.gift-home .gift-hero__image-wrap {
    left: calc(50% - 245px);
    width: 490px;
    height: 410px;
  }

  body.gift-home .gift-hero__image-wrap img {
    width: 490px;
  }
}

@media (max-width: 359px) {
  body.gift-home .gift-header .gift-brand--logo { width: 108px; }

  body.gift-home .gift-hero__copy h1,
  body.gift-home .gift-hero h1 {
    font-size: 38px;
  }

  body.gift-home .gift-hero__lead { font-size: 14px; }
}

/* ==========================================================================
 * Responsive pass 02 — full homepage normalization.
 * Scope: homepage only. The approved typefaces, palette and desktop visual
 * language are intentionally untouched; this pass only changes responsive
 * geometry, density and card flow.
 * ========================================================================== */

/* ---------- shared responsive rhythm ---------- */
@media (max-width: 1279px) {
  body.gift-home .gift-container {
    width: min(100% - 40px, 1180px);
  }

  body.gift-home .gift-section-heading > p:last-child,
  body.gift-home .gift-clip-formats__header > p:last-child,
  body.gift-home .gift-studio__head > p:last-child {
    max-width: 620px;
  }
}

@media (max-width: 1023px) {
  body.gift-home .gift-container {
    width: min(100% - 36px, 920px);
  }

  body.gift-home .gift-section {
    padding-block: 72px;
  }

  body.gift-home .gift-section-heading {
    margin-bottom: 36px;
  }
}

/* ---------- Samples: 4 desktop / 2 laptop+tablet / swipe mobile ---------- */
@media (min-width: 768px) and (max-width: 1279px) {
  body.gift-home .gift-examples {
    padding-top: 92px;
  }

  body.gift-home .gift-track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  body.gift-home .gift-track {
    min-height: 430px;
  }
}

@media (max-width: 767px) {
  body.gift-home .gift-examples {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  body.gift-home .gift-examples .gift-container {
    width: 100%;
  }

  body.gift-home .gift-examples .gift-section-heading {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 28px;
  }

  body.gift-home .gift-track-list {
    display: flex;
    width: 100%;
    gap: 13px;
    margin: 0;
    padding: 2px 16px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.gift-home .gift-track-list::-webkit-scrollbar { display: none; }

  body.gift-home .gift-track {
    min-height: 410px;
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
  }

  body.gift-home .gift-track::before,
  body.gift-home .gift-track::after {
    height: 62%;
  }

  body.gift-home .gift-track__main {
    height: 40%;
  }
}

/* ---------- How it works: compact the three-column laptop state ---------- */
@media (min-width: 821px) and (max-width: 1279px) {
  body.gift-home .gift-steps {
    padding-top: 74px;
    padding-bottom: 66px;
  }

  body.gift-home .gift-steps .gift-container {
    width: min(100% - 40px, 1080px);
  }

  body.gift-home .gift-steps .gift-section-heading {
    margin-bottom: 66px;
  }

  body.gift-home .gift-step-grid {
    gap: 24px;
  }

  body.gift-home .gift-step-grid__visual {
    width: 82px;
    height: 82px;
    margin-bottom: 15px;
  }

  body.gift-home .gift-steps__flow {
    top: 102px;
  }

  body.gift-home .gift-step-grid p {
    max-width: 285px;
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  body.gift-home .gift-steps .gift-container {
    width: min(100% - 32px, 680px);
  }

  body.gift-home .gift-section-action > p {
    display: none;
  }
}

/* Mobile step marker layout: keep the marker rail inside its own column. */
@media (max-width: 520px) {
  body.gift-home .gift-step-grid li {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 14px;
  }

  body.gift-home .gift-step-grid li:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    top: 62px;
    bottom: -25px;
    left: 33px;
    width: 1.5px;
    border-radius: 99px;
    background: linear-gradient(180deg, rgba(240,142,125,.62), rgba(225,111,146,.52) 52%, rgba(185,138,232,.5));
    content: "";
  }

  body.gift-home .gift-step-grid__visual {
    width: 64px;
    height: 64px;
    grid-column: 1;
    grid-row: 1;
  }

  body.gift-home .gift-step-grid__number {
    position: relative;
    top: auto;
    left: auto;
    justify-self: end;
    align-self: end;
    grid-column: 1;
    grid-row: 1;
  }

  body.gift-home .gift-step-grid__content {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ---------- Transformation / proof section ---------- */
@media (max-width: 1023px) {
  body.gift-home .gift-transformation {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  body.gift-home .gift-transformation__intro {
    margin-bottom: 26px;
  }
}

@media (max-width: 767px) {
  body.gift-home .gift-transformation {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  body.gift-home .gift-transformation__intro > p:last-child {
    max-width: 560px;
    font-size: 15.5px;
    line-height: 1.58;
  }

  body.gift-home .gift-transformation-case-body--main {
    margin-inline: 0;
  }

  body.gift-home .gift-transformation-release__copy {
    padding-inline: 17px;
  }
}

/* ---------- What you can do with the song: native swipe on phones ---------- */
@media (max-width: 767px) {
  body.gift-home .song-possibilities {
    padding: 58px 0 64px;
  }

  body.gift-home .song-possibilities__container {
    width: 100%;
    max-width: none;
  }

  body.gift-home .song-possibilities__header,
  body.gift-home .song-possibilities__personal-header,
  body.gift-home .song-possibilities__divider,
  body.gift-home .song-packages,
  body.gift-home .song-possibilities__stats {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  body.gift-home .song-possibilities__features {
    display: flex;
    width: 100%;
    gap: 14px;
    margin-top: 34px;
    padding: 2px 16px 13px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.gift-home .song-possibilities__features::-webkit-scrollbar { display: none; }

  body.gift-home .song-possibility-card,
  body.gift-home .song-possibility-card:nth-child(5) {
    width: auto;
    min-height: 455px;
    flex: 0 0 min(82vw, 320px);
    grid-column: auto;
    scroll-snap-align: start;
  }

  body.gift-home .song-possibility-card:nth-child(5) h3,
  body.gift-home .song-possibility-card:nth-child(5) p {
    width: auto;
  }

  body.gift-home .song-possibility-card:nth-child(5) .song-possibility-card__art {
    inset: 180px -15px -18px;
  }

  body.gift-home .song-possibilities__personal-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    margin-right: auto;
    margin-left: auto;
  }

  body.gift-home .song-personal-card {
    min-height: 330px;
  }
}

/* ---------- Packages ---------- */
@media (min-width: 821px) and (max-width: 1100px) {
  body.gift-home .song-packages {
    padding: 54px 34px 48px;
  }

  body.gift-home .song-package-card {
    min-height: 535px;
    padding: 34px 28px 28px;
  }

  body.gift-home .song-package-card__head span {
    font-size: 25px;
  }

  body.gift-home .song-package-card__head strong {
    font-size: 41px;
  }

  body.gift-home .song-package-card ul {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  body.gift-home .song-packages {
    margin-top: 62px;
    padding: 48px 22px 34px;
  }

  body.gift-home .song-package-card {
    min-height: 0;
    padding: 31px 26px 26px;
  }

  body.gift-home .song-package-card__art,
  body.gift-home .song-package-card--pro .song-package-card__art {
    opacity: .34;
  }
}

@media (max-width: 520px) {
  body.gift-home .song-packages {
    width: calc(100% - 24px);
    margin-top: 54px;
    padding: 40px 12px 24px;
    border-radius: 24px;
  }

  body.gift-home .song-package-card {
    min-height: 0;
    padding: 28px 19px 21px;
  }

  body.gift-home .song-package-card__head strong {
    margin-top: 8px;
    font-size: 38px;
  }

  body.gift-home .song-package-card__head p {
    min-height: 0;
    margin-top: 16px;
  }

  body.gift-home .song-package-card ul {
    margin-top: 22px;
    margin-bottom: 20px;
  }
}

/* ---------- Clip formats ---------- */
@media (min-width: 768px) and (max-width: 1080px) {
  body.gift-home .gift-clip-formats__grid {
    grid-template-columns: repeat(4, minmax(300px, 42vw));
    gap: 14px;
  }

  body.gift-home .gift-clip-format,
  body.gift-home .gift-clip-formats.is-visible .gift-clip-format {
    min-height: 520px;
  }
}

@media (max-width: 767px) {
  body.gift-home .gift-clip-formats {
    padding-block: 62px 68px;
  }

  body.gift-home .gift-clip-formats__header {
    margin-bottom: 28px;
  }

  body.gift-home .gift-clip-formats__grid {
    grid-template-columns: repeat(4, minmax(282px, 84vw));
    gap: 13px;
    margin-inline: -4px;
    padding: 3px 4px 10px;
    scroll-padding-inline: 4px;
  }

  body.gift-home .gift-clip-format,
  body.gift-home .gift-clip-formats.is-visible .gift-clip-format {
    min-height: 500px;
  }

  body.gift-home .gift-clip-formats__arrow {
    display: none;
  }
}

/* ---------- Occasion cards: avoid eight huge mobile screens ---------- */
@media (max-width: 767px) {
  body.gift-home .gift-scenarios .gift-section-heading {
    margin-bottom: 30px;
  }

  body.gift-home .gift-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.gift-home .gift-scenario-grid a {
    min-height: 175px;
    padding: 14px;
    border-radius: 18px;
  }

  body.gift-home .gift-scenario-grid strong {
    max-width: 130px;
    font-size: 21px;
  }

  body.gift-home .gift-scenario-grid i {
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 479px) {
  body.gift-home .gift-scenario-grid {
    gap: 8px;
  }

  body.gift-home .gift-scenario-grid a {
    min-height: 154px;
    padding: 12px;
  }

  body.gift-home .gift-scenario-grid strong {
    font-size: 19px;
  }
}

/* ---------- Studio / FAQ / footer density ---------- */
@media (max-width: 767px) {
  body.gift-home .gift-studio__head {
    margin-bottom: 28px;
  }

  body.gift-home .gift-studio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.gift-home .gift-studio__grid a {
    min-height: 185px;
    padding: 18px 12px 20px;
  }

  body.gift-home .gift-studio__grid .gift-studio__icon {
    width: 76px;
    height: 76px;
  }

  body.gift-home .gift-studio__grid p {
    font-size: 11.5px;
    line-height: 1.4;
  }

  body.gift-home .gift-faq__grid {
    gap: 30px;
  }

  body.gift-home .gift-final {
    padding-block: 68px;
  }

  body.gift-home .gift-footer__grid {
    gap: 28px 20px;
  }
}

@media (max-width: 479px) {
  body.gift-home .gift-container {
    width: min(100% - 28px, 920px);
  }

  body.gift-home .gift-section {
    padding-block: 58px;
  }

  body.gift-home .gift-studio__grid a {
    min-height: 170px;
  }

  body.gift-home .gift-studio__grid strong {
    font-size: 17px;
  }

  body.gift-home .gift-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  body.gift-home .gift-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Keep every horizontal gallery keyboard/touch friendly. */
@media (max-width: 767px) {
  body.gift-home .gift-track,
  body.gift-home .song-possibility-card,
  body.gift-home .gift-clip-format,
  body.gift-home .gift-story-preview {
    scroll-margin-inline: 16px;
  }
}

/* ========================================================================== 
 * Responsive pass 03 — seam QA + conservative visual polish.
 * No font-family declarations are introduced here. The goal is to remove
 * breakpoint jumps and preserve the approved composition at every width.
 * ========================================================================== */

body.gift-home {
  overflow-x: clip;
}

body.gift-home .gift-section-heading h2,
body.gift-home .gift-transformation__intro h2,
body.gift-home .gift-clip-formats__header h2,
body.gift-home .song-possibilities__header h2,
body.gift-home .song-possibilities__personal-header h2,
body.gift-home .song-packages__header h2,
body.gift-home .gift-studio__head h2,
body.gift-home .gift-faq h2,
body.gift-home .gift-final h2 {
  text-wrap: balance;
}

body.gift-home .gift-section-heading > p:last-child,
body.gift-home .gift-transformation__intro > p:last-child,
body.gift-home .gift-clip-formats__header > p:last-child,
body.gift-home .song-possibilities__lead,
body.gift-home .gift-studio__head > p:last-child {
  text-wrap: pretty;
}

/* Laptop polish: keep large editorial typography, but stop long headings from
 * colliding with surrounding artwork at 1024–1279. */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* The five possibility cards keep the desktop reading rhythm on laptop:
   * three cards on the first row and two on the second. The source stylesheet
   * used the tablet 2+2+1 fallback all the way up to 1100px, which made the
   * section unnecessarily tall and created a visible seam at 1024px. */
  body.gift-home .song-possibilities__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.gift-home .song-possibility-card,
  body.gift-home .song-possibility-card:nth-child(5) {
    min-height: clamp(540px, 42vw, 610px);
    grid-column: auto;
  }

  body.gift-home .song-possibility-card:nth-child(5) h3,
  body.gift-home .song-possibility-card:nth-child(5) p {
    width: auto;
  }

  body.gift-home .song-possibility-card:nth-child(5) .song-possibility-card__art {
    inset: 180px -15px -18px;
  }

  body.gift-home .gift-section-heading h2,
  body.gift-home .gift-transformation__intro h2,
  body.gift-home .gift-clip-formats__header h2,
  body.gift-home .song-packages__header h2,
  body.gift-home .gift-studio__head h2,
  body.gift-home .gift-faq h2 {
    max-width: 920px;
  }

  body.gift-home .gift-section-heading > p:last-child,
  body.gift-home .gift-transformation__intro > p:last-child,
  body.gift-home .gift-clip-formats__header > p:last-child {
    max-width: 650px;
  }

  body.gift-home .gift-faq summary {
    min-height: 58px;
  }
}

/* Tablet typography/rhythm. This explicitly owns 768–1023 instead of letting
 * older 760/820 rules fight each other. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.gift-home .gift-section-heading h2,
  body.gift-home .gift-transformation__intro h2,
  body.gift-home .gift-clip-formats__header h2,
  body.gift-home .song-packages__header h2,
  body.gift-home .gift-studio__head h2,
  body.gift-home .gift-faq h2,
  body.gift-home .gift-final h2 {
    font-size: clamp(42px, 5.8vw, 52px);
    line-height: 1.03;
  }

  body.gift-home .song-possibilities__header h2 {
    font-size: clamp(48px, 6.4vw, 58px);
    line-height: 1;
  }

  body.gift-home .gift-section-heading > p:last-child,
  body.gift-home .gift-transformation__intro > p:last-child,
  body.gift-home .gift-clip-formats__header > p:last-child,
  body.gift-home .gift-studio__head > p:last-child {
    font-size: 15px;
    line-height: 1.58;
  }

  body.gift-home .gift-faq__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
  }

  body.gift-home .gift-faq__grid > div:first-child {
    max-width: 620px;
  }

  body.gift-home .gift-faq summary {
    min-height: 60px;
  }
}

/* Mobile: preserve the original visible occasion-chip composition instead of
 * hiding choices behind a horizontal swipe. */
@media (max-width: 767px) {
  body.gift-home .gift-hero__copy .gift-chips,
  body.gift-home .gift-chips {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px;
    margin-right: 0;
    padding: 0;
    overflow: visible;
  }

  body.gift-home .gift-hero__copy .gift-chips li,
  body.gift-home .gift-chips li {
    flex: 0 0 auto;
  }

  body.gift-home .gift-section-heading h2,
  body.gift-home .gift-transformation__intro h2,
  body.gift-home .gift-clip-formats__header h2,
  body.gift-home .song-packages__header h2,
  body.gift-home .gift-studio__head h2,
  body.gift-home .gift-faq h2,
  body.gift-home .gift-final h2 {
    font-size: clamp(35px, 9.4vw, 43px);
    line-height: 1.02;
  }

  body.gift-home .song-possibilities__header h2 {
    font-size: clamp(39px, 10.7vw, 47px);
    line-height: 1;
  }

  body.gift-home .song-possibilities__personal-header h2 {
    font-size: clamp(29px, 8vw, 34px);
  }

  body.gift-home .gift-section-heading > p:last-child,
  body.gift-home .gift-transformation__intro > p:last-child,
  body.gift-home .gift-clip-formats__header > p:last-child,
  body.gift-home .gift-studio__head > p:last-child,
  body.gift-home .song-possibilities__lead {
    font-size: 14.5px;
    line-height: 1.58;
  }

  /* Explicitly bridge the old 760px source breakpoint so 761–767 cannot
   * accidentally render desktop FAQ/footer geometry. */
  body.gift-home .gift-faq__grid,
  body.gift-home .gift-included__grid {
    grid-template-columns: 1fr;
  }

  body.gift-home .gift-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  body.gift-home .gift-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  body.gift-home .gift-faq summary {
    min-height: 58px;
    padding-block: 15px;
  }

  body.gift-home .gift-faq details p {
    line-height: 1.62;
  }

  /* Do not discard explanatory copy on small phones. */
  body.gift-home .gift-studio__grid a {
    min-height: 184px;
  }

  body.gift-home .gift-studio__grid p {
    display: block;
    font-size: 10.5px;
    line-height: 1.38;
  }

  body.gift-home .gift-studio__grid strong {
    overflow-wrap: anywhere;
  }

  body.gift-home .gift-final .gift-button {
    width: min(100%, 360px);
    min-height: 54px;
  }

  body.gift-home .song-package-card__head,
  body.gift-home .song-package-card__head > div {
    min-width: 0;
  }

  body.gift-home .song-package-card__head strong {
    white-space: nowrap;
  }

  body.gift-home .gift-clip-format__heading strong,
  body.gift-home .gift-story-preview__details h4,
  body.gift-home .song-possibility-card h3 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 479px) {
  body.gift-home .gift-hero__copy .gift-chips,
  body.gift-home .gift-chips {
    gap: 6px;
  }

  body.gift-home .gift-hero__copy .gift-chips li,
  body.gift-home .gift-chips li {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10.75px;
  }

  body.gift-home .gift-section-heading,
  body.gift-home .gift-transformation__intro,
  body.gift-home .gift-clip-formats__header,
  body.gift-home .gift-studio__head {
    margin-bottom: 26px;
  }

  body.gift-home .gift-track {
    flex-basis: min(86vw, 326px);
  }

  body.gift-home .song-possibility-card,
  body.gift-home .song-possibility-card:nth-child(5) {
    flex-basis: min(84vw, 316px);
  }

  body.gift-home .gift-clip-formats__grid {
    grid-template-columns: repeat(4, minmax(272px, 85vw));
  }

  body.gift-home .gift-clip-format,
  body.gift-home .gift-clip-formats.is-visible .gift-clip-format {
    min-height: 482px;
  }

  body.gift-home .gift-studio__grid a {
    min-height: 178px;
    padding: 16px 10px 17px;
  }

  body.gift-home .gift-studio__grid .gift-studio__icon {
    width: 68px;
    height: 68px;
  }

  body.gift-home .gift-footer__grid {
    gap: 24px 18px;
  }
}

@media (max-width: 359px) {
  body.gift-home .gift-footer__grid {
    grid-template-columns: 1fr;
  }

  body.gift-home .gift-footer__grid > div:first-child {
    grid-column: auto;
  }

  body.gift-home .gift-studio__grid {
    grid-template-columns: 1fr;
  }

  body.gift-home .gift-studio__grid a {
    min-height: 150px;
  }
}

/* Touch targets remain comfortable without altering desktop appearance. */
@media (hover: none), (pointer: coarse) {
  body.gift-home .gift-sample-card__play,
  body.gift-home .gift-story-preview__play,
  body.gift-home .gift-clip-formats__arrow,
  body.gift-home .gift-more-stories__controls > button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Header navigation accents. */
body.gift-home .gift-nav .gift-nav__item--gift {
  background: transparent;
  color: #5f586f;
  box-shadow: none;
}

body.gift-home .gift-nav .gift-nav__item,
body.gift-home .gift-nav__ai-brand {
  font-size: 13.5px;
}

body.gift-home .gift-nav .gift-nav__icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

@media (min-width: 1024px) {
  body.gift-home .gift-nav > .gift-nav__item:nth-child(2),
  body.gift-home .gift-nav > .gift-nav__studio {
    position: relative;
  }

  body.gift-home .gift-nav > .gift-nav__item:nth-child(2)::before,
  body.gift-home .gift-nav > .gift-nav__studio::before {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -3px;
    display: block;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(to bottom, transparent, rgba(137, 119, 151, .34) 22%, rgba(137, 119, 151, .34) 78%, transparent);
    content: "";
  }
}

body.gift-home .gift-nav .gift-nav__item--gift:hover {
  background: rgba(239, 232, 244, .56);
  color: #453d58;
  box-shadow: none;
}

body.gift-home .gift-nav__gift-accent {
  color: #d33f72;
}

body.gift-home .gift-nav .gift-nav__item--gift:hover .gift-nav__gift-accent {
  color: #c62f67;
}

body.gift-home .gift-nav__studio {
  margin-left: 0;
  margin-right: 30px;
}

body.gift-home .gift-nav__ai-lamp {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border: 1px solid rgba(68, 188, 113, .88);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #d9ffe4 0 11%, #3acb72 25%, #087940 66%, #034c2a 100%);
  box-shadow: 0 0 0 2px rgba(22, 151, 78, .07), 0 0 4px rgba(16, 159, 73, .52), 0 0 7px rgba(11, 116, 57, .24);
  opacity: .78;
}
