/* IPOCEN V11.5 — Responsive visual rhythm. Loaded after V11.4.
   This sheet changes presentation only, not forms, email or the scrollytelling code. */

/* 1. The product walkthrough: smaller phone, shorter steps and tighter flow. */
.product { padding-top:clamp(68px,6.5vw,98px); padding-bottom:clamp(36px,4vw,58px); }
.product .product-intro h2 { margin:16px 0 14px; }
.product .product-story { grid-template-columns:minmax(0,.90fr) minmax(0,1.10fr); gap:clamp(22px,3vw,50px); margin-top:14px; }
.product .product-visual { height:min(77svh,760px); min-height:580px; max-height:760px; top:18px; }
.product .phone-aura { width:490px; height:490px; opacity:.57; }
.product .iphone { width:292px; height:598px; padding:9px; border-radius:49px; border-width:3px; transform:rotate(-2deg); }
.product .iphone:hover { transform:rotate(0deg); }
.product .phone-bezel { border-radius:39px; }
.product .product-steps { padding:0 0 10px; }
.product .product-step, .product .product-step:first-child { min-height:328px !important; padding:23px 0 24px !important; justify-content:center; }
.product .product-step h3 { margin:10px 0 12px !important; }
.product .product-step p { margin-bottom:9px; }
.product .product-step .step-detail { margin:7px 0 15px; }
.product .product-caption { margin:12px 0 0; }
.product .page-deep-link { margin-top:8px; }

/* 2. Six readable tints. Preserve the existing bar animation at card top. */
.programme { padding-top:clamp(70px,6vw,100px); padding-bottom:clamp(75px,6vw,100px); }
.programme .week-grid { border:0; gap:13px; margin-top:40px; }
.programme .week { --wk-accent:#b37e70; position:relative; border:1px solid rgba(17,48,71,.09); border-radius:17px;
 background:#f8f4f0; box-shadow:0 4px 22px rgba(14,43,64,.025); min-height:242px !important;
 transition:background-color .4s ease,transform .35s ease,box-shadow .35s ease; }
.programme .week:before { height:4px; background:var(--wk-accent); }
.programme .week:hover { transform:translateY(-4px); box-shadow:0 10px 26px rgba(14,43,64,.075); }
.programme .week:nth-child(1) { --wk-accent:#ce8d7d; background:#f9ebe5; }
.programme .week:nth-child(2) { --wk-accent:#6f9b9c; background:#eaf2ef; }
.programme .week:nth-child(3) { --wk-accent:#a88eaf; background:#f2edf2; }
.programme .week:nth-child(4) { --wk-accent:#8ba6bb; background:#eaf1f5; }
.programme .week:nth-child(5) { --wk-accent:#bc9e71; background:#f6f0e5; }
.programme .week:nth-child(6) { --wk-accent:#7899a5; background:#e8f0f1; }
.programme .week>span { color:#51687b; }
.programme .week .week-description { color:#4b6171; }
.programme .week i { color:#9b6759; }

/* 3. Daily uses three equally tall editorial portrait cards. */
.features { padding-top:clamp(75px,6vw,100px); padding-bottom:clamp(74px,6vw,100px); }
.features .section-underheading { max-width:770px; margin:0 0 30px; }
.features h2 { margin:20px 0 16px; }
.features .feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch; }
.features .feature-grid .feature, .features .feature-grid .feature.feature-big,
.features .feature-grid .feature.feature-breathe, .features .feature-grid .feature.feature-observe {
 grid-column:auto; display:flex; flex-direction:column; align-items:stretch;
 min-height:0 !important; height:auto !important; margin:0; border-radius:22px;
 padding:215px 25px 25px; overflow:hidden; gap:0; justify-content:flex-start;
 border:1px solid rgba(16,46,68,.06); box-shadow:0 9px 24px rgba(15,45,70,.045);
}
.features .feature:before {content:""; position:absolute; top:0;left:0;right:0; height:190px;
 background-position:center; background-size:cover; background-repeat:no-repeat; z-index:0; }
.features .feature > * { position:relative; z-index:1; }
.features .feature.feature-big { background:#17364c; color:white; }
.features .feature.feature-breathe { background:#eaf1ed; color:#173448; }
.features .feature.feature-observe { background:#f3ede9; color:#173448; }
.features .feature.feature-big:before { background-image:linear-gradient(0deg,rgba(17,47,70,.05),rgba(17,47,70,.09)),url('assets/img/room-quiet.webp'); background-position:center 49%; }
.features .feature.feature-breathe:before { background-image:url('assets/img/daily-light.webp'); background-position:center 50%; }
.features .feature.feature-observe:before { background-image:url('assets/img/daily-tables.webp'); background-position:center 56%; }
.features .feature-big .feature-copy { width:100%;max-width:none; }
.features .feature-grid .feature h3 { font-size:clamp(22px,2.1vw,30px) !important; margin:15px 0 15px; line-height:1.23; max-width:none; }
.features .feature-grid .feature p { font-size:14px !important;line-height:1.66;max-width:none; margin:0; }
.features .feature-big p {color:#d1dce2;}
.features .feature-grid .voice-graphic { margin-top:auto; padding-top:18px; height:90px; width:100%; opacity:.7; flex:none; }
.features .feature-grid .voice-waves { height:55px;gap:6px; }
.features .feature-grid .voice-waves i { width:5px;max-height:55px; }
.features .feature-grid .voice-names { padding-top:5px; font-size:10px; }
.features .feature-grid .feature-breathe .breath-orb { position:relative; inset:auto; flex:none;
 width:90px; height:90px; margin:22px auto 2px; align-self:center; box-shadow:0 0 0 9px rgba(232,157,142,.20); }
.features .feature-grid .feature-breathe .breath-orb span { inset:9px; }
.features .feature-grid .feature-observe .feature-progress { position:relative; inset:auto; left:auto; right:auto; bottom:auto;
 width:100%; height:70px;flex:none; margin:28px 0 2px; }
.features .feature-grid .feature-observe .feature-progress span {flex:1;max-width:17%;}

/* 4. Restore navy all around the gallery. Only the actual photo/card mats stay white. */
.collection .art-gallery { background:transparent; color:white; border:0;
 margin-top:clamp(30px,4vw,50px); padding:0; }
.collection .gallery-track { background:transparent; scrollbar-color:#8aa1b2 #071c2d; padding-bottom:22px; }
.collection .art-first { background:#fff; border:1px solid rgba(255,255,255,.4);color:#0f2d46; }
.collection .art-locked,.collection .art-locked:nth-child(3),.collection .art-locked:nth-child(4) {
 background:#f7f9fa; border:1px solid #e0e8ec; color:#0f2d46; }
.collection .art-first figcaption strong {color:#0f2d46;}
.collection .art-first figcaption small {color:#b66a57;}
.collection .art-locked p {color:#213b51;}
.collection .art-locked small {color:#687f92;}

/* Tablets: three cards retain an aligned row, with smaller typography. */
@media(max-width:1000px) and (min-width:701px) {
 .product .product-story { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:15px; }
 .product .product-visual {min-height:500px; height:75svh;}
 .product .iphone { transform:scale(.81) rotate(-2deg); }
 .product .iphone:hover { transform:scale(.81); }
 .features .feature-grid { gap:11px; }
 .features .feature-grid .feature, .features .feature-grid .feature.feature-big,
 .features .feature-grid .feature.feature-breathe,.features .feature-grid .feature.feature-observe {
  padding:170px 16px 20px; border-radius:18px; }
 .features .feature:before { height:150px; }
 .features .feature-grid .feature h3 {font-size:21px!important;}
 .features .feature-grid .feature p {font-size:13px!important;}
}

/* Mobile: portrait phone scaled down; the three portrait cards stay in a
   horizontal ROW and scroll by touch rather than shrinking text to 9px. */
@media(max-width:700px) {
 .product { padding:66px 0 36px; }
 .product .product-story { display:flex;flex-direction:column;gap:0; width:100%; margin-top:14px; }
 .product .product-visual { position:sticky; top:60px; height:46svh; min-height:338px; max-height:410px;
  background:linear-gradient(#f5f5f7f5 0%,#f5f5f7ed 80%,#f5f5f700); }
 .product .phone-aura { width:315px;height:315px; }
 .product .iphone,.product .iphone:hover {position:absolute;left:50%;top:50%;margin:0;
  transform:translate(-50%,-50%) scale(.60) rotate(-2deg); }
 .product .product-caption { bottom:4px;margin:0; font-size:10px; }
 .product .product-steps { padding:0 20px 18px; }
 .product .product-step,.product .product-step:first-child {min-height:0!important;padding:25px 0 28px!important;justify-content:flex-start;}
 .product .product-step h3 {font-size:25px!important; margin:8px 0 10px!important;}
 .product .product-step p {font-size:14px!important;line-height:1.6;margin:0 0 7px;}
 .product .product-step .step-detail {font-size:13px!important;line-height:1.6; margin:8px 0 11px;}
 .product .step-link {margin-top:5px;}
 .product .page-deep-link { margin-top:0; }

 .programme .week-grid {gap:11px;margin-top:27px;}
 .programme .week {min-height:0!important;padding:20px!important;}
 .programme .week strong {font-size:19px!important;}

 .features h2 { margin-bottom:14px; }
 .features .section-underheading {margin-bottom:25px;}
 .features .feature-grid {display:grid; grid-auto-flow:column;
  grid-auto-columns:min(82vw,340px); grid-template-columns:none; gap:13px;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;
  width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);
  padding:4px 20px 18px;overscroll-behavior-inline:contain;
  scrollbar-width:thin;scrollbar-color:#9eafba transparent;}
 .features .feature-grid .feature, .features .feature-grid .feature.feature-big,
 .features .feature-grid .feature.feature-breathe,.features .feature-grid .feature.feature-observe {
  scroll-snap-align:start; min-width:0; padding:205px 22px 25px; border-radius:21px; }
 .features .feature:before {height:180px;}
 .features .feature-grid .feature h3 {font-size:25px!important;}
 .features .feature-grid .feature p {font-size:14px!important;}
 .features .feature-grid .voice-graphic {margin-top:20px;}
 .features .feature-grid .feature-breathe .breath-orb {width:94px;height:94px;margin-top:25px;}
 .features .feature-grid .feature-observe .feature-progress {height:68px;}
 .collection .art-gallery {padding:0; margin-top:30px;}
 .collection .gallery-track {padding:0 20px 16px;}
}
@media(max-width:375px){
 .features .feature-grid{grid-auto-columns:86vw;}
 .product .product-visual{top:58px; min-height:310px;height:44svh;}
 .product .iphone,.product .iphone:hover {transform:translate(-50%,-50%) scale(.54) rotate(-2deg);}
}
@media(prefers-reduced-motion:reduce){.programme .week{transition:none;}}

/* Indicate only on narrow viewports that the three portrait cards are swipeable. */
.feature-swipe-hint{display:none;}
@media(max-width:700px){.features .feature-swipe-hint{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#64798a;font-size:12px;line-height:1.4;letter-spacing:.01em;margin:0 0 8px}.features .feature-swipe-hint span{font-size:19px;line-height:1}}
