/* ==========================================================================
   Norton • Rosa Cruz — Tarot, Cabalá e Magia
   Obsidiana, veludo e ouro champanhe.
   ========================================================================== */

:root {
  --obsidian: #070507;
  --velvet: #1a070d;
  --wine: #3a1018;
  --gold: #d4af5a;
  --gold-light: #f3dfb6;
  --gold-bright: #f5e2b8;
  --gold-muted: #9e7d39;
  --gold-dark: #614a1e;
  --ivory: #f4efe6;
  --ivory-dim: #c9bfae;
  --line: rgba(212, 175, 90, 0.28);
  --line-strong: rgba(212, 175, 90, 0.55);
  --glass: linear-gradient(180deg, rgba(26, 7, 13, 0.72) 0%, rgba(7, 5, 7, 0.88) 100%);
  --header-h: 72px;
  --gutter: 1.25rem;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--obsidian);
}

html,
body {
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  background: var(--obsidian);
  min-height: 100vh;
}

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

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

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

ul {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold), var(--gold-dark));
  border-radius: 999px;
}

::selection {
  background: rgba(212, 175, 90, 0.28);
  color: var(--gold-bright);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 0.8rem;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

#topo,
#conteudo,
#jornadas,
#consultas,
#sobre {
  scroll-margin-top: calc(var(--header-h) + 0.6rem);
}


/* Gold typography helper */
.gold-text {
  background: linear-gradient(180deg, #f7e7c2 0%, #d4af5a 48%, #8c6a27 88%, #e8d19a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Header
/* -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

#site-header.is-scrolled {
  background: rgba(7, 5, 7, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.25s;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--gold-light);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}

.icon-btn:hover,
.icon-btn[aria-pressed="true"] {
  background: rgba(212, 175, 90, 0.12);
  color: var(--gold-bright);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-btn .icon-close { display: none; }
.menu-btn.is-open .icon-open { display: none; }
.menu-btn.is-open .icon-close { display: block; }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: rgba(7, 5, 7, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 2.25rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

#mobile-menu.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}

#mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--gold-light);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

#mobile-menu a:hover { color: var(--gold-bright); }

body.menu-open { overflow: hidden; }

/* -------------------------------------------------------------------------- */
/* Hero
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.15rem) var(--gutter) 2.5rem;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--obsidian) url("../assets/poster-mobile.jpg") center / cover no-repeat;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-glow {
  display: none;
  position: absolute;
  right: 12%;
  top: 48%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  border-radius: 50%;
  transform: translate(20%, -50%);
  background: radial-gradient(circle, rgba(245, 226, 184, 0.32) 0%, rgba(212, 175, 90, 0.14) 38%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: glowPulse 5.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(20%, -50%) scale(1); }
  50% { opacity: 0.95; transform: translate(20%, -50%) scale(1.1); }
}

.hero-sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  /* Mobile: only a light veil at the top so the title reads; candle stays visible */
  background: linear-gradient(180deg, rgba(7, 5, 7, 0.55) 0%, rgba(7, 5, 7, 0.22) 16%, rgba(7, 5, 7, 0) 32%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background: url("../assets/grain.png") repeat;
  mix-blend-mode: overlay;
}

.hero-frame {
  position: absolute;
  inset: calc(var(--header-h) + 0.35rem) 0.7rem 0.7rem;
  pointer-events: none;
  color: rgba(212, 175, 90, 0.7);
  z-index: 1;
}

.hero-frame .orn-corner {
  position: absolute;
  width: 44px;
  height: 44px;
}

.hero-frame .tl { top: 0; left: 0; }
.hero-frame .tr { top: 0; right: 0; transform: rotate(90deg); }
.hero-frame .br { bottom: 0; right: 0; transform: rotate(180deg); }
.hero-frame .bl { bottom: 0; left: 0; transform: rotate(270deg); }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.hero .eyebrow {
  letter-spacing: 0.18em;
  margin-bottom: 0.45rem;
}

.moon-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gold);
  margin: 0 auto 0.85rem;
  opacity: 0.92;
}

.moon-line .moon {
  width: 14px;
  height: 14px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(212, 175, 90, 0.45));
}

.moon-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 90, 0.7);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 11.5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 28px rgba(7, 5, 7, 0.7);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  line-height: 1.4;
  color: var(--ivory-dim);
  max-width: 26rem;
  margin: 0 auto 1.45rem;
  text-shadow: 0 2px 16px rgba(7, 5, 7, 0.85);
}

.hero-content .eyebrow,
.hero-content .moon-line,
.hero-content h1,
.hero-content .hero-lede,
.hero-content .btn-gold {
  animation: heroIn 0.95s var(--ease) both;
}

.hero-content .moon-line { animation-delay: 0.12s; }
.hero-content h1 { animation-delay: 0.22s; }
.hero-content .hero-lede { animation-delay: 0.34s; }
.hero-content .btn-gold { animation-delay: 0.46s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------- */
/* Buttons
/* -------------------------------------------------------------------------- */
.btn-gold {
  position: relative;
  display: inline-flex;
  font-family: var(--font-sans);
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 48px;
  padding: 0.8em 1.55em;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--obsidian);
  background: linear-gradient(180deg, #f7e7c2 0%, #d4af5a 52%, #b8923e 100%);
  box-shadow: 0 0 0 1px rgba(97, 74, 30, 0.35), 0 8px 28px rgba(212, 175, 90, 0.18);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn-gold .arrow { transition: transform 0.3s var(--ease); }

.btn-gold::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-80%) skewX(-12deg);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(97, 74, 30, 0.45), 0 12px 36px rgba(212, 175, 90, 0.32);
}

.btn-gold:hover::after,
.btn-gold:focus-visible::after,
.btn-gold.is-lit::after {
  transform: translateX(80%) skewX(-12deg);
}

.btn-gold:hover .arrow,
.btn-gold:focus-visible .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  font-family: var(--font-sans);
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 42px;
  padding: 0.55em 1.05em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--gold-light);
  background: rgba(212, 175, 90, 0.05);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(245, 226, 184, 0.22) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(212, 175, 90, 0.14);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 22px rgba(212, 175, 90, 0.16);
}

.btn-ghost:hover::after,
.btn-ghost:focus-visible::after,
.btn-ghost.is-lit::after {
  transform: translateX(100%);
}

/* -------------------------------------------------------------------------- */
/* Sections
/* -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: 4.5rem var(--gutter);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 1.15rem;
  color: var(--gold);
}

.divider::before,
.divider::after {
  content: "";
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), var(--gold), var(--gold-muted), transparent);
}

.divider-gem {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  background: rgba(212, 175, 90, 0.35);
  flex-shrink: 0;
}

/* Ornamental corners */
.ornament {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  color: var(--gold-muted);
  opacity: 0.85;
}

.ornament svg {
  position: absolute;
  width: 42px;
  height: 42px;
}

.ornament .tl { top: 0; left: 0; }
.ornament .tr { top: 0; right: 0; transform: rotate(90deg); }
.ornament .br { bottom: 0; right: 0; transform: rotate(180deg); }
.ornament .bl { bottom: 0; left: 0; transform: rotate(270deg); }

/* -------------------------------------------------------------------------- */
/* Featured cards
/* -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.glass-card {
  --mouse-x: 50%;
  --mouse-y: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem 1.35rem 1.35rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(243, 223, 182, 0.08);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 90, 0.18), transparent 58%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.glass-card:hover,
.glass-card:focus-within {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 90, 0.12), inset 0 1px 0 rgba(243, 223, 182, 0.12);
}

.glass-card:hover::before,
.glass-card:focus-within::before {
  opacity: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.glass-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-light);
  padding-right: 0.5rem;
}

.glass-card p {
  color: var(--ivory-dim);
  font-size: 0.95rem;
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.price-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  padding: 0.38em 0.75em;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(212, 175, 90, 0.22), rgba(212, 175, 90, 0.06));
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(245, 226, 184, 0.25);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Consultas list
/* -------------------------------------------------------------------------- */
.consultas {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(58, 16, 24, 0.45), transparent 60%),
    var(--obsidian);
}

.service-list {
  display: flex;
  flex-direction: column;
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service-row {
  --mouse-x: 10%;
  --mouse-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1.25rem;
  padding: 1.35rem 0.15rem 1.45rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 90, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-row:hover::before,
.service-row:focus-within::before { opacity: 1; }

.service-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.service-copy p {
  color: var(--ivory-dim);
  font-size: 0.92rem;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/* Sobre
/* -------------------------------------------------------------------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

.sobre-copy .eyebrow { margin-bottom: 0.6rem; }

.sobre-copy h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.05rem, 7vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.sobre-copy p {
  color: var(--ivory-dim);
  font-size: 1.02rem;
  max-width: 36rem;
  margin-bottom: 1rem;
}

.sobre-copy p:last-of-type { margin-bottom: 1.75rem; }

.tree-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22rem;
}

#tree-of-life {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(212, 175, 90, 0.18));
  transform-origin: 50% 48%;
  will-change: transform;
}

#tree-of-life .path {
  fill: none;
  stroke: var(--gold-muted);
  stroke-width: 1.15;
  opacity: 0.55;
}

#tree-of-life .path-draw {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

#tree-of-life.is-lit .path-draw {
  stroke-dashoffset: 0;
  stroke: var(--gold);
  opacity: 0.9;
  transition: stroke-dashoffset 1.6s var(--ease), stroke 1s, opacity 1s;
}

#tree-of-life .sephira {
  fill: var(--obsidian);
  stroke: var(--gold-muted);
  stroke-width: 1.2;
  opacity: 0.55;
  transform-origin: center;
  transform-box: fill-box;
}

#tree-of-life.is-lit .sephira {
  stroke: var(--gold);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(212, 175, 90, 0.65));
  transition: stroke 0.6s, opacity 0.6s, filter 0.6s;
}

#tree-of-life.is-lit .sephira:nth-of-type(1) { transition-delay: 0.05s; }
#tree-of-life.is-lit .sephira:nth-of-type(2),
#tree-of-life.is-lit .sephira:nth-of-type(3) { transition-delay: 0.18s; }
#tree-of-life.is-lit .sephira:nth-of-type(4),
#tree-of-life.is-lit .sephira:nth-of-type(5) { transition-delay: 0.32s; }
#tree-of-life.is-lit .sephira:nth-of-type(6) { transition-delay: 0.46s; }
#tree-of-life.is-lit .sephira:nth-of-type(7),
#tree-of-life.is-lit .sephira:nth-of-type(8) { transition-delay: 0.6s; }
#tree-of-life.is-lit .sephira:nth-of-type(9) { transition-delay: 0.74s; }
#tree-of-life.is-lit .sephira:nth-of-type(10) { transition-delay: 0.88s; }

#tree-of-life .core {
  fill: var(--gold-dark);
  opacity: 0.4;
}

#tree-of-life.is-lit .core {
  fill: var(--gold-light);
  opacity: 1;
  transition: fill 0.8s, opacity 0.8s;
}

#tree-of-life .sephira-label {
  fill: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 7.2px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  paint-order: stroke fill;
  stroke: #070507;
  stroke-width: 3.4px;
  stroke-linejoin: round;
}

#tree-of-life.is-lit .sephira-label {
  opacity: 0.85;
  transition: opacity 0.8s 0.6s;
}

/* -------------------------------------------------------------------------- */
/* Footer + float
/* -------------------------------------------------------------------------- */
.site-footer {
  padding: 2.5rem var(--gutter) 2.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer .brand-name {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.site-footer p {
  color: var(--ivory-dim);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer-break { display: none; }

@media (max-width: 639px) {
  .footer-break { display: block; }
  .footer-dot { display: none; }
}



/* -------------------------------------------------------------------------- */
/* Reveal
/* -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* -------------------------------------------------------------------------- */
/* Breakpoints
/* -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --gutter: 2rem; }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .service-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.45rem 0.4rem;
  }

  .service-meta {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.7rem;
  }
}

@media (min-width: 769px) {
  .hero {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 5rem;
  }

  .hero-media {
    background-image: url("../assets/poster.jpg");
    background-position: 78% center;
  }

  .hero-media video {
    object-position: 78% center;
  }

  .hero-glow { display: block; }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(7, 5, 7, 0.92) 0%, rgba(7, 5, 7, 0.72) 32%, rgba(7, 5, 7, 0.28) 58%, rgba(7, 5, 7, 0.18) 100%),
      linear-gradient(180deg, rgba(7, 5, 7, 0.5) 0%, rgba(7, 5, 7, 0.08) 30%, rgba(7, 5, 7, 0.12) 70%, rgba(7, 5, 7, 0.88) 100%);
  }

  .hero-frame {
    inset: calc(var(--header-h) + 0.8rem) 1.4rem 1.2rem;
  }

  .hero-frame .orn-corner {
    width: 56px;
    height: 56px;
  }

  .hero-content {
    margin: 0;
    max-width: 38rem;
  }

  .hero .eyebrow {
    letter-spacing: 0.26em;
  }

  .moon-line { justify-content: flex-start; margin-left: 0; }
  .moon-line .moon { width: 18px; height: 18px; }

  .hero-lede { margin-left: 0; max-width: 28rem; }
}

@media (min-width: 900px) {
  :root { --gutter: 2.5rem; --header-h: 80px; }

  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  #mobile-menu { display: none !important; }

  .brand-name { font-size: 1.12rem; letter-spacing: 0.12em; }

  .hero {
    align-items: center;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 5rem;
  }

  .hero-content { max-width: 38rem; }

  .hero h1 { font-size: clamp(4.6rem, 7.2vw, 7.1rem); }

  .hero-media video { object-position: 78% center; }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(7, 5, 7, 0.92) 0%, rgba(7, 5, 7, 0.72) 32%, rgba(7, 5, 7, 0.28) 58%, rgba(7, 5, 7, 0.18) 100%),
      linear-gradient(180deg, rgba(7, 5, 7, 0.5) 0%, rgba(7, 5, 7, 0.08) 30%, rgba(7, 5, 7, 0.12) 70%, rgba(7, 5, 7, 0.88) 100%);
  }

  .section { padding: 6.25rem var(--gutter); }

  .section-head { margin-bottom: 3.25rem; }

  .glass-card { padding: 1.85rem 1.6rem 1.5rem; gap: 0.95rem; }

  .sobre-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  #tree-of-life { width: min(100%, 400px); }

  .site-footer { padding: 3rem var(--gutter) 3.25rem; }
}

@media (min-width: 1200px) {
  .hero-content { max-width: 42rem; }
}


@media (max-width: 899px) {
  .brand-name {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
}

#tree-of-life .sephira-label {
  paint-order: stroke fill;
  stroke: #070507;
  stroke-width: 3.4px;
  stroke-linejoin: round;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  #tree-of-life .path-draw { stroke-dashoffset: 0; }
  #tree-of-life .sephira,
  #tree-of-life .sephira-label,
  #tree-of-life .core { opacity: 1; }

  .hero-media video { display: none; }
  .hero-sparks, .hero-glow { display: none !important; }
  .hero-content .eyebrow,
  .hero-content .moon-line,
  .hero-content h1,
  .hero-content .hero-lede,
  .hero-content .btn-gold { opacity: 1; transform: none; }
}

@media (max-width: 439px) {
  .service-meta .price-seal {
    font-size: 1.02rem;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
}
