/* Deepavali gifting landing page (/diwali-hampers). Builds on atelier.css; every rule is scoped to this page. */
.gifting-page { --gift-gutter: max(24px, calc((100% - 1200px) / 2)); }
.gifting-page .whatsapp-fab { display: none; }
.gift-container { width: min(100%, 1248px); padding-inline: 24px; margin-inline: auto; }
.gifting-page em { font-style: italic; padding-inline-end: .06em; }

/* Header: three links and a solid sage WhatsApp action. */
.gifting-page .nav__links { gap: 40px; }
.gifting-page .nav__links a { font-size: 14px; color: var(--ink); }
.gifting-page .nav__links a.active { color: var(--ink); border-color: var(--sage); }
.gifting-page .nav__cta { gap: 10px; min-height: 46px; padding: 10px 22px; background: var(--sage); border-color: var(--sage); color: var(--white); border-radius: 8px; font-size: 14px; font-weight: 500; }
.gifting-page .nav__cta:hover { background: #33452d; border-color: #33452d; }

/* Hero: copy in the page grid, photograph running to the right edge. */
.gift-hero { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: 32px; align-items: center; padding: 20px 0 40px var(--gift-gutter); border-bottom: 1px solid var(--line); }
.gift-hero__copy { padding-block: 24px; }
.gift-hero h1 { font-size: clamp(44px, 5.4vw, 74px); line-height: 1.06; letter-spacing: -.045em; margin-bottom: 26px; }
.gift-hero__copy p { max-width: 33ch; margin-bottom: 34px; color: var(--mid); font-size: 19px; line-height: 1.55; }
.gift-hero__cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 13px 40px; border-radius: 8px; background: var(--sage); color: var(--white); font: 500 15px/1.4 var(--font-display); transition: background .2s; }
.gift-hero__cta:hover { background: #33452d; }
.gift-hero__media { margin: 0; }
.gift-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 55% 50%; border-radius: 8px 0 0 8px; background: var(--cream); }
.gift-hero__media figcaption { margin-top: 12px; padding-right: 24px; text-align: center; color: var(--mid); font: italic 400 13px/1.5 var(--font-display); }

/* Collection */
.gift-collection { padding: 44px 0 56px; }
.gift-collection h2 { font-size: clamp(34px, 3.9vw, 50px); margin-bottom: 12px; }
.gift-collection__intro { margin-bottom: 30px; color: var(--mid); }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gift-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--cream); }
.gift-card h3 { margin: 18px 0 4px; font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.gift-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font: 400 14px/1.4 var(--font-display); }
.gift-link { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.gift-link:hover { color: var(--sage); text-decoration-color: currentColor; }
.gift-link .icon-arrow, .gift-hero__cta .icon-arrow, .gift-business__cta .icon-arrow, .gift-button .icon-arrow, .gift-sticky .icon-arrow { width: 16px; height: 16px; flex-basis: 16px; }

/* Video: a contained poster that opens the portrait film in a player dialog. */
.gift-video { padding: 0 0 56px; }
.gift-video__grid { display: grid; grid-template-columns: minmax(0, 576px) minmax(0, 1fr); grid-template-areas: "poster heading" "poster copy"; column-gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: 40px; border-top: 1px solid var(--line); }
.gift-video h2 { grid-area: heading; align-self: end; margin-bottom: 18px; font-size: clamp(36px, 4vw, 52px); }
.gift-video__copy { grid-area: copy; align-self: start; }
.gift-video__copy p { max-width: 30ch; margin-bottom: 18px; color: var(--mid); font-size: 19px; line-height: 1.55; }
.gift-video__poster { grid-area: poster; position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--cream); }
.gift-video__poster img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 36%; transition: transform .4s ease; }
.gift-video__poster:hover img { transform: scale(1.02); }
.gift-video__play { position: absolute; inset: 50% auto auto 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fffdf8f2; color: var(--ink); box-shadow: 0 6px 24px #302c2626; }
.gift-video__play svg { margin-left: 3px; }
.gift-player { margin: auto; padding: 0; max-width: calc(100vw - 32px); max-height: calc(100svh - 32px); border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.gift-player::backdrop { background: #302c26cc; }
.gift-player__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; }
.gift-player__head h2 { font-size: 16px; letter-spacing: -.01em; font-weight: 500; }
.gift-player__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.gift-player__close:hover { background: var(--off-white); }
.gift-player video { display: block; height: min(calc(100svh - 210px), 1024px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; margin-inline: auto; background: #000; }
.gift-player p { max-width: 36ch; padding: 12px 18px 16px; color: var(--mid); font-size: 13px; line-height: 1.5; }

/* Business band */
.gift-business { padding: 56px 0; background: var(--sage); color: var(--paper); }
.gift-business__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.gift-business h2 { font-size: clamp(36px, 4.3vw, 54px); line-height: 1.08; color: var(--paper); }
.gift-business h2 em { color: var(--paper); }
.gift-business__copy p { max-width: 38ch; margin-bottom: 22px; color: #ece8dc; }
.gift-business__cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 40px; border-radius: 8px; background: var(--white); color: var(--ink); font: 500 15px/1.4 var(--font-display); transition: background .2s; }
.gift-business__cta:hover { background: var(--cream); }
.gift-business :focus-visible { outline-color: var(--paper); }

/* Closing and footer */
.gift-closing { padding: 56px 0 44px; text-align: center; }
.gift-closing h2 { position: relative; padding-top: 34px; margin-bottom: 26px; font-size: clamp(32px, 3.4vw, 44px); }
.gift-closing h2::before { content: ""; position: absolute; top: 0; left: 50%; width: 36px; height: 1px; margin-left: -18px; background: var(--ink); }
.gift-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 40px; border-radius: 8px; background: var(--sage); color: var(--white); font: 500 15px/1.4 var(--font-display); transition: background .2s; }
.gift-button:hover { background: #33452d; }
.gift-closing__note { margin-top: 18px; color: var(--mid); font-size: 14px; }
.gift-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid var(--line); color: var(--mid); font: 400 13px/1.5 var(--font-display); }
.gift-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.gift-footer a:hover { color: var(--sage); }
.gift-footer .icon-arrow { width: 14px; height: 14px; flex-basis: 14px; }
.gift-sticky { display: none; }

@media (max-width: 1050px) {
  .gifting-page .nav__links { gap: 26px; }
  .gifting-page .nav__links a { font-size: 13px; }
  .gifting-page .nav__cta { padding-inline: 16px; font-size: 13px; }
}

/* Tablet and phone: single column, persistent WhatsApp bar instead of the general dock. */
@media (max-width: 900px) {
  .gifting-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .gift-container { padding-inline: 20px; }
  .gift-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 32px; }
  .gift-hero__copy { padding-block: 0; }
  .gift-hero__media img { border-radius: 8px; aspect-ratio: 4 / 3; }
  .gift-hero__media figcaption { padding-right: 0; }
  .gift-video__grid { grid-template-columns: 1fr; grid-template-areas: "heading" "poster" "copy"; padding-top: 36px; }
  .gift-video h2 { margin-bottom: 18px; }
  .gift-video__copy { margin-top: 18px; }
  .gift-business__inner { grid-template-columns: 1fr; gap: 20px; }
  .gift-sticky { display: block; position: fixed; z-index: 1100; inset: auto 0 0; padding: 0 0 env(safe-area-inset-bottom); background: var(--sage); }
  .gift-sticky a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 10px 20px; color: var(--white); font: 500 17px/1.3 var(--font-display); }
  .gift-sticky a:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; }
}

@media (max-width: 600px) {
  .gift-hero { padding-top: 26px; }
  .gift-hero h1 { font-size: clamp(38px, 12vw, 52px); margin-bottom: 20px; }
  .gift-hero__copy p { margin-bottom: 14px; font-size: 18px; line-height: 1.5; }
  /* On phones the hero action becomes an underlined link; the sticky bar carries the solid button. */
  .gift-hero__cta { min-height: 44px; padding: 0; gap: 12px; border-radius: 0; background: none; color: var(--ink); font-size: 17px; font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
  .gift-hero__cta:hover { background: none; color: var(--sage); }
  .gift-hero__media img { aspect-ratio: 1 / 1; object-position: 56% 50%; }
  .gift-collection { padding: 36px 0 40px; }
  .gift-collection h2 { font-size: clamp(30px, 9vw, 40px); text-wrap: pretty; }
  .gift-collection__intro { margin-bottom: 22px; }
  .gift-grid { grid-template-columns: 1fr; gap: 26px; }
  .gift-card h3 { margin-top: 14px; font-size: 21px; }
  .gift-link { font-size: 16px; }
  .gift-video { padding-bottom: 40px; }
  .gift-video h2 { font-size: clamp(34px, 10.4vw, 44px); }
  .gift-video__poster img { aspect-ratio: 4 / 3; }
  .gift-video__copy { text-align: center; }
  .gift-video__copy p { margin-inline: auto; margin-bottom: 8px; }
  .gift-business { padding: 34px 0 30px; }
  .gift-business h2 { font-size: clamp(31px, 9vw, 40px); }
  .gift-business__copy p { margin-bottom: 18px; font-size: 17px; }
  .gift-business__cta { padding-inline: 30px; font-size: 16px; }
  .gift-closing { padding: 40px 0 30px; }
  .gift-closing h2 { font-size: clamp(28px, 8.4vw, 36px); }
  .gift-button { width: 100%; max-width: 360px; padding-inline: 20px; }
  .gift-closing__note { max-width: 30ch; margin-inline: auto; font-size: 14px; }
  .gift-footer__inner { justify-content: center; text-align: center; }
  .gift-player { max-width: 100vw; max-height: 100svh; border-radius: 0; }
  .gift-player video { height: min(calc(100svh - 190px), 1024px); }
}

@media (max-width: 350px) {
  .gift-hero h1 { font-size: 36px; }
  .gift-sticky a { gap: 10px; font-size: 16px; padding-inline: 12px; }
  .gift-business__cta { width: 100%; padding-inline: 16px; }
}
