/* =========================================================
   Nirvaan — Home Appliance · Marketing site styles
   ========================================================= */

:root {
  /* Palette */
  --ink: #0A0A0A;
  --ink-2: #141414;
  --ink-3: #1c1c1c;
  --paper: #FFFFFF;
  --surface: #F4F4F2;
  --surface-2: #ECECE7;
  --line: #E2E2DC;
  --muted: #6b6b66;
  --accent: #007AEC;      /* signal blue */
  --accent-deep: #005FCC;
  --accent-ink: #0A0A0A;

  /* Type */
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;

  /* Rhythm */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* ----------- Layout ----------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
.section-pad { padding-block: clamp(72px, 10vw, 140px); }

/* ----------- Display type ----------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 7.6vw, 124px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: currentColor; display: inline-block;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow {
  width: 18px; height: 18px;
  transition: transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 6px 24px -10px rgba(0,95,204,.55), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-disabled {
  background: transparent;
  border: 1px dashed rgba(255,255,255,.3);
  color: rgba(255,255,255,.55);
  cursor: not-allowed;
  pointer-events: none;
}
.btn--lg { padding: 20px 28px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 13px; }

.icon-tag {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 12px; letter-spacing: 0.04em;
}
.icon-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 80;
  margin-inline: var(--gutter);
  margin-top: 16px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 22px;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--paper);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  max-width: var(--maxw);
  margin-inline: auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }
.brand-name { display: inline-flex; align-items: baseline; gap: 6px; }
.brand-name small {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.site-nav {
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--paper); background: rgba(255,255,255,.06); }

.header-cta { display: inline-flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 90;
  padding: 28px var(--gutter);
  display: none;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-display);
}
.mobile-menu nav a {
  font-size: 36px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: -0.02em;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  margin: 20px var(--gutter) 0;
  padding: clamp(36px, 6vw, 96px) clamp(28px, 5vw, 72px) clamp(56px, 7vw, 96px);
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
}
.hero-eyebrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,122,236,.6);
  animation: pulse 2.4s infinite var(--ease);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,122,236,.6); }
  70% { box-shadow: 0 0 0 12px rgba(0,122,236,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,122,236,0); }
}

.hero h1 {
  color: var(--paper);
  font-weight: 800;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--accent);
}
.hero-sub {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
}
.hero-foot {
  margin-top: 44px;
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.hero-foot strong { color: var(--paper); font-weight: 600; }
.hero-foot .item {
  display: inline-flex; gap: 10px; align-items: center;
}
.hero-foot .bar { width: 1px; height: 22px; background: rgba(255,255,255,.18); }

/* Hero phone */
.hero-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -20% -10% -20%;
  background: radial-gradient(60% 60% at 60% 50%, rgba(0,122,236,.20), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  width: min(320px, 80%);
  aspect-ratio: 9 / 19.5;
  background: var(--ink-2);
  border-radius: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 12px 24px -8px rgba(0,122,236,.15);
  z-index: 1;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--surface);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone-screen-inner {
  padding: 42px 18px 18px;
  height: 100%;
  display: flex; flex-direction: column;
  gap: 14px;
}
.phone-hello {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.phone-hello span { color: var(--muted); display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.phone-search {
  background: var(--paper);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
}
.phone-card-hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  overflow: hidden;
}
.phone-card-hero::after {
  content: "";
  position: absolute; right: -20px; bottom: -20px;
  width: 90px; height: 90px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .9;
}
.phone-card-hero .label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.phone-card-hero .title {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.phone-card-hero .cta {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 11px; font-weight: 600;
  background: var(--paper); color: var(--ink);
  padding: 6px 10px; border-radius: 999px;
  position: relative; z-index: 1;
}
.phone-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.phone-tile {
  background: var(--paper);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 64px;
}
.phone-tile.accent { background: var(--accent); border-color: transparent; color: var(--paper); }
.phone-tile svg { width: 16px; height: 16px; }
.phone-tile .label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.phone-tile.accent .label { color: rgba(255,255,255,.7); }

.hero-deco-badge {
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  right: clamp(40px, 6vw, 80px);
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--paper); font-size: 14px; line-height: 1.1;
  text-align: center;
  letter-spacing: -0.01em;
  transform: rotate(-8deg);
  animation: floaty 6s ease-in-out infinite alternate;
  z-index: 2;
}
.hero-deco-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(255,255,255,.55);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
@keyframes floaty { from { transform: rotate(-8deg) translateY(0); } to { transform: rotate(-4deg) translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-deco-badge { display: none; }
  .hero { margin-top: 12px; border-radius: 22px; }
}

/* ----- Hero variants (image-based) ----- */
/* The "art" column wrapper for an image-based hero (phone screenshot, appliance composition, etc.) */
.hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(380px, 50vw, 560px);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -10% -20% -10% -20%;
  background: radial-gradient(60% 60% at 60% 50%, rgba(0,122,236,.22), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero-art .art-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: min(380px, 88%);
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.45));
}
.hero-art .art-img.appliances { max-width: min(440px, 92%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }

/* Spotlight backdrop — a soft white circular hue, no hard edge, fades into the ink canvas. */
.hero-art--spotlight .art-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: clamp(432px, 52vw, 662px);
  height: clamp(432px, 52vw, 662px);
  pointer-events: none;
  background: radial-gradient(
    circle closest-side at center,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.82) 22%,
    rgba(255,255,255,.45) 50%,
    rgba(255,255,255,.12) 75%,
    rgba(255,255,255,0)   92%
  );
}
/* Soft blue halo bleeds out behind the white hue — keeps the brand accent in play. */
.hero-art--spotlight::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,122,236,.36), transparent 72%);
  filter: blur(36px);
}
.hero-art--spotlight .art-img { z-index: 2; filter: drop-shadow(0 24px 36px rgba(0,0,0,.45)); }
/* In the spotlight variant we want the black-on-white moment uncluttered — hide the rotating badge. */
.hero.hero--spotlight .hero-deco-badge { display: none; }

/* Light-canvas hero modifier — flips ink → paper for variant C */
.hero.hero--light {
  background: var(--surface);
  color: var(--ink);
}
.hero.hero--light h1 { color: var(--ink); }
.hero.hero--light h1 .accent { color: var(--accent); }
.hero.hero--light .hero-eyebrow { color: var(--muted); }
.hero.hero--light .hero-sub { color: var(--muted); }
.hero.hero--light .hero-foot { color: var(--muted); }
.hero.hero--light .hero-foot strong { color: var(--ink); }
.hero.hero--light .hero-foot .bar { background: rgba(0,0,0,.18); }
.hero.hero--light .btn-disabled {
  border: 1px dashed rgba(0,0,0,.25);
  color: rgba(0,0,0,.5);
}
.hero.hero--light .hero-art::before {
  background: radial-gradient(60% 60% at 60% 50%, rgba(0,122,236,.16), transparent 70%);
}

/* Preview comparison page helpers — used only by preview-heroes.html */
.preview-strip {
  position: sticky; top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 14px var(--gutter);
  display: flex; gap: 24px; align-items: center;
  font-family: var(--font-body); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.preview-strip strong { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.preview-strip .chip {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.preview-strip a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-left: auto;
}
.preview-strip a:hover { color: var(--accent); }
.variant-label {
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding: 0 var(--gutter);
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.variant-label .tag {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  letter-spacing: 0.04em;
  background: var(--ink); color: var(--accent);
  padding: 4px 10px; border-radius: 6px;
}
.variant-label .name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}
.variant-label .note { font-size: 14px; color: var(--muted); }

/* =========================================================
   Marquee (light tape under hero)
   ========================================================= */
.tape {
  background: var(--accent);
  color: var(--paper);
  border-block: 1px solid var(--ink);
  margin-top: clamp(32px, 4vw, 64px);
  overflow: hidden;
  padding-block: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.01em;
}
.tape-track {
  display: flex; gap: 48px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.tape-track span { display: inline-flex; align-items: center; gap: 48px; }
.tape-track svg { width: 16px; height: 16px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Stat band
   ========================================================= */
.stats {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.stat .num .plus { color: var(--accent-deep); font-size: 0.6em; transform: translateY(-0.4em); }
.stat .label { font-size: 14px; color: var(--muted); margin-top: 6px; }
.stat .tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* =========================================================
   About / What is Nirvaan
   ========================================================= */
.about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-grid .label-col { position: sticky; top: 110px; align-self: start; }
.about-grid h2 .accent {
  display: inline-block;
  background: var(--ink);
  color: var(--accent);
  padding: 0 .2em;
  margin: 0 -.05em;
  border-radius: 6px;
  transform: rotate(-1.5deg);
}
.about-body p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.about-body p strong { font-weight: 700; }
.about-body p .hl {
  background: var(--accent);
  color: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
}
.about-signoff {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .label-col { position: static; }
}

/* =========================================================
   Categories
   ========================================================= */
.cats { background: var(--paper); }
.cats-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 56px;
  flex-wrap: wrap;
}
.cats-head h2 { max-width: 16ch; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.cat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 22px;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  cursor: default;
}
.cat .icon {
  width: 72px; height: 72px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  position: relative;
  transition: transform .3s var(--ease);
}
/* Soft white circular hue — shown only when the card background turns dark, so the
   original (dark) product photo stays visible. Mirrors the hero spotlight idea. */
.cat .icon::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side at center,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.70) 30%,
    rgba(255,255,255,.30) 60%,
    rgba(255,255,255,0)   90%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity .3s var(--ease);
}
.cat .icon img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
}
/* Legacy SVG rule, no-op once all icons are <img> but harmless. */
.cat .icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.cat .arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cat:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.cat:hover .icon { transform: translateY(-2px) rotate(-3deg); color: var(--accent); }
/* Card turned dark → reveal the white hue behind the photo so it stays readable. */
.cat:hover .icon::before,
.cat-featured:hover .icon::before { opacity: 1; }
.cat:hover .arrow { opacity: 1; transform: translate(0,0); background: var(--accent); color: var(--paper); }

.cat-featured {
  background: var(--accent);
  color: var(--paper);
}
.cat-featured .icon { color: var(--paper); }
/* Blue background — original dark photo sits directly on the accent. No hue. */
.cat-featured:hover { background: var(--ink); color: var(--paper); }
.cat-featured:hover .icon { color: var(--accent); }

.cats-footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}
.cats-footer-link { text-decoration: underline; }

@media (max-width: 1080px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .cats-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Two audiences
   ========================================================= */
.audiences { background: var(--surface); }
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.aud-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 48px);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 540px;
}
.aud-card.consumer { background: var(--ink); color: var(--paper); }
.aud-card.retailer {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.aud-tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 28px;
}
.aud-card.consumer .aud-tag { background: var(--accent); color: var(--paper); }
.aud-card.retailer .aud-tag { background: var(--ink); color: var(--paper); }
.aud-card h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.02;
  max-width: 14ch;
}
.aud-card .lede { margin-top: 16px; }
.aud-card.consumer .lede { color: rgba(255,255,255,.7); }
.aud-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 2px;
  border-top: 1px solid;
}
.aud-card.consumer .aud-list { border-color: rgba(255,255,255,.12); }
.aud-card.retailer .aud-list { border-color: var(--line); }
.aud-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid;
  font-size: 16px;
  line-height: 1.4;
}
.aud-card.consumer .aud-list li { border-color: rgba(255,255,255,.12); }
.aud-card.retailer .aud-list li { border-color: var(--line); }
.aud-list .n {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.aud-card.consumer .aud-list .n { color: var(--accent); }
.aud-card.retailer .aud-list .n { color: var(--accent-deep); }
.aud-list .title { font-weight: 700; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; }
.aud-list .desc { font-size: 14px; opacity: 0.7; display: block; margin-top: 4px; line-height: 1.45; }

.aud-card .aud-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.aud-card.consumer .aud-foot { color: rgba(255,255,255,.6); }
.aud-card .aud-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card { min-height: 0; }
}

/* =========================================================
   Why Nirvaan
   ========================================================= */
.why { background: var(--ink); color: var(--paper); }
.why .eyebrow { color: rgba(255,255,255,.55); }
.why h2 { color: var(--paper); }
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.why-head .lede { color: rgba(255,255,255,.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.why-card {
  position: relative;
  padding: 28px 24px 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.06);
  min-height: 320px;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.why-card .num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 28px;
}
.why-card .icon {
  width: 56px; height: 56px;
  color: var(--paper);
  margin-bottom: 24px;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.why-card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.55; margin: 0; }
.why-card:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.why-card:hover .num,
.why-card:hover .icon { color: var(--paper); }
.why-card:hover p { color: rgba(255,255,255,.85); }

@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why-grid { grid-template-columns: 1fr; } .why-head { grid-template-columns: 1fr; } }

/* =========================================================
   App showcase
   ========================================================= */
.showcase { background: var(--surface); position: relative; overflow: hidden; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.showcase-art {
  position: relative;
  height: clamp(440px, 60vw, 640px);
  display: flex; align-items: center; justify-content: center;
}
.showcase-art .phone {
  position: absolute;
  width: clamp(210px, 24vw, 280px);
  aspect-ratio: 9 / 19.5;
  background: var(--ink-2);
  border-radius: 38px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.25);
}
.showcase-art .phone .phone-screen { border-radius: 30px; }
.showcase-phones {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(560px, 92%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.25));
}
.showcase-art .phone.p1 {
  transform: rotate(-7deg) translate(-30%, 8%);
  z-index: 1;
}
.showcase-art .phone.p2 {
  transform: rotate(4deg) translate(30%, -4%);
  z-index: 2;
}
.showcase-art::before {
  content: "";
  position: absolute;
  width: clamp(280px, 36vw, 480px);
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
  z-index: 0;
  opacity: .85;
}
.showcase-art .floater {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.18);
  z-index: 3;
}
.showcase-art .floater svg { width: 16px; height: 16px; }
.showcase-art .f1 { top: 14%; left: 6%; animation: floaty 4.6s ease-in-out infinite alternate; }
.showcase-art .f2 { bottom: 18%; right: 4%; animation: floaty 5.4s ease-in-out infinite alternate-reverse; }
.showcase-art .f3 { bottom: 6%; left: 12%; background: var(--ink); color: var(--paper); border-color: var(--ink); animation: floaty 6.2s ease-in-out infinite alternate; }
.showcase-art .f3 .dot { background: var(--accent); }

.showcase-copy h2 .accent-pill {
  display: inline-block;
  background: var(--ink);
  color: var(--accent);
  border-radius: 12px;
  padding: 0 .15em;
}
.showcase-stores {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  transition: transform .25s var(--ease), background .25s var(--ease);
  min-width: 200px;
}
.store-btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.55); display: block; }
.store-btn .name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.01em; }
.store-btn.coming {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  cursor: default;
  opacity: 0.85;
}
.store-btn.coming .label { color: var(--muted); }
.store-btn.coming:hover { transform: none; background: transparent; }

.showcase-fine {
  margin-top: 24px;
  font-size: 13px; color: var(--muted);
}

@media (max-width: 880px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-art { height: 480px; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--paper); }
.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 72px);
}
.contact-card .eyebrow { color: rgba(255,255,255,.5); }
.contact-card h2 { color: var(--paper); max-width: 14ch; }
.contact-card .lede { color: rgba(255,255,255,.7); }
.contact-meta {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-meta-row { display: flex; gap: 14px; align-items: center; }
.contact-meta-row .glyph {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center;
}
.contact-meta-row .glyph svg { width: 16px; height: 16px; }
.contact-meta-row .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-meta-row .v { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.contact-meta-row a.v:hover { color: var(--accent); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding: 14px 0;
  color: var(--paper);
  font-size: 16px;
  outline: none;
  transition: border-color .25s var(--ease);
  border-radius: 0;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.35); }
.field select { background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.5) 50%), linear-gradient(135deg, rgba(255,255,255,.5) 50%, transparent 50%); background-position: calc(100% - 16px) 22px, calc(100% - 11px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; cursor: pointer; }
.field select option { background: var(--ink); color: var(--paper); }
.field .err {
  font-size: 12px; color: #FFB1A0;
  display: none;
  margin-top: 2px;
}
.field.invalid .err { display: block; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #FFB1A0; }

/* Honeypot — visually hidden, off-screen, not focusable */
.hp-wrap {
  position: absolute !important;
  left: -10000px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-bottom {
  grid-column: 1 / -1;
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
  margin-top: 12px; flex-wrap: wrap;
}
.form-status {
  font-size: 14px;
  display: inline-flex; gap: 10px; align-items: center;
  color: rgba(255,255,255,.7);
}
.form-status .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.form-status.ok { color: var(--accent); }
.form-status.ok .dot { background: var(--accent); }
.form-status.err { color: #FFB1A0; }
.form-status.err .dot { background: #FFB1A0; }
.form-status.loading .dot { animation: pulse 1.2s ease-in-out infinite; }

@media (max-width: 980px) {
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 96px);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Footer brand mark — same image as header, sized by .brand-mark */
.foot-tag {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 20px 0 0;
  max-width: 14ch;
}
.foot-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  transition: color .2s var(--ease);
}
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  padding-block: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.foot-socials { display: inline-flex; gap: 8px; }
.foot-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.foot-socials a:hover { background: var(--accent); color: var(--paper); }
.foot-socials svg { width: 16px; height: 16px; }

.foot-bigmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 18vw, 280px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.14);
  padding-block: 24px 12px;
  text-align: center;
}

@media (max-width: 880px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }
.reveal[data-d="6"] { transition-delay: 0.48s; }
.reveal[data-d="7"] { transition-delay: 0.56s; }
.reveal[data-d="8"] { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

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

/* =========================================================
   Legal pages (privacy.html, terms.html)
   ========================================================= */
.legal-hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  margin: 20px var(--gutter) 0;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.legal-hero .wrap { padding-inline: 0; }
.legal-hero .eyebrow { color: rgba(255,255,255,.55); }
.legal-hero h1 {
  margin-top: 20px;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.legal-hero h1 .accent { color: var(--accent); }
.legal-hero .meta {
  margin-top: 28px;
  display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.legal-hero .meta .pill {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}

.legal-body {
  background: var(--paper);
  padding-block: clamp(56px, 7vw, 96px);
}
.legal-body .wrap {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.legal-toc {
  position: sticky; top: 110px; align-self: start;
}
.legal-toc h4 {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  counter-reset: toc;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0;
  font-size: 14px; color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  color: var(--muted); flex-shrink: 0;
}
.legal-toc a:hover { color: var(--accent); }

.legal-content {
  max-width: 72ch;
}
.legal-content section { padding-block: 28px 8px; }
.legal-content section:first-child { padding-top: 0; }
.legal-content section + section { border-top: 1px solid var(--line); }
.legal-content h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  display: flex; gap: 14px; align-items: baseline;
}
.legal-content h2::before {
  content: attr(data-n);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--accent); letter-spacing: 0.04em;
  flex-shrink: 0;
}
.legal-content h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 24px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content li::marker { color: var(--accent); }
.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--accent); }
.legal-content strong { font-weight: 700; }
.legal-content .callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 15px; line-height: 1.55;
}
.legal-content .callout p:last-child { margin-bottom: 0; }
.legal-content dl {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: 8px 18px;
  margin: 12px 0 14px;
  font-size: 15px;
}
.legal-content dt {
  font-weight: 700;
  color: var(--ink);
}
.legal-content dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 880px) {
  .legal-body .wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc a { padding: 10px 0; }
}
