/* tantra.ie — earthy editorial palette
   cream / terracotta / saffron / dark plum. Cormorant serif heads + Inter body. */

:root {
  --cream:        #FAF6EE;
  --cream-2:      #F1E9D8;
  --terracotta:   #A0522D;
  --terracotta-d: #7A3E20;
  --saffron:      #D49A29;
  --plum:         #3B1F2B;
  --plum-2:       #5A2F40;
  --ink:          #2A1820;
  --muted:        #6B5B57;
  --rule:         #D9C9AE;
  --max:          1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--plum);
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; letter-spacing: -.01em; }
h2 { font-size: 2.1rem; margin-top: 2em; }
h3 { font-size: 1.45rem; margin-top: 1.6em; color: var(--terracotta-d); }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--terracotta); }
p { margin: 0 0 1em; }
a { color: var(--terracotta-d); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
strong { color: var(--plum); }
small { color: var(--muted); font-size: .9em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }

/* Top disclaimer bar */
.disclaimer-bar {
  background: var(--plum);
  color: var(--cream);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .85rem;
  letter-spacing: .02em;
}
.disclaimer-bar strong { color: var(--saffron); }
.disclaimer-bar a { color: var(--cream); }

/* Nav */
.navbar {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
  letter-spacing: .01em;
}
.logo-mark { color: var(--terracotta); }
.logo-tag { color: var(--muted); font-size: .9rem; margin-left: .15em; font-weight: 500; }
.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.4rem; align-items: center;
}
.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.nav-menu a:hover { color: var(--terracotta); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .3rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--plum); margin: 5px 0; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 4.5rem 1.4rem 4rem;
  border-bottom: 1px solid var(--rule);
}
.hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 3.2rem; margin-bottom: .4em; }
.hero-sub { font-size: 1.25rem; color: var(--muted); max-width: 700px; margin: 0 auto 1.6em; line-height: 1.5; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4em; }
.hero-trust { font-size: .82rem; color: var(--muted); margin-top: 1em; }

.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  transition: all .15s;
}
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-d); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }

/* Sections */
section { padding: 3.2rem 0; }
.section-head { max-width: 760px; margin: 0 auto 2.4em; text-align: center; }
.section-head h2 { margin-top: 0; }
.section-intro { color: var(--muted); font-size: 1.08rem; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--plum-2); margin-bottom: 1.6em; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }

/* Pillar grid (homepage) */
.pillars-grid {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.6rem 1.4rem 1.4rem;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.pillar-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59,31,43,.08); }
.pillar-card h3 { margin-top: 0; }
.pillar-num {
  position: absolute; top: -.7em; left: 1.2em;
  background: var(--saffron); color: var(--plum);
  width: 1.8em; height: 1.8em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.1rem;
}
.pillar-card a { color: var(--terracotta-d); font-weight: 600; }

/* Cards */
.card-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.4rem;
}
.card h3 { margin-top: 0; font-size: 1.25rem; }
.card .meta { color: var(--muted); font-size: .9rem; margin-bottom: .8em; }
.card .modalities { display: flex; flex-wrap: wrap; gap: .4em; margin: .6em 0; }
.tag { background: var(--cream-2); color: var(--plum-2); padding: .15em .65em; border-radius: 30px; font-size: .78rem; font-weight: 500; letter-spacing: .01em; }

/* Article body */
article.prose { max-width: 740px; margin: 0 auto; }
article.prose h2 { margin-top: 2em; }
article.prose ul, article.prose ol { padding-left: 1.4em; }
article.prose li { margin-bottom: .4em; }
article.prose blockquote {
  border-left: 3px solid var(--saffron);
  padding: .2em 0 .2em 1.4em;
  margin: 1.4em 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--plum-2);
  font-style: italic;
}
article.prose .callout {
  background: var(--cream-2);
  border-left: 3px solid var(--terracotta);
  padding: 1em 1.2em;
  margin: 1.6em 0;
  border-radius: 0 6px 6px 0;
}
article.prose .callout p:last-child { margin-bottom: 0; }
article.prose .footnote { font-size: .85rem; color: var(--muted); }

.byline { color: var(--muted); font-size: .9rem; margin-bottom: 2em; font-style: italic; border-bottom: 1px solid var(--rule); padding-bottom: 1em; }

/* TOC chip strip */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6em 0; }
.chip {
  background: var(--cream-2); color: var(--plum);
  padding: .3em .8em; border-radius: 30px;
  font-size: .88rem; text-decoration: none; font-weight: 500;
  border: 1px solid var(--rule);
}
.chip:hover { background: var(--saffron); color: var(--plum); border-color: var(--saffron); }

/* Footer */
footer {
  background: var(--plum);
  color: var(--cream-2);
  padding: 3rem 1.4rem 2rem;
  margin-top: 4rem;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-col h4 { color: var(--saffron); font-size: .85rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5em; }
.footer-col a { color: var(--cream-2); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(250,246,238,.15);
  font-size: .82rem; color: rgba(250,246,238,.7);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(250,246,238,.85); }

/* Mobile */
@media (max-width: 760px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 3rem 1rem 2.8rem; }
  .hero-sub { font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 1rem 1.4rem; gap: .6rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-menu.open { display: flex; }
  .footer-bottom { flex-direction: column; }
}
