/* ==========================================================================
   Human Relaxation Centre — Base
   Reset, typography, buttons, containers and utilities.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--aumtm-bg);
  color: var(--aumtm-text);
  font-family: var(--aumtm-font-body);
  font-size: var(--aumtm-fs-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

/* --------------------------------------------------------------------------
   Headings
   Only .aumtm-display uses the serif. Card headings and anything else at small
   sizes stay in the body face.
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--aumtm-font-body);
  color: var(--aumtm-heading);
  font-weight: 600;
  line-height: 1.35;
}

.aumtm-display {
  font-family: var(--aumtm-font-display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.aumtm-display em {
  font-style: italic;
  color: var(--aumtm-blue);
}

/* Spectral defaults to old-style figures, which makes prices and phone numbers
   sit at uneven heights. Anywhere digits appear in the serif, force lining. */
.aumtm-display,
.aumtm-step__num,
.aumtm-meta__val,
.aumtm-price,
.aumtm-topbar,
.aumtm-footer__contact {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

::selection { background: var(--aumtm-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--aumtm-cyan); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Containers and sections
   -------------------------------------------------------------------------- */
.aumtm-container {
  width: 100%;
  max-width: var(--aumtm-container);
  margin-inline: auto;
  padding-inline: var(--aumtm-gutter);
}
.aumtm-container--narrow { max-width: var(--aumtm-container-nr); }

.aumtm-section { padding-block: var(--aumtm-section-y); position: relative; }
.aumtm-section--soft { background: var(--aumtm-bg-soft); }
.aumtm-section--tint { background: var(--aumtm-blue-tint); }
.aumtm-section--dark { background: var(--aumtm-ink); color: var(--aumtm-on-dark); }
.aumtm-section--dark h1,
.aumtm-section--dark h2,
.aumtm-section--dark h3 { color: #fff; }
.aumtm-section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* --------------------------------------------------------------------------
   Section heading group

   Left aligned by default; centring is opt-in through --center. Measure-limited
   body copy must not be centred on its own, or the text drifts away from the
   heading above it and the two stop reading as one block.
   -------------------------------------------------------------------------- */
.aumtm-secthead { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.aumtm-secthead__title { font-size: var(--aumtm-fs-h2); }
.aumtm-secthead__lead {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: var(--aumtm-fs-lead);
}
.aumtm-secthead--center { text-align: center; }
.aumtm-secthead--center .aumtm-secthead__lead { margin-inline: auto; }

.aumtm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  color: var(--aumtm-blue);
  font-size: var(--aumtm-fs-2xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.aumtm-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--aumtm-cyan);
}
.aumtm-secthead--center .aumtm-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--aumtm-cyan);
}
.aumtm-section--dark .aumtm-eyebrow { color: var(--aumtm-cyan-soft); }

.aumtm-hairline { height: 1px; border: 0; margin: 0; background: var(--aumtm-line); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.aumtm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--aumtm-radius);
  font-size: var(--aumtm-fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background var(--aumtm-dur) var(--aumtm-ease),
              color var(--aumtm-dur) var(--aumtm-ease),
              border-color var(--aumtm-dur) var(--aumtm-ease);
}
.aumtm-btn--primary {
  background: var(--aumtm-blue);
  border-color: var(--aumtm-blue);
  color: #fff;
}
.aumtm-btn--primary:hover { background: var(--aumtm-blue-deep); border-color: var(--aumtm-blue-deep); }

.aumtm-btn--ghost {
  background: transparent;
  border-color: var(--aumtm-blue);
  color: var(--aumtm-blue);
}
.aumtm-btn--ghost:hover { background: var(--aumtm-blue); color: #fff; }

/* Outlined button for dark backgrounds */
.aumtm-btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.aumtm-btn--light:hover { background: #fff; border-color: #fff; color: var(--aumtm-ink); }

.aumtm-btn--sm { padding: 0.6875rem 1.375rem; font-size: var(--aumtm-fs-xs); }

.aumtm-btns { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Inline link: blue text with a cyan rule. The cyan is decoration — it does
   not carry enough contrast to be the text colour itself. */
.aumtm-link {
  color: var(--aumtm-blue);
  font-weight: 600;
  border-bottom: 2px solid var(--aumtm-cyan);
  padding-bottom: 1px;
  transition: color var(--aumtm-dur) var(--aumtm-ease);
}
.aumtm-link:hover { color: var(--aumtm-blue-deep); }

/* --------------------------------------------------------------------------
   Long-form copy

   Measure-limited but left aligned. Centring the column would offset it from
   the page heading, which sits against the container edge.
   -------------------------------------------------------------------------- */
.aumtm-prose { max-width: 68ch; }
.aumtm-prose > * + * { margin-top: 1.25rem; }
.aumtm-prose h3 { font-size: var(--aumtm-fs-h3); margin-top: 2.25rem; }
.aumtm-prose strong { color: var(--aumtm-heading); font-weight: 700; }
.aumtm-prose ul { display: grid; gap: 0.625rem; }
.aumtm-prose ul li {
  position: relative;
  padding-left: 1.5rem;
}
.aumtm-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aumtm-cyan);
}

/* --------------------------------------------------------------------------
   Image frames

   The class name is repeated deliberately. Elementor ships
   `.elementor img { height: auto }` at specificity (0,1,1), which outranks a
   single class and stops cropped images from filling their frame. Doubling the
   class gives (0,2,0) and wins it back.
   -------------------------------------------------------------------------- */
.aumtm-figure { position: relative; overflow: hidden; border-radius: var(--aumtm-radius); }
.aumtm-figure__img.aumtm-figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aumtm-figure--3x4 { aspect-ratio: 3 / 4; }
.aumtm-figure--4x3 { aspect-ratio: 4 / 3; }
.aumtm-figure--16x9 { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   Scroll-in animation (JavaScript adds .is-in)
   -------------------------------------------------------------------------- */
.aumtm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--aumtm-ease), transform 0.7s var(--aumtm-ease);
}
.aumtm-reveal.is-in { opacity: 1; transform: none; }
.aumtm-reveal[data-delay="1"] { transition-delay: 0.08s; }
.aumtm-reveal[data-delay="2"] { transition-delay: 0.16s; }
.aumtm-reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aumtm-reveal { opacity: 1; transform: none; transition: none; }
}

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

/* Marker class for demonstration content, so placeholder copy can be found
   with a single search before launch. */
.aumtm-ph { }

/* Centred button row and a large top gap. These exist as classes so no
   template has to reach for an inline style attribute. */
.aumtm-btns--center { justify-content: center; }
.aumtm-mt-lg { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* --------------------------------------------------------------------------
   Post list and search results

   The site has no blog today, but the archive templates have to be styled: the
   moment a plugin or a stray post creates one of these views, an unstyled page
   is what visitors see.
   -------------------------------------------------------------------------- */
.aumtm-postlist { display: grid; gap: 2.5rem; }
.aumtm-postlist__item { padding-bottom: 2.5rem; border-bottom: 1px solid var(--aumtm-line); }
.aumtm-postlist__item:last-child { border-bottom: 0; padding-bottom: 0; }
.aumtm-postlist__title { font-size: 1.5rem; }
.aumtm-postlist__title a:hover { color: var(--aumtm-blue); }
.aumtm-postlist__meta {
  margin-top: 0.375rem;
  font-size: var(--aumtm-fs-xs);
  color: var(--aumtm-text-dim);
}

.pagination, .nav-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 3rem; justify-content: center;
}
.nav-links .page-numbers {
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding-inline: 0.75rem;
  border: 1px solid var(--aumtm-line); border-radius: var(--aumtm-radius);
  font-size: var(--aumtm-fs-sm);
}
.nav-links .page-numbers:hover { border-color: var(--aumtm-cyan); color: var(--aumtm-blue); }
.nav-links .page-numbers.current {
  background: var(--aumtm-blue); border-color: var(--aumtm-blue); color: #fff;
}

/* Size limits for an uploaded logo image */
.aumtm-logo--img { margin-right: auto; }
.aumtm-logo__img { max-height: 52px; width: auto; }
@media (max-width: 900px) { .aumtm-logo__img { max-height: 40px; } }


/* A flat single-colour logo rendered white for the dark footer band. Replaced
   by a real reversed file as soon as one is uploaded in Theme Settings. */
.aumtm-logo__img--reversed { filter: brightness(0) invert(1); }
