/* Palma Med Spa — static, no build step. */

:root {
  --espresso: #55350f;
  --gold: #af8c61;
  --gold-mid: #bb9a66;
  --gold-light: #edddb2;
  /* Brand gold #AF8C61 is 2.38:1 on cream. Small labels use this darker shade of the same hue. */
  --gold-ink: #8c704e;
  --cream: #e8e0d8;
  --white: #ffffff;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Libre Bodoni", Didot, "Bodoni MT", "Times New Roman", serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

::selection {
  background: var(--gold-light);
  color: var(--espresso);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 50;
  transform: translateY(-200%);
  background: var(--espresso);
  color: var(--gold-light);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  transform: none;
}

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

.on-dark :focus-visible {
  outline-color: var(--gold-light);
}

a {
  color: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
}



.site-header {
  border-bottom: 1px solid var(--cream);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo-link img {
  height: 3rem;
  width: auto;
}

.footer-nav a,
.text-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.4em;
}

.footer-nav a:hover,
.text-link:hover,
.instagram-link:hover {
  text-decoration-color: var(--espresso);
}

.eyebrow {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.on-dark .eyebrow,
.on-dark .rule {
  color: var(--gold-light);
}

.rule {
  width: 4rem;
  height: 1px;
  margin: 1.5rem auto 0;
  background: var(--gold);
  border: 0;
}



.plaster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.plaster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.hero {
  background:
    radial-gradient(ellipse at 15% 0%, rgb(237 221 178 / 0.55), transparent 52%),
    radial-gradient(ellipse at 100% 80%, rgb(232 224 216 / 0.9), transparent 46%),
    var(--white);
}

.hero-inner,
.section-inner {
  position: relative;
  width: min(48rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 5rem 0;
  text-align: center;
}

.hero-inner {
  padding: 4.5rem 0 5.5rem;
}

.hero-mark {
  width: min(100%, 38rem);
  height: auto;
  margin-inline: auto;
}

.hero .eyebrow {
  margin-top: 3.5rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--espresso);
}

.hero h1 {
  margin-top: 2rem;
  font-size: clamp(2.35rem, 8vw, 5.5rem);
}

.hero h1 span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  font-style: italic;
}

.lede {
  margin-top: 2rem;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 3rem;
  padding: 0.75rem 2rem;
  border: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #3f270b;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.palm {
  position: absolute;
  pointer-events: none;
  width: 11rem;
  height: auto;
}

.palm-hero {
  display: none;
  top: 2rem;
  right: -1.5rem;
  width: 16rem;
  color: var(--gold);
  opacity: 0.3;
}

.section-cream {
  background: var(--cream);
}

.section-espresso {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
}

.section-espresso h2,
.intro-line,
.waitlist h2.display,
.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.intro-line {
  margin-top: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}

.section-espresso h2 {
  margin-top: 2rem;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.02;
  color: var(--cream);
}

.quiet-line {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gold-light);
}

.palm-dark {
  left: -2.5rem;
  bottom: 0;
  width: 13rem;
  color: var(--gold-light);
  opacity: 0.2;
}

.waitlist h2.display {
  margin-top: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.form {
  width: min(28rem, 100%);
  margin: 2.5rem auto 0;
  text-align: left;
}

.form-help {
  font-size: 1rem;
  line-height: 1.6;
}

.fields {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  height: 3rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid rgb(85 53 15 / 0.4);
  border-radius: 0;
  background: transparent;
  color: var(--espresso);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

textarea {
  height: auto;
  min-height: 6rem;
  padding-top: 0.6rem;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  border-bottom-color: var(--espresso);
}

.field-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(85 53 15 / 0.8);
}

.form .button {
  width: 100%;
}


.status {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.form {
  position: relative;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.instagram-row {
  margin-top: 2rem;
}

.instagram-link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.35em;
}

.new-tab {
  margin-top: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.site-footer {
  border-top: 1px solid var(--cream);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 0;
  text-align: center;
}

.footer-mark {
  height: 4rem;
  width: auto;
}

.city {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}

.fine {
  font-size: 0.875rem;
  color: rgb(85 53 15 / 0.8);
}

.page {
  width: min(40rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4rem 0 5rem;
}

.page-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
}

.prose {
  margin-top: 2.5rem;
}

.prose p + p {
  margin-top: 1.5rem;
}


.back {
  margin-top: 3rem;
}

@media (min-width: 40rem) {
  .palm-hero {
    display: block;
  }

  .hero-inner,
  .section-inner {
    padding: 6.5rem 0;
  }

  .form .button {
    width: auto;
  }
}

@media (min-width: 64rem) {
  .hero-inner {
    padding: 8rem 0;
  }
}

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

#waitlist {
  scroll-margin-top: 5.5rem;
}
