/* ==========================================================================
   Tantrasya — design tokens
   Palette drawn from ritual materials: marigold, sindoor, tulsi leaf, dusk
   indigo, temple brass. Warm and saturated on purpose — no black, no grey,
   no washed-out pastel.
   ========================================================================== */

:root {
  /* base surfaces */
  --cream:        #FBEEDA;   /* page background — warm papaya, not stark white */
  --cream-deep:    #F5DFB8;   /* alternating section background */
  --card:         #FFF8EC;   /* card surface, lifted above the page */

  /* ink (replaces black/grey entirely) */
  --ink:          #3A2013;   /* primary text — deep ember brown */
  --ink-soft:     #6E4B34;   /* secondary text */
  --ink-faint:    #9A7458;   /* tertiary / meta text */

  /* accents */
  --marigold:     #E89327;   /* primary accent — marigold gold */
  --marigold-deep:#C97614;
  --terracotta:   #C1442C;   /* secondary accent — sindoor red */
  --terracotta-deep:#9E3320;
  --plum:         #6E2D63;   /* mystical accent — twilight plum */
  --moss:         #4C6B37;   /* grounding accent — tulsi green */
  --indigo:       #2B2350;   /* deep section background — dusk sky, not black */
  --indigo-soft:  #3E3468;
  --brass:        #B8873A;   /* hairline / rule color */

  --shadow: 0 12px 32px -18px rgba(58, 32, 19, 0.45);
  --shadow-soft: 0 6px 18px -10px rgba(58, 32, 19, 0.28);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 22px;
  --wrap: 1180px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream);
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 3.4vw + 1.2rem, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 1.8vw + 1.1rem, 2.8rem); }
h3 { font-size: clamp(1.3rem, 0.6vw + 1.05rem, 1.6rem); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--marigold);
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--marigold); }
.on-dark .eyebrow::before { background: var(--marigold); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-small { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary {
  background: var(--terracotta);
  color: var(--card);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.on-dark .btn-outline { color: var(--cream); }
.on-dark .btn-outline:hover { background: var(--cream); color: var(--indigo); }

.btn-ghost {
  color: var(--terracotta-deep);
  padding-left: 2px;
  padding-right: 2px;
  border-radius: 0;
}
.btn-ghost::after { content: "→"; transition: transform 0.18s ease; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 238, 218, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 135, 58, 0.28);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.wordmark-logo {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}
.wordmark-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.site-nav ul { display: flex; gap: 30px; }
.site-nav a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--terracotta-deep); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--marigold); border-radius: 2px;
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
}

.mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid rgba(184,135,58,0.28);
  padding: 12px 28px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid rgba(184,135,58,0.18);
}
.mobile-nav .btn { margin-top: 14px; width: 100%; justify-content: center; border-bottom: none; }

/* ==========================================================================
   Section shells
   ========================================================================== */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-alt { background: var(--cream-deep); }
.section-dark {
  background: var(--indigo);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(251, 238, 218, 0.78); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Arch motif — recurring threshold shape used for the hero image, section
   dividers and portrait frames. Represents "crossing between the seen and
   unseen" without borrowing any specific religious iconography. */
.arch-frame {
  border-radius: 50% 50% 6px 6px / 32% 32% 6px 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.divider-arch {
  width: 100%;
  height: 64px;
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 10px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.hero-mantra {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--plum);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.hero-lede { font-size: 1.14rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-visual .arch-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--plum), var(--indigo) 60%, var(--terracotta-deep));
  position: relative;
  overflow: hidden;
}
.arch-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  align-self: flex-start;
  background: var(--card);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  max-width: 230px;
  border: 1px solid rgba(184,135,58,0.22);
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta-deep); }
.hero-badge span { font-size: 0.86rem; color: var(--ink-soft); }

.hero-orbit {
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--marigold);
  opacity: 0.9;
  z-index: -1;
}

.trust-strip {
  border-top: 1px solid rgba(184,135,58,0.3);
  border-bottom: 1px solid rgba(184,135,58,0.3);
  padding: 22px 0;
}
.trust-strip ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip li {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.trust-strip strong { color: var(--terracotta-deep); display: block; font-size: 1.5rem; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184,135,58,0.22);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--card);
}
.service-card h3 { margin-bottom: 2px; }
.service-card p { font-size: 0.96rem; margin-bottom: 0; }
.service-card .card-link { margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--terracotta-deep); }

/* rotate accent colors across service icons */
.service-card:nth-child(6n+1) .service-icon { background: var(--terracotta); }
.service-card:nth-child(6n+2) .service-icon { background: var(--plum); }
.service-card:nth-child(6n+3) .service-icon { background: var(--moss); }
.service-card:nth-child(6n+4) .service-icon { background: var(--marigold-deep); }
.service-card:nth-child(6n+5) .service-icon { background: var(--indigo-soft); }
.service-card:nth-child(6n+6) .service-icon { background: var(--terracotta-deep); }

.testimonial-card { position: relative; }
.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--marigold);
  line-height: 0.6;
  display: block;
  margin-bottom: 14px;
}
.testimonial-card p { font-style: italic; color: var(--ink); }
.testimonial-card footer {
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--terracotta-deep);
}

.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card .post-thumb {
  aspect-ratio: 16/11;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--marigold), var(--terracotta));
  object-fit: cover;
  width: 100%;
}
.post-card:nth-child(3n+2) .post-thumb:not(img) { background: linear-gradient(140deg, var(--plum), var(--indigo-soft)); }
.post-card:nth-child(3n+3) .post-thumb:not(img) { background: linear-gradient(140deg, var(--moss), var(--marigold-deep)); }
.post-meta { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.post-card h3 { margin-bottom: 4px; }
.post-card p { font-size: 0.95rem; }

/* ==========================================================================
   Consultations / pricing
   ========================================================================== */

.price-table { display: grid; gap: 20px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 26px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(184,135,58,0.25);
}
.price-row .price-name { font-family: var(--font-display); font-size: 1.15rem; }
.price-row .price-note { font-size: 0.88rem; color: var(--ink-faint); display: block; margin-top: 2px; }
.price-row .price-amount { font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta-deep); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(184,135,58,0.4);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(193,68,44,0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(76,107,55,0.15); color: var(--moss); }
.form-status.error { background: rgba(193,68,44,0.15); color: var(--terracotta-deep); }

.contact-info-card { background: var(--indigo); color: var(--cream); }
.contact-info-card h3 { color: var(--cream); }
.contact-info-card p { color: rgba(251,238,218,0.78); }
.contact-info-card a { color: var(--marigold); font-weight: 600; }
.contact-info-list { margin-top: 20px; display: grid; gap: 14px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-list .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--marigold);
  margin-top: 8px; flex-shrink: 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-filter button {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1.5px solid rgba(184,135,58,0.4);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.blog-filter button.active, .blog-filter button:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--card); }

.blog-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--ink-faint);
  font-style: italic;
}

.blog-year-group { margin-bottom: 56px; }
.blog-year-group:last-child { margin-bottom: 0; }
.year-heading {
  font-size: 1.1rem;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(184,135,58,0.3);
  padding-bottom: 12px;
  margin-bottom: 28px;
}
.post-card.is-hidden { display: none; }

.article-header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.article-header .post-meta { justify-content: center; display: flex; gap: 14px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.article-body h2 { margin-top: 1.6em; font-size: 1.7rem; }
.article-body h3 { margin-top: 1.4em; font-size: 1.3rem; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body a { color: var(--terracotta-deep); text-decoration: underline; text-decoration-color: rgba(193,68,44,0.4); }
.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--marigold);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.article-body ul, .article-body ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.article-body img {
  border-radius: 18px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}
.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto 48px;
  display: block;
  max-width: 900px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--indigo);
  color: var(--cream);
  border-radius: 32px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(251,238,218,0.78); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--marigold); color: var(--indigo); }
.cta-band .btn-primary:hover { background: #f5a83e; }
.cta-band .btn-outline { color: var(--cream); }
.cta-band .btn-outline:hover { background: var(--cream); color: var(--indigo); }
.cta-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--indigo);
  color: rgba(251,238,218,0.85);
  padding: 72px 0 28px;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(251,238,218,0.16);
}
.footer-word { color: var(--cream); font-size: 1.6rem; }
.footer-brand p { margin-top: 10px; color: rgba(251,238,218,0.65); max-width: 32ch; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(251,238,218,0.78); font-size: 0.95rem; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(251,238,218,0.55);
  flex-wrap: wrap;
}
.footer-note { max-width: 46ch; }

/* ==========================================================================
   404
   ========================================================================== */

.page-404 { text-align: center; padding: 140px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-band { padding: 48px 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  h1 { font-size: 2.5rem; }
}

/* ABOUT TEASER — homepage two-column layout with portrait image */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.about-teaser-image {
  display: flex;
  justify-content: center;
}
.about-teaser-image img {
  max-height: 420px;
  width: auto;
}
@media (max-width: 760px) {
  .about-teaser-grid { grid-template-columns: 1fr; }
  .about-teaser-image { order: -1; }
}

/* SIGIL STRIP — decorative divider using the practitioner's own sigils */
.sigil-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.sigil-strip .sigil {
  height: 90px;
  width: auto;
  opacity: 0.8;
}
.sigil-strip .sigil-divider {
  width: 40px;
  height: 1px;
  background: rgba(184,135,58,0.4);
}
@media (max-width: 760px) {
  .sigil-strip { gap: 20px; flex-wrap: wrap; }
  .sigil-strip .sigil { height: 60px; }
  .sigil-strip .sigil-divider { width: 20px; }
}

/* Straddles the boundary between the consultations (tan) and blog (cream)
   sections — vertically centers the sigil strip right on the color line. */
.sigil-strip-straddle {
  position: relative;
  margin-top: -45px;
  z-index: 2;
}
@media (max-width: 760px) {
  .sigil-strip-straddle { margin-top: -30px; }
}
