/* =====================================================================
   VAMIKA BUILDERS — DIGITAL CORPORATE WEBSITE v3
   ---------------------------------------------------------------------
   Brand-verified palette:
     #08190E  Exclusive Green   — primary brand canvas
     #D4B163  Golden            — brand accent / metallic seal
     #E7DBC1  Himalayan Sand    — cream contrast / paper
     #5A7C5B  Moss              — supporting tone
   Type: Montserrat (per brand guideline — weights 300/400/500/900)
   Architecture: Vamika is the parent. Every project — Vilasa, Kasauli
   Greens, Trillium, Magnum, Royal Apartments — inherits the trust seal.
   Voice: restrained confidence (Pixalane bible).
   ===================================================================== */

:root {
  /* =========================================================
     COLOUR SYSTEM — wired to brand.css tokens.
     Brand source of truth: assets/css/brand.css
     ========================================================= */

  /* Primary green ramp (resolves to brand-primary #08190E) */
  --color-primary:        var(--brand-primary);          /* brand primary */
  --color-primary-1:      var(--brand-primary);          /* canvas */
  --color-primary-2:      var(--brand-primary-soft);     /* surface */
  --color-primary-3:      #1B3722;                       /* surface raised */
  --color-primary-4:      #244A30;                       /* surface highest */
  --color-moss:           var(--brand-moss);

  /* Accent ramp (brand yellow #FACB3F) */
  --color-accent:         var(--brand-accent);
  --color-accent-bright:  var(--brand-accent-bright);
  --color-accent-deep:    var(--brand-accent-deep);

  /* Cream / surfaces on light — v3 favours a white-dominant palette.
     The canvas/sand surface tokens point to the lightest cream-bone variant,
     so .cream sections feel like a whisper of warmth on a near-white page.
     --brand-cream itself is reserved for HERO photo-overlay text and for
     accent moments that genuinely want stronger warmth (tile cards on cream). */
  --color-sand:           var(--brand-cream-bone);
  --color-sand-warm:      var(--brand-cream-warm);
  --color-bone:           var(--brand-cream-bone);
  --color-canvas-light:   var(--brand-cream-bone);
  --color-canvas-warm:    var(--brand-cream-warm);

  /* Text colours (proxies to brand.css text tokens) */
  --color-text-light:           var(--brand-text-light);
  --color-text-light-muted:     var(--brand-text-light-muted);
  --color-text-light-faint:     var(--brand-text-light-faint);
  --color-text-dark:            var(--brand-text-dark);
  --color-text-dark-muted:      var(--brand-text-dark-muted);
  --color-text-dark-faint:      var(--brand-text-dark-faint);

  /* Rules / borders */
  --color-rule-light:           var(--brand-rule-light);
  --color-rule-light-strong:    var(--brand-rule-light-strong);
  --color-rule-dark:            var(--brand-rule-dark);
  --color-rule-dark-strong:     var(--brand-rule-dark-strong);

  /* ---------- LEGACY ALIASES (v3 light theme — text-friendly defaults) ----------
     v3 swaps the semantic of --green-deep: in v2 it was the dark canvas color
     (used as bg + dark text). In v3 the canvas is light, so --green-deep is
     remapped to --brand-ink (dark ink) for all the text/border rules that
     reference it. Source rules that used it as a *background* have been
     migrated to --brand-primary (light) directly. */
  --green-deep: var(--brand-ink);
  --green: var(--color-primary-2);
  --green-mid: var(--color-primary-3);
  --green-soft: var(--color-primary-4);
  --moss: var(--color-moss);
  --gold: var(--color-accent);
  --gold-bright: var(--color-accent-bright);
  --gold-deep: var(--brand-accent-deep);
  --sand: var(--color-sand);
  --sand-warm: var(--color-sand-warm);
  --bone: var(--color-bone);
  --charcoal: #1A1F1A;
  --rule: var(--brand-rule-light);
  --rule-strong: var(--brand-rule-light-strong);
  --canvas: var(--color-canvas-light);
  --canvas-warm: var(--color-canvas-warm);
  --rule-dark: var(--color-rule-dark);
  --rule-dark-strong: var(--color-rule-dark-strong);

  /* =========================================================
     SPACING SCALE — single rhythm across the entire site
     Steps: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 120 / 160
     ========================================================= */
  --space-3xs:  4px;
  --space-2xs:  8px;
  --space-xs:  12px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 120px;
  --space-5xl: 160px;

  /* Section vertical padding — three steps so sections have real rhythm.
     Tight: CTA strips, sub-sections. Default: standard. Spacious: heroes / origins.
     v3: tightened ~50% from v2 — user feedback the layout had too much breathing room. */
  --section-padding-y:          clamp(32px, 3vw, 52px);
  --section-padding-y-tight:    clamp(20px, 2vw, 32px);
  --section-padding-y-spacious: clamp(48px, 4.5vw, 76px);
  --section-padding:            var(--section-padding-y) 0;
  --section-padding-tight:      var(--section-padding-y-tight) 0;
  --section-padding-spacious:   var(--section-padding-y-spacious) 0;

  /* Card padding — single token for every card across the site
     (verticals, promise, beyond-the-build, etc.) — v3 tightened. */
  --card-padding:               clamp(20px, 2.2vw, 32px);

  /* =========================================================
     TYPOGRAPHY SCALE
     Body uses rem (html font-size: 100% = 16px)
     Display headings use fluid clamp()
     ========================================================= */
  /* Typography — Montserrat only (per brand guideline).
     --display retained as alias so existing rules keep working. */
  --display: var(--brand-font);
  --body:    var(--brand-font);

  --text-xs:   0.6875rem;   /* 11px — labels, eyebrows */
  --text-sm:   0.8125rem;   /* 13px — captions */
  --text-base: 1rem;        /* 16px — default body */
  --text-md:   1.0625rem;   /* 17px — comfortable body */
  --text-lg:   1.1875rem;   /* 19px — large body / lead */
  --text-xl:   1.375rem;    /* 22px */
  --text-2xl:  1.75rem;     /* 28px */
  --text-3xl:  clamp(1.75rem, 3vw, 2.5rem);
  --text-4xl:  clamp(2.25rem, 4vw, 3.5rem);
  --text-5xl:  clamp(2.75rem, 5vw, 4.5rem);
  --text-6xl:  clamp(3rem, 6vw, 5rem);

  --leading-tight: 1.15;
  --leading-snug:  1.35;
  --leading-base:  1.6;
  --leading-loose: 1.7;

  --tracking-tight: -0.018em;
  --tracking-base:  0.005em;
  --tracking-wide:  0.18em;
  --tracking-wider: 0.32em;

  /* Layout */
  --pad-x: clamp(24px, 5vw, 72px);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* Motion */
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.3s;
  --duration-slow: 0.5s;
}

/* Root font-size base — 1rem = 16px */
html { font-size: 100%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

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

body {
  background: var(--color-primary-1);
  color: var(--color-text-light);
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  letter-spacing: var(--tracking-base);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--gold); color: var(--green-deep); }

/* ---------- TYPE PRIMITIVES ---------- */
.serif { font-family: var(--display); }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.h2 .it { color: var(--brand-ink-soft); font-weight: 400; }
.cream .h2 .it { color: var(--brand-ink-soft); }
/* Soft italic — same italic accent as .it but without gold (use when too many gold accents on a page) */
.it-soft { font-weight: inherit; color: inherit; }

/* ===== Cream section variant — applies cream bg + dark text universally ===== */
section.cream,
.cream { background: var(--canvas) !important; color: var(--green-deep); }
section.cream h1, section.cream h2, section.cream h3, section.cream h4, section.cream h5, section.cream h6,
.cream h1, .cream h2, .cream h3, .cream h4, .cream h5, .cream h6 { color: var(--green-deep) !important; }
section.cream p, section.cream li,
.cream p, .cream li { color: rgba(8,25,14,0.86) !important; }
.cream .it { color: var(--brand-ink-soft); }
.cream .it-soft { color: rgba(8,25,14,0.65); }
.cream .chapter, .cream .chapter span { color: var(--brand-ink-soft); }
.cream .chapter-num { color: var(--brand-ink-soft); }
.cream .chapter-rule { background: var(--brand-ink-soft); }
.cream .eyebrow { color: var(--brand-ink-soft); }
.cream a { color: inherit; }
/* .cream variant uses the unified .btn-primary / .btn-ghost system above — no overrides needed */
/* Section vertical rhythm — every cream section uses the standard token.
   When two cream sections stack adjacent, the second gets a slightly tighter
   top padding (rather than 0) so there's still breathing room between heads
   but not a doubled gap. */
section.cream { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
section.cream + section.cream { padding-top: var(--section-padding-y-tight); }
.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brand-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--brand-ink-soft);
  display: inline-block;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.dark { color: var(--brand-ink-soft); }
.eyebrow.dark::before { background: var(--brand-ink-soft); }

.label {
  font-family: var(--body);
  font-weight: 400;
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.body-l {
  font-size: var(--text-md);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(14, 14, 14, 0.78);
}

.gold { color: var(--gold-deep) !important; }
.gold-deep { color: var(--gold-deep) !important; }
.it { font-weight: 400; color: var(--brand-ink-soft); }
.dark .it { color: var(--brand-ink-soft); }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-tight { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-reading { max-width: 820px; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-wide { max-width: 1600px; margin: 0 auto; padding: 0 var(--pad-x); }

/* Utility section classes — replace common inline section patterns */
/* .section-dark* — true dark-green editorial bands, retained from v2 semantic naming.
   Used on journal article pages as image-strip / pull-quote / closing sections. */
.section-dark { background: #08190E; color: var(--brand-cream); padding: var(--section-padding); }
.section-dark-tall { background: #08190E; color: var(--brand-cream); padding: var(--section-padding); }
.section-dark-taller { background: #08190E; color: var(--brand-cream); padding: var(--section-padding-spacious); }
.section-sand-tall { background: var(--sand); color: var(--brand-ink); padding: var(--section-padding); }
.section-dark a { color: var(--gold); }
.section-dark a:hover { color: var(--gold-bright); }
.section-dark .chapter, .section-dark .chapter span,
.section-dark-tall .chapter, .section-dark-tall .chapter span,
.section-dark-taller .chapter, .section-dark-taller .chapter span { color: var(--gold); }
.section-dark .chapter-rule, .section-dark-tall .chapter-rule, .section-dark-taller .chapter-rule { background: var(--gold); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark-tall h1, .section-dark-tall h2, .section-dark-tall h3,
.section-dark-taller h1, .section-dark-taller h2, .section-dark-taller h3 { color: var(--brand-cream); }
.section-dark .it, .section-dark-tall .it, .section-dark-taller .it { color: var(--brand-accent); }
.section-dark p, .section-dark-tall p, .section-dark-taller p { color: rgba(244, 236, 217, 0.78); }

/* Utility link style */
.link-gold-underline { color: var(--gold-deep); text-decoration: underline; }
.cream .link-gold-underline, .section-sand-tall .link-gold-underline { color: var(--gold-deep); }

/* ---------- LOGO SYSTEM ---------- */
/* Nav: mark only (logo-mark-light.png is the building+leaves icon, no wordmark, no tagline) */
.nav .vamika-logo img,
.loader .vamika-logo img {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: invert(1);
  transition: height 0.4s ease;
}

.nav.scrolled .vamika-logo img { height: 50px; }
.loader .vamika-logo.lg img { height: 96px; }
.nav .vamika-logo:hover img { opacity: 0.9; transition: opacity 0.3s ease; }

/* Footer brand column: clip bottom 5% of source */
.footer-brand .vamika-logo img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  /* clip-path: inset(0 0 5% 0); */
  margin-bottom: -2%;
}


/* Legacy generic */
.vamika-logo { display: inline-flex; align-items: center; }
.vamika-mark { width: 30px; height: 30px; flex-shrink: 0; }

/* Custom cursor removed — OS default cursor site-wide */
body { cursor: auto; }
a, button, [role="button"], .tile, summary, .nav-cta, .btn { cursor: pointer; }

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 100;
  /* Inner content (links + logo) aligns with the body .wrap (max-width 1480px
     + pad-x). On viewports wider than 1480, padding-inline grows to keep
     content edges in sync with body. */
  padding: 12px max(var(--pad-x), calc(50vw - 740px + var(--pad-x)));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.4s ease;
}
.nav.scrolled {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(8, 25, 14, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(250, 203, 63, 0.18);
}
/* Logo absolutely centered — independent of left/right link widths */
.nav > .vamika-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  gap:10px;
}

 .nav > .vamika-logo span{
      font-family: var(--body);
    font-size: 18px;
    font-weight: 500;
}

.nav-left, .nav-right {
  display: flex; align-items: center; gap: 30px;
}
.nav-right { justify-content: flex-end; }

.nav-link {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.nav.scrolled .nav-link { color: #fff; }
.nav-link:hover { color: var(--gold-deep); }
.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav-link:hover::after { width: 100%; }


.nav-cta {
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-cream);
  background: #2A4D38;
  border: 1px solid #2A4D38;
  padding: 12px 22px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #3B6649; border-color: #3B6649; }

/* Tablet: hide secondary links, keep CTA */
@media (max-width: 1100px) {
  .nav-left .nav-link:nth-child(n+4) { display: none; }
  .nav-right .nav-link { display: none; }
}

/* Mobile: kill all nav links + CTA, logo only */
/* Tablet narrowing — tighten gaps + hide secondary links so they don't collide with centered logo */
@media (max-width: 1180px) {
  .nav-left, .nav-right { gap: 18px; }
  .nav-link { font-size: 10.5px; letter-spacing: 0.16em; }
}
@media (max-width: 1024px) {
  .nav-left a:nth-child(n+4),
  .nav-right a:nth-child(-n+2) { display: none; }
  .nav .vamika-logo img { height: 44px; }
}
.nav-mobile-toggle { display: none; }
@media (max-width: 768px) {
  .nav {
    justify-content: space-between;
    padding: 14px var(--pad-x);
  }
  .nav-left,
  .nav-right { display: none; }
  .nav > .vamika-logo {
    position: static;
    transform: none;
  }
  .nav-mobile-toggle { display: inline-flex !important; }
}
.nav-mobile-toggle button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-mobile-toggle button:hover,
.nav-mobile-toggle button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.nav-mobile-toggle button svg,
.nav-mobile-toggle button [data-lucide] {
  width: 22px !important;
  height: 22px !important;
  color: #fff !important;
  stroke: currentColor !important;
  stroke-width: 2;
}
.nav.scrolled .nav-mobile-toggle button svg,
.nav.scrolled .nav-mobile-toggle button{
color: #fff !important;
}

.nav.scrolled .nav-mobile-toggle button{
border: 1px solid #fff;
}

.nav-mobile-panel {
  display: none;
  position: fixed; inset: 60px 0 0 0;
  background: var(--brand-primary);
  z-index: 99;
  flex-direction: column;
  padding: 32px var(--pad-x);
  gap: 18px;
}
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a {
  font-family: var(--body);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-ink);
  padding: 10px 0;
  border-bottom: 1px solid rgba(14, 14, 14, 0.12);
}

/* ============================================================
   BUTTONS — context-aware via CSS custom properties.
   Two variants: .btn-primary (filled) + .btn-ghost (outlined).
   On dark-green section parents the local tokens redefine themselves,
   so the same button class auto-inverts. No overrides, no duplicate rules.
   ============================================================ */
:root {
  /* Default tokens — light sections (white/cream surfaces).
     Button green is a richer mid-dark forest, NOT the near-black #08190E.
     The brand canvas green stays #08190E for sections, but buttons need a
     more visibly green shade so they don't read as black on cream. */
  --btn-bg:           #2A4D38;
  --btn-text:         var(--brand-cream);
  --btn-border:       #2A4D38;
  --btn-bg-hover:     #3B6649;
  --btn-text-hover:   var(--brand-cream);
  --btn-border-hover: #3B6649;

  --btn-ghost-bg:           transparent;
  --btn-ghost-text:         #2A4D38;
  --btn-ghost-border:       #2A4D38;
  --btn-ghost-bg-hover:     #2A4D38;
  --btn-ghost-text-hover:   var(--brand-cream);
  --btn-ghost-border-hover: #2A4D38;
}

/* Dark-green section scopes — redefine the same tokens, no rule duplication */
.section-dark,
.section-dark-tall,
.section-dark-taller,
.footer {
  --btn-bg:           var(--brand-accent);
  --btn-text:         var(--brand-ink);
  --btn-border:       var(--brand-accent);
  --btn-bg-hover:     var(--brand-accent-bright);
  --btn-text-hover:   var(--brand-ink);
  --btn-border-hover: var(--brand-accent-bright);

  --btn-ghost-bg:           transparent;
  --btn-ghost-text:         var(--brand-cream);
  --btn-ghost-border:       rgba(244, 236, 217, 0.55);
  --btn-ghost-bg-hover:     var(--brand-cream);
  --btn-ghost-text-hover:   var(--brand-ink);
  --btn-ghost-border-hover: var(--brand-cream);
}

.btn {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text) !important;
  border-color: var(--btn-border);
}
.btn-primary:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-text-hover);
  border-color: var(--btn-border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-text);
  border-color: var(--btn-ghost-border);
}
.btn-ghost:hover {
  background: var(--btn-ghost-bg-hover);
  color: var(--btn-ghost-text-hover);
  border-color: var(--btn-ghost-border-hover);
}
.btn .arrow:not([data-lucide]) {
  width: 18px; height: 1px; background: currentColor; position: relative;
}
.btn .arrow:not([data-lucide])::after {
  content: ''; position: absolute; right: 0; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-corners {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
}
.hero-corner {
  position: absolute;
  font-family: var(--body);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.5);
}
.hero-corner.tr { top: 30px; right: var(--pad-x); }
.hero-corner.br {
  bottom: 28px; right: var(--pad-x);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.hero-corner.br .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; gap: 28px; padding: 80px var(--pad-x) 60px; }
  .hero-meta { border-left: none; padding-left: 0; border-top: 1px solid var(--rule-strong); padding-top: 22px; }
  .hero-rail, .hero-corner.tr { display: none; }
  .hero-watermark { font-size: 160px; }
}

/* ============================================================
   ANCHOR WALL — Multi-tenant brand ecosystem grid
   Used on Trillium (and any project with many anchor brands)
   ============================================================ */
.anchor-wall {
  background: var(--cream, #f7f3ea);
  padding: 96px 48px;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(201, 164, 107, 0.22);
  border-bottom: 1px solid rgba(201, 164, 107, 0.22);
}
.anchor-wall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold-deep, #c9a84c);
  opacity: 0.6;
}
.anchor-wall-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.anchor-wall-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep, #c9a84c);
  margin-bottom: 18px;
  font-weight: 500;
}
.anchor-wall-title {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  color: var(--green-deep, #1a2e1e);
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.anchor-wall-title em {
  font-style: italic;
  color: var(--brand-ink-soft) !important;
  font-weight: 400;
}
.anchor-wall-lede {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(8, 25, 14, 0.65);
  max-width: 620px;
  margin: 0 auto 56px;
}
.anchor-wall-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}
.anchor-wall-grid .anchor-wall-brand {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 240px;
}
.anchor-wall-brand {
  background: #fff;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border: 1px solid rgba(8, 25, 14, 0.06);
  transition: border-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.anchor-wall-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--gold-deep, #c9a84c);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}
.anchor-wall-brand:hover {
  border-color: rgba(201, 164, 107, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(8, 25, 14, 0.18);
}
.anchor-wall-brand:hover::before {
  opacity: 1;
  width: 36px;
}
.anchor-wall-brand-name {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: 21px;
  color: var(--green-deep, #1a2e1e);
  letter-spacing: 0.015em;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}
.anchor-wall-brand-logo {
  display: block;
  max-height: 56px;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.anchor-wall-brand:hover .anchor-wall-brand-logo { transform: scale(1.04); }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #08190E;
  border-top: 1px solid rgba(250, 203, 63, 0.18);
  padding: 60px 0 28px;
  color: rgba(244, 236, 217, 0.88);
}
.footer-mast {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: start;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-col-title {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 15px;
  color: rgba(244, 236, 217, 0.72);
  padding: 5px 0;
  font-weight: 300;
  transition: color 0.25s;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--gold); }
.footer-col strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--brand-cream);
  margin-bottom: 4px;
}
.footer-col p + strong { margin-top: 22px; }

.footer-brand .vamika-logo { margin-bottom: 24px; }
.footer-brand p {
  font-size: var(--text-md);
  color: rgba(244, 236, 217, 0.7);
  line-height: 1.7;
  margin-bottom: 0px;
  max-width: 320px;
}
.footer-brand .canon {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--text-md);
  color: var(--gold);
  margin-bottom: 22px;
  line-height: 1.4;
}
.footer-pillars {
  font-family: var(--display);
  font-size: var(--text-md);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  white-space: nowrap;
  line-height: 1.4;
}
.footer-brand-mail {
  display: inline-block;
  font-family: var(--body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.footer-brand-mail:hover { color: var(--gold-bright); }

/* Footer manifesto — replaces oversized footer logo with a single brand-voice line */
.footer-manifesto {
  text-align: center;
  padding: 40px 0 32px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  color: var(--brand-cream);
  letter-spacing: -0.01em;
  display: none;
}
.footer-manifesto .it { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 236, 217, 0.12);
  font-size: var(--text-xs);
  color: rgba(244, 236, 217, 0.45);
  flex-wrap: wrap;
  gap: 16px;
  letter-spacing: 0.05em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 236, 217, 0.5);
}
.footer-legal a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 22px;
  font-size: 10.5px;
  color: rgba(244, 236, 217, 0.42);
  line-height: 1.65;
  max-width: 820px;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .footer-mast { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 568px) {
  .footer-mast { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   ANIMATIONS / REVEALS
   =================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s cubic-bezier(0.2,0,0,1), transform 0.45s cubic-bezier(0.2,0,0,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.04s; }
.reveal.delay-2 { transition-delay: 0.08s; }
.reveal.delay-3 { transition-delay: 0.12s; }
.reveal.delay-4 { transition-delay: 0.16s; }
/* No-JS fallback */
.no-js .reveal { opacity: 1; transform: none; }

/* ===================================================================
   V10 MULTI-PAGE SUPPLEMENTS
   =================================================================== */

/* Active nav state */
.nav-link.active { color: var(--gold-deep); }
.nav-link.active::after { width: 100%; }

/* Page hero — slim banner used at top of inner pages */
/* Hidden SVG defs holder (gradients, symbols) */
.svg-defs { position: absolute; width: 0; height: 0; }

.page-hero {
  position: relative;
  background-color: #08190E;
  background-image: linear-gradient(180deg, rgba(8,25,14,0.55), rgba(8,25,14,0.78)), var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  padding: 110px 0 60px;
  border-bottom: 1px solid var(--rule);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2'/></filter><rect width='220' height='220' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero-inner { max-width: 920px; }
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(54px, 7.5vw, 116px);
  line-height: 1.02;
  margin: 36px 0 44px;
  color: #fff;
  letter-spacing: -0.022em;
}
.page-hero h1 .it { font-weight: 400; }
.page-hero h1 br { line-height: 1.1; }
.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(244, 236, 217, 0.82);
  font-weight: 300;
  max-width: 720px;
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #2a4d38;
  color:#fff;
  border: 1px solid var(--gold);
  padding: 14px 22px 14px 24px;
  text-decoration: none;
  font-family: var(--body);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 8px 32px rgba(8,25,14,0.4);
  max-width: calc(100vw - 48px);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}
.sticky-cta-action {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sticky-cta-action svg {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
  color:var(--gold);
}
.sticky-cta:hover {
  background: #2a4d38;
  border-color:  var(--gold);
  box-shadow: 0 12px 36px rgba(122, 99, 9, 0.22);
}
.sticky-cta:hover .sticky-cta-label,
.sticky-cta:hover .sticky-cta-action { color: #fff; }
.sticky-cta:hover .sticky-cta-action{
  color:var(--brand-accent);
}
.sticky-cta:hover .sticky-cta-action svg { transform: translateX(3px); }
@media (max-width: 568px) {
  .sticky-cta { bottom: 12px; right: 12px; padding: 10px 16px; gap: 10px; }
  .sticky-cta-label { font-size: 9.5px; letter-spacing: 0.18em; }
  .sticky-cta-action { font-size: 10.5px; }
  /* Push body content up so sticky CTA does not cover footer disclaimer */
  body.sticky-cta-visible { padding-bottom: 78px; }
}
/* =====================================================================
   VIEW TRANSITIONS — cross-document (MPA)
   Opt in via <link rel="expect-view-transition"> + meta tag in HTML.
   Subtle gold-tinted fade between pages.
   ===================================================================== */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 480ms;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-fill-mode: both;
  mix-blend-mode: normal;
}
::view-transition-old(root) { animation-name: vamika-fade-out; }
::view-transition-new(root) { animation-name: vamika-fade-in; }

@keyframes vamika-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
@keyframes vamika-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Persist nav across navigations — no flash */
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.001s; }
}

/* Lucide icon sizing inside existing `.arrow` slot and CTAs.
   stroke: currentColor ensures the icon picks up the parent's text color
   (e.g. ghost buttons render the arrow in dark ink, not the lucide default). */
[data-lucide],
svg[data-lucide],
.arrow[data-lucide] {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  display: inline-block;
  vertical-align: -0.12em;
}
.btn [data-lucide],
.btn .arrow,
.btn svg.arrow {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  color: inherit;
  stroke: currentColor;
  transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
}
.btn:hover [data-lucide] { transform: translateX(4px); }

/* Default .it — italic emphasis only, inherit colour */
.it { color: inherit; font-weight: inherit; }

/* Heading emphasis — refined warm gold (matches vamikabuilders editorial style).
   Heroes use the same warm tone so colour family stays consistent with the
   --gold-deep eyebrow accents used on light sections. */
.page-hero h1 .it {
  color: var(--brand-accent);
}


.kg-skip-link{
  display: none;
}