/* ==========================================================================
   Sandeep Mall — Theme stylesheet (loads after Bootstrap 5.3.8)
   Bootstrap core is untouched; everything here overrides via variables/classes.

   MOTION POLICY
   - Base styles (sections 1–13) are fully static: no transitions, no animation.
   - All motion lives in section 14 and is scoped to `html.motion-on`, which is
     set only on desktop (wider than 1024px, mouse/trackpad).
     Tablet and mobile therefore get a completely still layout.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --primary-color:   #1f1d1a;   /* ink — headings */
  --secondary-color: #2b2a28;   /* charcoal — Communion band */
  --accent-color:    #b8864b;   /* bronze — rules, arrows, eyebrow accent */
  --accent-soft:     #d9b98e;
  --bg-color:        #f3f3f3;   /* #f7f3ec warm paper */
  --bg-alt:          #f0e9de;
  --text-color:      #333333;   /* #4a463f body copy */
  --muted-color:     #7b756b;
  --line-color:      #ddd5c7;
  --light-text:      #ece6dc;
  --color-ftr: #161616;

  --font-heading: "Josefin Sans", sans-serif;
  --font-body:    "Source Sans 3", sans-serif;

  --border-radius-custom: 0;
  --shadow-custom: 0 30px 50px -22px rgba(31, 29, 26, .45);
  --shadow-soft:   0 18px 40px -24px rgba(31, 29, 26, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 1s;

  /* Bootstrap variable remap */
  --bs-body-bg: var(--bg-color);
  --bs-body-color: var(--text-color);
  --bs-body-font-family: var(--font-body);
  --bs-primary: var(--accent-color);
  --bs-primary-rgb: 184, 134, 75;
  --bs-secondary: var(--secondary-color);
  --bs-secondary-rgb: 43, 42, 40;
  --bs-link-color: var(--primary-color);
  --bs-link-color-rgb: 31, 29, 26;
  --bs-link-hover-color: var(--accent-color);
  --bs-link-hover-color-rgb: 184, 134, 75;
  --bs-border-color: var(--line-color);
  --bs-border-radius: var(--border-radius-custom);
  --bs-focus-ring-color: rgba(184, 134, 75, .35);
}

/* --------------------------------------------------------------------------
   2. Base & typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.1;
}

p:not([class]) {
  font-size: 18px
}
a { text-decoration: none; }
a:hover { color: var(--accent-color); }
::selection { background: var(--accent-soft); color: var(--primary-color); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }

.container { max-width: 1240px; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.arrow { display: inline-block; color: var(--accent-color); margin-left: .55em; }

/* --------------------------------------------------------------------------
   3. Labels, eyebrows, rules
   -------------------------------------------------------------------------- */
.eyebrow, .label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-color);
}
.eyebrow { margin: 0; }
.eyebrow .accent { color: var(--accent-color); }
.eyebrow .sep { color: var(--muted-color); margin: 0 .2em; }
.label { position: relative; padding-bottom: 1.1rem; margin-bottom: 1rem; }
.label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: var(--accent-color); transform-origin: left; }
.label-light { color: var(--light-text); }

/* Section divider (drawn as an element so it can animate on desktop) */
.rule { display: block; height: 1px; background: var(--line-color); margin-bottom: 56px; transform-origin: left; }

/* --------------------------------------------------------------------------
   4. Shared links
   -------------------------------------------------------------------------- */
.link-arrow {
  font-family: var(--font-heading); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary-color); padding-bottom: 8px; display: inline-block; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 1.6em); height: 1px; background: var(--accent-color); transform-origin: left; }
.link-arrow.light { color: var(--light-text); }
.link-arrow.light:hover { color: #fff; }

.link-mini {
  font-family: var(--font-heading); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary-color); border-bottom: 1px solid var(--accent-color); padding-bottom: 4px;
}
.link-text { font-size: .95rem; font-weight: 500; color: var(--primary-color); border-bottom: 1px solid var(--accent-color); padding-bottom: 3px; }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero { padding: 56px 0 0; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 300; margin: 1.4rem 0 1.6rem; }
.hero-lead { max-width: 30rem; font-size: 18px; color: var(--text-color); margin-bottom: 2rem; }

.hero-portrait {
  margin: 0 0 0 auto; position: relative; overflow: hidden; aspect-ratio: 7 / 8; max-width: 440px;
  background: linear-gradient(160deg, #e6dfd3, #cfc6b7);
}
.portrait-inner { position: absolute; inset: 0; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1) contrast(1.05); }

/* Pillars strip */
.pillars { margin-top: 56px; border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color); display: grid; grid-template-columns: 1fr; }
.pillars a { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 300; color: var(--primary-color); padding: 1.2rem 0; position: relative; overflow: hidden; z-index: 0; }
.pillars a + a { border-top: 1px solid var(--line-color); }
.pillars a::before { content: ""; position: absolute; inset: 0; background: var(--bg-alt); transform: translateY(101%); z-index: -1; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars a { padding: 1.5rem 0; text-align: center; }
/*
  .pillars a:first-child { text-align: left; }
  .pillars a:last-child { text-align: right; }
*/
  .pillars a + a { border-top: 0; }
}

/* --------------------------------------------------------------------------
   6. Sections & offer cards
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-ruled { padding-top: 0; }
.display-title { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; margin: 0; }
.intro { font-size: 18px; color: var(--text-color); margin: 0; }
.small-muted { color: var(--muted-color); font-size: 18px; }

.offer { display: flex; gap: 1.6rem; padding: 6px 0; }
.offer .num { font-family: var(--font-heading); font-size: .78rem; color: var(--muted-color); letter-spacing: .1em; padding-top: 2px; }
.offer .dash { display: block; width: 20px; height: 1px; background: var(--accent-color); margin: 6px 0 18px; }
.offer h3 { font-size: 1.32rem; font-weight: 400; margin-bottom: .55rem; }
.offer p { font-size: 18px; color: var(--text-color); margin-bottom: 1rem; }
.offer.journey h3 { font-size: 1.22rem; }

/* --------------------------------------------------------------------------
   7. Communion band
   -------------------------------------------------------------------------- */
.communion { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, #3a3936 0%, var(--secondary-color) 55%, #222120 100%); padding: 80px 0 130px; }
.haze { position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(217,185,142,.10), transparent 70%); pointer-events: none; }
.text-light-c { color: var(--light-text) !important; }
.communion .display-title { color: #f3eee6 !important; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; pointer-events: none; overflow: visible; }
.mountains .m1 { fill: #3d3c39; opacity: .55; }
.mountains .m2 { fill: #32312e; opacity: .85; }
.mountains .m3 { fill: #262523; }

/* --------------------------------------------------------------------------
   8. Books
   -------------------------------------------------------------------------- */
.book { display: flex; align-items: center; gap: 2rem; }
.book-cover { flex: 0 0 auto; width: 150px; perspective: 900px; }
.book-cover img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: var(--shadow-custom); transform: rotateY(-14deg); transform-origin: left center; }
.book-info h3 { font-size: 1.45rem; font-weight: 400; margin-bottom: .6rem; }
.book-info p { font-size: 18px; max-width: 15rem; margin-bottom: 1.2rem; }
@media (min-width: 992px) { .book-cover { width: 170px; } }
@media (max-width: 420px) { .book { gap: 1.2rem; } .book-cover { width: 118px; } }

/* --------------------------------------------------------------------------
   9. Quote carousel
   -------------------------------------------------------------------------- */
.quote { font-family: var(--font-heading); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.25; color: var(--primary-color); margin: 0; min-height: 2.6em; }

/* --------------------------------------------------------------------------
   10. Client carousel
   -------------------------------------------------------------------------- */
.client-carousel { text-align: center; padding: 0 56px 44px; }
.client-title { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; color: var(--primary-color); margin-bottom: .25rem; }
.client-text { font-size: 18px; color: var(--text-color); margin: 0; }
.c-arrow { width: 40px; opacity: 1; top: 0; bottom: 44px; }
.c-arrow svg { width: 26px; height: 26px; fill: none; stroke: var(--primary-color); stroke-width: 1.2; }
.dots { margin: 0; bottom: 0; }
.dots [data-bs-target] { width: 7px; height: 7px; border-radius: 50%; border: 0; margin: 0 7px; background: var(--line-color); opacity: 1; }
.dots .active { background: var(--accent-color); }

/* --------------------------------------------------------------------------
   11. Good Vibes
   -------------------------------------------------------------------------- */
.vibes-section { padding-bottom: 64px; }
.vibes > [class*="col-"] + [class*="col-"] .vibe { border-top: 1px solid var(--line-color); }
.vibe { padding: 1.4rem 0; height: 100%; }
.vibe h3 { font-family: var(--font-body); font-weight: 400; font-size: 1.12rem; line-height: 1.4; margin-bottom: 1rem; letter-spacing: 0; }
@media (min-width: 768px) {
  .vibe { padding: 0 0 0 2rem; }
  .vibes > [class*="col-"] + [class*="col-"] .vibe { border-top: 0; border-left: 1px solid var(--line-color); }
  .vibes > [class*="col-"]:first-child .vibe { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   12. Gallery banner
   -------------------------------------------------------------------------- */
.gallery-banner { position: relative; height: clamp(180px, 22vw, 280px); overflow: hidden; background: #8f7457; }
.gallery-img { position: absolute; inset: -32% 0; background-size: cover; background-position: center; filter: sepia(.45) saturate(.85) brightness(.95); }
.gallery-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,29,26,0) 40%, rgba(31,29,26,.45)); pointer-events: none; }
.gallery-link { position: absolute; right: 32px; top: 50%; translate: 0 -50%; z-index: 2; }

/* --------------------------------------------------------------------------
   13. Newsletter
   -------------------------------------------------------------------------- */
.news-title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: .7rem; }
.news-form { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.news-input { flex: 1 1 240px; border-radius: 0; border: 1px solid var(--line-color); background: transparent; padding: .85rem 1rem; font-size: .92rem; color: var(--primary-color); }
.news-input:focus { border-color: var(--accent-color); box-shadow: none; background: #fff; }
.news-input.is-invalid { border-color: #a5523a; }
.btn-subscribe { border: 0; background: none; font-family: var(--font-heading); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-color); padding: 0 0 8px; border-bottom: 1px solid var(--accent-color); }
.btn-subscribe:hover { color: var(--accent-color); }
.form-msg { font-size: .88rem; color: var(--accent-color); margin: .6rem 0 0; min-height: 1.3em; }

/* Tablet & mobile: also switch off Bootstrap's own carousel transitions */
html:not(.motion-on) .carousel-item { transition: none !important; }

/* Responsive spacing */
@media (max-width: 991.98px) {
  .hero { padding-top: 32px; }
  .hero-portrait { margin: 0 auto; max-width: 380px; }
  .section { padding: 56px 0; }
  .section-ruled { padding-top: 0; }
  .rule { margin-bottom: 44px; }
  .communion { padding: 56px 0 110px; }
  .gallery-link { right: 20px; }
}
@media (max-width: 575.98px) {
  .client-carousel { padding: 0 34px 44px; }
  .offer { gap: 1rem; }
}

/* ==========================================================================
   14. MOTION — desktop only (html.motion-on)
   ========================================================================== */

/* 14.1 Lenis smooth scroll (recommended base rules) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* 14.2 Page-load sequence (hero) */
.motion-on .load-in { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease-out) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.motion-on .load-in.loaded { opacity: 1; transform: none; animation: none; }

/* 14.3 Scroll reveals — data-anim="fade-up | fade-in | fade-left | fade-right | zoom | line" */
.motion-on [data-anim] {
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out) var(--d, 0s), transform calc(var(--dur) + .2s) var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
.motion-on [data-anim="fade-up"]    { transform: translateY(34px); }
.motion-on [data-anim="fade-left"]  { transform: translateX(40px); }
.motion-on [data-anim="fade-right"] { transform: translateX(-40px); }
.motion-on [data-anim="zoom"]       { transform: scale(.94); }
.motion-on [data-anim="line"]       { opacity: 1; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.motion-on [data-anim].is-visible   { opacity: 1; transform: none; }

/* Label rule draws in after its text fades */
.motion-on .label::after { transform: scaleX(0); transition: transform 1s var(--ease-out) .35s; }
.motion-on .label.is-visible::after { transform: scaleX(1); }

/* Offer dash draws in as the card reveals */
.motion-on .offer .dash { width: 0; transition: width .9s var(--ease-out) calc(var(--d, 0s) + .3s); }
.motion-on .offer.is-visible .dash { width: 20px; }

/* 14.4 Split-text headings: word-by-word rise from a mask */
.motion-on [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.motion-on [data-split] .w > span {
  display: inline-block; transform: translateY(105%) rotate(2deg); opacity: 0;
  transition: transform 1.15s var(--ease-out), opacity 1.15s var(--ease-out);
  transition-delay: calc(var(--i) * 75ms + var(--base, 0ms));
}
.motion-on [data-split].is-visible .w > span { transform: none; opacity: 1; }

/* 14.5 Parallax layers (JS writes --py) */
.motion-on [data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.motion-on .portrait-inner { inset: -10% 0; }               /* overscan so edges never show */

/* 14.6 Micro-movements */
/* arrows nudge */
.motion-on .arrow { transition: transform .45s var(--ease-out); }
.motion-on a:hover .arrow, .motion-on button:hover .arrow { transform: translateX(6px); }
.motion-on .hero .link-arrow .arrow { animation: nudge 2.6s var(--ease-out) 2.4s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(5px); } 90% { transform: translateX(0); } }

/* underline links stretch */
.motion-on .link-arrow::after { transition: transform .5s var(--ease-out); }
.motion-on .link-arrow:hover::after { transform: scaleX(1.15); }
.motion-on .link-mini, .motion-on .link-text { background: linear-gradient(var(--primary-color), var(--primary-color)) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; }
.motion-on .link-mini:hover, .motion-on .link-text:hover { background-size: 100% 1px; color: var(--accent-color); }
.motion-on a { transition: color .3s ease; }

/* pillars — tinted fill rises */
.motion-on .pillars a::before { transition: transform .55s var(--ease-out); }
.motion-on .pillars a:hover::before { transform: none; }
.motion-on .pillars a:hover { color: var(--accent-color); }

/* portrait — colour bleeds in, gentle 3D tilt from JS (--rx/--ry) */
.motion-on .hero-portrait.loaded { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.motion-on .hero-portrait img { transition: filter 1.2s ease, scale 1.6s var(--ease-out); scale: 1.06; }
.motion-on .hero-portrait.is-in img { scale: 1; }
.motion-on .hero-portrait:hover img { filter: grayscale(.2) contrast(1.02); scale: 1.03; }

/* offer / journey cards — lift, dash grows, title tints */
.motion-on .offer { transition: opacity var(--dur) var(--ease-out) var(--d, 0s), transform calc(var(--dur) + .2s) var(--ease-out) var(--d, 0s); }
.motion-on .offer.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; transition-duration: .5s; }
.motion-on .offer:hover .dash { width: 56px; transition-delay: 0s; }
.motion-on .offer h3 { transition: color .3s; }
.motion-on .offer:hover h3 { color: var(--accent-color); }

/* books — idle float, turn to face on hover */
.motion-on .book-float { animation: float 7s ease-in-out var(--fd, 0s) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.motion-on .book-cover img { transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.motion-on .book:hover .book-cover img { transform: rotateY(0deg); box-shadow: 0 40px 60px -26px rgba(31,29,26,.55); }

/* carousels */
.motion-on .quote-carousel .carousel-item { transition: opacity 1.1s ease !important; }
.motion-on .c-arrow svg { transition: transform .35s var(--ease-out), stroke .3s; }
.motion-on .carousel-control-prev.c-arrow:hover svg { transform: translateX(-5px); stroke: var(--accent-color); }
.motion-on .carousel-control-next.c-arrow:hover svg { transform: translateX(5px); stroke: var(--accent-color); }
.motion-on .dots [data-bs-target] { transition: background .3s, transform .3s; }
.motion-on .dots .active { transform: scale(1.25); }

/* good vibes */
.motion-on .vibe h3 { transition: color .3s, transform .5s var(--ease-out); }
.motion-on .vibe:hover h3 { color: var(--accent-color); transform: translateX(4px); }

/* gallery */
.motion-on .gallery-img { transition: filter .9s ease; }
.motion-on .gallery-banner:hover .gallery-img { filter: sepia(.2) saturate(1) brightness(1); }

/* newsletter */
.motion-on .news-input { transition: border-color .3s, background .3s; }

/* 14.7 'Reduce motion' visitors on desktop: keep soft fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  .motion-on [data-anim], .motion-on .load-in { transform: none !important; }
  .motion-on [data-split] .w > span { transform: none; }
  .motion-on [data-split] .w { overflow: visible; }
  .motion-on [data-parallax] { transform: none; }
  .motion-on .book-float, .motion-on .hero .link-arrow .arrow { animation: none; }
}

/* footer */
.social-icon-area {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.social-icon-area ul li {
    float: left;
    padding: 0 7px;
    list-style: none !important;
}

.social-icon-area ul li a, .social-icon-area ul li .fa {
    font-size: 14px;
    color: #e6e0cf;
    transition: all ease-in-out 0.3s;
}

.social-icon-area ul li:hover a {
    color: #aaa;
}


.cpyr8 {
    background-color: var(--color-ftr);
}

.cpyr8 p {
    text-align: center;
    color: #fff;
    line-height: normal;
    font-size: 14px;
    font-family: var(--font-optional);
    margin: 15px auto;
    letter-spacing: 0.1rem;
}


.sfsiplus_footerLnk{
    display: none !important;
}
