/* Genesis Wellness & Bodywork — groundedbygenesis.com
   Black, white, and dark sage. Mobile-first. */

:root {
  --ink: #141414;
  --ink-soft: #3d3d3d;
  --paper: #f7f5f1;
  --paper-deep: #efebe4;
  --white: #fffcf8;
  --sage: #59624f;
  --sage-deep: #3f4f3f;
  --sage-mid: #4a5a48;
  --sage-soft: #e6e9e1;
  --rule: rgba(20, 20, 20, 0.12);
  --rule-strong: rgba(20, 20, 20, 0.22);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

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

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

a:hover {
  color: var(--sage);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 9vw, 5.25rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.25rem); }
h3 { font-size: clamp(1.55rem, 3vw, 1.9rem); margin-bottom: 0.35em; }

p { margin: 0 0 1em; }

p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

address {
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.btn-sage {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.btn-sage:hover,
.btn-sage:focus-visible {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #fff;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--ink);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  width: min(calc(100% - 1.5rem), var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  margin-right: -0.4rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 1.25rem 1.75rem;
}

.site-header.is-open .site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}

.nav-list a:hover { color: var(--sage-deep); }

.site-nav .btn {
  align-self: flex-start;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  background: #111;
  color: #f4f1eb;
  text-align: center;
  padding: 3.25rem 1.25rem 4.25rem;
}

.hero-inner {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.hero-logo {
  width: min(78%, 20rem);
  margin: 0 auto 1.75rem;
  height: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin: 0 0 0.85rem;
}

.eyebrow-light {
  color: rgba(244, 241, 235, 0.72);
}

.hero h1 {
  color: #fffcf8;
  margin: 0 0 0.75rem;
}

.hero-lede {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(244, 241, 235, 0.78);
  margin: 0 auto 2rem;
  max-width: 22rem;
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.about { background: var(--white); }
.massages { background: var(--paper); }
.energy { background: var(--white); }
.expect { background: var(--paper); }
.location { background: var(--sage-soft); }

.placeholder-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sage-soft);
  border: 1px dashed var(--sage);
  padding: 0.35rem 0.6rem;
  margin: 0 0 0.9rem;
  line-height: 1.4;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--sage-soft) 0%, #d8ddd3 100%);
  border: 1px dashed var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.portrait-watermark {
  width: 42%;
  max-width: 10rem;
  opacity: 0.55;
}

.portrait-caption {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.about-copy .btn {
  margin-top: 1.5rem;
}

/* ---------- Cards / menu ---------- */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.massages .card {
  background: var(--white);
}

.energy .card {
  background: var(--paper);
}

.card-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin: -0.15rem 0 1rem;
  font-weight: 400;
}

.card p {
  color: var(--ink-soft);
  flex: 0 0 auto;
}

.prices {
  list-style: none;
  margin: 1.35rem 0 1.5rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--rule);
}

.prices li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
}

.prices .leader {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--rule-strong);
  min-width: 1.25rem;
  transform: translateY(-0.28em);
}

.prices .price {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.package-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.package-includes {
  list-style: none;
  margin: 0.75rem 0 1.5rem;
  padding: 0;
}

.package-includes li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.package-includes li:last-child { border-bottom: 0; }

.package-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--sage);
}

.forfeit-note {
  margin: 2rem auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
}

/* ---------- What to expect ---------- */

.expect-list {
  list-style: none;
  max-width: 40rem;
  margin: 0 auto;
}

.expect-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}

.expect-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.expect-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--sage);
  padding-top: 0.2rem;
}

.expect-list h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.expect-list p {
  color: var(--ink-soft);
}

/* ---------- Location ---------- */

.location-inner {
  text-align: center;
  max-width: 34rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #111;
  color: rgba(244, 241, 235, 0.78);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(244, 241, 235, 0.12);
}

.footer-brand img {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fffcf8;
  margin: 0 0 0.25rem;
  letter-spacing: 0.04em;
}

.footer-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.6);
  margin: 0;
}

.footer-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.5);
  margin: 0 0 0.85rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.site-footer a {
  color: rgba(244, 241, 235, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links li,
.footer-contact li {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.footer-base {
  padding-top: 1.35rem;
}

.footer-base p {
  font-size: 0.8rem;
  color: rgba(244, 241, 235, 0.5);
  margin: 0;
}

/* ---------- Breakpoints ---------- */

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

  .header-inner { width: min(calc(100% - 3.5rem), var(--max)); }

  .hero { padding: 4.5rem 2rem 5.5rem; }

  .hero-logo { width: 20rem; }

  .section { padding: 5.5rem 0; }

  .card {
    padding: 2rem 1.85rem 1.85rem;
  }

  .massages-grid,
  .packages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  /* Release is longer; let it span if needed? Keep 2x2 for balance. */
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2rem;
    text-align: left;
  }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.75rem;
  }

  .nav-list a {
    padding: 0.4rem 0;
    border: 0;
  }

  body.nav-open { overflow: visible; }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4.5rem;
    align-items: center;
  }

  .section { padding: 6.5rem 0; }

  .section-head { margin-bottom: 3.25rem; }

  .hero { padding: 5rem 2rem 6.25rem; }
}

@media (min-width: 1200px) {
  .massages-grid {
    /* 2x2 still reads more calmly than 4-across for long Release copy */
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 360px) {
  .brand-sub { display: none; }
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .btn { padding-inline: 1.25rem; }
}
