:root{
  --bg:#FBF8F4;
  --bg-alt:#EAF1EC;
  --white:#FFFFFF;
  --purple-deep:#1B4332;
  --purple:#3F6B52;
  --purple-pale:#E3EDE6;
  --gold:#B8874A;
  --gold-light:#E3C48A;
  --gold-pale:#F3E6CD;
  --ink:#2E2438;
  --ink-soft:#6B5C74;
  --line:rgba(27,67,50,0.14);
  --font-serif:'Shippori Mincho', serif;
  --font-sans:'Zen Kaku Gothic New', sans-serif;
  --font-en:'Cormorant Garamond', serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-sans);
  color:var(--ink);
  background:#DCE8E0;
  -webkit-font-smoothing:antialiased;
}
img{display:block; max-width:100%;}
.frame{
  max-width:500px;
  margin:0 auto;
  background:var(--bg);
  overflow:hidden;
  position:relative;
  box-shadow:0 0 60px rgba(27,67,50,0.20);
}
@media(min-width:501px){
  body{padding:28px 0;}
}

/* ---------- utility ---------- */
.eyebrow{
  font-family:var(--font-en);
  font-style:italic;
  font-size:13px;
  letter-spacing:0.18em;
  color:var(--gold);
  text-align:center;
  margin-bottom:10px;
}
.section-title{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:23px;
  line-height:1.6;
  text-align:center;
  color:var(--purple-deep);
  margin-bottom:8px;
}
.section-lead{
  text-align:center;
  font-size:13.5px;
  color:var(--ink-soft);
  line-height:1.9;
  margin-bottom:36px;
}
.section{
  padding:64px 26px;
  position:relative;
}
.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 26px;
}
.divider .line{
  height:1px;
  width:44px;
  background:linear-gradient(90deg, transparent, var(--gold-light));
}
.divider .line.right{
  background:linear-gradient(90deg, var(--gold-light), transparent);
}
.divider .dot{
  width:5px; height:5px; border-radius:50%; background:var(--gold);
}
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible{opacity:1; transform:translateY(0);}
.reveal-left{opacity:0; transform:translateX(-32px); transition:opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.3,1);}
.reveal-left.is-visible{opacity:1; transform:translateX(0);}
.reveal-right{opacity:0; transform:translateX(32px); transition:opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.3,1);}
.reveal-right.is-visible{opacity:1; transform:translateX(0);}

/* solution bands: quicker, snappier slide-in */
.solution-band.reveal-left{transform:translateX(-46px); transition:opacity 1s ease-out, transform 1s cubic-bezier(.16,1,.3,1);}
.solution-band.reveal-right{transform:translateX(46px); transition:opacity 1s ease-out, transform 1s cubic-bezier(.16,1,.3,1);}
.solution-band.reveal-left.is-visible{transform:translateX(0);}
.solution-band.reveal-right.is-visible{transform:translateX(0);}
.solution-band.reveal-left{padding-right:100px;}
.solution-band.reveal-right{padding-left:100px;}

.buttons {
display: flex;
flex-direction: column;
gap: 20px;
}

/* ---------- ear motif ---------- */
.ear-motif{display:block;}
.ear-motif path{fill:none; stroke:var(--gold); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
.ear-motif circle{fill:var(--gold);}

/* ================= HERO ================= */
.hero{
  position:relative;
  width:100%;
  aspect-ratio:9/12;
  overflow:hidden;
}
.hero img{
  width:100%; height:100%; object-fit:cover; object-position:50% 22%;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(27,67,50,0.08) 0%, rgba(27,67,50,0.05) 32%, rgba(15,35,24,0.78) 78%, rgba(8,20,14,0.94) 100%);
}
.hero-top{
  position:absolute; top:22px; left:22px; right:22px;
  display:flex; justify-content:space-between; align-items:center;
  z-index:2;
}
.hero-brand{
  font-family:var(--font-en); font-style:italic; color:#fff; font-size:13px; letter-spacing:0.08em;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(227,196,138,0.65);
  color:var(--gold-light);
  font-size:10.5px;
  letter-spacing:0.04em;
  padding:6px 11px;
  border-radius:999px;
  backdrop-filter:blur(2px);
}
.hero-content{
  position:absolute; left:0; right:0; bottom:0;
  padding:0 26px 34px;
  z-index:2;
  color:#fff;
}
.hero-eyebrow{
  font-family:var(--font-en); font-style:italic; font-size:12.5px; letter-spacing:0.2em;
  color:var(--gold-light); margin-bottom:14px;
}
.hero-title{
  font-family:var(--font-serif); font-weight:600; font-size:32px; line-height:1.5;
  margin-bottom:16px;
  text-shadow:0 2px 18px rgba(0,0,0,0.25);
}
.hero-sub{
  font-size:13.5px; line-height:1.95; color:rgba(255,255,255,0.88); margin-bottom:24px;
  max-width:340px;
}
.btn-primary{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  color:#3a2413;
  font-family:var(--font-sans); font-weight:700; font-size:14.5px;
  letter-spacing:0.03em;
  padding:16px 20px;
  border-radius:999px;
  border:none;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(184,135,74,0.35);
}
.hero-note{
  text-align:center; font-size:11px; color:rgba(255,255,255,0.65); margin-top:12px; letter-spacing:0.02em;
}
.hero-scroll{
  position:absolute; bottom:14px; left:50%; transform:translateX(-50%); z-index:2;
  width:1px; height:34px;
  background:linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
}

/* ================= WORRIES ================= */
.worries-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.worry-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px 16px;
  text-align:center;
}
.worry-icon{
  width:46px; height:46px; margin:0 auto 14px;
  border-radius:50%;
  background:var(--purple-pale);
  display:flex; align-items:center; justify-content:center;
}
.worry-icon svg{width:22px; height:22px; stroke:var(--purple-deep); fill:none; stroke-width:1.6;}
.worry-title{
  font-size:13.5px; font-weight:700; color:var(--purple-deep); margin-bottom:8px; line-height:1.5;
}
.worry-text{
  font-size:11.5px; color:var(--ink-soft); line-height:1.8;
}

/* ================= SOLUTIONS ================= */
.section-solutions{
  background:var(--purple-deep);
  padding:64px 0 70px;
}
.section-solutions .eyebrow{color:var(--gold-light);}
.section-solutions .section-title{color:#fff;}
.section-solutions .section-lead{color:rgba(255,255,255,0.72);}
.solution-band{
  display:flex; align-items:flex-start; gap:16px;
  padding:22px 26px;
  border-top:1px solid rgba(255,255,255,0.12);
}
.solution-band:last-child{border-bottom:1px solid rgba(255,255,255,0.12);}
.solution-num{
  font-family:var(--font-en); font-style:italic; font-size:22px; color:var(--gold-light);
  min-width:34px;
}
.solution-head{
  font-size:14px; font-weight:700; color:#fff; margin-bottom:6px; line-height:1.5;
}
.solution-text{
  font-size:12px; color:rgba(255,255,255,0.68); line-height:1.85;
}

/* ================= ABOUT TSUBO ================= */
.tsubo-intro{
  background:var(--bg-alt);
  border-radius:20px;
  padding:32px 24px;
  position:relative;
  overflow:hidden;
  margin-bottom:40px;
}
.tsubo-intro .ear-motif{
  position:absolute; right:-18px; top:-10px; width:120px; height:160px; opacity:0.16;
}
.tsubo-intro-title{
  font-family:var(--font-serif); font-weight:600; font-size:19px; color:var(--purple-deep); margin-bottom:14px; position:relative;
}
.tsubo-intro-text{
  font-size:12.5px; line-height:2; color:var(--ink-soft); position:relative; max-width:88%;
}
.tsubo-cols{
  display:grid; grid-template-columns:1fr; gap:16px;
}
.tsubo-col-label{
  font-family:var(--font-en); font-style:italic; font-size:12px; color:var(--gold); letter-spacing:0.06em; margin-bottom:14px; text-align:center;
}
.tsubo-col-title{
  font-size:13px; font-weight:700; color:var(--purple-deep); text-align:center; margin-bottom:16px;
}
.tsubo-image{
  border-radius:16px; overflow:hidden; border:1px solid var(--line);
}
.tsubo-image img{
  width:100%; height:auto; display:block;
}

.before-after{
  margin-top:40px;
}
.before-after-grid{
  display:flex; flex-direction:column; gap:14px;
}
.before-after-card{
  display:flex; gap:2px;
  border-radius:16px; overflow:hidden; border:1px solid var(--line);
  background:var(--white);
}
.before-after-card .ba-photo{
  flex:1; position:relative; aspect-ratio:3/4; overflow:hidden; background:var(--purple-pale);
}
.before-after-card .ba-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.before-after-card .ba-photo .ba-label{
  position:absolute; top:10px; left:10px; z-index:1;
  font-family:var(--font-en); font-style:italic; font-size:11px; letter-spacing:0.08em;
  background:rgba(27,67,50,0.75); color:#fff; padding:4px 11px; border-radius:999px;
}
.before-after-card .ba-photo.after .ba-label{
  background:linear-gradient(135deg, var(--gold-light), var(--gold)); color:#3a2413;
}

/* ================= INSTRUCTOR ================= */
.section-instructor{background:var(--bg);}
.instructor-card{
  background:var(--white); border:1px solid var(--line); border-radius:22px; padding:30px 22px; text-align:center; margin-bottom:36px;
}
.instructor-photo{
  width:96px; height:96px; border-radius:50%; overflow:hidden; margin:0 auto 16px;
  border:3px solid var(--gold-pale);
  box-shadow:0 0 0 5px var(--white), 0 8px 20px rgba(27,67,50,0.14);
}
.instructor-photo img{width:100%; height:100%; object-fit:cover;}
.instructor-name{
  font-family:var(--font-serif); font-size:18px; font-weight:600; color:var(--purple-deep); margin-bottom:4px;
}
.instructor-role{
  font-size:11.5px; color:var(--ink-soft); margin-bottom:20px;
}
.instructor-stats{
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-bottom:20px;
}
.stat-circle{
  width:74px; height:74px; border-radius:50%; margin:0 auto 8px;
  background:var(--purple-pale);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  border:1px solid var(--gold-light);
}
.stat-num{font-family:var(--font-serif); font-size:15px; font-weight:700; color:var(--purple-deep); line-height:1.2;}
.stat-num[data-count-to]{opacity:0; transform:translateY(6px); transition:opacity 1.2s ease, transform 1.2s ease;}
.stat-num[data-count-to].is-counted{opacity:1; transform:translateY(0);}
.stat-num[data-count-to].count-pop{animation:statCountPop 0.7s cubic-bezier(.34,1.56,.64,1);}
@keyframes statCountPop{
  0%{transform:scale(1);}
  45%{transform:scale(1.22);}
  100%{transform:scale(1);}
}
.stat-label{font-size:9px; color:var(--purple); margin-top:1px;}
.stat-caption{font-size:10.5px; color:var(--ink-soft); line-height:1.5;}
.instructor-bio{
  font-size:12px; color:var(--ink-soft); line-height:1.9; text-align:left; border-top:1px solid var(--line); padding-top:18px;
}

.testimonial-title{
  font-size:13px; font-weight:700; color:var(--purple-deep); text-align:center; margin-bottom:20px;
}
.testimonial{
  background:var(--white); border:1px solid var(--line); border-left:3px solid var(--gold); border-radius:4px 14px 14px 4px; padding:18px 18px; margin-bottom:14px;
}
.testimonial-quote{
  font-size:12.5px; color:var(--ink); line-height:1.9; margin-bottom:12px;
}
.testimonial-who{
  display:flex; align-items:center; gap:8px;
}
.testimonial-avatar{
  width:26px; height:26px; border-radius:50%; background:var(--purple-pale);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-en); font-style:italic; font-size:11px; color:var(--purple-deep);
}
.testimonial-name{font-size:10.5px; color:var(--ink-soft);}

.gallery-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-top:26px;
}
.gallery-item{
  aspect-ratio:1/1; border-radius:10px; overflow:hidden;
  border:1px solid var(--line); background:var(--purple-pale);
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* ================= PLANS ================= */
.section-plans{background:var(--bg-alt);}
.plans-banner{
  position:relative;
  background:linear-gradient(150deg, var(--purple-deep) 0%, #0F2318 100%);
  color:#fff;
  border-radius:16px;
  border:2px solid var(--gold);
  padding:24px 18px 22px;
  text-align:center;
  margin-bottom:30px;
  box-shadow:0 12px 32px rgba(184,135,74,0.32);
  animation:plansBannerGlow 2.2s ease-in-out infinite;
}
@keyframes plansBannerGlow{
  0%, 100%{box-shadow:0 12px 32px rgba(184,135,74,0.28);}
  50%{box-shadow:0 14px 42px rgba(184,135,74,0.6);}
}
.plans-banner .tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-sans); font-weight:800; font-size:13px;
  color:#3a2413;
  letter-spacing:0.08em;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  padding:7px 20px;
  border-radius:999px;
  margin-bottom:16px;
  animation:plansTagPulse 1.6s ease-in-out infinite;
}
@keyframes plansTagPulse{
  0%, 100%{transform:scale(1);}
  50%{transform:scale(1.06);}
}
.plans-banner-lead{
  font-size:13.5px; font-weight:700; color:rgba(255,255,255,0.92); margin-bottom:16px; letter-spacing:0.02em; line-height:1.7;
}
.plans-banner-lead strong{
  color:var(--gold-light); font-size:15px; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(227,196,138,0.5);
}
.plans-banner-discounts{
  display:flex; flex-direction:row; gap:10px;
}
.discount-chip{
  flex:1 1 0;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius:12px;
  padding:14px 8px;
  box-shadow:0 8px 18px rgba(184,135,74,0.4);
  animation:discountShake 7s ease-in-out infinite;
}
.discount-chip:nth-child(2){animation-delay:0.3s;}
@keyframes discountShake{
  0%, 95%, 100%{transform:rotate(0deg);}
  96%{transform:rotate(-2deg);}
  97.3%{transform:rotate(2deg);}
  98.6%{transform:rotate(-1.5deg);}
  99.7%{transform:rotate(0deg);}
}
.discount-chip .d-label{
  font-size:11px; font-weight:700; color:#3a2413; text-align:center; line-height:1.45;
}
.discount-chip .d-amount{
  font-family:var(--font-serif); font-size:21px; font-weight:800; color:#3a2413; white-space:nowrap;
}
.discount-chip .d-amount small{
  font-size:11px; font-weight:700; margin-left:2px;
}
.plans-scroll{
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:6px 22px 22px; margin:0 -26px;
  -webkit-overflow-scrolling:touch;
}
.plans-scroll::-webkit-scrollbar{display:none;}
.plan-card{
  scroll-snap-align:center; flex:0 0 78%; max-width:320px;
  background:var(--white); border-radius:20px; border:1px solid var(--line);
  padding:26px 20px; position:relative;
  display:flex; flex-direction:column;
}
.plan-card.featured{
  border:2px solid var(--gold);
  box-shadow:0 14px 30px rgba(184,135,74,0.22);
}
.plan-badge{
  display:inline-block; align-self:flex-start; font-size:10.5px; padding:5px 12px; border-radius:999px;
  background:var(--purple-pale); color:var(--purple-deep); margin-bottom:14px; font-weight:700;
}
.plan-card.featured .plan-badge{
  background:linear-gradient(135deg,var(--gold-light),var(--gold)); color:#3a2413;
}
.plan-name{
  font-family:var(--font-serif); font-size:17px; font-weight:600; color:var(--purple-deep); margin-bottom:10px;
}
.plan-price-strike{
  font-size:12px; color:var(--ink-soft); text-decoration:line-through; margin-bottom:4px;
}
.plan-price{
  display:flex; align-items:baseline; gap:4px; margin-bottom:4px;
}
.plan-price .num{font-family:var(--font-serif); font-size:26px; font-weight:700; color:var(--ink);}
.plan-price .yen{font-size:12px; color:var(--ink-soft);}
.plan-price .tax{font-size:10px; color:var(--ink-soft);}
.plan-duration{
  font-size:11.5px; color:var(--ink-soft); margin-bottom:16px;
}
.plan-offer-tag{
  display:inline-block; align-self:flex-start; font-size:10px; font-weight:700; letter-spacing:0.02em;
  background:var(--gold-pale); color:#8a5c1f; padding:4px 10px; border-radius:999px; margin-bottom:16px;
}
.plan-upgrade-note{
  text-align:center;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius:12px; padding:14px 13px; margin-bottom:18px;
  box-shadow:0 8px 18px rgba(184,135,74,0.4);
}
.plan-upgrade-note .tag{
  display:block; font-size:10.5px; font-weight:700; color:#3a2413; letter-spacing:0.02em; margin-bottom:6px;
}
.plan-upgrade-note .txt{
  font-size:11px; color:#3a2413; line-height:1.5;
}
.plan-upgrade-note .txt .old{text-decoration:line-through; color:rgba(58,36,19,0.55); margin-right:6px;}
.plan-upgrade-note .txt .new{
  display:block; margin-top:2px;
  font-family:var(--font-serif); font-size:17px; font-weight:800; color:#3a2413;
}
.plan-upgrade-note .total-line{
  margin-top:10px; padding-top:10px; border-top:1px dashed rgba(58,36,19,0.3);
  font-size:11.5px; color:#3a2413; line-height:1.5;
}
.plan-upgrade-note .total-line strong{
  display:inline-block;
  font-family:var(--font-serif); font-size:21px; font-weight:800; margin:0 3px;
  animation:plansTagPulse 1.6s ease-in-out infinite;
}
.plan-upgrade-note .total-line .save{
  display:block; margin-top:3px; font-size:10.5px; font-weight:700; color:#D32F2F;
}
.plan-features{list-style:none; margin-bottom:22px;}
.plan-features li{
  display:flex; align-items:flex-start; gap:8px; font-size:11.5px; color:var(--ink-soft); line-height:1.6; margin-bottom:10px;
}
.plan-features li svg{width:13px; height:13px; flex:none; margin-top:3px; stroke:var(--gold); fill:none; stroke-width:2.4;}
.plan-btn{
  display:block; width:100%; text-align:center; padding:13px; border-radius:999px;
  font-size:12.5px; font-weight:700; text-decoration:none;
  background:var(--purple-pale); color:var(--purple-deep);
  margin-top:auto;
}
.plan-card.featured .plan-btn{
  background:linear-gradient(135deg,var(--gold-light),var(--gold)); color:#3a2413;
}
.plans-dots{display:flex; justify-content:center; gap:7px; margin-top:6px;}
.plans-dots .d{width:6px; height:6px; border-radius:50%; background:var(--line); transition:background 0.3s, width 0.3s;}
.plans-dots .d.active{background:var(--gold); width:18px; border-radius:4px;}

/* ================= CTA ================= */
.section-cta{
  background:var(--purple-deep);
  text-align:center;
  padding:70px 26px 60px;
  position:relative;
  overflow:hidden;
}
.section-cta .ear-motif{
  position:absolute; left:50%; top:16px; transform:translateX(-50%); width:150px; height:200px; opacity:0.08;
}
.cta-eyebrow{
  font-family:var(--font-en); font-style:italic; font-size:12.5px; color:var(--gold-light); letter-spacing:0.18em; margin-bottom:18px; position:relative;
}
.cta-title{
  font-family:var(--font-serif); font-weight:600; font-size:26px; color:#fff; line-height:1.6; margin-bottom:16px; position:relative;
}
.cta-sub{
  font-size:12.5px; color:rgba(255,255,255,0.72); line-height:1.9; margin-bottom:30px; position:relative;
}
.footer{
  text-align:center; padding:26px; padding-bottom:calc(26px + 84px + env(safe-area-inset-bottom,0px)); background:#0F2318; color:rgba(255,255,255,0.45); font-size:10.5px; line-height:1.8;
}
.footer .fname{font-family:var(--font-en); font-style:italic; color:rgba(255,255,255,0.7); font-size:12px; margin-bottom:6px;}

/* ================= FIXED CTA BAR ================= */
.fixed-cta{
  position:fixed;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:100%;
  max-width:500px;
  z-index:999;
  padding:14px 26px calc(14px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg, rgba(220,232,224,0) 0%, rgba(220,232,224,0.9) 22%, var(--bg) 46%);
}
.fixed-cta .btn-primary{margin:0;}

/* ================================================================
   RESPONSIVE: TABLET (768px+) / DESKTOP (1024px+)
   Mobile styles above stay the base; these widen the frame and
   reflow sections into multi-column layouts on larger screens.
   ================================================================ */
@media(min-width:768px){
  .frame{max-width:700px;}
  .fixed-cta{max-width:700px;}

  .section{padding:84px 44px;}
  .eyebrow{font-size:14px;}
  .section-title{font-size:27px;}
  .section-lead{font-size:14.5px;}

  /* hero: shallower banner instead of a tall mobile poster */
  .hero{aspect-ratio:16/9;}
  .hero-content{padding:0 48px 46px;}
  .hero-title{font-size:38px;}
  .hero-sub{font-size:14.5px; max-width:460px;}
  .buttons{flex-direction:row; gap:16px;}
  .buttons .btn-primary{width:auto; flex:1;}

  /* worries: 4 across */
  .worries-grid{grid-template-columns:repeat(4, 1fr); gap:16px;}

  /* solutions: 2x2 grid instead of stacked bands */
  .solutions-grid{display:grid; grid-template-columns:1fr 1fr;}
  .solution-band{
    border:1px solid rgba(255,255,255,0.12);
    margin:-1px 0 0 -1px;
    padding:32px 34px;
  }
  .solution-band.reveal-left, .solution-band.reveal-right{padding-left:34px; padding-right:34px;}

  /* about tsubo: intro text + image side by side */
  .tsubo-layout{display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start;}
  .tsubo-intro{margin-bottom:0; height:100%;}
  .tsubo-intro-text{max-width:100%;}
  .before-after-grid{flex-direction:row;}

  /* instructor: wider centered card, testimonials in a row */
  .instructor-card{max-width:640px; margin-left:auto; margin-right:auto; padding:36px 42px;}
  .instructor-photo{width:116px; height:116px;}
  .stat-circle{width:86px; height:86px;}
  .testimonials-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; align-items:stretch;}
  .testimonial{margin-bottom:0; height:100%;}

  /* plans banner: contained width */
  .plans-banner{max-width:620px; margin-left:auto; margin-right:auto; margin-bottom:36px;}

  .cta-title{font-size:32px;}
  .cta-sub{font-size:13.5px;}

  .fixed-cta{padding:16px 44px calc(16px + env(safe-area-inset-bottom,0px));}
  .fixed-cta .btn-primary{width:fit-content; min-width:300px; margin:0 auto;}
}

@media(min-width:1024px){
  .frame{max-width:1120px;}
  .fixed-cta{max-width:1120px;}

  .section{padding:100px 64px;}
  .section-title{font-size:32px;}

  .hero{aspect-ratio:21/9; min-height:520px;}
  .hero-title{font-size:46px;}
  .hero-sub{font-size:15px; max-width:520px;}

  .gallery-grid{grid-template-columns:repeat(8, 1fr);}

  /* plans: show all 3 cards side by side, no more swipe */
  .plans-scroll{
    overflow-x:visible;
    display:grid; grid-template-columns:repeat(3, 1fr);
    gap:24px;
    padding:6px 0 22px;
    margin:0;
  }
  .plan-card{flex:none; max-width:none; scroll-snap-align:none;}
  .plans-dots{display:none;}

  .cta-title{font-size:36px;}
}
