/* Aura: warm whiteboard. Loaded last on every page.
   Sunset palette from Shalini's own photos, a soft serif, handwritten notes,
   marker highlights. Precise underneath, human on top. */
:root {
  --serif: "Fraunces", Georgia, serif;
  --display: "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --ink: #2a211c;
  --muted: #74675d;
  --s-ink: #2a211c;
  --s-muted: #74675d;
  --sun: #f2b544;
  --sun-soft: rgba(242, 181, 68, .5);
  --coral: #e9805c;
  --terracotta: #b4532f;
  --leaf: #6f8440;
  --plum: #231d33;
}

body { font-family: var(--body); color: var(--ink); background: #fbf5ea; }
h1, h2, h3, .h-title, .ab-title { font-variation-settings: "SOFT" 100, "WONK" 1; }
.h-title, .ab-title, .page h1, .think h1 { font-family: var(--serif); font-weight: 380; letter-spacing: -.03em; }
.h-title em, .ab-title em { font-style: italic; }

/* ---------- Handwritten labels replace mono eyebrows ---------- */
.h-label, .ab-label, .page .eyebrow, .think .eyebrow, .page .price-label, .page .offer-kicker,
.page .route-audience, .lab-step, .offer-who {
  font: 600 25px/1 var(--hand) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--terracotta) !important;
  display: inline-block;
  transform: rotate(-2deg);
}
.h-thesis .h-label, .ab-label.light, .lab-step, .ab-dark .ab-label { color: var(--sun) !important; }
.offer-who { font-size: 22px !important; color: var(--leaf) !important; }
.h-kicker {
  color: var(--terracotta); font: 600 30px/1 var(--hand); letter-spacing: 0; text-transform: none;
  transform: rotate(-3deg); display: inline-block;
}
.h-kicker::before { display: none; }

/* ---------- Marker highlight ---------- */
.mark {
  font-style: italic;
  background: linear-gradient(104deg, transparent 2%, var(--sun-soft) 4%, rgba(242, 181, 68, .62) 92%, transparent 96%) no-repeat 0 78% / 100% 38%;
  padding: 0 .02em 0 .06em;
  margin-right: -.04em;
  border-radius: 4px;
}
a.inline { color: var(--terracotta); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a.inline:hover { text-decoration-color: var(--terracotta); }

/* ---------- Warm light instead of the grid ---------- */
.h-hero::before, .ab-hero::before, .page .audit-hero::before, .page .personal-hero::before {
  background-image:
    radial-gradient(ellipse 55% 60% at 88% 18%, rgba(242, 181, 68, .32), transparent 70%),
    radial-gradient(ellipse 45% 50% at 72% 85%, rgba(233, 128, 92, .18), transparent 70%) !important;
  background-size: auto !important;
  opacity: 1 !important;
  mask-image: none !important; -webkit-mask-image: none !important;
}

/* ---------- Polaroid photos ---------- */
.h-photo, .ab-photo { transform: rotate(2.2deg); }
.h-photo img, .ab-photo img {
  padding: 12px 12px 46px; background: #fffdf8; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(42, 33, 28, .08), 0 18px 40px -12px rgba(42, 33, 28, .28);
  filter: saturate(1.05);
}
.h-photo::after, .ab-photo::after { display: none; }
.h-photo figcaption, .ab-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center;
  color: var(--ink); font: 600 22px/1 var(--hand); letter-spacing: 0;
}

/* Sticky note */
.h-note {
  position: absolute; left: -46px; bottom: 70px; z-index: 2; width: 150px; padding: 18px 14px 16px;
  background: #ffe59a; color: #4a3a1c; font: 600 21px/1.15 var(--hand);
  transform: rotate(-6deg); box-shadow: 0 10px 22px -8px rgba(42, 33, 28, .35);
}
.h-note::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 58px; height: 18px; transform: translateX(-50%) rotate(3deg);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(74, 58, 28, .08);
}

/* ---------- Softer shapes ---------- */
.button, .site-foot-links a, .lab-pick, .ab-copy { border-radius: 999px !important; }
.build, .ab-now-item, .ab-bio-card, .h-news-embed, .lab-panel, .rung, .page .price-panel,
.page .deliverable, .page .offer-card, .page .inquiry, .think .principle-item { border-radius: 14px !important; }
.button { padding-left: 22px; padding-right: 22px; }

/* ---------- Dark sections: dusk, not black ---------- */
.h-thesis, .ab-dark, .site-foot { background: radial-gradient(ellipse 80% 60% at 85% 0%, #3a2b4d 0%, transparent 60%), var(--plum) !important; }
.h-quote { border-left-color: var(--sun) !important; }
.h-thesis h2 em, .ab-beliefs article:first-child h3 { color: var(--sun) !important; }
.site-foot-top p em { color: var(--sun); font-style: italic; }
.page .final-cta { background: linear-gradient(135deg, #8f3d1f, #b4532f 60%, #d06a3e) !important; }

/* Proof row numbers in the soft serif */
.h-proof b, .ab-org, .w-row h3, .build h3, .glossary dt, .lab-rung, .lab-pick, .h-quote, .ab-now-item b, .ab-beliefs h3 {
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* Build lead card: dusk */
.build.lead { background: var(--plum) !important; border-color: var(--plum) !important; }
.build.lead .go { color: var(--sun) !important; }
.code .k { color: #bcd98f; }

/* Meta text stays mono but warmer */
.w-kind, .g-num, .ab-role, .build-meta, .site-nav-link, .site-brand { color: inherit; }
.w-kind { color: var(--terracotta); }
.ab-role { color: var(--leaf) !important; }
.site-brand b { color: var(--terracotta) !important; }
.site-nav-link[aria-current="page"] { text-decoration-color: var(--sun) !important; text-decoration-thickness: 3px; }
.site-nav { background: rgba(251, 245, 234, .86) !important; }

/* How-I-think page: its whiteboard already fits; align colors */
.think { --teal: #b4532f; --copper: #6f8440; --graphite: #231d33; --bg: #fbf5ea; --bg-2: #fffaf2; --line: #e8d9c3; --text: #2a211c; }
.think .principle-item.featured { background: var(--plum) !important; }

/* Off the clock */
.ab-off { padding: 96px 0; border-bottom: 1px solid var(--s-line); background: #fff6e6; }
.ab-off-inner { max-width: 860px; }
.ab-off h2 { margin: 14px 0 16px; font: 400 clamp(36px, 4.4vw, 56px)/1 var(--serif); letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ab-off p { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--ink); }

@media (max-width: 900px) {
  .h-note { left: -18px; bottom: 60px; width: 132px; font-size: 19px; }
}
@media (max-width: 650px) {
  .h-photo, .ab-photo { max-width: 260px; margin-left: 22px; }
  .h-note { left: -22px; bottom: 54px; width: 120px; font-size: 18px; padding: 14px 10px 12px; }
  .h-kicker { font-size: 26px; }
  .ab-off { padding: 68px 0; }
}
