/* Massage By Lenka — holding page (leaflet fidelity) */

:root {
  /* Leaflet color palette - warm parchment & dusty sage */
  --cream: #f6ede0;
  --cream-dark: #ede5d8;
  --parchment: #faf6f0;
  --ink: #2e3628;
  --ink-soft: #495343;
  --text: #5a6152;
  --sage: #6b7a5e;
  --sage-deep: #4d5a43;
  --sage-muted: #7c8b6f;
  --sage-pale: #a3b094;
  --line: #d4d8cc;
  --white: #fffcf8;
  
  /* Typography - elegant serif display */
  --font-display: "Cormorant Garamond", "Palatino Linotype", "Baskerville", serif;
  --font-body: "Source Sans 3", "Lato", "Segoe UI", system-ui, sans-serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  
  --max-width: 68rem;
  --shadow-soft: 0 8px 24px rgba(46, 54, 40, 0.06);
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--ink);
}

/* Layout wrap */
.wrap {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.75rem, var(--max-width));
  }
}

/* Botanical corners — real leaflet watercolour leaves */
.leaf-corner {
  position: absolute;
  width: clamp(7rem, 22vw, 14rem);
  height: auto;
  max-width: 42vw;
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.leaf-corner--tl {
  top: 0;
  left: 0;
}

.leaf-corner--tr {
  top: 0;
  right: 0;
}

.leaf-corner--bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}

.leaf-corner--br {
  bottom: 0;
  right: 0;
  transform: scaleY(-1);
}

@media (max-width: 640px) {
  .leaf-corner {
    width: clamp(5.5rem, 34vw, 9rem);
    opacity: 0.8;
  }
}

/* Hero / Header */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  overflow: visible;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

/* Tagline - small caps above brand */
.tagline {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-muted);
}

/* Brand name - elegant wide-spaced serif capitals */
.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.brand span {
  display: block;
}

@media (min-width: 640px) {
  .brand {
    letter-spacing: 0.15em;
  }
}

/* Ornamental divider - horizontal line with heart */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.25rem auto 1.5rem;
  color: var(--sage);
}

.ornament__line {
  width: 3rem;
  height: 1px;
  background: var(--sage-muted);
  opacity: 0.6;
}

.ornament__heart {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.75;
}

/* Lead intro text - serif, slightly larger */
.lead {
  max-width: 38rem;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Hero photos - three circles like leaflet back */
.hero__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 3vw, 1.5rem);
  align-items: center;
  margin: 2.5rem auto 0;
  max-width: 38rem;
}

/* Circular photo treatment - soft white border */
.photo {
  width: 100%;
  max-width: 11rem;
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  background: var(--cream-dark);
}

.photo--lg {
  max-width: 13rem;
}

@media (max-width: 640px) {
  .photo {
    border-width: 3px;
  }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* Subtle band for alternating sections */
.section--band {
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--parchment) 8%,
    var(--parchment) 92%,
    transparent 100%
  );
}

/* Section headings */
.section__title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
}

.section__kicker {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  color: var(--text);
}

/* Benefits section */
.benefits-intro {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

/* Divider with label - lines flanking text */
.divider-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  color: var(--sage);
  text-align: center;
}

.divider-label::before,
.divider-label::after {
  content: "";
  flex: 1;
  max-width: 6rem;
  height: 1px;
  background: var(--line);
}

/* Benefit list - simple bullets */
.benefit-list {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 30rem;
}

.benefit-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sage);
}

/* Pill badge - sage rounded rectangle */
.pill-wrap {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Treatments section */
.treatments {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .treatments {
    grid-template-columns: 1fr minmax(15rem, 0.6fr);
    align-items: start;
    gap: 3rem;
  }
}

/* Treatment list */
.treatment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

/* Individual treatment row */
.treatment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding-bottom: 1.15rem;
  border-bottom: 1px dotted var(--line);
}

.treatment:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Circular sage icon - matches leaflet exactly */
.treatment__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.treatment__icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

/* Treatment name - bold serif */
.treatment__name {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

/* Treatment prices - smaller, quieter */
.treatment__prices {
  margin: 0.4rem 0 0;
  grid-column: 2;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.treatment__prices span {
  white-space: nowrap;
}

.treatment__prices .sep {
  margin: 0 0.2rem;
  opacity: 0.5;
}

/* Treatment photos - stacked on desktop */
.treatments__photos {
  display: none;
}

@media (min-width: 900px) {
  .treatments__photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: sticky;
    top: 1.5rem;
  }
  
  .treatments__photos .photo {
    width: min(100%, 14rem);
  }
}

/* Location section */
.location {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.location p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
}

.location__place {
  margin: 0.5rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--sage-deep);
  line-height: 1.3;
}

/* Location accent images - stones, candles, heart */
.location__accents {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.location__accents .photo {
  width: 5.5rem;
  border-width: 3px;
}

.heart-mark {
  width: 4.25rem;
  height: auto;
  opacity: 0.9;
}

/* Contact section */
.contact {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

/* Signature - flowing script */
.signature {
  margin: 0 0 0.5rem;
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 7vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--sage-deep);
}

/* Contact list */
.contact__list {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 30rem;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

.contact__list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  min-height: 3.5rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
}

.contact__list a:hover,
.contact__list a:focus {
  border-color: var(--sage);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(46, 54, 40, 0.1);
}

.contact__list svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--sage);
}

.contact__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-muted);
  margin-bottom: 0.15rem;
}

.contact__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

/* Note text */
.note {
  margin: 2rem auto 0;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  text-align: center;
  text-wrap: pretty;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 2.5rem 0 2.75rem;
  text-align: center;
  color: var(--sage-muted);
  overflow: hidden;
}

.site-footer .leaf-corner {
  opacity: 0.88;
}

.site-footer p {
  margin: 0.4rem 0;
  position: relative;
  z-index: 2;
}

.site-footer__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__meta {
  margin-top: 1rem !important;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--sage-pale);
}

/* Accessibility - focus states */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  a,
  .contact__list a {
    transition: none;
  }
}
