/* ==========================================================================
   Al-Darb — modern stylesheet
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --ink-2: #171510;
  --ink-3: #221f18;
  --ivory: #faf7f1;
  --ivory-2: #f3ede2;
  --white: #ffffff;
  --text: #2b2720;
  --muted: #6d665a;
  --line: rgba(43, 39, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --gold: #c9a66b;
  --gold-2: #a8865a;
  --gold-3: #e6cf9f;
  --gold-grad: linear-gradient(135deg, #e9d3a3 0%, #c9a66b 45%, #9c7b4f 100%);

  --font-serif: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(13, 12, 10, 0.06);
  --shadow: 0 18px 40px -18px rgba(13, 12, 10, 0.25);
  --shadow-lg: 0 40px 90px -30px rgba(13, 12, 10, 0.55);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}
.narrow { width: min(860px, 100% - 2.5rem); }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.kicker {
  color: var(--gold-2);
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.center .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title.display {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem);
  margin-bottom: 1.5rem;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-top: 1rem;
}
.center .section-sub { margin-inline: auto; }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
}

.rule {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-grad);
  margin-top: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(169, 134, 90, 0.7); }
.btn:hover::before { transform: translateY(0); }
.btn-icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px); }

.btn-dark:hover { color: var(--ink); }

.btn-gold {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  background: var(--gold-grad);
}
.btn-gold::before { background: var(--white); }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--ink); border-color: transparent; }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(13, 12, 10, 0.85);
}
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 68px;
  box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px -15px rgba(0, 0, 0, 0.6);
}
/* Glass background lives on a pseudo-element so the header itself has no
   backdrop-filter (which would become the containing block for the fixed drawer). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 9, 7, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
/* While the drawer is open, lift the header (and the drawer inside it) above the scrim */
body.nav-open .site-header { z-index: 70; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand { justify-self: center; grid-column: 2; grid-row: 1; }
.brand img {
  height: 76px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.is-scrolled .brand img { height: 62px; }

.social {
  display: flex;
  gap: 0.35rem;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social svg { width: 20px; height: 20px; }
.social a:hover { background: rgba(201, 166, 107, 0.16); color: var(--gold-3); transform: translateY(-2px); }

/* Hamburger (always visible: the original site uses a menu toggle) */
.nav-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-content: center;
  gap: 5px;
  position: relative;
  z-index: 70;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 14px; }
.nav-toggle:hover span:nth-child(2) { width: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Slide-in drawer */
.site-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 65;
  width: min(420px, 88vw);
  padding: calc(var(--header-h) + 2rem) 2.5rem 2.5rem;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(201, 166, 107, 0.16), transparent 60%),
    var(--ink);
  border-right: 1px solid var(--line-dark);
  transform: translateX(-102%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); }
.site-nav ul { display: grid; gap: 0.2rem; }
.site-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateX(-16px);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.site-nav.is-open a { opacity: 1; transform: none; }
.site-nav.is-open li:nth-child(2) a { transition-delay: 0.04s; }
.site-nav.is-open li:nth-child(3) a { transition-delay: 0.08s; }
.site-nav.is-open li:nth-child(4) a { transition-delay: 0.12s; }
.site-nav.is-open li:nth-child(5) a { transition-delay: 0.16s; }
.site-nav.is-open li:nth-child(6) a { transition-delay: 0.2s; }
.site-nav.is-open li:nth-child(7) a { transition-delay: 0.24s; }
.site-nav a:hover { color: var(--gold-3); padding-left: 0.5rem; }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: auto;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 4rem) 0 6rem;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 166, 107, 0.18), transparent 70%),
    linear-gradient(180deg, #0b0a08 0%, #15130f 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* subtle grain */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 107, 0.16);
  box-shadow: 0 0 0 90px rgba(201, 166, 107, 0.025), 0 0 0 180px rgba(201, 166, 107, 0.02);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { scale: 1; opacity: 0.8; }
  50% { scale: 1.06; opacity: 1; }
}

.hero-inner { max-width: 880px; }
.hero .eyebrow { color: var(--gold-3); margin-bottom: 1.5rem; }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.4rem + 5.5vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.hero-lead {
  max-width: 700px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: 24px;
  height: 40px;
  translate: -50% 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  translate: -50% 0;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

.hero-page { min-height: 62vh; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; position: relative; }
.section-ivory { background: var(--ivory); }
.section-dark {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(201, 166, 107, 0.12), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, 0.78);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.62); }
.section-dark .kicker { color: var(--gold); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
}
.section-head.split .section-sub { margin-top: 0; }

/* Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 3rem 5rem;
}
.overview-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.overview-body { display: grid; gap: 1.4rem; color: var(--muted); }
.overview-body .lead { color: var(--text); }
.overview-body strong { color: var(--gold-2); font-weight: 600; letter-spacing: 0.04em; }

/* Somatic block */
.somatic {
  margin: clamp(3rem, 2rem + 3vw, 5rem) auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-radius: calc(var(--radius) + 8px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.somatic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 0% 50%, rgba(201, 166, 107, 0.2), transparent 70%);
  pointer-events: none;
}
.somatic-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}
.somatic-mark {
  position: relative;
  width: 120px;
  height: 120px;
}
.somatic-mark span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ripple 4.5s var(--ease) infinite;
}
.somatic-mark span:nth-child(2) { animation-delay: 1.5s; }
.somatic-mark span:nth-child(3) { animation-delay: 3s; }
@keyframes ripple {
  0% { transform: scale(0.25); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* Path cards */
.paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.path-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.path-body::before {
  /* gold accent along the seam between artwork and text */
  content: "";
  position: absolute;
  left: 2.25rem;
  right: 2.25rem;
  top: 0;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 166, 107, 0.55);
}
.path-card:hover .path-body::before { transform: scaleX(1); }
.path-media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: end center;
  padding: 1.5rem 1.5rem 0;
  background:
    radial-gradient(60% 75% at 50% 100%, rgba(201, 166, 107, 0.22), transparent 70%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  overflow: hidden;
}
.path-media svg { width: min(100%, 420px); height: auto; overflow: visible; }
.path-ring {
  opacity: calc(0.95 - var(--i) * 0.18);
  transform-origin: 200px 232px;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.path-card:hover .path-ring { transform: scale(1.035); opacity: 1; }
.path-figure { transition: translate 0.6s var(--ease); }
.path-card:hover .path-figure { translate: 0 -6px; }
.path-body {
  position: relative;
  padding: 2.1rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.path-kicker {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.path-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
}
.path-body p:not(.path-kicker) { color: var(--muted); margin-bottom: 0.8rem; flex: 1; }

/* ---------- Packages ---------- */
.packages-section { overflow: clip; }
.packages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.package::after {
  /* gold top accent */
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.package:hover,
.package:focus-visible { border-color: rgba(201, 166, 107, 0.6); }
.package:hover::after,
.package:focus-visible::after { transform: scaleX(1); }

/* Desktop: the active card expands to half the row in place. The other cards
   keep their size and slide aside (js/main.js sets --shift and .is-out). */
@media (min-width: 1101px) and (hover: hover) {
  .packages {
    --gap: 1.25rem;
    --pkg-ease: cubic-bezier(0.65, 0, 0.35, 1); /* ease-in-out */
    display: flex;
    gap: var(--gap);
    transform: translateX(var(--shift, 0px));
    transition: transform 0.6s var(--pkg-ease);
  }
  .packages .package {
    flex: 0 0 calc((100% - 4 * var(--gap)) / 5);
    min-width: 0;
  }
  .packages .package.reveal.is-visible {
    transition: flex-basis 0.6s var(--pkg-ease), opacity 0.4s var(--pkg-ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  }
  .packages .package.is-active {
    flex-basis: 50%;
    border-color: rgba(201, 166, 107, 0.6);
    box-shadow: var(--shadow);
  }
  .packages .package.is-active::after { transform: scaleX(1); }
  .packages .package.is-out { opacity: 0; pointer-events: none; }
}

.package-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.package-for {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
  min-height: 4.4em;
}
.package-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.package-meta svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; }
.package-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 1.1rem 0 1.6rem;
  flex: 1;
}
.package-price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.package-price-text { font-size: 1.6rem; }
.package-cta { width: 100%; padding-inline: 1rem; }

.package-featured {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(201, 166, 107, 0.22), transparent 65%),
    var(--ink);
  border-color: rgba(201, 166, 107, 0.45);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}
.package-featured .package-name,
.package-featured .package-price { color: var(--white); }
.package-featured .package-for { color: rgba(255, 255, 255, 0.85); }
.package-featured .package-meta { color: rgba(255, 255, 255, 0.6); border-color: var(--line-dark); }
.package-featured .package-price small { color: rgba(255, 255, 255, 0.55); }
.package-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  translate: -50% 0;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Original card stays in the grid as an invisible placeholder while focused */
/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(40% 120% at 0% 50%, rgba(201, 166, 107, 0.25), transparent 70%),
    radial-gradient(40% 120% at 100% 50%, rgba(201, 166, 107, 0.15), transparent 70%),
    var(--ink);
  color: var(--white);
  padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.15;
}

/* ---------- Testimonials ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 1.2rem;
}
.rating svg { width: 22px; height: 22px; fill: var(--gold); }
.star-half { position: relative; display: inline-block; width: 22px; height: 22px; }
.star-half svg { position: absolute; inset: 0; fill: rgba(201, 166, 107, 0.25); }
.star-half::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.8l2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3-4.6-4.5 6.4-.9z'/></svg>") left / 22px 22px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.8l2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3-4.6-4.5 6.4-.9z'/></svg>") left / 22px 22px no-repeat;
}
.rating-text { margin-left: 0.6rem; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.04em; }

.carousel { --per-view: 3; position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); touch-action: pan-y; padding-block: 10px 28px; }
.carousel-track {
  display: flex;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.carousel-track.is-dragging { transition: none; }
.slide {
  flex: 0 0 calc(100% / var(--per-view));
  padding: 0 0.6rem;
  display: flex;
}
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  width: 100%;
  margin: 0;
  padding: 2.6rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  user-select: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 166, 107, 0.6);
}
.review-card:hover::before { opacity: 1; }
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
}
.review-card blockquote { margin: 0; }
.review-card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  overflow-wrap: anywhere;
}
.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.review-card figcaption strong { font-weight: 600; color: var(--ink); }
.review-card figcaption span { font-size: 0.88rem; color: var(--muted); letter-spacing: 0.03em; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover { background: var(--ink); color: var(--gold-3); border-color: var(--ink); transform: scale(1.06); }
.carousel-dots { display: flex; gap: 0.4rem; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 39, 32, 0.2);
  transition: width 0.4s var(--ease), background-color 0.4s var(--ease);
}
.carousel-dots button[aria-current="true"] { width: 26px; background: var(--gold); }
.carousel-count { font-size: 0.9rem; color: var(--muted); min-width: 4.5ch; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Services page ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(201, 166, 107, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 166, 107, 0.5); }
.service-card:hover::before { opacity: 1; }
.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 1.4rem 0 0.7rem;
}
.service-card p { color: var(--muted); font-size: 0.98rem; position: relative; }
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--ivory-2);
  color: var(--gold-2);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--ink); color: var(--gold-3); transform: rotate(-6deg); }
.service-card-signature { border-color: rgba(201, 166, 107, 0.55); background: linear-gradient(180deg, #fffaf0, var(--white)); }

.section-dark .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-dark);
}
.section-dark .service-card h3 { color: var(--white); }
.section-dark .service-card p { color: rgba(255, 255, 255, 0.62); }
.section-dark .service-icon { background: rgba(201, 166, 107, 0.12); color: var(--gold); }
.section-dark .service-card:hover { border-color: rgba(201, 166, 107, 0.5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.section-dark .service-card:hover .service-icon { background: var(--gold-grad); color: var(--ink); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 1.25rem 0 1rem;
}
.feature-card p { color: var(--muted); }
.feature-card-dark {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(201, 166, 107, 0.22), transparent 65%),
    var(--ink);
  border-color: transparent;
}
.feature-card-dark h3 { color: var(--white); }
.feature-card-dark p { color: rgba(255, 255, 255, 0.68); }
.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 166, 107, 0.6);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.feature-card-dark .tag { color: var(--gold-3); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  /* connecting line */
  content: "";
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  opacity: 0.6;
}
.step { text-align: center; position: relative; padding: 0 0.5rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-2);
  position: relative;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover .step-num { background: var(--ink); color: var(--gold-3); transform: scale(1.08); }
.step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #090807;
  color: rgba(255, 255, 255, 0.62);
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 96px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 300px; font-size: 0.95rem; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
}
.footer-links a { font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--gold-3); }
.social-footer { color: var(--white); align-self: start; }
.footer-bottom { padding: 1.5rem 0 2rem; font-size: 0.85rem; text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* once revealed, packages use their own (faster) hover transitions */
.package.reveal.is-visible { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.9s var(--ease); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .packages { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { --per-view: 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .overview-grid,
  .section-head.split,
  .paths,
  .feature-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .overview-head { position: static; }
  .packages { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .somatic { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.5rem; }
  .somatic-mark { width: 90px; height: 90px; }
  .cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-inner { gap: 0.5rem; }
  .social { display: none; }
  .social-footer { display: flex; }
  .brand img { height: 58px; }
  .is-scrolled .brand img { height: 52px; }
  .packages,
  .service-grid,
  .steps { grid-template-columns: 1fr; }
  .package-for { min-height: 0; }
  .carousel { --per-view: 1; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-page .hero-actions .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   Shared additions for the inner pages
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.prose { display: grid; gap: 1.15rem; color: var(--muted); }
.prose .lead { color: var(--text); }

/* Forms */
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.field .req { color: var(--gold-2); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(43, 39, 32, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold-2); border-radius: var(--radius-sm); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b3382c; box-shadow: 0 0 0 3px rgba(179, 56, 44, 0.12); }
.field-error { font-size: 0.88rem; color: #b3382c; }
.field-error:empty { display: none; }
.form-status { margin-top: 1.1rem; font-size: 0.98rem; }
.form-status:empty { display: none; }
.form-status.is-success {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(201, 166, 107, 0.16);
  border: 1px solid rgba(201, 166, 107, 0.5);
  color: var(--ink);
}

/* ---------- About page ---------- */
.about-founder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5.5rem);
  align-items: start;
}
.founder-photo { position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
.founder-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) + 8px);
  z-index: 0;
}
.founder-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg);
}
.founder-badge {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 12, 10, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.founder-badge strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; }
.founder-badge span { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-3); }
.founder-copy .section-title { margin-bottom: 1.75rem; }

.quote-card {
  position: relative;
  margin: 0 0 2rem;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(201, 166, 107, 0.22), transparent 65%),
    var(--ink);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
}
.quote-card p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.7; position: relative; }
.quote-mark { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1rem; }

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
.about-split-copy .section-title { margin-bottom: 1.5rem; }
.outlook { position: relative; padding-bottom: 3rem; }
.outlook img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}
.outlook-card {
  position: relative;
  margin: -3rem 1.25rem 0;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.outlook-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.9rem; }
.check-list { display: grid; gap: 0.9rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; color: var(--muted); font-size: 0.98rem; }
.check-list svg { width: 22px; height: 22px; color: var(--gold-2); margin-top: 0.15rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.pillar {
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(201, 166, 107, 0.5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.pillar .service-icon { background: rgba(201, 166, 107, 0.12); color: var(--gold); }
.pillar h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; color: var(--white); margin: 1.2rem 0 0.7rem; }
.pillar p { color: rgba(255, 255, 255, 0.7); }
.pillar-vision p { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; color: var(--white); }
.pillar-goal { grid-column: 1 / -1; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 2.5rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.stat {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 2.2rem + 4vw, 5rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { display: block; margin-top: 0.8rem; color: var(--muted); }
.sources { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.5rem; margin: 2.25rem 0 1.75rem; }
.sources li { padding: 0.6rem 1.1rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.sources img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.stats-outro { text-align: center; max-width: 760px; margin-inline: auto; color: var(--muted); }

.pullquote { margin: 0; text-align: center; }
.pullquote-mark { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 1.25rem; }
.pullquote blockquote { margin: 0; }
.pullquote p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pullquote figcaption { margin-top: 1.5rem; font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-2); }
.join .section-sub { margin-inline: auto; }
.join-note { margin: 1.5rem auto 0; max-width: 560px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--white); }
.join .hero-actions { margin-top: 2rem; }

/* ---------- Terms page ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ivory);
  border: 1px solid var(--line);
}
.toc-title { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 0.9rem; }
.toc ol { display: grid; gap: 0.1rem; }
.toc a {
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.toc a span { color: var(--gold-2); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); background: rgba(201, 166, 107, 0.12); }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 500; background: rgba(201, 166, 107, 0.2); border-left-color: var(--gold); }
.legal-section { padding: 0 0 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.legal-num { font-size: 0.9rem; letter-spacing: 0.18em; color: var(--gold-2); }
.clauses { display: grid; gap: 1rem; }
.clauses li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.5rem; }
.clause-num { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--gold-2); }
.clauses p { color: var(--text); max-width: 68ch; }
.clauses a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.clauses a:hover { color: var(--ink); }
.legal-closing {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-serif);
  border-left: 3px solid var(--gold);
}

/* ---------- Logo story page ---------- */
.logo-hero { min-height: 70vh; }
.logo-hero-img {
  width: min(360px, 70vw);
  height: auto;
  margin: 0 auto 2rem;
}
.story { width: min(720px, 100% - 2.5rem); }
.story p { font-size: 1.12rem; line-height: 1.85; color: var(--text); margin-bottom: 1.5rem; }
.story h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 3.25rem 0 1.25rem;
}
.story h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--gold-grad); margin-top: 1rem; }
.story .story-intro { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.7; }
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.6em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold-2);
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.blog-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; }
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.9s var(--ease);
}
.blog-card:hover, .blog-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 166, 107, 0.5); }
.blog-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-3); }
/* newest article: full-width card, artwork beside the text */
.blog-card-featured { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .blog-card-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .blog-card-featured .blog-media { aspect-ratio: auto; min-height: 340px; }
  .blog-card-featured .blog-body { justify-content: center; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
  .blog-card-featured .blog-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
}
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-media img, .blog-card:focus-within .blog-media img { transform: scale(1.07); }
.blog-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.read-time { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.read-time svg { width: 16px; height: 16px; color: var(--gold-2); }
.blog-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.3; color: var(--ink); }
.blog-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.blog-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.blog-card:hover .btn-icon { transform: translateX(4px); }

.subscribe { text-align: center; }
.subscribe .section-sub { margin-inline: auto; }
.subscribe-form { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 1rem; margin-top: 2rem; text-align: left; }
.subscribe-form .field { flex: 1 1 280px; }
.subscribe-form .field label { color: var(--gold-3); }
.subscribe-form .btn { white-space: normal; }
.subscribe .field-error { color: #f1a39a; }
.subscribe .form-status.is-success { color: var(--white); }

/* Article pages */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 55; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.article-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(78vh, 700px);
  padding: calc(var(--header-h) + 4rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.article-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.55) 0%, rgba(10, 9, 7, 0.55) 35%, rgba(10, 9, 7, 0.92) 100%);
}
.article-hero-inner { max-width: 880px; display: grid; gap: 1.25rem; justify-items: start; margin-left: max(1.25rem, calc((100% - 1200px) / 2)); }
.article-hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.1; letter-spacing: -0.02em; }
.article-hero .read-time { color: rgba(255, 255, 255, 0.78); }
.article-hero .tag { color: var(--gold-3); border-color: rgba(230, 207, 159, 0.6); }
.article-by { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); }
.back-link { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); transition: color 0.3s var(--ease); }
.back-link svg { width: 18px; height: 18px; transform: scaleX(-1); }
.back-link:hover { color: var(--gold-3); }
.article-section { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.article { width: min(720px, 100% - 2.5rem); }
.article p { font-size: 1.12rem; line-height: 1.85; color: var(--text); margin-bottom: 1.4rem; }
.article .lead { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem); line-height: 1.7; color: var(--ink); padding-bottom: 1.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.article h2 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 2.75rem 0 1rem;
}
.h-num { font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.18em; color: var(--gold-2); }
.article h2#conclusion { padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
.contact-card {
  padding: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(201, 166, 107, 0.2), transparent 65%),
    var(--ink);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}
.contact-card h2, .form-card h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1.5rem; }
.contact-card h2 { color: var(--white); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(201, 166, 107, 0.14); color: var(--gold); }
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.contact-list a { color: var(--white); overflow-wrap: anywhere; transition: color 0.3s var(--ease); }
.contact-list a:hover { color: var(--gold-3); }
.contact-sub { margin: 2.25rem 0 1rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.social-contact { justify-self: start; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.75rem 0.9rem; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line-dark); }
.hours td { text-align: right; color: rgba(255, 255, 255, 0.7); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today { background: rgba(201, 166, 107, 0.16); }
.hours tr.is-today th { color: var(--gold-3); font-weight: 500; box-shadow: inset 3px 0 0 var(--gold); }
.hours tr.is-today td { color: var(--white); }
.hours .today-badge { margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--gold-grad); color: var(--ink); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; vertical-align: 0.1em; }
.form-card {
  padding: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h2 { color: var(--ink); }
.contact-form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--gold-2); }
.select { position: relative; }
.select::after {
  /* gold chevron */
  content: "";
  position: absolute;
  inset-inline-end: 1.1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-inline-end: 2.75rem;
}
.field select:invalid,
.field select:has(option[value=""]:checked) { color: var(--muted); }
.contact-form .btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }
.contact-form .btn { justify-self: start; }

/* ---------- Booking dialog ---------- */
.book-dialog {
  width: min(640px, 100% - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.book-dialog::backdrop {
  background: rgba(10, 9, 7, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.book-dialog[open] { animation: bookIn 0.45s var(--ease); }
@keyframes bookIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
html:has(.book-dialog[open]) { overflow: hidden; }
.book-panel { position: relative; padding: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.book-panel::before {
  /* gold accent along the top edge */
  content: "";
  position: absolute;
  inset: 0 2.5rem auto;
  height: 3px;
  background: var(--gold-grad);
  border-radius: 0 0 3px 3px;
}
.book-panel h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--ink); margin-bottom: 0.5rem; }
.book-sub { color: var(--muted); margin-bottom: 1.75rem; }
.book-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.book-close:hover { border-color: var(--gold); color: var(--gold-2); }
.book-close svg { width: 18px; height: 18px; }
.book-dialog.is-sent form,
.book-dialog.is-sent .book-sub { display: none; }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid-2 { max-width: none; }
}
@media (max-width: 860px) {
  .about-founder, .about-split, .legal-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-photo { position: relative; top: auto; width: min(440px, 100% - 1.25rem); margin-inline: 0 auto; }
  .pillars, .stats { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .blog-grid, .blog-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .clauses li { grid-template-columns: 2.9rem minmax(0, 1fr); }
  .outlook-card { margin-inline: 0.5rem; padding: 1.4rem 1.25rem; }
  .article-hero { min-height: 0; }
  .article-hero-inner { margin-inline: 1.25rem; }
  .hours th, .hours td { padding-inline: 0.5rem; }
  .contact-form .btn { justify-self: stretch; }
  .field-row { grid-template-columns: 1fr; }
  .join .hero-actions .btn { width: 100%; white-space: normal; }
}

/* Footer social icons: .social forces grid-column 3, which overflowed the single-column footer on small screens */
@media (max-width: 860px) {
  .footer-grid .social-footer { grid-column: auto; grid-row: auto; justify-self: start; }
}

/* ---------- Language switcher & RTL ---------- */
.header-end {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switch {
  display: inline-flex;
  direction: ltr;
  padding: 3px;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.lang-switch button {
  min-width: 34px;
  padding: 0.28rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-switch button:hover { color: var(--gold-3); }
.lang-switch button[aria-pressed="true"] { background: var(--gold-grad); color: var(--ink); }
.lang-switch button:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 2px; }

@media (max-width: 600px) {
  .header-end .lang-switch { padding: 2px; }
  .lang-switch button { min-width: 28px; padding: 0.25rem 0.4rem; font-size: 0.68rem; letter-spacing: 0.04em; }
}
@media (max-width: 400px) {
  .lang-switch button { min-width: 24px; padding: 0.25rem 0.3rem; font-size: 0.64rem; letter-spacing: 0; }
}

/* Arabic typography: Tajawal, no tracking / uppercase (breaks the script) */
html[lang="ar"] {
  --font-serif: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-sans: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 { line-height: 1.35; }
html[lang="ar"] *,
html[lang="ar"] *::before,
html[lang="ar"] *::after {
  letter-spacing: normal !important;
  text-transform: none !important;
}
html[lang="ar"] .lang-switch button[data-lang="en"],
html[lang="ar"] .lang-switch button[data-lang="sv"] { letter-spacing: 0.04em !important; }
html[lang="ar"] .drop-cap::first-letter { font-size: inherit; line-height: inherit; float: none; padding: 0; }

/* Right-to-left layout */
[dir="rtl"] .site-nav {
  inset: 0 0 0 auto;
  border-right: 0;
  border-left: 1px solid var(--line-dark);
  transform: translateX(102%);
}
[dir="rtl"] .site-nav.is-open { transform: translateX(0); }
[dir="rtl"] .site-nav a { transform: translateX(16px); }
[dir="rtl"] .site-nav.is-open a { transform: none; }
[dir="rtl"] .site-nav a:hover { padding-left: 0; padding-right: 0.5rem; }
[dir="rtl"] .site-nav a[aria-current="page"]::after { margin-left: 0; margin-right: auto; }

[dir="rtl"] .btn-icon { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-icon,
[dir="rtl"] .blog-card:hover .btn-icon { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .back-link svg { transform: none; }

[dir="rtl"] .package::after { transform-origin: right; }
[dir="rtl"] .founder-photo::before { inset: 1.25rem 1.25rem -1.25rem -1.25rem; }
[dir="rtl"] .founder-badge { left: auto; right: 1.25rem; }
[dir="rtl"] .drop-cap::first-letter { float: right; padding: 0.08em 0 0 0.12em; }
[dir="rtl"] .subscribe-form { text-align: right; }
[dir="rtl"] .read-progress span { transform-origin: right; }
[dir="rtl"] .article-hero-inner { margin-left: 0; margin-right: max(1.25rem, calc((100% - 1200px) / 2)); }

[dir="rtl"] .toc a { border-left: 0; border-right: 2px solid transparent; }
[dir="rtl"] .toc a[aria-current="true"] { border-right-color: var(--gold); }
[dir="rtl"] .legal-closing { border-left: 0; border-right: 3px solid var(--gold); }

[dir="rtl"] .hours th { text-align: right; }
[dir="rtl"] .hours td { text-align: left; }
[dir="rtl"] .hours tr.is-today th { box-shadow: inset -3px 0 0 var(--gold); }
[dir="rtl"] .hours .today-badge { margin-left: 0; margin-right: 0.5rem; }

/* Keep these left-to-right: star order, carousel motion (translateX math), contact data */
[dir="rtl"] .rating { direction: ltr; }
[dir="rtl"] .rating-text { direction: rtl; }
[dir="rtl"] .carousel { direction: ltr; }
[dir="rtl"] .review-card { direction: rtl; }
[dir="rtl"] .path-body::before { transform-origin: right; }
[dir="rtl"] .carousel-controls { direction: ltr; }
[dir="rtl"] input[type="email"],
[dir="rtl"] .contact-list a[href^="mailto:"],
[dir="rtl"] .contact-list a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="email"] { text-align: right; }
