/* ================================================
   ZEN JEM LTD — Design System
   Inspired by The Healy Foundation
   ================================================ */

/* --- Custom Properties --- */
:root {
  --navy:        #0F172A;
  --navy-mid:    #1E293B;
  --off-white:   #F0F4F8;
  --cream:       #F5F0E8;
  --accent:      #1E6B47;
  --accent-dark: #155235;
  --green-tint:  #9DC9B2;
  --green-light: #EAF4EE;
  --muted:       #5B6976;
  --white:       #FFFFFF;
  --border:      #DDE3E9;

  --font-h: 'Source Serif 4', Georgia, serif;
  --font-b: 'IBM Plex Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --max-w-md: 820px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--navy);
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 20px; }
h5 {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

p {
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

/* --- Wrappers --- */
.wrapper     { width: 100%; max-width: var(--max-w);    margin: 0 auto; padding: 0 2rem; }
.wrapper--md { width: 100%; max-width: var(--max-w-md); margin: 0 auto; padding: 0 2rem; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; object-fit: contain; }

/* Primary Nav */
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.primary-nav a {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-mid);
  transition: color 0.2s;
  white-space: nowrap;
}

.primary-nav a:hover { color: var(--accent); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s;
}

/* ================================================
   HERO  (split: colored left panel + photo right)
   Mirrors Healy Foundation hero layout
   ================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

/* Left panel — deep navy with subtle texture */
.hero__panel {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(30,107,71,0.25) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  padding: 5rem 4rem;
}

.hero__content {
  max-width: 480px;
}

.hero__content h5 {
  color: var(--green-tint);
  margin-bottom: 1rem;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(28px, 4vw, 42px);
}

.hero__content p {
  color: rgba(240, 244, 248, 0.85);
  font-size: 18px;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Right panel — photo */
.hero__photo {
  position: relative;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--secondary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn--inline {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-left: 0;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.btn--inline::after { content: " →"; }
.btn--inline:hover { color: var(--accent-dark); }

/* Reversed for dark bg */
.btn--reversed {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--reversed:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ================================================
   CTA IMAGE + TEXT  (alternating sections)
   Mirrors Healy Foundation "cta-image-text"
   ================================================ */

/* Pale cream background texture — like "moon" theme */
.section--cream {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(30,107,71,0.06) 0%, transparent 50%);
}

/* White bg, standard */
.section--white { background-color: var(--white); }

/* Light green tint */
.section--green-light {
  background-color: var(--green-light);
  background-image:
    radial-gradient(ellipse at 10% 90%, rgba(30,107,71,0.08) 0%, transparent 55%);
}

/* Deep navy — full-width accent band */
.section--navy {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(30,107,71,0.3) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Generic section padding */
.section { padding: 5.5rem 0; }

/* --- cta-image-text: alternating image/text splits --- */
.cit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 440px;
}

/* Image right: details left, photo right */
.cit--img-right .cit__photo { order: 2; }
.cit--img-right .cit__details { order: 1; }

/* Image left: photo left, details right */
.cit--img-left .cit__photo { order: 1; }
.cit--img-left .cit__details { order: 2; }

.cit__photo {
  overflow: hidden;
  min-height: 380px;
}

.cit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cit__details {
  display: flex;
  align-items: center;
  padding: 4rem;
}

.cit__inner { max-width: 480px; }

.cit__inner h5 { margin-bottom: 0.6rem; }
.cit__inner h2 { margin-bottom: 1rem; }
.cit__inner p  { color: var(--muted); margin-bottom: 1.75rem; }

/* ================================================
   FULL-WIDTH CENTERED BAND  (cta-stacked)
   ================================================ */
.band {
  text-align: center;
  padding: 6rem 0;
}

.band h5 { margin-bottom: 0.5rem; }
.band h2 { margin-bottom: 1rem; }
.band p  { margin: 0 auto 2rem; max-width: 54ch; }

/* On dark background */
.band--navy h5 { color: var(--green-tint); }
.band--navy h2 { color: var(--white); }
.band--navy p  { color: rgba(240,244,248,0.8); }

/* ================================================
   STATS ROW
   ================================================ */
.stats {
  background: var(--navy);
  padding: 4rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  padding: 2rem 2.5rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat:first-child { border-left: none; }

.stat__number {
  display: block;
  font-family: var(--font-h);
  font-size: 48px;
  line-height: 1;
  color: var(--green-tint);
  margin-bottom: 0.6rem;
}

.stat__label {
  font-size: 15px;
  color: rgba(240,244,248,0.7);
  max-width: 20ch;
}

/* ================================================
   PROCESS STEPS  (4-step horizontal)
   ================================================ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.process__step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 3px solid var(--green-tint);
}

.process__number {
  font-family: var(--font-h);
  font-size: 52px;
  color: var(--green-tint);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process__step h4 { margin-bottom: 0.5rem; }
.process__step p  { font-size: 15px; color: var(--muted); }

/* ================================================
   GRID STORIES  (2-col cards like Healy)
   ================================================ */
.section-header--centered { text-align: center; margin-bottom: 3rem; }

.grid-blocks {
  display: grid;
  gap: 2rem;
}

.grid-blocks--two-cols { grid-template-columns: 1fr 1fr; }
.grid-blocks--three-cols { grid-template-columns: repeat(3, 1fr); }

.grid-block {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.grid-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}

.grid-block--team {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}

.grid-block--team .grid-block__details {
  padding: 2rem 1.75rem;
}

.grid-block__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.grid-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.grid-block:hover .grid-block__photo img { transform: scale(1.04); }

.grid-block__details {
  padding: 1.75rem;
}

/* ================================================
   INNER PAGE HERO BANNER  (About / Services / Work)
   ================================================ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--navy);
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.45;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.90) 0%, rgba(15,23,42,0.50) 60%, rgba(15,23,42,0.20) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 4rem 0 3.5rem; }
.page-hero__breadcrumb {
  font-size: 13px; color: rgba(240,244,248,0.55); margin-bottom: 1rem;
  list-style: none; display: flex; gap: 0.4rem; align-items: center;
}
.page-hero__breadcrumb li + li::before { content: "›"; opacity: 0.5; }
.page-hero__breadcrumb a { color: rgba(240,244,248,0.55); }
.page-hero__breadcrumb a:hover { color: var(--green-tint); }
.page-hero h5 { color: var(--green-tint); }
.page-hero h1 { color: var(--white); font-size: clamp(30px,5vw,50px); max-width: 18ch; margin-bottom: 1rem; }
.page-hero p  { color: rgba(240,244,248,0.8); font-size: 18px; max-width: 52ch; margin-bottom: 0; }

/* ================================================
   TEAM BIO CARDS  (Our Team page)
   ================================================ */
.team-bios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 2.5rem; margin-top: 3rem;
}
.bio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}
.bio-card__photo { aspect-ratio: 4/5; overflow: hidden; }
.bio-card__photo img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.bio-card:hover .bio-card__photo img { transform: scale(1.04); }
.bio-card__body { padding: 2rem 1.75rem; }
.bio-card__name { font-family: var(--font-h); font-size: 20px; margin-bottom: 0.2rem; }
.bio-card__role { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--accent); margin-bottom:0.75rem; }
.bio-card__text { font-size:15px; color:var(--muted); margin-bottom:1rem; max-width:100%; }
.bio-card__links { display:flex; gap:0.75rem; }

/* ================================================
   FEATURE / TOOL CARDS
   ================================================ */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.feature-card { padding: 1.75rem; border: 1px solid var(--border); border-radius:4px; background: var(--white); }
.feature-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h4 { font-size:17px; margin-bottom:0.4rem; }
.feature-card p  { font-size:14px; color:var(--muted); margin-bottom:0; }

/* ================================================
   PROJECT CARDS  (Our Work page)
   ================================================ */
.project-list { display:flex; flex-direction:column; gap:3rem; margin-top:2rem; }
.project-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.project-card:last-child { border-bottom: none; }
.project-card--reverse .project-card__image { order:2; }
.project-card--reverse .project-card__body  { order:1; }
.project-card__image { overflow:hidden; border-radius:4px; }
.project-card__image img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.project-card__tags { margin-bottom:0.75rem; }
.project-card h3 { font-size:24px; margin-bottom:0.75rem; }
.project-card p  { color:var(--muted); }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.contact-details h3 { margin-bottom:1.5rem; }
.contact-item { display:flex; gap:1rem; margin-bottom:1.5rem; align-items:flex-start; }
.contact-item__icon { font-size:1.4rem; flex-shrink:0; margin-top:0.1rem; }
.contact-item__label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.1em; color:var(--accent); margin-bottom:0.2rem; }
.contact-item__value { font-size:16px; color:var(--navy); margin-bottom:0; }
.contact-item__value a { color:var(--navy); }
.contact-item__value a:hover { color:var(--accent); }
.contact-form h3 { margin-bottom:1.5rem; }
.form-group { margin-bottom:1.25rem; }
.form-group label { display:block; font-size:14px; font-weight:600; margin-bottom:0.4rem; color:var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:0.75rem 1rem; font-family:var(--font-b); font-size:16px;
  color:var(--navy); background:var(--white); border:1.5px solid var(--border);
  border-radius:3px; outline:none; transition:border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--accent); }
.form-group textarea { resize:vertical; min-height:140px; }

/* ================================================
   RESPONSIVE — INNER PAGES
   ================================================ */
@media (max-width: 768px) {
  .project-card { grid-template-columns:1fr; gap:1.5rem; }
  .project-card--reverse .project-card__image,
  .project-card--reverse .project-card__body { order:unset; }
  .contact-grid { grid-template-columns:1fr; gap:3rem; }
  .page-hero { min-height: 340px; }
}


.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.tag__item {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--green-light);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.grid-block__title {
  font-size: 20px;
  margin-bottom: 0.6rem;
}

.grid-block__title a { color: var(--navy); }
.grid-block__title a:hover { color: var(--accent); }

.grid-block__text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ================================================
   TEAM MEMBERS
   ================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-member__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 { margin-bottom: 0.2rem; font-size: 19px; }
.team-member .role { font-size: 14px; color: var(--muted); margin-bottom: 0; }

/* ================================================
   FOOTER   (dark, mirrors Healy)
   ================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(240,244,248,0.75);
  border-top: 4px solid var(--accent);
}

.site-footer .wrapper {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer__info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-nav__items { list-style: none; }

.footer-nav__item { margin-bottom: 0.5rem; }

.footer-nav__link {
  font-size: 15px;
  color: rgba(240,244,248,0.7);
  transition: color 0.2s;
}

.footer-nav__link:hover { color: var(--green-tint); }

.footer-contact h4 {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-tint);
  margin-bottom: 1rem;
}

.footer-contact p, .footer-contact a {
  font-size: 15px;
  color: rgba(240,244,248,0.7);
  margin-bottom: 0.4rem;
  display: block;
}

.footer-contact a:hover { color: var(--green-tint); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 14px;
  color: rgba(240,244,248,0.4);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
  /* Hero stacks */
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__photo {
    min-height: 340px;
  }
  .hero__panel {
    padding: 3.5rem 2rem;
  }

  /* CIT sections stack */
  .cit {
    grid-template-columns: 1fr;
  }
  .cit--img-right .cit__photo,
  .cit--img-left .cit__photo {
    order: 1;
    min-height: 280px;
  }
  .cit--img-right .cit__details,
  .cit--img-left .cit__details {
    order: 2;
    padding: 2.5rem 2rem;
  }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 1.75rem 1.25rem; }

  /* Process */
  .process__grid { grid-template-columns: 1fr 1fr; }

  /* Grid blocks */
  .grid-blocks--two-cols,
  .grid-blocks--three-cols { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer__cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__info-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* Nav */
  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 68px;
    background: var(--white);
    z-index: 199;
    padding: 2rem;
    overflow-y: auto;
  }

  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  .hamburger { display: flex; }

  /* Stats single col */
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 1rem; }
  .stat:first-child { border-top: none; }

  /* Process single col */
  .process__grid { grid-template-columns: 1fr; }

  /* Team single col */
  .team-grid { grid-template-columns: 1fr; }

  .section { padding: 3.5rem 0; }

  .band { padding: 4rem 0; }
}

/* ================================================
   PAGE PRELOADER
   ================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.page-loader__logo-wrap {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.page-loader__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.page-loader__bar {
  width: 160px;
  height: 3px;
  background: var(--cream);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.page-loader__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--green-tint) 50%, #C49746 100%);
  border-radius: 99px;
  animation: loaderProgress 1.4s ease-in-out infinite;
}

.page-loader__tagline {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes loaderPulse {
  0% { transform: scale(0.96); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 6px 16px rgba(30,107,71,0.20)); }
  100% { transform: scale(0.96); opacity: 0.85; }
}

@keyframes loaderProgress {
  0% { left: -40%; width: 30%; }
  50% { left: 35%; width: 60%; }
  100% { left: 100%; width: 30%; }
}
