/* =========================================================
   Sthirvana — styles
   Official brand system.
   Palette:  Earth Clay #B87953 · Soft Sand #E8DCC5 · Olive Sage #A8B09D
             Ocean Teal #4F8B8B · Golden Light #F2C66D · Charcoal #3A3A3A
             Deep Forest #03312E
   Fonts:    Philosopher (display) · Lato (body) · Cormorant Garamond (accent)
   Feel:     minimalist, warm, tactile.
   ========================================================= */

:root {
  /* surfaces — warm sand */
  --paper:      #F6F0E4;   /* light sand — base */
  --paper-2:    #EBE1CF;   /* soft sand — alternating sections */

  /* deep forest — dark anchor */
  --forest:     #03312E;
  --forest-2:   #064B45;
  --forest-deep:#022623;

  /* headings render in deep forest */
  --ink:        #03312E;
  --ink-deep:   #022623;

  /* type */
  --text:       #3A3A3A;   /* charcoal slate — body */
  --text-soft:  #6E675A;   /* muted warm grey */
  --text-faint: #9C9384;

  /* accents */
  --clay:       #B87953;   /* earth clay — primary accent */
  --clay-deep:  #9C5F3D;
  --clay-soft:  #E3C5AC;   /* light clay — for dark backgrounds */
  --sage:       #A8B09D;
  --teal:       #4F8B8B;
  --gold:       #F2C66D;

  /* lines */
  --line:       rgba(58, 58, 58, 0.13);
  --line-soft:  rgba(58, 58, 58, 0.07);

  --font-disp:  "Philosopher", Georgia, serif;
  --font-body:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- shared typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--clay-soft); }

.section { padding: clamp(5rem, 11vw, 9rem) 0; }

.section__title {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(1.95rem, 4vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(184, 121, 83, 0.62);
}
.btn--primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(184, 121, 83, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(3, 49, 46, 0.22);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(3, 49, 46, 0.04);
  transform: translateY(-2px);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav.scrolled {
  background: rgba(246, 240, 228, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand__mark { width: 38px; height: 38px; }
.brand__word {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid rgba(3, 49, 46, 0.22);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover { border-color: var(--ink); background: rgba(3, 49, 46, 0.04); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 620px at 76% 10%, rgba(184, 121, 83, 0.14), transparent 60%),
    radial-gradient(960px 600px at 6% 92%, rgba(168, 176, 157, 0.20), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.hero__copy { max-width: 620px; }

/* ---- breathing emblem ---- */
.hero__visual { display: flex; align-items: center; justify-content: center; }
.breath {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.breath__orb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(230px, 26vw, 330px);
  aspect-ratio: 1;
}
.breath__circle {
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #CA9070 0%, var(--clay) 48%, var(--clay-deep) 100%);
  box-shadow:
    0 30px 60px -22px rgba(156, 95, 61, 0.5),
    inset 0 2px 10px rgba(255, 255, 255, 0.18);
  animation: breathe 8s ease-in-out infinite;
  will-change: transform;
}
.breath__ring {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  border: 1.5px solid var(--clay);
  opacity: 0;
  animation: breathe-ring 8s ease-in-out infinite;
  will-change: transform, opacity;
}
.breath__ring--2 { animation-delay: 0.6s; border-color: var(--sage); }
.breath__label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--clay);
  min-height: 1.6em;
  letter-spacing: 0.02em;
  transition: opacity 0.7s ease;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.92); }
  50%      { transform: scale(1.06); }
}
@keyframes breathe-ring {
  0%   { transform: scale(0.86); opacity: 0.55; }
  45%  { transform: scale(1.5);  opacity: 0; }
  50%  { transform: scale(1.5);  opacity: 0; }
  100% { transform: scale(0.86); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .breath__circle { animation: none; }
  .breath__ring { animation: none; opacity: 0.3; transform: scale(1.1); }
  .breath__label { display: none; }
}

.hero__title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}
.hero__lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.72;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 2.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll svg { animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* =========================================================
   NAME MEANING STRIP
   ========================================================= */
.meaning {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.meaning__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  text-align: center;
}
.meaning__part { display: flex; flex-direction: column; gap: 0.5rem; }
.meaning__word {
  font-family: var(--font-disp);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
}
.meaning__gloss {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(246, 240, 228, 0.66);
  max-width: 280px;
}
.meaning__gloss em { color: var(--clay-soft); font-style: italic; }
.meaning__plus {
  font-family: var(--font-disp);
  font-size: 2rem;
  color: var(--clay-soft);
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy { background: var(--paper); }
.philosophy__inner { max-width: 860px; }
.philosophy .section__title { margin-bottom: 2.6rem; }
.philosophy__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  max-width: 780px;
}
.philosophy__body p {
  font-size: 1.06rem;
  color: var(--text-soft);
  line-height: 1.85;
}

/* =========================================================
   APPROACH / PILLARS
   ========================================================= */
.approach { background: var(--paper-2); }
.approach__head { max-width: 720px; margin-bottom: 3.6rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 2.4rem 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px rgba(3, 49, 46, 0.26);
}
.pillar__num {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.08em;
}
.pillar h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--ink);
  margin: 0.9rem 0 0.7rem;
}
.pillar p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.75; }

/* =========================================================
   BRIDGE (dark)
   ========================================================= */
.bridge {
  background: var(--forest-deep);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bridge::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(720px 400px at 50% 0%, rgba(184, 121, 83, 0.20), transparent 65%);
  pointer-events: none;
}
.bridge__inner { position: relative; max-width: 760px; margin: 0 auto; }
.bridge__title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(1.95rem, 4.2vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin-bottom: 1.4rem;
}
.bridge__lead {
  font-size: 1.14rem;
  line-height: 1.78;
  color: rgba(246, 240, 228, 0.68);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   TREU
   ========================================================= */
.treu { background: var(--paper); }
.treu__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.treu__badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.treu__logo { height: 34px; width: auto; }
.tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clay-deep);
  background: rgba(184, 121, 83, 0.12);
  border: 1px solid rgba(184, 121, 83, 0.26);
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
}
.treu .section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1.4rem; }
.treu__lead {
  font-size: 1.07rem;
  color: var(--text-soft);
  line-height: 1.82;
  margin-bottom: 1.8rem;
}
.treu__list { list-style: none; margin-bottom: 2.2rem; }
.treu__list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 0.99rem;
}
.treu__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(184, 121, 83, 0.16);
}
.treu__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* verify card mock */
.treu__visual { display: flex; justify-content: center; }
.verify-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(165deg, #FFFDF9 0%, #F4ECDC 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.9rem;
  box-shadow: 0 40px 80px -40px rgba(3, 49, 46, 0.42);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.verify-card:hover { transform: translateY(-4px); }
.verify-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.verify-card__brand { height: 22px; width: auto; }
.verify-card__verdict {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: rgba(79, 139, 139, 0.13);
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
}
.verify-card__claim {
  font-family: var(--font-disp);
  font-size: 1.22rem;
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.verify-card__meter { margin-bottom: 1.5rem; }
.verify-card__bar {
  height: 7px;
  background: rgba(3, 49, 46, 0.10);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}
.verify-card__bar span {
  display: block;
  height: 100%;
  width: 87%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clay), #D49A72);
}
.verify-card__score { font-size: 0.82rem; color: var(--text-soft); font-weight: 700; }
.verify-card__sources { border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.verify-card__sources > span {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); display: block; margin-bottom: 0.6rem; font-weight: 700;
}
.verify-card__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.verify-card__chips i {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--text-soft);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--paper-2); text-align: center; }
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact__title {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.contact__lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 2.4rem;
}
.contact__btn { font-size: 1.02rem; padding: 1.05rem 2.2rem; }

/* contact form */
.cform { max-width: 620px; margin: 2.6rem auto 0; text-align: left; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform__field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.cform__field label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-soft); margin-bottom: 0.45rem;
}
.cform input, .cform select, .cform textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid rgba(3, 49, 46, 0.16);
  border-radius: 12px;
  padding: 0.82rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cform textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 121, 83, 0.18);
}
.cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__actions { display: flex; align-items: center; gap: 1.1rem; margin-top: 0.4rem; flex-wrap: wrap; }
.cform__status { font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.cform__status.ok { color: #2f7d6e; font-weight: 700; }
.cform__status.err { color: #b23c3c; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--forest-deep);
  color: var(--paper);
  padding: 4.5rem 0 2.6rem;
}
.footer__inner { text-align: center; }
.footer__logo {
  width: 170px;
  height: auto;
  margin: 0 auto 1.4rem;
  opacity: 0.96;
}
.footer__motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--clay-soft);
  margin-bottom: 1.1rem;
}
.footer__tagline {
  max-width: 480px;
  margin: 0 auto 2.2rem;
  color: rgba(246, 240, 228, 0.55);
  font-size: 0.96rem;
  line-height: 1.7;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}
.footer__links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(246, 240, 228, 0.72);
  transition: color 0.2s var(--ease);
}
.footer__links a:hover { color: var(--clay-soft); }
.footer__copy {
  font-size: 0.82rem;
  color: rgba(246, 240, 228, 0.38);
  border-top: 1px solid rgba(246, 240, 228, 0.10);
  padding-top: 1.8rem;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(246, 240, 228, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.5rem 2rem 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(3, 49, 46, 0.3);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    border-top: 1px solid var(--line-soft);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 0.9rem 0; font-size: 1.05rem; }
  .nav__cta { margin-top: 0.6rem; text-align: center; }
  .nav__toggle { display: flex; }

  .philosophy__body { grid-template-columns: 1fr; gap: 1.4rem; }
  .pillars { grid-template-columns: 1fr; }
  .treu__grid { grid-template-columns: 1fr; }
  .treu__visual { order: -1; }

  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__copy { max-width: none; }
  .hero__visual { order: -1; }
  .breath__orb { width: clamp(180px, 42vw, 240px); }
  .breath__label { font-size: 1.3rem; }
}

@media (max-width: 560px) {
  .container { padding: 0 1.4rem; }
  .hero { min-height: auto; padding: 8rem 0 5rem; }
  .hero__actions .btn, .treu__actions .btn { flex: 1 1 auto; justify-content: center; }
  .meaning__plus { display: none; }
  .brand__word { font-size: 1.25rem; letter-spacing: 0.14em; }
}
