@charset "UTF-8";
/* ==========================================================================
   Hindustotram Ã¢â‚¬â€ WordPress Theme Styles
   Ivory Ã‚Â· Sage Ã‚Â· Slate Ã‚Â· Sand-gold
   ========================================================================== */

:root {
  --ivory: #F7F3EA;
  --ivory-2: #FBF8F1;
  --panel: #FDFBF5;
  --ink: #24322B;
  --ink-2: #41514A;
  --muted: #6C7A72;
  --sage: #5B7065;
  --sage-2: #8A9B8D;
  --slate: #2B4257;
  --slate-2: #41617C;
  --gold: #C99A4B;
  --gold-2: #A87E33;
  --saffron: #BC6C25;
  --rust: #9B381E;
  --line: rgba(36, 50, 43, .15);
  --line-soft: rgba(36, 50, 43, .09);
  --shadow: 0 30px 70px -30px rgba(36, 50, 43, .35);
  --shadow-soft: 0 18px 44px -22px rgba(36, 50, 43, .28);
  --r-arch: 999px 999px 22px 22px;
  --r-card: 20px;
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Mulish', 'Tiro Telugu', 'Gautami', 'Nirmala UI', system-ui, sans-serif;
  --font-deva: 'Tiro Devanagari Sanskrit', 'Tiro Telugu', 'Gautami', 'Nirmala UI', serif;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

::selection {
  background: var(--gold);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-3%, 2%);
  }

  40% {
    transform: translate(2%, -3%);
  }

  60% {
    transform: translate(-2%, -2%);
  }

  80% {
    transform: translate(3%, 3%);
  }
}

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

/* type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--saffron);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--bare::before {
  display: none;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
}

.h-xl {
  font-size: clamp(2.9rem, 6.4vw, 5.5rem);
  letter-spacing: -.01em;
}

.h-lg {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.h-md {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.deva {
  font-family: var(--font-deva);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 56ch;
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section--tight {
  padding-block: clamp(3.4rem, 3vw, 1.5rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

.section-head .h-lg {
  margin-top: 1.1rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--ink-2);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .45s var(--ease-out), background-color .35s, color .35s, box-shadow .45s, border-color .35s;
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform .45s var(--ease-out);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--solid {
  background: var(--ink);
  color: var(--ivory);
}

.btn--solid:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: var(--ivory);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
}

.btn--gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(168, 126, 51, .7);
  color: #fff;
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--panel);
  transform: translateY(-2px);
  color: var(--ink);
}

.btn--ivory {
  border: 1px solid rgba(247, 243, 234, .35);
  color: var(--ivory);
}

.btn--ivory:hover {
  background: rgba(247, 243, 234, .12);
  border-color: var(--ivory);
  transform: translateY(-2px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

.link-more svg {
  width: 14px;
  height: 14px;
  transition: transform .4s var(--ease-out);
}

.link-more:hover svg {
  transform: translateX(4px);
}

.link-more:hover {
  color: var(--saffron);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background-color .45s, box-shadow .45s, transform .45s;
  background: rgb(253 247 230);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header.is-scrolled {
  background: rgb(253 247 230);
  box-shadow: 0 4px 20px -8px rgba(36, 50, 43, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}

.brand-custom-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-custom-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-custom-logo .custom-logo {
  height: 66px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-custom-logo .custom-logo {
  height: 56px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 880px) {
  .brand-custom-logo .custom-logo {
    height: 54px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .brand-custom-logo .custom-logo {
    height: 46px;
    max-height: 50px;
  }
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  transition: transform .8s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: .02em;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: .28rem;
}

/* Desktop Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav li,
.nav-menu li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
}

.nav li a,
.nav-menu li a,
.nav a {
  position: relative;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: .4rem 0;
  transition: color .3s;
  white-space: nowrap;
}

.nav li a::after,
.nav-menu li a::after,
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}

.nav li a:hover,
.nav-menu li a:hover,
.nav a:hover,
.nav li.current-menu-item>a,
.nav li.current_page_item>a,
.nav li.current-menu-ancestor>a,
.nav a.current-menu-item,
.nav a.is-active {
  color: var(--ink);
}

.nav li a:hover::after,
.nav-menu li a:hover::after,
.nav a:hover::after,
.nav li.current-menu-item>a::after,
.nav li.current_page_item>a::after,
.nav li.current-menu-ancestor>a::after,
.nav a.current-menu-item::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .btn,
.nav .nav-cta {
  padding: .68rem 1.4rem;
  font-size: .74rem;
  flex-shrink: 0;
}

/* Submenu / Dropdown */
.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .6rem 0;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .3s var(--ease-out);
  z-index: 100;
  list-style: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

.nav-menu .menu-item-has-children:hover>.sub-menu,
.nav-menu .menu-item-has-children:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  display: block !important;
  width: 100%;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: .5rem 1.2rem;
  font-size: .78rem;
  text-transform: none;
  letter-spacing: .03em;
  color: var(--ink-2);
}

.nav-menu .sub-menu li a::after {
  display: none !important;
}

.nav-menu .sub-menu li a:hover {
  background: var(--ivory-2);
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .3s;
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 84px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-block: 1px solid var(--line);
    padding: 1.4rem 2rem 2.2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, transform .5s var(--ease-out), visibility .4s;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav li,
  .nav-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav li a,
  .nav-menu li a,
  .nav a {
    font-size: .95rem;
    padding: .85rem 0;
    width: 100%;
    display: block;
    white-space: normal;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    padding-left: 1rem;
    background: transparent;
  }

  .nav .btn,
  .nav .nav-cta {
    margin-top: 1.2rem;
    border-bottom: none;
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 881px) {
  .nav .nav-cta {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}

.hero-bg-om {
  position: absolute;
  right: -4rem;
  top: 8rem;
  font-family: var(--font-deva);
  font-size: clamp(16rem, 34vw, 30rem);
  line-height: 1;
  color: var(--sage);
  opacity: .055;
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-day {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.6rem;
}

.hero-day .deva {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--saffron);
  text-transform: none;
}

.hero-day::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 1.6rem;
}

.hero-line {
  display: block;
}

.hero-line em {
  font-style: normal;
  color: var(--sage);
  position: relative;
}

.hero-line em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .34em;
  z-index: -1;
  background: linear-gradient(90deg, rgba(201, 154, 75, .32), rgba(201, 154, 75, .12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) 1.15s;
}

.js.is-loaded .hero-line em::after {
  transform: scaleX(1);
}

.hero-sub {
  max-width: 50ch;
  color: var(--ink-2);
  font-size: 1.08rem;
  margin-bottom: 2.3rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.6rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(460px, 100%);
}

.hero-arch {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5.1;
  overflow: hidden;
  border-radius: var(--r-arch);
  box-shadow: var(--shadow);
}

.hero-arch img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

.hero-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -140px 120px -80px rgba(36, 50, 43, .45);
}

.hero-seal {
  position: absolute;
  left: -58px;
  bottom: 64px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.hero-seal svg {
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}

.hero-seal text {
  font-family: var(--font-body);
  font-size: 8.2px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
  fill: var(--sage);
}

.hero-seal .om {
  position: absolute;
  font-family: var(--font-deva);
  font-size: 1.9rem;
  color: var(--saffron);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-verse {
  position: absolute;
  right: -26px;
  top: 44px;
  width: 250px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-verse .deva {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink);
}

.hero-verse small {
  display: block;
  margin-top: .6rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease-out) infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 1020px) {
  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .hero-visual {
    justify-self: center;
    width: min(430px, 86%);
  }

  .hero-verse {
    right: -8px;
  }

  .hero-seal {
    left: -26px;
  }

  .hero-scroll {
    display: none;
  }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ivory-2);
  padding: 1.15rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  color: var(--ink-2);
}

.marquee-item .deva {
  color: var(--sage);
}

.marquee-item::after {
  content: "\2726";
  font-size: .55em;
  color: var(--gold);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Featured / Sloka of the Day
   ========================================================================== */
.featured {
  background: var(--slate);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.featured--hero {
  padding-top: calc(54px + clamp(3.2rem, 5.5vw, 5rem));
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  min-height: min(840px, 92svh);
  display: flex;
  align-items: center;
}

.featured::before {
  content: "\0950";
  position: absolute;
  right: -2rem;
  bottom: -6rem;
  font-family: var(--font-deva);
  font-size: 26rem;
  line-height: 1;
  color: rgba(247, 243, 234, .05);
  pointer-events: none;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}

.featured .eyebrow {
  color: var(--gold);
}

.featured .hero-day {
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.featured .hero-day::after {
  background: rgba(201, 154, 75, .6);
}

.featured-verse .deva {
  font-family: var(--font-deva);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.6;
  margin: 1.6rem 0 1.1rem;
  color: #fff;
}

.featured-iast {
  font-style: italic;
  color: rgba(247, 243, 234, .72);
  font-size: 1.02rem;
  line-height: 1.9;
}

.featured-meaning {
  margin: 1.4rem 0 2.2rem;
  color: rgba(247, 243, 234, .88);
  max-width: 58ch;
}

.featured-image {
  position: relative;
  width: min(360px, 100%);
  justify-self: center;
}

.featured-image .frame {
  overflow: hidden;
  border-radius: var(--r-arch);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
  aspect-ratio: 4/4.6;
  position: relative;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-tag {
  position: absolute;
  top: 26px;
  left: -34px;
  background: var(--gold);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  z-index: 2;
}

.featured-image .hero-seal {
  position: absolute;
  left: -44px;
  bottom: 28px;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

@media (max-width: 900px) {
  .featured--hero {
    min-height: auto;
    padding-top: calc(84px + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-image {
    margin-top: 2rem;
  }

  .featured-image .hero-seal {
    left: -18px;
    bottom: 16px;
    width: 92px;
    height: 92px;
  }
}

/* ==========================================================================
   Deities Section (Image 1 UI)
   ========================================================================== */
.deities {
  background: var(--ivory-2, #FBF8F1);
  padding: clamp(4rem, 6.5vw, 6rem) 0;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.deities-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

.deities-head .eyebrow {
  color: var(--rust, #9B381E);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.deities-head .h-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--slate);
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}

.deities-head .lead {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 auto;
}

.deities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.deity-card {
  background: #ffffff;
  border: 1px solid rgba(36, 50, 43, 0.09);
  border-radius: 20px;
  padding: clamp(2.2rem, 3vw, 2.6rem) 1.4rem clamp(1.8rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(36, 50, 43, 0.03);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  position: relative;
}

.deity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -8px rgba(36, 50, 43, 0.12);
  border-color: rgba(201, 154, 75, 0.45);
}

.deity-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EEDECC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform 0.4s var(--ease-out);
  box-shadow: inset 0 2px 4px rgba(36, 50, 43, 0.05);
  overflow: hidden;
}

.deity-card:hover .deity-avatar {
  transform: scale(1.08);
}

.deity-avatar svg {
  width: 44px;
  height: 44px;
  display: block;
}

.deity-avatar img,
.deity-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.deity-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.deity-deva {
  font-family: var(--font-deva);
  font-size: 0.98rem;
  color: var(--rust, #9B381E);
  font-weight: 500;
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.deity-count {
  display: inline-block;
  padding: 0.32rem 1.15rem;
  border-radius: 999px;
  background: #F4EEE2;
  border: 1px solid #E7DED0;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: auto;
}

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

@media (max-width: 580px) {
  .deities-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .deity-card {
    padding: 2rem 1.2rem 1.8rem;
  }
}

/* ==========================================================================
   Journal / Blog listing (Image 2 UI)
   ========================================================================== */
.journal-section {
  padding: clamp(4rem, 6.5vw, 6rem) 0;
}

.journal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

.journal-head .h-lg {
  margin-top: 1.1rem;
}

.journal-head--centered {
  text-align: center;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
  display: block;
}

.journal-head--centered .eyebrow {
  color: var(--rust, #9B381E);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.journal-head--centered .h-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--slate);
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}

.journal-head--centered .lead {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(36, 50, 43, 0.03);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -8px rgba(36, 50, 43, 0.12);
  border-color: rgba(201, 154, 75, 0.45);
}

/* Card Figure & Image */
.card-figure,
figure.card-figure {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10.5 !important;
  overflow: hidden !important;
  border-radius: 20px 20px 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #E8E2D5 !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.card-figure img,
figure.card-figure img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.8s var(--ease-out);
}

.card:hover .card-figure img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--rust, #9B381E);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.8rem;
}

.card-kicker {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 500;
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate);
  margin: 0 0 0.45rem;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

.card-title a:hover {
  color: var(--gold);
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-subtitle-deva {
  font-family: var(--font-deva);
  font-size: 1.05rem;
  color: var(--rust, #9B381E);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Card Wide (first post layout in standard archives) */
.card--wide {
  grid-column: span 2;
  flex-direction: row;
}

.card--wide .card-figure,
.card--wide figure.card-figure {
  width: 52% !important;
  flex: 0 0 52% !important;
  aspect-ratio: auto !important;
  min-height: 100% !important;
  height: 100% !important;
  border-radius: 20px 0 0 20px !important;
  margin: 0 !important;
}

.card--wide .card-body {
  width: 48%;
  flex: 1 1 48%;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  justify-content: center;
}

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

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

  .card--wide {
    grid-column: auto;
    flex-direction: column;
  }

  .card--wide .card-figure,
  .card--wide figure.card-figure {
    width: 100% !important;
    flex: none !important;
    aspect-ratio: 16 / 10.5 !important;
    height: auto !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .card--wide .card-body {
    width: 100%;
    padding: 1.4rem;
  }

  .journal-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.journal-foot {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  text-align: center;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s;
  padding: 0 10px;
}

.pagination .page-numbers:hover {
  background: var(--panel);
  border-color: var(--ink);
  color: var(--ink);
}

.pagination .page-numbers.current {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.pagination .page-numbers.dots {
  border: none;
  width: auto;
  min-width: auto;
}

.pagination .prev,
.pagination .next {
  width: auto;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  padding: calc(54px + clamp(2.4rem, 4.5vw, 4rem)) 0 clamp(2.2rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
}

.page-hero .eyebrow {
  margin-bottom: 1.2rem;
}

.page-hero .h-lg {
  max-width: 20ch;
}

.page-hero .lead {
  margin-top: 1.4rem;
}

.page-hero .deva-sub {
  font-family: var(--font-deva);
  font-size: 1.25rem;
  color: var(--sage);
  margin-top: 1rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.crumbs a {
  color: var(--muted);
  transition: color .3s;
}

.crumbs a:hover {
  color: var(--saffron);
}

.crumbs i {
  color: var(--gold);
  font-style: normal;
}

.crumbs span {
  color: var(--ink-2);
  letter-spacing: normal;
  max-width: 45ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-hero-bg-om {
  position: absolute;
  right: -3rem;
  top: -2rem;
  font-family: var(--font-deva);
  font-size: 22rem;
  line-height: 1;
  color: var(--sage);
  opacity: .05;
  pointer-events: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.8rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  align-self: center;
}

.meta-row .pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem 1rem;
  color: var(--sage);
}

/* Hero media grid (single / post hero) */
.page-hero-grid {
  position: relative;
  width: 100%;
}

.page-hero-grid.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-hero-grid.has-media .page-hero-content {
  min-width: 0;
}

.page-hero-grid.has-media .page-hero-content .h-lg {
  max-width: 100%;
}

.page-hero-media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.page-hero-thumb {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  overflow: hidden;
  border-radius: var(--r-card);
  box-shadow: 0 18px 40px -12px rgba(44, 42, 38, 0.18);
  background: var(--panel);
  margin: 0 !important;
  border: 1px solid var(--line-soft);
}

.page-hero-thumb img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease-out);
}

.page-hero-thumb:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .page-hero-grid.has-media {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero-media {
    justify-content: flex-start;
  }

  .page-hero-thumb {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   Article / detail page
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.article-hero-img {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

.article-hero-img img {
  width: 100%;
  height: min(52vh, 460px);
  object-fit: cover;
}

.article {
  max-width: 72ch;
}

.article>p,
.article .wp-block-paragraph {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--ink-2);
  margin-bottom: 1.6rem;
}

.article h2,
.article .wp-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  margin: 2.8rem 0 1.2rem;
  color: var(--ink);
  line-height: 1.25;
}

.article h2 .deva {
  display: block;
  font-size: 1.05rem;
  color: var(--sage);
  margin-top: .35rem;
  font-family: var(--font-deva);
}

.article h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  margin: 2.2rem 0 1rem;
  color: var(--ink);
}

/* In-article Table of Contents & Download blocks */
#ez-toc-container {
  background: var(--panel) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--r-card) !important;
  padding: 1.4rem 1.8rem !important;
  margin: 2rem 0 !important;
  box-shadow: 0 1px 0 var(--line-soft) !important;
}

#ez-toc-container .ez-toc-title {
  font-family: var(--font-display) !important;
  color: var(--ink) !important;
  font-size: 1.15rem !important;
}

#ez-toc-container a {
  color: var(--sage) !important;
}

#ez-toc-container a:hover {
  color: var(--saffron) !important;
}

.dw-block {
  margin: 2.5rem 0;
  padding: 1.8rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  text-align: center;
}

.dw-block h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Post Navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.post-nav a {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}

.post-nav a:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.post-nav-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.post-nav-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.post-nav .post-nav-next {
  text-align: right;
  grid-column: 2;
}

@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .post-nav-next {
    grid-column: 1;
    text-align: left;
  }
}

.verse {
  margin: 2.6rem 0;
  padding: .4rem 0 .4rem clamp(1.4rem, 3vw, 2rem);
  border-left: 2px solid var(--gold);
  position: relative;
}

.verse-label {
  display: block;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .8rem;
}

.verse .deva {
  font-family: var(--font-deva);
  font-size: clamp(1.18rem, 1.9vw, 1.42rem);
  line-height: 2.15;
  color: var(--ink);
}

.verse .iast {
  font-style: italic;
  color: var(--sage);
  margin-top: 1rem;
  line-height: 1.95;
  font-size: 1rem;
}

.verse .meaning {
  margin-top: 1.1rem;
  color: var(--ink-2);
}

.verse .meaning b {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}

.aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.fact-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 1.6rem;
  box-shadow: 0 1px 0 var(--line-soft);
}

.fact-card h3 {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .9rem;
}

.fact-list li:last-child {
  border-bottom: none;
}

.fact-list span {
  color: var(--muted);
  font-weight: 700;
}

.fact-list strong {
  font-weight: 800;
  text-align: right;
}

.share-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}

.share-row a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--sage);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}

.share-row a:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-3px);
}

.share-row svg {
  width: 16px;
  height: 16px;
}

.note-card {
  background: linear-gradient(160deg, var(--ivory-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  padding: 1.5rem;
}

.note-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}

.note-card p {
  font-size: .92rem;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .aside>* {
    flex: 1 1 280px;
  }
}

/* ==========================================================================
   About / Contact
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split .frame {
  overflow: hidden;
  border-radius: var(--r-arch);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/4.8;
  position: relative;
}

.split .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy .h-lg {
  margin: 1.1rem 0 1.4rem;
}

.split-copy p+p {
  margin-top: 1.1rem;
}

.split-copy p {
  color: var(--ink-2);
}

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

  .split .frame {
    max-width: 440px;
    margin-inline: auto;
  }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.value {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 2rem 1.8rem;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}

.value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.value .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}

.value h3 {
  font-size: 1.25rem;
  margin: 1rem 0 .55rem;
}

.value p {
  font-size: .93rem;
  color: var(--ink-2);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--line);
  padding: 2.2rem 0;
  text-align: center;
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sage);
}

.stats span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-aside-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 2.8vw, 2.2rem);
  box-shadow: 0 1px 0 var(--line-soft);
}

/* WPForms Integration */
.wpforms-container,
div.wpforms-container-full {
  margin: 0 !important;
}

div.wpforms-container-full .wpforms-form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: 0 1px 0 var(--line-soft);
}

div.wpforms-container-full .wpforms-form .wpforms-field-container {
  padding: 0 !important;
  margin: 0 !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field {
  padding: 0 0 1.2rem 0 !important;
  margin: 0 !important;
  clear: both;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
  display: block !important;
  font-family: inherit !important;
  font-size: .7rem !important;
  font-weight: 800 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin-bottom: .5rem !important;
}

div.wpforms-container-full .wpforms-form .wpforms-required-label {
  color: var(--terracotta) !important;
  margin-left: 3px;
}

div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea,
div.wpforms-container-full .wpforms-form select {
  width: 100% !important;
  max-width: 100% !important;
  padding: .95rem 1.1rem !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--ivory-2) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  box-sizing: border-box !important;
  transition: border-color .3s, box-shadow .3s, background-color .3s !important;
}

div.wpforms-container-full .wpforms-form input[type="text"]:focus,
div.wpforms-container-full .wpforms-form input[type="email"]:focus,
div.wpforms-container-full .wpforms-form textarea:focus,
div.wpforms-container-full .wpforms-form select:focus {
  outline: none !important;
  border-color: var(--sage) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(91, 112, 101, .12) !important;
}

div.wpforms-container-full .wpforms-form textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  padding: 0.5rem 0 0 0 !important;
  margin: 0 !important;
}

div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .6rem !important;
  padding: .95rem 2.2rem !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  background: var(--copper) !important;
  color: #fff !important;
  border: 1px solid var(--copper) !important;
  box-shadow: 0 4px 16px rgba(184, 80, 52, .25) !important;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s !important;
}

div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:hover {
  background: #9b3d22 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(184, 80, 52, .35) !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full,
div.wpforms-confirmation-container-full {
  background: rgba(91, 112, 101, .1) !important;
  border: 1px solid rgba(91, 112, 101, .3) !important;
  border-radius: var(--r-card) !important;
  padding: 1.6rem 2rem !important;
  color: var(--sage) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
}

.form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: 0 1px 0 var(--line-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory-2);
  font: inherit;
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 112, 101, .12);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 1.4rem;
  padding: 1.1rem 1.3rem;
  border-radius: 12px;
  background: rgba(91, 112, 101, .1);
  border: 1px solid rgba(91, 112, 101, .3);
  color: var(--sage);
  font-weight: 700;
  font-size: .95rem;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp .6s var(--ease-out);
}

.form-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.contact-aside .frame {
  overflow: hidden;
  border-radius: var(--r-arch);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/4.4;
  margin-bottom: 1.6rem;
}

.contact-aside .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line-soft);
}

.contact-line:last-child {
  border-bottom: none;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  color: var(--gold-2);
  flex: none;
  margin-top: .25rem;
}

.contact-line b {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-line span {
  font-size: .98rem;
  color: var(--ink);
}

/* Prose */
.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.6rem 0 .9rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.prose ul li {
  margin-bottom: .5rem;
}

/* ==========================================================================
   CTA band + Footer
   ========================================================================== */
.cta-band {
  background: var(--sage);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band .h-lg {
  color: #fff;
  margin: 1rem auto 1.4rem;
  max-width: 22ch;
}

.cta-band p {
  color: rgba(247, 243, 234, .85);
  max-width: 52ch;
  margin: 0 auto 2.2rem;
}

.cta-band .eyebrow {
  color: var(--ivory);
  justify-content: center;
}

.cta-band .eyebrow::before {
  background: var(--gold);
}

.site-footer {
  background: #1F2C25;
  color: rgba(247, 243, 234, .82);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3.4rem, 6vw, 5.5rem) 0 3rem;
}

.site-footer .brand-name {
  color: var(--ivory);
}

.site-footer .brand-sub {
  color: var(--gold);
}

.footer-about {
  font-size: .95rem;
  max-width: 34ch;
  margin-top: 1.2rem;
  color: rgba(247, 243, 234, .66);
  line-height: 1.7;
}

.footer-col h3 {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col li {
  margin-bottom: .85rem;
  list-style: none !important;
}

.footer-col a {
  font-size: .95rem;
  color: rgba(247, 243, 234, .78);
  transition: color .3s, padding-left .35s var(--ease-out);
  display: inline-block;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(247, 243, 234, .14);
  padding: 1.6rem 0 2rem;
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(247, 243, 234, .55);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom .deva {
  color: var(--gold);
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Motion Ã¢â‚¬â€ reveals & parallax
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s ease, transform 1.1s var(--ease-out);
}

.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* Children reveals */
.js [data-reveal-children]>* {
  opacity: 0;
  transform: translateY(30px);
}

.js .in-view[data-reveal-children]>*,
.js [data-reveal-children].in-view>* {
  opacity: 1;
  transform: none;
  transition: opacity .9s ease, transform .95s var(--ease-out);
}

.js [data-reveal-children].in-view>*:nth-child(1) {
  transition-delay: .05s;
}

.js [data-reveal-children].in-view>*:nth-child(2) {
  transition-delay: .16s;
}

.js [data-reveal-children].in-view>*:nth-child(3) {
  transition-delay: .27s;
}

.js [data-reveal-children].in-view>*:nth-child(4) {
  transition-delay: .38s;
}

.js [data-reveal-children].in-view>*:nth-child(5) {
  transition-delay: .49s;
}

.js [data-reveal-children].in-view>*:nth-child(6) {
  transition-delay: .60s;
}

.js [data-reveal-children].in-view>*:nth-child(7) {
  transition-delay: .71s;
}

.js [data-reveal-children].in-view>*:nth-child(8) {
  transition-delay: .82s;
}

/* Safe Fallback: After page load, make sure all content is always visible */
.js.is-loaded [data-reveal],
.js.is-loaded [data-reveal-children]>* {
  opacity: 1;
  transform: none;
}

.js .hero-line {
  overflow: hidden;
  display: block;
}

.js .hero-line>span {
  display: block;
  transform: translateY(115%) rotate(1.5deg);
  opacity: 0;
  transition: transform 1.2s var(--ease-out), opacity 1s ease;
}

.js .is-loaded .hero-line:nth-child(1)>span {
  transition-delay: .15s;
}

.js .is-loaded .hero-line:nth-child(2)>span {
  transition-delay: .3s;
}

.js .is-loaded .hero-line:nth-child(3)>span {
  transition-delay: .45s;
}

.js .is-loaded .hero-line>span {
  transform: none;
  opacity: 1;
}

.js .hero-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1.1s var(--ease-out);
}

.js .is-loaded .hero-reveal {
  opacity: 1;
  transform: none;
}

.js .is-loaded .hero-reveal:nth-of-type(2) {
  transition-delay: .35s;
}

.js .is-loaded .hero-reveal[data-delay="1"] {
  transition-delay: .55s;
}

.js .is-loaded .hero-reveal[data-delay="2"] {
  transition-delay: .75s;
}

.js .is-loaded .hero-reveal[data-delay="3"] {
  transition-delay: .95s;
}

.js .hero-arch {
  clip-path: inset(100% 0 0 0 round var(--r-arch));
  transition: clip-path 1.4s var(--ease-out) .5s;
}

.js .is-loaded .hero-arch {
  clip-path: inset(0 0 0 0 round var(--r-arch));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal],
  .js [data-reveal-children]>*,
  .js .hero-line>span,
  .js .hero-reveal {
    opacity: 1;
    transform: none;
  }

  .js .hero-arch {
    clip-path: none;
  }
}

/* WordPress core overrides */
.wp-block-image img {
  border-radius: var(--r-card);
}

.aligncenter {
  margin-inline: auto;
}

figure {
  margin: 0;
}