/* =========================================================
   massage with amura — styles
   ========================================================= */

/* ---------- Colours and fonts (change them here) ---------- */
:root {
  --paper:        #F1EDE6;  /* page background */
  --olive-khaki:  #A39A6E;  /* header bar */
  --olive-deep:   #7D765C;  /* hero + contact */
  --text:         #3B3A36;
  --text-soft:    #5A564D;
  --stone:        #CFC7B4;  /* photo placeholder */
  --stone-light:  #DCD5C5;  /* photo placeholder (lighter) */
  --white:        #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", Helvetica, Arial, sans-serif;

  --section-space: clamp(5rem, 10vw, 9rem); /* space between sections */
}

/* ---------- Basics ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);

  /* Warm paper with very faint speckles (three layers of tiny dots) */
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(59, 58, 54, 0.07) 0.6px, transparent 1px),
    radial-gradient(rgba(59, 58, 54, 0.05) 0.5px, transparent 1px),
    radial-gradient(rgba(125, 118, 92, 0.06) 0.7px, transparent 1.2px);
  background-size: 13px 13px, 19px 19px, 29px 29px;
  background-position: 0 0, 7px 11px, 3px 17px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 820px;
}

.centred {
  text-align: center;
}

/* Small uppercase label above headings */
.label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 2.5rem;
}

.section {
  padding: var(--section-space) 0;
}

/* ---------- Pill buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.6rem;
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

/* the small olive dot on the left */
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive-khaki);
  flex-shrink: 0;
}

.pill:hover {
  background: #F7F4EE;
  transform: translateY(-1px);
}

.pill--small {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.photo-placeholder--light {
  background: var(--stone-light);
}

/* Arch shape: fully round top, slightly rounded bottom.
   (The numbers after "/" keep the top a perfect half circle.) */
.arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 14px 14px / 37.5% 37.5% 14px 14px;
  overflow: hidden;
}

.arch--tall {
  aspect-ratio: 2 / 3;
  border-radius: 50% 50% 14px 14px / 33.333% 33.333% 14px 14px;
}

/* Real photos: fill the frame and crop the edges, never stretch */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--stone); /* shows while the photo loads */
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop to fit */
  object-position: center;
  display: block;
}

/* =========================================================
   1. HEADER
   ========================================================= */
.site-header {
  background: var(--olive-khaki);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a:not(.pill) {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  position: relative;
}

.main-nav a:not(.pill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:not(.pill):hover::after {
  transform: scaleX(1);
}

/* Leave room for the sticky header when jumping to a section */
section[id] {
  scroll-margin-top: 80px;
}

/* About and Gallery have no top padding, so leave a bit more room */
#about,
#gallery {
  scroll-margin-top: 150px;
}

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden; /* crops the lotus at the section edges */
  background: var(--olive-deep);
  color: var(--white);
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3rem, 5vw, 4rem);
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  max-width: 15em;
  margin-bottom: 2rem;
}

.hero-text {
  max-width: 34rem;
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
}

/* Lotus watermark: large, faint, cropped off the bottom-right corner */
.hero-lotus {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: clamp(320px, 40vw + 240px, 900px); /* ~820px wide on a 1440px screen */
  height: auto;
  transform: translate(28%, 28%); /* pushes about a quarter of it off the edges */
  color: var(--white);
  opacity: 0.13;
  pointer-events: none;           /* never blocks clicks on the buttons */
}

/* Hero content always sits above the lotus */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-phrases {
  list-style: none;
  margin: clamp(4rem, 8vw, 6.5rem) 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

/* =========================================================
   3. THE TREATMENT
   ========================================================= */
.treatment-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.treatment-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.treatment-col--left {
  text-align: right;
}

.small-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.info-block p {
  color: var(--text-soft);
  margin: 0;
}

.treatment-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Soft dark shading over the lower part of the photo, so the white text is easy to read */
.treatment-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(40, 37, 28, 0.72) 0%,
    rgba(40, 37, 28, 0.45) 35%,
    rgba(40, 37, 28, 0.08) 65%,
    rgba(40, 37, 28, 0) 100%
  );
}

.arch-caption {
  position: relative;
  z-index: 1; /* sits above the photo and the shading */
  text-align: center;
  padding: 0 1.8rem 2.8rem;
  color: var(--white);
}

.arch-caption .label {
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
}

.arch-caption h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

/* =========================================================
   4. SESSIONS AND PRICES
   ========================================================= */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.price-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 2.2rem;
}

.price-photo {
  height: 170px;
  margin-bottom: 1.8rem;
  /* curved bottom edge */
  border-radius: 0 0 50% 50% / 0 0 28% 28%;
}

.price-length {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0;
}

.note {
  color: var(--text-soft);
  max-width: 32rem;
  margin: 0 auto;
}

/* =========================================================
   5. ABOUT AMURA
   ========================================================= */
.about {
  padding-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.about-text p:not(.label) {
  color: var(--text-soft);
  max-width: 34rem;
}

/* =========================================================
   6. GALLERY
   ========================================================= */
.gallery {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

/* =========================================================
   7. CONTACT
   ========================================================= */
.contact {
  background: var(--olive-deep);
  color: var(--white);
  padding: var(--section-space) 0;
}

.contact .label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 16em;
  margin: 0 auto 2.8rem;
}

.contact .button-row {
  justify-content: center;
}

/* =========================================================
   8. FOOTER
   ========================================================= */
.site-footer {
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* =========================================================
   SMALLER SCREENS (tablets and phones)
   ========================================================= */
@media (max-width: 900px) {
  /* header: logo on top, menu underneath; not sticky so it doesn't take up the screen */
  .site-header {
    position: static;
  }

  section[id] {
    scroll-margin-top: 0;
  }

  #about,
  #gallery {
    scroll-margin-top: 2.5rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.4rem;
  }

  /* treatment: one column, photo first, text centred */
  .treatment-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .treatment-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .treatment-col,
  .treatment-col--left {
    text-align: center;
  }

  /* about: one column */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  /* hero: smaller, fainter lotus so the text stays easy to read */
  .hero-lotus {
    width: 88vw;
    opacity: 0.1;
  }

  .hero-phrases {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0.8rem;
  }

  .price-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
