/* =========================================================
   Jyotsna Solar Lab — main stylesheet
   Palette: navy / gold / white
   ========================================================= */

:root {
  --navy-900: #15224a;  /* deeper shade of logo navy */
  --navy-800: #1e2f5e;  /* logo navy */
  --navy-700: #2b4180;
  --navy-100: #e6ebf4;
  --gold-500: #f2a93b;  /* logo gold */
  --gold-400: #f6bd66;
  --gold-100: #fdf1dd;
  --gold-700: #9a5d0a;  /* gold for text on white (accessible contrast) */
  --white: #ffffff;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #dde3ec;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --radius: 12px;
  --shadow: 0 6px 24px rgba(21, 34, 74, 0.08);
  --shadow-lg: 0 14px 40px rgba(21, 34, 74, 0.14);
  --max: 1120px;
  --space: clamp(4rem, 8vw, 6.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); }
a:hover { color: var(--gold-700); }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: .6rem 1rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(242, 169, 59, 0.35);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  color: var(--white); text-decoration: none;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem;
}
.brand:hover { color: var(--gold-400); }
.brand img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: contain;
}
.nav-links { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55rem .9rem; border-radius: 8px;
  color: var(--navy-100); text-decoration: none; font-size: .975rem; font-weight: 500;
}
.nav-links a:hover { color: var(--gold-400); background: rgba(255,255,255,.05); }
.nav-links a[aria-current="page"] { color: var(--gold-400); box-shadow: inset 0 -2px 0 var(--gold-500); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3);
  color: var(--white); border-radius: 8px; padding: .5rem .7rem; cursor: pointer;
  font-size: 1rem; min-width: 44px; min-height: 44px;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--navy-900);
    padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(242,169,59,.35);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem .5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--gold-500); color: var(--gold-400); background: transparent; }
.btn-outline:hover { background: var(--gold-500); color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section-alt { background: #f6f8fb; }
.section-navy { background: var(--navy-900); color: var(--navy-100); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-700); margin-bottom: .75rem;
}
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-navy .lead { color: #b9c4d8; }
.section-navy .eyebrow, .page-hero .eyebrow { color: var(--gold-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(242,169,59,.22), transparent 45%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding-block: clamp(5rem, 12vw, 9rem);
}
.hero::after { /* subtle grid, scientific feel */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .container { position: relative; z-index: 1; max-width: 860px; text-align: center; }
@media (min-width: 900px) {
  .hero .container { max-width: var(--max); text-align: left; }
  .hero .container > * { max-width: 520px; }
  .hero .hero-logo { margin-left: 0; }
  .hero .container .motto::before { content: none; }
  .hero .container .motto::after { content: none; }
  .hero .motto { padding-left: 1rem; border-left: 3px solid var(--gold-500); }
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero .tagline { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--navy-100); margin-bottom: .5rem; }
.hero .motto {
  font-family: var(--font-serif); font-style: italic; color: var(--gold-400);
  font-size: 1.2rem; margin-bottom: 2.25rem;
}
.hero .motto::before, .hero .motto::after { content: "—"; margin: 0 .6rem; opacity: .6; }
.hero-logo {
  width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 50%;
  object-fit: contain;
}

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: #c3cde0; max-width: 640px; font-size: 1.15rem; margin: 0; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-500); color: inherit; }
.card p { color: var(--muted); flex-grow: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.25rem;
  display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400);
}
.card-icon svg { width: 26px; height: 26px; }
.card-link { font-weight: 600; color: var(--navy-700); }
a.card:hover .card-link { color: var(--gold-700); }

/* ---------- Impact / stats ---------- */
.stats {
  display: grid; gap: 1.25rem; margin: 3rem auto; max-width: 760px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat {
  text-align: center; padding: 2rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(242,169,59,.35); background: rgba(255,255,255,.03);
}
.stat-number {
  display: block; font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3rem); color: var(--gold-400); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-number.is-placeholder { font-size: 1.15rem; font-family: var(--font-sans); padding-block: .9rem; opacity: .85; }
.stat-label { display: block; margin-top: .5rem; color: #c3cde0; font-size: .95rem; }

.testimonials { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.testimonial {
  margin: 0; padding: 2rem; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow);
  border-top: 4px solid var(--gold-500); display: flex; flex-direction: column;
}
.testimonial blockquote {
  margin: 0 0 1.5rem; font-family: var(--font-serif); font-size: 1.08rem;
  color: var(--navy-800); flex-grow: 1;
}
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--gold-500); }
.testimonial figcaption strong { display: block; color: var(--navy-900); }
.testimonial figcaption span { color: var(--muted); font-size: .92rem; }

.closing-line {
  margin-top: 3rem; text-align: center; font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--white);
}
.closing-line strong { color: var(--gold-400); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .lead { max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Products page ---------- */
.product-feature {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.badge {
  display: inline-block; background: var(--gold-100); color: var(--gold-700);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}
.placeholder-box {
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--navy-100), var(--navy-100) 12px, #f1f4f9 12px, #f1f4f9 24px);
  display: grid; place-items: center; color: var(--muted); font-size: .95rem; text-align: center; padding: 1rem;
}
.placeholder { color: var(--muted); font-style: italic; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); counter-reset: step; position: relative; }
.steps::before { /* connecting path */
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-700));
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 1.25rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400); border: 3px solid var(--gold-500);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
}
.step.optional .step-num { border-style: dashed; }
.step-level { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.step h3 { margin: .3rem 0 .5rem; }
.step p { color: var(--muted); font-size: .98rem; }
.step .tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--navy-700); background: var(--navy-100); padding: .2rem .65rem; border-radius: 999px; margin-bottom: .75rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { top: 34px; bottom: 34px; left: 34px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold-500), var(--navy-700)); }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 1.25rem; text-align: left; padding: 0; }
  .step-num { margin: 0; }
}

/* ---------- About ---------- */
.two-col { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 380px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1.4fr; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-email { font-size: 1.2rem; font-weight: 600; word-break: break-word; }

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(242,169,59,.35);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .88rem; min-height: 1.2em; }
.form-status { padding: 1rem 1.25rem; border-radius: 10px; display: none; }
.form-status.show { display: block; background: var(--gold-100); color: var(--navy-900); border-left: 4px solid var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb9cd; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1.05rem; font-family: var(--font-sans); }
.site-footer a { color: #d3dbe8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-motto { font-family: var(--font-serif); font-style: italic; color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: .85rem; }

/* ---------- Scroll fade-in ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Founder photo (About page) */
.founder-photo {
  width: 100%; max-width: 380px; aspect-ratio: 1 / 1; height: auto;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* LinkedIn links */
.li-icon { width: 16px; height: 16px; vertical-align: -2px; flex-shrink: 0; }
.site-footer a .li-icon { margin-right: .35rem; }
.social-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.social-list a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; min-height: 44px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Events & Publications ---------- */
.chip-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip-nav a {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 1px solid rgba(242,169,59,.6); border-radius: 999px; padding: .5rem 1.1rem; min-height: 44px;
  display: inline-flex; align-items: center;
}
.chip-nav a:hover { background: var(--gold-500); color: var(--navy-900); }

.event-category { margin-top: 2.5rem; scroll-margin-top: 90px; }
.category-title {
  display: flex; align-items: center; gap: .75rem; font-size: 1.5rem; margin-bottom: 1.5rem;
}
.category-title::before { content: ""; width: 28px; height: 3px; background: var(--gold-500); border-radius: 2px; }
.event-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.event-card {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.event-card img, .event-card .event-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0;
}
.event-card figcaption { padding: 1.25rem 1.4rem 1.5rem; }
.event-card h4 { font-family: var(--font-serif); color: var(--navy-900); font-size: 1.15rem; margin: .25rem 0 .4rem; }
.event-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.event-date { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }

#publications { scroll-margin-top: 72px; }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pub {
  display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.5rem;
}
.pub-year { font-family: var(--font-serif); font-weight: 700; color: var(--navy-800); font-size: 1.1rem; }
.pub h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.pub p { margin: 0 0 .25rem; color: var(--muted); font-size: .95rem; }
.pub-venue { font-style: italic; }
.pub-link { font-weight: 600; font-size: .95rem; }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: .4rem; } }

/* ---------- Hero background slideshow ----------
   Text sits on the left over a navy fade; the photo shows clearly on the right. */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  /* whole photo shown (contain), with a blurred copy of itself filling the space around it */
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; transition: opacity 1.8s ease-in-out;
  filter: saturate(.85);
  transform: scale(1.02);
}
.hero-slide::before,
.hero-slide::after { content: ""; position: absolute; background-image: var(--img); background-repeat: no-repeat; background-position: center; }
.hero-slide::before { inset: -40px; background-size: cover; filter: blur(28px) brightness(.5); }  /* soft fill */
.hero-slide::after  { inset: 0; background-size: contain; background-position: 72% center; }      /* full photo, right of centre */
.hero-slide.active { opacity: .55; animation: hero-drift 9s ease-out forwards; }
@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1); } }
.hero-slides::after { /* navy fade behind the text on the left, clear on the right */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,34,74,.92) 0%, rgba(21,34,74,.8) 30%, rgba(21,34,74,.25) 55%, rgba(21,34,74,.05) 100%);
}
@media (max-width: 899px) { /* phones: text is centred, so darken evenly */
  .hero-slide::after { background-position: center; }
  .hero-slides::after { background: rgba(21,34,74,.68); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.active { animation: none; transform: none; }
}

/* Hero slideshow controls */
.hero-controls {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; align-items: center; gap: .4rem;
  background: rgba(21,34,74,.55); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: .3rem .5rem; opacity: .75; transition: opacity .2s;
}
.hero-controls[hidden] { display: none; }
.hero-controls:hover, .hero-controls:focus-within { opacity: 1; }
.hero-controls button {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--white); border: 1px solid transparent; font-size: .85rem;
}
.hero-controls button:hover { border-color: var(--gold-500); color: var(--gold-400); }
.hero-counter { color: var(--navy-100); font-size: .8rem; min-width: 3.2em; text-align: center; font-variant-numeric: tabular-nums; padding-right: .25rem; }

/* ---------- Announcement band ---------- */
.news-band { overflow: hidden; background: var(--gold-500); color: var(--navy-900); font-size: .95rem; font-weight: 500; }
.news-band[hidden] { display: none; }
.news-inner { display: flex; align-items: center; gap: .75rem; min-height: 44px; }
.news-label {
  flex-shrink: 0; background: var(--navy-900); color: var(--gold-400);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 4px;
}
.news-viewport {
  flex: 1; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.news-track {
  list-style: none; margin: 0; padding: 0; display: flex; width: max-content;
  animation: news-rtl 40s linear infinite;
}
.news-band.ltr .news-track { animation-name: news-ltr; }
.news-band:hover .news-track, .news-band:focus-within .news-track,
.news-band.paused .news-track { animation-play-state: paused; }
.news-track li { white-space: nowrap; padding: 0 2.5rem 0 0; display: flex; align-items: center; }
.news-track li::before { content: "\2600"; color: var(--navy-800); margin-right: 2.5rem; opacity: .7; } /* ☀ separator */
.news-track a { color: var(--navy-900); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.news-track a:hover { color: var(--navy-700); }
@keyframes news-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes news-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.news-pause {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--navy-900); border: 1px solid rgba(21,34,74,.35); font-size: .7rem;
}
.news-pause:hover { background: var(--navy-900); color: var(--gold-400); }
/* reduced motion: messages wrap and stay still */
.news-band.static .news-viewport { -webkit-mask-image: none; mask-image: none; }
.news-band.static .news-track { animation: none; flex-wrap: wrap; width: auto; padding-block: .4rem; }
@media (max-width: 560px) { .news-label { display: none; } }

/* ---------- Hero sticky notes: Today's Learning (left) + Lab News (right) ---------- */
.notes-strip {
  background:
    radial-gradient(circle at 1px 1px, rgba(30,47,94,.08) 1px, transparent 0) 0 0 / 22px 22px,
    #f6f8fb;
  border-bottom: 1px solid var(--line);
  padding-block: 3rem 3.25rem;
}
.hero-notes {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2.5rem 2rem;
}
.hero-notes .sticky-note { width: min(100%, 440px); }
@media (max-width: 960px) { .hero-notes { justify-content: center; } }
.sticky-note {
  position: relative; text-align: left; width: min(100%, 280px);
  color: var(--navy-900); padding: 1.5rem 1.2rem .9rem;
  border-radius: 2px 2px 18px 2px;              /* curled corner */
  box-shadow: 0 12px 22px rgba(21,34,74,.18), 0 2px 4px rgba(21,34,74,.12);
  transition: transform .3s ease;
}
.note-yellow { background: linear-gradient(180deg, #fff3c4 0%, #fde9a6 100%); transform: rotate(-2deg); }
.note-blue   { background: linear-gradient(180deg, #e8f0ff 0%, #d3e1fb 100%); transform: rotate(2deg); }
.sticky-note:hover, .sticky-note:focus-within { transform: rotate(0deg) scale(1.02); }
.note-pin {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a7a, #c0392b 70%);
  box-shadow: 0 3px 5px rgba(0,0,0,.35);
}
.note-blue .note-pin { background: radial-gradient(circle at 35% 35%, #ffd27a, #d48a12 70%); }
.note-heading {
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.4rem; color: var(--navy-800); margin: 0 0 .45rem; font-weight: 700;
}
.sticky-note .learning-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .5rem; }
.sticky-note .learning-topic {
  background: var(--navy-800); color: #fde9a6; font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px;
}
.note-blue .learning-topic { color: #d3e1fb; }
.sticky-note .learning-date { color: #4a4a3a; font-size: .78rem; }
.note-blue .learning-date { color: #33415f; }
.sticky-note .learning-title { font-family: var(--font-sans); font-size: 1.02rem; color: var(--navy-900); margin: 0 0 .3rem; }
.sticky-note .learning-text { font-size: .88rem; line-height: 1.5; color: #2b2a24; margin: 0 0 .7rem; }
.sticky-note .learning-nav { display: flex; align-items: center; justify-content: space-between; gap: .4rem; border-top: 1px dashed rgba(30,47,94,.3); padding-top: .5rem; }
.note-btn {
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--navy-800); cursor: pointer;
  background: transparent; border: 1px solid rgba(30,47,94,.3); border-radius: 999px;
  min-width: 36px; height: 36px; padding: 0 .7rem;
}
.note-btn:hover { background: var(--navy-800); color: #fde9a6; }
.sticky-note .learning-today { margin-inline: auto; }
.note-link { font-size: .85rem; font-weight: 700; color: var(--navy-800); text-underline-offset: 3px; }
.note-link:hover { color: var(--navy-700); }
.note-link[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { .sticky-note { transition: none; } }

/* Single-item notes */
.news-note-footer { justify-content: flex-end !important; }
.news-note-footer[hidden] { display: none !important; }
.sticky-note[hidden] { display: none; }

/* ---------- Testimonials (real) ---------- */
.testimonials-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; align-items: stretch; }
.testimonials-masonry .testimonial { margin: 0; }
.testimonial blockquote { font-size: 1rem; line-height: 1.6; }
.testimonial figcaption strong { line-height: 1.35; margin-bottom: .2rem; }
.t-date { display: block; margin-top: .25rem; font-size: .8rem; color: var(--muted); }
.t-more { text-align: center; margin-top: 2rem; }
.t-note { text-align: center; color: var(--muted); font-size: .9rem; max-width: 640px; margin: 0 auto 2rem; }
.t-note.on-dark { color: #b9c4d8; margin-top: 1.5rem; margin-bottom: 0; }

/* ---------- Testimonial carousel (Home) ---------- */
.t-carousel { position: relative; }
.t-track {
  display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .5rem .25rem 1rem; scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; border-radius: var(--radius); }
.t-slide { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; }
@media (max-width: 960px) { .t-slide { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .t-slide { flex-basis: 88%; } }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.t-controls button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  background: transparent; color: var(--white); border: 1px solid rgba(242,169,59,.6);
}
.t-controls button:hover { background: var(--gold-500); color: var(--navy-900); }
.t-controls button:disabled { opacity: .35; cursor: default; background: transparent; color: var(--white); }
.t-count { color: #c3cde0; font-size: .9rem; min-width: 7em; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .t-track { scroll-behavior: auto; } }

/* ---------- Event photo albums + lightbox ---------- */
.event-album { grid-column: 1 / -1; width: fit-content; max-width: 100%; }
.album-grid { list-style: none; margin: 0; padding: 1.25rem 1.4rem 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.album-grid li { width: 150px; }
@media (max-width: 560px) { .album-grid li { width: calc((100% - 1.5rem) / 3); } }
.album-thumb { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--navy-100); overflow: hidden; border-radius: 8px; }
.album-thumb img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.album-thumb:hover img, .album-thumb:focus-visible img { transform: scale(1.04); filter: brightness(1.05); }
.album-thumb:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 18, 40, .92); }
.lb-img { max-width: min(92vw, 1200px); max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { position: fixed; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: #d3dbe8; font-size: .95rem; margin: 0; }
.lb-close, .lb-prev, .lb-next {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.25); font-size: 1.2rem;
}
.lb-close { top: 1rem; right: 1rem; font-size: 1.6rem; line-height: 1; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Publications (year-wise) ---------- */
.pub-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 640px) { .pub-stats { grid-template-columns: repeat(2, 1fr); } }
.pub-stats div { background: var(--navy-900); color: #c3cde0; border-radius: var(--radius); padding: 1.25rem 1rem; text-align: center; }
.pub-stats strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--gold-400); line-height: 1.1; }
.pub-stats span { font-size: .85rem; }
.pub-source { text-align: center; color: var(--muted); font-size: .85rem; margin: .75rem 0 2rem; }
.year-nav { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-bottom: 2.5rem; }
.year-nav a {
  font-size: .9rem; font-weight: 600; color: var(--navy-800); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; min-height: 36px; display: inline-flex; align-items: center;
}
.year-nav a:hover { border-color: var(--gold-500); background: var(--gold-100); color: var(--navy-900); }
.pub-year-group { scroll-margin-top: 90px; margin-bottom: 2.5rem; }
.pub-year-heading {
  display: flex; align-items: baseline; gap: .75rem; font-size: 1.75rem; color: var(--navy-900);
  border-bottom: 2px solid var(--gold-500); padding-bottom: .4rem; margin-bottom: 1rem;
}
.pub-year-heading span { font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--muted); }
.pub-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.pub-item { padding: 1rem 0 1rem 1.1rem; border-left: 3px solid var(--navy-100); border-bottom: 1px solid var(--line); }
.pub-item:hover { border-left-color: var(--gold-500); }
.pub-item h4 { font-family: var(--font-sans); font-size: 1.05rem; line-height: 1.4; margin: 0 0 .3rem; }
.pub-item h4 a { color: var(--navy-900); text-decoration: none; }
.pub-item h4 a:hover { color: var(--gold-700); text-decoration: underline; }
.pub-item p { margin: 0 0 .15rem; font-size: .93rem; color: var(--muted); }
.pub-item .pub-venue { font-style: italic; }
.pub-authors strong { color: var(--navy-800); }
.pub-cited { display: inline-block; margin-top: .35rem; font-size: .78rem; font-weight: 700; color: var(--gold-700); background: var(--gold-100); padding: .15rem .55rem; border-radius: 999px; }

/* ---------- Participant organisations ---------- */
.orgs { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.12); scroll-margin-top: 90px; }
.orgs-title { text-align: center; color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin-bottom: .4rem; }
.orgs-sub { text-align: center; color: #b9c4d8; margin: 0 auto 2rem; max-width: 620px; }
.orgs-list {
  list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 2rem;
  color: #dbe3f0; font-size: .95rem;
}
.orgs-list li { break-inside: avoid; padding: .45rem 0 .45rem 1.1rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.07); }
.orgs-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.orgs-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.orgs-chips li { color: var(--white); font-size: .9rem; font-weight: 500; border: 1px solid rgba(242,169,59,.5); border-radius: 999px; padding: .35rem .9rem; }
.orgs-more { text-align: center; margin: 1.25rem 0 0; }
.orgs-more a { color: var(--gold-400); font-weight: 600; }
.orgs-short { margin-top: 2.5rem; }

/* ---------- India map of participant cities ---------- */
.map-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start;
  margin: 1rem 0 4rem; padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255,255,255,.03); border: 1px solid rgba(242,169,59,.25); border-radius: var(--radius);
}
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } }
.map-figure { margin: 0; position: relative; }
@media (min-width: 861px) { .map-figure { position: sticky; top: 90px; } }
.india-map { width: 100%; height: auto; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.india-shape { fill: #2b4180; stroke: rgba(246,189,102,.7); stroke-width: 1; stroke-linejoin: round; }
.city { cursor: pointer; outline: none; }
.city-dot { fill: var(--gold-500); stroke: var(--navy-900); stroke-width: 1.2; transition: r .2s; }
.city-pulse { fill: var(--gold-500); opacity: 0; transform-box: fill-box; transform-origin: center; animation: city-pulse 3s ease-out infinite; }
.city:nth-of-type(3n) .city-pulse { animation-delay: 1s; }
.city:nth-of-type(3n+1) .city-pulse { animation-delay: 2s; }
.city:hover .city-dot, .city:focus .city-dot { r: 6.5; fill: #fff; }
.city:focus-visible .city-dot { stroke: var(--gold-400); stroke-width: 2.5; }
@keyframes city-pulse { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.map-label {
  position: absolute; pointer-events: none; transform: translate(-50%, -140%);
  background: var(--white); color: var(--navy-900); font-size: .8rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 6px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transition: opacity .15s;
}
.map-label.show { opacity: 1; }
.map-info h3 { color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin-bottom: .4rem; }
.map-lead { color: #b9c4d8; margin-bottom: 1.25rem; }
.map-region { padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.map-region h4 { margin: 0 0 .2rem; color: var(--gold-400); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-sans); }
.map-region h4 span { color: #8f9bb3; font-weight: 600; margin-left: .3rem; }
.map-region p { margin: 0; color: #dbe3f0; font-size: .86rem; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .city-pulse { animation: none; } }

/* ---------- International inset map ---------- */
.intl-inset { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.intl-title { margin: 0 0 .5rem; color: var(--gold-400); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.world-inset { width: 100%; height: auto; display: block; border-radius: 8px; }
.wi-land { fill: #2b4180; opacity: .5; }
.wi-india { fill: #3a55a0; stroke: rgba(246,189,102,.8); stroke-width: .8; }
.wi-country { fill: var(--gold-500); stroke: #fff; stroke-width: .6; }
.wi-label { fill: #fff; font: 700 13px var(--font-sans); paint-order: stroke; stroke: rgba(21,34,74,.85); stroke-width: 3px; }

/* ---------- Event tiles (one card per event) ---------- */
.event-grid:has(.event-tile) { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.event-tile .album-grid { padding: 0; gap: 2px; display: grid; }
.event-tile .album-grid li { width: auto; }
.event-tile .album-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.event-tile .album-thumb { border-radius: 0; }
.event-tile figcaption { padding: 1rem 1.2rem 1.25rem; }
.event-tile h4 { font-size: 1.05rem; }

/* ---------- Founder bio ---------- */
.two-col:has(.founder-photo) { align-items: start; }
.founder-side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 900px) { .founder-side { position: sticky; top: 100px; } }
.founder-lead { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--navy-800); border-left: 4px solid var(--gold-500); padding-left: 1rem; margin-bottom: 1.5rem; }
.founder-sub { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.founder-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.founder-list li { margin-bottom: .6rem; }
.founder-list li::marker { color: var(--gold-500); }
.focus-chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.focus-chips li { background: var(--navy-100); color: var(--navy-800); font-size: .9rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px; }

/* ---------- Coming soon ---------- */
.services-single { max-width: 560px; margin: 0 auto; display: grid; gap: 1.25rem; }
.coming-soon { display: inline-block; background: var(--navy-100); color: var(--navy-800); font-weight: 600; font-size: .9rem; padding: .35rem .9rem; border-radius: 999px; }
.coming-soon-band { text-align: center; color: var(--navy-700, #2a3c70); font-weight: 600; margin: 1.5rem 0 0; padding: 1rem; border: 1px dashed rgba(30,47,94,.25); border-radius: 12px; }

/* ---------- Story line ---------- */
.story-line { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--navy-800); border-left: 4px solid var(--gold-500); padding-left: 1rem; }

/* ---------- Event without photos yet ---------- */
.no-photo { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: linear-gradient(135deg, var(--navy-900, #15224a), var(--navy-700, #2a3c70)); color: var(--gold-400, #f6bd66); font-weight: 600; font-size: .9rem; }

.event-tile figcaption p + p { margin-top: .6rem; }

/* ---------- Lab vision ---------- */
.vision-statement { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--navy-800); border-left: 4px solid var(--gold-500); padding-left: 1rem; }
.vision-sub { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.vision-pillars { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .vision-pillars { grid-template-columns: repeat(3, 1fr); } }
.vision-pillars .card { padding: 1.25rem; border-top: 3px solid var(--gold-500); }
.vision-pillars h4 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--navy-800); }
.vision-pillars p { margin: 0; font-size: .95rem; }
.vision-values { font-weight: 600; color: var(--navy-800); }

/* ---------- Paper links ---------- */
.product-links { margin: 1rem 0 .75rem; }
.paper-link { text-align: center; margin: 0; font-weight: 600; }
.paper-link a { color: var(--navy-800); }

/* ---------- About: role line + timeline ---------- */
.founder-role { margin: -.25rem 0 1.25rem; color: var(--gold-600, #b97a17); font-weight: 600; font-size: .92rem; }
.timeline { list-style: none; margin: 0 0 1rem; padding: 0; border-left: 2px solid rgba(242,169,59,.5); }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: .75rem; padding: 0 0 .9rem 1.1rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); }
.tl-when { font-size: .85rem; font-weight: 700; color: var(--navy-700, #2a3c70); }
.tl-what { font-size: .95rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Paper preview image ---------- */
.paper-preview { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(30,47,94,.12); box-shadow: 0 10px 30px rgba(30,47,94,.12); transition: transform .2s ease, box-shadow .2s ease; }
.paper-preview img { display: block; width: 100%; height: auto; }
.paper-preview:hover, .paper-preview:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30,47,94,.18); }
@media (prefers-reduced-motion: reduce) { .paper-preview { transition: none; } }

/* ---------- Contact form: spam trap + error state ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status.show.error { background: #fdecea; border-left-color: #c0392b; }

/* ---------- Extra contact buttons ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.coming-soon-band a { color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Free guide: banner, page, mini box ---------- */
.guide-banner { background: linear-gradient(90deg, var(--gold-500), #f6bd66); color: var(--navy-900); }
.guide-banner-inner { display: flex; align-items: center; gap: 1.25rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.guide-banner-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: .15rem; }
.guide-banner-text strong { font-family: var(--font-serif); font-size: 1.2rem; }
.guide-banner-text span { font-size: .95rem; }
.guide-badge { display: inline-block; background: var(--navy-900, #15224a); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; animation: guide-flash 2.4s ease-in-out infinite; }
@keyframes guide-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(21,34,74,.55); } 50% { box-shadow: 0 0 0 8px rgba(21,34,74,0); } }
@media (prefers-reduced-motion: reduce) { .guide-badge { animation: none; } }
.guide-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.guide-cover { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(30,47,94,.12); box-shadow: 0 14px 36px rgba(30,47,94,.16); }
.guide-form-title { margin: 0 0 1rem; font-size: 1.2rem; }
.guide-privacy { margin: .75rem 0 0; font-size: .85rem; color: #5a6478; }
#guide-status.show p { margin: 0 0 .75rem; font-weight: 600; }
#guide-form { margin-top: 1.5rem; }
.guide-mini { margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: 12px; background: #fff6e6; border-left: 4px solid var(--gold-500); }
.guide-mini p { margin: .6rem 0; }
.guide-mini a { font-weight: 700; color: var(--navy-800); }

/* ---------- Floating free-guide button ---------- */
.guide-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; align-items: center; gap: .25rem;
  background: var(--navy-900, #15224a); border: 2px solid var(--gold-500); border-radius: 999px; padding: .35rem .35rem .35rem .45rem;
  box-shadow: 0 10px 30px rgba(10,18,40,.35); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.guide-float.show { opacity: 1; transform: none; pointer-events: auto; }
.guide-float-link { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding-right: .3rem; }
.guide-float-link:hover .guide-float-text, .guide-float-link:focus-visible .guide-float-text { text-decoration: underline; text-underline-offset: 3px; }
.guide-float-badge { background: var(--gold-500); color: var(--navy-900, #15224a); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 999px; animation: guide-float-flash 2.4s ease-in-out infinite; }
@keyframes guide-float-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,169,59,.7); } 50% { box-shadow: 0 0 0 7px rgba(242,169,59,0); } }
.guide-float-close { background: transparent; border: 0; color: rgba(255,255,255,.75); font-size: 1.25rem; line-height: 1; width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; }
.guide-float-close:hover, .guide-float-close:focus-visible { color: #fff; background: rgba(255,255,255,.12); }
@media (max-width: 560px) {
  .guide-float { right: .75rem; left: .75rem; bottom: .75rem; justify-content: space-between; }
  .guide-float-text { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .guide-float { transition: none; } .guide-float-badge { animation: none; } }
@media print { .guide-float { display: none; } }

/* ---------- Hazy guide preview ---------- */
.guide-preview { position: relative; }
.guide-preview-note { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); background: var(--navy-900, #15224a); color: #fff; font-weight: 700; font-size: .92rem; padding: .7rem 1.1rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(10,18,40,.3); text-decoration: none; white-space: nowrap; }
.guide-preview-note:hover, .guide-preview-note:focus-visible { background: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { .guide-preview-note { white-space: normal; text-align: center; width: 80%; } }

#guide-form input::placeholder { color: #8a93a6; }
