/* ==============================================
   Resonance ATX — resonanceatx.com
   Sound Healing & Reiki · East Austin
   ============================================== */

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

:root {
  --cream:      #FBF8F2;
  --dark:       #110E08;
  --dark-mid:   #1E1912;
  --gold:       #C4975A;
  --gold-light: #E0B87A;
  --gold-pale:  #F5ECD8;
  --text:       #1A160E;
  --muted:      #6B6057;
  --border:     #E8E0D4;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
}

/* ---- Utilities ---- */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.section-header {
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--hero {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn--hero:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(196, 151, 90, 0.35);
}

.btn--outline {
  border-color: var(--text);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}

.btn--light:hover {
  background: var(--gold-pale);
  border-color: var(--gold-pale);
  transform: translateY(-1px);
}

/* ---- Nav ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  text-decoration: none;
}

.nav__wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 0.35s ease;
}

.nav__wordmark em {
  font-style: italic;
  color: var(--gold);
}

.nav.scrolled .nav__wordmark {
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(251, 248, 242, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav.scrolled .nav__links a {
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--cream);
}

.nav.scrolled .nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px;
  border: 1px solid rgba(251, 248, 242, 0.3);
  color: rgba(251, 248, 242, 0.9) !important;
  transition: all 0.2s ease !important;
}

.nav.scrolled .nav__cta {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.nav__cta:hover {
  background: rgba(251, 248, 242, 0.12);
  color: var(--cream) !important;
}

.nav.scrolled .nav__cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav.scrolled .nav__toggle span {
  background: var(--text);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100dvh;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(196, 151, 90, 0.15) 0%,
    rgba(196, 151, 90, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196, 151, 90, 0.12);
  transform: translate(-50%, -50%);
  animation: ringPulse 7s ease-out infinite;
}

.ring--1 { width: 180px;  height: 180px;  animation-delay: 0s; }
.ring--2 { width: 360px;  height: 360px;  animation-delay: 1.75s; }
.ring--3 { width: 560px;  height: 560px;  animation-delay: 3.5s; }
.ring--4 { width: 760px;  height: 760px;  animation-delay: 5.25s; }

@keyframes ringPulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.88); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 640px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 9vw, 5.75rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(251, 248, 242, 0.55);
  margin-bottom: 2.75rem;
}

/* ---- Intro ---- */

.intro {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}

.intro__text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Offerings ---- */

.offerings {
  padding: 6rem 0;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.offering-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.offering-card:hover {
  box-shadow: 0 12px 40px rgba(26, 22, 14, 0.08);
  transform: translateY(-3px);
}

.offering-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.offering-card__icon svg {
  width: 22px;
  height: 22px;
}

.offering-card__title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--text);
}

.offering-card__body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  flex: 1;
}

.offering-card__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.offering-card__details li {
  font-size: 0.775rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-left: 1rem;
  position: relative;
}

.offering-card__details li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---- About ---- */

.about {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--gold-pale) 0%, #E2CAAD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-placeholder span {
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}

/* To swap in a real photo: remove the placeholder div above and use:
   <img class="about__photo" src="assets/shelley.jpg" alt="Shelley Hardin" /> */
.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 15%;
}

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

.about__name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

.about__body {
  font-size: 0.925rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

/* ---- Contact ---- */

.contact__inner {
  background: var(--dark);
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.contact__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(196, 151, 90, 0.1), transparent 65%);
  pointer-events: none;
}

.contact__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact__eyebrow {
  color: var(--gold);
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.contact__sub {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(251, 248, 242, 0.5);
  max-width: 380px;
  margin-bottom: 0.75rem;
}

.contact__note {
  font-size: 0.74rem;
  font-weight: 300;
  color: rgba(251, 248, 242, 0.28);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ---- Footer ---- */

.footer {
  background: var(--dark-mid);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(251, 248, 242, 0.45);
  letter-spacing: 0.04em;
}

.footer__location {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.22);
}

.footer__link {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 1;
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .offering-card, .nav, .nav__wordmark { transition: none; }
}

/* ---- Mobile nav ---- */

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(17, 14, 8, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0 1.25rem;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: rgba(251, 248, 242, 0.75) !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
  }

  .nav__links a:hover {
    color: var(--cream) !important;
    background: rgba(255,255,255,0.04) !important;
  }

  .nav__cta {
    margin: 0.5rem 1.5rem !important;
    padding: 0.75rem 1.25rem !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    text-align: center;
    border-radius: 100px !important;
  }

  .nav__toggle {
    display: flex;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image-placeholder {
    aspect-ratio: 3 / 2;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__sub br,
  .contact__sub br {
    display: none;
  }

  .contact__inner {
    padding: 5rem 0;
  }
}
