/* One-screen section pacing; original Dr.Lori artwork and visual language retained.
   The photo archive/reviews is the intentionally scrollable exception. */
:root { --landing-header-height: 92px; }
html { scroll-padding-top: 0; }

/* Landing: exactly the available height under the one-time top navigation. */
.hero { height: calc(100svh - var(--landing-header-height)); min-height: 0; }
.hero-grid {
  height: 100%; min-height: 0; padding-block: clamp(12px, 2.5svh, 28px) clamp(28px, 4svh, 40px);
}
.hero h1 { font-size: clamp(57px, min(7.2vw, 11svh), 105px); margin: clamp(12px,2.3svh,24px) 0 clamp(10px,1.8svh,19px); }
.hero-intro { font-size: clamp(14px, 1.22vw, 17px); line-height: 1.52; margin-bottom: clamp(12px,2svh,23px); }
.hero-proof { margin-top: clamp(11px,1.7svh,20px); }
.hero-art { min-height: 0; height: 100%; }
.hero-sticker {
  width: auto; height: min(72svh, 690px); max-width: none; max-height: none;
  object-fit: contain; aspect-ratio: 3 / 2;
  transform: translate(-4%, 4px);
}
.hero-note { bottom: clamp(40px,7svh,65px); }
.hero-scroller { bottom: 13px; }

/* Prices remain attached to the archive; fit their entire panel within one viewport without adding blank vertical space. */
#prices {
  min-height: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(25px, 4svh, 44px);
  padding-bottom: clamp(22px, 3.5svh, 38px);
}
.prices-top { margin-bottom: clamp(13px, 2.1svh, 24px); align-items: center; }
.prices-top h2 { font-size: clamp(45px, 5.1vw, 65px); margin-top: 7px; }
.prices-top > p { font-size: clamp(13px, 1.17vw, 15px); line-height: 1.47; }
.price-card { min-height: clamp(265px, 39svh, 342px); padding: clamp(17px, 2svh, 24px) clamp(16px, 1.9vw, 24px); }
.price-card-number { margin-bottom: clamp(12px, 2svh, 23px); }
.price-card h3 { margin-bottom: 11px; font-size: clamp(29px, 2.7vw, 38px); }
.price-card p { line-height: 1.44; margin-bottom: 14px; }
.price-bottom { padding-top: 12px; }
.price-disclaimer { margin-top: clamp(11px, 1.6svh, 18px); }

/* Booking: heading, animated sticker and the entire form within one viewport. */
.book-section {
  min-height: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(17px, 2.8svh, 35px) 0;
}
.book-header { margin-bottom: clamp(12px, 2svh, 23px); }
.book-header h2 { font-size: clamp(45px, 4.9vw, 66px); margin: 8px 0 12px; }
.book-header p { font-size: clamp(13px, 1.15vw, 16px); line-height: 1.4; }
.booking-grid { grid-template-columns: .83fr 1.17fr; gap: clamp(20px, 3vw, 40px); }
.gif-backdrop { height: clamp(260px, 48svh, 420px); }
.gif-button { height: 91%; }
.gif-caption { font-size: clamp(17px, 1.8vw, 22px); margin-top: 3px; }
.gif-caption small { margin-top: 3px; font-size: 11px; }
.booking-form { padding: clamp(19px, 2.5svh, 29px); }
.form-heading { margin-bottom: 13px; }
.form-heading h3 { font-size: 31px; margin-top: 5px; }
.form-row { margin-bottom: 9px; gap: 12px; }
.booking-form input:not([type=hidden]), .booking-form select, .booking-form textarea {
  margin-top: 5px; padding: 8px 11px; min-height: 40px;
}
.booking-form textarea { min-height: 60px; height: 62px; }
.form-wide { margin-bottom: 11px; }
.booking-form .submit-button { min-height: 44px; padding-block: 10px; }
.form-note { margin: 11px 0 0; }

/* Smaller laptops and medium-width screens. */
@media (min-width: 821px) and (max-width: 1100px) {
  .hero-sticker { height: min(65svh, 620px); }
  .hero h1 { font-size: clamp(56px, min(6.7vw, 10.4svh), 85px); }
  .hero-grid { padding-block: 14px 28px; }
  #prices { padding-inline: 26px; }
  .price-card { min-height: clamp(247px, 37svh, 320px); }
  .booking-grid { grid-template-columns: .73fr 1.27fr; gap: 20px; }
  .book-header h2 { font-size: clamp(43px, 4.7vw, 60px); }
  .gif-backdrop { height: clamp(240px, 42svh, 380px); }
}

/* Tablet: the landing can stack while staying on one screen. */
@media (max-width: 820px) {
  :root { --landing-header-height: 76px; }
  .hero-grid {
    display: flex; flex-direction: column; justify-content: space-around;
    align-items: center; gap: 0; min-height: 0; padding-block: 12px 30px;
  }
  .hero-copy { text-align: center; width: 100%; max-width: 590px; margin-inline: auto; }
  .hero h1 { font-size: clamp(52px, 6.8vw, 72px); margin: 10px 0; }
  .hero-intro { font-size: 14px; max-width: 520px; margin-inline: auto; margin-bottom: 10px; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; margin: 11px auto 0; }
  .hero-art { flex: 0 0 auto; min-height: 0; height: min(41svh, 410px); width: 100%; margin: 0 auto; }
  .hero-sticker { height: 100%; width: auto; max-height: none; max-width: none; transform: translate(-2%,0); }
  .hero-blob { width: 70%; height: 90%; left: 15%; top: 5%; }
  .hero-note { right: 10%; bottom: 23px; }
  .hero-scroller { bottom: 8px; }
  #prices { padding: 24px 22px; }
  .prices-top h2 { font-size: clamp(43px, 6.4vw, 56px); }
  .price-card { min-height: clamp(264px, 30svh, 335px); padding: 16px; }
  .price-card h3 { font-size: 30px; }
  .price-card p { font-size: 13px; }
  .price-grid { gap: 11px; }
  .book-section { padding-block: 19px; }
  .book-header h2 { font-size: clamp(44px, 6vw, 57px); }
  .book-header { margin-bottom: 16px; }
  .booking-grid { grid-template-columns: .8fr 1.2fr; gap: 18px; }
  .gif-backdrop { height: min(43svh, 360px); }
  .booking-form { padding: 18px; }
  .form-heading { margin-bottom: 10px; }
  .form-row { gap: 8px; margin-bottom: 8px; }
}

/* Phone: keep the photo visible but remove excessive vertical padding. */
@media (max-width: 680px) {
  .hero { height: calc(100svh - 76px); }
  .hero-grid { padding: 12px 0 29px; justify-content: space-between; }
  .hero-copy { flex: 0 0 auto; }
  .hero h1 { font-size: clamp(47px, 12.2vw, 63px); line-height: .9; margin: 10px 0 12px; }
  .hero-intro { font-size: 13px; line-height: 1.43; margin-bottom: 10px; }
  .eyebrow { padding: 7px 12px; font-size: 9px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { min-height: 44px; padding: 12px 18px; }
  .hero-proof { max-width: 350px; font-size: 11px; margin-top: 10px; }
  .hero-art { flex: 1 1 auto; min-height: 145px; height: auto; margin: 0 -14px; }
  .hero-sticker { height: min(33svh, 270px); width: auto; max-width: none; max-height: 100%; transform: translate(-2%,0); }
  .hero-blob { width: 80%; height: 78%; left: 10%; top: 11%; }
  .hero-scroller { bottom: 8px; }

  #prices { min-height: 0; padding: 16px 14px 15px; margin-inline: -7px; }
  .prices-top { margin-bottom: 9px; }
  .prices-top h2 { font-size: clamp(35px, 8.8vw, 45px); line-height: .98; margin: 5px 0 0; }
  .prices-top > p { margin-top: 9px; font-size: 12.5px; line-height: 1.32; }
  .price-grid { grid-template-columns: 1fr; gap: 8px; }
  .price-card { min-height: 0; padding: 12px 15px 10px; box-shadow: 3px 4px 0 var(--ink); }
  .price-card-number { margin: 0 0 4px; font-size: 9px; }
  .price-card h3 { margin: 0 0 5px; font-size: clamp(27px, 7vw, 32px); line-height: .93; }
  .price-card h3 br { display: none; }
  .price-card p { font-size: 12.5px; line-height: 1.31; margin: 0 0 8px; max-width: none; }
  .price-card-icon { top: 4px; right: 11px; font-size: 30px; }
  .price-bottom { padding-top: 7px; }
  .price-label { font-size: 15px; }
  .price-action { margin: 0; padding: 8px 10px; font-size: 11px; }
  .price-disclaimer { margin-top: 9px; font-size: 11px; line-height: 1.3; }

  .book-section { min-height: 0; padding: 12px 0 18px; }
  .book-header { margin-bottom: 8px; }
  .book-header .section-number { font-size: 10px; }
  .book-header h2 { font-size: clamp(32px, 8vw, 45px); line-height: .98; margin: 4px 0 8px; }
  .book-header p { font-size: 12.5px; line-height: 1.35; }
  .booking-grid { display:grid; grid-template-columns:1fr; gap: 9px; }
  .gif-side { width:100%; margin: 0 auto; }
  .gif-backdrop { height: clamp(105px, 17svh, 150px); max-width: 340px; margin-inline:auto; }
  .gif-backdrop:before { height: 85%; bottom: 0; width: 53%; left: 23%; }
  .gif-button { height: 100%; width: auto; max-width: 165px; }
  .gif-caption { font-size: 14px; margin-top: 2px; }
  .gif-caption small { font-size: 10px; margin-top: 0; }
  .gif-doodle-star-one, .gif-doodle-star-three { font-size: 30px; }
  .gif-doodle-star-two { font-size: 29px; }
  .gif-doodle-wave-one { width: 70px; }
  .gif-doodle-wave-two { width: 62px; }
  .booking-form { padding: 13px 14px; max-width: 560px; }
  .form-heading { margin-bottom: 8px; }
  .form-heading > span { font-size: 9px; }
  .form-heading h3 { font-size: 24px; margin-top: 2px; }
  .booking-form label { font-size: 10px; line-height: 1.2; }
  .form-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-bottom: 8px; }
  .booking-form input:not([type=hidden]), .booking-form select, .booking-form textarea {
    min-height: 37px; margin-top: 4px; padding: 7px 8px; font-size: 12px; border-radius: 7px;
  }
  .booking-form textarea { height: 44px; min-height: 44px; }
  .form-wide { margin-bottom: 8px; }
  .booking-form .submit-button { min-height: 40px; padding: 7px 12px; }
  .form-note { font-size: 9px; line-height: 1.2; margin: 8px 0 0; }
}

@media (max-width: 440px) {
  .hero-art { margin: 0 -10px; height: auto; min-height: 130px; }
  .hero-sticker { height:min(39svh, 310px); width:auto; }
  .hero-note { display: none; }
  .hero-proof { max-width:300px; }
  #prices { padding-inline: 12px; }
}

/* Extra-short displays: never obscure input fields or action buttons. */
@media (max-height: 690px) and (min-width: 821px) {
  .hero h1 { font-size: clamp(50px, 7vw, 73px); }
  .hero-sticker { height: min(68svh, 530px); }
  .hero-proof { margin-top: 9px; }
  .prices-top h2 { font-size: 44px; }
  .price-card { min-height: 250px; }
  .book-header h2 { font-size: 42px; }
  .book-header { margin-bottom: 9px; }
  .gif-backdrop { height: 37svh; }
}
@media (max-height: 700px) and (max-width: 680px) {
  .hero h1 { font-size: clamp(40px, 10.5vw, 51px); margin: 7px 0; }
  .hero-intro { font-size: 12px; line-height: 1.28; }
  .hero-actions .button { padding-block: 9px; min-height: 40px; }
  .hero-proof { margin-top: 6px; }
  .hero-sticker { height: min(28svh, 198px); }
  .price-card { padding-block: 9px; }
  .price-card p { font-size: 11.8px; margin-bottom: 5px; }
  .prices-top h2 { font-size: 33px; }
  .prices-top > p { font-size: 11.8px; }
  #prices { padding-block: 12px; }
  .gif-backdrop { height: 98px; }
  .book-header h2 { font-size: 30px; }
  .book-header p { font-size: 11.5px; }
  .book-header { margin-bottom: 4px; }
  .booking-grid { gap: 5px; }
  .booking-form { padding: 11px 13px; }
  .form-row { margin-bottom: 6px; }
  .form-heading { margin-bottom: 6px; }
  .gif-caption small { display: none; }
}

/* Reduced motion preference is respected by the original stylesheet. */

/* A 720–790px-tall laptop should see the complete enquiry form without scrolling. */
@media (max-height: 790px) and (min-width: 821px) {
  .book-section { padding-block: 15px; }
  .book-header { margin-bottom: 8px; }
  .book-header h2 { font-size: clamp(40px, 4.35vw, 54px); margin: 5px 0 8px; }
  .book-header p { font-size: 13px; line-height: 1.26; }
  .gif-backdrop { height: min(42svh, 360px); }
  .booking-form { padding: 15px 19px; }
  .form-heading { margin-bottom: 7px; }
  .form-heading h3 { font-size: 26px; margin-top: 3px; }
  .form-row { margin-bottom: 6px; gap: 9px; }
  .booking-form input:not([type=hidden]), .booking-form select, .booking-form textarea { min-height: 37px; margin-top: 4px; padding: 6px 9px; }
  .booking-form textarea { min-height: 49px; height: 49px; }
  .form-wide { margin-bottom: 8px; }
  .booking-form .submit-button { min-height: 40px; padding: 8px 13px; }
  .form-note { margin-top: 7px; }
}
@media (max-height: 700px) and (max-width: 680px) {
  #prices { padding-block: 9px; }
  .prices-top { margin-bottom: 6px; }
  .prices-top h2 { font-size: 31px; }
  .prices-top > p { font-size: 11px; line-height: 1.24; }
  .price-grid { gap: 6px; }
  .price-card { padding: 8px 11px 7px; }
  .price-card-number { font-size: 8px; margin-bottom: 2px; }
  .price-card h3 { font-size: 25px; margin-bottom: 3px; }
  .price-card p { font-size: 11px; line-height: 1.19; margin-bottom: 4px; }
  .price-bottom { padding-top: 4px; }
  .price-action { padding: 7px 9px; }
  .price-label { font-size: 14px; }
  .price-disclaimer { font-size: 10px; margin-top: 6px; line-height: 1.2; }
  .book-header h2 { font-size: 28px; margin-bottom: 5px; }
  .book-header p { font-size: 11px; line-height: 1.25; }
  .book-section { padding-block: 9px; }
  .gif-backdrop { height: 86px; }
  .gif-caption { font-size: 12px; }
  .booking-form { padding: 8px 11px; }
  .form-heading { margin-bottom: 4px; }
  .form-heading h3 { font-size: 22px; }
  .form-row { margin-bottom: 5px; gap: 5px; }
  .booking-form label { font-size: 9.6px; }
  .booking-form input:not([type=hidden]), .booking-form select, .booking-form textarea { min-height: 34px; padding: 5px 7px; margin-top: 3px; }
  .booking-form textarea { min-height: 39px; height: 39px; }
  .form-wide { margin-bottom: 6px; }
  .booking-form .submit-button { min-height: 37px; padding-block: 6px; }
  .form-note { font-size: 8.5px; margin-top: 5px; }
}

/* Comfortable touch targets when a phone has enough vertical space. */
@media (min-height: 761px) and (max-width: 680px) {
  .booking-form input:not([type=hidden]), .booking-form select { min-height: 44px; }
  .booking-form textarea { min-height: 48px; height: 48px; }
  .booking-form .submit-button { min-height: 44px; }
}
/* Keep a little breathing room on shorter phones, without clipping the form. */
@media (min-height: 701px) and (max-height: 760px) and (max-width: 680px) {
  .gif-backdrop { height: min(15svh, 114px); }
  .book-header { margin-bottom: 4px; }
}

/* Extremely short phones/landscape: favour legibility and scrolling over clipping. */
@media (max-width: 680px) and (max-height: 600px) {
  .hero { height: auto; min-height: calc(100svh - 76px); }
  .hero-grid { height: auto; min-height: calc(100svh - 76px); padding-bottom: 30px; }
  .hero-art { height: min(29svh, 190px); min-height: 165px; flex: 0 0 auto; }
}
