/* Hallmark · GuestDraft · editorial photographs, two routes, one mobile product view. */
/* Let the images move independently of the copy. Make each product tangible before adding another panel. */
:root {
  --at-night: #2a181a;
  --at-wine-light: #53282b;
  --at-dark-edge: #f4f1e738;
  --at-soft-text: #e8d9cd;
  --at-peach: #edc8b4;
  --at-header: calc(4.5rem + 1px);
  --at-scene-shadow: #170e0ddd;
  --at-scene-wash: #24131838;
  --at-caption-shade: #211719ed;
  --at-oat: #e9ddd2;
  --at-oat-light: #f1e8dd;
  --at-oat-line: #5a40331d;
  --at-plum: #522e33;
  --at-plum-line: #f3deca22;
  --at-device-shadow: #27191e57;
  --at-device-radius: var(--radius-md) var(--radius-lg) var(--radius-md) var(--radius-lg);
  --at-route-hover: #fff9f0;
  --at-room-shadow: #150e1290;
  --at-room-stroke: #ffffff25;
  --at-cream: #f9f4ec;
  --at-forest: #203c31;
  --at-lime: #e9f0cd;
  --at-forest-edge: #263c3028;
  --at-forest-muted: #4e6255;
  --at-phone-shell: #232122;
  --at-phone-black: #110e10;
  --at-phone-metal: #7a6e70;
  --at-phone-gloss: #403639;
  --at-phone-screen: #f5f2ec;
  --at-phone-bar: #342220;
  --at-phone-shadow: #23372948;
  --at-ease: cubic-bezier(.22, 1, .36, 1);
}

.home-editorial { background: var(--at-cream); }
.home-editorial .home-header { background: var(--at-night); border-bottom: 1px solid var(--at-dark-edge); }
.home-editorial .home-header-inner { min-height: 4.5rem; }
.home-editorial .home-header .home-access { border-color: var(--at-dark-edge); }
.home-editorial .home-header .home-access:hover { background: var(--at-wine-light); }

.home-hero-editorial {
  --hero-travel: 0;
  background: radial-gradient(ellipse at 77% 23%, var(--at-wine-light), var(--at-night) 66%);
}
.home-hero-editorial .home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--space-md) clamp(var(--space-md), 4vw, 4.4rem);
  padding-block: clamp(var(--space-2xl), 6vw, 6.75rem) 1.1rem;
}
.hero-lead { min-width: 0; padding-block: var(--space-md); }
.home-hero-editorial h1 { font-size: clamp(3.1rem, 6.4vw, 6.85rem); line-height: .97; max-width: none; }
.hero-start-title, .hero-start-title > span { display: block; }
.hero-start-title > span { color: var(--at-peach); }
.home-hero-editorial .home-intro { margin-block: 1.3rem 1.7rem; max-width: 34ch; color: var(--at-soft-text); }
.hero-paths { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-route {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .72rem;
  min-height: 48px;
  padding: .62rem .86rem .62rem var(--space-md);
  border: 1px solid var(--at-dark-edge);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: transform var(--dur-micro) var(--at-ease), background-color var(--dur-micro) ease;
}
.hero-route:hover { background: var(--at-route-hover); transform: translateY(-2px); }
.hero-route:active { transform: translateY(0); }
.hero-route-offer { background: var(--color-paper); }
.hero-route-clean { background: var(--color-accent); }
.hero-art { position: relative; min-height: clamp(25rem, 39vw, 36rem); isolation: isolate; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: 9% 9% 6% 6%;
  border: 1px solid var(--at-dark-edge);
  background: linear-gradient(145deg, var(--at-wine-light), var(--at-night));
  z-index: -1;
}
.hero-frame {
  position: absolute;
  overflow: clip;
  background: var(--at-night);
  color: var(--color-paper);
  outline: 1px solid var(--at-room-stroke);
  box-shadow: 0 24px 55px var(--at-room-shadow);
}
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-frame-dining { inset: 0 24% 8% 0; }
.hero-frame-dining img { object-position: 50% 55%; }
.hero-frame-room { inset: 32% 0 0 53%; }
.hero-frame-room img { object-position: 72% 49%; }
.hero-next { position: relative; isolation: isolate; display: grid; align-items: center; margin-top: var(--space-xl); padding-block: clamp(3rem, 8vw, 7rem); }
.hero-next::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(80deg, var(--at-scene-shadow), var(--at-scene-wash) 75%), linear-gradient(0deg, var(--at-scene-shadow), transparent 60%); }
.hero-wide { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 52% 56%; }
.hero-next-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-next-title { font: 600 clamp(2.6rem, 5.7vw, 5.85rem)/.98 var(--font-display); letter-spacing: -.065em; max-width: 12ch; text-wrap: balance; }
.hero-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
.hero-tile { position: relative; display: grid; align-content: end; min-width: 0; min-height: clamp(8.5rem, 13.3vw, 12rem); padding: clamp(.62rem, 1.6vw, 1.1rem); isolation: isolate; overflow: clip; border: 1px solid var(--at-dark-edge); border-radius: var(--radius-sm); font-weight: 700; }
.hero-tile img, .hero-tile:has(img)::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-tile img { object-fit: cover; z-index: -2; }
.hero-tile:has(img)::after { content: ''; background: linear-gradient(to top, var(--at-caption-shade), transparent 65%); }
.hero-stat { background: var(--color-accent); border-color: transparent; color: var(--color-dark); line-height: 1.18; }
.hero-stat strong { font: 600 clamp(1.55rem, 3.45vw, 3.55rem)/1.02 var(--font-display); letter-spacing: -.075em; font-variant-numeric: tabular-nums; margin-block: .35rem; }
.hero-stat small { font-weight: 400; margin-top: .5rem; }
.home-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-height: 690px) and (prefers-reduced-motion: no-preference) {
  .home-hero-editorial.hero-scroll {
    --hero-viewport: calc(100svh - var(--at-header));
    --hero-bg: 0;
    --hero-front: 1;
    --hero-start: 1;
    --hero-end: 0;
    --hero-cards: 0;
    --hero-drop: 0px;
    min-height: calc(var(--hero-viewport) + clamp(440px, 72svh, 755px));
    overflow: visible;
  }
  .hero-scroll .hero-stage { position: sticky; top: var(--at-header); height: var(--hero-viewport); display: grid; align-items: center; isolation: isolate; overflow: clip; }
  .hero-scroll .home-hero-inner { position: relative; z-index: 1; padding-block: var(--space-lg); }
  .hero-scroll .hero-start-title { opacity: var(--hero-start); transform: translate3d(0, calc(var(--hero-drop) * var(--hero-travel)), 0) scale(calc(1 - var(--hero-travel) * .15)); transform-origin: top left; }
  .hero-scroll .hero-actions, .hero-scroll .hero-art { opacity: var(--hero-front); }
  .hero-scroll .hero-art { transform: translate3d(0, calc(var(--hero-travel) * -24px), 0); }
  .hero-scroll.hero-advanced .hero-actions { visibility: hidden; }
  .hero-scroll .hero-next { position: absolute; inset: 0; padding: 0; margin: 0; align-items: end; opacity: var(--hero-bg); }
  .hero-scroll .hero-next-grid { padding-bottom: clamp(2.5rem, 8vh, 6.5rem); }
  .hero-scroll .hero-next-title { opacity: var(--hero-end); }
  .hero-scroll .hero-tile { --tile-in: clamp(0, calc(var(--hero-cards) * 1.5 - var(--tile-delay, 0)), 1); opacity: var(--tile-in); transform: translate3d(0, calc((1 - var(--tile-in)) * 28px), 0); }
  .hero-scroll .hero-tile:nth-child(2) { --tile-delay: .15; }
  .hero-scroll .hero-tile:nth-child(3) { --tile-delay: .3; }
  .hero-scroll .hero-tile:nth-child(4) { --tile-delay: .45; }
}

.home-editorial .home-chapter-offer { background: var(--at-cream); }
.home-editorial .home-chapter-offer .home-chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: clamp(var(--space-xl), 7vw, 7rem); }
.offer-stage { display: grid; justify-items: center; gap: var(--space-md); margin: 0; padding: clamp(1rem, 3.3vw, 3.25rem); border-radius: var(--at-device-radius); background: repeating-linear-gradient(0deg, transparent 0 31px, var(--at-plum-line) 31px 32px), var(--at-plum); color: var(--color-paper); }
.offer-stage figcaption { text-align: center; font-size: .85rem; }
.offer-tablet { position: relative; align-self: center; width: 100%; max-width: 32rem; padding: .5rem; color: var(--color-dark); background: linear-gradient(135deg, var(--at-phone-metal), var(--at-phone-shell) 30%, var(--at-phone-black)); border-radius: 1.4rem; box-shadow: 0 18px 36px var(--at-device-shadow); }
.offer-tablet::before { content: ''; position: absolute; z-index: 1; top: .17rem; left: calc(50% - .1rem); width: .2rem; height: .2rem; border-radius: 50%; background: var(--at-phone-black); }
.offer-screen { border-radius: 1rem; overflow: clip; background: var(--color-surface); }
.offer-screen-bar { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .62rem var(--space-12); background: var(--color-dark); color: var(--color-paper); font-size: .75rem; }
.offer-screen-bar img { width: clamp(4.2rem, 7.4vw, 6rem); height: auto; }
.offer-paper { padding: clamp(.75rem, 2.5vw, 2rem); }
.offer-paper header > p { font-size: clamp(.75rem, 1.1vw, .9rem); }
.offer-paper h3 { margin-block: .36rem .6rem; font: 600 clamp(1.65rem, 3.45vw, 3.15rem)/.95 var(--font-display); letter-spacing: -.06em; }
.offer-paper table { width: 100%; border-collapse: collapse; margin-top: clamp(.85rem, 2vw, 1.65rem); font-size: clamp(.73rem, 1.15vw, .95rem); text-align: left; font-variant-numeric: tabular-nums; }
.offer-paper td, .offer-paper th { padding: .5rem .35rem; border-bottom: 1px solid var(--at-oat-line); }
.offer-paper th:first-child { padding-left: 0; }
.offer-paper th:last-child, .offer-paper td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.offer-paper tfoot { color: var(--color-primary); }
.offer-paper tfoot td { font-weight: 700; }
.offer-paper-foot { margin-top: .72rem; font-size: .78rem; }
.home-editorial .home-chapter-offer .home-steps { counter-reset: offer-flow; }
.home-editorial .home-chapter-offer .home-steps li { position: relative; counter-increment: offer-flow; padding-inline-start: 2.05rem; }
.home-editorial .home-chapter-offer .home-steps li::before {
  content: counter(offer-flow, decimal-leading-zero);
  position: absolute;
  inset: .75rem auto auto 0;
  color: var(--color-primary);
  font-size: .78rem;
  font-weight: 700;
}

.home-editorial .home-chapter-clean { background: var(--at-oat-light); color: var(--at-forest); }
.home-chapter-clean .clean-showcase {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-areas: "stage intro" "stage cards";
  column-gap: clamp(1.35rem, 5.5vw, 5.25rem);
  row-gap: 1.35rem;
}
.clean-intro { grid-area: intro; align-self: end; }
.clean-intro .home-cta-row { margin-top: 1.15rem; }
.clean-intro .home-button { background: var(--at-forest); }
.clean-intro .home-button:hover { background: var(--color-success); }
.clean-stage {
  grid-area: stage;
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(5.8rem, 12vw, 9rem);
  align-items: end;
  gap: clamp(.6rem, 1.35vw, 1.1rem);
  isolation: isolate;
  border: 1px solid var(--at-oat-line);
  border-radius: var(--at-device-radius);
  overflow: clip;
  margin: 0;
  padding: clamp(var(--space-md), 3.6vw, 3.5rem) clamp(.85rem, 2.65vw, 2.6rem);
  background: repeating-linear-gradient(0deg, transparent 0 29px, var(--at-oat-line) 29px 30px), var(--at-oat);
}
.clean-stage::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: repeating-linear-gradient(0deg, transparent 0 29px, var(--at-plum-line) 29px 30px), var(--at-plum);
  z-index: -1;
}
.clean-iphone {
  position: relative;
  justify-self: center;
  width: min(100%, 16.5rem);
  padding: .36rem;
  border: 1px solid var(--at-phone-metal);
  border-radius: 1.95rem;
  background: linear-gradient(130deg, var(--at-phone-metal), var(--at-phone-shell) 22%, var(--at-phone-gloss) 84%, var(--at-phone-metal));
  box-shadow: 0 26px 40px -13px var(--at-phone-shadow), 0 6px 12px var(--at-phone-shadow);
}
.clean-iphone::before, .clean-iphone::after {
  content: '';
  position: absolute;
  width: .15rem;
  border-radius: 1rem;
  background: var(--at-phone-gloss);
}
.clean-iphone::before { inset: 17% auto auto -.18rem; height: 12%; }
.clean-iphone::after { inset: 20% -.18rem auto auto; height: 9%; }
.clean-display { border: 1px solid var(--at-phone-black); border-radius: 1.54rem; overflow: clip; background: var(--at-phone-screen); }
.clean-display img { display: block; width: 100%; height: auto; }
.clean-status-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 1.55rem; padding: 0 .78rem; background: var(--at-phone-bar); color: var(--color-paper); font-size: .49rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.clean-status-bar i { position: absolute; left: 50%; top: .32rem; width: 25%; height: .65rem; background: var(--at-phone-black); border-radius: 1rem; transform: translateX(-50%); }
.clean-status-bar b { width: .67rem; height: .32rem; border: 1px solid currentColor; border-radius: .09rem; opacity: .9; }
.clean-home-indicator { height: .9rem; display: grid; place-items: center; }
.clean-home-indicator::after { content: ''; width: 31%; height: .13rem; border-radius: 1rem; background: var(--at-phone-shell); }
.clean-stats { align-self: end; min-width: 0; padding: clamp(.5rem, 1vw, .95rem); overflow-wrap: anywhere; background: var(--at-oat-light); box-shadow: 4px 5px var(--at-device-shadow); }
.clean-stats > p { font-size: .82rem; color: var(--at-forest-muted); font-weight: 700; margin-bottom: .55rem; }
.clean-stats dl { margin: 0; }
.clean-stats dl > div { display: grid; grid-template-areas: "number" "label"; border-top: 1px solid var(--at-forest-edge); padding: .51rem 0 .55rem; }
.clean-stats dt { grid-area: label; color: var(--at-forest-muted); font-weight: 700; font-size: .84rem; }
.clean-stats dd { grid-area: number; margin: 0; font: 600 clamp(1.75rem, 3vw, 3rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.clean-features { grid-area: cards; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.clean-features li { display: grid; align-content: start; min-width: 0; gap: .7rem; padding: .8rem .75rem .85rem; border-radius: var(--radius-sm); border: 1px solid var(--at-forest-edge); background: var(--color-surface); }
.clean-card-icon { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border-radius: 35%; background: var(--at-lime); }
.clean-features h3 { font-size: 1rem; margin-bottom: .28rem; }
.clean-features p { font-size: .88rem; line-height: 1.42; color: var(--at-forest-muted); }

.home-editorial .home-film {
  padding-block: clamp(3.1rem, 7vw, 6.6rem) 0;
  background: linear-gradient(135deg, var(--at-night), var(--color-dark));
}
.home-editorial .home-film-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: end; gap: var(--space-md) var(--space-xl); margin-bottom: 1.35rem; }
.home-editorial .home-film-copy h2 { margin: 0; text-wrap: balance; }
.home-editorial .home-film-copy p { margin: 0; color: var(--at-soft-text); }
.home-editorial .home-film video { border-radius: 0; }
.home-editorial .home-questions { display: grid; grid-template-columns: minmax(0,.56fr) minmax(0,1.44fr); gap: 1.4rem clamp(var(--space-md), 5vw, 4.9rem); }
.home-editorial .home-questions h2 { margin-top: 0; }
.home-editorial .home-question-grid { gap: 1.35rem clamp(1.25rem, 3.5vw, 3.2rem); }
.home-editorial .home-question-grid > div > h3 { color: var(--color-primary); }
.home-editorial .home-question-grid details:last-child { border-bottom: 1px solid var(--home-rule); }
.home-editorial .home-footer { background: var(--at-night); color: var(--color-paper); }
.home-editorial .home-footer-inner { padding-block: clamp(1.2rem, 4vw, 2.1rem); }
.home-legal { max-width: 52rem; padding-block: clamp(2.5rem, 8vw, 7rem); }
.home-legal h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); margin-block: var(--space-xl) var(--space-md); }
.home-legal h2 { font-size: 1.45rem; margin-top: var(--space-xl); }
.home-legal li { padding-block: var(--space-xs); }

@media(min-width: 1001px) and (max-height: 810px) {
  .home-hero-editorial .home-hero-inner { padding-top: 2.8rem; }
  .hero-art { min-height: clamp(25rem, 61svh, 32rem); }
}
@media(max-width: 1000px) {
  .clean-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .clean-stats { width: 100%; padding-bottom: 0; }
  .clean-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .clean-stats dl > div { padding-bottom: 0; }
}
@media(max-width: 800px) {
  .home-editorial .home-chapter-offer .home-chapter-grid, .home-chapter-clean .clean-showcase { grid-template-columns: minmax(0, 1fr); }
  .home-chapter-clean .clean-showcase { grid-template-areas: "intro" "stage" "cards"; }
  .clean-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 7.8rem); justify-items: stretch; padding: 1.25rem; }
  .clean-stats { padding-bottom: .5rem; }
  .clean-stats dl { display: block; }
  .clean-stats dl > div { padding-bottom: .5rem; }
  .home-editorial .home-questions { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 700px) {
  .home-editorial { --at-header: calc(4.15rem + 1px); }
  .home-editorial .home-header-inner { min-height: 4.15rem; }
  .home-hero-editorial .home-hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 2.4rem .95rem; }
  .hero-lead { padding: 0; }
  .home-hero-editorial h1 { font-size: clamp(2.85rem, 10vw, 4.5rem); }
  .home-hero-editorial .home-intro { margin-block: .95rem var(--space-md); }
  .hero-paths { gap: .48rem; }
  .hero-route { min-height: 44px; padding-inline: .7rem; }
  .hero-art { min-height: clamp(16rem, 59vw, 23rem); margin-top: .5rem; }
  .hero-frame-dining { inset: 0 25% 8% 0; }
  .hero-frame-room { inset: 28% 0 0 53%; }
  .hero-next-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .hero-next-title { grid-row: 2; }
  .hero-scroll .hero-next-grid { padding-bottom: clamp(1.4rem, 4.5vh, 3rem); }
  .hero-wide { object-position: 54% 45%; }
  .home-editorial .home-film-copy { grid-template-columns: minmax(0,1fr); gap: .5rem; }
}
@media(max-width: 430px) {
  .clean-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 5.15rem); gap: .68rem; padding: .95rem .75rem; }
  .clean-iphone { padding: .25rem; border-radius: 1.5rem; }
  .clean-display { border-radius: 1.21rem; }
  .clean-status-bar { height: 1.18rem; padding-inline: .58rem; }
  .clean-status-bar i { top: .22rem; height: .5rem; }
  .clean-home-indicator { height: .63rem; }
  .clean-stats dt { font-size: .77rem; }
  .clean-features li { padding-inline: .62rem; }
}
@media(max-width: 350px) {
  .hero-route { font-size: .86rem; gap: .38rem; }
  .hero-route .home-icon { width: 15px; height: 15px; }
  .clean-stage { grid-template-columns: minmax(0, 1fr); }
  .clean-iphone { width: min(100%, 13.7rem); }
  .clean-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
}
@media(prefers-reduced-motion: no-preference) {
  .hero-enter .hero-lead { animation: at-rise 640ms var(--at-ease) both; }
  .hero-enter .hero-frame img { animation: at-photo 850ms var(--at-ease) both; }
  .hero-enter .hero-frame-room img { animation-delay: 100ms; }
  .clean-stage.home-reveal, .offer-stage.home-reveal { animation: at-rise 650ms var(--at-ease) both; }
  .home-reveal > li { animation: at-rise 530ms var(--at-ease) both; }
  .home-reveal > li:nth-child(2) { animation-delay: 60ms; }
  .home-reveal > li:nth-child(3) { animation-delay: 120ms; }
  .home-reveal > li:nth-child(4) { animation-delay: 180ms; }
}
@media(prefers-reduced-motion: reduce) {
  .hero-frame, .hero-route:hover { transform: none; }
  .hero-route { transition-property: background-color; }
}
@keyframes at-rise {
  from { opacity: .73; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes at-photo {
  from { opacity: .72; transform: scale(1.07); }
  to { opacity: 1; transform: none; }
}
