/* Jane's Holistic Therapies — static site styles
   Palette: soft blush + warm cream base, sandstone mid, deep clay accent */

:root {
  --cream: oklch(0.975 0.012 65);
  --blush: oklch(0.93 0.022 25);
  --blush-deep: oklch(0.88 0.035 22);
  --sand: oklch(0.78 0.04 55);
  --clay: oklch(0.46 0.09 30);
  --ink: oklch(0.28 0.015 40);
  --ink-soft: oklch(0.42 0.018 40);
  --border: oklch(0.86 0.018 40);
  --input: oklch(0.9 0.015 40);
  --background: var(--cream);
  --foreground: var(--ink);
  --radius: 0.25rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--blush-deep);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Layout */

.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container.narrow {
  max-width: 48rem;
}

.text-center {
  text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(173, 157, 145, 0.35);
}

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

.logo {
  font-family: "Instrument Serif", serif;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--clay);
}

.header-phone {
  display: none;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.header-phone:hover {
  text-decoration-color: var(--clay);
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .header-phone {
    display: inline;
  }

  .logo {
    font-size: 1.25rem;
  }

  .header-inner {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, oklch(0.95 0.025 22) 0%, oklch(0.97 0.015 50) 60%, var(--cream) 100%);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.05;
  color: var(--ink);
}

.hero h1 em {
  color: var(--clay);
  font-style: italic;
}

.hero-lede {
  max-width: 36rem;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .hero-lede {
    font-size: 1.1875rem;
  }
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--clay);
  color: var(--cream);
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--ink);
}

.btn-text {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.btn-text:hover {
  color: var(--clay);
  text-decoration-color: var(--clay);
}

/* Sections */

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-blush {
  background: oklch(0.97 0.015 40);
}

.section-sand {
  background: oklch(0.96 0.02 28);
}

@media (min-width: 768px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.section-heading {
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--clay);
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.1;
  color: var(--ink);
}

.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 1.25rem;
}

.prose .has-heading {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 500;
}

@media (min-width: 768px) {
  .prose {
    font-size: 1.125rem;
  }
}

.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.bullet-list li + li {
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .bullet-list.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.5rem;
  }

  .bullet-list.two-col li + li {
    margin-top: 0;
  }
}

/* Accordion */

.accordion {
  list-style: none;
  border-top: 1px solid rgba(173, 157, 145, 0.4);
  border-bottom: 1px solid rgba(173, 157, 145, 0.4);
}

.accordion-item {
  border-bottom: 1px solid rgba(173, 157, 145, 0.35);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  color: var(--ink);
}

.accordion-icon {
  flex-shrink: 0;
  color: var(--clay);
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.accordion-item.is-open .accordion-panel {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 2rem;
}

/* Price list */

.price-groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.price-group h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.price-list {
  border-top: 1px solid rgba(173, 157, 145, 0.4);
}

.price-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(173, 157, 145, 0.35);
}

.price-list dt {
  color: var(--ink-soft);
  font-size: 1rem;
}

.price-list dd {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.cancellation {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(173, 157, 145, 0.4);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--clay);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  font-size: 1.0625rem;
}

.contact-details a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-details a:hover {
  color: var(--clay);
  text-decoration-color: var(--clay);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.field textarea {
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--clay);
}

.form-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.form-note a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .contact-intro {
    font-size: 1.1875rem;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(173, 157, 145, 0.35);
  background: var(--cream);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.footer-brand {
  font-family: "Instrument Serif", serif;
  font-size: 1.125rem;
  color: var(--ink);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}