/* Consious Nurturing — Design System */

:root {
  --teal: #00A896;
  --teal-light: #00C2D4;
  --teal-dark: #006B7A;
  --emerald: #2ECC71;
  --amber: #FFB703;
  --gold: #F4A261;
  --plum: #9B2C8B;
  --crimson: #D62839;
  --cream: #FAFBF9;
  --cream-warm: #F5F0E8;
  --canvas: #FFFFFF;
  --text: #0A1628;
  --text-secondary: #3D4F5F;
  --text-muted: #6B7C8F;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(0, 107, 122, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 107, 122, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 107, 122, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container: min(1200px, 92vw);
  --header-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul[role="list"] { list-style: none; }

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 10000;
  padding: 0.75rem 1.5rem; background: var(--plum); color: var(--white);
  border-radius: 0 0 8px 8px; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 168, 150, 0.1);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin-inline: auto;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  min-height: var(--header-h);
}

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  line-height: 1.1;
}
.brand__text { display: flex; flex-direction: column; }
.brand__accent { color: var(--teal); }
.brand__logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 8%;
  background: var(--canvas);
  box-sizing: border-box;
}
.brand__logo picture,
.brand__logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.brand__logo img {
  object-fit: contain;
  object-position: center;
}

/* ─── Hero logo atom (home page only): concentric circular orbits ─── */
.logo-atom--hero {
  --nucleus: clamp(148px, 30vw, 220px);
  --ring-gap: clamp(14px, 2.8vw, 22px);
  --electron: clamp(9px, 1.6vw, 13px);
  --ring-width: 1.5px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--nucleus);
  height: var(--nucleus);
  margin: calc(var(--ring-gap) * 3.15 + 12px) auto calc(1.35rem + var(--ring-gap) * 3.15);
  overflow: visible;
  animation: logo-atom-float 5.5s ease-in-out infinite;
}
.logo-atom--hero::after {
  content: "";
  position: absolute;
  inset: calc(var(--ring-gap) * -3.4);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    transparent 48%,
    rgba(170, 235, 230, 0.16) 64%,
    rgba(244, 220, 160, 0.1) 78%,
    transparent 84%
  );
  pointer-events: none;
  z-index: 0;
}
.logo-atom--hero .logo-atom__nucleus {
  position: relative;
  z-index: 2;
  width: var(--nucleus);
  height: var(--nucleus);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 6%;
  background: var(--canvas);
  box-sizing: border-box;
  box-shadow:
    0 4px 24px rgba(0, 168, 150, 0.16),
    0 0 36px rgba(255, 255, 255, 0.28);
}
.logo-atom--hero .logo-atom__nucleus picture,
.logo-atom--hero .logo-atom__nucleus img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.logo-atom--hero .logo-atom__nucleus img {
  object-fit: contain;
  object-position: center;
}
.logo-atom--hero .logo-atom__orbit {
  --orbit-r: calc(var(--nucleus) / 2 + var(--ring-gap) * var(--orbit-index, 1));
  position: absolute;
  inset: calc(var(--ring-gap) * var(--orbit-index, 1) * -1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.logo-atom--hero .logo-atom__orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: var(--ring-width) solid var(--ring-color, rgba(170, 230, 225, 0.42));
  box-shadow:
    0 0 5px var(--ring-glow, rgba(0, 194, 212, 0.35)),
    0 0 14px rgba(244, 214, 150, 0.18);
}
.logo-atom--hero .logo-atom__orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(0, 194, 212, 0.05),
    rgba(126, 232, 210, 0.7),
    rgba(244, 214, 150, 0.75),
    rgba(0, 168, 150, 0.12),
    rgba(126, 232, 210, 0.45),
    rgba(0, 194, 212, 0.05)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  opacity: 0.8;
}
.logo-atom--hero .logo-atom__electron {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: var(--electron);
  height: var(--electron);
  margin: calc(var(--electron) / -2) 0 0 calc(var(--electron) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #fff 0 30%, var(--orb) 62%, var(--orb));
  box-shadow:
    0 0 5px 1px var(--orb-glow),
    0 0 14px 4px var(--orb-glow),
    0 0 26px 8px rgba(255, 255, 255, 0.35);
  animation: atom-electron-travel var(--orbit-duration, 12s) linear infinite;
}
.logo-atom--hero .logo-atom__orbit--1 {
  --orbit-index: 1;
  --orbit-start: -90deg;
  --orbit-duration: 11s;
  --orb: #8af5c8;
  --orb-glow: rgba(126, 240, 194, 0.95);
  --ring-color: rgba(150, 235, 215, 0.5);
  --ring-glow: rgba(126, 232, 200, 0.45);
}
.logo-atom--hero .logo-atom__orbit--2 {
  --orbit-index: 2;
  --orbit-start: -58deg;
  --orbit-duration: 15s;
  --orb: #3ecfff;
  --orb-glow: rgba(62, 203, 255, 0.95);
  --ring-color: rgba(90, 210, 235, 0.48);
  --ring-glow: rgba(0, 194, 212, 0.4);
}
.logo-atom--hero .logo-atom__orbit--3 {
  --orbit-index: 3;
  --orbit-start: -32deg;
  --orbit-duration: 19s;
  --orb: #f7ebc0;
  --orb-glow: rgba(255, 236, 176, 0.95);
  --ring-color: rgba(244, 214, 150, 0.48);
  --ring-glow: rgba(244, 214, 150, 0.4);
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav__menu a, .nav__menu .nav__cta {
  padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--teal); }
.nav__menu a.is-active { background: rgba(0, 168, 150, 0.08); }
.nav__cta {
  background: var(--teal) !important; color: var(--white) !important;
  margin-left: 0.5rem;
}
.nav__cta:hover { background: var(--teal-dark) !important; }

@media (max-width: 1024px) {
  .nav__menu a, .nav__menu .nav__cta, .nav__dropdown-toggle {
    padding: 0.5rem 0.6rem; font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white); padding: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    pointer-events: none;
  }
  .nav__menu.is-open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav__menu a, .nav__menu .nav__cta { padding: 0.85rem 1rem; }
  .nav__cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 4px 16px rgba(0, 168, 150, 0.35); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--outline { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: rgba(0, 168, 150, 0.08); }
.btn--whatsapp { background: #25D366; color: var(--white); }
.btn--full { width: 100%; }
.btn--large { padding: 1rem 2rem; font-size: 1rem; }

/* ─── Section typography ─── */
.section { padding-block: var(--section-pad); scroll-margin-top: calc(var(--header-h) + 1rem); }
.section--cream { background: var(--cream-warm); }
.section--white { background: var(--white); }

.section__eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15; color: var(--text); margin-bottom: 1rem;
}
.section__lead {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 640px;
}
.section__header { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__header--center { text-align: center; }
.section__header--center .section__lead { margin-inline: auto; }

/* ─── Hero side-scroll ─── */
.hero {
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 2rem;
  background: linear-gradient(165deg, var(--cream) 0%, rgba(0, 194, 212, 0.08) 50%, var(--cream-warm) 100%);
  overflow: hidden;
}
.hero__intro {
  text-align: center; max-width: 720px; margin: 0 auto 2rem;
  padding-inline: 1rem;
  overflow: visible;
}
.hero__title {
  font-family: var(--font-display); font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 0.75rem;
}
.hero__title em { font-style: normal; color: var(--teal); }
.hero__subtitle { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.side-scroll-hero {
  position: relative; margin-top: 1.5rem;
}
.side-scroll-hero__hint {
  text-align: center; font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 0.75rem; letter-spacing: 0.05em;
}
.side-scroll-hero__track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.5rem;
  scrollbar-width: none;
}
.side-scroll-hero__track::-webkit-scrollbar { display: none; }
.side-scroll-hero__track.is-auto-scroll { scroll-behavior: auto; }

.side-scroll-hero__slide {
  position: relative;
  flex: 0 0 clamp(280px, 72vw, 520px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  outline: none;
}
.side-scroll-hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.side-scroll-hero__slide:hover img,
.side-scroll-hero__slide:focus-visible img,
.side-scroll-hero__slide.is-caption-visible img {
  transform: scale(1.04);
}
.side-scroll-hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(0, 107, 122, 0.18) 42%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.side-scroll-hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.35rem 1.25rem 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(10, 22, 40, 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.side-scroll-hero__slide:hover::after,
.side-scroll-hero__slide:focus-visible::after,
.side-scroll-hero__slide.is-caption-visible::after {
  opacity: 1;
}
.side-scroll-hero__slide:hover .side-scroll-hero__caption,
.side-scroll-hero__slide:focus-visible .side-scroll-hero__caption,
.side-scroll-hero__slide.is-caption-visible .side-scroll-hero__caption {
  opacity: 1;
  transform: translateY(0);
}
.side-scroll-hero__slide:focus-visible {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(0, 194, 212, 0.55);
}

/* ─── Photo grid ─── */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.photo-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-card__img { aspect-ratio: 4/3; overflow: hidden; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__body { padding: 1.25rem; }
.photo-card__tag {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--teal); margin-bottom: 0.35rem;
}
.photo-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

/* ─── Testimonials ─── */
.testimonials { position: relative; }
.testimonials__track {
  display: flex; gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 1rem; scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 min(100%, 380px);
  scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
}
.testimonial-card__quote {
  font-family: var(--font-display); font-size: 1.35rem;
  font-style: italic; line-height: 1.5; margin-bottom: 1.25rem; color: var(--text);
}
.testimonial-card__author { font-weight: 700; color: var(--teal-dark); }
.testimonial-card__role { font-size: 0.9rem; color: var(--text-muted); }
.testimonials__nav {
  display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem;
}
.testimonials__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--teal); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.testimonials__btn:hover { background: var(--teal); color: var(--white); }

/* ─── Welcome / Why choose ─── */
.welcome-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 768px) { .welcome-grid { grid-template-columns: 1fr; } }

.welcome-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.welcome-card h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  margin-bottom: 0.75rem; color: var(--teal-dark);
}
.welcome-card p { color: var(--text-secondary); margin-bottom: 0.75rem; }

.why-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.why-item__icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(0, 168, 150, 0.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.why-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.why-item p { font-size: 0.9rem; color: var(--text-muted); }

.serve-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem;
}
.serve-tag {
  padding: 0.4rem 1rem; background: rgba(0, 168, 150, 0.1);
  color: var(--teal-dark); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
}

/* ─── Services ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card--featured { border-top-color: var(--amber); background: linear-gradient(135deg, #fff 0%, rgba(255, 183, 3, 0.06) 100%); }
.service-card__badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--amber); color: var(--text); padding: 0.25rem 0.65rem;
  border-radius: 999px; margin-bottom: 0.75rem; align-self: flex-start;
}
.service-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h2,
.service-card h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--text-secondary); flex: 1; margin-bottom: 1rem; font-size: 0.95rem; }
.service-card__link {
  font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-card__link:hover { color: var(--teal-dark); }

/* ─── News ─── */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card__date {
  padding: 1.25rem 1.25rem 0; font-size: 0.8rem;
  font-weight: 700; color: var(--teal); text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card__body { padding: 0.75rem 1.25rem 1.5rem; }
.news-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.news-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ─── Social & CTA ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center; color: var(--white);
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 520px; margin-inline: auto; }
.cta-banner .btn--outline { border-color: var(--white); color: var(--white); }
.cta-banner .btn--outline:hover { background: rgba(255,255,255,0.15); }

.social-bar {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-top: 2rem;
}
.social-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; background: var(--white);
  border-radius: 999px; box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.social-link svg { width: 20px; height: 20px; fill: var(--teal); }

/* ─── Page hero (subpages) ─── */
.page-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 2.5rem;
  background: linear-gradient(165deg, var(--cream) 0%, rgba(0, 194, 212, 0.06) 100%);
}
.page-hero__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; margin-bottom: 0.75rem;
}
.page-hero__lead { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; }

/* ─── About page ─── */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid rgba(0, 168, 150, 0.25); }
.timeline__item { position: relative; padding-bottom: 2rem; }
.timeline__item::before {
  content: ''; position: absolute; left: -2.45rem; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--cream);
}
.timeline__year { font-weight: 700; color: var(--teal); font-size: 0.9rem; margin-bottom: 0.25rem; }
.timeline__title { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.5rem; }

/* Combined directors message + team roster */
.section--team {
  background:
    linear-gradient(180deg, rgba(0, 168, 150, 0.06) 0%, rgba(245, 240, 232, 0.85) 45%, var(--cream-warm) 100%);
}

.director-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.director-spotlight__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.director-spotlight__heading-text { flex-shrink: 0; }

.director-spotlight__heading-line {
  flex: 1;
  height: 2px;
  min-width: 2rem;
  background: linear-gradient(90deg, var(--gold), rgba(244, 162, 97, 0.15));
  border-radius: 2px;
}

.director-quote {
  position: relative;
  margin: 0;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
}

.director-quote::before,
.director-quote::after {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 1;
  color: rgba(0, 168, 150, 0.28);
  pointer-events: none;
  user-select: none;
}

.director-quote::before {
  content: '\201C';
  top: 0.35rem;
  left: 0.75rem;
}

.director-quote::after {
  content: '\201D';
  right: 0.85rem;
  bottom: -0.15rem;
}

.director-quote blockquote {
  margin: 0 0 1.5rem;
  padding: 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
}

.director-quote__attribution { padding: 0 0.5rem; }

.director-quote__name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.director-quote__role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal-dark);
}

.director-spotlight__portrait {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.director-spotlight__portrait img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.team-roster__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
}

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-member {
  text-align: center;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.team-member__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__info { padding: 1rem 0.25rem 0; }
.team-member__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.team-member__role { font-size: 0.85rem; color: var(--teal); font-weight: 600; }

@media (max-width: 860px) {
  .director-spotlight {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .director-spotlight__portrait img {
    max-height: 360px;
    min-height: 240px;
    border-radius: var(--radius-sm);
  }
}

.vision-mission {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 640px) { .vision-mission { grid-template-columns: 1fr; } }
.vm-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.vm-card h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--teal); margin-bottom: 0.75rem;
}

.future-plans { display: grid; gap: 1rem; }
.future-plan {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.future-plan__status {
  flex-shrink: 0; padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.future-plan__status--soon { background: rgba(255, 183, 3, 0.2); color: #B8860B; }
.future-plan__status--plan { background: rgba(0, 168, 150, 0.12); color: var(--teal-dark); }

/* ─── Contact / Forms ─── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-cards { display: grid; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; padding: 1.25rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.info-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.info-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.info-card p, .info-card a { font-size: 0.9rem; color: var(--text-secondary); }
.info-card a:hover { color: var(--teal); }

.form-panel {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-md);
}
.form-panel h2 {
  font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.5rem;
}
.form-panel > p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid rgba(0, 107, 122, 0.15);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: var(--cream); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

#service-extra-fields [data-field][hidden] { display: none; }

.form-success {
  padding: 1rem; background: rgba(46, 204, 113, 0.12);
  border-radius: var(--radius-sm); color: #1E8449;
  font-weight: 600; margin-top: 1rem;
}

.map-container {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-top: 1.5rem;
}
.map-container iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ─── Get in Touch page ─── */
.partnership-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.partnership-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--teal);
}
.partnership-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.75rem;
}
.partnership-card p { color: var(--text-secondary); font-size: 0.95rem; }

.contact-strip {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center;
  padding: 2rem; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  margin-block: 2rem;
}
.contact-strip__item { text-align: center; }
.contact-strip__label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-strip__value { font-size: 1.15rem; font-weight: 700; color: var(--teal-dark); margin-top: 0.25rem; }
.contact-strip__value a:hover { color: var(--teal); }

/* ─── Programs page ─── */
.programs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ─── Gallery (events) ─── */
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.events-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.events-card__media { width: 100%; border: none; padding: 0; cursor: pointer; }
.events-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.events-card__body { padding: 1.25rem; }
.events-card__tag { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; }
.events-card__title { font-family: var(--font-display); font-size: 1.15rem; margin: 0.35rem 0; }

.team-gallery-lightbox {
  border: none; padding: 0; max-width: 90vw; max-height: 90vh;
  background: transparent;
}
.team-gallery-lightbox::backdrop { background: rgba(10, 22, 40, 0.85); }
.team-gallery-lightbox__inner { position: relative; }
.team-gallery-lightbox__img { max-width: 85vw; max-height: 75vh; border-radius: var(--radius); }
.team-gallery-lightbox__close {
  position: absolute; top: -2.5rem; right: 0;
  color: var(--white); font-size: 2rem;
}
.team-gallery-lightbox__nav {
  display: flex; gap: 1rem; justify-content: center; margin-top: 1rem;
}
.team-gallery-lightbox__prev, .team-gallery-lightbox__next {
  color: var(--white); font-size: 1.5rem; padding: 0.5rem 1rem;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.85);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer__grid:has(.footer__social) {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 992px) { .footer__grid, .footer__grid:has(.footer__social) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid, .footer__grid:has(.footer__social) { grid-template-columns: 1fr; } }

.footer__brand img {
  width: 48px; height: 48px; margin-bottom: 0.75rem;
  aspect-ratio: 1; object-fit: contain; object-position: center;
  padding: 7px; background: var(--white); border-radius: 50%;
}
.footer__brand p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 0.5rem; }
.footer__desc { font-size: 0.85rem; opacity: 0.65; max-width: 280px; }
.footer__links h4, .footer__contact h4, .footer__social h4 {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--white);
}
.footer__links ul { display: grid; gap: 0.5rem; }
.footer__links a, .footer__contact a {
  font-size: 0.9rem; opacity: 0.75; transition: opacity 0.2s;
}
.footer__links a:hover, .footer__contact a:hover { opacity: 1; color: var(--teal-light); }
.footer__social-links { display: flex; gap: 0.75rem; }
.footer__social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer__social-links a:hover { background: var(--teal); }
.footer__social-links svg { width: 18px; height: 18px; fill: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; text-align: center;
}
.footer__motto { font-size: 0.85rem; opacity: 0.6; margin-bottom: 0.5rem; }
.footer__copy { font-size: 0.8rem; opacity: 0.5; }

/* ─── WhatsApp FAB ─── */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes logo-atom-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes atom-electron-travel {
  from { transform: rotate(var(--orbit-start, 0deg)) translateX(var(--orbit-r)); }
  to { transform: rotate(calc(var(--orbit-start, 0deg) + 360deg)) translateX(var(--orbit-r)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .side-scroll-hero__track.is-auto-scroll { scroll-behavior: auto; }
  .side-scroll-hero__slide img,
  .side-scroll-hero__slide::after,
  .side-scroll-hero__caption { transition: none; }
  .side-scroll-hero__caption { transform: none; }
  .logo-atom--hero { animation: none; }
  .logo-atom--hero .logo-atom__electron {
    animation: none;
    transform: rotate(var(--orbit-start, 0deg)) translateX(var(--orbit-r));
  }
}

/* ─── Nav dropdown ─── */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-sm); color: inherit;
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown-toggle::after {
  content: ''; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.6;
  transition: transform 0.2s;
}
.nav__dropdown.is-open .nav__dropdown-toggle::after { transform: rotate(180deg); }
.nav__dropdown-toggle:hover,
.nav__dropdown--active .nav__dropdown-toggle { color: var(--teal); }
.nav__dropdown-menu {
  display: none; position: absolute; top: calc(100% + 0.35rem); left: 0;
  min-width: 200px; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 0.5rem; z-index: 100;
  border: 1px solid rgba(0, 168, 150, 0.1);
}
.nav__dropdown.is-open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block; padding: 0.65rem 0.85rem !important;
  font-size: 0.88rem !important; border-radius: var(--radius-sm);
}
@media (max-width: 900px) {
  .nav__dropdown { width: 100%; }
  .nav__dropdown-toggle { width: 100%; justify-content: space-between; padding: 0.85rem 1rem !important; }
  .nav__dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding: 0 0 0 1rem; background: transparent;
  }
  .nav__dropdown:not(.is-open) .nav__dropdown-menu { display: none; }
}

/* ─── Format badges ─── */
.format-badge {
  display: inline-block; padding: 0.3rem 0.7rem;
  border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0;
}
.format-badge--online { background: rgba(0, 194, 212, 0.15); color: var(--teal-dark); }
.format-badge--offline { background: rgba(155, 44, 139, 0.12); color: var(--plum); }
.format-badge--soon { background: rgba(255, 183, 3, 0.2); color: #B8860B; }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ─── Accordion (service details) ─── */
.accordion-list { display: grid; gap: 0.75rem; max-width: 900px; margin-inline: auto; }
.accordion-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid rgba(0, 168, 150, 0.08);
}
.accordion-item__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  transition: background 0.2s;
}
.accordion-item__summary::-webkit-details-marker { display: none; }
.accordion-item__summary:hover { background: rgba(0, 168, 150, 0.04); }
.accordion-item[open] .accordion-item__summary { color: var(--teal); border-bottom: 1px solid rgba(0, 168, 150, 0.1); }
.accordion-item__icon {
  width: 24px; height: 24px; flex-shrink: 0; position: relative;
}
.accordion-item__icon::before,
.accordion-item__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--teal); border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.accordion-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.accordion-item__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.accordion-item[open] .accordion-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion-item__body { padding: 1.5rem; }
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 640px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-block h4 {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--teal); margin-bottom: 0.5rem;
}
.detail-block p, .detail-block ul { font-size: 0.92rem; color: var(--text-secondary); }
.detail-block ul { padding-left: 1.25rem; }
.detail-block li { margin-bottom: 0.35rem; }
.detail-block--full { grid-column: 1 / -1; }

/* ─── Upcoming services ─── */
.upcoming-list { display: grid; gap: 1rem; max-width: 800px; }
.upcoming-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.upcoming-item h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.35rem; }
.upcoming-item p { font-size: 0.92rem; color: var(--text-secondary); }

/* ─── Events list ─── */
.event-list { display: grid; gap: 1rem; }
.event-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem;
  align-items: center; padding: 1.25rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .event-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .event-row .btn { justify-self: start; }
}
.event-row__meta { display: flex; flex-direction: column; gap: 0.5rem; min-width: 120px; }
.event-row__date { font-weight: 700; font-size: 0.9rem; color: var(--teal-dark); }
.event-row__body h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.35rem; }
.event-row__body p { font-size: 0.92rem; color: var(--text-secondary); }
.event-list--past .event-row { opacity: 0.85; background: rgba(255,255,255,0.7); }

/* ─── Research papers ─── */
.paper-list { display: grid; gap: 1rem; }
.paper-card {
  display: flex; gap: 1.5rem; padding: 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
}
@media (max-width: 540px) { .paper-card { flex-direction: column; gap: 0.75rem; } }
.paper-card__year {
  flex-shrink: 0; font-weight: 700; font-size: 1.1rem; color: var(--teal);
  min-width: 48px;
}
.paper-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.5rem; }
.paper-card__authors { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.paper-card__link { font-weight: 600; font-size: 0.9rem; color: var(--teal); }
.paper-card__link:hover { color: var(--teal-dark); }

/* ─── R&D projects ─── */
.project-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.project-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.project-card__status {
  display: inline-block; padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  background: rgba(0, 168, 150, 0.12); color: var(--teal-dark); margin-bottom: 0.75rem;
}
.project-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; }
.project-card p { font-size: 0.92rem; color: var(--text-secondary); }
.project-card__meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; font-style: italic; }

/* ─── Resources login gate ─── */
.resource-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem;
}
.resource-preview-card {
  text-align: center; padding: 1.75rem 1.25rem;
  background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.resource-preview-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.resource-preview-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.resource-preview-card p { font-size: 0.88rem; color: var(--text-secondary); }

.login-gate {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start; max-width: 900px; margin-inline: auto;
}
@media (max-width: 768px) { .login-gate { grid-template-columns: 1fr; } }
.login-gate__info h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.75rem; }
.login-gate__info p { color: var(--text-secondary); margin-bottom: 0.75rem; }
.login-gate__note { font-size: 0.9rem; }
.login-gate__note a { color: var(--teal); font-weight: 600; }
.login-gate__form h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.35rem; }
.form-notice {
  padding: 1rem; margin-top: 1rem;
  background: rgba(255, 183, 3, 0.15); border-radius: var(--radius-sm);
  color: #8B6914; font-weight: 600; font-size: 0.9rem;
}
.resource-locked-list {
  max-width: 600px; margin: 2rem auto 0; padding: 1.5rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); filter: blur(4px); pointer-events: none; user-select: none;
}
.resource-locked-list__title { font-family: var(--font-display); margin-bottom: 1rem; }
.resource-locked-items { display: grid; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }

/* ─── Blog & newsletters ─── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.blog-card__date { font-size: 0.8rem; font-weight: 700; color: var(--teal); margin-bottom: 0.5rem; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; flex: 1; }
.blog-card p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 1rem; }
.blog-card__link { font-weight: 600; font-size: 0.9rem; color: var(--teal); margin-top: auto; }
.blog-card__link:hover { color: var(--teal-dark); }

.newsletter-archive { display: grid; gap: 1rem; max-width: 800px; }
.newsletter-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem;
  align-items: center; padding: 1.25rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .newsletter-item { grid-template-columns: 1fr; gap: 0.75rem; }
}
.newsletter-item__meta { display: flex; flex-direction: column; gap: 0.25rem; min-width: 100px; }
.newsletter-item__issue { font-weight: 700; font-size: 0.85rem; color: var(--plum); }
.newsletter-item__meta time { font-size: 0.85rem; color: var(--text-muted); }
.newsletter-item__body h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.35rem; }
.newsletter-item__body p { font-size: 0.9rem; color: var(--text-secondary); }

