/* Foundation to Wellness — Home page (content in Admin → Home) */
:root { --gold:#a6872f; --gold-light:#d4af37; --gold-pale:#f3d78a; --hot:#ff5722; --orange:#ff8c42; --violet:#5865f2; --text:#f4f1ea; --muted:#b8b3a8; --panel:rgba(14,13,17,.78); }
* { box-sizing: border-box; }
html { background: #0b0b0d; }
body { margin: 0; background: transparent; color: var(--text); font-family: var(--font-body, 'Raleway', sans-serif); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head, 'Cinzel', serif); margin: 0; }
a { color: var(--gold-light); }
img { max-width: 100%; height: auto; }

/* Shop photo behind the whole page, with a black gradient so the sections stand out */
.hm-bg { position: fixed; inset: 0; z-index: -1; background: #0b0b0d center / cover no-repeat; }
.hm-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.78) 0%, rgba(8,8,10,.55) 45%, rgba(8,8,10,.82) 100%); }

/* Loader — fades in only after 0.3s (so fast loads never see it), gone as soon as the page is ready */
.hm-loader { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 50%, rgba(212,175,55,.12), #070708 60%); opacity: 0; animation: hmLoaderIn .5s ease .3s forwards; transition: opacity .6s ease, visibility 0s .6s; }
.hm-loader img { width: 130px; height: auto; border-radius: 50%; animation: hmLoaderPulse 1.8s ease-in-out infinite; }
.hm-loader.done { opacity: 0 !important; visibility: hidden; animation: none; }
@keyframes hmLoaderIn { to { opacity: 1; } }
@keyframes hmLoaderPulse { 0%, 100% { transform: scale(.94); filter: drop-shadow(0 0 8px rgba(212,175,55,.35)); } 50% { transform: scale(1.04); filter: drop-shadow(0 0 28px rgba(255,140,66,.7)); } }
@media (prefers-reduced-motion: reduce) { .hm-loader img { animation: none; } }

/* Header */
.hm-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; }
.hm-logo img { width: 110px; height: auto; display: block; filter: drop-shadow(0 0 14px rgba(212,175,55,.35)); }
.hm-header [data-site-menu-bar] { flex: 1; }

/* Hero slider */
.hm-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 2px solid rgba(255,140,66,.45); }
.hm-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(212,175,55,.18), transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(212,175,55,.12), transparent 55%), rgba(5,5,7,.55) center / cover no-repeat; }
.hm-hero-bg.has-img::after { content: ''; position: absolute; inset: 0; background: rgba(5,5,7,.45); }
.hm-slides { position: relative; width: 100%; max-width: 980px; padding: 150px 70px 90px; text-align: center; min-height: 420px; }
.hm-slide { position: absolute; inset: 150px 70px 90px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hm-slide.on { position: relative; inset: auto; opacity: 1; visibility: visible; transition: opacity .7s ease; }
.hm-slide h1, .hm-slide h2 { font-size: clamp(1.8rem, 4.6vw, 3.2rem); letter-spacing: 1.5px; line-height: 1.2; color: var(--text); text-shadow: 0 2px 18px rgba(0,0,0,.8); margin-bottom: 18px; }
.hm-slide-text { color: var(--text); font-size: clamp(.98rem, 1.6vw, 1.12rem); line-height: 1.7; max-width: 760px; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.hm-slide-text p { margin: 0 0 10px; }
.hm-slide-btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.hm-arrow { position: absolute; top: 55%; transform: translateY(-50%); z-index: 5; background: none; border: none; color: rgba(244,241,234,.8); font-size: 3rem; line-height: 1; cursor: pointer; padding: 10px 16px; }
.hm-arrow:hover { color: var(--orange); }
.hm-prev { left: 10px; } .hm-next { right: 10px; }
.hm-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hm-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(212,175,55,.35); cursor: pointer; padding: 0; }
.hm-dots button.on { background: var(--gold-light); transform: scale(1.3); }

/* Buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(13,13,16,.9); border: 2px solid var(--gold-light); border-radius: 8px; color: var(--text); font: 700 .82rem var(--font-head, 'Cinzel', serif); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 13px 26px; cursor: pointer; box-shadow: 0 0 16px rgba(212,175,55,.35); transition: all .3s ease; }
.hm-btn:hover { border-color: var(--hot); color: #ffd4ab; box-shadow: 0 0 26px rgba(255,87,34,.7); }
.hm-btn-orange { border-color: var(--violet); color: var(--orange); box-shadow: 0 0 0 1px rgba(88,101,242,.4), 0 0 16px rgba(255,87,34,.55); }
.hm-btn-ghost { border-color: rgba(166,135,47,.5); box-shadow: none; color: var(--muted); }

/* Sections */
.hm-main { max-width: 1160px; margin: 0 auto; padding: 40px 22px 30px; display: flex; flex-direction: column; gap: 46px; }
.hm-loading { text-align: center; color: var(--muted); }
.hm-panel { background: var(--panel); border: 1px solid rgba(166,135,47,.3); border-radius: 14px; padding: 26px 28px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hm-intro { font-size: 1.05rem; line-height: 1.75; color: #e4dfd3; }
.hm-intro p { margin: 0 0 14px; } .hm-intro p:last-child { margin: 0; }
.hm-intro a { color: var(--gold-light); text-decoration: none; } .hm-intro a:hover { color: var(--orange); }
.hm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.hm-col { text-align: center; }
.hm-col h5, .hm-col h6 { color: var(--text); font-size: 1.05rem; letter-spacing: 1px; margin: 16px 0 8px; }
.hm-col p { margin: 0; line-height: 1.75; }
.hm-col h6 + h6 { font-family: var(--font-body, 'Raleway', sans-serif); font-weight: 500; font-size: 1rem; line-height: 1.85; letter-spacing: 0; color: #e4dfd3; }
.hm-map img { border-radius: 10px; border: 1px solid rgba(166,135,47,.4); display: block; margin: 0 auto; }
.hm-carousel { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(166,135,47,.4); aspect-ratio: 16 / 9; background: #111; }
.hm-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hm-carousel img.on { opacity: 1; }
.hm-carousel button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); border: none; color: #fff; font-size: 1.8rem; width: 40px; height: 56px; cursor: pointer; }
.hm-carousel .p { left: 0; } .hm-carousel .n { right: 0; }
.hm-center { text-align: center; }
.hm-library h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); letter-spacing: 1px; color: var(--text); }
.hm-library h2 a { text-decoration: none; color: inherit; }
.hm-library h2 .hl { background: linear-gradient(90deg, #8a5cf6, var(--gold-light) 45%, #e59213 75%, #ff5d3a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-tagline { margin: 12px 0 18px; color: var(--text); font: 600 clamp(.85rem, 1.6vw, 1.05rem) var(--font-head, 'Cinzel', serif); letter-spacing: .5px; }
.hm-video { display: block; max-width: 720px; margin: 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 0 28px rgba(229,146,19,.35); border: 1px solid rgba(229,146,19,.5); }
.hm-video video { display: block; width: 100%; }
.hm-atlas img { width: 150px; border-radius: 26px; box-shadow: 0 0 22px rgba(212,175,55,.35); display: block; margin: 0 auto 10px; }
.hm-atlas .cap { font: 700 .95rem var(--font-head, 'Cinzel', serif); letter-spacing: .5px; color: var(--text); text-decoration: none; display: block; margin-bottom: 16px; }
.hm-copper img { max-width: 420px; width: 100%; border-radius: 10px; }
.hm-copper a.l { display: block; text-decoration: none; color: var(--gold-light); font: 700 1.05rem var(--font-head, 'Cinzel', serif); letter-spacing: .5px; margin-top: 12px; }
.hm-copper a.l2 { color: var(--orange); font-size: 1rem; }
.hm-sw4 a.h { display: block; text-decoration: none; color: var(--text); font: 700 1.15rem var(--font-head, 'Cinzel', serif); letter-spacing: 1px; margin-bottom: 14px; }
.hm-sw4 img { max-width: 640px; width: 100%; border-radius: 10px; border: 1px solid rgba(166,135,47,.4); }
.hm-connect .line { display: block; margin-top: 12px; color: #a3a3a3; text-decoration: none; font: 600 .9rem var(--font-head, 'Cinzel', serif); letter-spacing: 1px; }
hr.hm-hr { border: none; border-top: 1px solid rgba(166,135,47,.3); margin: 0; }

/* Reviews */
.hm-reviews h2 { color: var(--gold-light); font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: 1px; }
.hm-reviews h3 { color: var(--muted); font-size: .95rem; margin: 8px 0 22px; letter-spacing: 1px; }
.hm-rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.hm-rev { scroll-snap-align: start; background: var(--panel); border: 1px solid rgba(166,135,47,.3); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.hm-rev .stars { color: var(--gold-light); letter-spacing: 2px; }
.hm-rev p { margin: 0; color: #ddd8cc; line-height: 1.65; font-size: .93rem; white-space: pre-line; }
.hm-rev .who { margin-top: auto; font: 700 .9rem var(--font-head, 'Cinzel', serif); color: var(--text); }
.hm-rev .who small { display: block; font: .78rem var(--font-body, 'Raleway', sans-serif); color: var(--muted); margin-top: 2px; }

/* Social */
.hm-social .follow { font: 600 clamp(1rem, 2vw, 1.25rem) var(--font-head, 'Cinzel', serif); color: var(--text); }
.hm-social .word { color: var(--gold); display: inline-block; min-width: 7ch; text-align: left; transition: opacity .3s; }
.hm-icons { display: flex; justify-content: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.hm-icons a { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; background: rgba(13,13,16,.85); transition: all .25s; }
.hm-icons a:hover { border-color: var(--hot); box-shadow: 0 0 16px rgba(255,87,34,.6); }
.hm-icons svg { width: 20px; height: 20px; fill: var(--gold-pale); }

/* Pop-up */
.hm-modal-overlay { position: fixed; inset: 0; z-index: 8000; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.hm-modal-overlay.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.hm-modal { width: min(640px, 100%); max-height: 86vh; overflow-y: auto; background: #111015; border: 2px solid var(--orange); border-radius: 14px; padding: 26px; box-shadow: 0 0 40px rgba(255,87,34,.3); }
.hm-modal h3 { color: var(--gold-light); text-align: center; letter-spacing: 1px; margin-bottom: 16px; font-size: 1.15rem; }
.hm-modal-body { color: #ddd8cc; line-height: 1.7; }
.hm-modal-body p { margin: 0 0 10px; }
.hm-modal-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
body.hm-locked { overflow: hidden; }

/* Footer */
.hm-footer { margin-top: 30px; background: rgba(5,5,7,.92); border-top: 2px solid rgba(166,135,47,.4); padding: 30px 20px 26px; text-align: center; color: var(--muted); font-size: .85rem; }
.hm-footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 16px; }
.hm-footer-nav a { color: var(--text); text-decoration: none; font: 600 .82rem var(--font-head, 'Cinzel', serif); letter-spacing: .5px; }
.hm-footer-nav a:hover { color: var(--orange); }
.hm-footer-social { margin-bottom: 14px; }
.hm-footer p { margin: 6px 0; }
.hm-credit { font-size: .76rem; }

@media (max-width: 999px) { .hm-header { padding: 12px 16px; } .hm-logo img { width: 84px; } }
@media (max-width: 800px) {
  .hm-two { grid-template-columns: 1fr; }
  .hm-rev-track { grid-auto-columns: 85%; }
  .hm-hero { align-items: flex-start; min-height: 0; }
  .hm-slides { padding: 112px 34px 70px; min-height: 480px; }
  .hm-slide { inset: 112px 34px 70px; justify-content: flex-start; }
  /* Phones: ☰ Menu in the top corner, logo just below it, sitting above the heading */
  body .hm-header .sm-logo-row { padding-top: 50px; }
  body .hm-header .sm-logo-row .sm-btn.sm-inline { top: 0; transform: none; }
  .hm-slides { padding-top: 160px; }
  .hm-slide { top: 160px; }
  .hm-slide.on { justify-content: flex-start; }
  .hm-arrow { font-size: 2.2rem; padding: 6px 8px; }
  .hm-panel { padding: 20px; }
}
