/* =========================
   GLOBAL / BASE
========================= */

:root {
  --font-main: 'Nunito', sans-serif;
  --font-script: 'Nothing You Could Do', cursive;

  --page-bg: #f4f1f1;
  --text: #2f2f2f;
  --color-dark-text: #2B5446;

  --color-button-bg: #478572;
  --color-button-text: #ffffff;
  --color-divider: #ddd;
  --color-footer-bg: #F9F7F7;

  --deep-green: #2f7a64;
  --teal: #23677a;
  --teal-section: #5fa090;

  --color-service-bg: #EEF6F4;
  --color-service-box: #CDE5DF;
  --color-service-text: #234338;

  --color-testimonial-bg: #F4F0F0;
  --color-testimonial-box: #F9F7F7;

  --form-bg: #d6e7e3;
  --card-border: #8c8c8c;
  --faq-box: #f4f0f0;

  --radius-md: 28px;
  --shadow: 0 16px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  background-color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a { color: inherit;
    font-family: nunito;
    font-style: normal;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: inherit;
}

main { overflow: hidden; }

.pre-line { white-space: normal; }

/* =========================
   SHARED HEADER
========================= */

header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem 10% .5rem;
  background: var(--page-bg);
  background-color:#fff;
  z-index: 50;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-divider);
}

.menu-left,
.menu-right {
  display: flex;
  flex: 1 1 0;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: .5rem;
}

.menu-left {
  justify-content: flex-start;
}

.menu-right {
  justify-content: flex-end;
}

.logo-container {
  flex: 0 0 auto;
}

.menu-left a,
.menu-right a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu-left a:hover,
.menu-right a:hover,
.dropdown-menu a:hover,
.footer-menu a:hover {
  text-decoration: underline;
}

.dropdown { position: relative; }

.dropbtn {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.dropbtn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #353535;
  border-bottom: 2px solid #353535;
  transform: rotate(45deg);
  margin-top: -3px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border-radius: 10px;
  padding: .5rem 0;
  z-index: 50;
}

.dropdown-menu a {
  display: block;
  padding: .5rem .9rem;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu { display: block; }

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: .5rem;
  text-align: center;
}

.logo-container,
.footer-logo {
  position: relative;
}

.logo-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-decoration: none;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: center / contain no-repeat url("../assets/site-logo.png");
}

.logo-text {
  margin-top: .3rem;
  font-size: .9rem;
  color: #333;
  letter-spacing: .01em;
}

/* Mobile menu button (hidden on desktop) */
.mobile-menu-btn {
  display: none;
}

/* Mobile nav (hidden until toggled) */
.mobile-nav {
  display: none;
}

/* =========================
   SHARED FOOTER
========================= */

footer {
  position: relative;
  background: var(--color-footer-bg);
  overflow: hidden;
}

footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-divider);
}

.footer-inner {
  padding: 2rem 10%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 4rem;
  row-gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.footer-logo .logo-img {
  width: 60px;
  height: 60px;
}

.footer-logo .logo-text {
  margin-top: .3rem;
  font-size: .9rem;
  color: #333;
}

.footer-info {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  color: #333;
  margin-top: 3rem;
}

.footer-info address {
  font-style: normal;
}

.footer-info p {
  margin: 0 0 .55rem;
}

.footer-menu {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: minmax(128px, 128px) 1fr;
  gap: 0 2rem;
  align-items: start;
}

.footer-menu a {
  display: block;
  margin: .4rem 0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.footer-fabric {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 35%;
  z-index: 0;
}

/* =========================
   SHARED TYPOGRAPHY
========================= */

.section-script-title,
.page-title,
.page-title-ribbon,
.section-ribbon,
.hero-banner,
.section-bar,
.nature-bar,
.quote-text {
  font-family: var(--font-script);
}

/* =========================
   HOME PAGE
========================= */

.page-home .value-section {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 420px);
  justify-content: center;
  align-items: center;
  padding: 4rem 10%;
  background: #f9f7f7;
  border-radius: 6px;
  font-family: var(--font-script);
  color: #2b5446;
  font-size: 1.4rem;
  font-style: italic;
}

.page-home .value-text-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.page-home .value-text-inner p {
  max-width: 31ch;
  margin: 0 auto;
}

.page-home .value-text-inner h2 {
  width: 25ch;
  margin: 0 0 .5rem;
}



.page-home .value-text-container button,
.page-home .button-link {
  padding: .75rem 1.5rem;
  font-size: 1rem;
  border: 0;
  background: var(--color-button-bg);
  cursor: pointer;
  align-self: flex-end;
  border-radius: 6px;
  color: #fff;
  margin-right: 2em;
  margin-top: 4rem;
  text-decoration: none;
  display: inline-block;
}

.page-home .value-image-container {
  width: 80%;
  margin: 0;
}

.page-home .value-image-container img {
  width: 300px;
  height: auto;
}

.page-home .services-section {
  background: var(--color-service-bg);
  color: var(--color-service-text);
  text-align: center;
  padding: 4rem 10%;
}

.page-home .service-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.page-home .service-image {
  width: 320px;
  height: 450px;
  background: url("../assets/home-services-image.jpg") center / cover no-repeat;
  position: relative;
  z-index: 1;
  transform: translateX(20px);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.page-home .service-box {
  position: relative;
  z-index: 2;
  border-radius: 25px;
  background: var(--color-service-box);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transform: translateX(-20px);
  font-size: .95rem;
  width: 288px;
  padding: 2rem 0;
}

.page-home .service-box h2 {
  display: inline-block;
  position: relative;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}

.page-home .service-box h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 150%;
  height: 1px;
  background: currentColor;
}

.page-home .service-box ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.page-home .service-box li {
  margin-bottom: 1rem;
}

.page-home .quote-section {
  background-color: #3d7176;
  padding: 2rem 10%;
  text-align: center;
}

.page-home .quote-text {
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.page-home .quote-large {
  font-size: 1.6rem;
  max-width: 60ch;
}

.page-home .quote-text + .quote-text {
  margin-top: 1.2rem;
}

.page-home .quote-by {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.25rem;
  color: #fff;
}

.page-home .receive-section {
  text-align: center;
  padding: 4rem 10%;
  background: url("../assets/home-receive-background.jpg") center / cover no-repeat;
}

.page-home .receive-container {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,.4);
}

.page-home .receive-container h2 {
  margin: 0 0 1rem;
  display: inline-block;
  padding-bottom: .25rem;
  position: relative;
  font-size: 1rem;
}

.page-home .receive-container h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
}

.page-home .receive-container ol {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  text-align: center;
}

.page-home .testimonials-section {
  --card-w: 300px;
  --card-gap: 20px;
  --box-pad: 3rem;
  --visible: 1;
  background: var(--color-testimonial-bg);
  text-align: center;
  padding: 4rem 10%;
}

.page-home .testimonials-section > .testimonials-container {
  text-align: left;
}

.page-home .testimonials-section h2 {
  margin: 0 0 2rem;
  display: inline-block;
  padding-bottom: .5rem;
  border-bottom: 1px solid #000;
  font-size: 1rem;
}

.page-home .testimonials-container {
  background: var(--color-testimonial-box);
  border-radius: 20px;
  padding: var(--box-pad);
  box-sizing: border-box;
  position: relative;
  width: calc((var(--card-w) * var(--visible)) + (var(--card-gap) * (var(--visible) - 1)) + (var(--box-pad) * 2));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-home .testimonial {
  width: 280px;
  border-radius: 16px;
  padding: .5rem 0;
}

.page-home .testimonial-imgwrap {
  width: 200px;
  height: 235px;
  border-radius: 15px;
  overflow: hidden;
  background: #ddd;
  margin: 0 auto;
}

.page-home .testimonial-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .testimonial p {
  margin-top: 1rem;
  color: #333;
}

.page-home .t-name {
  margin-top: .5rem;
  font-weight: 600;
  text-align: center;
}

.page-home .carousel {
  position: relative;
  overflow: visible;
}

.page-home .carousel-track {
  display: flex;
  gap: var(--card-gap);
  transition: transform 400ms ease;
}

.page-home .carousel-viewport {
  overflow: hidden;
  width: calc((var(--card-w) * var(--visible)) + (var(--card-gap) * (var(--visible) - 1)));
  margin: 0 auto;
}

.page-home .carousel-slide {
  min-width: var(--card-w);
  max-width: var(--card-w);
  flex: 0 0 var(--card-w);
}

.page-home .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #333;
  cursor: pointer;
  line-height: 30px;
  text-align: center;
  font-size: 18px;
  z-index: 2;
}

.page-home .carousel-prev { left: -50px; }
.page-home .carousel-next { right: -50px; }

/* =========================
   ABOUT PAGE
========================= */

.page-about main {
  overflow: hidden;
}

.page-about .top-spacer {
  height: 4rem;
}

.page-about .section-shell {
  width: 100%;
  margin: 0;
  position: relative;
}

.page-about .page-title-ribbon {
  width: 50%;
  margin-left: 0;
  background: #5b8f9d;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
  padding: 22px 34px 22px 10%;
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.page-about .page-title-ribbon--overlay {
  margin-bottom: -30px;
  z-index: 3;
}

.page-about .full-width-divider {
  height: 46px;
  background: var(--deep-green);
  width: 100%;
}

.page-about .full-width-divider--lower {
  height: 58px;
}

.page-about .full-width-divider--flush {
  margin-top: 0;
}

.page-about .about-band-one {
  width: 100%;
  background: #f9f7f7;
  padding: 4rem 4rem 6rem 4rem;
}

.page-about .about-grid,
.page-about .about-grid.reverse {
  width: min(1120px, calc(100% - 110px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 420px;
  gap: 56px;
  justify-content: center;
  align-items: start;
}

.page-about .about-grid.reverse {
  margin: 0 auto 4rem;
}

.page-about .about-grid.reverse .photo-card {
  order: 2;
}

.page-about .photo-card {
  display: flex;
  justify-content: flex-end;
}

.page-about .about-grid.reverse .photo-card {
  justify-content: flex-start;
}

.page-about .photo-card img {
  width: 85%;
  object-fit: cover;
}

.page-about .photo-card.hannah-1 img,
.page-about .photo-card.hannah-2 img {
  aspect-ratio: .72;
}


.page-about .text-col {
  max-width: 400px;
  font-size: 1.02rem;
}

.page-about .text-col p,
.page-about .studio-text p {
  margin: 0 0 18px;
}

.page-about .about-band-two .text-col p:last-of-type {
  margin-bottom: 0;
}

.page-about .about-grid.reverse .text-col {
  max-width: 520px;
  margin-left: 0;
  margin-right: 115px;
  justify-self: flex-end;
}

.page-about .section-ribbon {
  width: 50%;
  height: 64px;
  background: #2f6f7b;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
}

.page-about .section-ribbon--right {
  margin-left: 0;
  width: calc(100vw - 5%);
  padding: 20px 28px;
  margin-bottom: 28px;
}

.page-about .section-ribbon--left {
  margin: 0 0 -32px;
  padding-left: 10%;
  z-index: 5;
}

.page-about .section-block-wrap {
  width: 100%;
  margin: -32px 0 64px;
  position: relative;
  z-index: 3;
}

.page-about .section-block {
  width: 50%;
  height: 64px;
  background: #2f6f7b;
}

.page-about .frames-wrap {
  margin-top: 23px;
}

.page-about .frames-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.page-about .studio-shell {
  width: 100%;
  margin: 4rem 0px 0;
}

.page-about .studio-grid {
  width: min(1120px, calc(100% - 64px));
  margin: -32px auto 0;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.page-about .studio-text {
  margin-left: 150px;
  margin-top: 68px;
}

.page-about .studio-photo img {
  width: 80%;
  object-fit: cover;
}

.page-about .logos-row {
  width: min(650px, calc(100% - 90px));
  margin: 4rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 200px;
}

.page-about .logos-row img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
}

/* =========================
   BOOKING PAGE
========================= */

.page-booking .booking-page-title {
  text-align: center;
  color: #72aaa0;
  font-family: var(--font-script);
  line-height: 1.2;
  padding-top: 4rem;
  padding-bottom: 4rem;

}

h1.booking-page-title {
  font-size: 2rem; 
}

.booking-page-title .title-break {
  display: none;
}

.page-booking .cards-section {
  width: min(calc((1100 * 2) + 2rem), calc(100% - 80px));
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 2.4rem 2rem;
}

.page-booking .booking-card {
  background: #faf8f8;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  min-height: 250px;
  padding: 1.45rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.page-booking .booking-card h2 {
  color: #415d56;
  line-height: 1.1;
  font-weight: 700;
  font-size: 1rem;
}

.page-booking .booking-card .price {
  color: #556d66;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-booking .booking-card p {
  color: #5a6d68;
  line-height: 1.3;
  margin: .7rem 0 0;
  max-width: 90%;
  font-style: italic;
}

.page-booking .booking-card .card-btn {
  margin-top: auto;
  align-self: flex-end;
  background: #5b9c8a;
  color: #fff;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: 7px;
}

.page-booking .details-section {
  background: var(--teal-section);
  padding: 1.5rem 0 2rem;
}

.page-booking .details-inner {
  width: min(1150px, calc(100% - 80px));
  margin: 0 auto;
}

.page-booking .section-script-title {
  text-align: center;
  font-size: 1.5rem;
  color: #111;
  line-height: 1.2;
  margin: .5rem 0 1.2rem;
}

.page-booking .details-subtitle {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #16342e;
}

.page-booking .details-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 2.5rem;
  align-items: start;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
}

.page-booking .details-image {
  width: 100%;
}

.page-booking .details-copy ul {
  margin: .15rem 0 0;
  padding-left: 1.35rem;
}

.page-booking .details-copy li {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 1.15rem;
  color: #173632;
}

.page-booking .contact-section {
  background: var(--form-bg) url("../assets/booking-contact-bg.png") center / cover no-repeat;
  padding: 4rem;
}

.page-booking .contact-inner {
  width: min(760px, calc(100% - 80px));
  margin: 0 auto;
}

.page-booking .contact-status {
  text-align: center;
  padding: .85rem 1rem;
  border-radius: 8px;
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.page-booking .contact-status--ok {
  background: #e3efe7;
  color: #2b5446;
}

.page-booking .contact-status--error {
  background: #f4e3e3;
  color: #7b2f2f;
}

.page-booking .contact-form {
  display: grid;
  gap: 1rem;
}

.page-booking .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.page-booking .field {
  display: grid;
  gap: .35rem;
}

.page-booking input,
.page-booking textarea,
.page-booking select {
  width: 100%;
  font: inherit;
  padding: .75rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
}

.page-booking textarea {
  min-height: 140px;
  resize: vertical;
}

.page-booking .actions {
  text-align: right;
}

.page-booking .actions button {
  background: var(--color-button-bg);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  font: inherit;
  cursor: pointer;
}

/* =========================
   BUTTON INTERACTIONS
========================= */
/* Universal press feedback: every <button> dips on click.
   More specific rules below (e.g. carousel arrows) still win. */
button {
  transition: transform .12s ease, filter .18s ease,
              box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
button:not(.faq-question):active {
  transform: translateY(1px);
}

.page-home .button-link,
.page-booking .actions button,
.mobile-menu-btn,
.dropbtn,
.page-home .carousel-arrow {
  transition: background-color .18s ease, filter .18s ease,
              transform .12s ease, box-shadow .18s ease, color .18s ease;
}

/* Solid colored buttons */
.page-home .button-link:hover,
.page-booking .actions button:hover {
  filter: brightness(0.93);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.page-home .button-link:active,
.page-booking .actions button:active {
  filter: brightness(0.85);
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

/* Light bordered menu button */
.mobile-menu-btn:hover {
  background: #f5f5f5;
}
.mobile-menu-btn:active {
  background: #ebebeb;
  transform: translateY(1px);
}

/* Transparent nav dropdown button */
.dropbtn:hover {
  color: #2f6f7b;
}
.dropbtn:active {
  color: #1f4f57;
}

/* Carousel arrows */
.page-home .carousel-arrow:hover {
  color: #000;
}
.page-home .carousel-arrow:active {
  transform: translateY(-50%) scale(.85);
}
/* ================================
   Booking Page Cards + TidyCal
   Closed: 2-column card grid
   Open: selected card becomes full-width TidyCal panel
================================ */

/* Main card grid when all cards are closed */
.page-booking .cards-section {
  width: min(1100px, calc(100% - 80px));
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 2.4rem 2rem;
  align-items: start;
}

/* Normal closed card style */
.page-booking .booking-card {
  background: #faf8f8;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  min-height: 292px;
  padding: 1.45rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  transition: none;
}

.page-booking .booking-card h2 {
  margin-top: 0;
}

.page-booking .booking-card .price {
  margin-bottom: 1rem;
}

.page-booking .booking-card p {
  flex: 1;
}

/* Button reset for button version */
.page-booking .card-btn.booking-trigger {
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Hide TidyCal area when card is closed */
.page-booking .card-booking-area {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  margin-top: 0;
  pointer-events: none;
}

/* Hide non-selected cards once one card is open */
.page-booking .booking-card.is-hidden {
  display: none !important;
}

/* Expanded card: full-width, not 2-column */
.page-booking .booking-card.is-expanded {
  grid-column: 1 / -1;
  width: 100%;
  min-height: auto;
  display: block !important;
  padding: 1.45rem 1.35rem 1.2rem;
}

/* Hide original card content when expanded */
.page-booking .booking-card.is-expanded > h2,
.page-booking .booking-card.is-expanded > .price,
.page-booking .booking-card.is-expanded > p,
.page-booking .booking-card.is-expanded > .booking-trigger {
  display: none !important;
}

/* Show only TidyCal area when expanded */
.page-booking .booking-card.is-expanded > .card-booking-area {
  height: auto;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  pointer-events: auto;
  width: 100%;
}

/* TidyCal panel wrapper */
.page-booking .embedded-booking {
  border-left: none;
  border-top: none;
  padding-left: 0;
  padding-top: 0;
  width: 100%;
}

/* Header above TidyCal: title left, back button right */
.page-booking .embedded-booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.page-booking .embedded-booking-header h3 {
  margin: 0;
  font-size: 1.35rem;
}

/* Back button */
.page-booking .close-booking {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  margin-left: auto;
  white-space: nowrap;
}

/* TidyCal embed */
.page-booking .tidycal-embed {
  width: 100%;
  min-height: 750px;
}

/* Tablet / mobile */
@media (max-width: 900px) {
  .page-booking .cards-section {
    width: min(100% - 40px, 1048px);
    grid-template-columns: 1fr;
  }

  .page-booking .booking-card.is-expanded {
    grid-column: auto;
  }
}

/* Small mobile */
@media (max-width: 600px) {
  .page-booking .cards-section {
    width: min(100% - 28px, 1048px);
    gap: 1.5rem;
  }

  .page-booking .booking-card {
    padding: 1.25rem;
  }

  .page-booking .embedded-booking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .page-booking .close-booking {
    margin-left: 0;
    white-space: normal;
  }

  .page-booking .tidycal-embed {
    min-height: 800px;
  }
}

/* ================================
   Booking Notes Section
================================ */

.page-booking .booking-notes-section {
  width: min(1048px, calc(100% - 80px));
  margin: 0 auto 2.5rem;
  text-align: center;
}

.page-booking .booking-notes-section .section-script-title {
  margin-bottom: 1.5rem;
}

.page-booking .booking-notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.page-booking .booking-note {
  background: #faf8f8;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
}

/* =========================
   FAQ PAGE
========================= */

.page-faq .faq-section {
  padding: 4rem 0;
}

.page-faq .faq-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 170px;
  gap: 1.2rem;
  align-items: start;
  overflow: visible;
}

.page-faq .faq-center {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.page-faq .page-title {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 2.8rem;
  color: #1e1e1e;
  letter-spacing: .02em;
}

.page-faq .faq-list {
  display: grid;
  gap: 1.6rem;
}

.page-faq .faq-item {
  background: var(--faq-box);
  overflow: hidden;
}

.page-faq .faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #2e2e2e;
  font-family: inherit;
  font-size: 1.25rem;
  text-align: left;
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.page-faq .faq-question span:first-child {
  flex: 1;
}

.page-faq .faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
  transition: transform .22s ease;
}

.page-faq .faq-icon::before,
.page-faq .faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 12px;
  height: 1.7px;
  background: #555;
  border-radius: 999px;
}

.page-faq .faq-icon::before {
  left: 0;
  transform: rotate(45deg);
  transform-origin: left center;
}

.page-faq .faq-icon::after {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.page-faq .faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.page-faq .faq-answer {
  max-height: none !important;
  overflow: visible;
}

.page-faq .faq-icon {
  display: none;
}

.page-faq .faq-question {
  cursor: default;
}

.page-faq .faq-answer-inner {
  padding: 0 2rem 2rem;
  font-size: 1rem;
  color: #333;
}

.page-faq .faq-answer-inner ul {
  margin: 0;
  padding-left: 1.3rem;
}

.page-faq .faq-answer-inner li {
  margin: .42rem 0;
}

.page-faq .side-stack {
  display: grid;
  gap: 4.5rem;
  align-content: start;
  align-self: center;
}

.page-faq .side-stack img {
  max-width: 150px;
  height: auto;
}

/* Left fans: rotated vertical, pushed toward the left edge */
.page-faq .faq-layout > .side-stack:first-of-type img {
  transform: rotate(90deg);
  transform-origin: center;
  margin-left: -175px;
}

/* Right fans: mirrored, pushed toward the right edge */
.page-faq .faq-layout > .side-stack:last-of-type {
  justify-items: end;
}

.page-faq .faq-layout > .side-stack:last-of-type img {
  transform: rotate(-90deg);
  transform-origin: center;
  margin-right: -150px;
}

/* =========================
   PROCESS PAGE
========================= */

.page-process .hero {
  position: relative;
  min-height: 720px;
  background: url("../assets/process-hero.png") center top / cover no-repeat;
  overflow: hidden;
}

.page-process .shell {
  width: min(980px, calc(100% - 80px));
  margin: 0 auto;
}

.band-green .shell {
    width: min(780px, calc(100vw - 3rem));
}

.band-blue .shell {
    min(980px, calc(100% - 80px))
}

.band-gray .shell {
    text-align: center;
}

.page-process .hero-banner {
  background: #5c9688;
  color: #fff;
  padding: 1rem 2rem;
  width: min(760px, 80vw);
  position: relative;
  margin-left: 0;
  padding-left: 10%;
  margin-top: 4rem;
  z-index: 2;
}


.page-process .hero-banner h1 {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
}

.page-process .hero-banner p {
  font-size: 1.15rem;
}

.page-process .intro-card {
  text-align: center;
  max-width: 700px;
  padding: 2.5rem;
  margin: 4rem auto 4rem;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.page-process .analysis-lines {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 0;
    padding-top: 2rem;
}

.page-process .analysis-lines img {
  display: block;
  max-width: 25%;
  height: auto;
  margin: 0;
}

.page-process .quote-band {
    width: 100%;
    background: rgba(92, 150, 136, .93);
    color: #fff;
    text-align: center;
    padding: 1.2rem 1.5rem;
    margin-bottom: 4rem;
}

.page-process .quote-band p {
    width: min(1000px, 84vw);
    margin: 0 auto;
    font-family: 'Nothing You Could Do', cursive;
    font-size: 1.5rem;
    line-height: 1.35;
}

.page-process .page-title {
  text-align: center;
  padding: 3rem 10% 2rem;
  background: var(--page-bg);
}

.page-process .page-title h2 {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  color: #4b8072;
}

.page-process .page-title img {
  width: min(360px, 70vw);
  margin: .6rem auto 0;
}

.page-process .step-band {
  color: #fff;
  padding: 1rem 0;
}

.page-process .step-band h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
}

.page-process .step-band p {
  font-size: 1.1rem;
  font-family: var(--font-script);
}

.page-process .align-right .shell {
  text-align: right;
}

.page-process .band-red { background: linear-gradient(90deg, #f03a66, #ff3b2e); }
.page-process .band-green { background: linear-gradient(90deg, #7f9a73, #2cf10f); }
.page-process .band-gray { background: linear-gradient(90deg, #7e7e7e, #969696); }
.page-process .band-blue { background: linear-gradient(90deg, #2d6f8f, #4a8cac); }

.page-process .step-section {
  padding: 4rem 10%;
  background: #fff;
}

.page-process .two-col {
   width: min(980px, calc(100vw - 3rem));
   margin: 0 auto;
   display: grid;
   grid-template-columns: auto auto;
   gap: 5.5rem;
   align-items: center;
}

.page-process .two-col.reverse .col-text {
  order: 2;
}

.page-process .two-col:not(.reverse) .col-media {
  order: 1;
}

.page-process .copy-stack {
   display: grid;
   gap: 1.1rem;
   font-size: 1rem;
}

.page-process .copy-stack p {
  max-width: 430px;
}


.page-process .media-card img {
  max-width:400px;
}
    
.page-process .photo-strip {
  height: 190px;
  overflow: hidden;
}

.page-process .photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-process .intro-copy p {
  max-width: 60ch;
  margin: 0 auto;
}

.page-process .step-three-content {
  padding: 4rem 10%;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-three-content img {
    width: min(100%, 500px);
    margin: 0 auto;
    padding-top: 2rem;
    order: 2;
}

.page-process .step-three-copy {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.page-process .step-three-copy p {
  margin-bottom: 1rem;
}

.page-process .chart-large {
  width: min(720px, 100%);
  margin: 0 auto;
}

.page-process .step-four-copy {
  padding: 4rem 18%;
  background: #fff;
}

.page-process .step-four-copy p {
  max-width: 60ch;
}


.page-process .signature {
  min-height: 700px;
  background: url("../assets/process-signature-steps-hero.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-process .signature-card {
  text-align: center;
  width: 550px;
  max-width: calc(100vw - 3rem);
  padding: 3rem;
  margin: 8rem auto;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* =========================
   SCIENCE PAGE
========================= */

.page-science .science-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.page-science .science-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-science .hero-banner {
  position: absolute;
  left: 0;
  bottom: 35%;
  width: 50%;
  padding: 14px 36px 14px 10%;
  background: #5f5f5f;
  color: #fff;
  font-size: 2rem;
}

.page-science .section-bar {
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 12px 0;
  font-size: 1.5rem;
  margin-top: 2rem;
}

.page-science .blue { background: #1e4c7a; }
.page-science .red { background: #c45c5c; }
.page-science .green { background: #3e6c2e; }

.page-science .container {
  max-width: 560px;
  margin: auto;
  padding: 4rem 10%;
}

.page-science .flex,
.page-science .container.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.page-science .container.flex div {
  max-width: 480px;
}

.page-science .color-diagram {
  width: 300px;
}

.page-science .carotene-img,
.page-science .hemoglobin-img,
.page-science #hemoglobin-image {
  width: 200px;
}

.page-science #hemoglobin-image {
  margin-left: 0 !important;
  position: static !important;
}

.page-science #face-frame-section {
  padding: 0;
}

.page-science .face-frame {
  width: 100%;
  height: 190px;
  object-position: center;
  object-fit: none;
}

.page-science .nature-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.page-science .nature-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-science .nature-bar {
  position: absolute;
  bottom: 40%;
  width: 100%;
  text-align: center;
  background: #3e6c2e;
  color: #fff;
  font-size: 1.5rem;
  padding: 12px 0;
}

.page-science p.pre-line {
  max-width: 34ch;
}

.page-science #nature-text {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}

.page-science .icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 60px;
}

.page-science .icons img {
  width: 120px;
}

.page-science #carotene-section {
  padding-bottom: 2rem;
}

.page-science #hemoglobin-section {
  padding-top: 0;
}

.page-science #carotene-section,
.page-science #hemoglobin-section {
  gap: 60px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .page-booking .cards-section {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .page-booking .booking-card p {
    max-width: 100%;
  }

  .page-booking .details-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .page-booking .details-image-wrap {
    max-width: 390px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  header {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .page-about .about-band-one {
    padding: 0;
  }

  .page-about .about-band-one .text-col p:nth-of-type(2) {
    margin: 0 0 2rem;
  }

  .page-about .section-ribbon--right {
    display: none !important;
  }

  .page-about .about-grid,
  .page-about .about-grid.reverse {
    width: 100%;
    margin: 0;
    display: block;
    padding: 2rem;
  }

  .page-about .about-grid.reverse .photo-card {
    order: 0;
  }

  .page-about .photo-card {
    display: block;
    width: auto;
    float: none;
  }

  .page-about .photo-card img {
    object-fit: scale-down;
  }

  .page-about .photo-card.hannah-1,
  .page-about .photo-card.hannah-2 {
    width: 300px;
    max-width: 100%;
    aspect-ratio: .72;
    overflow: hidden;
    margin: 2rem auto;
  }

  .page-about .photo-card.hannah-1 img,
  .page-about .photo-card.hannah-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }

  .page-about .photo-card.hannah-1 img {
    object-position: center 20%;
    transform: scale(1.6);
  }

  .page-about .photo-card.hannah-2 img {
    object-position: center 90%;
    transform: scale(1.2);
  }

  .page-about .text-col p,
  .page-about .studio-text p {
    margin: 0 0 18px;
    font-size: .9rem;
  }

  .page-about .section-block-wrap {
    width: 100%;
    margin: -27px 0 0;
    position: relative;
    z-index: 3;
  }

  .page-about .about-grid::after {
    content: "";
    display: block;
    clear: both;
  }

  .page-about .text-col,
  .page-about .about-grid.reverse .text-col {
    max-width: none;
    margin: 0;
    justify-self: auto;
  }

  .page-about .studio-shell {
    width: 100%;
    margin-top: 1rem;
  }

  .page-about .studio-photo img {
    width: 100%;
  }

  .page-about .studio-text p:last-child {
    margin-bottom: 0;
  }

  .page-about .studio-grid {
    width: min(1120px, calc(100% - 64px));
    grid-template-columns: 1fr;
  }

  .page-about .studio-text {
    margin-left: 0;
    margin-right: 0;
  }

  .page-faq .faq-layout {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 0;
  }

  .page-faq .faq-item {
    margin: 0 2rem;
  }

  .page-faq .faq-answer-inner {
    font-size: .9rem;
    padding: 0 1rem 1rem;
  }

  .page-faq .faq-question {
    padding: 1rem 1rem .5rem;
    font-size: 1rem;
  }

  .page-faq .faq-list {
    gap: 1rem;
  }

  .page-about .logos-row {
    width: 100%;
    margin: 2rem auto;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 2rem;
  }

  .page-about .logos-row img {
    max-height: 50px;
  }

  .page-about .logos-row img:nth-child(2) {
    max-height: 75px;
  }

  .page-faq .side-stack {
    display: grid;
    gap: 6.5rem;
    align-self: center;
  }

  .page-faq .side-stack img {
    max-width: 130px;
  }

  .page-faq .faq-layout > .side-stack:first-of-type img {
    margin-left: -50px;
  }

  .page-faq .faq-layout > .side-stack:last-of-type img {
    margin-right: 0;
    margin-left: -56px;
  }

  .page-process .two-col,
  .page-process .two-col.reverse {
    width: 100%;
    display: block;
  }

  .page-process .step-section .col-text {
    display: block;
    text-align: justify;
  }

  .page-process .step-section .col-media {
    width: 220px;
    margin: 0;
    shape-outside: circle(50%);
    shape-margin: 0;
  }

  .page-process .two-col:not(.reverse) .col-media {
    float: left;
    margin: 0 1.25rem .5rem 0;
  }

  .page-process .two-col.reverse .col-media {
    float: right;
    margin: 0 0 .5rem 1.25rem;
  }

  .page-process .step-section .col-media img {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .page-process .step-section::after {
    content: "";
    display: block;
    clear: both;
  }

  .page-process .two-col.reverse .col-text {
    order: initial;
  }

  .page-process .align-right .shell {
    text-align: left;
  }

  .page-process .analysis-lines {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .page-process .analysis-lines img {
    max-width: 30%;
  }

  .page-science .hero-banner {
    width: min(760px, 82vw);
    padding-left: 6vw;
  }
}

@media (min-width: 769px) {
  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-text {
    white-space: nowrap;
    max-width: none;
    text-align: center;
    margin-top: .3rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.25rem;
    gap: 0;
  }

  /* Hide desktop navs */
  .menu-left,
  .menu-right {
    display: none;
  }

  /* Logo side-by-side on mobile */
  .logo-container {
    width: fit-content;
    align-self: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
    text-align: left;
  }

  .logo-text {
    font-size: .85rem;
    letter-spacing: .08em;
    line-height: 1.5;
    margin-top: 0;
    max-width: 5em;
    text-align: left;
  }

  /* Full-width menu bar button */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 97%;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: .6rem 1rem;
    font: 500 1rem var(--font-main);
    color: #333;
    cursor: pointer;
    margin: .5rem auto 0;
  }

  .hamburger-icon {
    display: inline-block;
    width: 18px;
    vertical-align: middle;
  }

  .hamburger-icon span {
    display: block;
    height: 2px;
    width: 18px;
    background: #333;
    border-radius: 2px;
    margin-bottom: 4px;
  }

  .hamburger-icon span:last-child {
    margin-bottom: 0;
  }

  .mobile-menu-btn[aria-expanded="true"] {
    position: relative;
    z-index: 2;
  }

  /* Mobile nav dropdown */
  .mobile-nav {
    display: none;
    position: relative;
    z-index: 1;
    width: 97%;
    margin: -0.75rem auto 0;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 1rem 0 .5rem;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav a {
    padding: .7rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav a:hover {
    background: #f7f7f7;
  }

  .page-booking .cards-section,
  .page-booking .details-inner,
  .page-booking .contact-inner {
    width: calc(100% - 4rem);
  }

  .page-booking .booking-card {
    border-width: 1px;
    min-height: auto;
  }

  .page-booking .details-copy li {
    font-size: 1rem;
  }

  .page-booking .contact-section .section-script-title {
    margin: 0 0 2rem;
  }

  .page-booking .contact-form {
    gap: .75rem;
  }

  .page-booking .form-row {
    display: contents;
  }

  .page-booking input {
    height: 2.5rem;
    font-size: .9rem;
  }

  .page-booking label {
    font-size: .9rem;
  }

  .page-booking textarea {
    font-size: .9rem;
    min-height: 0;
    height: calc(4 * 1.4em + 1.5rem);
  }

  .page-booking .field {
    gap: .2rem;
  }

  .page-booking .actions {
    text-align: center;
  }

  .page-booking .actions button {
    width: 100%;
    margin-top: .5rem;
  }
}

@media (max-width: 768px) {
  .page-science .hero-banner,
  .page-science .section-bar,
  .page-science .nature-bar,
  .page-about .section-ribbon,
  .page-about .page-title-ribbon,
  .page-faq .page-title,
  .page-booking .booking-page-title {
    font-size: 1.5rem;
  }

  .page-science .section-bar {
    margin-top: 1rem;
  }

  .page-booking .booking-page-title {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .booking-page-title .title-break {
    display: inline;
  }

  .page-booking .section-script-title {
    font-size: 1.5rem;
  }

  .page-booking .booking-card h2,
  .page-booking .booking-card p {
    font-size: .9rem;
  }

  .page-booking .booking-card h2 {
    margin-bottom: .25rem;
  }

  .page-booking .booking-card .price {
    font-size: .9rem;
  }

  .page-booking .booking-card p {
    flex: initial;
    margin: 0 0 1rem;
  }

  .page-booking .booking-card .card-btn {
    align-self: stretch;
    width: 100%;
    text-align: center;
    font-size: .9rem;
    padding: .75rem 1.5rem;
    box-sizing: border-box;
  }

  .logo-img {
    width: 72px;
    height: 72px;
  }

  .page-home .value-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  .page-home .value-text-inner {
    align-items: flex-start;
    text-align: left;
    padding-bottom: 2rem;
  }

  .page-home .value-text-inner p {
    max-width: 20ch;
  }

  .page-home .value-text-inner h2 {
    width: auto;
  }

  .page-home .receive-section {
    padding: 2rem;
  }

  .page-home .receive-container {
    padding: 2rem 1rem;
    font-size: .9rem;
  }

  .page-home .testimonials-section { --box-pad: 1rem; }

  .page-home .testimonials-container {
    padding: 1.5rem 1rem;
    align-items: flex-start;
  }

  .page-home .carousel-track {
    align-items: flex-start;
  }

  .page-home .testimonial {
    width: 100%;
    box-sizing: border-box;
  }

  .page-home .testimonial p {
    max-width: 100%;
    margin: 1rem auto 0;
  }

  .page-home .testimonials-section {
    font-size: .9rem;
  }

  .page-home .carousel-prev { left: -25px; }
  .page-home .carousel-next { right: -25px; }

  .page-home .carousel-arrow {
    font-size: 36px;
  }

  .page-home .value-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .page-home .value-image-container img {
    width: 220px;
    height: auto;
    margin-left: auto;
  }

  .page-home .button-link {
    display: none;
  }

  .page-home .quote-large {
    font-size: 1.25rem;
  }

  .page-home .service-wrapper {
    flex-direction: column;
    position: relative;
    margin-top: 0;
  }

  .page-home .service-image {
    transform: none;
    width: 320px;
    height: 450px;
    margin: 0 auto;
  }

  .page-home .service-box h2 {
    display: table;
    margin: 0 auto;
  }

  .page-home .service-box h2::after {
    width: 150%;
  }

  .page-home .service-box {
    transform: none;
    color: #000000c9;
    width: 320px;
    height: 450px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    background: rgba(205, 229, 223, 0.6);
    backdrop-filter: blur(2px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
  }

  .page-about .frames-wrap {
    margin-top: 0;
  }

  .page-about .frames-wrap img,
  .page-process .photo-strip {
    height: 118px;
  }

  .page-about .section-ribbon,
  .page-about .page-title-ribbon {
    width: 100%;
  }

  .page-process .hero {
    min-height: 0;
    padding-bottom: 3rem;
  }

  .page-process .intro-card,
  .page-process .signature-card {
    padding: 1.5rem;
    border-radius: 22px;
    margin: 1.5rem;
  }

  .page-process .intro-card,
  .page-process .signature-card {
    max-width: 500px;
    margin: 2rem auto;
  }

  .page-process .intro-copy p,
  .page-process .signature-card p {
    white-space: normal;
  }

  .page-process .media-card img {
    max-width: 220px;
    margin: 0 auto;
  }

  .page-process .copy-stack p {
    max-width: none;
    font-size: .9rem;
    margin-bottom: 1.1rem;
  }

  .page-process .copy-stack p:last-child {
    margin-bottom: 0;
  }

  .page-process .step-three-content {
    display: block;
    text-align: left;
  }

  .page-process .step-three-content img {
    float: none;
    width: 80%;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding-top: 0;
    shape-outside: none;
  }

  .page-process .step-three-copy {
    text-align: justify;
  }

  .page-process .page-title {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--page-bg);
  }

  .page-process .page-title h2 {
    font-family: var(--font-script);
    font-size: 1.75rem;
    font-weight: 400;
    color: #4b8072;
  }

  .page-process .hero-banner h1 {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 1.5rem;
  }

  .page-process .step-band h3 {
    font-size: 1.5rem;
  }

  .page-process .intro-copy {
    font-size: .9rem;
  }

  .page-process .step-three-copy {
    font-size: .9rem;
  }

  .page-process section.step-four-copy {
    font-size: .9rem;
  }

  .page-process .signature-card {
    font-size: .9rem;
  }

  .page-process .step-four-copy {
    padding: 2rem;
    background: #fff;
  }

  .page-process .step-three-content {
    padding: 2rem;
    background: #fff;
    text-align: center;
  }

  .page-process .step-section {
    padding: 2rem;
    background: #fff;
  }

  .page-process .hero-banner {
    width: fit-content;
    max-width: calc(100% - 1.5rem);
    padding: 1rem 1.2rem;
    margin: 2rem auto 0 0;
  }

  /* intro banner is itself .shell */
  .page-process .hero-banner.shell {
    width: fit-content;
    max-width: calc(100% - 1.5rem);
  }

  /* signature banner has an inner .shell */
  .page-process .hero-banner .shell {
    width: auto;
  }

  .page-process .signature {
    min-height: 0;
  }

  .page-process .quote-band {
    margin-bottom: 0;
  }

  .page-science .flex,
  .page-science .container.flex {
    flex-direction: column;
    gap: 1rem;
  }

  .page-science .icons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  .page-science .icons img {
    width: 80px;
  }

  .page-science #nature-text,
  .page-science .pre-line {
    font-size: .9rem;
  }

  .page-science #nature-text {
    text-align: center;
    white-space: normal;
  }

  .page-science #carotene-section p.pre-line,
  .page-science #hemoglobin-section p.pre-line {
    margin-top: 3.5rem;
    margin-left: 3rem;
    margin-right: 3rem;
    max-width: none;
    text-align: justify;
  }

  .page-science .science-hero {
    height: auto;
    min-height: 0;
  }

  .page-science .hero-banner {
    position: relative;
    width: fit-content;
    max-width: calc(100% - 1.5rem);
    padding: 1rem 1.2rem;
    margin: 1rem auto 0 0;
    bottom: auto;
  }

  .page-science .container {
    padding: 3rem 2rem;
  }

  .page-science .color-diagram {
    width: 250px;
    padding-top: 2rem;
  }

  .page-science .face-frame {
    height: 100px;
  }

  .page-science #carotene-section {
    display: block;
    padding-top: 3.5rem;
    padding-bottom: 0;
  }

  .page-science #hemoglobin-section {
    display: block;
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
  }

  .page-science #carotene-image {
    float: left;
    width: 130px;
    margin-right: 2rem;
    shape-outside: circle(50%);
    shape-margin: 3px;
  }

  .page-science #hemoglobin-image {
    float: right;
    width: 130px;
    margin-left: 2rem !important;
    margin-right: 0;
    margin-bottom: 1rem;
    transform: none;
    shape-outside: circle(50%);
    shape-margin: 3px;
  }

  .page-science #carotene-section .pre-line,
  .page-science #hemoglobin-section .pre-line {
    white-space: normal;
  }

  .page-science #carotene-section::after,
  .page-science #hemoglobin-section::after {
    content: "";
    display: block;
    clear: both;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
    column-gap: 1rem;
    padding: 4rem 2rem 6rem;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-info {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    margin-top: 0;
    font-size: .8rem;
    align-self: center;
  }

  .footer-mobile-menu-btn,
  #footer-mobile-nav {
    grid-column: 1 / -1;
  }

  .footer-menu {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .footer-fabric {
    width: 92px;
    height: auto;
  }

  /* Footer logo side-by-side on mobile */
  .footer-logo {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: center;
    gap: .75rem;
  }

  .footer-logo .logo-text {
    font-size: .85rem;
    letter-spacing: .08em;
    line-height: 1.5;
    text-align: left;
    max-width: 5em;
    margin-top: 0;
  }

  /* Hide desktop footer nav, show mobile button */
  .footer-menu {
    display: none;
  }

  .footer-mobile-menu-btn {
    display: flex;
    grid-row: 2;
    margin-bottom: 0;
  }

  #footer-mobile-nav {
    grid-row: 3;
    margin-top: -1.75rem;
  }
}

/* ===== IN-BETWEEN LAYER (tablet / large phone, 481-768px) ===== */
/* Phones (<=480px) keep the float-wrap design; this layer gives  */
/* the mid-width range a clean centered stack instead.            */
@media (min-width: 481px) and (max-width: 768px) {
  /* Steps 1 & 2 two-column sections: drop the float-wrap, stack cleanly */
  .page-process .step-section .col-media {
    width: 280px;
    shape-outside: none;
    margin: 0 auto 1.75rem;
  }

  .page-process .two-col:not(.reverse) .col-media,
  .page-process .two-col.reverse .col-media {
    float: none;
    margin: 0 auto 1.75rem;
  }

  .page-process .step-section .col-media img {
    max-width: 280px;
  }

  .intro-copy p, .page-process .step-section .col-text p, .step-three-copy p, .step-four-copy p, .signature-card p, .text-col p, .studio-text p {
    max-width: 42ch !important;
    margin: 0 auto;
  }

  .page-process .copy-stack p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
  }

  /* Home value-section quote: fill the width instead of leaving side gaps */
  .page-home .value-text-inner p {
    max-width: 32ch;
  }

  .page-home .value-image-container img {
    padding-top: 0;
  }
}

/* ===== TESTIMONIAL CAROUSEL: only ever show whole cards (1 / 2 / 3) ===== */
/* card = --testimonial-width (300px) + --testimonial-gap (20px).            */
/* white-box inner = page*0.8 (section 10% pad) - 96px (box 3rem pad).        */
/* 2 cards (620px) fit at W>=895; 3 cards (940px) fit at W>=1295.             */
@media (min-width: 900px) {
  .page-home .testimonials-section { --visible: 2; }
}
@media (min-width: 1300px) {
  .page-home .testimonials-section { --visible: 3; }
}
/* Phones: a fixed 300px card won't fit, so show one fluid full-width card */
@media (max-width: 540px) {
  .page-home .carousel-viewport { width: 100%; }
  .page-home .carousel-slide {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Value-section: tighten the column gap as the two columns get cramped (still 2-col here) */
@media (min-width: 769px) and (max-width: 800px) {
  .page-home .value-section { gap: 2rem; }

  .page-home .value-text-container button,
  .page-home .button-link {
    margin-top: 2rem;
  }
}

@media (min-width: 480px) {
    .page-home .value-text-inner {
        max-width: 40ch;
        margin: 0 auto;
    }
}

@media (min-width: 480px) {
    .page-home .value-text-inner {
        padding-bottom: 0; }
}

@media (min-width: 480px) {
    .page-home .value-section {
        gap: 0; }
}

@media (min-width: 768px) {
    .page-home .value-section {
        gap: 4rem; }
}


@media (max-width: 480px) {
    .page-science .icons img {
        width: 60px; }
  }

@media (min-width: 768px) {
    .page-science .container {
        max-width: 1100px }
}
