/* ============================================
   Solaris Bonhooghly Phase 1 - Specifications page (specifications-phase2.html)
   Same layout as serampore-html/specifications.html. Loaded after
   project.css and bonhooghly.css; only sp-* rules plus the .ic1 overflow fix.
   ============================================ */

.sp-hero svg, .sp-explore svg, .sp-cta svg{fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}

/* ---------- 01 Banner ---------- */
.sp-hero{position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 640px; background: rgb(18, 22, 26); color: #ffffff;}
.sp-hero-bg{position: absolute; inset: 0; z-index: -2;}
.sp-hero-bg img{width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block; transform: scale(1.08); animation: spKen 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;}
@keyframes spKen{to{transform: scale(1);}}
.sp-hero-shade{position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 14, 16, 0.75) 0%, rgba(12, 14, 16, 0.45) 40%, rgba(12, 14, 16, 0.06) 75%),
  linear-gradient(180deg, rgba(12, 14, 16, 0.2) 0%, rgba(12, 14, 16, 0) 35%, rgba(12, 14, 16, 0.6) 100%);}
.sp-hero-inner{flex: 1; display: flex; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; padding: clamp(28px, 5vh, 64px) clamp(16px, 4vw, 56px) 28px;}
.sp-hero-copy{max-width: 660px; animation: sol-rise 900ms ease both;}
.sp-hero .pj-badge{margin-bottom: 22px;}
.sp-hero .pj-hero2-title{font-size: clamp(46px, 5.2vw, 84px);}
.sp-hero .pj-hero2-title em{display: block; margin-top: 0.1em; font-size: 0.5em; letter-spacing: -0.02em;}
.sp-hero .pj-hero2-lead{max-width: 480px;}

/* ---------- 02 Spec explorer ---------- */
.sp-head{display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.2vw, 46px);}
.sp-title{font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em; color: rgb(26, 20, 16);}
.sp-title em{font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: rgb(240, 90, 40);}
.sp-head-side{display: flex; align-items: center; gap: 20px; flex-wrap: wrap;}
.sp-intro{max-width: 360px; padding-left: 16px; border-left: 2px solid rgb(240, 90, 40); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: rgb(74, 70, 64);}
.sp-all{display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 20px; border: 1.5px solid rgba(26, 20, 16, 0.14); border-radius: 99px; background: #ffffff; font-family: Outfit, system-ui, sans-serif; font-size: 14px; font-weight: 600; color: rgb(26, 20, 16); cursor: pointer; transition: background 220ms ease, border-color 220ms ease, color 220ms ease;}
.sp-all svg{width: 16px; height: 16px; transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);}
.sp-all:hover{border-color: rgb(240, 90, 40); color: rgb(240, 90, 40);}
.sp-all[aria-pressed="true"] svg{transform: rotate(45deg);}
.sp-all:focus-visible{outline: 3px solid rgba(240, 90, 40, 0.35); outline-offset: 2px;}

.sp-grid{display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 72px); align-items: start;}

/* sticky visual: crossfading photos + current item with a progress ring */
.sp-visual{position: sticky; top: calc(var(--sp-nav-h, 76px) + 24px);}
.sp-frames{position: relative; overflow: hidden; height: clamp(440px, calc(100vh - var(--sp-nav-h, 76px) - 110px), 780px); width: 100%; border-radius: 30px; background: rgb(231, 222, 214); box-shadow: 0 40px 80px -46px rgba(26, 20, 16, 0.5);}
.sp-frame{position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 700ms ease;}
.sp-frame img{width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; transform: scale(1.08); transition: transform 1600ms cubic-bezier(0.16, 0.84, 0.44, 1);}
.sp-frame.is-on{opacity: 1;}
/* where each photo is framed in the tall panel */
.sp-frame[data-vis="shell"] img{object-position: 50% 40%;}
.sp-frame[data-vis="home"] img{object-position: 50% 50%;}
.sp-frame[data-vis="kitchen"] img{object-position: 50% 50%;}
.sp-frame[data-vis="toilet"] img{object-position: 48% 50%;}
.sp-frame[data-vis="common"] img{object-position: 50% 50%;}
.sp-frame.is-on img{transform: scale(1);}
.sp-frames::after{content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 16, 18, 0) 55%, rgba(14, 16, 18, 0.45) 100%); pointer-events: none;}
.sp-vis-cap{position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin: -46px 18px 0; padding: 14px 20px 14px 14px; border-radius: 22px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.05), 0 24px 44px -26px rgba(26, 20, 16, 0.45);}
.sp-ring{position: relative; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: 0 0 64px;}
.sp-ring svg{position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg);}
.sp-ring circle{fill: none; stroke-width: 3;}
.sp-ring-track{stroke: rgba(240, 90, 40, 0.14);}
.sp-ring-fill{stroke: rgb(240, 90, 40); stroke-linecap: round; stroke-dasharray: 175.93; stroke-dashoffset: 162.4; transition: stroke-dashoffset 600ms cubic-bezier(0.22, 1, 0.36, 1);}
.sp-ring b{font-family: "Source Serif 4", Georgia, serif; font-size: 22px; font-weight: 500; color: rgb(26, 20, 16);}
.sp-vis-cap small{display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(240, 90, 40);}
.sp-vis-cap strong{display: block; margin-top: 3px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.02em; color: rgb(26, 20, 16);}
.sp-vis-of{margin-left: auto; font-family: "Source Serif 4", Georgia, serif; font-size: 15px; color: rgb(140, 122, 110);}
.sp-vis-cap.is-swap strong, .sp-vis-cap.is-swap small{animation: spSwap 420ms cubic-bezier(0.22, 1, 0.36, 1);}
@keyframes spSwap{from{opacity: 0; transform: translateY(6px);} to{opacity: 1; transform: none;}}

/* grouped accordion */
.sp-list{display: grid; gap: clamp(26px, 3vw, 40px); min-width: 0;}
.sp-group-head{display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid rgb(26, 20, 16);}
.sp-thumb{display: block; width: 58px; height: 58px; flex: 0 0 58px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff, 0 0 0 4.5px rgba(240, 90, 40, 0.4);}
.sp-thumb img{width: 100%; height: 100%; object-fit: cover; display: block;}
.sp-group-head p{font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(240, 90, 40);}
.sp-group-head h3{margin-top: 2px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: rgb(26, 20, 16);}
.sp-group-n{margin-left: auto; font-size: 12.5px; font-weight: 600; color: rgb(140, 122, 110); white-space: nowrap;}

.sp-item{border-bottom: 1px solid rgba(26, 20, 16, 0.09);}
.sp-item h4{margin: 0; font: inherit;}
.sp-q{display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: center; gap: 14px; width: 100%; padding: 18px 4px; border: 0; background: none; font-family: Outfit, system-ui, sans-serif; text-align: left; color: rgb(26, 20, 16); cursor: pointer;}
.sp-n{font-family: "Source Serif 4", Georgia, serif; font-size: 15px; font-style: italic; color: rgb(140, 122, 110); transition: color 240ms ease;}
.sp-t{display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: clamp(18px, 1.55vw, 22px); font-weight: 500; letter-spacing: -0.015em; transition: color 240ms ease;}
.sp-chips{display: inline-flex; flex-wrap: wrap; gap: 6px;}
.sp-chips i{padding: 4px 10px; border-radius: 99px; background: rgb(250, 244, 241); font-size: 11.5px; font-style: normal; font-weight: 600; letter-spacing: 0.02em; color: rgb(110, 98, 90); transition: background 240ms ease, color 240ms ease;}
.sp-pm{position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(26, 20, 16, 0.14); transition: background 260ms ease, box-shadow 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);}
.sp-pm::before, .sp-pm::after{content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: rgb(26, 20, 16); transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease;}
.sp-pm::after{transform: rotate(90deg);}
.sp-q:hover .sp-t, .sp-q:hover .sp-n{color: rgb(240, 90, 40);}
.sp-q:hover .sp-pm{box-shadow: inset 0 0 0 1.5px rgb(240, 90, 40);}
.sp-q:focus-visible{outline: 2px solid rgb(240, 90, 40); outline-offset: 2px; border-radius: 12px;}
.sp-item.is-open .sp-n{color: rgb(240, 90, 40);}
.sp-item.is-open .sp-pm{background: rgb(240, 90, 40); box-shadow: none; transform: rotate(180deg);}
.sp-item.is-open .sp-pm::before, .sp-item.is-open .sp-pm::after{background: #ffffff;}
.sp-item.is-open .sp-pm::after{transform: rotate(0deg);}
.sp-item.is-open .sp-chips i{background: rgba(240, 90, 40, 0.1); color: rgb(196, 64, 22);}
.sp-item.is-current .sp-n{color: rgb(240, 90, 40);}

.sp-a{display: grid; grid-template-rows: 0fr; transition: grid-template-rows 460ms cubic-bezier(0.22, 1, 0.36, 1);}
.sp-a > div{min-height: 0; overflow: hidden;}
.sp-item.is-open .sp-a{grid-template-rows: 1fr;}
.sp-a p{margin: 0 40px 22px 62px; padding: 16px 18px; border-left: 2px solid rgb(240, 90, 40); border-radius: 0 14px 14px 0; background: #fff9f7; font-size: 15px; line-height: 1.65; color: rgb(74, 70, 64);}
.sp-dl{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 40px 22px 62px;}
.sp-dl div{padding: 14px 16px; border-radius: 14px; background: #fff9f7; box-shadow: inset 0 0 0 1px rgba(240, 90, 40, 0.12);}
.sp-dl dt{font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(216, 76, 30);}
.sp-dl dd{margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: rgb(74, 70, 64);}

/* ---------- 03 Closing ---------- */
.sp-cta-card{position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, rgb(24, 28, 32) 0%, rgb(18, 22, 26) 100%); color: #ffffff; box-shadow: 0 50px 90px -50px rgba(14, 16, 18, 0.8);}
.sp-cta-card::before{content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 90, 40, 0.4), transparent 65%); pointer-events: none;}
.sp-orbs{position: relative; height: clamp(260px, 26vw, 340px);}
.sp-orb{position: absolute; display: block; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 6px rgb(24, 28, 32), 0 0 0 7.5px rgba(240, 90, 40, 0.45), 0 30px 60px -24px rgba(0, 0, 0, 0.7); animation: spFloat 7s ease-in-out infinite;}
.sp-orb img{width: 100%; height: 100%; object-fit: cover; display: block;}
.sp-orb--1{left: 4%; top: 6%; width: 52%; aspect-ratio: 1;}
.sp-orb--2{right: 4%; top: 0; width: 38%; aspect-ratio: 1; animation-delay: -2.4s;}
.sp-orb--3{left: 40%; bottom: 0; width: 40%; aspect-ratio: 1; animation-delay: -4.6s;}
@keyframes spFloat{0%, 100%{transform: translateY(0);} 50%{transform: translateY(-10px);}}
.sp-cta-copy{position: relative; min-width: 0;}
.sp-cta-eyebrow{font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255, 150, 112);}
.sp-cta-title{margin-top: 10px; font-size: clamp(30px, 3.4vw, 50px); font-weight: 500; line-height: 1.03; letter-spacing: -0.035em;}
.sp-cta-title em{display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; color: rgb(255, 120, 72);}
.sp-cta-text{margin-top: 16px; max-width: 440px; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.72);}
.sp-cta-actions{display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px;}
.sp-cta .pj-p3-enq-call{margin-top: 24px;}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .sp-grid{grid-template-columns: minmax(0, 1fr);}
  /* the big photo panel steps aside; group thumbnails carry the pictures */
  .sp-visual{display: none;}
  .sp-cta-card{grid-template-columns: minmax(0, 1fr);}
  .sp-orbs{max-width: 440px; width: 100%; margin: 0 auto;}
}
@media (max-width: 720px){
  /* banner on phones: content at the foot of the banner, photo clear above */
  .sp-hero{min-height: 0;}
  .sp-hero-shade{background: linear-gradient(180deg, rgba(12, 14, 16, 0.2) 0%, rgba(12, 14, 16, 0.1) 25%, rgba(12, 14, 16, 0.6) 50%, rgba(12, 14, 16, 0.9) 100%);}
  .sp-hero-inner{align-items: flex-end; padding: 18px 16px 18px;}
  .sp-hero .pj-hero2-crumb{gap: 6px; margin-bottom: 14px; font-size: 12px;}
  .sp-hero .pj-badge{margin-bottom: 12px; padding: 5px 11px; font-size: 10.5px; letter-spacing: 0.05em;}
  .sp-hero .pj-hero2-eyebrow{display: none;}
  .sp-hero .pj-hero2-title{font-size: clamp(38px, 11vw, 48px); line-height: 0.95; letter-spacing: -0.04em;}
  .sp-hero .pj-hero2-lead{max-width: none; margin-top: 12px; font-size: 14.5px; line-height: 1.55;}
  .sp-hero .pj-hero2-cta{gap: 10px; margin-top: 18px;}
  .sp-hero .pj-hero2-btn{flex: 1 1 0; justify-content: center; min-height: 46px; padding: 0 12px; gap: 8px; font-size: 14px; white-space: nowrap;}
  .sp-hero .pj-hero2-btn svg{width: 16px; height: 16px;}
  /* launcher stays out of the banner until it has mostly scrolled away (specifications.js) */
  .sp-fab-hide .pj-fab:not(.is-open) .pj-fab-btn{opacity: 0; transform: translateY(24px) scale(0.92); pointer-events: none;}

  .sp-head-side{width: 100%; justify-content: space-between;}
  .sp-q{grid-template-columns: 30px minmax(0, 1fr) 32px; gap: 10px; padding: 16px 0;}
  .sp-pm{width: 32px; height: 32px;}
  .sp-t{gap: 8px; font-size: 18px;}
  .sp-chips i{font-size: 11px; padding: 3px 9px;}
  .sp-a p, .sp-dl{margin: 0 0 18px 40px;}
  .sp-a p{padding: 14px 14px; font-size: 14.5px;}
  .sp-dl{grid-template-columns: minmax(0, 1fr);}
  .sp-thumb{width: 48px; height: 48px; flex-basis: 48px;}
  .sp-cta-card{padding: 24px 20px 28px; border-radius: 24px;}
  .sp-orbs{height: 240px;}
  .sp-cta-actions .pj-hero2-btn{flex: 1 1 auto; justify-content: center; min-height: 48px;}
}

@media (prefers-reduced-motion: reduce){
  .sp-hero-bg img{animation: none; transform: none;}
  .sp-hero-copy{animation: none;}
  .sp-frame, .sp-frame img, .sp-ring-fill, .sp-a, .sp-pm, .sp-pm::before, .sp-pm::after{transition: none;}
  .sp-frame img{transform: none;}
  .sp-orb, .sp-vis-cap.is-swap strong, .sp-vis-cap.is-swap small{animation: none;}
}

/* The sticky photo panel needs the page wrapper not to be a scroll
   container. The shared .ic1 uses overflow-x: hidden, which makes the
   browser compute overflow-y: auto, so sticky children pin to .ic1 (which
   never scrolls) instead of the viewport. clip trims sideways overflow the
   same way without creating a scroll container. This page only. */
@supports (overflow: clip){
  .ic1{overflow-x: clip;}
}


/* ---------- Bonhooghly additions ---------- */
/* Flooring has two live paragraphs: they read as one box */
.sp-a p:has(+ p){margin-bottom: 0; padding-bottom: 6px; border-radius: 0 14px 0 0;}
.sp-a p + p{padding-top: 0; border-radius: 0 0 14px 0;}
