/* =====================================================
   PROJECT SAHARA — STYLES
   ===================================================== */

/* ============ TOKENS ============ */
:root {
  --bg: #f4ede2;
  --bg-deep: #ece2d1;
  --ink: #1f1a17;
  --ink-soft: #4a3f37;
  --muted: #7a6f64;
  --line: #d9cdb9;
  --accent: #8a2a2a;
  --accent-soft: #b85c4e;
  --cream: #fbf6ec;
  --gold: #b88a4a;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad-x: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============ DECORATIVE GRAPHICS — base ============ */
.deco {
  position: absolute;
  pointer-events: none;
  color: var(--accent);
  opacity: 0.18;
  z-index: 0;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.4;  transform: scale(1.15); }
}

/* ============ SAFETY STRIP ============ */
.safety-strip {
  background: var(--ink);
  color: var(--cream);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 60;
}
.safety-strip .pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent-soft);
  border-radius: 50%;
  margin-right: 9px;
  animation: pulse 2s var(--ease) infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,92,78,0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(184,92,78,0); }
}
.safety-strip .leave {
  background: var(--accent);
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .25s var(--ease);
}
.safety-strip .leave:hover { background: var(--accent-soft); }

/* ============ NAVIGATION ============ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--pad-x);
  position: sticky; top: 0;
  background: rgba(244, 237, 226, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
nav.scrolled {
  border-bottom-color: var(--line);
  padding: 16px var(--pad-x);
}
.logo {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-style: italic;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.logo span { color: var(--accent); }
.logo .tagline {
  font-family: var(--body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
nav .nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}
nav .nav-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
nav .nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease);
}
nav .nav-links a:hover { color: var(--accent); }
nav .nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 80px var(--pad-x) 110px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
}

.hero .hero-text,
.hero .hero-visual { position: relative; z-index: 2; }

/* Hero decoratives */
.hero .deco-bloom-1 {
  width: 280px; height: 280px;
  top: -60px; right: -80px;
  color: var(--accent-soft);
  opacity: 0.15;
  animation: spin-slow 80s linear infinite;
}
.hero .deco-bloom-2 {
  width: 140px; height: 140px;
  bottom: 40px; left: 18%;
  opacity: 0.12;
  animation: float-soft 8s ease-in-out infinite;
}
.hero .deco-leaf-1 {
  width: 90px; height: 90px;
  top: 30%; right: 8%;
  color: var(--gold);
  opacity: 0.3;
  animation: float-soft 6s ease-in-out infinite;
  animation-delay: -2s;
}
.hero .deco-star-1 {
  width: 28px; height: 28px;
  top: 18%; left: 42%;
  color: var(--accent);
  opacity: 0.4;
  animation: twinkle 4s ease-in-out infinite;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
  display: flex; align-items: center; gap: 14px;
  opacity: 0;
  animation: rise 1s var(--ease) .2s forwards;
}
.eyebrow-icon {
  width: 30px; height: 18px;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7.5vw, 108px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  color: var(--ink);
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: .35s; }
.hero h1 .word:nth-child(2) { animation-delay: .50s; }
.hero h1 .word:nth-child(3) { animation-delay: .65s; font-style: italic; color: var(--accent); }
.hero h1 .word:nth-child(4) { animation-delay: .80s; font-style: italic; color: var(--accent); }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero p.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 42px;
  opacity: 0;
  animation: rise 1s var(--ease) 1s forwards;
}

.cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  opacity: 0;
  animation: rise 1s var(--ease) 1.15s forwards;
}

.btn {
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(138,42,42,0.4);
}
.btn-primary .arrow { transition: transform .35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.trust-line {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1s var(--ease) 1.3s forwards;
}
.trust-line span { display: flex; align-items: center; gap: 7px; }
.trust-line svg { color: var(--accent); }

/* Hero image area */
.hero-visual {
  position: relative;
  height: 580px;
  opacity: 0;
  animation: rise 1.2s var(--ease) .5s forwards;
}
.hero-visual .img-main {
  position: absolute;
  top: 0; right: 0;
  width: 80%;
  height: 78%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(31,26,23,0.4);
}
.hero-visual .img-main img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 1.5s var(--ease);
}
.hero-visual:hover .img-main img { transform: scale(1.04); }

.hero-visual .img-main .img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 18px;
  background: linear-gradient(to top, rgba(31,26,23,0.85), transparent);
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.hero-visual .img-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 48%;
  height: 44%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(31,26,23,0.35);
  border: 6px solid var(--bg);
  z-index: 2;
}
.hero-visual .img-accent img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88);
}

.hero-visual .quote-tag {
  position: absolute;
  top: 8%;
  left: -8%;
  background: var(--cream);
  padding: 18px 22px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 240px;
  border-left: 2px solid var(--accent);
  box-shadow: 0 10px 30px -10px rgba(31,26,23,0.2);
  z-index: 3;
}
.hero-visual .quote-tag::before {
  content: '"';
  font-size: 60px;
  color: var(--accent);
  position: absolute;
  top: -10px; left: 14px;
  line-height: 1;
  opacity: 0.25;
}

.hero-visual .deco-arc {
  width: 200px; height: 100px;
  position: absolute;
  top: -5%; right: 18%;
  color: var(--accent-soft);
  opacity: 0.5;
  z-index: 1;
}

.hero-bengali {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--muted);
  opacity: 0.6;
  z-index: 2;
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 70px;
  animation: scroll 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 70px;
}
.marquee-track span::after {
  content: '✦';
  color: var(--accent-soft);
  font-style: normal;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ SHARED SECTION HEAD ============ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  margin-bottom: 90px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.section-label {
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px; background: var(--accent);
}
.section-label.center { justify-content: center; }
.label-icon {
  width: 22px; height: 22px;
  color: var(--accent);
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head h2 em {
  font-style: italic;
  color: var(--accent);
}
.section-head .intro-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 24px;
  max-width: 600px;
}

/* ============ ABOUT / PILLARS ============ */
.about {
  padding: 130px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.about .deco-bloom-3 {
  width: 320px; height: 320px;
  top: 10%; right: -80px;
  color: var(--accent-soft);
  opacity: 0.08;
  animation: spin-slow 100s linear infinite;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.pillar {
  background: var(--bg);
  padding: 60px 40px;
  transition: background .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:hover { background: var(--cream); }
.pillar .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
  letter-spacing: 0.1em;
}
.pillar-icon {
  width: 48px; height: 48px;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
  transition: transform .6s var(--ease);
}
.pillar:hover .pillar-icon { transform: rotate(45deg); }
.pillar h3 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: transform .5s var(--ease);
}
.pillar:hover h3 { transform: translateX(6px); }
.pillar p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pillar .icon-line {
  margin-top: 36px;
  width: 40px; height: 1px;
  background: var(--accent);
  transition: width .5s var(--ease);
}
.pillar:hover .icon-line { width: 100px; }

/* ============ PROMISE ============ */
.promise {
  padding: 130px var(--pad-x);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184,92,78,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(184,138,74,0.1), transparent 50%);
}
.promise .deco-star-2,
.promise .deco-star-3,
.promise .deco-star-4 {
  color: var(--accent-soft);
  opacity: 0.5;
}
.promise .deco-star-2 { width: 18px; height: 18px; top: 25%; left: 12%; animation: twinkle 5s ease-in-out infinite; }
.promise .deco-star-3 { width: 22px; height: 22px; top: 60%; right: 14%; animation: twinkle 4s ease-in-out 1s infinite; }
.promise .deco-star-4 { width: 14px; height: 14px; bottom: 18%; left: 30%; animation: twinkle 6s ease-in-out 2s infinite; }

.promise-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.promise .section-label {
  color: var(--accent-soft);
  justify-content: center;
  margin-bottom: 36px;
}
.promise .section-label::before { background: var(--accent-soft); }
.promise h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.promise h2 em {
  font-style: italic;
  color: var(--accent-soft);
}
.promise p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(251,246,236,0.75);
  max-width: 680px;
  margin: 0 auto;
}

/* ============ IMPACT ============ */
.impact {
  padding: 130px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  margin: 0 auto 18px;
  display: block;
  opacity: 0.7;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.stat .label {
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============ STORIES PREVIEW ============ */
.stories-preview {
  padding: 130px var(--pad-x);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.stories-preview .deco-bloom-4 {
  width: 240px; height: 240px;
  bottom: -50px; left: -50px;
  color: var(--accent);
  opacity: 0.06;
  animation: spin-slow 120s linear infinite reverse;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.story-card {
  background: var(--cream);
  padding: 36px 36px 28px;
  border-radius: 4px;
  position: relative;
  transition: all .4s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.story-card .card-corner {
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  color: var(--accent);
  opacity: 0.06;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.story-card .card-corner svg { width: 100%; height: 100%; }
.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 20px 40px -20px rgba(31,26,23,0.15);
}
.story-card:hover .card-corner {
  opacity: 0.14;
  transform: rotate(20deg);
}
.story-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.story-card .badge {
  background: rgba(138,42,42,0.08);
  color: var(--accent);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-size: 10.5px;
  font-weight: 500;
}
.story-card .excerpt {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
  flex: 1;
  position: relative;
  z-index: 1;
}
.story-card .reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.story-card .react {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
  letter-spacing: 0.02em;
}
.story-card .react:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(138,42,42,0.04);
}
.story-card .footer-line {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.story-card .read-more {
  color: var(--accent);
  font-weight: 500;
  transition: gap .3s var(--ease);
  display: flex; align-items: center; gap: 4px;
}
.story-card:hover .read-more { gap: 10px; }

.alert-card {
  background: var(--ink);
  color: var(--cream);
  grid-column: span 2;
  padding: 36px 40px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  border-radius: 4px;
  margin-top: 8px;
}
.alert-card .icon {
  font-size: 22px;
  color: var(--accent-soft);
  flex-shrink: 0;
  margin-top: 4px;
}
.alert-card .alert-content { flex: 1; }
.alert-card .alert-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: 10px;
}
.alert-card .alert-text {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 12px;
}
.alert-card .alert-note {
  font-size: 13px;
  color: rgba(251,246,236,0.5);
  line-height: 1.6;
}

/* ============ COMMUNITY GALLERY ============ */
.community {
  padding: 130px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.community .deco-bloom-5 {
  width: 200px; height: 200px;
  top: 80px; right: -40px;
  color: var(--accent);
  opacity: 0.08;
  animation: spin-slow 90s linear infinite;
}
.community .deco-star-5 {
  width: 24px; height: 24px;
  top: 22%; left: 6%;
  color: var(--accent-soft);
  opacity: 0.5;
  animation: twinkle 5s ease-in-out infinite;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 580px;
  position: relative;
  z-index: 2;
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 1.4s var(--ease), filter .5s var(--ease);
}
.g-item:hover img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05);
}
.g-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 22px 18px;
  background: linear-gradient(to top, rgba(31,26,23,0.92) 20%, transparent);
  color: var(--cream);
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.g-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}
.g-item .g-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.g-item .g-caption {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  color: var(--cream);
}

.g-1 { grid-column: 1; grid-row: 1 / span 2; }
.g-2 { grid-column: 2; grid-row: 1; }
.g-3 { grid-column: 3; grid-row: 1; }
.g-4 { grid-column: 2 / span 2; grid-row: 2; }
.g-5 { grid-column: 4; grid-row: 1 / span 2; }

/* Make 4-item grid actually fit */
.gallery .g-1 { grid-column: 1 / span 1; grid-row: 1 / span 2; }
.gallery .g-2 { grid-column: 2 / span 2; grid-row: 1; }
.gallery .g-3 { grid-column: 4; grid-row: 1 / span 2; }
.gallery .g-4 { grid-column: 2 / span 2; grid-row: 2; }

/* ============ RESOURCES ============ */
.resources {
  padding: 130px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.resources .deco-bloom-6 {
  width: 280px; height: 280px;
  bottom: 10%; right: -90px;
  color: var(--accent-soft);
  opacity: 0.08;
  animation: spin-slow 110s linear infinite reverse;
}

.block-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.block-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 1px;
  background: var(--accent);
}

.helplines { margin-bottom: 80px; position: relative; z-index: 2; }
.helpline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.helpline-card {
  background: var(--cream);
  padding: 28px 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.helpline-card::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(138,42,42,0.08), transparent 70%);
  border-radius: 50%;
  transition: transform .5s var(--ease);
}
.helpline-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(31,26,23,0.15);
}
.helpline-card:hover::after { transform: scale(1.4); }
.hl-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.hl-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.hl-num {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.legal-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.ipc-list { list-style: none; }
.ipc-list li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 12px;
  padding-left: 14px;
  position: relative;
}
.ipc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.ipc-list strong {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 500;
  font-size: 15.5px;
}

.guides { margin-bottom: 80px; padding-top: 50px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.guide-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guide {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream);
  padding: 22px 26px;
  border-radius: 4px;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
}
.guide:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.guide .g-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.guide:hover .g-icon { transform: translateY(2px); }
.guide .g-title {
  flex: 1;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.guide .g-type {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.aftercare { margin-bottom: 80px; padding-top: 50px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.aftercare-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.aftercare-list li {
  background: var(--cream);
  padding: 28px 22px;
  border-radius: 4px;
  position: relative;
  border-top: 2px solid var(--accent);
}
.aftercare-list .step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  font-weight: 400;
}
.aftercare-list p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.aftercare-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
  max-width: 720px;
}

.orgs { padding-top: 50px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.org {
  background: var(--bg);
  padding: 24px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background .3s var(--ease);
}
.org:hover { background: var(--cream); }
.org span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============ FOUNDER ============ */
.founder {
  padding: 130px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.founder .deco-bloom-7 {
  width: 320px; height: 320px;
  top: -60px; right: -100px;
  color: var(--accent);
  opacity: 0.06;
  animation: spin-slow 100s linear infinite;
}

.founder-img {
  position: relative;
  aspect-ratio: 4/5;
  position: sticky;
  top: 100px;
  z-index: 2;
}
.founder-img > img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 1.2s var(--ease);
  border-radius: 4px;
}
.founder-img:hover > img { transform: scale(1.03); }
.founder-img .img-secondary {
  position: absolute;
  bottom: -40px; right: -30px;
  width: 50%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 8px solid var(--bg-deep);
  box-shadow: 0 20px 40px -15px rgba(31,26,23,0.3);
  z-index: 3;
}
.founder-img .img-secondary img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.2s var(--ease);
}
.founder-img .img-secondary:hover img { transform: scale(1.06); }
.founder-content {
  position: relative;
  z-index: 2;
}
.founder-content .section-label { margin-bottom: 30px; }
.founder-content h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.founder-content h2 em { font-style: italic; color: var(--accent); }
.founder-para {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.founder-content blockquote {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  font-weight: 300;
  border-left: 2px solid var(--accent);
  padding-left: 26px;
  margin: 30px 0;
  position: relative;
}
.founder-content blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 18px;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  font-family: var(--display);
}
.signature {
  margin-top: 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}
.signature .role {
  display: block;
  font-style: normal;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}
.vision {
  margin-top: 50px;
  padding: 36px 30px 30px;
  background: var(--cream);
  border-radius: 4px;
  border-top: 2px solid var(--accent);
  position: relative;
}
.vision-icon {
  width: 36px; height: 22px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.vision .v-label {
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}
.vision p {
  font-family: var(--display);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  font-weight: 300;
}

/* ============ CONTACT ============ */
.contact {
  padding: 130px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.contact .deco-leaf-2 {
  width: 140px; height: 140px;
  top: 12%; right: 8%;
  color: var(--gold);
  opacity: 0.2;
  animation: float-soft 9s ease-in-out infinite;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  position: relative;
  z-index: 2;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field-full { grid-column: span 2; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  min-height: 120px;
}
.submit-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.socials {
  display: flex;
  gap: 24px;
}
.socials a {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  position: relative;
  transition: color .25s var(--ease);
}
.socials a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.socials a:hover { color: var(--accent); }
.socials a:hover::after { width: 100%; }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 110px var(--pad-x);
  background: var(--accent);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(184,138,74,0.25), transparent 50%);
}
.cta-band .deco-bloom-8 {
  width: 220px; height: 220px;
  top: -50px; left: -50px;
  color: var(--cream);
  opacity: 0.08;
  animation: spin-slow 70s linear infinite;
}
.cta-band .deco-bloom-9 {
  width: 280px; height: 280px;
  bottom: -80px; right: -80px;
  color: var(--cream);
  opacity: 0.08;
  animation: spin-slow 90s linear infinite reverse;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.cta-band h2 em { font-style: italic; }
.cta-band p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(251,246,236,0.9);
  margin-bottom: 42px;
}
.cta-trust {
  margin-top: 24px;
  font-size: 12.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(251,246,236,0.65);
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 90px var(--pad-x) 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 22px; display: block; }
.footer-brand .logo span { color: var(--accent-soft); }
.footer-brand p {
  font-family: var(--display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(251,246,236,0.65);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(251,246,236,0.75);
  transition: color .25s var(--ease);
}
.footer-col ul a:hover { color: var(--accent-soft); }

.always-on {
  background: var(--accent);
  margin: 0 calc(-1 * var(--pad-x)) 36px;
  padding: 16px var(--pad-x);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.always-on strong {
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
}
.always-on .aon-icon { font-size: 16px; }
.always-on .aon-divider { opacity: 0.6; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(251,246,236,0.1);
  font-size: 12.5px;
  color: rgba(251,246,236,0.5);
  line-height: 1.7;
  text-align: center;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  :root { --pad-x: 36px; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding: 60px var(--pad-x) 80px; min-height: auto; }
  .hero-visual { height: 480px; max-width: 560px; }
  .hero-bengali { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }
  .pillars { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr; gap: 50px; padding: 90px var(--pad-x); }
  .helpline-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-grid { grid-template-columns: 1fr; gap: 36px; }
  .guide-row { grid-template-columns: 1fr; }
  .aftercare-list { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; gap: 70px; }
  .founder-img { position: relative; top: auto; max-width: 480px; }
  .founder-img .img-secondary { right: -10px; bottom: -20px; width: 42%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .logo .tagline { display: none; }

  /* Gallery → stack: 1 big, then 2x2 */
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px;
    height: auto;
  }
  .gallery .g-1 { grid-column: 1 / span 2; grid-row: 1; }
  .gallery .g-2 { grid-column: 1; grid-row: 2; }
  .gallery .g-3 { grid-column: 2; grid-row: 2; }
  .gallery .g-4 { grid-column: 1 / span 2; grid-row: 3; }
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  nav { padding: 20px var(--pad-x); }
  nav .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px var(--pad-x);
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  nav .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle { display: flex; }
  .safety-strip { flex-direction: column; gap: 8px; text-align: center; padding: 10px 16px; font-size: 11.5px; }
  .hero { padding: 50px var(--pad-x) 70px; }
  .hero h1 { font-size: clamp(40px, 12vw, 68px); }
  .hero-visual { height: 420px; }
  .hero-visual .quote-tag { left: 0; top: 4%; font-size: 13px; max-width: 200px; }
  .cta-row { flex-direction: column; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .trust-line { flex-wrap: wrap; gap: 12px; font-size: 12px; }
  .about, .promise, .stories-preview, .founder, .cta-band, .resources, .contact, .community { padding: 80px var(--pad-x); }
  .impact { padding: 70px var(--pad-x); }
  .story-grid { grid-template-columns: 1fr; }
  .alert-card { grid-column: span 1; flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 16px; }
  .helpline-grid { grid-template-columns: 1fr; }
  .aftercare-list { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: span 1; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .submit-row .btn { width: 100%; }
  .socials { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  footer { padding: 70px var(--pad-x) 36px; }
  .always-on { margin: 0 calc(-1 * var(--pad-x)) 28px; flex-direction: column; gap: 6px; padding: 16px var(--pad-x); }
  .always-on .aon-divider { display: none; }
  .pillar { padding: 48px 28px; }
  .marquee-track span { font-size: 15px; gap: 40px; }
  .vision { padding: 24px; }
  .founder-img .img-secondary { width: 50%; bottom: -30px; right: -15px; }

  /* Gallery → single column */
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }
  .gallery .g-1, .gallery .g-2, .gallery .g-3, .gallery .g-4 {
    grid-column: 1;
  }
  .gallery .g-1 { grid-row: 1; }
  .gallery .g-2 { grid-row: 2; }
  .gallery .g-3 { grid-row: 3; }
  .gallery .g-4 { grid-row: 4; }
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: 0 14px 36px -10px rgba(31,26,23,0.5);
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s var(--ease);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-4px) scale(1);
}
.scroll-top:hover .scroll-top-arrow { transform: translateY(-2px); }

.scroll-top-progress {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}
.scroll-top-progress circle {
  fill: none;
  stroke-width: 1.5;
  cx: 22; cy: 22; r: 20;
}
.scroll-top-progress .track {
  stroke: rgba(251,246,236,0.15);
}
.scroll-top-progress .fill {
  stroke: var(--accent-soft);
  stroke-dasharray: 125.66; /* 2 * π * 20 */
  stroke-dashoffset: 125.66;
  stroke-linecap: round;
  transition: stroke-dashoffset .15s linear;
}

.scroll-top-arrow {
  width: 18px; height: 18px;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease);
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity .35s var(--ease);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: opacity .35s var(--ease),
              width .3s var(--ease),
              height .3s var(--ease),
              background .3s var(--ease),
              border-color .3s var(--ease);
}
.cursor-on .cursor-dot,
.cursor-on .cursor-ring {
  opacity: 1;
}
/* Hover state on interactive elements */
.cursor-ring.hover {
  width: 56px; height: 56px;
  background: rgba(138,42,42,0.06);
  border-color: var(--accent);
}
/* On dark backgrounds (footer, promise, alert, marquee, ink nav) — lighten */
.cursor-ring.on-dark {
  border-color: var(--accent-soft);
  mix-blend-mode: screen;
}
.cursor-dot.on-dark {
  background: var(--accent-soft);
  mix-blend-mode: screen;
}

/* Disable custom cursor on touch / coarse pointer devices */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body, body * { cursor: auto !important; }
}

/* Hide native cursor on fine-pointer devices for the immersive look */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on,
  body.cursor-on a,
  body.cursor-on button,
  body.cursor-on input,
  body.cursor-on textarea,
  body.cursor-on [role="button"] {
    cursor: none;
  }
}

@media (max-width: 720px) {
  .scroll-top {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
