/*
Theme Name: Round Table Healing Arts
Theme URI: https://roundtablehealingarts.com
Author: Round Table Healing Arts
Description: A clean, earth-based WordPress theme for Round Table Healing Arts, including shamanic healing, Reiki, TerraScopes, About, and Contact pages.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rtha
*/

:root {
  --rtha-cream: #F5F0E6;
  --rtha-brown: #2B2118;
  --rtha-green: #4F6B4F;
  --rtha-green-dark: #314B35;
  --rtha-gold: #B99247;
  --rtha-white: #FFFDF8;
  --rtha-muted: #6D655D;
  --rtha-line: rgba(43, 33, 24, 0.14);
  --rtha-shadow: 0 18px 48px rgba(43, 33, 24, 0.12);
  --rtha-radius: 20px;
  --rtha-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rtha-brown);
  background: var(--rtha-cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rtha-green-dark); text-underline-offset: 3px; }
a:hover { color: var(--rtha-green); }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Cardo", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.7em;
  color: var(--rtha-brown);
}
h1 { font-size: clamp(2.6rem, 5vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); }
p { margin: 0 0 1.15em; }

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

.rtha-wrap { width: min(calc(100% - 40px), var(--rtha-max)); margin-inline: auto; }
.rtha-narrow { width: min(calc(100% - 40px), 800px); margin-inline: auto; }
.rtha-section { padding: clamp(70px, 8vw, 120px) 0; }
.rtha-section--tight { padding: clamp(48px, 5vw, 76px) 0; }
.rtha-section--white { background: var(--rtha-white); }
.rtha-section--green { background: var(--rtha-green-dark); color: var(--rtha-white); }
.rtha-section--green h2, .rtha-section--green h3 { color: var(--rtha-white); }
.rtha-section--green a { color: #fff; }
.rtha-rule { width: 56px; height: 3px; background: var(--rtha-gold); border-radius: 999px; margin: 0 0 24px; }
.rtha-eyebrow {
  color: var(--rtha-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.rtha-section--green .rtha-eyebrow { color: #e6d3a4; }
.rtha-lede { font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: #4e463f; max-width: 760px; }
.rtha-section--green .rtha-lede { color: rgba(255,255,255,.83); }
.rtha-kicker { color: var(--rtha-muted); font-size: 0.98rem; }
.rtha-price { font-weight: 700; color: var(--rtha-green-dark); }

/* Header */
.rtha-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245, 240, 230, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rtha-line);
}
.admin-bar .rtha-header { top: 32px; }
.rtha-header__inner {
  min-height: 94px;
  display: flex; align-items: center; gap: 32px;
}
.rtha-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.rtha-brand img { width: 68px; height: 68px; object-fit: contain; }
.rtha-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.rtha-brand__name { font-family: "Cardo", Georgia, serif; font-size: 1.35rem; color: var(--rtha-brown); }
.rtha-brand__tag { font-size: 0.72rem; color: var(--rtha-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; }
.rtha-nav { display: flex; align-items: center; gap: 24px; }
.rtha-nav ul { list-style: none; display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; }
.rtha-nav a { text-decoration: none; color: var(--rtha-brown); font-size: .94rem; font-weight: 600; }
.rtha-nav a:hover, .rtha-nav .current-menu-item > a { color: var(--rtha-green-dark); }
.rtha-mobile { display: none; margin-left: auto; }
.rtha-mobile summary { cursor: pointer; font-weight: 700; list-style: none; padding: 10px 0; }
.rtha-mobile summary::-webkit-details-marker { display: none; }
.rtha-mobile nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 1px); padding: 18px; border-radius: 14px; background: var(--rtha-white); box-shadow: var(--rtha-shadow); }
.rtha-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rtha-mobile a { display: block; padding: 10px; text-decoration: none; font-weight: 600; }

/* Buttons */
.rtha-button, a.rtha-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 999px;
  background: var(--rtha-green-dark);
  color: var(--rtha-white);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--rtha-green-dark);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.rtha-button:hover { background: var(--rtha-green); border-color: var(--rtha-green); color: #fff; transform: translateY(-1px); }
.rtha-button--outline { background: transparent; color: var(--rtha-green-dark); }
.rtha-button--outline:hover { color: #fff; }
.rtha-button--light { background: var(--rtha-white); color: var(--rtha-green-dark); border-color: var(--rtha-white); }
.rtha-button--light:hover { background: #fff; color: var(--rtha-brown); }
.rtha-button--small { min-height: 44px; padding: 9px 18px; font-size: .9rem; }
.rtha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.rtha-text-link { font-weight: 700; }

/* Hero */
.rtha-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(74px, 8vw, 118px); overflow: hidden; }
.rtha-hero__grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(36px, 6vw, 84px); }
.rtha-hero h1 { max-width: 700px; }
.rtha-hero__copy > p:not(.rtha-eyebrow) { max-width: 650px; }
.rtha-hero__note { font-size: .92rem; color: var(--rtha-muted); margin-top: 14px; max-width: 540px; }
.rtha-hero__image { position: relative; }
.rtha-hero__image::before { content: ""; position: absolute; inset: -20px -20px 20px 20px; border: 1px solid rgba(185,146,71,.5); border-radius: 28px; z-index: -1; }
.rtha-hero__image img { width: 100%; height: clamp(420px, 46vw, 650px); object-fit: cover; object-position: 54% center; border-radius: 26px; box-shadow: var(--rtha-shadow); }

/* Grids / cards */
.rtha-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.rtha-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rtha-card {
  background: var(--rtha-white); border: 1px solid var(--rtha-line); border-radius: var(--rtha-radius);
  padding: clamp(26px, 3vw, 38px); box-shadow: 0 10px 30px rgba(43,33,24,.06);
}
.rtha-card h3 { margin-bottom: 12px; }
.rtha-card__meta { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rtha-green-dark); font-weight: 700; margin-bottom: 12px; }
.rtha-card .rtha-button { margin-top: 8px; }
.rtha-card--service { display: flex; flex-direction: column; height: 100%; }
.rtha-card--service p { flex-grow: 1; }
.rtha-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(79,107,79,.12); display: grid; place-items: center; color: var(--rtha-green-dark); font-size: 1.3rem; margin-bottom: 18px; }

/* Split feature */
.rtha-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 82px); align-items: center; }
.rtha-feature--reverse .rtha-feature__media { order: 2; }
.rtha-feature__media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--rtha-radius); box-shadow: var(--rtha-shadow); }
.rtha-feature__media--portrait img { height: 600px; object-position: 54% 35%; }
.rtha-feature__copy { max-width: 650px; }

/* Testimonial */
.rtha-quote { margin: 0; padding: clamp(32px, 5vw, 54px); border-left: 4px solid var(--rtha-gold); background: var(--rtha-white); border-radius: 0 var(--rtha-radius) var(--rtha-radius) 0; box-shadow: 0 10px 30px rgba(43,33,24,.05); }
.rtha-quote p { font-family: "Cardo", Georgia, serif; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.45; margin: 0 0 16px; }
.rtha-quote cite { font-style: normal; font-size: .95rem; font-weight: 700; color: var(--rtha-green-dark); }

/* Image CTA */
.rtha-image-cta { position: relative; overflow: hidden; color: #fff; }
.rtha-image-cta::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(31,35,27,.88) 0%, rgba(31,35,27,.68) 52%, rgba(31,35,27,.18) 100%); z-index:1; }
.rtha-image-cta__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rtha-image-cta__content { position:relative; z-index:2; padding: clamp(85px, 10vw, 150px) 0; max-width: 720px; }
.rtha-image-cta h2 { color:#fff; }
.rtha-image-cta p { color: rgba(255,255,255,.9); }

/* Page hero */
.rtha-page-hero { padding: clamp(64px, 8vw, 110px) 0; }
.rtha-page-hero__grid { display:grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(36px, 6vw, 80px); align-items:center; }
.rtha-page-hero__image img { width:100%; height: 500px; object-fit: cover; border-radius: var(--rtha-radius); box-shadow: var(--rtha-shadow); }
.rtha-page-hero .rtha-price { font-size: 1.1rem; }

/* Service detail list */
.rtha-service-list { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:22px; }
.rtha-service-item { background: var(--rtha-white); border:1px solid var(--rtha-line); border-radius:16px; padding:28px; }
.rtha-service-item h3 { font-size:1.55rem; margin-bottom:10px; }
.rtha-process { counter-reset: rtha-step; display:grid; gap:20px; }
.rtha-process__item { counter-increment:rtha-step; display:grid; grid-template-columns:54px 1fr; gap:18px; align-items:start; }
.rtha-process__item::before { content: counter(rtha-step); width:46px; height:46px; border-radius:50%; background:var(--rtha-green-dark); color:#fff; display:grid; place-items:center; font-weight:700; }
.rtha-process__item h3 { font-size:1.35rem; margin: 4px 0 7px; }
.rtha-process__item p { margin:0; }

/* FAQ */
.rtha-faq { display:grid; gap:12px; }
.rtha-faq details { background:var(--rtha-white); border:1px solid var(--rtha-line); border-radius:14px; padding: 0 22px; }
.rtha-faq summary { cursor:pointer; font-weight:700; padding:20px 0; }
.rtha-faq details p { padding-bottom:20px; color:#514943; }

/* TerraScopes */
.rtha-terra-art img { width:100%; max-height:590px; object-fit:cover; object-position:center top; border-radius: var(--rtha-radius); box-shadow:var(--rtha-shadow); }
.rtha-checklist { list-style:none; padding:0; margin:24px 0; display:grid; gap:10px; }
.rtha-checklist li { position:relative; padding-left:30px; }
.rtha-checklist li::before { content:"✦"; position:absolute; left:0; color:var(--rtha-gold); }

/* Contact */
.rtha-contact-grid { display:grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(32px,6vw,70px); align-items:start; }
.rtha-contact-box { background:var(--rtha-white); border:1px solid var(--rtha-line); border-radius:var(--rtha-radius); padding:clamp(26px,4vw,42px); }
.rtha-field { display:grid; gap:7px; margin-bottom:18px; }
.rtha-field label { font-weight:700; font-size:.95rem; }
.rtha-field input, .rtha-field textarea { width:100%; border:1px solid rgba(43,33,24,.24); background:#fff; border-radius:10px; padding:12px 14px; color:var(--rtha-brown); }
.rtha-field input:focus, .rtha-field textarea:focus { outline:3px solid rgba(79,107,79,.18); border-color:var(--rtha-green); }
.rtha-alert { border-radius:12px; padding:14px 16px; margin-bottom:20px; font-size:.95rem; }
.rtha-alert--success { background:#e7f1e7; color:#244027; }
.rtha-alert--error { background:#f8e5df; color:#6b281d; }
.rtha-honeypot { position:absolute !important; left:-9999px !important; }
.calendly-inline-widget { min-width:320px; height:720px; background:#fff; border-radius:var(--rtha-radius); overflow:hidden; border:1px solid var(--rtha-line); }

/* Footer */
.rtha-footer { background:#241d17; color:rgba(255,255,255,.78); padding: 60px 0 34px; }
.rtha-footer h2, .rtha-footer h3 { color:#fff; }
.rtha-footer a { color:#fff; }
.rtha-footer__top { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap:40px; padding-bottom:42px; }
.rtha-footer__brand { display:flex; gap:16px; align-items:flex-start; }
.rtha-footer__brand img { width:78px; height:78px; object-fit:contain; filter:brightness(1.5); }
.rtha-footer__links { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.rtha-footer__legal { border-top:1px solid rgba(255,255,255,.14); padding-top:24px; font-size:.82rem; color:rgba(255,255,255,.62); }
.rtha-footer__legal p { margin-bottom:.6em; }

/* 404/simple content */
.rtha-content { padding:80px 0 110px; }
.rtha-content article { max-width:800px; margin:0 auto; }

@media (max-width: 1050px) {
  .rtha-nav { display:none; }
  .rtha-mobile { display:block; }
  .rtha-header__inner { min-height:82px; }
  .rtha-brand img { width:58px; height:58px; }
  .rtha-header .rtha-button--header { display:none; }
  .rtha-hero__grid, .rtha-page-hero__grid, .rtha-feature, .rtha-contact-grid { grid-template-columns:1fr; }
  .rtha-hero__image { max-width:800px; }
  .rtha-hero__image img { height:520px; }
  .rtha-feature--reverse .rtha-feature__media { order:0; }
  .rtha-feature__media img, .rtha-feature__media--portrait img { height:500px; }
  .rtha-grid-3 { grid-template-columns:1fr; }
  .rtha-footer__top { grid-template-columns:1fr 1fr; }
  .rtha-footer__top > :first-child { grid-column:1/-1; }
}

@media (max-width: 700px) {
  body { font-size:17px; }
  .admin-bar .rtha-header { top:46px; }
  .rtha-wrap, .rtha-narrow { width:min(calc(100% - 28px), var(--rtha-max)); }
  .rtha-brand__tag { display:none; }
  .rtha-brand__name { font-size:1.12rem; }
  .rtha-brand img { width:50px; height:50px; }
  .rtha-hero { padding-top:36px; }
  .rtha-hero__image img { height:390px; }
  .rtha-hero__image::before { display:none; }
  .rtha-grid-2, .rtha-service-list { grid-template-columns:1fr; }
  .rtha-feature__media img, .rtha-feature__media--portrait img, .rtha-page-hero__image img { height:390px; }
  .rtha-actions { align-items:stretch; }
  .rtha-actions .rtha-button { width:100%; }
  .rtha-footer__top { grid-template-columns:1fr; }
  .rtha-footer__top > :first-child { grid-column:auto; }
  .calendly-inline-widget { height:760px; }
}

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