/* ==========================================================
   KASHISSH LIFECODE — main stylesheet
   Palette, type and layout tokens live in :root.
   ========================================================== */

:root {
  --night: #0D1030;
  --indigo: #171B45;
  --dusk: #2A2766;
  --violet: #7C6FB8;
  --champagne: #D9BF8C;
  --champagne-soft: #E9D8B4;
  --ivory: #F4EEE3;
  --mist: #B7B2CF;
  --line: rgba(217, 191, 140, 0.22);
  --line-soft: rgba(244, 238, 227, 0.10);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --arch: 999px 999px 18px 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Faint starfield across the whole site — pure CSS, no images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(244,238,227,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(244,238,227,.40), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(217,191,140,.45), transparent 60%),
    radial-gradient(1px 1px at 86% 48%, rgba(244,238,227,.35), transparent 60%),
    radial-gradient(1px 1px at 22% 84%, rgba(244,238,227,.30), transparent 60%),
    radial-gradient(1px 1px at 58% 88%, rgba(217,191,140,.35), transparent 60%),
    radial-gradient(1px 1px at 93% 82%, rgba(244,238,227,.30), transparent 60%),
    radial-gradient(1px 1px at 5% 50%, rgba(244,238,227,.30), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(124,111,184,.16), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(42,39,102,.55), transparent 70%),
    var(--night);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  color: var(--ivory);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

.lead {
  font-size: var(--step-1);
  color: var(--mist);
  max-width: 38em;
  line-height: 1.65;
}
.muted { color: var(--mist); }
.serif-italic { font-family: var(--serif); font-style: italic; }

/* Editable placeholders — visible on purpose so they get replaced */
.ph {
  display: inline;
  padding: .05em .4em;
  border: 1px dashed rgba(217,191,140,.6);
  border-radius: 4px;
  color: var(--champagne-soft);
  background: rgba(217,191,140,.07);
  font-size: .95em;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--champagne);
  color: var(--night);
  padding: .75rem 1.1rem;
  border-radius: var(--radius-s);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tint { background: linear-gradient(180deg, rgba(23,27,69,0) 0%, rgba(23,27,69,.75) 18%, rgba(23,27,69,.75) 82%, rgba(23,27,69,0) 100%); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--mist); font-size: var(--step-1); }

.rule {
  width: 64px;
  height: 1px;
  background: var(--champagne);
  border: 0;
  margin: 0 0 1.5rem;
  opacity: .8;
}
.section-head--center .rule { margin-inline: auto; }

/* Buttons */
.btn {
  --pad-y: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: var(--pad-y) 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold {
  background: var(--champagne);
  color: var(--night);
  box-shadow: 0 0 0 rgba(217,191,140,0);
}
.btn--gold:hover {
  background: var(--champagne-soft);
  box-shadow: 0 10px 40px -10px rgba(217,191,140,.55);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(244,238,227,.35);
}
.btn--ghost:hover {
  border-color: var(--champagne);
  color: var(--champagne-soft);
}
.btn--text {
  min-height: 44px;
  padding: .5rem 0;
  border-radius: 0;
  color: var(--champagne);
  border-bottom: 1px solid rgba(217,191,140,.4);
}
.btn--text:hover { border-bottom-color: var(--champagne); color: var(--champagne-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13,16,48,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

/* Text logo */
.logo {
  position: relative;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  line-height: 1;
}
.logo-mark {
  width: 38px; height: 38px;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; gap: .3rem; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--ivory);
}
.logo-sub {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .62em;
  color: var(--champagne);
  padding-left: .1em;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-list > li { position: relative; }
.nav-link,
.nav-sub-toggle {
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ivory);
  text-decoration: none;
  background: none;
  border: 0;
  padding: .5rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  position: relative;
}
.nav-link::after,
.nav-sub-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after,
.nav-sub-toggle:hover::after,
.nav-link[aria-current="page"]::after,
.nav-sub-toggle.is-current::after { transform: scaleX(1); }
.nav-sub-toggle svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + .6rem);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  list-style: none;
  padding: .7rem;
  background: rgba(23,27,69,.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-sub.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub-menu a {
  display: block;
  padding: .6rem .9rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ivory);
  font-size: .95rem;
}
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: rgba(217,191,140,.1); color: var(--champagne-soft); }

.header-cta { min-height: 46px; padding: .7rem 1.35rem; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(244,238,227,.3);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23.5px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
    padding: 110px var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: rgba(13,16,48,.985);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-soft); }
  .nav-link, .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
    font-family: var(--serif);
    font-size: 1.7rem;
    padding: .85rem 0;
  }
  .nav-link::after, .nav-sub-toggle::after { display: none; }
  .nav-sub-toggle svg { width: 16px; height: 16px; }
  .sub-menu {
    position: static;
    translate: none;
    transform: none;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { font-size: 1.05rem; padding: .7rem .2rem; color: var(--mist); }
  .header-cta { width: 100%; min-height: 54px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(4rem, 9vw, 7.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-title {
  font-size: clamp(2.3rem, 3.9vw, 3.45rem);
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 1.8rem;
}
.hero-title .line { display: block; }
.hero-title .line:nth-child(2) { padding-left: clamp(1.2rem, 4vw, 3.2rem); }
.hero-title .line:nth-child(3) { padding-left: clamp(2.4rem, 8vw, 6.4rem); }
.hero-sub {
  font-size: var(--step-1);
  color: var(--mist);
  max-width: 32em;
  margin-bottom: 2.2rem;
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  min-width: 300px;
  justify-self: end;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,111,184,.38) 0%, rgba(42,39,102,.25) 45%, transparent 70%);
  filter: blur(10px);
}
.dial { position: relative; width: 100%; height: 100%; overflow: visible; }
.dial .ring-numerals { transform-origin: 250px 250px; }
.dial .orbit-planet { transform-origin: 250px 250px; }
.dial .mandala { transform-origin: 250px 250px; }

@media (prefers-reduced-motion: no-preference) {
  .dial .ring-numerals { animation: spin 160s linear infinite; }
  .dial .orbit-planet { animation: spin 48s linear infinite; }
  .dial .mandala { animation: spin 220s linear infinite reverse; }
  .dial .moon-glow { animation: breathe 7s ease-in-out infinite; }
  .hero-load > * { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
  .hero-load > *:nth-child(2) { animation-delay: .15s; }
  .hero-load > *:nth-child(3) { animation-delay: .3s; }
  .hero-load > *:nth-child(4) { animation-delay: .45s; }
  .hero-visual { opacity: 0; animation: fade 1.8s var(--ease) .2s forwards; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { white-space: normal; font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .hero-visual { order: -1; min-width: 0; max-width: 200px; justify-self: start; margin-bottom: -.5rem; }
  .hero-sub { font-size: 1.1rem; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 60px rgba(217,191,140,.025), 0 0 0 120px rgba(217,191,140,.02);
  pointer-events: none;
}
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-bottom: 2rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--step--1); color: var(--mist); margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { text-decoration: none; color: var(--mist); }
.breadcrumb a:hover { color: var(--champagne); }

/* ================= INTRO / PATTERNS ================= */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.intro-quote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.1rem);
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
}
.intro-body p { color: var(--mist); font-size: 1.12rem; }
.intro-body p:first-child { color: var(--ivory); }
.pattern-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; list-style: none; }
.pattern-tags li {
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  color: var(--champagne-soft);
}
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* ================= SERVICES ================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  list-style: none;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 2rem 1.7rem 1.8rem;
  background: var(--night);
  transition: background-color .45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 1.7rem; right: 1.7rem; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.service-card:hover, .service-card:focus-within { background: var(--indigo); }
.service-card:hover::before, .service-card:focus-within::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--champagne);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { box-shadow: 0 0 26px -2px rgba(217,191,140,.45); border-color: var(--champagne); }
.service-card h3 { font-size: 1.6rem; margin: .4rem 0 0; }
.service-card p { color: var(--mist); font-size: .98rem; margin: 0; flex: 1; }
.service-card .btn--text { align-self: flex-start; font-size: .95rem; }
.service-card .btn--text::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.inline-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: 1.6rem clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(23,27,69,.5);
}
.inline-cta p { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }

/* ================= WHY ================= */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
}
.why-list li {
  padding: 1.8rem 1.6rem 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.why-list li:nth-child(even) { padding-left: 1.6rem; padding-right: 0; }
.why-word {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--champagne-soft);
  display: block;
  margin-bottom: .4rem;
}
.why-list p { color: var(--mist); margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .why-list { grid-template-columns: 1fr; }
  .why-list li, .why-list li:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
}

/* ================= STEPS ================= */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--champagne), rgba(217,191,140,.1));
}
.step { position: relative; }
.step-num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid var(--champagne);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--champagne);
  margin-bottom: 1.4rem;
  position: relative;
}
.step h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.step p { color: var(--mist); margin: 0; font-size: .98rem; }
.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .steps, .steps--three { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps, .steps--three { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1.2rem; padding-bottom: 2rem; }
  .step::before {
    content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 1px; background: var(--line);
  }
  .step:last-child::before { display: none; }
  .step-num { grid-row: span 2; margin: 0; }
}

/* ================= ARCH FEATURE CARDS ================= */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  list-style: none;
}
.arch-card {
  position: relative;
  padding: clamp(5rem, 9vw, 7rem) 1.8rem 2.2rem;
  border-radius: var(--arch);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 21%, transparent 0 11.5%, rgba(217,191,140,.45) 11.8% 12.2%, transparent 12.5%),
    radial-gradient(circle at 54% 19.5%, rgba(233,216,180,.9) 0 2.2%, transparent 2.5%),
    radial-gradient(ellipse at 50% 0%, rgba(124,111,184,.35), transparent 60%),
    linear-gradient(180deg, var(--indigo), var(--night));
  text-align: center;
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.arch-card::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px; right: 12px; height: 60%;
  border-radius: var(--arch);
  border: 1px solid rgba(217,191,140,.12);
  pointer-events: none;
}
.arch-card:hover { border-color: rgba(217,191,140,.55); transform: translateY(-4px); }
.arch-card h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.arch-card p { color: var(--mist); margin: 0 auto; max-width: 22em; font-size: .98rem; }
.arch-phase {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--champagne);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.center-cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 860px) {
  .arch-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.portrait-frame {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  background: var(--indigo);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-wrap { position: relative; }
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border-radius: var(--arch);
  border: 1px solid rgba(217,191,140,.25);
  z-index: -1;
  max-width: 420px;
}
.practice-list { display: flex; flex-wrap: wrap; gap: .5rem .6rem; list-style: none; margin: 1.5rem 0 2rem; }
.practice-list li {
  font-size: .9rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(124,111,184,.16);
  color: var(--ivory);
}
.about-fill { display: grid; gap: .8rem; margin: 1.4rem 0 2rem; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 360px; margin-inline: auto; }
}

/* ================= TESTIMONIALS ================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
}
.testimonial {
  margin: 0;
  padding: 2rem 1.8rem;
  border: 1px dashed rgba(217,191,140,.4);
  border-radius: var(--radius-m);
  background: rgba(23,27,69,.4);
}
.testimonial blockquote { margin: 0 0 1.2rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--ivory); }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--champagne); margin-bottom: .6rem; }
.testimonial figcaption { color: var(--mist); font-size: .92rem; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ================= FAQ ================= */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--champagne-soft); }
.faq-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--champagne);
  translate: -50% -50%;
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 3rem 1.5rem 0; color: var(--mist); }
.faq-answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: rise .45s var(--ease); }
}
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 0; }
  .faq-item summary { font-size: 1.3rem; }
}

/* ================= BOOKING CTA BAND ================= */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(217,191,140,.18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,111,184,.35), transparent 70%),
    var(--indigo);
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(217,191,140,.12);
  translate: -50% -50%;
  pointer-events: none;
}
.cta-band::before { width: 520px; height: 520px; }
.cta-band::after { width: 820px; height: 820px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 16em; margin-inline: auto; }
.cta-band p { color: var(--mist); max-width: 34em; margin: 0 auto 2.2rem; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; }

/* ================= DISCLAIMER STRIP ================= */
.disclaimer-strip {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.6rem;
  font-size: .9rem;
  color: var(--mist);
}
.disclaimer-strip p { margin: 0; max-width: 62rem; }
.disclaimer-strip a { color: var(--champagne); }

/* ================= FOOTER ================= */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 7vw, 5rem) 0 calc(2rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(23,27,69,.7));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1.3rem; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--champagne-soft); line-height: 1.35; max-width: 18em; }
.footer-col h2 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--champagne);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .35rem; }
.footer-col a {
  text-decoration: none;
  color: var(--mist);
  font-size: .96rem;
  display: inline-block;
  padding: .2rem 0;
}
.footer-col a:hover { color: var(--ivory); }
.footer-col--nav ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.social-list a { display: inline-flex; align-items: center; gap: .6rem; }
.social-list svg { width: 18px; height: 18px; color: var(--champagne); }
.footer-contact { color: var(--mist); font-size: .92rem; margin-top: 1.4rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
  color: var(--mist);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= FLOATING WHATSAPP ================= */
.wa-float {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right));
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  height: 60px;
  min-width: 60px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--champagne);
  color: var(--night);
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.6), 0 0 0 6px rgba(217,191,140,.12);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { background: var(--champagne-soft); transform: translateY(-2px); }
.wa-float-label { font-size: .95rem; }
@media (max-width: 640px) {
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* ================= REVEAL ================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ================= SERVICE DETAIL PAGES ================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split > div > p { color: var(--mist); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.orbit-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.orbit-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
}
.orbit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.55rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 6px var(--champagne);
}
.orbit-list li span { display: block; color: var(--mist); font-size: .95rem; }

.detail-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(23,27,69,.55);
}
.detail-card h3 { font-size: 1.7rem; }
.detail-card dl { margin: 0; display: grid; gap: 0; }
.detail-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
.detail-card dl div:last-child { border-bottom: 0; }
.detail-card dt { color: var(--mist); }
.detail-card dd { margin: 0; text-align: right; }
@media (max-width: 480px) {
  .detail-card { padding: 1.5rem; }
  .detail-card dl div { flex-direction: column; gap: .15rem; }
  .detail-card dd { text-align: left; }
}

.note {
  padding: 1.5rem 1.7rem;
  border-left: 2px solid var(--champagne);
  background: rgba(217,191,140,.06);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ivory);
  max-width: 60rem;
}
.note p { margin: 0; }
.note strong { color: var(--champagne-soft); font-weight: 500; }

/* Services overview */
.overview-list { list-style: none; border-top: 1px solid var(--line); }
.overview-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}
.overview-item h2 { font-size: var(--step-2); margin-bottom: .3rem; }
.overview-item p { color: var(--mist); margin: 0; max-width: 40em; }
.overview-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: flex-end; }
@media (max-width: 760px) {
  .overview-item { grid-template-columns: 1fr; gap: 1rem; }
  .overview-actions { justify-content: flex-start; }
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.session-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.session-table th, .session-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.session-table th { font-weight: 500; color: var(--champagne); font-size: .95rem; background: rgba(23,27,69,.6); }
.session-table tr:last-child td { border-bottom: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.composer {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(23,27,69,.6);
}
.field { display: grid; gap: .5rem; margin-bottom: 1.3rem; }
.field label { font-size: .95rem; color: var(--champagne-soft); }
.field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ivory);
  background: var(--night);
  border: 1px solid rgba(244,238,227,.2);
  border-radius: var(--radius-s);
  padding: .9rem 1rem;
  min-height: 52px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select:focus, .field textarea:focus { border-color: var(--champagne); outline: none; box-shadow: 0 0 0 3px rgba(217,191,140,.2); }
.field-hint { font-size: .85rem; color: var(--mist); }
.quick-links { list-style: none; display: grid; gap: .6rem; }
.quick-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  min-height: 56px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.quick-links a:hover { border-color: var(--champagne); background: rgba(217,191,140,.06); }
.quick-links svg { width: 20px; height: 20px; color: var(--champagne); flex: none; }
.contact-details { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details li { display: grid; gap: .15rem; }
.contact-details li > span:first-child { font-size: .88rem; color: var(--champagne); }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.legal h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--mist); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--champagne); }
.legal-meta { color: var(--mist); font-size: .95rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .btn-row { justify-content: center; }

@media print {
  body::before, .wa-float, .site-header, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}

@media (max-width: 480px) {
  .hero-title .line:nth-child(2) { padding-left: 1rem; }
  .hero-title .line:nth-child(3) { padding-left: 2rem; }
}
