/*
Theme Name: ACME Massage Co
Description: A responsive classic theme for ACME Massage Co, with editable starter pages and a warm, traditional layout.
Version: 1.3.8
Requires at least: 6.0
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acme-massage-co
*/

:root {
  color-scheme: light;
  --rust: #b95831;
  --rust-dark: #934324;
  --ink: #383431;
  --muted: #716c67;
  --cream: #f5f1eb;
  --hero-panel: #f0e8de;
  --line: #ded8d1;
  --soft: #f8f5f1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
.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;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  border-top: 8px solid var(--rust);
  background:
    radial-gradient(circle, #d8cfc5 1.15px, transparent 1.7px) 0 0 / 31px 31px,
    linear-gradient(135deg, #f8f5ef, #eee7df);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a { color: var(--rust-dark); text-underline-offset: 3px; }
a:hover { color: #602d1b; }
a:focus-visible, button:focus-visible { outline: 3px solid #df985f; outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 10;
  padding: .7rem 1rem; background: #fff; color: var(--ink);
}
.skip-link:focus { left: 1rem; }
.site-wrap {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 36px);
  margin: 28px auto;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #4a4642;
  box-shadow: 8px 8px 0 rgba(57, 47, 41, .18);
}
.site-header { padding: 26px 28px 0; border-bottom: 1px solid var(--line); }
.brand {
  width: min(100%, 420px); margin: 0 auto 18px; display: flex;
  flex-direction: column; align-items: center; color: var(--ink); text-decoration: none;
}
.brand-logo { width: min(100%, 360px); height: auto; display: block; }
.brand-tag { margin-top: 5px; color: var(--muted); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.nav-row { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0 0 16px; }
.menu-toggle {
  display: none; border: 1px solid var(--line); padding: .55rem .85rem; background: var(--soft);
  color: var(--ink); font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .07em;
}
.primary-nav { display: block; }
.primary-nav .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu li { margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  min-width: 128px; padding: 8px 16px; background: #45423f; color: #fff;
  font-size: .78rem; line-height: 1.4; text-align: center; text-decoration: none;
  text-transform: uppercase; letter-spacing: .035em; transition: background .15s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--rust); }
.primary-nav .menu-book > a, .primary-nav a.nav-book { background: var(--rust); }
.primary-nav .menu-book > a:hover, .primary-nav a.nav-book:hover { background: var(--rust-dark); }
main { flex: 1; }
.main-inner { padding: 30px clamp(22px, 4vw, 48px) 48px; }
.home-hero {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  min-height: 340px; overflow: hidden; background: var(--hero-panel); border: 1px solid var(--line);
}
.hero-copy { padding: clamp(26px, 4vw, 48px); align-self: center; }
.home-hero h1 { font-size: clamp(2rem, 2.9vw, 2.5rem); }
.eyebrow { margin: 0 0 8px; color: var(--rust); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: #48423d; font-family: var(--serif); font-weight: 500; line-height: 1.17; }
h1 { margin: 0 0 15px; font-size: clamp(2.15rem, 4vw, 3.6rem); }
h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
h3 { margin: 0 0 8px; font-size: 1.32rem; }
p { margin: 0 0 1rem; }
.hero-copy p:not(.eyebrow) { max-width: 35rem; color: #56504b; }
.hero-art { min-height: 340px; background: var(--hero-panel); }
.hero-art > p { height: 100%; margin: 0; }
.hero-art > p > .hero-carousel { height: 100%; }
.hero-carousel { position: relative; min-height: 340px; overflow: hidden; isolation: isolate; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; min-height: 340px; display: block; object-fit: cover; }
.carousel-arrow {
  position: absolute; z-index: 2; top: 50%; width: 42px; height: 50px;
  display: grid; place-items: center; transform: translateY(-50%); border: 0;
  background: rgba(48, 31, 23, .65); color: #fff; font: 2rem/1 Georgia, serif;
  cursor: pointer; transition: background .18s ease;
}
.carousel-arrow:hover { background: rgba(48, 31, 23, .9); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; display: flex; gap: 9px;
  padding: 7px 10px; transform: translateX(-50%); border-radius: 999px;
  background: rgba(48, 31, 23, .55);
}
.carousel-dot {
  width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.carousel-dot.is-active { background: #fff; }
@media (min-width: 821px) {
  .hero-art { display: flex; align-items: center; justify-content: center; background: var(--hero-panel); }
  .hero-art > p { width: 100%; height: auto; margin: 0; }
  .hero-art > .hero-carousel,
  .hero-art > p > .hero-carousel { width: 100%; height: auto; aspect-ratio: 12 / 7; min-height: 0; }
  .carousel-slide img { min-height: 0; }
}
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 17px; border: 1px solid var(--rust);
  background: var(--rust); color: #fff; font-size: .83rem; font-weight: 700;
  letter-spacing: .04em; text-decoration: none; text-transform: uppercase;
}
.button:hover { border-color: var(--rust-dark); background: var(--rust-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--rust-dark); }
.button.secondary:hover { background: #f3e3d8; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, .85fr); gap: clamp(28px, 4vw, 50px); margin-top: 42px; }
.content-section { margin: 0 0 34px; }
.content-section > p:last-child { margin-bottom: 0; }
.section-heading { padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; }
.lede { color: #5f5851; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
.therapist-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.therapist-card { padding: 19px 20px; border: 1px solid var(--line); background: #fff; }
.therapist-card .credential { margin: -4px 0 9px; color: var(--rust); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.widget { padding: 21px; margin: 0 0 18px; border: 1px solid var(--line); background: var(--soft); }
.widget h2, .widget h3 { font-size: 1.42rem; }
.widget .button { width: 100%; margin-top: 7px; }
.widget address { font-style: normal; }
.rate-list { margin: 0; padding: 0; list-style: none; }
.rate-list li { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rate-list li:last-child { border-bottom: 0; }
.rate-list strong { white-space: nowrap; }
.note { color: var(--muted); font-size: .9rem; }
.page-title { padding: 26px clamp(22px, 4vw, 48px); margin: 0; background: #f1e8df; border-bottom: 1px solid var(--line); }
.page-title h1 { margin: 0 0 7px; font-size: clamp(2rem, 4vw, 3rem); }
.page-title p { max-width: 54rem; margin: 0; color: #5d554e; }
.page-content { max-width: 850px; padding: 32px clamp(22px, 4vw, 48px) 50px; }
.page-content.wide { max-width: 100%; }
.quote { padding: 20px 24px; margin: 22px 0; border-left: 4px solid var(--rust); background: var(--soft); color: #514a43; font-family: var(--serif); font-size: 1.12rem; font-style: italic; }
.quote p:last-child { margin-bottom: 0; }
.quote cite { display: block; margin-top: 10px; color: var(--muted); font-family: var(--sans); font-size: .8rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.price-box { max-width: 570px; padding: 23px; border: 1px solid var(--line); background: var(--soft); }
.location-card, .contact-card { display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: start; padding: 24px; border: 1px solid var(--line); background: var(--soft); }
.location-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #f0dfd2; color: var(--rust); font-size: 1.7rem; }
.location-card address, .contact-card address { font-style: normal; }
.directions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.direction { padding: 20px; border-top: 3px solid var(--rust); background: #faf8f5; }
.direction h2 { margin-bottom: 8px; font-size: 1.35rem; }
.contact-phone { display: inline-block; margin: 3px 0 10px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); text-decoration: none; }
.site-footer { padding: 24px clamp(22px, 4vw, 48px); background: #45423f; color: #f6f3ef; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer p { margin: 0; font-size: .85rem; }
.site-footer a { color: #f4c6a5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }

@media (max-width: 820px) {
  .site-wrap { width: min(100% - 28px, 700px); }
  .home-hero { grid-template-columns: 1fr; }
  .hero-art, .hero-carousel, .carousel-slide img { min-height: 265px; max-height: 340px; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 14px; }
  .widget { margin-bottom: 0; }
}
@media (max-width: 600px) {
  .site-wrap { width: 100%; min-height: calc(100vh - 8px); margin: 0; border: 0; box-shadow: none; }
  .site-header { padding: 20px 18px 0; }
  .brand { margin-bottom: 14px; }
  .brand-tag { font-size: .65rem; letter-spacing: .11em; }
  .nav-row { justify-content: flex-end; flex-wrap: wrap; padding-bottom: 13px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; width: 100%; }
  .primary-nav .menu { flex-direction: column; gap: 5px; }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu a { width: 100%; }
  .main-inner { padding: 20px 18px 34px; }
  .hero-copy { padding: 27px 22px; }
  .hero-art, .hero-carousel, .carousel-slide img { min-height: 210px; }
  .carousel-arrow { width: 36px; height: 44px; }
  .content-grid { margin-top: 28px; }
  .therapist-list, .sidebar, .directions { grid-template-columns: 1fr; }
  .page-title { padding: 23px 20px; }
  .page-content { padding: 25px 20px 36px; }
  .location-card, .contact-card { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; }
  .location-icon { width: 46px; height: 46px; font-size: 1.35rem; }
  .site-footer { padding: 21px 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
