/* Whisperin — Base layer: reset, background system, typography, primitives */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;text-rendering:optimizeLegibility;overflow-x:hidden}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  font-family:var(--wi-font);
  font-size:var(--fs-body);
  line-height:var(--lh-body);
  color:var(--wi-text);
  /* bg-tiny.jpeg = instant LQIP; the sharp bg.jpeg layer (body::before) paints over it */
  background:#090909 url("../img/bg-tiny.jpeg") center center / cover no-repeat;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  min-height:100vh;
}
/* ABGCMO exact: fixed bg.jpeg layer (iOS-safe; not background-attachment:fixed) */
body::before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:#090909 url("../img/bg.jpeg") center center / cover no-repeat;
}
/* ABGCMO exact: single rgba(0,0,0,.6) overlay above the image, below content */
body::after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:rgba(0,0,0,.6);
}

img,video,svg{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:none}
ul,ol{list-style:none}
:focus-visible{outline:none;box-shadow:var(--wi-focus);border-radius:6px}

/* ---- Typography (ABGCMO: light 400 headings, #fff + soft shadow; bold only on inline brand word) ---- */
h1,h2,h3,h4{line-height:var(--lh-tight);font-weight:400;letter-spacing:-.01em;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.4)}
h1{font-size:var(--fs-hero)}
h2{font-size:var(--fs-h2)}
h3{font-size:var(--fs-h3);line-height:var(--lh-snug);font-weight:600}
p{color:var(--wi-text-muted)}
strong{color:var(--wi-text);font-weight:700}
.gradient-text{background:var(--wi-text-gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* ---- Layout primitives ---- */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:clamp(20px,5vw,40px)}
.section{padding-block:var(--section-y);position:relative}
.section + .section{margin-top:clamp(24px,4vh,56px)}
/* first section must clear the fixed header (index hero overrides via inline padding) */
main>.section:first-child{padding-top:clamp(104px,13vh,156px)}
.section--glow::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 60% 50% at 50% 0,rgba(240,176,200,.10),transparent 70%);pointer-events:none}
.reading{max-width:var(--reading);margin-inline:auto}
.center{text-align:center}
.stack>*+*{margin-top:var(--s5)}
.grid{display:grid;gap:var(--s6)}
.flex{display:flex;align-items:center;gap:var(--s3)}
.wrap{flex-wrap:wrap}

/* ---- Eyebrow / utility ---- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-micro);font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--wi-text-subtle);padding:5px 14px;border:1px solid var(--wi-glass-border);border-radius:var(--r-pill);background:var(--wi-glass-bg)}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:none}
.muted{color:var(--wi-text-muted)}.subtle{color:var(--wi-text-subtle)}
.lead{font-size:var(--fs-lead);color:var(--wi-text-muted);line-height:1.62}
.section-head{max-width:50rem;margin-inline:auto;margin-bottom:var(--s16)}
.section-head h2{margin-bottom:var(--s6)}
.section h2 + p,.section h3 + p{margin-top:var(--s5)}
.section p + p{margin-top:var(--s4)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;z-index:var(--z-toast);padding:10px 18px;background:var(--wi-cta);color:#2a0a18;border-radius:12px;font-weight:700;box-shadow:var(--wi-glow-strong)}
.eyebrow--center{display:flex;width:max-content;margin-inline:auto;margin-bottom:var(--s5)}

@media (max-width:640px){
  .section-head{margin-bottom:var(--s12)}
}

/* ABGCMO uses a single fixed bg.jpeg for the whole page; the hero glow is baked into the image. */
.hero::before{content:none}
