/* Massage by Note
   Follows the look of the original 2022 site (Divi theme): white pages, Prata headings,
   Open Sans text, square near-black buttons with spaced capitals and a navy tint over the
   photos. Square corners and even spacing, per Justine (October 22, 2026). */
:root {
  --ink: #333333;          /* headings */
  --text: #5b5b5b;         /* body text */
  --soft: #8a8a8a;
  --espresso: #0f0401;     /* buttons and the dark booking panel */
  --navy: #161d43;         /* photo tint */
  --mist: #f5f5f3;         /* footer */
  --white: #ffffff;

  --serif: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;

  --row: min(80%, 1080px);
  --gap: clamp(3rem, 6vw, 4.5rem);   /* space between sections */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.9;
}

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

a { color: var(--ink); text-underline-offset: 0.2em; }
a:hover { color: var(--espresso); }

:focus-visible { outline: 3px solid #2e5bd8; outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1.1em; }

/* The spaced capitals the old site used for small headings */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 5px;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.8rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.row { width: var(--row); margin-inline: auto; }

/* Buttons --------------------------------------------------------------- */
.button {
  display: inline-block;
  background: var(--espresso);
  color: var(--white);
  border: 10px solid var(--espresso);
  border-radius: 0;
  padding: 0.35rem 1rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 5px;
  line-height: 1.7;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button:hover { background: #3a2a24; border-color: #3a2a24; color: var(--white); }

/* Header ---------------------------------------------------------------- */
.site-header .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  width: var(--row);
  margin-inline: auto;
  padding-block: 0.6rem;
}
.site-header .logo img { height: 80px; width: auto; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.62);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--espresso); }

/* Photo headers (home hero and the top of every page) -------------------- */
.photo-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--navy);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.photo-head::before {
  /* the old navy tint, a little deeper at the bottom so the white title stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(22, 29, 67, 0.55) 0%, rgba(22, 29, 67, 0) 60%),
    linear-gradient(200deg, rgba(0, 0, 0, 0) 62%, rgba(22, 29, 67, 0.3) 100%);
}
.photo-head .inner {
  position: relative;
  width: var(--row);
  margin-inline: auto;
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
}
.photo-head h1 {
  color: var(--white);
  text-shadow: 0 0 3em rgba(22, 29, 67, 0.5);
  line-height: 1.2;
  margin: 0;
}
.photo-head .eyebrow { color: var(--white); text-shadow: 0 0 1.5em rgba(22, 29, 67, 0.6); }

.hero { min-height: 540px; background-position: center 38%; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 6rem); }
.page-head { min-height: clamp(240px, 26vw, 360px); }
.page-head h1 { font-size: clamp(2rem, 6vw, 5.5rem); }

.bg-hero { background-image: url("/assets/hero-candle-room.webp"); }
.bg-thai { background-image: url("/assets/thai-stretch.webp"); }
.bg-swedish { background-image: url("/assets/swedish-oil.webp"); }
.bg-deep { background-image: url("/assets/deep-tissue-wide.webp"); }
.bg-studio { background-image: url("/assets/studio-evening.webp"); }
.bg-warm { background-image: url("/assets/warm-light.webp"); }

/* Home ------------------------------------------------------------------ */
.hello {
  width: var(--row);
  margin: var(--gap) auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hello h2 { font-size: clamp(1.75rem, 3.6vw, 3.125rem); line-height: 1.3; margin-bottom: 0.4em; }
.hello .lines p { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 2; }
.hello .portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* The three massages: one calm row with room to breathe */
.blurbs {
  width: min(var(--row), 960px);
  margin: calc(var(--gap) * 1.4) auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  list-style: none;
  padding: 0;
  text-align: center;
}
.blurbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.4rem; }
.blurbs a { text-decoration: none; }
.blurbs h3 { font-size: 1rem; line-height: 1.7; margin: 0 auto; max-width: 16rem; color: var(--ink); }
.blurbs a:hover h3 { text-decoration: underline; }

.self-care {
  width: var(--row);
  margin: var(--gap) auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.self-care .picture {
  background: url("/assets/warm-candles.webp") center / cover no-repeat;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.self-care h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.25; }
.self-care .list p { margin: 0 0 0.3rem; color: var(--ink); }
.self-care .list { margin-bottom: 1.2rem; }

/* About ----------------------------------------------------------------- */
.about {
  width: var(--row);
  margin: var(--gap) auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about .headshot img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about h2 { font-size: clamp(2rem, 4vw, 3.125rem); line-height: 1.2; }

.come-in {
  width: var(--row);
  margin: var(--gap) auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.come-in h2 { font-size: clamp(1.8rem, 3.6vw, 3.125rem); line-height: 1.2; margin: 0; }

/* Text pages ------------------------------------------------------------ */
.body-copy {
  width: var(--row);
  margin: var(--gap) auto;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 2;
}
.body-copy ol { padding-left: 1.4rem; }
.body-copy li { margin-bottom: 0.5rem; }

.posts { width: var(--row); margin: var(--gap) auto; list-style: none; padding: 0; }
.posts img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1.2rem; }
.posts h2 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.posts h2 a { text-decoration: none; }
.post-meta { color: var(--soft); font-size: 0.9rem; margin-bottom: 0.8rem; }

.with-sidebar {
  width: var(--row);
  margin: var(--gap) auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 4rem;
}
.with-sidebar .body-copy { width: auto; margin: 0; }
.sidebar h2 { font-size: 1.2rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--mist);
  margin-top: var(--gap);
  padding: 2.8rem 0 2rem;
  text-align: center;
  font-size: 0.95rem;
}
.site-footer .cols {
  width: min(80%, 640px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.25rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin: 2rem 0 0; }

/* Smaller screens ------------------------------------------------------- */
@media (max-width: 980px) {
  .hello,
  .self-care,
  .about,
  .with-sidebar { grid-template-columns: 1fr; gap: 2.5rem; }
  .hello .portrait { max-width: 480px; }

}
@media (max-width: 767px) {
  :root { --row: calc(100% - 2rem); }
  .site-header .logo img { height: 62px; }
  .site-nav ul { gap: 0.2rem 1.4rem; }
  .hero { min-height: 440px; }
  .blurbs { grid-template-columns: 1fr; }
  .come-in { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .eyebrow { font-size: 0.75rem; letter-spacing: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
