/* Iqra at Home — one motif: the eight-point star (۞) from the logo and the Mushaf */
:root {
  --teal: #0F5C55;
  --soft: #2E7F75;
  --mint: #DCEFE9;
  --gold: #F2A93B;
  --cream: #FBF6EC;
  --sand: #F3EBDA;      /* one tone step down from cream */
  --coral: #E9785E;
  --ink: #1E2A2A;
  --muted: #4A5856;

  --display: "Baloo Bhaijaan 2", "Nunito", system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;

  /* five type steps */
  --t-hero: clamp(46px, 5.8vw, 100px);
  --t-head: clamp(32px, 3.6vw, 56px);
  --t-state: clamp(24px, 2.6vw, 36px);
  --t-lead: clamp(18px, 1.35vw, 21px);
  --t-body: 17px;

  --m: clamp(16px, 3vw, 40px);          /* page margin */
  --gap: clamp(120px, 14vw, 200px);     /* between sections */

  /* the motif */
  --star: polygon(50% 0%, 64.64% 14.64%, 85.36% 14.64%, 85.36% 35.36%, 100% 50%, 85.36% 64.64%, 85.36% 85.36%, 64.64% 85.36%, 50% 100%, 35.36% 85.36%, 14.64% 85.36%, 14.64% 64.64%, 0% 50%, 14.64% 35.36%, 14.64% 14.64%, 35.36% 14.64%);
  --c: 12px; /* chamfer: the star's octagon, used for buttons and tiles */
  --oct: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--t-body)/1.55 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* buttons: the star's octagon */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font: 800 18px/1 var(--text); text-decoration: none; clip-path: var(--oct); transition: transform .18s var(--ease), background-color .18s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible { outline: none; background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F7BA5C; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; --c: 9px; }

/* bar */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 18px var(--m); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 46px; height: 46px; color: var(--cream); }
.brand-name { font: 500 26px/1 var(--display); letter-spacing: -0.01em; }
.brand-name b { font-weight: 800; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-weight: 700; font-size: 16px; text-decoration: underline 2px transparent; text-underline-offset: 6px; padding: 6px 0; transition: text-decoration-color .2s var(--ease); }
.nav a:hover { text-decoration-color: var(--gold); }

/* HERO */
.hero { position: relative; min-height: max(720px, 100svh); background: var(--teal); color: var(--cream); overflow: hidden; }
.hero-star { position: absolute; width: min(100vh, 66vw); aspect-ratio: 1; right: calc(min(100vh, 66vw) * -0.2); top: 8vh; clip-path: var(--star); background: var(--soft); }
.hero-star img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 2%); } }
.hero-copy { position: relative; z-index: 2; padding: calc(96px + 9vh) var(--m) 0; max-width: 50vw; }
.hero h1 { font-size: var(--t-hero); line-height: .96; letter-spacing: -0.03em; color: var(--cream); }
.hero-sub { margin-top: 22px; font-size: var(--t-lead); max-width: 34ch; color: #E6F2EE; }

.folders { position: absolute; z-index: 3; left: 7vw; right: 7vw; top: 64%; bottom: 0; }
.folder { position: absolute; left: 0; right: 0; bottom: 0; display: block; text-decoration: none; }
.folder .tab { position: absolute; top: -40px; height: 40px; padding: 0 22px; display: flex; align-items: center; font: 800 18px/1 var(--display); text-decoration: none; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%); transition: transform .2s var(--ease); }
.folder:hover .tab, .folder .tab:hover { transform: translateY(-4px); }
.f1 { top: 0; background: var(--mint); color: var(--teal); }
.f1 .tab { left: 62%; background: var(--mint); }
.f2 { top: 56px; background: var(--coral); color: var(--ink); }
.f2 .tab { left: 42%; background: var(--coral); }
.f3 { top: 112px; background: var(--gold); color: var(--ink); }
.f3 .tab { left: 22%; background: var(--gold); }
.f4 { top: 168px; background: var(--cream); color: var(--ink); }
.f4 .tab { left: 2%; background: var(--cream); color: var(--teal); }
.folder-body { display: flex; align-items: center; gap: 24px; padding: 30px 32px; flex-wrap: wrap; }
.folder-body p { font-weight: 700; font-size: 17px; }

/* INTRO statement */
.intro { padding: var(--gap) var(--m); display: grid; place-items: center; }
.statement { font: 700 var(--t-state)/1.2 var(--display); color: var(--teal); max-width: 26ch; text-align: center; letter-spacing: -0.01em; }
.thumb { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.24em; margin: 0 .1em; clip-path: var(--star); background: var(--sand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* HOW: tiles that grow */
.how { padding: 0 var(--m) var(--gap); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 10px; }
.how-title { grid-column: 1 / 8; grid-row: 1; font-size: var(--t-head); color: var(--teal); align-self: start; }
.tiles { grid-column: 1 / -1; grid-row: 1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 10px; align-items: end; }
.stage h3 { font-size: 24px; margin: 18px 0 8px; color: var(--teal); }
.stage p { max-width: 36ch; }
.tile { display: grid; place-items: center; overflow: hidden; clip-path: var(--oct); --c: 22px; }
.tile img { width: 72%; height: 82%; object-fit: cover; clip-path: var(--star); transition: transform .6s var(--ease); }
.stage:hover .tile img { transform: scale(1.05) rotate(4deg); }
.s1 { grid-column: 1 / 4; } .s1 .tile { height: 30vh; min-height: 220px; background: var(--mint); } .s1 .tile img { width: 58%; height: 76%; }
.s2 { grid-column: 4 / 8; } .s2 .tile { height: 44vh; min-height: 300px; background: var(--gold); }
.s3 { grid-column: 8 / 13; } .s3 .tile { height: 60vh; min-height: 400px; background: var(--teal); } .s3 .tile img { width: 86%; height: 86%; }

/* LEARN: two-column menu */
.learn { background: var(--teal); color: var(--cream); padding: 40px var(--m) var(--gap); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 96px; margin-bottom: 44px; }
.cat-head h2 { font-size: var(--t-head); color: var(--cream); }
.cat-head span { font-weight: 700; font-size: 17px; color: #CFE6E0; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 40px; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.bullet { width: 64px; height: 64px; clip-path: var(--star); background: var(--soft); transition: transform .4s var(--ease); }
.item:hover .bullet { transform: rotate(45deg); }
.bullet img { width: 100%; height: 100%; object-fit: cover; }
.item-line { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: 20px; }
.item-line b { font: 800 22px/1.2 var(--display); }
.item-line span { font-weight: 700; font-size: 17px; color: #F7C873; white-space: nowrap; }
.item-text { margin-top: 6px; color: #E6F2EE; max-width: 44ch; }
.item-note { margin-top: 6px; color: #F7C873; font-weight: 700; }

/* PRICING: two fields */
.pricing { display: grid; grid-template-columns: 5fr 7fr; min-height: 90svh; }
.plan { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 4vw, 56px) var(--m); }
.plan h2 { font-size: clamp(40px, 5vw, 84px); }
.plan-for { margin-top: 18px; font-size: var(--t-lead); max-width: 30ch; }
.plan-trial { background: var(--mint); color: var(--teal); }
.plan-trial .plan-for { color: var(--ink); }
.plan-family { background: var(--gold); color: var(--ink); }
.plan-family h2 { color: var(--ink); }
.plan-text { margin-top: 26px; max-width: 46ch; font-size: 17px; }
.plan-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.price { font: 800 clamp(72px, 9vw, 150px)/.85 var(--display); letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 14px; }
.price small { font: 700 18px/1 var(--text); letter-spacing: 0; }
.plan-family .btn-gold { background: var(--teal); color: var(--cream); }
.plan-family .btn-gold:hover { background: var(--ink); }

.calc { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.calc-label { font-weight: 800; font-size: 18px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.step { width: 52px; height: 52px; border: 0; font: 800 26px/1 var(--text); background: var(--teal); color: var(--cream); cursor: pointer; clip-path: var(--oct); --c: 10px; transition: transform .15s var(--ease), background-color .15s; }
.step:hover { background: var(--ink); }
.step:active { transform: scale(.92); }
.step:disabled { background: #B9842E; cursor: default; }
.count { min-width: 52px; text-align: center; font: 800 36px/1 var(--display); }
.calc-lines { font-weight: 700; font-size: 17px; flex-basis: 100%; }
[data-total] { display: inline-block; transition: transform .2s var(--ease); }
[data-total].bump { transform: scale(1.06); }

/* SHOWCASE: object on a star */
.pages { position: relative; min-height: 100svh; padding: var(--gap) var(--m); display: grid; grid-template-columns: 5fr 7fr; align-items: end; gap: 24px; }
.pages-stage { grid-column: 2; grid-row: 1; --w: min(66vh, 44vw); display: grid; justify-items: center; gap: 28px; }
.pages-art { position: relative; width: var(--w); aspect-ratio: 1; display: grid; place-items: center; }
.disc { position: absolute; inset: 0; clip-path: var(--star); background: var(--gold); transition: background-color .3s var(--ease), transform .6s var(--ease); }
.pages-figure { position: relative; margin: 0; width: 56%; height: 74%; transform: translateY(-9%); }
.pages-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); transform: translateY(8px); }
.pages-figure img.is-on { opacity: 1; transform: none; }
.pages-fact { width: var(--w); max-width: 100%; font-size: 17px; font-weight: 700; min-height: 3.2em; }
.pages-list { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }
.pages-title { font-size: clamp(28px, 2.9vw, 44px); color: var(--muted); font-weight: 700; line-height: 1.15; margin-bottom: 4px; }
.pages-list button { border: 0; background: none; padding: 2px 0; cursor: pointer; text-align: left; font: 800 clamp(28px, 2.9vw, 44px)/1.15 var(--display); color: var(--muted); transition: color .2s, transform .2s var(--ease); }
.pages-list button:hover { transform: translateX(6px); }
.pages-list button[aria-selected="true"] { color: var(--teal); }
.pages-list button[aria-selected="true"]::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .3em; clip-path: var(--star); background: var(--gold); vertical-align: .05em; }

/* FAQ */
.faq { background: var(--sand); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq-title { grid-column: 1 / 5; font-size: clamp(34px, 4vw, 64px); color: var(--teal); position: sticky; top: 96px; align-self: start; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq details { background: var(--cream); clip-path: var(--oct); --c: 14px; transition: background-color .25s var(--ease); }
.faq summary { list-style: none; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; font: 700 20px/1.25 var(--text); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] { background: var(--teal); color: var(--cream); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 24px; max-width: 56ch; font-size: 17px; }
.faq summary:hover { color: var(--soft); }
.faq details[open] summary:hover { color: var(--mint); }

/* BOOK: the coupon */
.book { padding: var(--gap) var(--m); }
.coupon { --n: 28px; position: relative; display: grid; grid-template-columns: 46fr 54fr; max-width: 1180px; margin: 0 auto; background: var(--teal); color: var(--cream);
  /* taste-skill-ignore: radial masks cut the coupon notches; nothing visible is a gradient */
  -webkit-mask: radial-gradient(circle var(--n) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore */
          mask: radial-gradient(circle var(--n) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore */ }
.coupon-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 52px 48px; border-right: 6px dotted var(--cream); }
.coupon-left h2 { font-size: clamp(36px, 3.6vw, 56px); color: var(--cream); }
.coupon-left p { max-width: 34ch; color: #E6F2EE; }
.coupon-right { display: grid; gap: 10px; padding: 48px; align-content: center; }
.coupon input, .coupon select { width: 100%; height: 54px; border: 0; padding: 0 18px; font: 600 17px/1 var(--text); background: #2B726A; color: var(--cream); clip-path: var(--oct); --c: 8px; appearance: none; }
.coupon select { background-image: none; cursor: pointer; }
.coupon input::placeholder { color: #CFE6E0; }
.coupon input:focus, .coupon select:focus { outline: none; background: #4A8C84; }
.hp { position: absolute !important; left: -9999px; width: 0; opacity: 0; }
.submit { margin-top: 6px; height: 58px; border: 0; font: 800 18px/1 var(--text); background: var(--gold); color: var(--ink); cursor: pointer; clip-path: var(--oct); --c: 10px; transition: transform .15s var(--ease), background-color .15s; }
.submit:hover { background: #F7BA5C; transform: translateY(-2px); }
.submit:active { transform: scale(.98); }
.submit:disabled { opacity: .7; cursor: wait; }
.form-msg { min-height: 1.5em; font-weight: 700; }

/* FOOTER */
.foot { background: var(--teal); color: var(--cream); padding: 72px var(--m) 32px; }
.foot-mark svg { width: 100%; height: auto; max-height: 34svh; display: block; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-top: 56px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.foot nav a, .foot-contact a { font-weight: 700; text-decoration: none; }
.foot nav a:hover, .foot-contact a:hover { color: var(--gold); }
.foot-contact p { margin-bottom: 8px; }
.credits { margin-top: 40px; font-size: 15px; color: #DCEDE8; max-width: 75ch; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* entrances (content stays visible without script) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1, .js .hero-sub, .js .folder { animation: rise .8s var(--ease) both; }
.js .hero-sub { animation-delay: .09s; }
.js .f1 { animation-delay: .2s; } .js .f2 { animation-delay: .28s; } .js .f3 { animation-delay: .36s; } .js .f4 { animation-delay: .44s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* TABLET */
@media (max-width: 1000px) {
  .nav { display: none; }
  .bar .btn-small { margin-left: auto; }
  .hero-copy { max-width: 70vw; }
  .pages { grid-template-columns: 1fr; }
  .pages-stage { grid-column: 1; grid-row: 1; }
  .pages-list { grid-row: 2; }
  .pages-stage { --w: 70vw; }
}

/* PHONE: its own composition */
@media (max-width: 700px) {
  .brand-name { font-size: 22px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-copy { max-width: none; padding-top: 104px; }
  .hero h1 { font-size: 11vw; line-height: .98; }
  .hero-sub { font-size: 17px; max-width: 30ch; }
  .hero-star { width: 78vw; right: -24vw; top: auto; bottom: 30%; }
  .folders { left: 0; right: 0; top: 66%; }
  .folder .tab { height: 32px; top: -32px; font-size: 15px; padding: 0 14px; }
  .f2 { top: 46px; } .f3 { top: 92px; } .f4 { top: 138px; }
  .f1 .tab { left: 66%; } .f2 .tab { left: 40%; } .f3 .tab { left: 18%; } .f4 .tab { left: 4%; }
  .folder-body { padding: 22px 16px; gap: 14px; }
  .folder-body .btn { width: 100%; }
  .folder-body p { font-size: 16px; }

  .intro { padding: 96px var(--m); place-items: start; }
  .statement { font-size: 24px; text-align: left; }

  .how { display: block; }
  .how-title { font-size: 34px; margin-bottom: 28px; }
  .tiles { display: grid; grid-template-columns: 1fr; row-gap: 32px; }
  .s1 .tile { height: 34vw; min-height: 180px; } .s2 .tile { height: 46vw; min-height: 240px; } .s3 .tile { height: 62vw; min-height: 300px; }
  .s1, .s2, .s3 { grid-column: 1; }
  .stage h3 { font-size: 20px; }

  .cat-head { padding-top: 64px; margin-bottom: 28px; }
  .cat-head h2 { font-size: 8.5vw; }
  .menu { grid-template-columns: 1fr; row-gap: 30px; }
  .item { grid-template-columns: 52px 1fr; gap: 16px; }
  .bullet { width: 52px; height: 52px; }
  .item-line b { font-size: 20px; }

  .pricing { grid-template-columns: 1fr; }
  .plan-family { order: -1; }
  .plan { min-height: 0; padding: 40px 20px 28px; }
  .plan-family { min-height: 70svh; }
  .plan h2 { font-size: 12vw; }
  .price { font-size: 22vw; }
  .plan-foot .btn { width: 100%; }

  .pages { padding: 96px var(--m); }
  .pages-stage { --w: 86vw; }
  .pages-list { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; }
  .pages-title { flex-basis: 100%; }
  .pages-list button, .pages-title { font-size: 26px; }

  .faq { display: block; padding: 96px var(--m); }
  .faq-title { position: static; font-size: 9vw; margin-bottom: 24px; }
  .faq-list { gap: 6px; }
  .faq summary { font-size: 18px; min-height: 64px; padding: 16px 20px; }
  .faq details p { padding: 0 20px 20px; font-size: 16px; }

  .book { padding: 96px 12px; }
  .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .coupon-left { border-right: 0; border-bottom: 6px dotted var(--cream); padding: 36px 24px; gap: 16px; }
  .coupon-right { padding: 28px 20px 32px; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot nav { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ===================== County and city pages ===================== */
.sub { --gap: clamp(96px, 9vw, 140px); }
.sub .bar { position: absolute; }
.page-hero { position: relative; background: var(--teal); color: var(--cream); overflow: hidden; display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: center; padding: 132px var(--m) 80px; min-height: min(640px, 92svh); }
.page-hero-copy { position: relative; z-index: 2; }
.crumbs { font-weight: 700; font-size: 15px; color: #CFE6E0; margin-bottom: 22px; }
.crumbs a { color: inherit; text-decoration: underline 2px transparent; text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease); }
.crumbs a:hover { text-decoration-color: var(--gold); }
.crumbs [aria-current] { color: var(--cream); }
.page-hero h1 { font-size: clamp(42px, 5.2vw, 88px); line-height: .98; letter-spacing: -0.03em; color: var(--cream); max-width: 15ch; }
.page-hero h1.long { font-size: clamp(38px, 5vw, 76px); max-width: 24ch; }
.sub .faq-title { font-size: clamp(32px, 3.2vw, 46px); }
.sub .coupon-left h2 { font-size: clamp(30px, 3vw, 44px); }
.page-hero .lead { margin-top: 22px; font-size: var(--t-lead); max-width: 44ch; color: var(--cream); }
.page-hero .actions { margin-top: 30px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.page-hero .actions p { font-weight: 700; max-width: 30ch; }
.page-star { justify-self: end; width: min(440px, 30vw); aspect-ratio: 1; clip-path: var(--star); background: var(--soft); }
.page-star img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }

.glance { background: var(--mint); padding: 64px var(--m); }
.glance h2 { font-size: var(--t-head); color: var(--teal); margin-bottom: 32px; }
.glance dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; margin: 0; }
.glance dt { font: 800 21px/1.2 var(--display); color: var(--teal); display: flex; gap: 10px; align-items: center; }
.glance dt::before { content: ""; flex: none; width: 16px; height: 16px; clip-path: var(--star); background: var(--gold); }
.glance dd { margin: 8px 0 0; font-size: 17px; max-width: 34ch; }

.prose-sec { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 36px; align-items: start; }
.prose-sec h2 { grid-column: 1 / -1; font-size: var(--t-head); color: var(--teal); max-width: 22ch; }
.prose-sec .prose { grid-column: 1 / 8; }
.prose-fig { grid-column: 9 / 13; margin: 0; width: 100%; max-width: 380px; justify-self: end; aspect-ratio: 1; clip-path: var(--star); background: var(--mint); }
.prose-fig img, .faq-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prose-sec:hover .prose-fig img { transform: scale(1.05) rotate(2deg); }
.faq-head { grid-column: 1 / 5; position: sticky; top: 96px; align-self: start; }
.faq-head .faq-title { position: static; }
.faq-fig { margin: 36px 0 0; width: min(260px, 80%); aspect-ratio: 1; clip-path: var(--star); background: var(--mint); }
.prose { font-size: 18px; line-height: 1.65; max-width: 66ch; }
.prose p + p { margin-top: 18px; }
.prose a, .places a, .towns-intro a, .week-intro a { color: var(--teal); font-weight: 800; }
.prose b { font-weight: 800; }

.places { padding: var(--gap) var(--m) 0; }
.places h2 { font-size: var(--t-head); color: var(--teal); max-width: 26ch; }
.places-intro { margin-top: 18px; font-size: 18px; max-width: 64ch; }
.place-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; }
.place-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; }
.place-list li::before { content: ""; width: 26px; height: 26px; clip-path: var(--star); background: var(--gold); margin-top: 2px; transition: transform .4s var(--ease); }
.place-list li:hover::before { transform: rotate(45deg); }
.place-list b { display: block; font: 800 22px/1.2 var(--display); color: var(--teal); }
.place-list span { display: block; margin-top: 4px; }
.place-list a { display: inline-block; margin-top: 6px; }
.places-note { margin-top: 36px; font-size: 16px; color: var(--muted); max-width: 72ch; }

.week { padding: var(--gap) var(--m) 0; }
.week h2 { font-size: var(--t-head); color: var(--teal); }
.week-intro { margin-top: 18px; font-size: 18px; max-width: 64ch; }
.days { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.days li { min-height: 150px; padding: 18px 16px; background: var(--sand); clip-path: var(--oct); --c: 14px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease); }
.days li b { font: 800 22px/1 var(--display); color: var(--teal); }
.days li span { font-size: 15px; font-weight: 600; color: var(--muted); }
.days li.on { background: var(--gold); }
.days li.on span { color: var(--ink); font-weight: 700; }
.days li:hover { transform: translateY(-4px); }

.sub .faq { margin-top: clamp(96px, 10vw, 140px); padding-top: clamp(80px, 8vw, 120px); padding-bottom: clamp(80px, 8vw, 120px); }

.nearby { padding: var(--gap) var(--m) 0; }
.nearby h2 { font-size: var(--t-head); color: var(--teal); }
.nearby ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.nearby a { font: 800 clamp(24px, 2.4vw, 34px)/1.2 var(--display); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: color .2s, transform .2s var(--ease); }
.nearby a::before { content: ""; width: .55em; height: .55em; clip-path: var(--star); background: var(--gold); transition: transform .4s var(--ease); }
.nearby a:hover { color: var(--teal); transform: translateX(4px); }
.nearby a:hover::before { transform: rotate(45deg); }

.towns { padding: var(--gap) var(--m) 0; }
.towns h2 { font-size: var(--t-head); color: var(--teal); }
.towns-intro { margin-top: 18px; font-size: 18px; max-width: 66ch; }
.town-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.town-list a { display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; padding: 26px 26px; background: var(--sand); clip-path: var(--oct); --c: 16px; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease), transform .2s var(--ease); height: 100%; }
.town-list a::before { content: ""; grid-row: span 2; width: 30px; height: 30px; clip-path: var(--star); background: var(--gold); transition: transform .4s var(--ease); }
.town-list a:hover { background: var(--mint); transform: translateY(-3px); }
.town-list a:hover::before { transform: rotate(45deg); }
.town-list b { font: 800 26px/1.15 var(--display); color: var(--teal); }
.town-list span { margin-top: 6px; font-size: 17px; }

.foot-areas { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; }
.foot-areas a { font-weight: 700; text-decoration: none; color: #DCEDE8; }
.foot-areas a:hover { color: var(--gold); }

@media (max-width: 1000px) {
  .sub .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .sub .faq { display: block; }
  .sub .faq-head { position: static; margin-bottom: 28px; }
  .sub .faq-fig { display: none; }
  .sub .coupon-left { border-right: 0; border-bottom: 6px dotted var(--cream); padding: 40px 32px; gap: 16px; }
  .prose-sec .prose { grid-column: 1 / 9; }
  .prose-fig { grid-column: 9 / 13; }
  .page-hero { grid-template-columns: 1fr; }
  .page-star { position: absolute; right: -18vw; bottom: -10vw; width: 56vw; opacity: .9; z-index: 1; }
  .page-hero-copy { padding-bottom: 28vw; }
  .glance dl { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .page-hero { padding: 104px var(--m) 48px; min-height: 0; }
  .page-hero h1 { font-size: 10.5vw; }
  .page-hero h1.long { font-size: 8vw; }
  .sub .coupon-left h2 { font-size: 30px; }
  .page-hero .lead { font-size: 17px; }
  .page-hero .actions .btn { width: 100%; }
  .page-star { width: 70vw; right: -22vw; bottom: -14vw; }
  .page-hero-copy { padding-bottom: 46vw; }
  .glance { padding: 48px var(--m); }
  .glance h2 { font-size: 30px; }
  .glance dl { grid-template-columns: 1fr; gap: 22px; }
  .prose-sec { display: block; padding-top: 88px; }
  .prose-sec h2 { font-size: 32px; margin-bottom: 18px; }
  .prose-fig { width: 52vw; margin: 28px 0 0 auto; }
  .faq-head { position: static; }
  .faq-fig { display: none; }
  .prose { font-size: 17px; }
  .places, .week, .nearby, .towns { padding-top: 88px; }
  .places h2, .week h2, .nearby h2, .towns h2 { font-size: 32px; }
  .place-list { grid-template-columns: 1fr; gap: 26px; }
  .days { grid-template-columns: 1fr 1fr; }
  .days li { min-height: 0; }
  .town-list { grid-template-columns: 1fr; }
  .nearby a { font-size: 24px; }
}

/* Home: towns we serve */
.areas { padding-bottom: 0; }
.areas-intro { margin-top: 18px; font-size: 18px; max-width: 62ch; }
