/**
 * Nanotkar Studio — UI Layer (v3.4)
 * Header, footer and home page components. Loaded after responsive.css.
 * Markup for these components uses classes only (no inline styles), so the
 * layout rules in responsive.css (.ns-hero-card, .ns-top-two-col, ...) still apply.
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ─────────────────────────────────────────────
 * TOKENS
 * ───────────────────────────────────────────── */
:root {
  /* Accent darkened from #CC7A7E so white text clears WCAG AA (4.5:1) */
  --ns-accent: #B05560;
  --ns-accent-dark: #954651;
  --ns-accent-soft: #FBEFEC;
  --ns-accent-tint: #F5D5CB;

  --ns-ink: #1F1A1A;
  --ns-ink-soft: #5C5452;
  --ns-ink-muted: #756B68;
  --ns-line: #EEE5DE;
  --ns-paper: #FEFBF8;
  --ns-cream: #F7F0EA;

  --ns-radius-card: 14px;
  --ns-shadow-card: 0 1px 2px rgba(60, 35, 30, 0.04), 0 8px 24px -10px rgba(60, 35, 30, 0.12);
  --ns-shadow-lift: 0 2px 4px rgba(60, 35, 30, 0.05), 0 20px 40px -14px rgba(60, 35, 30, 0.22);
  --ns-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ns-shell: 1380px;
  --ns-header-h: 76px;
}

html { scroll-behavior: smooth; }

/* responsive.css sets overflow-x:hidden on html/body, which turns body into a scroll
   container and silently breaks position:sticky. `clip` hides overflow without that. */
html, body { overflow-x: clip !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

::selection { background: var(--ns-accent-tint); color: var(--ns-ink); }

:focus-visible {
  outline: 2px solid var(--ns-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.ns-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ns-icon--fill { fill: currentColor; stroke: none; }

/* ─────────────────────────────────────────────
 * PAGE FRAME (WordPress block-theme wrappers)
 * Root padding from theme.json insets everything by 1.5rem and blockGap adds
 * a gap between header/main/footer. Break the chrome out to full width.
 * ───────────────────────────────────────────── */
.wp-site-blocks > header,
.wp-site-blocks > .ns-home-main,
.wp-site-blocks > footer {
  margin-block-start: 0;
  margin-inline: calc(var(--wp--style--root--padding-left, 0px) * -1) calc(var(--wp--style--root--padding-right, 0px) * -1);
}

/* The template-part wrapper is the sticky element — a sticky child can't leave its parent */
.wp-site-blocks > header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.admin-bar .wp-site-blocks > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header { top: 46px; } }

/* ─────────────────────────────────────────────
 * BUTTONS
 * ───────────────────────────────────────────── */
.ns-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--ns-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ns-ease), color 0.25s var(--ns-ease),
    border-color 0.25s var(--ns-ease), transform 0.25s var(--ns-ease), box-shadow 0.25s var(--ns-ease);
}
.ns-b .ns-arrow { transition: transform 0.25s var(--ns-ease); }
.ns-b:hover .ns-arrow { transform: translateX(3px); }

.ns-b--primary { background: var(--ns-accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(176, 85, 96, 0.6); }
.ns-b--primary:hover { background: var(--ns-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(176, 85, 96, 0.7); }

.ns-b--dark { background: #fff; color: var(--ns-ink); border-color: rgba(31, 26, 26, 0.85); }
.ns-b--dark:hover { background: var(--ns-ink); color: #fff; transform: translateY(-2px); }

.ns-b--outline { background: transparent; color: var(--ns-accent); border-color: var(--ns-accent); }
.ns-b--outline:hover { background: var(--ns-accent); color: #fff; transform: translateY(-2px); }

.ns-b--wa { background: #fff; color: #128C4A; border-color: #25D366; }
.ns-b--wa:hover { background: #25D366; color: #fff; transform: translateY(-2px); }

.ns-b--block { display: flex; width: 100%; }

.ns-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--ns-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, gap 0.25s var(--ns-ease);
}
.ns-link-arrow:hover { color: var(--ns-accent); gap: 0.65rem; }

/* ─────────────────────────────────────────────
 * HEADER
 * ───────────────────────────────────────────── */
.ns-site-header {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ns-line);
  width: 100%;
  transition: box-shadow 0.3s var(--ns-ease);
}
/* responsive.css pads .ns-site-header at <= 768px; the inner bar already handles gutters */
.ns-site-header { padding: 0 !important; }
.ns-site-header.ns-header--scrolled { box-shadow: 0 6px 24px -12px rgba(60, 35, 30, 0.22); }

.ns-header-inner {
  max-width: var(--ns-shell);
  margin: 0 auto;
  min-height: var(--ns-header-h);
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ns-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.ns-logo__name {
  font-family: var(--ns-font-heading);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ns-ink);
}
.ns-logo__sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 5px;
  font-family: var(--ns-font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.42em;
  color: var(--ns-accent);
}
.ns-logo__sub::before,
.ns-logo__sub::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--ns-accent-tint);
}

.ns-main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.9rem);
  font-family: var(--ns-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ns-main-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--ns-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.ns-main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ns-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ns-ease);
}
.ns-main-nav a:hover { color: var(--ns-ink); }
.ns-main-nav a:hover::after,
.ns-main-nav a.is-active::after { transform: scaleX(1); }
.ns-main-nav a.is-active { color: var(--ns-accent); font-weight: 600; }

.ns-header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.ns-header-actions .ns-b { padding: 0.7rem 1.25rem; font-size: 0.7rem; }

.ns-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: #25D366;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 12px -4px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ns-ease), box-shadow 0.25s var(--ns-ease);
}
.ns-icon-btn:hover { transform: translateY(-2px) scale(1.05); color: #fff; }

.ns-mobile-menu-btn {
  display: none;
  background: var(--ns-cream);
  border: 1px solid var(--ns-line);
  color: var(--ns-ink);
  cursor: pointer;
  padding: 0;
}
.ns-mobile-menu-btn { box-shadow: none; }
.ns-mobile-menu-btn:hover { background: var(--ns-accent-soft); }

/* Mobile quick-nav strip */
.ns-mobile-quicknav {
  display: none;
  background: var(--ns-paper);
  border-top: 1px solid var(--ns-line);
  padding: 0.5rem 1rem;
  scrollbar-width: none;
}
.ns-mobile-quicknav::-webkit-scrollbar { display: none; }
.ns-quicknav-track { display: inline-flex; align-items: center; gap: 0.5rem; }
.ns-mobile-quicknav a {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ns-line);
  background: #fff;
  color: var(--ns-ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.ns-mobile-quicknav a.is-active { color: var(--ns-accent); border-color: var(--ns-accent); background: var(--ns-accent-soft); }

/* Mobile drawer */
.ns-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
  background: rgba(254, 251, 248, 0.98);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow-y: auto;
}
.ns-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ns-line);
}
.ns-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ns-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ns-ink);
  font-size: 1.25rem;
  cursor: pointer;
}
.ns-drawer-links { display: flex; flex-direction: column; padding: 1rem 0; }
.ns-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--ns-line);
  font-family: var(--ns-font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ns-ink);
  text-decoration: none;
}
.ns-drawer-links a .ns-icon { color: var(--ns-accent); }
.ns-drawer-links a:active { color: var(--ns-accent); }
.ns-drawer-cta { margin-top: auto; padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ns-drawer-cta .ns-b { padding: 1rem; border-radius: 8px; }
.ns-b--wa-solid { background: #25D366; color: #fff; border-color: #25D366; }
.ns-b--wa-solid:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }

@media (max-width: 1100px) {
  .ns-main-nav { font-size: 0.68rem; letter-spacing: 0.08em; gap: 0.9rem; }
}
@media (max-width: 1024px) {
  :root { --ns-header-h: 64px; }
  .ns-header-inner { padding: 0.5rem 1rem; }
}

/* ─────────────────────────────────────────────
 * HOME — SHELL & SHARED PIECES
 * ───────────────────────────────────────────── */
.ns-home-main {
  background: var(--ns-paper);
  overflow-x: hidden;
}
.ns-shell { max-width: var(--ns-shell); margin: 0 auto; }

.ns-home-top { padding: 1.5rem 1.5rem 3.5rem; }
.ns-top-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
}
.ns-home-left { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }

.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ns-accent);
}
.ns-eyebrow .ns-icon { font-size: 0.8rem; }
.ns-eyebrow--center { justify-content: center; }

.ns-h2 {
  margin: 0;
  font-family: var(--ns-font-heading);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ns-ink);
}

.ns-home-section { padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem; }
.ns-home-section--head-center { text-align: center; }
.ns-home-section--head-center .ns-h2 { margin-bottom: 3rem; }

/* ─────────────────────────────────────────────
 * HERO
 * ───────────────────────────────────────────── */
.ns-hero-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding: 3.5rem 3rem;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--ns-line);
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #FBF3EE 0%, #F4E4DC 100%);
  box-shadow: var(--ns-shadow-card);
}
.ns-hero-text-col { position: relative; z-index: 2; max-width: 46%; }

.ns-hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--ns-font-heading);
  font-size: clamp(2.75rem, 2.1rem + 2.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ns-ink);
}
.ns-hero-title em { font-style: italic; color: var(--ns-accent); }

.ns-hero-sub {
  margin: 0 0 2rem;
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ns-ink-soft);
}
.ns-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.75rem; }

.ns-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ns-ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.ns-scroll-hint:hover { color: var(--ns-accent); }
.ns-scroll-hint__mouse {
  position: relative;
  width: 16px;
  height: 25px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
}
.ns-scroll-hint__mouse::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: currentColor;
  animation: ns-wheel 1.8s var(--ns-ease) infinite;
}
@keyframes ns-wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(7px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Reel stage */
.ns-live-bg-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
}
.ns-live-bg-container video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #1A1A1A;
  /* Feather the left edge into the card background instead of a colour-matched overlay */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%);
  mask-image: linear-gradient(to right, transparent 0, #000 24%);
}
.ns-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(20, 12, 12, 0.5) 0%, rgba(20, 12, 12, 0) 38%);
}
.ns-sparkle-canvas { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }

.ns-live-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 16, 16, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ns-live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF4D42;
  box-shadow: 0 0 8px #FF4D42;
  animation: nsPulseLive 1.5s infinite;
}

.ns-reel-controls-bar {
  position: absolute;
  left: 20px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ns-reel-pills,
.ns-sound-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 16, 16, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ns-reel-pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; }
.ns-reel-btn {
  padding: 0.35rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--ns-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ns-reel-btn:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ns-reel-btn.active { background: var(--ns-accent); color: #fff; }

.ns-sound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.2s var(--ns-ease), background 0.2s;
}
.ns-sound-btn:hover { transform: scale(1.08); background: rgba(20, 16, 16, 0.8); }
.ns-sound-btn .ns-icon--on { display: none; }
.ns-sound-btn.is-on .ns-icon--on { display: block; }
.ns-sound-btn.is-on .ns-icon--off { display: none; }

/* ─────────────────────────────────────────────
 * OUR STORY
 * ───────────────────────────────────────────── */
.ns-home-story-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--ns-line);
  background: #fff;
  box-shadow: var(--ns-shadow-card);
}
.ns-story-photo { position: relative; height: 360px; border-radius: 14px; overflow: hidden; }
.ns-story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ns-ease); }
.ns-home-story-section:hover .ns-story-photo img { transform: scale(1.03); }
.ns-story-body .ns-h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); }
.ns-story-body p { margin: 0 0 1.4rem; font-size: 0.9375rem; line-height: 1.85; color: var(--ns-ink-soft); }
.ns-signature {
  margin-bottom: 1.5rem;
  font-family: var(--ns-font-subheading);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--ns-accent);
}

/* ─────────────────────────────────────────────
 * INSTAGRAM PANEL
 * ───────────────────────────────────────────── */
.ns-sidebar-column { align-self: stretch; min-width: 0; }
.ns-ig-panel {
  position: sticky;
  top: calc(var(--ns-header-h) + 1.25rem);
  padding: 1.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(176, 85, 96, 0.14);
  background: linear-gradient(180deg, #F8ECE7 0%, #F1DFD8 100%);
  box-shadow: var(--ns-shadow-card);
}
.ns-ig-panel__head { text-align: center; margin-bottom: 1.25rem; }
.ns-ig-panel__head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ns-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ns-ink);
}
.ns-ig-panel__handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ns-ink);
  text-decoration: none;
}
.ns-ig-panel__handle:hover { color: var(--ns-accent); }
.ns-ig-panel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 1.25rem; }
.ns-ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.ns-ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ns-ease); }
.ns-ig-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(176, 85, 96, 0.55), rgba(176, 85, 96, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.ns-ig-tile:hover img { transform: scale(1.08); }
.ns-ig-tile:hover::after { opacity: 1; }
.ns-ig-tile__reel {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 16, 16, 0.6);
  color: #fff;
  font-size: 0.65rem;
}

/* ─────────────────────────────────────────────
 * SERVICES
 * ───────────────────────────────────────────── */
.ns-services {
  border-top: 1px solid var(--ns-line);
  background: var(--ns-paper);
  text-align: center;
}
.ns-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.ns-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.75rem 1rem;
  border-radius: var(--ns-radius-card);
  border: 1px solid var(--ns-line);
  background: #fff;
  color: var(--ns-ink);
  text-decoration: none;
  transition: transform 0.3s var(--ns-ease), box-shadow 0.3s var(--ns-ease), border-color 0.3s;
}
.ns-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ns-accent-soft);
  border: 1px solid var(--ns-accent-tint);
  color: var(--ns-accent);
  font-size: 1.6rem;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ns-ease);
}
.ns-service-card h4 {
  margin: 0;
  font-family: var(--ns-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ns-service-card:hover { transform: translateY(-5px); box-shadow: var(--ns-shadow-lift); border-color: var(--ns-accent-tint); }
.ns-service-card:hover .ns-service-card__icon { background: var(--ns-accent); color: #fff; transform: scale(1.06); }

/* ─────────────────────────────────────────────
 * FEATURED STORIES
 * ───────────────────────────────────────────── */
.ns-stories { border-top: 1px solid var(--ns-line); background: #FCF8F4; }
.ns-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.ns-section-head .ns-eyebrow { margin-bottom: 0.6rem; }
.ns-story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.ns-story-tile {
  overflow: hidden;
  border-radius: var(--ns-radius-card);
  border: 1px solid var(--ns-line);
  background: #fff;
  box-shadow: var(--ns-shadow-card);
  cursor: pointer;
  transition: transform 0.35s var(--ns-ease), box-shadow 0.35s var(--ns-ease);
}
.ns-story-tile:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow-lift); }
.ns-story-tile__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.ns-story-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ns-ease); }
.ns-story-tile:hover .ns-story-tile__img img { transform: scale(1.06); }
.ns-story-tile__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 12, 0.55) 0%, rgba(20, 12, 12, 0) 45%);
  opacity: 0;
  transition: opacity 0.35s;
}
.ns-story-tile:hover .ns-story-tile__img::after { opacity: 1; }
.ns-story-tile__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ns-accent);
  font-size: 1.2rem;
  transform: translate(-50%, -40%) scale(0.85);
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s var(--ns-ease);
}
.ns-story-tile:hover .ns-story-tile__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ns-story-tile__body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem; }
.ns-story-tile__body h4 { margin: 0 0 0.3rem; font-family: var(--ns-font-heading); font-size: 1.2rem; font-weight: 400; color: var(--ns-ink); }
.ns-story-tile__loc { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--ns-ink-muted); }
.ns-story-tile__heart { color: var(--ns-accent); font-size: 1.15rem; transition: transform 0.3s var(--ns-ease); }
.ns-story-tile:hover .ns-story-tile__heart { transform: scale(1.25); }

/* ─────────────────────────────────────────────
 * STATS
 * ───────────────────────────────────────────── */
.ns-stats { padding: 3.5rem 1.5rem; background: var(--ns-paper); border-top: 1px solid var(--ns-line); }
.ns-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.75rem 0;
  border-radius: 20px;
  border: 1px solid var(--ns-line);
  background: #fff;
  box-shadow: var(--ns-shadow-card);
}
.ns-stat { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.5rem 1rem; }
.ns-stat + .ns-stat { border-left: 1px solid var(--ns-line); }
.ns-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ns-accent-soft);
  color: var(--ns-accent);
  font-size: 1.4rem;
}
.ns-stat__num { font-family: var(--ns-font-heading); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--ns-ink); }
.ns-stat__label { margin-top: 2px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ns-ink-muted); }

/* ─────────────────────────────────────────────
 * CTA BANNER
 * ───────────────────────────────────────────── */
.ns-cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem;
  background: radial-gradient(70% 120% at 100% 0%, rgba(245, 213, 203, 0.7) 0%, rgba(245, 213, 203, 0) 60%), #F7EEE8;
}
.ns-home-cta-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.ns-cta-band h2 {
  margin: 0 0 0.9rem;
  font-family: var(--ns-font-heading);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ns-ink);
}
.ns-cta-band h2 .ns-icon { color: var(--ns-accent); font-size: 0.7em; vertical-align: 0.05em; }
.ns-cta-band p { margin: 0 0 2rem; font-family: var(--ns-font-subheading); font-size: 1.35rem; font-style: italic; color: var(--ns-ink-soft); }
.ns-cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.ns-cta-photo { position: relative; height: 280px; }
.ns-cta-photo::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: 16px;
  border: 1px solid var(--ns-accent);
  opacity: 0.35;
}
.ns-cta-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: var(--ns-shadow-lift); }

/* ─────────────────────────────────────────────
 * FOOTER
 * ───────────────────────────────────────────── */
.ns-site-footer {
  position: relative;
  padding: 4.5rem 1.5rem 2rem;
  background: #2A2322;
  color: #CBBFBA;
  font-size: 0.8125rem;
}
.ns-site-footer a { color: inherit; text-decoration: none; transition: color 0.2s; }
.ns-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.ns-site-footer .ns-logo__name { color: #fff; font-size: 1.3rem; }
.ns-site-footer .ns-logo__sub { color: var(--ns-accent-tint); }
.ns-site-footer .ns-logo__sub::before,
.ns-site-footer .ns-logo__sub::after { background: rgba(245, 213, 203, 0.25); }
.ns-footer-about { margin: 1.25rem 0 1.4rem; line-height: 1.8; color: #B3A6A1; max-width: 32ch; }
.ns-footer-col h4 {
  margin: 0 0 1.25rem;
  font-family: var(--ns-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.ns-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.ns-footer-col li a:hover { color: var(--ns-accent-tint); }
.ns-footer-contact li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.5; }
.ns-footer-contact .ns-icon { margin-top: 2px; font-size: 1rem; color: var(--ns-accent-tint); }

.ns-social { display: flex; gap: 0.6rem; }
.ns-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.05rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ns-ease);
}
.ns-social a:hover { background: var(--ns-accent); border-color: var(--ns-accent); color: #fff; transform: translateY(-3px); }

.ns-footer-ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ns-footer-ig a { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; }
.ns-footer-ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ns-ease), opacity 0.3s; opacity: 0.9; }
.ns-footer-ig a:hover img { transform: scale(1.1); opacity: 1; }

.ns-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: #968A85;
}
.ns-footer-bottom nav { display: flex; gap: 1.5rem; }
.ns-footer-bottom a:hover { color: #fff; }

/* ─────────────────────────────────────────────
 * FLOATING ACTIONS
 * WhatsApp sits bottom-right (24px). Back-to-top stacks above it.
 * ───────────────────────────────────────────── */
.ns-back-to-top {
  position: fixed;
  right: 32px;
  bottom: 96px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ns-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ns-ink);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(60, 35, 30, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ns-ease), background 0.2s, color 0.2s;
}
.ns-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.ns-back-to-top:hover { background: var(--ns-accent); border-color: var(--ns-accent); color: #fff; }

/* ─────────────────────────────────────────────
 * SCROLL REVEAL (only when JS is present — see header script)
 * ───────────────────────────────────────────── */
html:not(.ns-js) .ns-fade-up { opacity: 1; }

/* ─────────────────────────────────────────────
 * RESPONSIVE
 * ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .ns-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .ns-footer-grid > :first-child { grid-column: 1 / -1; }
  .ns-footer-about { max-width: 52ch; }
}

@media (max-width: 991px) {
  .ns-home-top { padding: 1rem 1rem 2.5rem; }
  .ns-ig-panel { position: static; }

  .ns-hero-card { padding: 2rem 1.25rem 1.5rem; }
  .ns-hero-title { font-size: clamp(2.4rem, 1.8rem + 3vw, 3.2rem) !important; }
  .ns-hero-sub { max-width: none; }
  .ns-hero-actions { margin-bottom: 0; }
  .ns-hero-actions .ns-b { flex: 1 1 auto; }
  .ns-scroll-hint { display: none; }
  .ns-live-bg-container { background: #1A1A1A; }
  .ns-live-bg-container video { -webkit-mask-image: none; mask-image: none; }

  .ns-story-photo { height: 260px; }
  .ns-home-story-section { padding: 1.25rem; }

  .ns-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
  .ns-stat:nth-child(odd) { border-left: 0; }
  .ns-stat:nth-child(n + 3) { border-top: 1px solid var(--ns-line); padding-top: 1.25rem; }

  .ns-cta-photo { height: 220px; }
  .ns-cta-photo::before { inset: 10px -8px -10px 8px; }
  .ns-cta-actions .ns-b { flex: 1 1 auto; }
}

@media (max-width: 640px) {
  .ns-live-badge__handle { display: none; }
  .ns-story-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .ns-story-tile__body { padding: 0.9rem; }
  .ns-story-tile__body h4 { font-size: 1rem; }
  .ns-story-tile__heart { display: none; }
  .ns-story-tile__play { display: none; }
  .ns-service-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .ns-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .ns-footer-grid > :first-child,
  .ns-footer-grid > :nth-child(4),
  .ns-footer-grid > :nth-child(5) { grid-column: 1 / -1; }
  .ns-footer-bottom { flex-direction: column; text-align: center; }
  .ns-stat { flex-direction: column; text-align: center; gap: 0.6rem; }
  .ns-back-to-top { right: 24px; bottom: 90px; }
}

@media (hover: none) {
  .ns-story-tile:hover,
  .ns-service-card:hover { transform: none; }
}
