/* VDG Ashvi public experience layer
   Shared across commerce, programme, legal, account and support pages. */

:root {
  --cream: #f7f8fc;
  --paper: #fffefe;
  --ink: #0b1734;
  --ink-muted: #536078;
  --line: #e2e6ef;
  --line-strong: #cbd2e0;
  --gold: #d6006f;
  --gold-dark: #a60064;
  --brand-violet: #6816ca;
  --brand-red: #ff1745;
  --brand-navy: #0b1734;
  --brand-pink: #d6006f;
  --surface-soft: #f1f3f9;
  --surface-tint: #fbe8f2;
  --shadow-air: 0 24px 80px rgba(11, 23, 52, .11);
  --shadow-float: 0 18px 54px rgba(11, 23, 52, .13);
  --curve: cubic-bezier(.16, 1, .3, 1);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
}

html { scroll-behavior: smooth; }
body.public-site {
  background:
    radial-gradient(circle at 96% 5%, rgba(214, 0, 111, .07), transparent 28rem),
    radial-gradient(circle at 5% 38%, rgba(104, 22, 202, .045), transparent 32rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--ds-font);
  overflow-x: clip;
}

body.public-site::before {
  background-image: radial-gradient(rgba(11, 23, 52, .16) .55px, transparent .55px);
  background-size: 7px 7px;
  content: "";
  inset: 0;
  opacity: .045;
  pointer-events: none;
  position: fixed;
  z-index: 40;
}

.wrap { max-width: 1360px; padding-inline: clamp(18px, 4vw, 58px); }
.utility { background: var(--brand-navy); color: #f7f8fc; }
.utility .wrap { min-height: 34px; align-items: center; font-size: 11px; letter-spacing: .04em; }
.utility a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.nav {
  background: rgba(255, 254, 255, .94);
  box-shadow: 0 1px 0 rgba(11, 23, 52, .08);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-row { justify-content: space-between; min-height: 82px; }
.brand { align-items: center; display: inline-flex; gap: 12px; text-decoration: none; }
.brand .mark { background: #fff; border-radius: 50%; height: 58px; object-fit: contain; width: 58px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy small { color: var(--ink-muted); font-size: 9px; letter-spacing: .055em; text-transform: uppercase; }
.wordmark { color: var(--brand-navy); font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.nav-links { gap: clamp(16px, 2.1vw, 30px); }
.nav-links > a, .mega-trigger { font-size: 13px; font-weight: 600; }
.nav-links > a::after, .mega-trigger::after {
  background: var(--brand-pink);
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--curve);
  width: 100%;
}
.nav-links > a, .mega-trigger { position: relative; }
.nav-links > a:hover::after, .nav-links > a.is-active::after, .mega-trigger:hover::after { transform: scaleX(1); transform-origin: left; }
.icon-btn { border-radius: 999px; transition: background .45s var(--curve), transform .45s var(--curve); }
.nav-icons { margin-left: auto; }
.icon-btn:hover { background: var(--surface-tint); transform: translateY(-2px); }
.ham { border-radius: 999px; }

.btn, button.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform .5s var(--curve), box-shadow .5s var(--curve), background .5s var(--curve), color .5s var(--curve);
}
.btn:hover, button.btn:hover { box-shadow: 0 14px 30px rgba(214, 0, 111, .18); transform: translateY(-3px); }
.btn:active, button.btn:active { transform: scale(.98); }
.btn-gold, .btn.btn-gold { background: var(--brand-pink); border-color: var(--brand-pink); color: #fff; }
.btn-gold:hover, .btn.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section + .section { border-top-color: rgba(11, 23, 52, .07) !important; }
.section-head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 780px; }
.section-head h1, .section-head h2, .page-hero h1, .experience-hero h1 {
  color: var(--brand-navy);
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  letter-spacing: -.065em;
  line-height: .98;
  text-wrap: balance;
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 4.6rem); }
.section-head p, .page-hero .lede, .experience-hero .lede {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  max-width: 65ch;
}
.eyebrow, .kicker {
  color: var(--brand-pink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .19em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.page-hero, .experience-hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, .86fr);
  min-height: min(760px, calc(100dvh - 116px));
  padding-block: clamp(46px, 7vw, 94px);
}
.page-hero-media, .experience-hero-media, .photo {
  background: rgba(11, 23, 52, .05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-air);
  overflow: hidden;
  padding: 8px;
}
.page-hero-media img, .experience-hero-media img, .photo img {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-lg) - 7px);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.trust-ribbon {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 12px 0;
  overflow: hidden;
}
.trust-ribbon > * { background: rgba(255, 254, 255, .88); padding: 22px; }
.trust-ribbon strong { display: block; font-size: 15px; margin-bottom: 4px; }
.trust-ribbon span { color: var(--ink-muted); font-size: 12px; }

.catalog-grid, .story-grid, .feature-bento {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.catalog-grid > *, .story-grid > *, .feature-bento > * {
  background: rgba(255, 254, 255, .92);
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 1px 0 rgba(11, 23, 52, .05), 0 22px 60px rgba(11, 23, 52, .07);
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) !important;
  transition: transform .65s var(--curve), box-shadow .65s var(--curve);
}
.catalog-grid > *:nth-child(1), .catalog-grid > *:nth-child(5),
.story-grid > *:nth-child(1), .feature-bento > *:nth-child(1) { grid-column: span 8; }
.catalog-grid > *:hover, .story-grid > *:hover, .feature-bento > *:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-7px);
}
.ph { background: rgba(255, 254, 255, .92); }
.ph b { color: var(--brand-navy); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.ph span { color: var(--ink-muted); line-height: 1.65; }

.feat-list { display: grid; gap: 12px; margin-top: 26px; }
.feat-row {
  align-items: center;
  background: rgba(255, 254, 255, .8);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(11, 23, 52, .06);
  color: var(--ink);
  display: flex;
  font-size: 14px;
  gap: 12px;
  padding: 15px 17px;
}
.feat-row svg { color: var(--brand-pink); flex: 0 0 auto; height: 19px; width: 19px; }

input, select, textarea {
  background: rgba(255, 254, 255, .92) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 14px !important;
  color: var(--ink) !important;
  min-height: 48px;
  outline: none;
  transition: border-color .35s var(--curve), box-shadow .35s var(--curve), transform .35s var(--curve);
}
textarea { min-height: 132px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-pink) !important; box-shadow: 0 0 0 4px rgba(214, 0, 111, .12); }

.pcard, .product-card, .range-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .65s var(--curve), box-shadow .65s var(--curve);
}
.pcard:hover, .product-card:hover, .range-card:hover { box-shadow: var(--shadow-float); transform: translateY(-7px); }
.pcard img, .product-card img, .range-card img { transition: transform .9s var(--curve); }
.pcard:hover img, .product-card:hover img, .range-card:hover img { transform: scale(1.045); }

.site-cta { padding: clamp(28px, 4vw, 56px) 0; }
.site-cta-inner {
  align-items: center;
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-air);
  color: #f7f8fc;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  padding-block: clamp(32px, 5vw, 64px);
}
.site-cta h2 { color: inherit; font-size: clamp(1.9rem, 4vw, 4rem); letter-spacing: -.05em; line-height: 1.05; margin: 0 0 14px; max-width: 18ch; }
.site-cta p:not(.kicker) { color: rgba(247, 248, 252, .72); margin: 0; max-width: 62ch; }
.site-cta .kicker { color: #ff69ad; }

.site-footer { background: transparent; border-top: 0; padding-top: clamp(34px, 5vw, 70px); }
.foot-grid { gap: clamp(28px, 5vw, 70px); grid-template-columns: 1.7fr repeat(4, 1fr); }
.foot-brand .mark { height: 74px; width: 74px; }
.foot-brand p, .foot-col a { color: var(--ink-muted); }
.foot-col h2 { color: var(--brand-navy); letter-spacing: .08em; }
.foot-col a { text-underline-offset: 4px; transition: color .35s var(--curve), transform .35s var(--curve); }
.foot-col a:hover { color: var(--brand-pink); transform: translateX(3px); }
.foot-bottom { border-top-color: var(--line); }

/* Long-form policy pages stay readable without becoming an undifferentiated wall of text. */
.section > .wrap[style*="max-width:720px"] { max-width: 980px !important; }
.section > .wrap[style*="max-width:720px"] > div[style*="display:flex"] {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-air);
  gap: 0 !important;
  padding: clamp(22px, 5vw, 58px);
}
.section > .wrap[style*="max-width:720px"] > div[style*="display:flex"] > div,
.section > .wrap[style*="max-width:720px"] > div[style*="display:flex"] > h3 {
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}
.section > .wrap[style*="max-width:720px"] h4 { color: var(--brand-navy); font-size: 1rem; margin: 0 0 9px; }
.section > .wrap[style*="max-width:720px"] p,
.section > .wrap[style*="max-width:720px"] li { color: var(--ink-muted); line-height: 1.8; }

/* Public identity screens reuse the robust admin form mechanics with a customer-facing skin. */
.auth-public.admin-body { background: radial-gradient(circle at 80% 8%, rgba(214,0,111,.11), transparent 25rem), var(--cream); font-family: var(--ds-font); }
.auth-public .admin-login-wrap { min-height: 100dvh; padding: 34px 18px; }
.auth-public .admin-login-card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-air);
  max-width: 480px;
  padding: clamp(28px, 5vw, 52px);
}
.auth-public .admin-login-card .brand .mark { height: 84px; width: 84px; }
.auth-public .admin-login-card h1 { color: var(--brand-navy); font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.055em; margin-bottom: 12px; text-align: center; }
.auth-public .admin-login-card label { color: var(--ink); font-size: 13px; gap: 7px; }
.auth-public .admin-login-card input { font: inherit; padding: 12px 14px; }
.auth-public .auth-foot { color: var(--ink-muted); }
.auth-public .auth-foot a { color: var(--brand-pink); font-weight: 700; }

.su-body { font-family: var(--ds-font); }
.su-side { background: var(--brand-navy); }
.su-brand img { background: #fff; border-radius: 50%; object-fit: contain; }
.su-card { border-radius: var(--radius-lg); }
.su-role { border-radius: 18px; transition: transform .45s var(--curve), box-shadow .45s var(--curve); }
.su-role:hover { box-shadow: 0 16px 40px rgba(11,23,52,.1); transform: translateY(-3px); }
.su-role:has(input:checked) { border-color: var(--brand-pink); box-shadow: 0 0 0 3px rgba(214,0,111,.1); }

.motion-ready .reveal-target { opacity: 0; transform: translateY(34px); }
.motion-ready .reveal-target.is-visible { opacity: 1; transform: translateY(0); transition: opacity .85s var(--curve), transform .85s var(--curve); }

@media (max-width: 1400px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .page-hero, .experience-hero { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .utility .wrap span:first-child { display: none; }
  .utility .wrap { justify-content: center; }
  .nav-row { min-height: 70px; }
  .brand .mark { height: 48px; width: 48px; }
  .brand-copy small { display: none; }
  .nav-icons .btn, .nav-icons .icon-btn:not(:first-child) { display: none; }
  .section { padding-block: 64px; }
  .section-head h1, .section-head h2, .page-hero h1, .experience-hero h1 { font-size: clamp(2.2rem, 12vw, 3.8rem); }
  .page-hero, .experience-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 42px 70px; }
  .page-hero-media, .experience-hero-media, .photo { order: -1; }
  .page-hero-media img, .experience-hero-media img, .photo img { aspect-ratio: 4 / 3; }
  .catalog-grid, .story-grid, .feature-bento { grid-template-columns: 1fr; }
  .catalog-grid > *, .catalog-grid > *:nth-child(1), .catalog-grid > *:nth-child(5),
  .story-grid > *, .story-grid > *:nth-child(1), .feature-bento > *, .feature-bento > *:nth-child(1) { grid-column: 1; }
  .trust-ribbon { grid-template-columns: 1fr 1fr; }
  .site-cta-inner { grid-template-columns: 1fr; margin-inline: 14px; }
  .site-cta .btn { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0c1120;
    --paper: #11182a;
    --ink: #f1f4fb;
    --ink-muted: #aab4c7;
    --line: #253047;
    --line-strong: #38455e;
    --surface-soft: #151e32;
    --surface-tint: #29172b;
    --ds-cream: #0c1120;
    --ds-paper: #11182a;
    --ds-bg-raised: #151e32;
    --ds-bg-sunk: #18233a;
    --ds-ink: #f1f4fb;
    --ds-ink-muted: #aab4c7;
    --ds-ink-faint: #7f8ca3;
    --ds-line: #253047;
    --ds-line-strong: #38455e;
  }
  body.public-site { background: radial-gradient(circle at 90% 4%, rgba(214, 0, 111, .1), transparent 30rem), var(--cream); }
  .nav { background: rgba(17, 24, 42, .95); }
  .wordmark, .section-head h1, .section-head h2, .page-hero h1, .experience-hero h1,
  .ph b, .foot-col h2 { color: var(--ink); }
  .catalog-grid > *, .story-grid > *, .feature-bento > *, .feat-row, .trust-ribbon > * { background: rgba(17, 24, 42, .9); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready .reveal-target { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .catalog-grid > *, .story-grid > *, .feature-bento > *, .feat-row { background: var(--paper); }
}
