/* ==========================================================================
   Pastoreo — páginas internas (tablas, regalos, eventos, nosotros)
   Se carga después de styles.css. Cada página tiene su propia composición:
   tablas   → slider de formatos (HER-007) + tarjetas de producto (CRD-016)
   regalos  → collage estático alrededor del titular (HER-016)
   eventos  → imagen que crece con el scroll (HER-015)
   nosotros → foto que se levanta + línea del año (ABT-003)
   Prefijos: fs, pc, cat, cl, cfg · gc, gd, gp, ded · eg, ec, ex · ab, lift, yr, qa
   ========================================================================== */

:root { --pink: #f0b9c6; --r-md: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.crumbs a { min-height: 24px; display: inline-flex; align-items: center; }

/* ==========================================================================
   TABLAS · slider de formatos (base: HER-007 Travel Slider)
   ========================================================================== */
.fs { position: relative; isolation: isolate; overflow: hidden; background: var(--wine-2); color: var(--cream); height: calc(100svh - var(--header-h)); min-height: 640px; max-height: 920px; }
.fs__media { position: absolute; inset: 0 auto 0 0; width: 62%; z-index: -1; overflow: hidden; background: var(--wine); }
.fs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.fs__bg.is-on { opacity: 1; transform: scale(1); }
.fs__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 6, 12, .86) 0%, rgba(25, 6, 12, .58) 45%, rgba(25, 6, 12, 0) 78%), linear-gradient(180deg, rgba(25, 6, 12, .35), transparent 22%); }

.fs__in { position: relative; height: 100%; padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 4vw, 52px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.fs .crumbs { margin-bottom: 18px; }
.fs__h1 { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--cream); margin-bottom: 14px; }
.fs__h1 span { color: var(--cream-2); font-weight: 400; }
.fs__copy { align-self: end; max-width: 560px; }
.fs__slides { display: grid; }
.fs__slide { grid-area: 1 / 1; opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .8s var(--ease); }
.fs__slide[hidden] { display: block !important; visibility: hidden; }
.fs__slide.is-on { opacity: 1; translate: 0 0; transition-delay: .12s; visibility: visible; }
.fs__para { font-size: .95rem; font-weight: 500; color: var(--pink); }
.fs__name { font-size: clamp(3rem, 1.4rem + 5vw, 6.6rem); line-height: .9; letter-spacing: -.05em; font-weight: 600; margin: 10px 0 18px; text-wrap: balance; }
.fs__d { color: var(--cream-2); max-width: 440px; font-size: 1.05rem; }
.fs__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fs .copied { margin-top: 10px; }

.fs__rail { align-self: end; min-width: 0; display: grid; gap: 22px; }
.fs__viewport { overflow: hidden; padding: 6px 0 6px 6px; margin-left: -6px; touch-action: pan-y; }
.fs__track { display: flex; align-items: flex-end; gap: 16px; width: max-content; transition: transform .9s var(--ease); will-change: transform; }
.fs__card { position: relative; display: block; width: clamp(170px, 15vw, 220px); height: clamp(250px, 23vw, 320px); border-radius: 22px; overflow: hidden; background: var(--wine); color: #fff; text-align: left; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); transition: width .8s var(--ease), height .8s var(--ease), opacity .5s var(--ease); opacity: .82; }
.fs__card.is-on { width: clamp(200px, 18vw, 260px); height: clamp(290px, 27vw, 380px); opacity: 1; }
.fs__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.fs__card:hover img { transform: scale(1.05); }
.fs__card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 6, 10, .78)); }
.fs__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.fs__cap small { font-size: .82rem; color: rgba(255, 255, 255, .82); }
.fs__cap b { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.fs__card:focus-visible { outline: 2.5px solid var(--cream); outline-offset: 3px; border-radius: 22px; }
.fs__ctrl { padding-right: var(--gutter); display: flex; align-items: center; gap: 10px; }
.fs__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); background: rgba(244, 236, 225, .12); transition: background .3s var(--ease), color .3s var(--ease); }
.fs__arrow:hover { background: var(--cream); color: var(--wine-2); }
.fs__arrow:focus-visible { outline-color: var(--cream); }
.fs__count { margin-left: 8px; font-size: .95rem; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.fs__count b { color: var(--cream); font-weight: 600; }
.fs__bar { flex: 1; max-width: 220px; height: 2px; background: rgba(244, 236, 225, .22); border-radius: 2px; overflow: hidden; }
.fs__bar i { display: block; height: 100%; background: var(--cream); transform-origin: left; transform: scaleX(var(--k, .143)); transition: transform .8s var(--ease); }

/* ==========================================================================
   TABLAS · catálogo con tarjetas de producto (base: CRD-016)
   ========================================================================== */
.cat__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.cat__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pc { grid-column: span 4; display: flex; flex-direction: column; background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: 0 1px 2px rgba(27, 20, 21, .05), 0 18px 40px -26px rgba(27, 20, 21, .3); }
.pc--0, .pc--1, .pc--5, .pc--6 { grid-column: span 6; }
.pc__media { position: relative; margin: 8px 8px 0; border-radius: 20px; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 4.6; }
.pc--0 .pc__media, .pc--1 .pc__media, .pc--5 .pc__media, .pc--6 .pc__media { aspect-ratio: 16 / 11; }
.pc__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pc__track::-webkit-scrollbar { display: none; }
.pc__track li { flex: 0 0 100%; scroll-snap-align: start; height: 100%; overflow: hidden; }
.pc__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pc:hover .pc__track img { transform: scale(1.04); }
.pc__arr { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .16); opacity: 0; transition: opacity .35s var(--ease); }
.pc__arr--prev { left: 12px; } .pc__arr--next { right: 12px; }
.pc__media:hover .pc__arr, .pc__arr:focus-visible { opacity: 1; }
@media (hover: none) { .pc__arr { display: none; } }
.pc__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 2px; }
.pc__dot { width: 26px; height: 26px; display: grid; place-items: center; }
.pc__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: width .4s var(--ease), background .3s; }
.pc__dot[aria-current="true"]::before { width: 18px; border-radius: 4px; background: #fff; }
.pc__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc__para { font-size: .9rem; font-weight: 500; color: var(--accent); }
.pc__name { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); letter-spacing: -.035em; line-height: 1.02; margin: 6px 0 10px; }
.pc__d { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.pc__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 20px; }
.pc__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; }
.pc__facts svg { width: 20px; height: 20px; color: var(--accent); }
.pc__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* La Clásica por dentro */
.cl__panel { background: var(--bg-2); border-radius: 32px; padding: clamp(12px, 1.4vw, 18px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cl__photo { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; }
.cl__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl__copy { padding: clamp(8px, 2vw, 24px) clamp(8px, 2.6vw, 40px) clamp(16px, 2vw, 24px) 0; }
.cl__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: clamp(24px, 3vw, 40px) 0 32px; }
.cl__list li { display: grid; gap: 4px; }
.cl__list b { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.cl__list span { color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* Arma tu pedido */
.cfg__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.cfg__head .kicker { grid-column: 1 / -1; margin: 0; }
@media (max-width: 760px) { .cfg__head { grid-template-columns: 1fr; } }
.cfg__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.cfg__aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; }
.cfg__photo { position: relative; grid-area: 1 / 1; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--bg-2); }
.cfg__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cfg__msg { position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; margin: 14px; background: var(--ink); color: var(--cream); border-radius: 20px; padding: 18px 20px; font-size: .92rem; line-height: 1.55; white-space: pre-wrap; max-height: 58%; overflow: auto; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.cfg__msg::before { content: "Tu mensaje"; display: block; font-size: .84rem; color: var(--pink); margin-bottom: 8px; font-weight: 500; }
.cfg__form { gap: 22px 16px; border-radius: 28px; }
.cfg .field input, .cfg .field select, .cfg .field textarea { background: var(--bg); box-shadow: none; }
.cfg .field input:focus, .cfg .field select:focus, .cfg .field textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.cfg .checks span, .cfg .seg span { background: var(--bg); box-shadow: none; }
.cfg .checks label:hover span, .cfg .seg label:hover span { background: var(--bg-2); }
.cfg .checks input:checked + span, .cfg .seg input:checked + span { background: var(--ink); color: #fff; }
.cfg .checks input:checked + span::before { content: ""; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -2px; }
.cfg__copied { color: var(--accent) !important; }

/* ==========================================================================
   Responsive · tablas
   ========================================================================== */
@media (max-width: 1120px) {
  .pc, .pc--0, .pc--1, .pc--5, .pc--6 { grid-column: span 6; }
  .pc--6 { grid-column: 1 / -1; }
  .pc__media, .pc--0 .pc__media, .pc--1 .pc__media, .pc--5 .pc__media { aspect-ratio: 4 / 3.6; }
  .pc--6 .pc__media { aspect-ratio: 16 / 9; }
  .cl__panel { grid-template-columns: 1fr; }
  .cl__copy { padding: 8px 12px 16px; }
  .cl__photo { aspect-ratio: 16 / 10; }
  .cfg__grid { grid-template-columns: 1fr; }
  .cfg__aside { position: static; grid-template-columns: minmax(0, 1fr); }
  .cfg__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 1024px) {
  .fs { height: auto; max-height: none; min-height: 0; }
  .fs__media { position: relative; inset: auto; width: 100%; height: min(58svh, 560px); }
  .fs__media::after { background: linear-gradient(180deg, rgba(25, 6, 12, .55), transparent 30%); }
  .fs__in { position: static; display: flex; flex-direction: column; align-items: stretch; padding: 24px var(--gutter) 32px; }
  .fs__copy { display: contents; }
  .fs__rail { order: 2; margin-top: 28px; }
  .fs__ctas { order: 3; margin-top: 24px; }
  .fs .copied { order: 4; }
  .fs__viewport { margin-right: calc(var(--gutter) * -1); }
  .fs__ctrl { padding-right: 0; }
  .fs .crumbs { position: absolute; top: 18px; left: var(--gutter); margin: 0; }
}
@media (max-width: 760px) {
  .cat__head { grid-template-columns: 1fr; }
  .pc, .pc--0, .pc--1, .pc--5, .pc--6 { grid-column: 1 / -1; }
  .pc__media, .pc--0 .pc__media, .pc--1 .pc__media, .pc--5 .pc__media, .pc--6 .pc__media { aspect-ratio: 4 / 3.8; }
  .cl__list { grid-template-columns: 1fr; gap: 16px; }
  .fs__name { font-size: clamp(2.6rem, 11vw, 3.6rem); margin-bottom: 12px; }
  .fs__d { font-size: 1rem; }
  .fs__card { width: 148px; height: 200px; border-radius: 18px; }
  .fs__card.is-on { width: 164px; height: 224px; }
  .fs__cap { left: 12px; right: 10px; bottom: 11px; }
  .fs__cap b { font-size: 1rem; }
  .fs__media { height: min(54svh, 460px); }
  .fs__ctas .btn { flex: 1 1 100%; }
  .fs__bar { display: none; }
  .cfg__photo { aspect-ratio: 4 / 4.2; }
  .cfg__msg { max-height: 62%; }
}

/* ==========================================================================
   REGALOS · collage estático alrededor del titular (base: HER-016 Barro Lento)
   ========================================================================== */
.gc { position: relative; isolation: isolate; overflow: hidden; overflow: clip; min-height: max(calc(100svh - var(--header-h)), 720px); display: grid; place-items: center; padding: 96px var(--gutter); }
.gc__crumbs { margin: 0 0 14px; color: var(--muted); }
.gc__crumbs a { text-decoration-color: var(--line-2); }
.gc__copy { position: relative; z-index: 3; max-width: 46rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gc__eyebrow { font-size: .92rem; font-weight: 500; color: var(--accent); margin-bottom: 20px; }
.gc__h1 { font-size: clamp(2.6rem, 1rem + 4.8vw, 5.6rem); line-height: .94; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.gc__h1 em { font-style: normal; color: var(--accent); }
.gc__lede { margin-top: 22px; max-width: 30rem; color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); text-wrap: pretty; }
.gc__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.gc__collage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gc__ph { position: absolute; left: var(--l); top: var(--t); width: var(--w); pointer-events: auto; }
.gc__btn { position: relative; display: block; width: 100%; aspect-ratio: var(--ar); border-radius: 18px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; box-shadow: 0 1px 2px rgba(27, 20, 21, .06), 0 24px 48px -28px rgba(27, 20, 21, .4); }
.gc__btn img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); transition: transform .8s var(--ease); }
.gc__btn:hover img, .gc__btn:focus-visible img { transform: scale(1.045); }
.gc__btn:focus-visible { outline-offset: 4px; border-radius: 18px; }
.gc__cap { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 10px; border-radius: 10px; background: var(--bg); color: var(--ink); font-size: .84rem; font-weight: 500; line-height: 1.2; text-align: left; opacity: 0; transition: opacity .35s var(--ease); }
.gc__btn:hover .gc__cap, .gc__btn:focus-visible .gc__cap { opacity: 1; }
.gc__ph--a { --l: -1.5%; --t: 20%; --w: 17%; --ar: 4 / 5; --op: 50% 40%; }
.gc__ph--b { --l: 21%;   --t: 7%;  --w: 10%; --ar: 1 / 1; }
.gc__ph--c { --l: 79%;   --t: 8%;  --w: 15%; --ar: 4 / 5; }
.gc__ph--d { --l: 87%;   --t: 47%; --w: 13%; --ar: 1 / 1; --op: 50% 20%; }
.gc__ph--e { --l: 8%;    --t: 63%; --w: 12%; --ar: 3 / 4; }
.gc__ph--f { --l: 28%;   --t: 80%; --w: 16%; --ar: 3 / 2; --op: 50% 70%; }
.gc__ph--g { --l: 66%;   --t: 76%; --w: 13%; --ar: 5 / 4; --op: 50% 45%; }
/* entrada: fundido y escala leve, escalonado; luego todo quieto */
.js-pg .gc__btn { opacity: 0; transform: scale(.94); }
.js-pg .gc.is-in .gc__btn { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(var(--i, 0) * 70ms + 100ms), transform 1s var(--ease) calc(var(--i, 0) * 70ms + 100ms); }
.js-pg .gc__copy > * { opacity: 0; translate: 0 14px; }
.js-pg .gc.is-in .gc__copy > * { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .9s var(--ease); }
.js-pg .gc.is-in .gc__copy > :nth-child(3) { transition-delay: .06s; }
.js-pg .gc.is-in .gc__copy > :nth-child(4) { transition-delay: .12s; }
.js-pg .gc.is-in .gc__copy > :nth-child(5) { transition-delay: .18s; }

/* detalle del regalo (dialog) */
.gd { border: 0; padding: 16px; margin: auto; width: min(920px, 100%); max-width: 100%; max-height: 100svh; background: transparent; color: var(--ink); overflow: visible; }
.gd::backdrop { background: rgba(27, 20, 21, .55); }
.gd__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: 12px; padding-right: clamp(20px, 3vw, 40px); background: var(--card); border-radius: 26px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .5); max-height: calc(100svh - 32px); overflow: auto; opacity: 0; transform: scale(.97) translateY(10px); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.gd.is-open .gd__panel { opacity: 1; transform: none; }
.gd__media { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.gd__media img { width: 100%; height: 100%; object-fit: cover; }
.gd__info { align-self: center; padding: 24px 0; }
.gd__kicker { font-size: .92rem; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.gd__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: .98; letter-spacing: -.045em; }
.gd__title:focus { outline: none; }
.gd__desc { margin-top: 18px; color: var(--muted); max-width: 28rem; }
.gd__acts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.gd__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .3s; }
.gd__close:hover { background: var(--bg-2); }

/* ¿Para quién es? */
.gp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.gp__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--bg-2); }
.gp__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.gp__photo img.is-on { opacity: 1; transform: none; }
.gp__tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin: clamp(24px, 3vw, 36px) 0 clamp(28px, 3vw, 40px); background: var(--bg-2); border-radius: 999px; }
.gp__tabs button { min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 500; color: var(--muted); transition: background .4s var(--ease), color .3s; }
.gp__tabs button:hover { color: var(--ink); }
.gp__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.gp__panel { transition: opacity .35s var(--ease), translate .5s var(--ease); }
.gp__panel.is-swap { opacity: 0; translate: 0 10px; }
.gp__para { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.gp__d { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
.gp__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 30px; }
.gp__facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .96rem; }
.gp__facts li::before { content: ""; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -2px; }
.gp .copied { color: var(--accent); margin-top: 10px; }

/* Dedicatoria con sello */
.ded { margin-top: clamp(80px, 11vw, 160px); background: var(--wine); color: var(--cream); }
.ded__in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ded .kicker { color: var(--pink); }
.ded .lead { color: var(--cream-2); margin-top: 18px; }
.ded__form { display: grid; gap: 16px; margin-top: 32px; max-width: 520px; }
.ded__field { display: grid; gap: 8px; }
.ded__field span, .ded__seg legend { font-size: .92rem; font-weight: 500; color: var(--cream); padding: 0; }
.ded__field input, .ded__field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(244, 236, 225, .1); color: var(--cream); font-size: 1rem; resize: vertical; }
.ded__field textarea { min-height: 96px; }
.ded__field ::placeholder { color: rgba(244, 236, 225, .6); }
.ded__field input:focus, .ded__field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cream); }
.ded__seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ded__seg legend { width: 100%; margin-bottom: 8px; }
.ded__seg label { position: relative; }
.ded__seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ded__seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(244, 236, 225, .1); font-weight: 500; font-size: .94rem; cursor: pointer; transition: background .3s, color .3s; }
.ded__seg input:checked + span { background: var(--cream); color: var(--wine-2); }
.ded__seg input:focus-visible + span { outline: 2.5px solid var(--cream); outline-offset: 2px; }
.ded__form .btn { justify-self: start; margin-top: 6px; }
.ded .copied { color: var(--pink); }
.ded__stage { position: relative; display: grid; }
.ded__photo { grid-area: 1 / 1; aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.ded__photo img { width: 100%; height: 100%; object-fit: cover; }
.ded__card { position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; justify-self: start; width: min(78%, 400px); margin: 0 0 -28px -28px; padding: 26px 26px 30px; background: #fbf7f0; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.ded__to { font-size: .92rem; color: var(--muted); }
.ded__to span { color: var(--ink); font-weight: 600; }
.ded__msg { margin-top: 10px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; min-height: 2.3em; overflow-wrap: anywhere; }
.ded__wax { position: absolute; right: 20px; bottom: -22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #a3172f; color: #f6d9de; font-weight: 600; font-size: 1.3rem; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 8px 18px rgba(0, 0, 0, .3); }

@media (max-width: 1024px) {
  .gc { min-height: 0; align-items: center; padding: calc(24px + 32.5% + 28px) var(--gutter) calc(56px + 26.7% + 32px); }
  .gc__ph { top: auto; }
  .gc__ph--a { --l: -3%; --w: 26%; top: 24px; }
  .gc__ph--b { --l: 29%; --w: 16%; top: 64px; }
  .gc__ph--c { --l: 51%; --w: 20%; top: 28px; }
  .gc__ph--d { --l: 78%; --w: 25%; top: 90px; }
  .gc__ph--e { --l: 5%;  --w: 20%; bottom: 56px; }
  .gc__ph--f { --l: 31%; --w: 32%; bottom: -24px; }
  .gc__ph--g { --l: 70%; --w: 24%; bottom: 86px; }

  .gp { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .ded__in { grid-template-columns: 1fr; }
  .ded__stage { max-width: 560px; margin-bottom: 28px; }
  .ded__card { margin: 0 0 -28px 16px; }
}
@media (max-width: 760px) {
  .gp { grid-template-columns: 1fr; }
  .gp__photo { aspect-ratio: 4 / 4.2; }
  .gp__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 24px; }
  .gp__tabs button { padding: 6px 8px; line-height: 1.15; font-size: .94rem; border-radius: 20px; }
  .gd__panel { grid-template-columns: 1fr; gap: 0; padding: 10px 10px 4px; }
  .gd__media { aspect-ratio: 5 / 4; }
  .gd__info { padding: 20px 10px 18px; }
  .gd { padding: 10px; }
  .ded__card { margin: 0 0 -24px 12px; width: calc(100% - 36px); padding: 22px 20px 26px; }
  .ded__form .btn { justify-self: stretch; }
}
@media (max-width: 600px) {
  .gc { padding: calc(24px + 47.5% + 28px) var(--gutter) calc(52px + 40% + 28px); }
  .gc__ph--c, .gc__ph--f, .gc__ph--g { display: none; }
  .gc__ph--a { --l: -4%; --w: 38%; top: 24px; }
  .gc__ph--b { --l: 58%; --w: 30%; top: 56px; }
  .gc__ph--e { --l: 7%;  --w: 30%; bottom: 52px; }
  .gc__ph--d { --l: 54%; --w: 40%; top: auto; bottom: 28px; }
  .gc__cap { font-size: .82rem; }
  .gc__ctas .btn { flex: 1 1 100%; }
}
body[data-page="regalos"] .finale { margin-top: 0; }
body[data-page="regalos"] .ded { background: var(--wine-2); }

/* ==========================================================================
   EVENTOS · la imagen crece con el scroll (base: HER-015 Estudio Pampa)
   Base estática (sin JS / movimiento reducido): titular, intro y foto grande.
   ========================================================================== */
.eg { --cw: 21vw; --ch: calc(var(--cw) * 1.3); --gap: clamp(14px, 1.6vw, 28px); --title: clamp(2.6rem, 1rem + 3.7vw, 5.2rem); position: relative; }
.eg__stage { position: relative; padding: 0 0 var(--gutter); }
.eg__crumbs { padding: 22px var(--gutter) 0; color: var(--muted); }
.eg__crumbs a { text-decoration-color: var(--line-2); }
.eg__title { margin: clamp(24px, 5vw, 64px) 0 0; padding: 0 var(--gutter); font-size: var(--title); line-height: .94; letter-spacing: -.05em; font-weight: 600; }
.eg__half { display: inline-block; }
.eg__half--r { color: var(--accent); }
.eg__intro { max-width: 34ch; margin: 18px var(--gutter) clamp(28px, 4vw, 44px); color: var(--muted); font-size: 1.05rem; }
.eg__hint, .eg__ghost { display: none; }
.eg__media { position: relative; height: clamp(460px, 82svh, 900px); margin: 0 var(--gutter); }
.eg__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 28px; background: var(--wine-2); }
.eg__tri { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.eg__tri img { width: 100%; height: 100%; object-fit: cover; }
.eg__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 6, 10, .86) 0%, rgba(20, 6, 10, .55) 34%, rgba(20, 6, 10, 0) 66%), linear-gradient(to right, rgba(20, 6, 10, .45), rgba(20, 6, 10, 0) 55%); }
.eg__cap { position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(24px, 4vw, 52px); z-index: 2; max-width: 560px; color: #fff; }
.eg__meta { font-size: .95rem; font-weight: 500; color: var(--pink); margin-bottom: 10px; }
.eg__name { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem); line-height: .96; letter-spacing: -.045em; }
.eg__line { margin: 14px 0 24px; max-width: 42ch; color: rgba(255, 255, 255, .88); }

/* escena con scroll */
.is-scrub .eg { height: 250svh; }
.is-scrub .eg__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); padding: 0; overflow: hidden; }
.is-scrub .eg__crumbs { position: absolute; top: 0; left: 0; z-index: 4; }
.is-scrub .eg__title { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; pointer-events: none; }
.is-scrub .eg__half { position: absolute; top: 50%; white-space: nowrap; will-change: transform, opacity; }
.is-scrub .eg__half--l { right: calc(50% + var(--cw) / 2 + var(--gap)); translate: 0 -50%; }
.is-scrub .eg__half--r { left: calc(50% + var(--cw) / 2 + var(--gap)); translate: 0 -50%; }
.is-scrub .eg__intro { position: absolute; left: var(--gutter); bottom: clamp(20px, 3vw, 36px); z-index: 3; margin: 0; max-width: 30ch; font-size: 1rem; }
.is-scrub .eg__hint { display: block; position: absolute; right: var(--gutter); bottom: clamp(20px, 3vw, 36px); z-index: 3; margin: 0; font-size: .9rem; font-weight: 500; color: var(--muted); }
.is-scrub .eg__ghost { display: block; position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); translate: -50% -50%; visibility: hidden; }
.is-scrub .eg__media { position: absolute; inset: 0; height: auto; margin: 0; z-index: 2; }
.is-scrub .eg__frame { border-radius: 0; clip-path: inset(calc(50% - var(--ch) / 2) calc(50% - var(--cw) / 2) round 22px); will-change: clip-path; }
.is-scrub .eg__tri { will-change: transform; }
.is-scrub .eg__scrim { opacity: 0; }
.is-scrub .eg__cap { opacity: 0; visibility: hidden; }

/* Calculadora */
.ec__form { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.ec__ctrl { background: var(--card); border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; }
.ec__ctrl .lead { margin-top: 16px; }
.ec__n { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: clamp(32px, 4vw, 56px); font-weight: 500; }
.ec__n output { font-size: clamp(4rem, 2.6rem + 5vw, 8rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--accent); }
.ec__range { --p: 17%; width: 100%; height: 44px; margin: 8px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ec__range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent) var(--p), var(--bg-2) var(--p)); }
.ec__range::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent) var(--p), var(--bg-2) var(--p)); }
.ec__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--accent), 0 6px 14px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.ec__range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--accent), 0 6px 14px rgba(0, 0, 0, .18); }
.ec__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.ec__range:focus-visible { outline-offset: 4px; }
.ec__ends { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ec__seg { border: 0; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ec__seg legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: .92rem; font-weight: 500; }
.ec__seg label { position: relative; }
.ec__seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ec__seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--bg); font-weight: 500; font-size: .95rem; cursor: pointer; transition: background .3s, color .3s; }
.ec__seg label:hover span { background: var(--bg-2); }
.ec__seg input:checked + span { background: var(--ink); color: #fff; }
.ec__seg input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.ec__res { position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; padding: 14px; background: var(--bg-2); }
.ec__res > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ec__card { position: relative; width: 100%; background: var(--card); border-radius: 20px; padding: 22px 22px 14px; display: grid; gap: 4px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.ec__lbl { color: var(--muted); font-size: .95rem; }
.ec__boards { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); letter-spacing: -.04em; line-height: 1.05; }
.ec__sug { color: var(--muted); margin-bottom: 16px; }
.ec .copied { color: var(--accent); margin-top: 8px; }

/* Lo que puede llevar tu mesa: paneles que se expanden */
.ex__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.ex__row { display: flex; gap: 10px; height: clamp(420px, 44vw, 600px); }
.ex__p { position: relative; flex: 1 1 0; min-width: 0; border-radius: 24px; overflow: hidden; color: #fff; text-align: left; background: var(--bg-2); transition: flex-grow .8s var(--ease); }
.ex__p.is-on { flex-grow: 3.2; }
.ex__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ex__p:hover img { transform: scale(1.04); }
.ex__p::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(20, 6, 10, .78)); }
.ex__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 6px; }
.ex__cap b { font-size: clamp(1.25rem, 1rem + .8vw, 1.8rem); letter-spacing: -.03em; line-height: 1.05; }
.ex__cap > span { font-size: .96rem; color: rgba(255, 255, 255, .9); max-width: 34ch; opacity: 0; transition: opacity .5s var(--ease); }
.ex__p.is-on .ex__cap > span { opacity: 1; transition-delay: .25s; }
.ex__p:not(.is-on) .ex__cap b { font-size: 1.1rem; }
.ex__p:focus-visible { outline-offset: 4px; border-radius: 24px; }

@media (max-width: 1024px) {
  .eg { --cw: 28vw; }
  .ec__form { grid-template-columns: 1fr; }
  .ec__res { min-height: 0; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 1024px) and (orientation: portrait), (max-width: 640px) {
  .eg { --cw: min(48vw, 400px); --title: clamp(2.4rem, 9vw, 4.8rem); }
  .is-scrub .eg__half--l, .is-scrub .eg__half--r { left: 50%; right: auto; }
  .is-scrub .eg__half--l { top: calc(50% - var(--ch) / 2 - var(--gap)); translate: -50% -100%; }
  .is-scrub .eg__half--r { top: calc(50% + var(--ch) / 2 + var(--gap)); translate: -50% 0; }
  .is-scrub .eg__intro { display: none; }
}
@media (max-width: 760px) {
  .eg__tri { grid-template-columns: 1fr; }
  .eg__side { display: none; }
  .ex__head { grid-template-columns: 1fr; }
  .ex__row { flex-direction: column; height: auto; }
  .ex__p { flex: none; height: 108px; transition: height .8s var(--ease); }
  .ex__p.is-on { height: 380px; }
  .ec__res { aspect-ratio: auto; min-height: 520px; }
}
@media (max-width: 640px) {
  .eg { --cw: min(62vw, 300px); }
  .is-scrub .eg__media .eg__cap { left: 18px; right: 18px; }
}
@media (max-width: 640px) and (max-height: 720px) { .eg { --cw: min(52vw, 250px); } }

/* ==========================================================================
   NOSOTROS · foto que se levanta + línea del año (base: ABT-003 BC Architecture)
   ========================================================================== */
.ab { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ab__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(28px, 6vw, 112px); align-items: end; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 88px); }
.ab__crumbs { color: var(--muted); margin-bottom: clamp(48px, 7vw, 110px); }
.ab__crumbs a { text-decoration-color: var(--line-2); }
.ab__h1 { font-size: clamp(3rem, 1.2rem + 5.6vw, 7rem); line-height: .9; letter-spacing: -.055em; font-weight: 600; max-width: 11ch; text-wrap: balance; }
.ab__h1 em { font-style: normal; color: var(--accent); }
.ab__copy p { color: var(--muted); font-size: 1.05rem; }
.ab__copy p + p { margin-top: 1em; }
.ab__lift { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.lift { margin: 0; }
.lift__stage { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; background: var(--bg-2); touch-action: pan-y; }
.lift__under, .lift__over { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lift__under { object-position: 50% 40%; }
.lift__over { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
.lift__seam { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; margin-left: -1px; background: var(--card); pointer-events: none; }
.lift__seam svg { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; padding: 12px; transform: translate(-50%, -50%); background: var(--card); color: var(--ink); border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.lift__ctl input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; margin: 0; }
.lift__stage:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 4px; }
.lift__stage:has(input:focus-visible) .lift__seam svg { background: var(--accent); color: var(--cream); }
.lift figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-top: 14px; font-size: .94rem; color: var(--muted); }
.lift figcaption b { color: var(--ink); font-weight: 600; }
.ab__facts { display: grid; gap: clamp(20px, 3vw, 36px); padding-bottom: 44px; }
.ab__facts li { display: grid; gap: 4px; }
.ab__facts b { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; color: var(--accent); font-variant-numeric: tabular-nums; }
.ab__facts span { color: var(--muted); max-width: 22ch; }

/* Un año de pastoreo */
.yr__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.yr__scale { position: relative; padding-top: 112px; }
.yr__bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; height: 12px; }
.yr__bar i { border-radius: 3px; background: var(--bg-2); }
.yr__bar i:nth-child(-n+3) { background: rgba(125, 29, 58, .28); }
.yr__bar i:nth-child(12) { background: rgba(125, 29, 58, .28); }
.yr__ends { display: flex; justify-content: space-between; padding-top: 10px; font-size: .9rem; color: var(--muted); }
.yr__marks li { position: absolute; top: 0; left: calc(var(--x) * 1%); height: 120px; }
.yr__marks li:nth-child(even) { top: 40px; height: 80px; }
.yr__marks li::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2px; height: calc(100% - 52px); background: var(--line-2); border-radius: 2px; transition: background .3s, width .3s; }
.yr__marks li:has([aria-pressed="true"])::after { background: var(--accent); width: 3px; }
.yr__marks button { display: grid; gap: 2px; min-height: 44px; padding: 0 0 0 12px; text-align: left; white-space: nowrap; color: var(--muted); transition: color .25s; }
.yr__marks button:hover { color: var(--ink); }
.yr__when { font-size: .88rem; }
.yr__nm { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.yr__marks button[aria-pressed="true"] .yr__nm, .yr__marks button[aria-pressed="true"] { color: var(--accent); }
.yr__marks li:last-child { left: auto; right: 0; }
.yr__marks li.yr__r { left: auto; right: calc(100% - var(--x) * 1%); }
.yr__marks li:last-child button, .yr__marks li.yr__r button { text-align: right; padding: 0 12px 0 0; }
.yr__marks li:last-child::after, .yr__marks li.yr__r::after { left: auto; right: 0; }
.yr__sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 88px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.yr__title { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: .98; letter-spacing: -.045em; }
.yr__note { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.yr__dl { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 28px 0 32px; }
.yr__dl dt { font-size: .9rem; color: var(--muted); }
.yr__dl dd { margin: 2px 0 0; font-weight: 600; font-size: 1.08rem; }
.yr__media { aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; background: var(--bg-2); }
.yr__media img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0); }
.yr__media img.is-leaving { clip-path: inset(0 0 0 100%); transition: clip-path .32s cubic-bezier(.7, 0, .84, 0); }
.yr__media img.is-entering { animation: yr-wipe .8s var(--ease); }
@keyframes yr-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

/* Preguntas */
.qa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.qa__head { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; justify-items: start; }
.qa__head .copied { color: var(--accent); }
.qa__list { display: grid; gap: 10px; }
.qa__list details { background: var(--card); border-radius: 20px; }
.qa__list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 20px 16px 24px; cursor: pointer; font-weight: 500; font-size: 1.08rem; border-radius: 20px; }
.qa__list summary::-webkit-details-marker { display: none; }
.qa__list summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bg); }
.qa__list summary i::before, .qa__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; translate: -50% -50%; transition: rotate .5s var(--ease); }
.qa__list summary i::after { rotate: 90deg; }
.qa__list details[open] summary i::after { rotate: 0deg; }
.qa__list details p { color: var(--muted); padding: 0 24px 22px; max-width: 60ch; }

@media (max-width: 1024px) {
  .ab__intro { grid-template-columns: 1fr; }
  .ab__crumbs { margin-bottom: 40px; }
  .ab__lift { grid-template-columns: 1fr; }
  .ab__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 0; }
  .yr__head { grid-template-columns: 1fr; }
  .yr__scale { padding-top: 0; }
  .yr__bar, .yr__ends { display: none; }
  .yr__marks { display: flex; flex-wrap: wrap; gap: 8px; }
  .yr__marks li, .yr__marks li:nth-child(even), .yr__marks li:last-child, .yr__marks li.yr__r { position: static; height: auto; }
  .yr__marks li::after { display: none; }
  .yr__marks button, .yr__marks li:last-child button, .yr__marks li.yr__r button { min-height: 56px; padding: 8px 18px; text-align: left; border-radius: 16px; background: var(--card); }
  .yr__marks button[aria-pressed="true"] { background: var(--ink); }
  .yr__marks button[aria-pressed="true"], .yr__marks button[aria-pressed="true"] .yr__nm { color: #fff; }
  .yr__marks button[aria-pressed="true"] .yr__when { color: rgba(255, 255, 255, .8); }
  .yr__sheet { margin-top: 32px; }
  .qa { grid-template-columns: 1fr; }
  .qa__head { position: static; }
}
@media (max-width: 760px) {
  .ab__facts { grid-template-columns: 1fr; }
  .lift__stage { aspect-ratio: 4 / 4.4; }
  .yr__sheet { grid-template-columns: 1fr; }
  .yr__media { order: -1; aspect-ratio: 4 / 3.6; }
  .yr__marks button, .yr__marks li:last-child button { flex: 1 1 auto; }
  .yr__marks li { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js-pg .gc__btn, .js-pg .gc__copy > * { opacity: 1 !important; transform: none !important; translate: none !important; }
  .yr__media img.is-entering { animation: none; }
}
