/* ===== GLOBAL CTA ===== */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: auto;
}

.disabled-btn{
  opacity: 0.5;
  pointer-events: none;
}

.personas__cta,
a.cta-btn,
button.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #283c73 0%, #0d1323 100%);
  border: 3px solid #25396f;
  border-radius: 108px;
  width: 320px;
  max-width: 90%;
  padding: 18px 16px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0px 27px 22px -19px rgba(99, 99, 99, 0.63);
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.personas__cta:hover,
a.cta-btn:hover,
button.cta-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}

/* Inline variant for tile / shop-the-look links — same pill shape, auto width */
a.cta-btn--inline,
button.cta-btn--inline {
  width: auto;
  max-width: fit-content;
  padding: 14px 26px;
}

:root {
  --c-white: #FFFFFF;
  --c-cream: #FAF8F4;
  --c-ink: #1A1A1A;
  --c-muted: #5C5C5C;
  --c-gold: #243667;
  --c-line: #E8E4DF;
  --c-overlay: rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end
}

.hero__bg {
  position: absolute;
  inset: -5% 0 0 0;
  height: 110%;
  background: url('https://i.pinimg.com/1200x/0f/4c/62/0f4c6294af7b4822b8cf600957f124c0.jpg') center/cover no-repeat;
  animation: heroDrift 18s ease-in-out infinite alternate
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25)
}

@keyframes heroDrift {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-5%)
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 96px 80px;
  color: #fff;
  max-width: 900px
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 64px;
  letter-spacing: 0.064em;
  line-height: 1.1;
  margin-bottom: 24px
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.036em;
  opacity: .9;
  margin-bottom: 40px;
  max-width: 540px
}

.hero .cta {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff
}

.hero .cta span {
  text-decoration: underline;
  text-underline-offset: 6px
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: #fff;
  opacity: .7;
  animation: pulse 2.4s ease-in-out infinite;
  z-index: 2
}

@keyframes pulse {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

/* ===== EDIT TILES ===== */
.edit {
  padding: 120px 32px 60px;
  background: #fff;
  text-align: center
}

.edit h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--c-ink)
}

.edit__sub {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 64px
}

.tiles {
  display: flex;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
  height: 560px
}

.tile {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s var(--ease);
  min-width: 0
}

.tile__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease)
}

.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
  transition: background 0.5s var(--ease)
}

.tile__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  color: #fff;
  text-align: left
}

.tile__name {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2
}

.tile__desc {
  font-size: 14px;
  font-weight: 300;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease) 0.1s;
  max-width: 380px
}

.tile__cta {
  margin-top: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease) 0.2s
}

.tiles:hover .tile {
  flex: 1
}

.tiles .tile:hover {
  flex: 2
}

.tile:hover .tile__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 100%)
}

.tile:hover .tile__desc,
.tile:hover .tile__cta {
  opacity: 1;
  transform: translateY(0)
}

/* Edit mobile nav — hidden on desktop, surfaced in mobile @media */
.edit-mobile-nav {
  display: none
}

.sw-logo{
  height: 120px;
  margin: 0 0 16px;
}

/* ===== COLLECTIONS ===== */
.collection {
  background: #fff
}

.collection__banner {
  position: relative;
  height: 48vh;
  min-height: 360px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.collection__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* .collection__banner-us{
  object-position: 80% 60%;
}

.collection__banner-mh{
  object-position: 80% 42%;
} */

/* .collection__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4)
} */

.collection__banner h3 {
  position: relative;
  z-index: 2;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 40px;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em
}

.collection__banner p {
  font-size: 14px;
  font-weight: 300;
  margin-top: 12px;
  color: #fff;
  z-index: 2;
  opacity:0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease) 0.1s;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--c-line)
}

.product {
  padding: 48px 32px;
  background: #fff;
  text-align: center;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  position: relative
}

.product a{
  text-decoration: none;
  color: inherit;
}

.product:nth-child(3n) {
  border-right: none
}

.product__img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
  margin-bottom: 24px;
  transition: transform 0.6s var(--ease)
}

.product:hover .product__img {
  transform: scale(1.04)
}

.product__name {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 6px
}

.product__mat {
  font-size: 13px;
  color: var(--c-muted)
}

.product__view {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s var(--ease)
}

.product:hover .product__view {
  opacity: 1;
  transform: translateY(0)
}

.explore-cta {
  text-align: center;
  padding: 20px 0;
}

/* ===== SHOP THE LOOK ===== */
.shop {
  background: var(--c-cream);
  padding: 120px 32px
}

.shop__head {
  max-width: 1400px;
  margin: 0 auto 64px
}

.shop__head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 40px;
  margin-bottom: 12px
}

.shop__head p {
  font-size: 16px;
  color: var(--c-muted)
}

.shop__row {
  display: grid;
  grid-template-columns: 60fr 40fr;
  max-width: 1400px;
  margin: 0 auto 64px;
  gap: 0;
  align-items: stretch
}

.shop__row.reverse {
  grid-template-columns: 40fr 60fr
}

.shop__model {
  position: relative;
  height: 640px;
  overflow: hidden
}

.shop__model img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.shop__model::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  mix-blend-mode: overlay
}

.shop__model:hover::after {
  opacity: .18
}

.shop__panel {
  background: var(--c-cream);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.shop__products {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.shop__product {
  display: flex;
  gap: 20px;
  align-items: center
}

.shop__product img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  padding: 8px
}

.shop__product .name {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 4px
}

.shop__product .mat {
  font-size: 13px;
  color: var(--c-muted)
}

.shop__cta {
  margin-top: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  align-self: flex-start
}

.shop__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--c-ink);
  transition: width 0.5s var(--ease)
}

.shop__cta:hover::after {
  width: 100%
}



/* ===== QUIZ — Editorial two-column on cream/white ===== */
section.quiz {
  background: #FAF8F4;
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
  display: block;
  color: #1A1A1A;
  position: relative;
}

section.quiz::before {
  content: none !important;
  background: none !important;
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 100vh;
  align-items: stretch;
}

.quiz-image-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #EFEAE2;
}

.quiz-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.quiz-content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  min-height: 100vh;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.quiz-ghost {
  position: absolute;
  bottom: -0.18em;
  right: -0.04em;
  pointer-events: none;
  color: rgba(0, 0, 0, 0.04);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
}

.quiz-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px
}

.quiz-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #243667;
  margin: 0;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0
}

.quiz-counter {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #5C5C5C;
  white-space: nowrap;
}

.quiz-progress-track {
  flex: 1;
  height: 2px;
  background: rgba(36, 54, 103, 0.12);
  border-radius: 2px;
  overflow: hidden
}

.quiz-progress-bar {
  height: 100%;
  background: #243667;
  width: 0;
  transition: width .5s cubic-bezier(0.22, 1, 0.36, 1)
}

.quiz-intro-title,
.quiz-q-text,
.quiz-result-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  color: #1A1A1A;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.quiz-intro-title {
  font-size: clamp(36px, 4vw, 56px)
}

.quiz-intro-title em {
  font-style: italic
}

.quiz-q-text {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18
}

.quiz-result-title {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1
}

.quiz-intro-desc,
.quiz-result-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: #5C5C5C;
  margin: 0;
  max-width: 46ch;
}

.quiz-result-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #243667;
  margin: 0;
}

/* States */
.quiz-state {
  display: none;
  flex-direction: column;
  gap: 24px
}

.quiz-state.is-active {
  display: flex
}

/* Options grid */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px
}

.quiz-opt,
.quiz-option {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #FAFAF9;
  border: 1.5px solid rgba(36, 54, 103, 0.18);
  border-radius: 108px;
  width: 100%;
  padding: 16px 24px;
  box-sizing: border-box;
  color: #1A1A1A;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  line-height: 1.4;
}

.quiz-opt:hover,
.quiz-option:hover {
  background: #F3F0EC;
  border-color: rgba(36, 54, 103, 0.35);
}

.quiz-opt.selected,
.quiz-option.selected {
  background: linear-gradient(180deg, #283c73 0%, #0d1323 100%);
  border: 2px solid #25396f;
  color: #ffffff;
  box-shadow: 0px 8px 24px rgba(36, 54, 103, 0.3);
}

/* Result block */
.quiz-result {
  display: none;
  flex-direction: column;
  gap: 18px
}

.quiz-result.is-active {
  display: flex
}

.res-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px
}

.res-cta-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #283c73 0%, #0d1323 100%);
  border: 3px solid #25396f;
  border-radius: 108px;
  padding: 18px 40px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease;
  box-shadow: 0px 27px 22px -19px rgba(99, 99, 99, 0.63);
  text-decoration: none;
}

.res-cta-primary:hover {
  opacity: 0.88;
}

.quiz-retake {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.quiz-retake:hover {
  color: rgba(0, 0, 0, 0.6);
}

.quiz-begin {
  align-self: flex-start;
  margin-top: 4px;
}

/* ===== QUIZ BACK BUTTON & TOPBAR ===== */
.quiz-question-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.quiz-question-topbar .quiz-progress {
  flex: 1;
  margin: 0;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(36, 54, 103, 0.18);
  background: rgba(36, 54, 103, 0.04);
  color: #243667;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, opacity .25s ease, transform .2s ease;
  flex-shrink: 0;
}

.quiz-back:hover {
  background: rgba(36, 54, 103, 0.08);
  border-color: rgba(36, 54, 103, 0.32);
}

.quiz-back:active {
  transform: translateY(1px);
}

.quiz-back:disabled {
  opacity: .38;
  cursor: default;
  background: rgba(36, 54, 103, 0.03);
  border-color: rgba(36, 54, 103, 0.12);
  pointer-events: none;
}

.quiz-back:focus-visible {
  outline: 2px solid rgba(36, 54, 103, 0.5);
  outline-offset: 3px;
}

.quiz-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== MAGAZINE (rebuild) ===== */
.mag-section {
  background: #21315d;
  padding: 120px 32px;
  text-align: center;
  color: #fff
}

.mag-header {
  margin-bottom: 64px
}

.mag-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 40px;
  color: #fff;
  margin: 0
}

.mag-header p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  margin-bottom: 0
}

/* Closed book teaser */
.mag-teaser {
  width: 380px;
  height: 520px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 32px;
  color: #1A1A1A;
  overflow: hidden;
  border-left: 8px solid #9a7a3e;
  border-right: 1px solid #c9a55a;
  border-top: 1px solid #c9a55a;
  border-bottom: 1px solid #c9a55a;
  background: radial-gradient(circle at 25% 20%, rgba(36, 54, 103, 0.18), transparent 55%), radial-gradient(circle at 82% 85%, rgba(36, 54, 103, 0.10), transparent 55%), linear-gradient(165deg, #FAF6EE 0%, #EDE3D0 60%, #D9C9A8 100%);
  box-shadow: -6px 0 0 #243667, -11px 0 0 #9a7a3e, -16px 0 0 #7a5f2e, -20px 0 0 rgba(0, 0, 0, 0.3), 0 60px 120px -20px rgba(0, 0, 0, 0.85), 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.2deg);
  transition: transform .5s cubic-bezier(.25, .1, .25, 1), box-shadow .5s ease
}

.mag-teaser:hover {
  transform: rotate(0deg) scale(1.025) translateY(-8px);
  box-shadow: -6px 0 0 #243667, -11px 0 0 #9a7a3e, -16px 0 0 #7a5f2e, -20px 0 0 rgba(0, 0, 0, 0.3), 0 80px 160px -20px rgba(0, 0, 0, 0.9), 0 20px 40px rgba(0, 0, 0, 0.4)
}

.mag-teaser__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(36, 54, 103, 0.6);
  pointer-events: none
}

.mag-teaser__wordmark {
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #5C5C5C
}

.mag-teaser__cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-top: 12px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 65%, transparent 100%)
}

.mag-teaser__rule {
  width: 40px;
  height: 1px;
  background: #243667;
  margin: 20px auto 16px
}

.mag-teaser__title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 30px;
  color: #1A1A1A;
  line-height: 1.15;
  text-align: center;
  margin: 0
}

.mag-teaser__sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5C5C5C;
  text-align: center;
  margin-top: 8px
}

.mag-teaser__badge {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid #243667;
  border-radius: 40px;
  padding: 4px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #243667
}

.mag-teaser .personas__cta {
  margin-top: auto;
  max-width: 240px;
  font-size: 11px;
  padding: 12px 16px
}

.mag-teaser__edges {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none
}

.mag-teaser__edges span {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12)
}

/* Modal */
.mag-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease
}

.mag-modal.open {
  opacity: 1;
  pointer-events: all
}

.mag-modal__close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2
}

.mag-modal__close svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
  transition: stroke .2s ease
}

.mag-modal__close:hover svg {
  stroke: #243667
}

.mag-close-label {
  display: none
}


.mag-book {
  position: relative;
  display: flex;
  width: min(960px, 92vw);
  height: min(580px, 86vh);
  border-radius: 2px;
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.9);
  overflow: hidden
}

.mag-book__left {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-image: url('https://staticimg.tanishq.co.in/microsite/souls-in-symphony/assets/images/private-look.jpg');
  background-size: cover;
  background-position: center top
}

.mag-book__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 49, 93, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%);
  pointer-events: none
}

.mag-book__left-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 36px;
  z-index: 2;
  color: #fff
}

.mag-book__left-content h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  color: #fff;
  line-height: 1.2;
  margin: 0
}

.mag-book__left-content .rule {
  width: 36px;
  height: 1px;
  background: #243667;
  margin: 14px 0
}

.mag-book__left-content .sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.1em
}

.mag-book__personal {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #243667;
  font-style: italic;
  opacity: 0;
  transition: opacity .5s ease
}

.mag-book__personal.show {
  opacity: 1
}

.mag-book__spine {
  width: 6px;
  flex-shrink: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset -2px 0 8px rgba(0, 0, 0, 0.3), inset 2px 0 4px rgba(255, 255, 255, 0.03)
}

.mag-book__right {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #1A1A1A;
  display: flex;
  flex-direction: column
}

/* Step 1: lead capture */
.mag-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  box-sizing: border-box;
  transition: opacity .5s ease;
  background: #fff;
  z-index: 5
}

.mag-step.hidden {
  opacity: 0;
  pointer-events: none
}

.mag-step h4 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 22px;
  color: #1A1A1A;
  margin: 0
}

.mag-step .sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5C5C5C;
  margin-top: 10px;
  line-height: 1.5;
  margin-bottom: 32px
}

.mag-step .field {
  display: block;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid #E8E4DF;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1A1A1A;
  outline: none;
  margin-bottom: 20px
}

.mag-step .field:focus {
  border-bottom-color: #243667
}

.mag-step .field-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E8E4DF;
  margin-bottom: 20px
}

.mag-step .field-row:focus-within {
  border-bottom-color: #243667
}

.mag-step .field-row .prefix {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #5C5C5C;
  padding: 14px 8px 14px 0
}

.mag-step .field-row input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1A1A1A;
  outline: none;
  padding: 14px 0
}

.mag-step .personas__cta {
  width: 100%;
  max-width: none
}

.mag-step .fine {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #5C5C5C;
  text-align: center;
  margin-top: 14px
}

.mag-error {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #c0392b;
  min-height: 14px;
  margin-bottom: 12px
}

/* Step 2: flipbook */
.mag-flip {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: #fff
}

.mag-flip.show {
  display: flex
}

.mag-flip__pages {
  position: relative;
  flex: 1;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1200px
}

.mag-page-item {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transform: rotateY(0deg);
  opacity: 0;
  z-index: 0
}

.mag-page-item:first-child {
  opacity: 1;
  z-index: 2
}

.mag-page-img {
  width: 100%;
  height: 60%;
  position: relative;
  overflow: hidden
}

.mag-page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.mag-page-img .cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
  z-index: 2
}

.mag-page-img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
  pointer-events: none
}

.mag-page-img .cap h5 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  margin: 0
}

.mag-page-img .cap .csub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px
}

.mag-page-panel {
  height: 40%;
  background: #FAF8F4;
  padding: 20px 24px;
  box-sizing: border-box;
  overflow: hidden
}

.mag-page-panel .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #243667;
  margin-bottom: 14px
}

.mag-page-prod {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8E4DF;
  margin-bottom: 12px
}

.mag-page-prod:last-child {
  margin-bottom: 0
}

.mag-page-prod img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0
}

.mag-page-prod .pname {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 12px;
  color: #1A1A1A
}

.mag-page-prod .pdesc {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #5C5C5C;
  margin-top: 2px
}

.mag-page-final {
  position: absolute;
  inset: 0;
  background: #FAF8F4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  text-align: center;
  gap: 16px;
  box-sizing: border-box
}

.mag-page-final .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #243667
}

.mag-page-final h5 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 26px;
  color: #1A1A1A;
  margin: 0
}

.mag-page-final img {
  width: 100px;
  height: 100px;
  object-fit: contain
}

.mag-page-final .personas__cta {
  max-width: 220px
}

.mag-flip__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #E8E4DF;
  flex-shrink: 0
}

.mag-flip__nav button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center
}

.mag-flip__nav button svg {
  width: 20px;
  height: 20px;
  stroke: #243667;
  stroke-width: 1.5;
  fill: none
}

.mag-flip__nav button:disabled {
  opacity: 0.25;
  cursor: default
}

.mag-flip__counter {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #243667;
  min-width: 60px;
  text-align: center
}

.mag-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #21315d;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 12px 20px;
  z-index: 10000;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none
}

.mag-toast.show {
  opacity: 1
}

.tiles,
.product-grid {
  max-width: min(1400px, 100%);
}

/* ===== QUIZ SHARE INVITE (both desktop + mobile) ===== */
.quiz-share-invite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  position: relative;
}

.quiz-share-line,
.quiz-share-kicker {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  color: rgba(26, 26, 26, 0.55);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.quiz-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid rgba(36, 54, 103, 0.28);
  background: rgba(36, 54, 103, 0.04);
  color: #243667;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 18px rgba(36, 54, 103, 0.06);
}

.quiz-share-btn:hover {
  background: rgba(36, 54, 103, 0.09);
  border-color: rgba(36, 54, 103, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(36, 54, 103, 0.12);
}

.quiz-share-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.quiz-share-toast {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #243667;
  background: rgba(36, 54, 103, 0.08);
  border: 1px solid rgba(36, 54, 103, 0.18);
  border-radius: 40px;
  padding: 8px 18px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.quiz-share-toast.show {
  opacity: 1;
}

.quiz-descriptor {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: #5C5C5C;
  margin: 0 0 4px;
}

/* ===== APPOINTMENT ===== */
.appt {
  background: #fff;
  padding: 120px 32px;
  text-align: center
}

.appt h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 40px;
  margin-bottom: 16px
}

.appt__sub {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 64px
}

.appt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch
}

.appt__img {
  height: 560px;
  overflow: hidden;
  border-radius: 4px
}

.appt__img img {
  width: 100%;
  height: 400px;
  object-fit: cover
}

.appt__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left
}

.appt__form input {
  display: block;
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--c-line);
  background: transparent;
  font-size: 15px;
  margin-bottom: 24px;
  outline: none
}

.appt__form input:focus {
  border-bottom-color: var(--c-gold)
}

.appt__form button {
  width: 100%;
  background: #21315d;
  color: #fff;
  padding: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 16px
}

.appt__success {
  display: none;
  text-align: center;
  padding: 48px 0
}

.appt__success.active {
  display: block;
  animation: fadeUp .6s ease
}

.appt__success svg {
  margin: 0 auto 24px;
  display: block
}

.appt__success p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--c-ink)
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px)
}

.split-worlds {
  background: #ffffff;
  width: 100%;
  color: #111111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 100px;
}

.sw-heading-block {
  padding: 48px 32px 14px;
  text-align: center;
  background: #ffffff
}

.sw-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(20, 20, 20, 0.55);
  font-weight: 500;
  margin-bottom: 16px
}

.sw-headline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 42px);
  color: #111111;
  line-height: 1.12;
  margin: 0 auto 14px;
  max-width: 860px;
  letter-spacing: -0.005em
}

.sw-you {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: #243667
}

.sw-deck {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.5;
  color: rgba(20, 20, 20, 0.55);
  margin: 0 auto;
  max-width: 520px
}

.sw-toggle-zone {
  display: flex;
  justify-content: center;
  padding: 18px 24px 22px;
  background: #ffffff
}

.sw-swap-btn {
  appearance: none;
  border: 1px solid rgba(36, 54, 103, 0.22);
  background: #ffffff;
  color: #111111;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 999px;
  transition: background .3s ease, border-color .3s ease
}

.sw-swap-btn:hover {
  background: #f7f6f2;
  border-color: rgba(36, 54, 103, 0.5)
}

.sw-swap-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #243667;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .7s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.sw-swap-btn.sw-is-swapped .sw-swap-icon {
  transform: rotate(180deg)
}

.sw-swap-label {
  display: inline-block;
  min-width: 130px;
  text-align: left;
  transition: opacity .2s ease
}

.sw-rows-wrap {
  position: relative;
  width: 100%;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0
}

.sw-row {
  display: grid;
  width: 100%;
  background: #ffffff;
  position: relative;
  flex: 1;
  min-height: 0
}

.sw-row+.sw-row {
  border-top: 1px solid #efefef
}

.sw-row--1 {
  grid-template-columns: 56fr 44fr
}

.sw-row--2 {
  grid-template-columns: 44fr 56fr
}

.sw-row-img {
  position: relative;
  overflow: hidden;
  background: #f3f1ec;
  min-height: 0
}

.sw-img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1)
}

.sw-img-inner-two{
  background-position: 80% 37%;
}

.sw-row:hover .sw-img-inner {
  transform: scale(1.03)
}

.sw-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  min-width: 0
}

.sw-row-text--right {
  padding: 28px 56px 28px 60px;
  align-items: flex-start;
  text-align: left
}

.sw-row-text--left {
  padding: 28px 60px 28px 56px;
  align-items: flex-start;
  text-align: left
}

.sw-text-kicker {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: rgba(20, 20, 20, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 12px
}

.sw-text-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
  color: #111111;
  margin: 0 0 14px;
  letter-spacing: -0.005em
}

.sw-text-body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(20, 20, 20, 0.58);
  margin: 0 0 18px;
  max-width: 34ch
}

.sw-text-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #243667;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding-bottom: 2px;
  transition: opacity .25s ease;
  display: inline-block
}

.sw-text-link:hover {
  opacity: 0.7
}

.sw-row {
  overflow: hidden;
}

.sw-rows-wrap {
  overflow: hidden;
}

@keyframes swExitUp {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-6%, -100%);
    opacity: 0;
  }
}

@keyframes swExitDown {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  100% {
    transform: translate(6%, 100%);
    opacity: 0;
  }
}

@keyframes swEnterFromDown {
  0% {
    transform: translate(6%, 100%);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@keyframes swEnterFromUp {
  0% {
    transform: translate(-6%, -100%);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.sw-row.sw-exit-up {
  animation: swExitUp 0.52s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}

.sw-row.sw-exit-down {
  animation: swExitDown 0.52s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}

.sw-row.sw-enter-from-down {
  animation: swEnterFromDown 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sw-row.sw-enter-from-up {
  animation: swEnterFromUp 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mag-book {
  transform-style: preserve-3d;
  perspective: 1200px
}

.mag-book__right {
  transform-origin: left center;
  transform-style: preserve-3d
}

@keyframes bookPageOpen {
  0% {
    transform: rotateY(-88deg);
    opacity: 0.3
  }

  60% {
    opacity: 1
  }

  100% {
    transform: rotateY(0deg);
    opacity: 1
  }
}

.mag-book.is-opening .mag-book__right {
  animation: bookPageOpen 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000) forwards
}

/* ===== MAG personal label override (large, on left page) ===== */
.mag-book__personal {
  position: absolute;
  bottom: 120px;
  top: auto;
  left: 28px;
  right: 28px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 30px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
  pointer-events: none;
  white-space: normal;
  z-index: 3;
}

.mag-book__personal.show {
  opacity: 1
}

.mag-book__personal::before {
  content: none
}

@media (max-width: 1024px) {
  .sw-heading-block {
    padding: 36px 24px 6px;
  }

  .sw-toggle-zone {
    padding: 16px 24px 12px;
  }

  .sw-row,
  .sw-row--2 {
    grid-template-columns: 55fr 45fr;
  }

  .sw-row-text--right {
    padding: 24px 32px 24px 36px;
  }

  .sw-row-text--left {
    padding: 24px 36px 24px 32px;
  }

  .sw-text-body {
    font-size: 12px;
    max-width: 28ch;
  }
}

@media(max-width:768px) {
  .hero__inner {
    padding: 0 24px 48px
  }

  .hero h1 {
    font-size: 40px
  }

  .hero p {
    font-size: 16px
  }

  .edit {
    padding: 40px 20px 0px
  }

  .edit h2 {
    font-size: 36px
  }

  .sw-logo{
    height: 80px;
  }

  /* .collection__banner{
    padding-left: 0;
    align-items: center;
  }

  .collection__banner-us{
    object-position: center;
  }

  .collection__banner-mh{
    object-position: center;
  } */

  /* mobile .tiles handled by stacked-deck rules above */
  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .product {
    padding: 24px 16px
  }

  .product:nth-child(3n) {
    border-right: 1px solid var(--c-line)
  }

  .product:nth-child(2n) {
    border-right: none
  }

  .product__img {
    height: 200px
  }

  .shop {
    padding: 80px 20px
  }

  .shop__row,
  .shop__row.reverse {
    grid-template-columns: 1fr
  }

  .shop__model {
    height: 420px;
    order: 1
  }

  .shop__panel {
    order: 2;
    padding: 32px 24px
  }

  .magazine {
    width: 300px;
    height: 420px
  }

  .appt__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .appt__img {
    height: 360px
  }

  .collection__banner h3 {
    font-size: 28px
  }

  .mag-section {
    padding: 80px 20px
  }

  .mag-header h2 {
    font-size: 30px
  }

  .mag-teaser {
    width: 260px;
    height: 360px;
    padding: 24px 20px 22px
  }

  .mag-teaser__title {
    font-size: 24px
  }

  .mag-book {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    flex-direction: row
  }

  .mag-book__spine {
    display: none
  }

  .mag-book__left {
    width: 38%;
    min-width: 118px;
    flex: none;
    height: 100%;
    position: relative;
    display: block
  }

  .mag-book__right {
    flex: 1;
    min-width: 0;
    height: 100%
  }

  .mag-step {
    padding: 36px 28px
  }

  .mag-modal__close {
    top: 14px;
    right: 16px
  }

  .quiz-share-btn {
    min-height: 50px;
    padding: 14px 22px;
    font-size: 11.5px;
  }

  .quiz-share-invite {
    margin-top: 22px;
  }



  /* CHANGE 1: Remove gap before edit section on mobile */
  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hero__inner {
    padding: 0 24px 48px;
  }

  .hero__scroll {
    bottom: 24px;
    height: 40px;
  }

  /* section.edit,
  .edit {
    padding-top: 0px !important;
    padding-bottom: 56px;
    margin-top: 0 !important;
  } */

  .edit h2,
  .edit__sub {
    margin-top: 0;
  }

  /* .split-worlds, .split-ctas, .worlds-cta-wrap { margin-bottom: 24px; padding-bottom: 0; } */

  /* ===== Mobile edit tiles — premium stacked deck carousel ===== */
  .tiles {
    display: block !important;
    position: relative;
    height: 520px;
    padding: 0;
    margin: 0 auto;
    overflow: visible;
    flex-direction: unset;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
  }

  .tile {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72vw;
    max-width: 320px;
    height: 460px;
    transform-origin: center center;
    transform: translateX(-50%) scale(0.85);
    transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.45s ease, filter 0.45s ease;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    flex: none !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .tile.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
    filter: none;
    pointer-events: auto;
  }

  .tile.is-prev {
    transform: translateX(calc(-50% - 34vw)) rotate(-6deg) scale(0.9);
    opacity: 0.38;
    z-index: 2;
    filter: blur(0.5px);
    pointer-events: auto;
  }

  .tile.is-next {
    transform: translateX(calc(-50% + 34vw)) rotate(6deg) scale(0.9);
    opacity: 0.38;
    z-index: 2;
    filter: blur(0.5px);
    pointer-events: auto;
  }

  /* Content always visible on mobile */
  .tile__desc,
  .tile__cta {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* ===== Mobile: bottom-anchor content so model/jewellery reads clearly ===== */
  /* Lighten overlay — only bias gradient to bottom third, leave top clear */
  .tile__overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0) 58%) !important;
    pointer-events: none !important;
  }

  /* Anchor content block to the bottom of the card with its own caption gradient */
  .tile__content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 22px 22px 24px !important;
    min-height: 36%;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.74) 0%,
        rgba(0, 0, 0, 0.50) 36%,
        rgba(0, 0, 0, 0.16) 70%,
        rgba(0, 0, 0, 0) 100%);
    box-sizing: border-box;
  }

  /* Pointer safety — decorative layers must not steal taps */
  .tile__img {
    pointer-events: none !important;
  }

  /* Ensure child text elements sit on top of the content gradient */
  .tile__name,
  .tile__desc,
  .tile__cta {
    position: relative;
    z-index: 5;
  }

  .tile__name {
    margin-bottom: 6px;
  }

  .tile__desc {
    margin-top: 0;
    margin-bottom: 12px;
    max-width: 94%;
  }

  .collection__banner p {
    margin-bottom: 12px;
    max-width: 98%;
    text-align: center;
  }

  .tile__cta {
    margin-top: 0;
  }

  /* Neutralise desktop hover effects on mobile */
  .tiles:hover .tile {
    flex: none !important;
  }

  .tiles .tile:hover {
    flex: none !important;
  }

  .tile:hover .tile__overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0) 58%) !important;
  }

  /* Dragging state — disable transitions on individual cards while finger is down */
  .tiles[data-dragging="true"] .tile {
    transition: none !important;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .tile {
      transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease !important;
    }
  }

  .edit-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100vw - 40px);
    max-width: 420px;
    margin: 22px auto 0;
    gap: 14px;
  }

  .edit-mobile-arrow {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(80, 50, 50, 0.28);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5a4040;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
  }

  .edit-mobile-arrow:active {
    transform: scale(0.94);
    background: rgba(255, 255, 255, 1);
  }

  .edit-mobile-counter {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #5a4040;
    text-transform: uppercase;
  }

  /* Split-screen two-world section */
  .split-worlds {
    min-height: unset;
    padding-bottom: 0px;
  }

  .sw-rows-wrap {
    flex: unset;
  }

  .sw-row,
  .sw-row--2 {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }

  .sw-row-img {
    height: 56vw;
    min-height: 200px;
    position: relative;
    order: 1;
  }

  .sw-img-inner {
    position: absolute;
  }

  .sw-img-inner-two{
    background-position: center;
  }

  .sw-row-text {
    order: 2;
  }

  .sw-row-text--right,
  .sw-row-text--left {
    padding: 28px 22px;
  }

  /* CHANGE 5: Product grid — always-visible view details */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product {
    padding: 32px 20px;
  }

  .product__img {
    height: 220px;
  }

  .product__view {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .product:nth-child(3n) {
    border-right: 1px solid var(--c-line);
  }

  .product:nth-child(2n) {
    border-right: none;
  }

  /* Quiz — single column on mobile */
  section.quiz {
    min-height: unset;
  }

  .quiz-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .quiz-image-panel {
    position: relative;
    top: auto;
    height: 56vw;
    min-height: 220px;
    max-height: 360px;
  }

  .quiz-image-panel img {
    object-position: center 25%;
  }

  .quiz-content-panel {
    padding: 52px 24px 64px;
    min-height: auto;
  }

  .quiz-ghost {
    font-size: clamp(64px, 22vw, 140px);
    bottom: -0.12em;
    right: -0.06em;
  }

  .quiz-opt,
  .quiz-option {
    padding: 14px 18px;
    font-size: 13px;
    min-height: 48px;
  }

  .quiz-intro-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .quiz-q-text {
    font-size: clamp(22px, 6vw, 30px);
  }

  .quiz-result-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  /* CHANGE 8: Magazine mobile — side-by-side layout preserved */
  .mag-section {
    padding: 80px 20px;
  }

  .mag-teaser {
    width: min(320px, 88vw);
    padding: 28px 22px 24px;
    height: auto;
    aspect-ratio: 0.73;
  }

  .mag-teaser__cover {
    height: 180px;
    object-position: 80% 70%;
  }

  .mag-teaser__title {
    font-size: 24px;
  }

  /* Mobile: centred open-book, same footprint as the teaser */
  .mag-modal {
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: rgba(4, 7, 18, 0.92);
  }

  .mag-book {
    width: min(380px, 92vw);
    height: min(520px, 82dvh);
    border-radius: 2px;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75), 0 8px 24px rgba(0, 0, 0, 0.4);
    /* Book open animation: right page swings in from rotateY(-90deg) */
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .mag-book__left {
    width: 42%;
    flex: none;
    height: 100%;
    border-left: none;
    box-shadow: none;
  }


  .mag-book__spine {
    display: none;
  }

  .mag-book__right {
    flex: 1;
    height: 100%;
    overflow: hidden;
    min-width: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
  }

  /* Right page flips in when book opens */
  .mag-book.is-opening .mag-book__right {
    animation: mobileBookOpen 0.7s cubic-bezier(0.645, 0.045, 0.355, 1.0) forwards;
  }

  @keyframes mobileBookOpen {
    0% {
      transform: rotateY(-88deg);
      opacity: 0.2;
      box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
    }

    60% {
      opacity: 1;
    }

    100% {
      transform: rotateY(0deg);
      opacity: 1;
      box-shadow: -4px 0 12px rgba(0, 0, 0, 0.25);
    }
  }

  /* Step 1 form: compact for small right panel */
  .mag-step {
    padding: 20px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mag-step h4 {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .mag-step .sub {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: rgba(20, 20, 20, 0.55);
  }

  .mag-step .field {
    font-size: 13px;
    padding: 10px 0;
    margin-bottom: 0;
  }

  .mag-step .field-row input {
    font-size: 13px;
  }

  .mag-step .personas__cta {
    font-size: 10px;
    padding: 11px 14px;
    margin-top: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .mag-step .fine {
    font-size: 9px;
    margin-top: 8px;
  }

  /* Flip pages: compact for right panel */
  .mag-page-img {
    height: 55%;
  }

  .mag-page-panel {
    height: 45%;
    padding: 14px 16px;
  }

  .mag-page-prod {
    padding-bottom: 8px;
    margin-bottom: 8px;
    gap: 10px;
  }

  .mag-page-prod img {
    width: 38px;
    height: 38px;
  }

  .mag-page-prod .pname {
    font-size: 11px;
  }

  .mag-page-prod .pdesc {
    font-size: 9px;
  }

  .mag-page-panel .lbl {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .mag-flip__nav {
    padding: 10px 14px;
  }

  .mag-flip__nav button svg {
    width: 16px;
    height: 16px;
  }

  .mag-flip__counter {
    font-size: 9px;
  }

  /* Personal name label: fits left panel */
  .mag-book__personal {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(11px, 3.5vw, 15px);
    bottom: 80px;
    top: auto;
    left: 10px;
    right: 8px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  .mag-book__left-content {
    left: 10px;
    right: 10px;
    bottom: 14px;
  }

  .mag-book__left-content h3 {
    font-size: 11px;
    line-height: 1.2;
  }

  .mag-book__left-content .sub {
    display: none;
  }

  /* Close button: premium pill CTA above the book */
  .mag-modal__close {
    /* Detach from viewport corners — anchor elegantly above the book */
    position: fixed;
    top: calc(50% - min(260px, 41dvh) - 145px);
    left: 45%;
    transform: translateX(100%);

    /* Premium pill shape */
    width: 25%;
    min-width: unset;
    min-height: unset;
    height: 34px;
    padding: 0 18px 0 14px;

    /* Refined surface */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Layout */
    display: flex;
    align-items: center;
    gap: 8px;

    /* Type */
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);

    z-index: 10000;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .mag-modal__close:hover,
  .mag-modal__close:active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
  }

  .mag-modal__close svg {
    width: 11px;
    height: 11px;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.6;
    flex-shrink: 0;
  }

  .mag-close-label {
    display: inline;
  }


  /* Form fields — prevent iOS auto-zoom */
  .mag-step .field {
    font-size: 15px;
    padding: 12px 0;
  }

  .mag-step .field-row input {
    font-size: 15px;
  }

  input,
  select,
  textarea {
    font-size: 15px;
  }

  /* Appointment */
  .appt {
    padding: 60px 20px 20px;
  }

  .appt__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .appt__img {
    height: 320px;
  }

  .appt__form input,
  .appt__form select,
  .appt__form button {
    width: 100%;
  }

  /* Touch targets */
  /* button,
  a,
  [role="button"],
  .quiz-opt,
  .quiz-option {
    min-height: 44px;
  } */

  .nav-links {
    display: none;
  }

  .nav-logo {
    font-size: clamp(14px, 4vw, 18px);
  }

  .mag-section {
    padding: 48px 20px;
  }

  .appt__img img {
    height: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }

  .edit-grid {
    grid-template-columns: 1fr;
  }

  .prod-grid,
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .appt-form {
    grid-template-columns: 1fr;
  }

  .appt-form input,
  .appt-form select,
  .appt-form button {
    width: 100%;
  }

  .split-worlds {
    min-height: unset;
    padding-bottom: 0px;
  }

  .sw-rows-wrap {
    flex: unset;
  }

  .sw-row,
  .sw-row--2 {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }

  .sw-row-img {
    height: 56vw;
    min-height: 200px;
    position: relative;
    order: 1;
  }

  .sw-img-inner {
    position: absolute;
  }

  .sw-img-inner-two{
    background-position: center;
  }

  .sw-row-text {
    order: 2;
  }

  .sw-row-text--right,
  .sw-row-text--left {
    padding: 28px 22px;
  }

  .sw-text-body {
    max-width: 100%;
  }

  .sw-heading-block {
    padding: 44px 22px 6px;
  }

  .sw-toggle-zone {
    padding: 18px 22px 14px;
  }
}

@media (max-width: 600px) {
  .quiz-question-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .quiz-back {
    align-self: flex-start;
    min-height: 44px;
  }
}

@media (max-width: 480px) {

  /* Book becomes a vertical stack always (covers form step + flipbook) */
  .mag-book {
    flex-direction: column;
    width: 100vw;
    max-width: none;
    height: 85vh;
    border-radius: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
  }

  /* Top: full-width hero image strip */
  .mag-book__left {
    width: 100%;
    height: 180px;
    flex: none;
    position: relative;
    overflow: hidden;
    background-image: url('https://staticimg.tanishq.co.in/microsite/souls-in-symphony/assets/images/private-look.jpg');
    background-size: cover;
    background-position: 80% 65%;
    border-left: none;
    box-shadow: none;
    display: block;
    min-width: 0;
  }

  .mag-book__left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 60%);
    pointer-events: none;
    z-index: 1;
  }

  .mag-book__left-content {
    display: none;
  }

  /* Personalised name pinned top-left over hero */
  .mag-book__personal {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    bottom: auto;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 3;
  }

  /* Spine stays hidden */
  .mag-book__spine {
    display: none;
  }

  /* Bottom: right panel fills remaining height */
  .mag-book__right {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: left center;
    transform-style: preserve-3d;
  }

  /* Disable the desktop/tablet rotateY open animation on mobile column */
  .mag-book.is-opening .mag-book__right {
    animation: none;
  }

  /* Flip container: critical fix — positioning context for absolute pages */
  .mag-flip {
    position: relative;
    inset: auto;
    flex: 1;
    display: none;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  .mag-flip.show {
    display: flex;
  }

  .mag-flip__pages {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
  }

  .mag-page-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
  }

  /* Editorial page composition */
  .mag-page-img {
    width: 100%;
    height: 52%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }

  .mag-page-panel {
    flex: 1;
    height: auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px;
    background: #FAF8F4;
    box-sizing: border-box;
  }

  .mag-page-prod {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 4px;
    padding: 10px 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    margin-bottom: 10px;
    border-bottom: none;
  }

  .mag-page-prod:last-child {
    margin-bottom: 0;
  }

  .mag-page-prod img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .mag-page-prod .pname {
    font-size: 12px;
  }

  .mag-page-prod .pdesc {
    font-size: 10px;
  }

  .mag-page-panel .lbl {
    font-size: 10px;
    margin-bottom: 12px;
  }

  /* Nav pinned to bottom of right panel */
  .mag-flip__nav {
    flex-shrink: 0;
    padding: 10px 14px;
    border-top: 1px solid #E8E4DF;
    background: #fff;
  }

  /* Step 1 form sits in the bottom panel cleanly */
  .mag-step {
    padding: 24px 20px;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 380px) {

  .prod-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }
}