/* ==========================================================================
   Ananya International School, Lilapur: homepage redesign (index.html only)
   Every selector is prefixed hp- (or uses a hook that assets/js/site.js needs).
   ========================================================================== */



*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body{margin:0;background:var(--hp-cream);color:var(--hp-ink);font-family:var(--hp-sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hp-skip{position:absolute;left:12px;top:-100px;z-index:200;background:var(--hp-navy);color:#fff;padding:10px 16px;border-radius:8px}
.hp-skip:focus{top:12px}

.hp-wrap{max-width:1440px;margin:0 auto;padding:0 var(--hp-gutter);position:relative}
.hp-center{text-align:center}

/* typography */
.hp-h1{font-size:clamp(44px,5.1vw,74px);line-height:1.1;font-weight:600;letter-spacing:-.04em;color:var(--hp-navy)}
.hp-h2{font-size:clamp(36px,3.6vw,54px);line-height:1.1;font-weight:500;letter-spacing:-.035em;color:var(--hp-navy)}
.hp-lead{font-size:18px;line-height:1.65;color:var(--hp-ink);max-width:640px}
.hp-body{font-size:18px;line-height:1.7;color:var(--hp-ink)}
.hp-kicker{font-family:var(--hp-nav);font-size:17px;color:var(--hp-orange);margin-bottom:14px}

/* pill buttons (dashed inner rim, as in the reference) */
.hp-btns{display:flex;flex-wrap:wrap;gap:16px;align-items:center}

/* reveal on scroll (site.js adds .in) */
html.js .rv{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
html.js .rv.in{opacity:1;transform:none}
.hp-deco{position:absolute;pointer-events:none;user-select:none}

/* decorative art may bleed past the gutters, but never widens the page */
main{overflow-x:clip}

/* ---------- header ---------- */

/* ---------- hero ---------- */
.hp-hero{position:relative;padding:72px 0 64px;overflow-x:clip}
.hp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.hp-hero-copy{max-width:700px}
.hp-hero-copy .hp-h1{margin-bottom:30px}
.hp-hero-copy .hp-lead{font-size:18px;margin-bottom:18px;max-width:600px}
.hp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:40px 0 46px;max-width:600px}
.hp-stats li{padding:0 14px;border-left:1px solid var(--hp-rule);text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:86px}
.hp-stats li:first-child{border-left:0;padding-left:0;text-align:left}
.hp-stats strong{font-family:var(--hp-sans);font-weight:400;font-size:44px;line-height:1;color:var(--hp-orange);margin-bottom:8px}
.hp-stats span{font-family:var(--hp-serif);font-size:20px;line-height:1.25;color:var(--hp-navy)}
.hp-lifetime-vector{width:44px;height:auto;margin:0 auto 12px}
.hp-hero-art{justify-self:end;width:100%;max-width:640px}
.hp-hero-art img{width:100%;height:auto}

/* ---------- about ---------- */
.hp-about{padding:40px 0 120px;position:relative;overflow-x:clip}
.hp-about-grid{display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);gap:clamp(40px,4.9vw,70px);align-items:center}
.hp-about-media{position:relative;padding-top:40px;min-width:0}
.hp-about .hp-sky{display:none}
.hp-sky{position:absolute;left:4%;right:0;top:0;height:460px;border-radius:50% 50% 0 0/100% 100% 0 0;background:linear-gradient(180deg,#bcd8ef 0%,#dcebf8 70%,#f1f7fc 100%);z-index:0}
.hp-about-bg{position:absolute;left:-7%;top:-60px;width:50%;height:auto;z-index:1;pointer-events:none;user-select:none}
.hp-about-photo{position:relative;z-index:2;display:block;width:100%;margin-left:0;height:auto;aspect-ratio:601/818;object-fit:cover;object-position:center}
.hp-about-copy{padding-top:0;min-width:0}
.hp-about-copy .hp-h2{margin-bottom:26px}
.hp-about-vector{display:inline-block;width:58px;height:auto;vertical-align:-18px;margin-left:0;transform:none}
.hp-about-copy .hp-body{margin-bottom:34px}
.hp-circle-stats{display:flex;justify-content:space-between;align-items:center;margin-bottom:46px;max-width:620px}
.hp-circle{width:140px;height:140px;flex:0 0 140px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 0 0 4px rgba(255,255,255,.55),0 0 0 5px rgba(120,150,180,.25)}
.hp-circle strong{font-family:var(--hp-serif);font-weight:500;font-size:40px;line-height:1;color:var(--hp-navy);margin-bottom:4px}
.hp-circle span{font-size:17px;line-height:1.25;color:var(--hp-navy)}
.hp-circle--pink{background:#f1d2ca}
.hp-circle--yellow{background:#f5e6a5}
.hp-circle--green{background:#d7eed7}

/* ---------- why ---------- */
.hp-why{position:relative;background:var(--hp-sky);padding:90px 0 170px;overflow-x:clip}
.hp-wave-top{position:absolute;left:0;top:-1px;width:100%;height:150px;transform:translateY(-100%);display:block}
.hp-wave-bottom{position:absolute;left:0;bottom:-1px;width:100%;height:150px;display:block}
/* Why section: the top wave must sit flush on the section edge (no 1px gap) */
.hp-why>.hp-wave-top{top:0}
.hp-why-plane{left:.5%;top:150px;width:170px;height:auto}
.hp-why-leaf{left:0;bottom:80px;width:158px;height:auto;z-index:1}
.hp-why-tree{right:0;top:auto;bottom:90px;width:190px;height:auto;opacity:1}
.hp-why-head{max-width:1240px;margin:0 auto 70px}
.hp-why-head .hp-h2{margin-bottom:18px}
.hp-why-head .hp-lead{margin:0 auto;max-width:1000px;font-size:18px}
.hp-why-head .hp-script{font-size:.97em}
/* keep the description clear of the paper-plane vector between 1201px and 1400px */
@media (min-width:1201px) and (max-width:1400px){.hp-why-head .hp-lead{max-width:calc(100% - 340px)}}
@media (max-width:1200px){.hp-why-plane{display:none}}
.hp-why-grid{display:grid;grid-template-columns:minmax(0,1fr) 418px minmax(0,1fr);gap:56px;align-items:start}
.hp-why-col{display:flex;flex-direction:column;gap:58px;padding-top:6px}
.hp-why-card{display:flex;align-items:center;gap:22px}
.hp-why-icon{flex:0 0 104px;width:104px;height:104px;border-radius:50%;overflow:hidden}
.hp-why-icon img{width:100%;height:100%;object-fit:cover}
.hp-why-card h3{font-family:var(--hp-sans);font-size:20px;font-weight:500;color:var(--hp-navy);line-height:1.3;margin-bottom:8px}
.hp-why-card p{font-size:17px;line-height:1.55;color:var(--hp-ink)}
.hp-why-photo{margin:0;height:570px;border-radius:34px 34px 0 0;overflow:hidden;align-self:start}
.hp-why-photo img{width:100%;height:100%;object-fit:cover}

/* ---------- stages ---------- */
.hp-stages{padding:120px 0 130px;background:var(--hp-cream)}
.hp-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:start}
.hp-split--top .hp-body{padding-top:0;max-width:600px;justify-self:end}
.hp-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;margin-top:100px}
.hp-stage{position:relative}
.hp-stage-art{position:relative;margin-bottom:18px}
.hp-stage-art img{width:100%;height:auto}
.hp-stage-title{font-family:"Pacifico","Segoe Script","Comic Sans MS",cursive;font-weight:400;font-size:46px;line-height:1.2;color:var(--hp-orange);margin-bottom:6px}
.hp-stage-grade{font-size:19px;color:var(--hp-muted);margin-bottom:14px}
.hp-bullets li{position:relative;padding-left:20px;font-size:19px;line-height:1.9;color:var(--hp-ink)}
.hp-bullets li::before{content:"";position:absolute;left:4px;top:.9em;width:7px;height:7px;border-radius:50%;background:var(--hp-navy)}
.hp-stage-art .hp-curl{position:absolute;right:6%;bottom:-60px;width:65px;height:auto;z-index:2}

/* ---------- gallery ---------- */
.hp-discover{position:relative;padding:120px 0 110px;overflow-x:clip;background:linear-gradient(#fdf6e3,#fdf6e3) no-repeat 0 60px/100% calc(100% - 60px)}
.hp-wave-disc{top:0;height:90px;transform:none}
.hp-discover .hp-h2{margin-bottom:70px;max-width:700px}
.hp-gallery{position:relative;aspect-ratio:1.75/1}
.hp-polaroid{position:absolute;margin:0;background:#fffdf8;padding:14px 14px 18px;box-shadow:0 14px 28px rgba(60,40,10,.18),0 2px 4px rgba(60,40,10,.08)}
.hp-polaroid img{width:100%;height:auto;object-fit:cover}
.hp-polaroid figcaption{padding:14px 4px 0;display:flex;flex-direction:column;gap:4px}
.hp-polaroid small{font-size:14px;letter-spacing:.02em;color:#555;text-transform:none}
.hp-polaroid b{font-size:20px;font-weight:600;color:#111;line-height:1.25}
.hp-polaroid em{font-family:var(--hp-script);font-style:normal;font-size:22px;color:var(--hp-orange);line-height:1.2}
.hp-pol-1{left:1%;top:2%;width:34%;transform:rotate(-3deg)}
.hp-pol-2{left:18%;top:58%;width:25.7%;transform:rotate(3deg)}
.hp-pol-3{left:42.4%;top:64%;width:24.7%;transform:rotate(-2deg)}
.hp-pol-4{right:1%;top:0;width:31%;transform:rotate(3deg)}
.hp-note-card{position:absolute;left:37.6%;top:2%;width:25%;transform:rotate(-3deg);padding:6px 4px;z-index:3}
.hp-note-title{font-family:var(--hp-script);font-weight:400;font-size:clamp(22px,2.1vw,30px);line-height:1.2;color:var(--hp-orange);margin-bottom:12px}
.hp-note-card ul{margin-bottom:14px}
.hp-note-card li{position:relative;padding:8px 0 8px 26px;border-bottom:1px solid #d8cfbd;font-size:clamp(15px,1.25vw,18px);color:#222}
.hp-note-card li::before{content:"✓";position:absolute;left:0;top:6px;color:var(--hp-orange);font-size:18px;font-weight:700}
.hp-note-card p{font-size:clamp(14px,1.2vw,17px);color:#222}
.hp-note-plane{display:block;width:72%;max-width:none;height:auto;margin:18px 0 0 14%}

/* ---------- purpose ---------- */
.hp-purpose{padding:40px 0 140px;background:radial-gradient(ellipse 60% 70% at 0% 0%,#fdf1d6 0,rgba(253,241,214,0) 70%),var(--hp-cream)}
.hp-purpose-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:70px;align-items:start}
.hp-purpose-copy .hp-h2{margin-bottom:26px}
.hp-purpose-copy .hp-body{max-width:560px;margin-bottom:34px}
.hp-points{margin-bottom:44px;padding-left:16px}
.hp-points li{margin-bottom:26px}
.hp-points h3{font-family:var(--hp-sans);font-size:25px;font-weight:500;color:var(--hp-navy);line-height:1.3;letter-spacing:-.01em;margin-bottom:4px}
.hp-points p{font-size:18px;color:var(--hp-ink)}
.hp-purpose-media{position:relative;padding:20px 0 20px 0}
.hp-purpose-media::before{content:"";position:absolute;right:-6%;top:-5%;width:106%;height:auto;aspect-ratio:539/620;background:url("../journey-blob-bg.png") center/contain no-repeat;pointer-events:none}
.hp-blob{position:relative;z-index:1;margin-left:auto;width:94%}
.hp-blob img{width:100%;height:auto}
.hp-purpose-tag{position:absolute;left:-19%;top:12%;z-index:2;font-family:var(--hp-script);font-weight:400;font-size:clamp(18px,1.5vw,22px);line-height:1.25;white-space:nowrap;color:var(--hp-orange);transform:rotate(-16deg);text-align:center}
.hp-purpose-plane{position:absolute;left:-44%;top:46%;width:clamp(150px,13vw,190px);height:auto;z-index:2}

/* ---------- learning spaces ---------- */
.hp-spaces{padding:40px 0 130px;background:var(--hp-cream)}
.hp-spaces .hp-split--top{align-items:center;margin-bottom:70px}
.hp-spaces .hp-h2{margin:0}
.hp-split-copy{justify-self:end;max-width:600px}
.hp-split-copy .hp-body{margin-bottom:28px}
.hp-space-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px}
.hp-space{grid-column:span 2;padding:0 0 34px;display:flex;flex-direction:column}
.hp-space:nth-child(n+4){grid-column:span 3}
.hp-space--sage{background:#eef0dd}
.hp-space--sky{background:#e7f3fb}
.hp-space--rose{background:#fbefe9}
.hp-space--blush{background:#fbf0ec}
.hp-space--butter{background:#fcf3d4}
.hp-space-img{margin:34px 26px 0;height:250px;overflow:hidden;border-radius:46% 54% 44% 56%/30% 30% 70% 70%}
.hp-space:nth-child(n+4) .hp-space-img{height:300px}
.hp-space-img img{width:100%;height:100%;object-fit:cover}
.hp-space h3{font-family:var(--hp-sans);font-size:36px;font-weight:500;color:var(--hp-navy);letter-spacing:-.02em;line-height:1.15;padding:26px 30px 14px}
.hp-space h3 span{margin-right:2px}
.hp-space p{padding:0 30px;font-size:18px;line-height:1.65;color:#2b3a50}

/* ---------- shaping ---------- */
.hp-shaping{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;aspect-ratio:823/376;background:var(--hp-cream) url("../shaping-bg.png") center/cover no-repeat}
.hp-shaping-boy{position:absolute;left:5%;bottom:0;width:min(360px,29vw);height:auto;z-index:1}
.hp-shaping-globe{position:absolute;right:3%;bottom:0;width:min(340px,27vw);height:auto;z-index:1}
.hp-shaping-plane{left:33%;top:-6px;width:150px;height:auto;opacity:.9}
.hp-shaping-copy{position:relative;z-index:2;width:100%;min-width:0;padding:24px var(--hp-gutter);text-align:center}
.hp-shaping-copy .hp-h2{margin-bottom:22px;font-size:clamp(36px,4.3vw,62px)}
.hp-shaping-copy .hp-lead{margin:0 auto 30px;max-width:490px;font-size:17px}
.hp-shaping .hp-pill{min-height:54px;padding:0 20px;gap:8px;font-size:16px}
/* tablet + phone: the same background stays behind the centered copy.
   Taller min-height keeps the copy inside the artwork's empty centre band,
   and background-position keeps the art's lower edge (desk, books) in view */
@media (max-width:900px){
  /* full artwork shown at its natural 1440:595 proportion along the bottom;
     padding-bottom reserves that band so the centered copy never overlaps it */
  .hp-shaping{aspect-ratio:auto;background-size:100% auto;background-position:center bottom;padding-bottom:calc(100vw * .4132)}
  .hp-shaping-copy{padding:56px var(--hp-gutter) 40px}
  .hp-shaping-copy .hp-h2{font-size:clamp(34px,6.6vw,50px)}
}
@media (max-width:600px){
  .hp-shaping-copy{padding:44px var(--hp-gutter) 32px}
  .hp-shaping-copy .hp-lead{font-size:16px;margin-bottom:26px}
}

/* ---------- new chapter ---------- */
.hp-chapter{position:relative;padding:120px 0 150px;overflow:hidden;background:var(--hp-cream)}
.hp-chapter-tree{left:0;bottom:0;width:min(300px,28vw);height:auto;opacity:.95}
.hp-chapter-leaf{right:0;bottom:60px;width:190px;height:auto}
.hp-chapter-plane{right:6%;top:90px;width:190px;height:auto}
.hp-chapter-heart{position:absolute;right:21%;top:40px;width:34px;height:auto;fill:none;stroke:var(--hp-orange);stroke-width:1.6;stroke-linejoin:round;pointer-events:none}
.hp-chapter-head{margin-bottom:90px}
.hp-chapter-head .hp-h2{margin-bottom:14px;font-size:clamp(38px,4.6vw,66px)}
.hp-sub{font-size:18px;color:var(--hp-ink)}
.hp-steps-wrap{position:relative;max-width:900px;margin:0 auto}
.hp-steps-path{position:absolute;left:0;top:0;width:100%;height:340px;overflow:visible;z-index:0;pointer-events:none;fill:none;stroke:var(--hp-orange);stroke-width:2.4;stroke-dasharray:7 8;stroke-linecap:round}
.hp-steps-path path{vector-effect:non-scaling-stroke}
.hp-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;max-width:900px;margin:0 auto;padding-top:0}
.hp-step{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;z-index:1}
.hp-step--2{justify-content:flex-start}
.hp-step-icon{display:block;width:160px;height:160px;margin-bottom:22px;border-radius:50%;overflow:hidden}
.hp-step-icon img{width:100%;height:auto}

.hp-step-icon--pink{margin:24px 0 0}

.hp-step-no{font-family:var(--hp-sans);font-size:36px;line-height:1;color:var(--hp-navy);margin-bottom:10px;font-weight:400}
.hp-step h3{font-family:var(--hp-serif);font-size:28px;font-weight:600;color:var(--hp-navy);line-height:1.2;margin-bottom:12px}
.hp-step p{font-size:17px;line-height:1.6;color:#2b3a50;max-width:250px}
.hp-step--2 .hp-step-no{margin-top:0}
.hp-step--2 p{margin-bottom:6px}

/* ---------- enquiry ---------- */
.hp-enquire{padding:40px 0 130px;background:var(--hp-cream)}
.hp-enquire-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(40px,8.4vw,130px);row-gap:clamp(40px,6vw,96px);align-items:center}
.hp-form-card{background:#fffdf8;border:1px solid #ece7d9;border-radius:26px;padding:50px 46px 52px;position:relative;box-shadow:0 10px 30px rgba(60,50,30,.04)}
.hp-form-title{margin-bottom:34px;font-size:clamp(38px,3.6vw,52px)}
.hp-form{display:grid;gap:16px}
.hp-field{width:100%;min-height:58px;padding:0 20px;border-radius:14px;border:1px solid #e4dfd0;background:#f8f5ee;font-size:17px;color:#2a2a2a;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.hp-field::placeholder{color:#8f877a;opacity:1}
.hp-field:focus{border-color:var(--hp-blue);box-shadow:0 0 0 3px rgba(10,74,149,.12)}
.hp-field.is-bad{border-color:#b23b37;background:#fff5f4}
.hp-select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center;padding-right:48px;color:#8f877a}
.hp-select:valid{color:#2a2a2a}
.hp-textarea{min-height:120px;padding:16px 20px;resize:vertical}
.hp-submit{width:100%;min-height:62px;margin-top:8px}
.hp-submit::before{inset:6px}
.form-note{min-height:22px;font-size:15px;color:var(--hp-muted)}
.form-note:empty{display:none}
.form-done{text-align:center;padding:30px 10px}
.form-done .ok{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e4f3e5;margin-bottom:12px}
.form-done .ok svg{width:36px;height:36px}
.form-done h4{font-family:var(--hp-serif);font-size:28px;color:var(--hp-navy);margin-bottom:8px}
.form-done button{margin-top:16px;padding:12px 22px;border-radius:999px;border:1px solid var(--hp-blue);background:none;color:var(--hp-blue);font-family:var(--hp-nav)}
.hp-enquire-copy{position:relative}
.hp-enquire-copy .hp-h2{margin-bottom:24px}
.hp-enquire-copy .hp-body{margin:24px 0 34px;max-width:600px}
.hp-enquire-photo{width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;border-radius:22px;margin-top:44px}
.hp-enquire-note{position:absolute;left:calc(-1 * clamp(40px,8.4vw,130px) + 6px);top:225px;width:clamp(96px,8.4vw,124px);font-family:var(--hp-serif);font-style:italic;font-size:18px;line-height:1.25;color:var(--hp-orange);transform:rotate(-14deg);text-decoration:underline;text-decoration-color:var(--hp-orange);text-underline-offset:5px;pointer-events:none}
.hp-enquire-plane{left:calc(-1 * clamp(40px,8.4vw,130px) + 2px);top:400px;right:auto;width:clamp(100px,8.4vw,128px);height:auto;opacity:1}


/* ---------- footer (rebuilt to match reference) ---------- */

/* ---------- enquiry popup (markup in index.html, behaviour in site.js) ---------- */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.modal-scrim{position:absolute;inset:0;background:rgba(10,30,60,.55)}
.modal-card{position:relative;width:100%;max-width:640px;max-height:92vh;overflow:auto;background:#fffdf8;border-radius:24px;padding:40px 36px 34px;box-shadow:0 30px 70px rgba(10,30,60,.3)}
.modal-card h2{font-family:var(--hp-sans);font-size:32px;font-weight:500;color:var(--hp-navy);letter-spacing:-.02em;line-height:1.15;margin-bottom:12px;padding-right:30px}
.m-text{font-size:16px;line-height:1.6;color:var(--hp-ink);margin-bottom:22px}
.modal-x{position:absolute;top:12px;right:14px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;font-size:30px;line-height:1;color:var(--hp-navy)}
.modal-x:hover{background:#f1ede2}
.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-bottom:14px}
.modal-field{display:block}
.modal-field span{display:block;font-size:14px;color:var(--hp-navy);margin-bottom:6px}
.modal-field .hp-field{min-height:50px;font-size:16px}
.modal-consent{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;margin-bottom:18px}
.modal-consent input{margin-top:4px;width:18px;height:18px;accent-color:var(--hp-blue)}
.modal .hp-pill--solid{min-width:240px}
body.modal-open{overflow:hidden}

/* ==========================================================================
   Responsive
   ========================================================================== */



@media (max-width:1024px){
  .hp-hero{padding:48px 0 40px}
  .hp-hero-grid,.hp-about-grid,.hp-enquire-grid,.hp-purpose-grid{grid-template-columns:minmax(0,1fr)}
  .hp-hero-art{justify-self:center;max-width:560px}
  .hp-about-media{padding-top:40px;max-width:620px;margin:0 auto;width:100%}
  .hp-about-photo{width:100%}
  .hp-about-bg{width:46%;top:-30px;left:-6%}
  .hp-sky{height:380px}
  .hp-about-copy{padding-top:0}
  .hp-why-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px 36px}
  .hp-why-photo{grid-column:1 / -1;order:-1;height:460px;max-width:520px;margin:0 auto;width:100%;border-radius:28px}
  .hp-why-plane,.hp-why-tree,.hp-why-leaf{display:none}
  .hp-split{grid-template-columns:minmax(0,1fr);gap:24px}
  .hp-split--top .hp-body,.hp-split-copy{justify-self:start;padding-top:0}
  .hp-stage-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
  .hp-purpose-media{max-width:560px;margin:0 auto;width:100%}
  .hp-purpose-plane{display:none}
  .hp-purpose-tag{left:0;top:-24px}
  .hp-space-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hp-space,.hp-space:nth-child(n+4){grid-column:auto}
  .hp-space:last-child{grid-column:1 / -1;max-width:560px;margin:0 auto;width:100%}
  .hp-space-img,.hp-space:nth-child(n+4) .hp-space-img{height:240px}
  .hp-chapter-plane{display:none}
  .hp-chapter-heart{display:none}
  .hp-chapter-tree{opacity:.45;width:240px}
  .hp-chapter-leaf{display:none}
  .hp-enquire-plane,.hp-enquire-note{display:none}
  .hp-enquire-grid{column-gap:clamp(40px,6vw,96px)}
  .hp-gallery{height:auto;aspect-ratio:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px 28px;padding-bottom:20px}
  .hp-gallery .hp-polaroid,.hp-note-card{position:relative;left:auto;top:auto;width:auto;transform:none}
  .hp-pol-1{transform:rotate(-2deg)}
  .hp-pol-2{transform:rotate(2deg)}
  .hp-pol-3{transform:rotate(-1.5deg)}
  .hp-pol-4{transform:rotate(2deg)}
  .hp-note-card{grid-column:1 / -1;max-width:520px;margin:0 auto;width:100%;transform:rotate(-2deg)}
  .hp-pol-1,.hp-pol-4{grid-column:1 / -1;justify-self:center;max-width:560px;width:100%}
  .hp-note-plane{width:70%;margin:14px 0 0 15%}
}

@media (max-width:720px){
  body{font-size:16px}
  .hp-h1{font-size:clamp(40px,11.2vw,52px);line-height:1.1}
  .hp-h2{font-size:clamp(32px,8.8vw,42px);line-height:1.12}
  .hp-script{font-size:1.05em;white-space:normal}
  .hp-lead,.hp-body,.hp-hero-copy .hp-lead{font-size:16px;line-height:1.65}
  .hp-hero-copy{max-width:none}
  .hp-hero{padding:32px 0 24px}
  .hp-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0 34px}
  .hp-stats li{padding:0 8px;min-height:0}
  .hp-stats strong{font-size:34px}
  .hp-stats span{font-size:16px}
  .hp-lifetime-vector{width:36px}
  .hp-pill{min-height:52px;padding:0 20px;font-size:16px;width:auto}
  .hp-btns{gap:12px}
  .hp-btns .hp-pill{flex:1 1 auto}
  .hp-about{padding:20px 0 80px}
  .hp-about-media{padding-top:30px}
  .hp-about-photo{width:100%}
  .hp-about-bg{width:44%;top:-20px;left:-5%}
  .hp-about-vector{width:40px;margin-left:8px}
  .hp-sky{height:260px;left:0;right:0}
  .hp-circle-stats{gap:6px;justify-content:space-between;margin-bottom:34px}
  .hp-circle{width:auto;height:auto;aspect-ratio:1;flex:1 1 0;max-width:118px;margin:0}
  .hp-circle strong{font-size:30px}
  .hp-circle span{font-size:14px}
  .hp-why{padding:90px 0 120px}
  .hp-wave-top{height:90px;transform:translateY(-99%)}
  .hp-wave-bottom{height:90px}
  .hp-why-head{margin-bottom:44px}
  .hp-why-grid{grid-template-columns:minmax(0,1fr)}
  .hp-why-photo{height:340px;max-width:none;order:0}
  .hp-why-col{gap:36px}
  .hp-why-card{gap:16px}
  .hp-why-icon{flex-basis:76px;width:76px;height:76px}
  .hp-why-card h3{font-size:18px}
  .hp-why-card p{font-size:16px}
  .hp-stages{padding:80px 0 90px}
  .hp-stage-grid{grid-template-columns:minmax(0,1fr);gap:60px;margin-top:60px}
  .hp-stage-title{font-size:38px}
  .hp-stage-art .hp-curl{right:4%;bottom:-52px;width:56px}
  .hp-discover{padding:90px 0 80px}
  .hp-discover>.hp-wave-top{height:60px;transform:translateY(-99%)}
  .hp-discover .hp-h2{margin-bottom:40px}
  .hp-gallery{grid-template-columns:minmax(0,1fr);gap:44px}
  .hp-note-card{max-width:none}
  .hp-polaroid{max-width:100%}
  .hp-polaroid b{font-size:18px}
  .hp-note-title{font-size:26px}
  .hp-note-card li{font-size:16px}
  .hp-purpose{padding:20px 0 90px}
  .hp-purpose-copy .hp-body{margin-bottom:28px}
  .hp-points li{margin-bottom:20px}
  .hp-points h3{font-size:22px}
  .hp-purpose-tag{font-size:19px;left:0}
  .hp-blob{width:100%}
  .hp-purpose-media::before{width:100%;right:0}
  .hp-spaces{padding:20px 0 90px}
  .hp-spaces .hp-split--top{margin-bottom:44px}
  .hp-space-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .hp-space:last-child{max-width:none}
  .hp-space-img,.hp-space:nth-child(n+4) .hp-space-img{height:230px;margin:22px 18px 0}
  .hp-space h3{font-size:30px;padding:20px 22px 10px}
  .hp-space p{padding:0 22px;font-size:16px}
  .hp-chapter{padding:80px 0 110px}
  .hp-chapter-tree{width:150px;opacity:.35}
  .hp-chapter-head{margin-bottom:56px}
  .hp-chapter-head .hp-h2{font-size:clamp(32px,8.8vw,42px)}
  .hp-steps{grid-template-columns:minmax(0,1fr);gap:48px;max-width:420px;padding-top:0}
  .hp-step{flex-direction:column}
  .hp-step--2{flex-direction:column}
  .hp-step-icon{width:150px;height:150px}
  .hp-step-icon img{width:100%}
  .hp-step-icon--pink{margin:0 0 22px}
  .hp-step-no{font-size:30px}
  .hp-step h3{font-size:26px}
  .hp-enquire{padding:20px 0 90px}
  .hp-form-card{padding:34px 22px 36px;border-radius:20px}
  .hp-form-title{font-size:38px;margin-bottom:26px}
  .hp-field{min-height:54px;font-size:16px}
  .hp-enquire-photo{margin-top:34px;aspect-ratio:4/3;border-radius:18px}
  .modal{padding:12px}
  .modal-card{padding:32px 20px 24px;border-radius:20px}
  .modal-card h2{font-size:26px}
  .modal-grid{grid-template-columns:minmax(0,1fr)}
  .modal .hp-pill--solid{width:100%;min-width:0}
}

@media (max-width:360px){
  .hp-stats span{font-size:14px}
  .hp-pill{font-size:15px;padding:0 16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html.js .rv{transition:none;transform:none;opacity:1}
  .hp-pill,.hp-sub{transition:none}
}

