/* ---------------------------
   Base + Design Tokens
---------------------------- */
:root{
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: rgba(17,17,17,0.04);
  --text: #111111;
  --muted: rgba(17,17,17,0.68);
  --border: rgba(17,17,17,0.10);

  --accent: #D9381E;
  --accent-2: #1f3a5f;       /* restrained indigo */

  --radius: 18px;
  --shadow: 0 12px 30px rgba(0,0,0,0.08);

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}
img{ max-width: 100%; display:block; }
a{ color: inherit; }

/* ---------------------------
   Utilities
---------------------------- */
.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.muted{ color: var(--muted); }
.small{ font-size: 0.92rem; }
.stack{ display: flex; gap: 12px; flex-wrap: wrap; }
.text-link{
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(107,47,43,0.35);
}
.text-link:hover{ border-bottom-color: rgba(107,47,43,0.75); }

.skip-link{
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.skip-link:focus{ left: 12px; z-index: 9999; }

/* ---------------------------
   Header + Navigation
---------------------------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,248,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* full width header container */
.site-header .container{
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 12px;
  padding-right: 24px;
}

/* header layout */
.header-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 0;
}

/* logo */
.brand-logo-only{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}

.brand-logo-img{
  height: 108px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  flex-shrink: 0;
}

/* navigation */
.site-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-link{
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(17,17,17,0.86);
}

.nav-link:hover{
  background: rgba(17,17,17,0.05);
}

.nav-link.is-active{
  background: rgba(107,47,43,0.10);
  color: var(--text);
}

.nav-toggle{
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

/* ---------------------------
   Buttons
---------------------------- */
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  background: #D9381E;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217,56,30,0.25);
}
.button:hover{
  background: #C03018;
}
.button:hover{ filter: brightness(1.03); }
.button:active{ transform: translateY(1px); }

.button-small{
  padding: 10px 12px;
  border-radius: 12px;
}

.button-ghost{
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(107,47,43,0.28);
  box-shadow: none;
}
.button-ghost:hover{ background: rgba(107,47,43,0.06); }

/* ---------------------------
   Hero
---------------------------- */
.hero{
  padding: 70px 0 26px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}
.eyebrow{
  margin: 0 0 10px;
  color: rgba(17,17,17,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero-title{
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.hero-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin-bottom: 30px;
}
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}
.hero-points{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(17,17,17,0.78);
}
.hero-points li{ margin: 8px 0; }

.hero-art .art-card{
  background: radial-gradient(100% 90% at 20% 10%, rgba(107,47,43,0.20), transparent 55%),
              radial-gradient(100% 90% at 80% 30%, rgba(31,58,95,0.18), transparent 52%),
              var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.art-line{
  height: 1px;
  background: rgba(17,17,17,0.10);
}
.art-caption{
  margin: 10px 0 0;
  color: rgba(17,17,17,0.68);
}
.quote-card {
    padding: 1.5rem;
}

.quote-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-card cite {
    display: block;
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}
/* ---------------------------
   Full-width Hero Banner
---------------------------- */
.hero-banner{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.5;
  display: grid;
  align-items: center;
  background-image: url("../img/hero/denver-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-banner__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.48) 0%,
    rgba(0,0,0,0.28) 38%,
    rgba(0,0,0,0.10) 68%,
    rgba(0,0,0,0.00) 100%
  );
}
.hero-banner__inner{
  position: relative;
  z-index: 1;
  padding: 40px 0 70px;
}
.hero-banner__content{
  max-width: 58ch;
  color: #fff;
  padding-left: 6px;
  backdrop-filter: blur(2px);
}
.hero-banner__eyebrow{
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.hero-banner__title{
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  font-family: "Playfair Display", serif;
}
.hero-banner__subtitle{
  margin: 0 0 20px;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 46ch;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hero-banner__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
/* Make ghost button readable on dark image */
.hero-banner .button-ghost{
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.hero-banner .button-ghost:hover{
  background: rgba(255,255,255,0.12);
}
h1, h2, h3{
  font-family: "Playfair Display", serif;
}
/* ---------------------------
   Sections + Cards
---------------------------- */
.section{
  padding: 56px 0;
}
.section-alt{
  background: rgba(17,17,17,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head h2{
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-head p{ margin: 0; max-width: 70ch; }

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.05);
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: rgba(17,17,17,0.72); }

.split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.callout{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.05);
}
.callout h3{ margin: 0 0 8px; }
.callout p{ margin: 0; }

.cta-band{
  padding: 46px 0;
}
.cta-inner{
  background: linear-gradient(135deg, rgba(107,47,43,0.14), rgba(31,58,95,0.10));
  border: 1px solid rgba(17,17,17,0.10);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-title{
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.cta-subtitle{
  margin: 0;
  color: rgba(17,17,17,0.72);
}
.who-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
	.split-section {
  padding: 80px 0;
}
/* WHAT IS TANTRA */
.split-section {
  padding: 80px 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 24px;
}

.split-copy p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 24px;
}

.split-copy p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}
.split-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
	
/* ---------------------------
   Schedule blocks
---------------------------- */
.schedule{
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.schedule-item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.05);
}
.schedule-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(107,47,43,0.10);
  border: 1px solid rgba(107,47,43,0.18);
  color: rgba(17,17,17,0.82);
}
.badge-alt{
  background: rgba(31,58,95,0.10);
  border-color: rgba(31,58,95,0.18);
}
.schedule-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 12px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: rgba(17,17,17,0.78);
}
/* ---------------------------
   Form styles
---------------------------- */
.form-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.05);
}

.form-grid{
  display: grid;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}
.field span{
  color: rgba(17,17,17,0.78);
}

.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,0.14);
  background: rgba(255,255,255,0.92);
  font: inherit;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: rgba(107,47,43,0.35);
  box-shadow: 0 0 0 4px rgba(107,47,43,0.10);
}

.field-full{ grid-column: 1 / -1; }

.check{
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input{ width: 18px; height: 18px; }
@media (min-width: 860px){
  .form-grid{
    grid-template-columns: 1fr 1fr;
  }
}
/* ---------------------------
 /* ---------------------------
   /* ---------------------------
   Bio block
---------------------------- */
.bio-block{
  margin: 0;
  padding: 0 22px 20px;
  border-radius: var(--radius);
  background: rgba(17,17,17,0.03);
  border: 1px solid var(--border);
}

.bio-block p{
  margin: 8px 0;
  color: rgba(17,17,17,0.78);
}

/* ---------------------------
   Teacher section
---------------------------- */
.teacher-section .split{
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: start;
}

.teacher-photo img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.teacher-content h2{
  margin: 0 0 18px;
  padding: 0;
}

.teacher-actions{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.teacher-actions .text-link{
  margin-top: 0;
}
.teacher-actions .text-link{
  color: rgba(17,17,17,0.72);
}

.teacher-actions .text-link:hover{
  color: var(--accent);
}
/* ---------------------------
   Events
---------------------------- */
.events{
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.event{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.05);
}
.event-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.event-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 12px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: rgba(17,17,17,0.78);
}
/* ---------------------------
   Header Ribbon
---------------------------- */
.header-ribbon{
  width: 100%;
  height: 120px; /* adjust */
  background-image: url("../img/ribbons/ribbon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

/* ---------------------------
   Footer
---------------------------- */
.site-footer{
  margin-top: 40px;
  padding: 42px 0 22px;
  border-top: 1px solid var(--border);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.footer-title{
  margin: 0 0 10px;
  font-weight: 650;
}
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a{
  text-decoration: none;
  color: rgba(17,17,17,0.78);
}
.footer-links a:hover{ text-decoration: underline; }
.footer-bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
/* ---------------------------
   About Page
---------------------------- */

.about-hero{
  background-image: url("../img/hero/denver-hero.png");
}

.image-placeholder{
  min-height: 330px;
  background:
    radial-gradient(100% 90% at 20% 10%, rgba(217,56,30,0.12), transparent 55%),
    radial-gradient(100% 90% at 80% 30%, rgba(31,58,95,0.14), transparent 52%),
    var(--surface);
  border: 1px dashed rgba(17,17,17,0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  color: rgba(17,17,17,0.68);
}

.image-placeholder strong{
  display: block;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.image-placeholder span{
  display: block;
  max-width: 30ch;
  color: var(--muted);
}

.portrait-placeholder{
  min-height: 520px;
  aspect-ratio: 4 / 5;
}

.image-cards{
  margin-top: 22px;
}

.image-card{
  display: grid;
  gap: 14px;
}

.mini-placeholder{
  min-height: 160px;
  border-radius: 14px;
  border: 1px dashed rgba(17,17,17,0.22);
  background:
    radial-gradient(100% 90% at 20% 10%, rgba(217,56,30,0.10), transparent 55%),
    radial-gradient(100% 90% at 80% 30%, rgba(31,58,95,0.12), transparent 52%),
    rgba(17,17,17,0.03);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: rgba(17,17,17,0.62);
  font-weight: 600;
}

@media (max-width: 768px){
  .portrait-placeholder{
    min-height: 360px;
  }
}
/* ---------------------------
   Learning Center Page
---------------------------- */

.page-hero {
  padding: 90px 0 70px;
  background: linear-gradient(
    135deg,
    rgba(217, 56, 30, 0.08),
    rgba(31, 58, 95, 0.08)
  );
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.content-section {
  padding: 70px 0;
}

.soft-bg {
  background: var(--surface-2);
}

.narrow {
  max-width: 850px;
}

.learning-article h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
  color: var(--text);
}

.learning-article p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.highlight-text {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  color: var(--text) !important;
  font-size: 1.15rem !important;
  font-weight: 600;
  box-shadow: var(--shadow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.topic-card h3 {
  margin-bottom: 0.7rem;
  color: var(--accent-2);
}

.topic-card p {
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  padding: 80px 0;
  background: var(--accent-2);
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 55px 0;
  }

  .page-hero {
    padding: 70px 0 55px;
  }
}
/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .footer-grid{ grid-template-columns: 1fr; }

  .schedule-meta,
  .event-meta{
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 760px){
  .nav-toggle{
    display: inline-flex;
  }

  .site-nav{
    display: none;
    width: 100%;
    padding: 10px 0 0;
    margin-left: 0;
  }

  .site-nav.is-open{
    display: flex;
  }

  .brand-logo-img{
    height: 52px;
    width: auto;
  }

  .header-ribbon{
    height: 84px;
  }

  .container{
    width: min(var(--container), calc(100% - 28px));
  }

  .hero{
    padding: 52px 0 18px;
  }

  .nav-link{
    width: 100%;
  }

  .site-nav .button{
    width: 100%;
  }
}
@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}
	@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}