@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/ClashGrotesk-Regular.otf") format("opentype");
}

@font-face {
  font-family: "IndustryTest-Medium";
  src: url("../fonts/IndustryTest-Medium.otf") format("opentype");
}

@font-face {
  font-family: "IndustryTest-DemiItalic";
  src: url("../fonts/IndustryTest-DemiItalic.otf") format("opentype");
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/Sofia Pro Regular Az.otf") format("opentype");
}

:root {
  --poppins-font: "Poppins", sans-serif;
  --indus-medium-font: "IndustryTest-Medium", sans-serif;
  --indus-font: "IndustryTest-DemiItalic", sans-serif;
  --clash-font: "Clash Grotesk";
  --sofia-font: "Sofia Pro", sans-serif;
  --black: #000000;
  --white: #ffffff;
  --gold: #c9a24f;
  --gold-soft: #d8b872;
  --muted: #c7c2ba;
  --line: rgba(201, 162, 79, 0.45);
  --outfit-font: "Outfit", sans-serif;
  --figtree-font: "Figtree", sans-serif;
  --page-bg: #dcd9d0;
  --page-bg-soft: #e3e6e1;
  --text-dark: #1a1a1a;
  --text-body: #3a3a3a;
  --text-muted: #666666;
  --brown: #6b4a2e;
  --brown-btn: #7a5c3a;
  --card-bg: #b8956f;
  --card-border: #8b7355;
  --nav-bg: rgba(220, 218, 211, 0.96);
}

::selection {
  background-color: var(--gold);
  color: var(--black);
}

::-webkit-scrollbar {
  height: 0.5rem;
  width: 0.7rem;
  background-color: var(--black);
}

::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 12px;
  border: 3px solid var(--black);
}

body,
html {
  overflow-x: hidden;
}

/* Lenis smooth scroll */
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;
}

body {
  background-color: var(--page-bg-soft);
  color: var(--text-dark);
  font-family: var(--figtree-font);
  line-height: 1.6;
}

/* Custom cursor — outer + inner circle (desktop only) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

body.has-custom-cursor .custom-cursor {
  opacity: 1;
  visibility: visible;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select,
body.has-custom-cursor label[for],
body.has-custom-cursor .btn-pill,
body.has-custom-cursor .nav-toggle {
  cursor: none;
}

.cursor-outer,
.cursor-inner {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-outer {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(201, 162, 79, 0.75);
  background: rgba(201, 162, 79, 0.06);
  transition:
    width 0.35s ease,
    height 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 162, 79, 0.55);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    background 0.3s ease,
    opacity 0.3s ease;
}

body.has-custom-cursor.is-cursor-hover .cursor-outer {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
  background: rgba(201, 162, 79, 0.14);
}

body.has-custom-cursor.is-cursor-hover .cursor-inner {
  width: 5px;
  height: 5px;
  opacity: 0.85;
}

body.has-custom-cursor.is-cursor-click .cursor-outer {
  width: 34px;
  height: 34px;
  background: rgba(201, 162, 79, 0.22);
}

body.has-custom-cursor.is-cursor-click .cursor-inner {
  width: 12px;
  height: 12px;
}

body.has-custom-cursor.is-cursor-hidden .custom-cursor {
  opacity: 0;
  visibility: hidden;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Shared type */
.section-heading {
  font-family: var(--indus-medium-font);
  font-weight: 500;
  font-size: 54px;
  line-height: 65px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading.center {
  text-align: center;
}

.section-eyebrow {
  font-family: var(--clash-font);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 30px;
  margin: 10px 0;
  color: var(--text-muted);
  letter-spacing: 13px;
}

.section-eyebrow.gold {
  color: var(--brown);
}

.section-eyebrow.center {
  text-align: center;
}

.section-para {
  font-size: 18px;
  color: var(--text-body);
  max-width: 100%;
  line-height: 30px;
  margin: 20px 0;
}

.section-para.center {
  margin-inline: auto;
  text-align: center;
  /* max-width: 62ch; */
}

/* Buttons */
.btn-pill {
  display: block;
  margin-top: 30px;
  padding: 10px 35px;
  border-radius: 40px;
  width: fit-content;
  border: 1px solid var(--brown-btn);
  background: var(--brown-btn);
  color: var(--white);
  font-family: var(--figtree-font);
  font-size: 20px;
  letter-spacing: -0.6px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.btn-pill:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

/* Intro: full black overlay */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: #000000;
  pointer-events: none;
}

.intro-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Intro logo (flies from center to navbar) */
.intro-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  width: clamp(240px, 28vw, 380px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

.intro-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-logo.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loading state — hidden until intro finishes */
body.is-loading {
  overflow: hidden;
}

/* Simple layout (≤1024px / inner pages): skip intro — show everything immediately */
body.is-simple-layout .nav-menu .nav-logo,
body.is-simple-layout .nav-logo-mobile,
body.is-simple-layout .nav-list li,
body.is-simple-layout .hero-content > *,
body.is-simple-layout .hero-tap {
  opacity: 1;
  visibility: visible;
}

/* Keep .nav-logo's translate(-50%) so it stays viewport-centered */
body.is-simple-layout .nav-logo-mobile,
body.is-simple-layout .nav-list li,
body.is-simple-layout .hero-content > *,
body.is-simple-layout .hero-tap {
  transform: none;
}

body.is-simple-layout .intro-overlay,
body.is-simple-layout .intro-logo {
  display: none;
}

body.is-simple-layout .scene-stage > *,
body.is-simple-layout .scene-panel > * {
  opacity: 1;
  visibility: visible;
}

body.is-simple-layout .story-section__pin > * {
  opacity: 1;
  visibility: visible;
}

body.is-simple-layout .floating-book {
  display: none;
}

body.is-loading .nav-menu .nav-logo,
body.is-loading .nav-logo-mobile {
  opacity: 0;
}

/* Nav links wait above the bar until the logo has docked (JS drops them in) */
body.is-loading .nav-list li {
  opacity: 0;
}

/* Hero "tap" hint stays hidden (and its pulse paused) during the intro */
body.is-loading .hero-tap {
  animation: none;
  opacity: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Header — light theme (hero / dark bg sections) */
body.header-light .site-header {
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.header-light .nav-list a,
body.header-light .nav-icon a {
  color: var(--white);
}

body.header-light .nav-icon a.account svg {
  color: var(--white);
}

body.header-light .nav-logo .logo-dark,
body.header-light .nav-logo-mobile .logo-dark {
  opacity: 0;
}

body.header-light .nav-logo .logo-light,
body.header-light .nav-logo-mobile .logo-light {
  opacity: 1;
}

/* Header — dark theme (light bg sections) */
body.header-dark .site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.header-dark .nav-list a,
body.header-dark .nav-icon a {
  color: var(--text-dark);
}

body.header-dark .nav-icon a.account svg {
  color: var(--text-dark);
}

body.header-dark .nav-logo .logo-light,
body.header-dark .nav-logo-mobile .logo-light {
  opacity: 0;
}

body.header-dark .nav-logo .logo-dark,
body.header-dark .nav-logo-mobile .logo-dark {
  opacity: 1;
}

/* Stack both logos in one cell — opacity crossfade only (no layout jump) */
.nav-logo {
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.nav-logo img,
.nav-logo-mobile img {
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-height: 150px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  will-change: opacity;
}

body.header-light .nav-logo .logo-light,
body.header-light .nav-logo-mobile .logo-light,
body:not(.header-dark):not(.header-light) .nav-logo .logo-light,
body:not(.header-dark):not(.header-light) .nav-logo-mobile .logo-light {
  opacity: 1;
}

.navbar-main {
  max-width: 1600px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 0;
}

.nav-left {
  padding: 0;
  justify-content: flex-start;
}

.nav-right {
  padding: 0;
  justify-content: flex-end;
}

.nav-list a {
  font-family: var(--sofia-font);
  font-size: 18px;
  color: var(--text-dark);
  position: relative;
  font-weight: 400;
  transition: color 0.45s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-list a:hover {
  color: var(--brown);
}

.nav-list a:hover::after,
.nav-list a.is-active::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}

.nav-list a.is-active,
.nav-list a[aria-current="page"] {
  color: var(--brown);
}

.nav-icon a.account svg {
  color: var(--brown);
}

.nav-icon a svg {
  height: 25px;
  width: 25px;
}

.nav-icon a {
  display: grid;
  place-items: center;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-icon:first-of-type a {
  color: var(--brown);
}

.nav-icon a:hover {
  color: var(--brown-btn);
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  top: 0;
  z-index: 2;
}

.nav-logo img {
  height: auto;
}

.nav-logo-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

body.header-light .nav-toggle span {
  background: var(--white);
}

body.header-dark .nav-toggle span {
  background: var(--text-dark);
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.35s ease;
}

/* Section 1 — Hero */
.section-hero .story-layer,
.section-hero {
  flex-direction: column;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  will-change: transform, opacity;
  color: var(--white);
}

.hero-welcome,
.hero-title,
.hero-sub {
  color: var(--white);
}

.hero-desc {
  color: var(--white);
}

.hero-welcome {
  font-family: var(--clash-font);
  letter-spacing: 13px;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 39px;
  line-height: 40px;
}

.hero-title {
  font-family: var(--indus-font);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 76px;
  letter-spacing: 3px;
  line-height: 75px;
  margin-bottom: 28px;
}

.hero-sub {
  font-family: var(--sofia-font);
  letter-spacing: 10px;
  text-transform: uppercase;
  font-size: 36px;
  margin: 0;
}

.hero-tap {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--outfit-font);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.75);
  animation: tapPulse 2s ease-in-out infinite;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  pointer-events: auto;
}

@keyframes tapPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -6px);
  }
}

.content-wrap {
  position: relative;
  z-index: 1;
}

/* Lock page until pin timeline is ready — prevents layout jerk after intro */
body.has-story-scroll:not(.pins-ready) {
  overflow: hidden;
}

/* Footer hidden during pinned story — shown after testimonials (normal scroll) */
body.has-story-scroll:not(.story-unlocked) .site-footer {
  display: none;
}

body.has-story-scroll.story-unlocked .site-footer {
  display: block;
}

/* After story unlock, keep testimonials as the last frame */
body.has-story-scroll.story-unlocked .section-testimonials {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide non-hero layers only before pin timeline boots — after that GSAP owns visibility */
body.has-story-scroll:not(.pins-ready) .story-layer:not(.section-hero) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ============================================================
   Single pinned scroll story — all layers stacked, zero gaps
   ============================================================ */
.scroll-story {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
}

.scroll-story__stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.story-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  will-change: opacity, visibility;
  pointer-events: none;
}

.story-layer.is-active {
  pointer-events: auto;
}

.story-layer.section-hero {
  z-index: 6;
}

.story-layer.section-stories {
  z-index: 5;
}

.story-layer.section-genesis {
  z-index: 4;
  align-items: stretch;
}

.story-layer.section-author {
  z-index: 3;
}

.story-layer.section-trailer {
  z-index: 2;
}

.story-layer.section-gallery {
  z-index: 1;
}

.story-layer.section-testimonials {
  z-index: 0;
}

/* legacy aliases */
.story-section,
.story-section__pin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-bg--hero,
.section-bg--author {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
}

video.section-bg--hero {
  display: block;
  object-fit: cover;
}

.section-bg--light {
  background: var(--page-bg-soft);
}

.section-bg--trailer {
  background: #14110e;
}

.trailer-layout {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(1.5rem, 4vh, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  box-sizing: border-box;
}

.trailer-heading {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.trailer-frame {
  width: min(960px, 92vw, calc(58vh * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.trailer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.section-bg--gallery {
  background: #f0f0eb;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section-bg-overlay--hero {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.7)
  );
}

.section-bg-overlay--author {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
}

/* Floating book — travels sections 2 → 4 (horizontal rotate) */
.floating-book {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: min(440px, 34vw);
  max-height: min(58vh, calc(100vh - 9rem));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
}

.floating-book img {
  width: 100%;
  height: auto;
  max-height: min(58vh, calc(100vh - 9rem));
  object-fit: contain;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.floating-book.is-active {
  visibility: visible;
}

/* Section grids */
.section-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: 0 2rem;
  display: grid;
  align-items: center;
  gap: 2rem;
}

.section-grid--stories {
  grid-template-columns: 1fr 1fr;
}

.section-grid--author {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.section-grid__content {
  max-width: 580px;
}

.stories-content {
  justify-self: end;
  padding-right: 1rem;
}

.author-content .section-heading,
.author-content .section-para,
.author-content .section-eyebrow {
  color: var(--white);
}

.author-content .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* Genesis layout — text + book top, cards bottom */
.genesis-layout,
.gallery-layout,
.testimonials-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1500px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.genesis-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.genesis-text {
  max-width: 580px;
}

.section-grid__visual--book-slot {
  min-height: 420px;
  width: min(550px);
  justify-self: start;
}

.genesis-book-slot {
  min-height: 380px;
  width: min(440px, 38vw);
  justify-self: end;
  align-self: center;
}

/* Genesis — fit heading + book + cards inside one viewport */
.section-genesis .genesis-layout {
  justify-content: space-between;
  gap: clamp(1rem, 2.5vh, 2rem);
  padding: clamp(6.5rem, 11vh, 7.5rem) clamp(1.5rem, 4vw, 3rem)
    clamp(1.25rem, 2.5vh, 2rem);
  box-sizing: border-box;
  max-height: 100%;
}

.section-genesis .genesis-top {
  flex-shrink: 1;
  min-height: 0;
  align-items: start;
  padding-top: clamp(0.5rem, 1.5vh, 1rem);
}

.section-genesis .genesis-text {
  max-width: min(580px, 46vw);
}

.section-genesis .genesis-text .section-heading,
.section-genesis .genesis-intro .section-heading {
  font-size: clamp(1.85rem, 3.8vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: clamp(0.5rem, 1.2vh, 0.85rem);
}

/* Left genesis heading — laptop scale (keeps clear of header) */
.section-genesis .genesis-text .section-heading {
  font-size: clamp(1.7rem, 2.6vw, 2.65rem);
  line-height: 1.15;
}

.section-genesis .genesis-text .section-para,
.section-genesis .genesis-intro .section-para {
  font-size: clamp(0.875rem, 1vw, 1rem);
  line-height: 1.45;
  margin-bottom: clamp(0.65rem, 1.2vh, 1rem);
}

.section-genesis .genesis-book-slot {
  min-height: 0;
  height: clamp(180px, 26vh, 300px);
  width: min(340px, 28vw);
  justify-self: end;
  align-self: start;
  margin-top: 0;
}

.section-genesis .genesis-intro {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.section-genesis .genesis-intro .section-heading,
.section-genesis .genesis-intro .section-para {
  text-align: center;
  margin-inline: auto;
}

.section-genesis .genesis-intro .section-para {
  max-width: 720px;
}

/* —— Responsive: genesis headings — laptop ladder —— */
@media (max-width: 1600px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.45rem, 2.15vw, 2.2rem);
    line-height: 1.15;
    margin-top: clamp(0.75rem, 2.5vh, 1.5rem);
    margin-bottom: 0.55rem;
  }

  .section-genesis .genesis-intro .section-heading {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    margin-bottom: 0.35rem;
  }

  .section-genesis .genesis-intro .section-para {
    font-size: clamp(0.8rem, 0.95vw, 0.9rem);
    line-height: 1.35;
    margin-bottom: 0;
  }
}

@media (max-width: 1500px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.4rem, 2.05vw, 2.05rem);
  }
}

@media (max-width: 1440px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.35rem, 2vw, 1.95rem);
  }
}

@media (max-width: 1400px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.3rem, 1.95vw, 1.85rem);
  }
}

@media (max-width: 1366px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    margin-bottom: 0.45rem;
  }

  .section-genesis .genesis-intro .section-heading {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    margin-bottom: 0.25rem;
  }

  .section-genesis .genesis-intro .section-para {
    font-size: clamp(0.78rem, 0.9vw, 0.85rem);
    line-height: 1.3;
    margin-bottom: 0;
  }
}

@media (max-width: 1280px) {
  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.2rem, 1.85vw, 1.65rem);
  }

  .section-genesis .genesis-intro .section-heading {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    margin-bottom: 0.2rem;
  }

  .section-genesis .genesis-intro .section-para {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
}

.section-genesis .cards {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: min(1280px, 100%);
  margin-inline: auto;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.section-genesis .card {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: clamp(0.9rem, 1.2vw, 1.25rem);
  box-sizing: border-box;
}

.section-genesis .card-img {
  margin-bottom: clamp(0.55rem, 1vh, 0.85rem);
  border-radius: 14px;
  overflow: hidden;
}

.section-genesis .card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: clamp(140px, 18vh, 190px);
  object-fit: cover;
  display: block;
}

.section-genesis .card-title {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.section-genesis .card-text {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* -webkit-box-orient: vertical; */
  overflow: hidden;
}

/* Author composite */
.author-composite {
  position: relative;
  justify-self: start;
}

.author-book-slot {
  position: absolute;
  left: 45%;
  top: 65%;
  width: 500px;
  min-height: 80px;
  pointer-events: none;
}

.rating-pill {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  width: fit-content;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.55);
}

.rating-pill .stars {
  color: #f3a219;
  font-size: 23px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 50px;
  margin: 20px 0;
  font-family: var(--clash-font);
}

.price-now {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-dark);
}

.price-old {
  color: rgba(102, 102, 102, 0.7);
  text-decoration: line-through;
  font-size: 30px;
}

.scene-text--genesis .section-para {
  margin-top: 1.4rem;
}

/* Author */
.author-frame {
  position: relative;
  width: min(550px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.author-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.scene-author-img {
  display: none;
}

.cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: 1120px;
  gap: 1.25rem;
}

.card {
  border: 3px solid var(--card-border);
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.6rem;
  width: calc(100% / 3 - 14px);
  background: var(--card-bg);
  text-align: left;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.card-raised {
  margin-top: 0;
}

.card:hover {
  border-color: var(--brown);
  transform: translateY(-4px);
}

.card-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.card-icon {
  display: none;
}

.card-title {
  font-family: var(--indus-medium-font);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.8rem;
}

.card-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.card-btn {
  display: none;
}

/* Gallery — Section 5 */
.story-layer.section-gallery {
  align-items: stretch;
}

.gallery-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  /* max-width: 1180px; */
  margin-inline: auto;
  padding: clamp(5.5rem, 9vh, 6.5rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(1.5rem, 3vh, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 2%;
  gap: 40px;
  height: 100%;
  box-sizing: border-box;
}

.gallery-heading {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.gallery-polaroids {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: min(1480px, 94vw);
  min-height: clamp(320px, 44vh, 460px);
  padding: 0.5rem 0 1rem;
}

.polaroid {
  flex: 0 0 auto;
  width: clamp(280px, 20vw, 380px);
  max-width: none;
  margin-left: clamp(-2.25rem, -1.6vw, -1.25rem);
  z-index: calc(var(--i) + 1);
}

.polaroid:first-child {
  margin-left: 0;
}

.polaroid-tilt {
  transform-origin: 50% 80%;
}

.polaroid-tilt--1 {
  transform: rotate(7deg) translateY(-14px);
}

.polaroid-tilt--2 {
  transform: rotate(-5deg) translateY(16px);
}

.polaroid-tilt--3 {
  transform: rotate(6deg) translateY(-6px);
}

.polaroid-tilt--4 {
  transform: rotate(-7deg) translateY(18px);
}

.polaroid-frame {
  /* background: #fff; */
  padding: 0.55rem 0.55rem 2.85rem;
  /* box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.11),
    0 8px 18px rgba(0, 0, 0, 0.07); */
  overflow: hidden;
}

.polaroid-img {
  width: 100%;
  height: auto;
  /* aspect-ratio: 3 / 4; */
  object-fit: cover;
  object-position: center;
  display: block;
  /* box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07); */
}

.gallery-cta {
  text-align: center;
  margin-top: 0.25rem;
}

.gallery-cta .btn-pill,
.btn-pill--gallery {
  margin-inline: auto;
  margin-top: 0;
  min-width: 168px;
  padding: 0.85rem 2.4rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* Testimonials — Section 6 */
.testimonials-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(5rem, 8vh, 6.5rem) clamp(1.25rem, 3vw, 2.5rem)
    clamp(1.25rem, 3vh, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vh, 2.5rem);
  height: 100%;
  box-sizing: border-box;
}

.testimonials-heading {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.15;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1500px;
  box-sizing: border-box;
}

.testimonials-cta {
  text-align: center;
  margin-top: 0.25rem;
}

.testimonials-cta .btn-pill {
  margin-inline: auto;
  min-width: 168px;
  padding: 0.85rem 2.4rem;
}

.review-card {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-radius: 6px;
  min-height: clamp(220px, 28vh, 300px);
  aspect-ratio: 2.15 / 1;
  padding: 50px 0 50px 170px;
  /* box-shadow: 0 16px 42px rgba(0, 0, 0, 0.1); */
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card--bg1 {
  background-image: url("../images/test-back1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.review-card--bg2 {
  background-image: url("../images/test-back2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background art already has avatar, accent, quote & stars */
.review-card--bg1 .review-accent,
.review-card--bg2 .review-accent,
.review-card--bg1 .review-pattern,
.review-card--bg2 .review-pattern,
.review-card--bg1 .review-avatar,
.review-card--bg2 .review-avatar,
.review-card--bg1 .review-stars,
.review-card--bg2 .review-stars {
  display: none;
}

.review-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 40px;
}

.review-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #f3a219;
}

.review-pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(100, 180, 220, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.review-avatar {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: visible;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #ddd;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review-quote {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3a219;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.review-text {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  max-width: 92%;
}

.review-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.review-name {
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-dark);
  margin: 0;
}

.review-role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.review-stars {
  color: #f3a219;
  letter-spacing: 2px;
  font-size: 1.05rem;
}

/* Light section typography */
.story-section .section-heading {
  color: var(--text-dark);
}

.story-section .section-para {
  color: var(--white);
}

.story-section .section-eyebrow {
  color: var(--text-muted);
  font-size: 22px;
  letter-spacing: 8px;
}

/* Footer */
.site-footer {
  background: url(../images/footer-bg.png) center/cover no-repeat;
  position: relative;
  z-index: 1;
  padding: 3.5rem 2rem 1.4rem;
}

.footer-top {
  max-width: 1600px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
}

.footer-title {
  font-family: var(--outfit-font);
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.4rem;
  color: var(--white);
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-line:hover {
  color: var(--gold-soft);
}

.footer-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  flex-shrink: 0;
  background: #7e593f;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-logo {
  width: min(280px, 55vw);
}

.footer-social {
  display: flex;
  gap: 0.9rem;
}

.footer-social a {
  background: #7e593f;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.footer-news {
  text-align: left;
}

.footer-news-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.news-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 0.3rem 0.3rem 0.3rem 1.2rem;
  max-width: 360px;
}

.news-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--figtree-font);
  font-size: 0.9rem;
}

.news-form input::placeholder {
  color: rgba(199, 194, 186, 0.7);
}

.footer-col {
  width: calc(100% / 3 - 176px);
}

.news-form button {
  border: none;
  cursor: pointer;
  background: #7e593f;
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-family: var(--sofia-font);
  font-size: 18px;
  transition: background 0.3s ease;
}

.news-form button:hover {
  background: var(--gold-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0;
}

.footer-nav a {
  font-size: 20px;
  font-family: var(--sofia-font);
  color: var(--white);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  max-width: 1600px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  font-size: 20px;
  color: var(--white);
}

.footer-bottom strong {
  color: var(--white);
  font-weight: 600;
}

/* Reveal helper (GSAP toggles these) */
.reveal {
  opacity: 0;
}

/* ============================================================
   Inner pages — static layout (no scroll story)
   ============================================================ */

body.page-inner {
  overflow-x: hidden;
  background: var(--page-bg);
}

body.page-inner .content-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-inner .site-footer {
  display: block;
  margin-top: auto;
}

/* Video hero banner — inner pages */
.page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.72)
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(5.5rem, 12vh, 7rem) 1.5rem clamp(2.5rem, 5vh, 3.5rem);
  max-width: 1100px;
}

.page-hero__content .hero-welcome {
  margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.35em;
  line-height: 1.3;
}

.page-hero__content .hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.page-hero__content .hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  letter-spacing: 0.25em;
  line-height: 1.4;
}

/* Inner-page banners only, 1600px–1366px.
   Header is fixed over the hero; keep the title block below it. */
@media (max-width: 1600px) and (min-width: 1366px) {
  body.page-inner .page-hero {
    padding-top: 8.5rem;
    min-height: clamp(440px, 62vh, 560px);
  }

  body.page-inner .page-hero__content {
    padding-top: clamp(1rem, 2vh, 1.75rem);
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }
}

.inner-page {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vh, 3.5rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(3rem, 6vh, 4.5rem);
  box-sizing: border-box;
}

.inner-page__hero {
  text-align: left;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.inner-page__hero .section-heading.center,
.inner-page__hero.center,
.inner-page__hero:has(.center) {
  text-align: center;
}

.inner-page__hero .section-heading.center {
  margin-inline: auto;
}

.inner-page__hero .section-para.center {
  max-width: 640px;
  margin-inline: auto;
}

.inner-section {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.inner-section:last-child {
  margin-bottom: 0;
}

.inner-section--book {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.inner-book-visual {
  display: flex;
  justify-content: center;
}

.inner-book-visual img {
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
}

.inner-section__content .price {
  margin-top: 0;
}

.inner-section__content .btn-pill {
  margin-bottom: 1.25rem;
}

/* .inner-section--genesis .inner-genesis-intro {
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 3vh, 2.5rem);
} */

.inner-section--genesis .cards {
  max-width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.inner-section--genesis .cards .card {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: 360px;
}

.inner-section--genesis .card-img img {
  aspect-ratio: 16 / 10;
  max-height: clamp(100px, 14vh, 150px);
  width: 100%;
  object-fit: cover;
}

.inner-section--author {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  background: url("../images/banner2-img.png") center / cover no-repeat;
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.inner-section--author::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.inner-section--author > * {
  position: relative;
  z-index: 1;
}

.inner-section--author .author-frame {
  width: min(420px, 100%);
  margin-inline: auto;
}

.author-content-static .section-eyebrow,
.author-content-static .section-heading,
.author-content-static .section-para {
  color: var(--white);
}

.inner-section--gallery .gallery-polaroids {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: min(1180px, 100%);
  min-height: auto;
  margin-inline: auto;
  padding: 1rem 0 2rem;
}

.inner-section--gallery .polaroid {
  margin-left: 0;
  position: relative;
  width: clamp(180px, 18vw, 260px);
}

.inner-section--blogs .testimonial-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vh, 3.5rem);
  max-width: 920px;
  margin-inline: auto;
  padding: 1rem 0 0.5rem;
}

.inner-section--blogs .review-card {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.inner-section--blogs {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 3rem);
}

.blogs-intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.blogs-intro .section-para {
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 1180px;
  margin-inline: auto;
  width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(90, 70, 50, 0.12);
  border-radius: 18px;
}

.blog-card__title {
  font-family: var(--indus-medium-font);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.blog-card__text {
  font-family: var(--figtree-font);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(40, 32, 24, 0.78);
  margin: 0;
  flex: 1;
}

.blog-card__link {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.blogs-cta {
  max-width: 780px;
  margin: clamp(1rem, 3vh, 2rem) auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-note {
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.contact-note {
  margin-top: 1.35rem;
}

.contact-note__title {
  font-family: var(--sofia-font);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  margin: 0 0 0.45rem;
}

.contact-note__text {
  font-family: var(--figtree-font);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.inner-section--contact .contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1100px;
  margin-inline: auto;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 22px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.contact-panel__info .footer-line {
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel__info .footer-line:hover {
  color: var(--gold-soft);
}

.contact-panel__social {
  margin-top: 1.25rem;
}

.contact-panel__lead,
.contact-panel__form .footer-news-sub {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.35rem;
}

.contact-alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  font-family: var(--figtree-font);
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-alert--success {
  background: rgba(80, 160, 100, 0.22);
  border: 1px solid rgba(120, 200, 140, 0.45);
  color: #d8f5df;
}

.contact-alert--error {
  background: rgba(180, 70, 70, 0.22);
  border: 1px solid rgba(220, 120, 120, 0.45);
  color: #ffd5d5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form__field span {
  font-family: var(--sofia-font);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
}

.contact-form__field span em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--figtree-font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(199, 194, 186, 0.65);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: rgba(201, 162, 79, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 0.35rem;
  border: none;
  cursor: pointer;
}

/* Contact thank-you modal */
.thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.thankyou-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.thankyou-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(6px);
}

.thankyou-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 2.4rem 2rem 2rem;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 79, 0.18), transparent 55%),
    linear-gradient(165deg, #2a241c 0%, #1a1612 55%, #14110e 100%);
  border: 1px solid rgba(201, 162, 79, 0.4);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.thankyou-modal.is-open .thankyou-modal__dialog {
  transform: translateY(0) scale(1);
}

.thankyou-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.thankyou-modal__close:hover {
  color: var(--white);
  border-color: rgba(201, 162, 79, 0.55);
  background: rgba(201, 162, 79, 0.12);
}

.thankyou-modal__icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.85rem;
  background: rgba(201, 162, 79, 0.12);
  border: 1px solid rgba(201, 162, 79, 0.45);
  animation: thankyou-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.thankyou-modal__eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--sofia-font);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.thankyou-modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--outfit-font);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}

.thankyou-modal__text {
  margin: 0 auto 1.5rem;
  max-width: 32ch;
  font-family: var(--figtree-font);
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.thankyou-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  min-width: 9.5rem;
}

@keyframes thankyou-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.thankyou-open {
  overflow: hidden;
}

.footer-nav a.is-active,
.footer-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.blog-text{
  text-align: center;
  color: #000000;
  font-size: 45px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-family: var(--indus-medium-font);
}

/* ============================================================
   RESPONSIVE — screen ladder
   1600 → 1500 → 1440 → 1400 → 1366 → 1280 → 1200
   ≤1024: GSAP off, logo + hamburger, left sidebar (→ mobile)
   ============================================================ */

/* —— 1600 —— */
@media (max-width: 1600px) {
  .footer-col {
    width: calc(100% / 3 - 135px);
  }

  .navbar-main {
    max-width: 1480px;
  }

  .nav-list {
    gap: 1.6rem;
  }

  .nav-list a {
    font-size: 16px;
  }

  .nav-logo {
    top: 6%;
  }

  .nav-logo img {
    max-height: 120px;
    max-width: 130px;
  }

  .hero-title {
    font-size: clamp(3.25rem, 4.6vw, 4.25rem);
    line-height: 1.08;
  }

  .hero-welcome {
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    letter-spacing: 10px;
    margin-bottom: 1.35rem;
  }

  .hero-sub {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    letter-spacing: 8px;
  }

  .section-heading {
    font-size: clamp(2.15rem, 3.2vw, 2.85rem);
    line-height: 1.18;
  }

  .section-eyebrow {
    font-size: clamp(1rem, 1.7vw, 1.5rem);
    letter-spacing: 6px;
  }

  .section-para {
    font-size: 1rem;
    line-height: 1.55;
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1420px;
  }

  .floating-book {
    width: min(420px, 30vw);
    max-height: min(54vh, calc(100vh - 9rem));
  }

  .floating-book img {
    max-height: min(54vh, calc(100vh - 9rem));
  }

  .section-grid__visual--book-slot {
    width: min(440px, 34vw);
    min-height: 380px;
  }

  .section-genesis .genesis-book-slot {
    width: min(320px, 26vw);
    height: clamp(170px, 24vh, 280px);
  }

  .section-genesis .cards {
    max-width: min(1240px, 100%);
    gap: 1.25rem;
  }

  .section-genesis .card {
    padding: 1rem 1.05rem 1.15rem;
  }

  .section-genesis .card-img img {
    max-height: clamp(130px, 17vh, 175px);
  }

  .section-genesis .card-title {
    font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  }

  .section-genesis .card-text {
    font-size: 0.88rem;
  }

  .gallery-polaroids {
    max-width: min(1360px, 90vw);
    min-height: clamp(300px, 40vh, 420px);
  }

  .polaroid {
    width: clamp(260px, 18.5vw, 340px);
    margin-left: -2rem;
  }

  .author-frame {
    width: min(520px, 38vw);
  }

  .review-card {
    padding: 2.75rem 1.25rem 2.75rem clamp(8.5rem, 12vw, 10.5rem);
  }

  .review-text {
    font-size: 0.95rem;
  }

  .price-now,
  .price-old {
    font-size: 1.25rem;
  }

  .footer-top,
  .footer-bottom {
    max-width: 1420px;
  }

  .footer-logo {
    width: min(200px, 16vw);
  }
}

/* —— 1500 —— */
@media (max-width: 1500px) {
  .navbar-main {
    max-width: 1380px;
  }

  .nav-list {
    gap: 1.4rem;
  }

  .nav-list a {
    font-size: 15.5px;
  }

  .nav-logo img {
    max-height: 100px;
    max-width: 110px;
  }

  .hero-title {
    font-size: clamp(3rem, 4.4vw, 3.9rem);
  }

  .hero-welcome {
    font-size: clamp(1.05rem, 1.55vw, 1.4rem);
    letter-spacing: 9px;
  }

  .hero-sub {
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    letter-spacing: 7px;
  }

  .section-heading {
    font-size: clamp(2rem, 3vw, 2.65rem);
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1320px;
    padding-inline: 1.75rem;
  }

  .section-genesis .genesis-layout {
    padding-top: clamp(7rem, 13vh, 8.5rem);
    gap: 0.75rem;
  }

  .floating-book {
    width: min(390px, 29vw);
  }

  .section-grid__visual--book-slot {
    width: min(420px, 33vw);
    min-height: 350px;
  }

  .author-frame {
    width: min(480px, 36vw);
  }

  .author-book-slot {
    width: min(440px, 34vw);
  }

  .polaroid {
    width: clamp(240px, 17.5vw, 320px);
    margin-left: -1.85rem;
  }

  .footer-col {
    width: calc(100% / 3 - 110px);
  }
}

/* —— 1440 —— */
@media (max-width: 1440px) {
  .navbar-main {
    max-width: 1320px;
  }

  .nav-menu {
    padding: 38px 0;
  }

  .nav-list {
    gap: 1.25rem;
  }

  .nav-list a {
    font-size: 15px;
  }

  .nav-logo img {
    max-height: 92px;
    max-width: 105px;
  }

  .hero-title {
    font-size: clamp(2.85rem, 4.2vw, 3.65rem);
  }

  .section-heading {
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .section-eyebrow {
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    letter-spacing: 0.35em;
    margin: 0.35rem 0 0.5rem;
  }

  .section-para {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0.75rem 0;
  }

  .stories-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: end;
    width: 100%;
    max-width: none;
    padding-right: 2rem;
    gap: 0.85rem;
  }

  .stories-content .section-eyebrow {
    font-size: 1.05rem;
    letter-spacing: 0.4em;
    margin: 0;
  }

  .stories-content .section-heading {
    font-size: clamp(1.95rem, 2.7vw, 2.4rem);
    line-height: 1.2;
    margin: 0;
  }

  .stories-content .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1.5rem;
    margin: 0;
    width: auto;
  }

  .stories-content .price-now,
  .stories-content .price-old {
    font-size: 1.25rem;
  }

  .stories-content .btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 32px;
    font-size: 16px;
  }

  .stories-content .section-para {
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1240px;
  }

  .floating-book {
    width: min(360px, 28vw);
    max-height: min(50vh, calc(100vh - 9rem));
  }

  .floating-book img {
    max-height: min(50vh, calc(100vh - 9rem));
  }

  .section-grid__visual--book-slot {
    width: min(400px, 32vw);
    min-height: 330px;
  }

  .section-genesis .genesis-book-slot {
    width: min(300px, 25vw);
    height: clamp(160px, 22vh, 250px);
  }

  .author-frame {
    width: min(450px, 35vw);
  }

  .polaroid {
    width: clamp(240px, 18vw, 320px);
  }

  .review-card {
    padding: 2.5rem 1.1rem 2.5rem clamp(7.5rem, 11vw, 9.5rem);
  }

  .footer-logo {
    width: min(180px, 15vw);
  }
}

/* —— 1400 —— */
@media (max-width: 1400px) {
  .navbar-main {
    max-width: 1280px;
  }

  .nav-list {
    gap: 1.15rem;
  }

  .nav-logo img {
    max-height: 88px;
    max-width: 100px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 4vw, 3.45rem);
  }

  .hero-welcome {
    font-size: 1.15rem;
    letter-spacing: 8px;
  }

  .hero-sub {
    font-size: 1.5rem;
    letter-spacing: 6px;
  }

  .section-heading {
    font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1180px;
  }

  .floating-book {
    width: min(340px, 27vw);
  }

  .section-grid__visual--book-slot {
    width: min(380px, 31vw);
    min-height: 310px;
  }

  .author-frame {
    width: min(420px, 34vw);
  }

  .author-book-slot {
    width: min(380px, 30vw);
    left: 42%;
  }

  .polaroid {
    width: clamp(230px, 17vw, 300px);
    margin-left: -1.6rem;
  }

  .price-now,
  .price-old {
    font-size: 1.2rem;
  }

  .footer-col {
    width: calc(100% / 3 - 90px);
  }

  .blog-text {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
  }
}

/* —— 1366 —— */
@media (max-width: 1366px) {
  .navbar-main {
    max-width: 1220px;
  }

  .nav-menu {
    padding: 32px 0;
  }

  .nav-list a {
    font-size: 14.5px;
  }

  .nav-logo img {
    max-height: 80px;
    max-width: 95px;
  }

  .hero-title {
    font-size: clamp(2.55rem, 3.9vw, 3.25rem);
  }

  .section-heading {
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  }

  .section-eyebrow {
    font-size: 1.05rem;
    letter-spacing: 5px;
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1120px;
    padding-inline: 1.5rem;
  }

  .floating-book {
    width: min(320px, 26vw);
  }

  .section-grid__visual--book-slot {
    width: min(360px, 30vw);
    min-height: 290px;
  }

  .section-genesis .genesis-book-slot {
    width: min(280px, 24vw);
    height: clamp(150px, 20vh, 230px);
  }

  .section-genesis .card-img img {
    max-height: clamp(110px, 15vh, 150px);
  }

  .author-frame {
    width: min(400px, 33vw);
  }

  .polaroid {
    width: clamp(240px, 18vw, 300px);
    margin-left: -1.75rem;
  }

  .gallery-polaroids {
    min-height: clamp(280px, 42vh, 400px);
  }

  .review-card {
    padding: 2.25rem 1rem 2.25rem clamp(7rem, 10.5vw, 8.5rem);
  }

  .footer-nav a {
    font-size: 17px;
  }

  .footer-bottom {
    font-size: 16px;
  }
}

/* —— 1280 —— */
@media (max-width: 1280px) {
  .navbar-main {
    max-width: 1140px;
  }

  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    font-size: 14px;
  }

  .nav-logo img {
    max-height: 74px;
    max-width: 88px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 3.7vw, 3rem);
  }

  .hero-welcome {
    font-size: 1.05rem;
    letter-spacing: 7px;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 1.3rem;
    letter-spacing: 5px;
  }

  .section-heading {
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  }

  .section-para {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 1040px;
  }

  .floating-book {
    width: min(300px, 25vw);
  }

  .section-grid__visual--book-slot {
    width: min(340px, 29vw);
    min-height: 270px;
  }

  .section-genesis .genesis-layout {
    padding-top: clamp(6.5rem, 12vh, 7.5rem);
  }

  .author-frame {
    width: min(380px, 32vw);
  }

  .author-book-slot {
    width: min(340px, 28vw);
  }

  .polaroid {
    width: clamp(220px, 16.5vw, 280px);
    margin-left: -1.4rem;
  }

  .review-text {
    font-size: 0.88rem;
  }

  .btn-pill {
    font-size: 17px;
    padding: 9px 28px;
  }

  .footer-col {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .footer-logo {
    width: min(160px, 14vw);
  }
}

/* —— 1200 — reference font scale (lock & match other sections) —— */
@media (max-width: 1200px) {
  .navbar-main {
    max-width: 1080px;
  }

  .nav-menu {
    padding: 28px 0;
  }

  .nav-list {
    gap: 0.85rem;
  }

  .nav-list a {
    font-size: 13.5px;
  }

  .nav-logo img {
    max-height: 68px;
    max-width: 82px;
  }

  /* Hero — locked to approved 1200 look */
  .hero-welcome {
    font-size: 15px;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 20px;
    letter-spacing: 6px;
  }

  .hero-desc,
  .section-para {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-tap {
    font-size: 14px;
    letter-spacing: 0.45em;
  }

  /* Same scale for sections */
  .section-eyebrow {
    font-size: 15px;
    letter-spacing: 6px;
  }

  .section-heading {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .price-now,
  .price-old {
    font-size: 18px;
  }

  .btn-pill {
    font-size: 15px;
    padding: 9px 28px;
  }

  .stories-content {
    gap: 0.75rem;
  }

  .stories-content .section-eyebrow {
    font-size: 15px;
    letter-spacing: 6px;
  }

  .stories-content .section-heading {
    font-size: 34px;
    line-height: 1.2;
  }

  .stories-content .price-now,
  .stories-content .price-old {
    font-size: 18px;
  }

  .stories-content .btn-pill {
    font-size: 15px;
    padding: 9px 28px;
  }

  .stories-content .section-para {
    font-size: 14px;
    line-height: 1.5;
  }

  .section-grid,
  .genesis-layout,
  .gallery-layout,
  .testimonials-layout {
    max-width: 980px;
    padding-inline: 1.35rem;
  }

  .floating-book {
    width: min(280px, 24vw);
  }

  .section-grid__visual--book-slot {
    width: min(320px, 28vw);
    min-height: 250px;
  }

  .section-genesis .genesis-book-slot {
    width: min(250px, 22vw);
    height: clamp(140px, 18vh, 210px);
  }

  .section-genesis .genesis-text .section-heading {
    font-size: 34px;
  }

  .author-frame {
    width: min(350px, 31vw);
  }

  .polaroid {
    width: clamp(200px, 16vw, 250px);
  }

  .gallery-polaroids {
    min-height: clamp(260px, 36vh, 360px);
  }

  .gallery-heading,
  .testimonials-heading {
    font-size: 34px;
  }

  .review-card {
    padding: 2rem 0.9rem 2rem clamp(6.5rem, 10vw, 8rem);
  }

  .review-text {
    font-size: 14px;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 15px;
  }
}

/* ============================================================
   ≤1024 — GSAP off / simple layout
   Header: logo left + hamburger right
   Sidebar: slides in from LEFT (same through mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .custom-cursor,
  .intro-overlay,
  .intro-logo {
    display: none !important;
  }

  /* —— Header: logo dead-center, hamburger right —— */
  .navbar-main {
    max-width: none;
    width: 100%;
    padding: 0.85rem 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 76px;
  }

  .nav-logo-mobile {
    display: grid;
    place-items: center;
    z-index: 1003;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }

  .nav-logo-mobile img {
    max-height: 72px;
    max-width: 120px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1003;
    position: absolute;
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .nav-menu .nav-logo {
    display: none !important;
  }

  /* —— Left sidebar —— */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.75rem
      max(2rem, env(safe-area-inset-bottom, 0px));
    background: rgba(12, 10, 8, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: left 0.4s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  body.nav-open .nav-menu {
    left: 0;
    right: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Dim overlay when sidebar open */
  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1000;
  }

  body.nav-open .site-header::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: 100%;
  }

  .nav-list a,
  body.header-light .nav-list a,
  body.header-dark .nav-list a {
    color: var(--white);
    font-size: 1.05rem;
  }

  .nav-icon a,
  body.header-light .nav-icon a,
  body.header-dark .nav-icon a,
  .search-toggle,
  body.header-light .search-toggle,
  body.header-dark .search-toggle {
    color: var(--white);
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.header-light .nav-toggle span,
  body.header-dark .nav-toggle span {
    background: currentColor;
  }

  body.header-light .nav-toggle {
    color: var(--white);
  }

  body.header-dark .nav-toggle {
    color: var(--text-dark);
  }

  body.nav-open .nav-toggle {
    color: var(--white);
  }

  body.nav-open .nav-toggle span {
    background: var(--white);
  }

  /* —— Simple scroll story (no GSAP pin) —— */
  .floating-book {
    display: none !important;
  }

  .scroll-story {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .scroll-story__stage {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .story-layer {
    position: relative !important;
    inset: auto !important;
    /*width: 100%;*/
    /*height: auto !important;*/
    /*min-height: 100vh;*/
    /*min-height: 100svh;*/
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: hidden;
    padding: clamp(5rem, 10vh, 6rem) clamp(1rem, 3.5vw, 1.75rem)
      clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: max(
      clamp(1.5rem, 4vh, 2.5rem),
      env(safe-area-inset-bottom, 0px)
    );
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-footer,
  body.has-story-scroll:not(.story-unlocked) .site-footer {
    display: block !important;
  }

  body.has-story-scroll:not(.pins-ready) .story-layer:not(.section-hero) {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .section-heading {
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    line-height: 1.22;
    margin-bottom: 0.85rem;
  }

  .section-trailer {
    background: #14110e;
  }

  .trailer-layout {
    width: 100%;
    padding: 0;
  }

  .trailer-heading {
    color: var(--white);
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  }

  .trailer-frame {
    width: min(100%, 920px);
    max-height: none;
  }

  .section-eyebrow {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    letter-spacing: 5px;
  }

  .section-para {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.55;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 3.1rem);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .hero-welcome {
    font-size: clamp(0.85rem, 2.5vw, 1.2rem);
    letter-spacing: 5px;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: clamp(1rem, 3vw, 1.45rem);
    letter-spacing: 4px;
  }

  .hero-tap {
    bottom: max(5%, env(safe-area-inset-bottom, 0px));
    letter-spacing: 0.35em;
    font-size: 0.85rem;
  }

  .price-now,
  .price-old {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  }

  .price {
    gap: 1.5rem;
    justify-content: center;
  }

  .btn-pill {
    margin-inline: auto;
    font-size: 1rem;
    padding: 10px 32px;
  }

  .section-grid {
    height: auto;
    max-height: none;
    padding: 0;
    gap: clamp(0.75rem, 2vh, 1.5rem);
  }

  .section-grid--stories,
  .section-grid--author,
  .genesis-top {
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2vh, 1.25rem);
  }

  .stories-content {
    justify-self: center;
    padding-right: 0;
    text-align: center;
    align-items: center;
    max-width: 40rem;
    gap: 0.85rem;
  }

  .genesis-book-slot,
  .section-grid__visual--book-slot,
  .author-book-slot {
    display: none !important;
  }

  .section-stories .section-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Stories book — larger on ≤1024 */
  .section-stories .section-grid::after {
    content: "";
    display: block;
    order: -1;
    width: min(280px, 48vw);
    max-height: min(40vh, 340px);
    aspect-ratio: 3 / 4;
    background: url("../images/book-cross-img.png") center / contain no-repeat;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .genesis-layout {
    gap: clamp(1rem, 2.5vh, 1.5rem);
    justify-content: center;
    padding: 0;
    max-height: none;
    height: auto;
  }

  .genesis-text {
    text-align: center;
    margin-inline: auto;
    max-width: 42rem;
  }

  .section-genesis .genesis-layout {
    padding: 0;
    justify-content: center;
  }

  .section-genesis .genesis-text {
    max-width: 42rem;
  }

  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    text-align: center;
  }

  .section-genesis .genesis-text .section-para {
    font-size: clamp(1rem, 2vw, 1.1rem);
    text-align: center;
    margin-inline: auto;
  }

  .section-genesis .genesis-text .btn-pill {
    margin-inline: auto;
  }

  .section-genesis .genesis-intro {
    display: none;
  }

  /* Remove book from genesis section on ≤1024 */
  .genesis-top::after {
    content: none !important;
    display: none !important;
  }

  .section-genesis .cards {
    gap: 1rem;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .section-genesis .cards .card {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 1rem 1rem 1.15rem;
    border-width: 2px;
    border-radius: 16px;
  }

  .section-genesis .card-img {
    margin-bottom: 0.75rem;
  }

  .section-genesis .card-img img {
    max-height: clamp(120px, 18vh, 170px);
    aspect-ratio: 16 / 10;
    width: 100%;
  }

  .section-genesis .card-title {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    line-height: 1.15;
    margin-bottom: 0.45rem;
  }

  .section-genesis .card-text {
    font-size: clamp(0.85rem, 1.6vw, 0.98rem);
    line-height: 1.45;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .author-composite {
    justify-self: center;
    max-width: min(320px, 55vw);
    width: 100%;
  }

  .author-frame {
    border-radius: 22px;
    width: 100%;
    max-height: min(40vh, 320px);
  }

  .author-frame img {
    width: 100%;
    height: 100%;
    max-height: min(40vh, 320px);
    object-fit: cover;
    object-position: top center;
  }

  .author-content {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
  }

  .author-content .section-heading,
  .author-content .section-para,
  .author-content .section-eyebrow {
    color: var(--text-dark);
  }

  .author-content .section-eyebrow {
    color: var(--text-muted);
  }

  .section-author .section-bg-overlay--author {
    display: none;
  }

  .section-author .section-bg--author {
    opacity: 0.18;
  }

  .section-grid--author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2vh, 1.25rem);
  }

  .gallery-layout {
    gap: clamp(1.25rem, 3vh, 2rem);
    padding: 0;
    justify-content: center;
    height: auto;
  }

  .gallery-heading {
    font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  }

  .gallery-polaroids {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    min-height: 0;
    gap: 0;
    padding: 0.75rem 0.25rem;
  }

  .polaroid {
    width: min(210px, 22vw);
    margin-left: -1.25rem;
  }

  .polaroid:first-child {
    margin-left: 0;
  }

  .polaroid-tilt--1 {
    transform: rotate(5deg) translateY(-6px);
  }

  .polaroid-tilt--2 {
    transform: rotate(-4deg) translateY(8px);
  }

  .polaroid-tilt--3 {
    transform: rotate(5deg) translateY(-4px);
  }

  .polaroid-tilt--4 {
    transform: rotate(-5deg) translateY(10px);
  }

  .polaroid-frame {
    padding: 0.45rem 0.45rem 1.75rem;
  }

  .testimonials-layout {
    padding: 0;
    gap: clamp(1rem, 2.5vh, 1.5rem);
    height: auto;
  }

  .testimonials-heading {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .testimonial-cards {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0;
    max-width: 100%;
  }

  .review-card {
    min-height: 0;
    aspect-ratio: 2.05 / 1;
    padding: clamp(0.85rem, 1.8vw, 1.2rem) clamp(0.7rem, 1.5vw, 1rem)
      clamp(0.7rem, 1.5vw, 1rem) clamp(28%, 9vw, 5.5rem);
  }

  .review-body {
    gap: clamp(0.65rem, 1.5vh, 1.25rem);
  }

  .review-text {
    font-size: clamp(0.72rem, 1.5vw, 0.9rem);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .review-name {
    font-size: clamp(0.8rem, 1.6vw, 1rem);
  }

  .review-role {
    font-size: 0.75rem;
  }

  .testimonials-cta .btn-pill {
    min-width: 140px;
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
  }

  /* Footer — match CRT responsive (https://testingdemolink.com/custom/CRT) */
  .site-footer {
    padding: 40px max(1.5rem, env(safe-area-inset-right, 0px)) 0
      max(1.5rem, env(safe-area-inset-left, 0px));
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .footer-top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1100px;
    margin-inline: auto;
    padding-bottom: 2rem;
  }

  .footer-col {
    width: calc(100% / 3 - 20px);
    flex: 0 1 auto;
    min-width: 0;
  }

  /* DOM: contact, brand, news → visual: brand | contact | news (CRT) */
  .footer-brand {
    order: -1;
    grid-column: auto;
    align-items: center;
  }

  .footer-contact,
  .footer-news {
    order: 0;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-news {
    min-width: 0;
    overflow: hidden;
  }

  .news-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  }

  .news-form input {
    min-width: 0;
    width: 100%;
    flex: 1 1 0;
    font-size: 0.85rem;
  }

  .news-form button {
    flex: 0 0 auto;
    padding: 0.45rem 0.85rem;
    font-size: 13px;
    white-space: nowrap;
  }

  .footer-nav {
    gap: 1rem 1.4rem;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 15px;
  }

  .footer-bottom p {
    margin: 0;
  }

  /* Inner pages */
  .inner-section--book,
  .inner-section--author {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .inner-section--author .author-frame {
    max-width: min(360px, 70vw);
  }

  .inner-section--contact .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    align-self: center;
  }

  .inner-section--genesis .cards {
    flex-wrap: wrap;
  }

  .page-hero {
    min-height: clamp(280px, 48vh, 420px);
  }

  .blog-text {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 1.25rem;
    padding: 1.25rem;
  }
}

/* —— Phone ≤767 (same left sidebar) —— */
@media (max-width: 767px) {
  .hero-content {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
  }

  .hero-title br,
  .hero-desc br {
    display: none;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 34ch;
    margin-inline: auto;
  }

  .section-heading {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
  }

  .section-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 4px;
  }

  .section-para {
    font-size: 0.98rem;
  }

  .section-stories .section-grid::after {
    width: min(220px, 52vw);
    max-height: min(32vh, 280px);
  }

  .genesis-top::after {
    content: none !important;
    display: none !important;
  }

  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
  }

  .section-genesis .genesis-text .section-para {
    font-size: 0.98rem;
  }

  .section-genesis .cards {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    gap: 0.85rem;
  }

  .section-genesis .cards .card {
    width: 100%;
    max-width: none;
    flex: none;
    display: block;
    padding: 1rem;
    border-radius: 16px;
  }

  .section-genesis .card-img {
    margin-bottom: 0.75rem;
  }

  .section-genesis .card-img img {
    max-height: clamp(140px, 22vh, 200px);
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .section-genesis .card-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .section-genesis .card-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .author-composite {
    max-width: min(220px, 58vw);
  }

  .author-frame,
  .author-frame img {
    max-height: min(28vh, 220px);
  }

  .gallery-polaroids {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
  }

  .polaroid {
    width: 100%;
    max-width: 180px;
    margin-left: 0 !important;
    justify-self: center;
  }

  .polaroid-tilt--1 {
    transform: rotate(-3deg);
  }

  .polaroid-tilt--2 {
    transform: rotate(3deg);
  }

  .polaroid-tilt--3 {
    transform: rotate(2deg);
  }

  .polaroid-tilt--4 {
    transform: rotate(-2deg);
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .review-card {
    aspect-ratio: auto;
    min-height: clamp(112px, 18vh, 148px);
    padding: 0.85rem 0.85rem 0.75rem 28%;
  }

  .review-text {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.78rem;
  }

  /* Footer — CRT ≤767 */
  .footer-top {
    flex-direction: column;
    row-gap: 50px;
    align-items: center;
    gap: 0;
    max-width: none;
    text-align: center;
  }

  .footer-col,
  .footer-social {
    width: 100%;
  }

  .footer-brand {
    order: -1;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-line {
    justify-content: center;
  }

  .footer-title,
  .footer-news-sub {
    text-align: center;
  }

  .footer-news {
    text-align: center;
    overflow: visible;
  }

  .news-form {
    max-width: 360px;
    margin-inline: auto;
  }

  .news-form button {
    padding: 0.55rem 1.15rem;
    font-size: 14px;
  }

  .footer-nav {
    gap: 1rem 1.4rem;
    justify-content: center;
  }

  .footer-bottom p {
    margin-bottom: 0;
  }

  .inner-page {
    padding-inline: 1rem;
  }

  .inner-section--genesis .cards {
    flex-direction: column;
    align-items: stretch;
  }

  .inner-section--genesis .cards .card {
    max-width: none;
    width: 100%;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .inner-section--gallery .polaroid {
    width: min(42vw, 150px);
  }

  .page-hero__content .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }
}

/* —— Small phone ≤480 —— */
@media (max-width: 480px) {
  .navbar-main {
    padding: 0.7rem 0.85rem;
  }

  .nav-logo-mobile img {
    max-height: 64px;
    max-width: 105px;
  }

  .nav-menu {
    width: min(300px, 92vw);
    padding-inline: 1.35rem;
  }

  .hero-title {
    font-size: clamp(1.55rem, 9vw, 2.1rem);
  }

  .hero-welcome {
    letter-spacing: 4px;
    font-size: 0.8rem;
  }

  .hero-sub {
    letter-spacing: 3px;
    font-size: 0.95rem;
  }

  .section-heading {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .btn-pill {
    padding: 0.65rem 1.35rem;
    font-size: 0.85rem;
  }

  .section-stories .section-grid::after {
    width: min(200px, 48vw);
    max-height: min(30vh, 250px);
  }

  .polaroid {
    max-width: 160px;
  }

  .review-card {
    padding-left: 26%;
    min-height: 108px;
  }

  .page-hero {
    min-height: 260px;
  }

  .inner-book-visual img {
    width: min(260px, 78vw);
  }

  .blog-text {
    font-size: 1.35rem;
    margin: 0.75rem;
    padding: 1rem;
  }

  /* Footer — CRT ≤500 / ≤480 */
  .footer-bottom {
    font-size: 14px;
  }

  .news-form button {
    font-size: 14px;
  }

  .footer-logo {
    width: 100px;
  }
}

/* —— Very small ≤375 —— */
@media (max-width: 375px) {
  .navbar-main {
    padding-inline: 0.65rem;
  }

  .nav-logo-mobile img {
    max-height: 58px;
    max-width: 96px;
  }

  .hero-tap {
    display: none;
  }

  .polaroid {
    max-width: 150px;
  }
}

/* Short desktop — stories text block fits right column (e.g. 1440 × 650) */
@media (max-height: 900px) and (min-width: 1025px) {
  .section-stories .section-grid {
    padding-top: clamp(4.25rem, 7vh, 5.25rem);
    padding-bottom: 1rem;
    align-items: center;
    gap: 1.5rem;
  }

  .stories-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    width: 100%;
    padding-right: 1.5rem;
    gap: 0.75rem;
  }

  .stories-content .section-eyebrow {
    font-size: 15px;
    letter-spacing: 6px;
    margin: 0;
  }

  .stories-content .section-heading {
    font-size: 34px;
    line-height: 1.2;
    margin: 0;
  }

  .stories-content .price {
    display: flex;
    gap: 1.25rem;
    margin: 0;
    width: auto;
  }

  .stories-content .price-now,
  .stories-content .price-old {
    font-size: 18px;
  }

  .stories-content .btn-pill {
    display: inline-flex;
    margin: 0;
    padding: 9px 28px;
    font-size: 15px;
  }

  .stories-content .section-para {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }

  .floating-book {
    width: min(340px, 28vw);
    max-height: min(42vh, calc(100vh - 10rem));
  }

  .floating-book img {
    max-height: min(42vh, calc(100vh - 10rem));
  }

  .section-genesis .genesis-layout {
    padding-top: clamp(6.5rem, 11vh, 7.5rem);
    gap: 0.75rem;
  }

  .section-genesis .genesis-text .section-heading {
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    margin-top: clamp(1rem, 3vh, 1.75rem);
    margin-bottom: 0.45rem;
  }

  .section-genesis .genesis-intro .section-heading {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    margin-bottom: 0.2rem;
  }

  .section-genesis .genesis-intro .section-para {
    margin-bottom: 0;
  }

  .section-genesis .genesis-book-slot {
    height: clamp(160px, 24vh, 240px);
    width: min(300px, 26vw);
  }

  .section-genesis .card {
    padding: 0.85rem 0.9rem 1rem;
  }

  .section-genesis .card-img img {
    max-height: clamp(145px, 14vh, 150px);
  }

  .section-genesis .card-title {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  }

  .section-genesis .card-text {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .gallery-layout {
    gap: 1.25rem;
  }

  .gallery-polaroids {
    min-height: clamp(260px, 46vh, 380px);
  }

  .polaroid {
    width: clamp(230px, 17.5vw, 290px);
    margin-left: -1.6rem;
  }
}

/* Extra-short height — keep 1200 reference scale, only tighten gaps */
@media (max-height: 700px) and (min-width: 1025px) {
  .section-stories .section-grid {
    padding-top: 4rem;
  }

  .stories-content {
    max-width: none;
    gap: 0.55rem;
  }

  .hero-welcome {
    font-size: 15px;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .hero-sub {
    font-size: 20px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .gallery-polaroids {
    min-height: clamp(240px, 44vh, 340px);
  }

  .polaroid {
    width: clamp(210px, 16.5vw, 270px);
  }

  .floating-book {
    width: min(280px, 24vw);
    max-height: min(36vh, calc(100vh - 8rem));
  }

  .floating-book img {
    max-height: min(36vh, calc(100vh - 8rem));
  }
}





/* —— Simple search input —— */
.nav-search {
  position: relative;
  list-style: none;
}

.search-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease;
}

.search-toggle svg {
  width: 22px;
  height: 22px;
}

.search-toggle:hover,
.search-toggle.is-active {
  color: var(--brown);
  background: rgba(126, 89, 63, 0.12);
}

body.header-light .search-toggle {
  color: var(--white);
}

body.header-light .search-toggle:hover,
body.header-light .search-toggle.is-active {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.12);
}

body.header-dark .search-toggle {
  color: var(--text-dark);
}

.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(260px, calc(100vw - 2rem));
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(90, 70, 50, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(20, 12, 6, 0.18);
  z-index: 1200;
  display: none;
}

.search-box.is-open {
  display: block;
}

.search-box[hidden] {
  display: none !important;
}

.search-box.is-open[hidden] {
  display: block !important;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--figtree-font);
  font-size: 0.95rem;
  color: #221810;
}

.search-box input::placeholder {
  color: rgba(80, 55, 35, 0.45);
}

@media (max-width: 1024px) {
  .nav-search {
    width: 100%;
    margin-top: 0.75rem;
    display: block;
  }

  /* Force visible white icon inside dark mobile drawer */
  .search-toggle,
  body.header-light .search-toggle,
  body.header-dark .search-toggle,
  body.header-light .search-toggle:hover,
  body.header-dark .search-toggle:hover,
  body.header-light .search-toggle.is-active,
  body.header-dark .search-toggle.is-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
    visibility: visible;
    display: grid;
    width: 44px;
    height: 44px;
  }

  .search-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }

  .search-box {
    position: static;
    width: 100%;
    margin-top: 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
  }

  .search-box input {
    color: #fff;
  }

  .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }
}