/* =========================================================
   HOPE BERYL-GREEN / HBG INTERNATIONAL — DESIGN SYSTEM
   Signature: the "beryl cut" — a faceted gem silhouette used
   throughout as a divider, frame and marker. It ties the visual
   language directly to the name "Beryl-Green" and to the idea of
   light refracting through pressure — hope breaking through what
   was meant to stay dark.
   ========================================================= */

:root{
  /* ---- brand colors (client-supplied, do not alter) ---- */
  --deep:        #1F3053;   /* dark blue   */
  --cream:       #FFF5E4;   /* light orange/cream */
  --beryl:       #257F6A;   /* turquoise   */
  --white:       #FFFFFF;

  /* ---- tints & shades derived FROM the brand colors only ---- */
  --deep-900:    #131F38;   /* deepest — hero gradients */
  --deep-700:    #26386199;
  --deep-soft:   #4A5A78;   /* secondary text on light bg */
  --beryl-700:   #1B5F50;   /* hover / pressed */
  --beryl-100:   #DCEEE8;   /* pale tag / chip bg */
  --beryl-050:   #F1F8F6;
  --cream-100:   #FFFBF3;   /* card surface, lighter than page bg */
  --cream-300:   #F2E4CB;   /* hairline / divider on cream */
  --gold-line:   #E7C88F;   /* faint accent pulled from cream, used sparingly */

  /* ---- type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* ---- scale & rhythm ---- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --gap: clamp(1.25rem, 2vw, 2.5rem);

  --shadow-card: 0 1px 2px rgba(31,48,83,.06), 0 12px 28px -14px rgba(31,48,83,.22);
  --shadow-lift: 0 20px 45px -18px rgba(31,48,83,.35);

  /* the gem-cut clip path, reused for image frames + section notches */
  --gem-clip: polygon(8% 0%, 92% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
}

/* =============== RESET =============== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin:0;
  background: var(--cream);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

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

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section{ padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-tight{ padding-block: clamp(2.5rem, 5vw, 4rem); }

/* =============== TYPE =============== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--beryl-700);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 600;
}
.eyebrow::before{
  content:"";
  width: 7px; height: 7px;
  background: var(--beryl);
  clip-path: var(--gem-clip);
  flex: none;
}
.eyebrow--on-dark{ color: #BFE3DA; }
.eyebrow--on-dark::before{ background: #BFE3DA; }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--deep);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  color: var(--deep);
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  color: var(--deep);
}
.lede{
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--deep-soft);
  max-width: 46ch;
}
.small{ font-size: .9rem; }
.mono-tag{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =============== BUTTONS =============== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .96rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--beryl);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover{ background: var(--beryl-700); box-shadow: var(--shadow-lift); }

.btn-dark{
  background: var(--deep);
  color: var(--white);
}
.btn-dark:hover{ background: #16233d; box-shadow: var(--shadow-lift); }

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

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

.btn-ghost{
  background: transparent;
  color: var(--beryl-700);
  padding: .4em .2em;
  font-weight: 700;
}
.btn-ghost::after{ content:"→"; transition: transform .18s ease; }
.btn-ghost:hover::after{ transform: translateX(4px); }

.btn-sm{ padding: .65em 1.2em; font-size: .84rem; }

/* =============== HEADER / NAV =============== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,246,231,.97);
  border-bottom: 1px solid var(--cream-300);
}
/* Note: intentionally no backdrop-filter here — it would create a new
   containing block for position:fixed descendants (the mobile nav
   panel), pinning it to the header's small box instead of the
   viewport. Keep header effects to background/border only. */
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
  gap: 1.5rem;
}
.brand{
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--deep);
  flex: none;
}
.brand-mark{
  width: 34px; height: 34px;
  background: linear-gradient(155deg, var(--beryl), var(--deep));
  clip-path: var(--gem-clip);
  flex: none;
}
.brand small{
  display:block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--deep-soft);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-weight: 700;
  font-size: .93rem;
}
.nav-links a{
  position: relative;
  padding-block: .3rem;
  color: var(--deep);
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px;
  height: 2px; background: var(--beryl);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform: scaleX(1); }
.nav-links a[aria-current="page"]{ color: var(--beryl-700); }

.nav-cta{ display:flex; align-items:center; gap: .75rem; flex: none; }

.nav-toggle{
  display:none;
  background: none; border: none;
  width: 42px; height: 42px;
  flex: none;
  align-items:center; justify-content:center;
  border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width: 20px; height: 2px; background: var(--deep);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ transform: translateY(-6px); }
.nav-toggle span::after{ transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 880px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position: fixed; inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem,4vw,2.5rem);
    gap: 1.5rem;
    font-size: 1.15rem;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y:auto;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-cta .btn span.long{ display:none; }
}

/* =============== HERO =============== */
.hero{
  position: relative;
  background: radial-gradient(120% 140% at 85% -10%, #2f4d78 0%, var(--deep) 46%, var(--deep-900) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(37,127,106,.35), transparent 40%),
    radial-gradient(circle at 92% 78%, rgba(37,127,106,.25), transparent 45%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items:center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero h1{ color: var(--white); }
.hero .lede{ color: #D9E2EF; max-width: 52ch; margin-top: 1.1rem; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap: 1rem; margin-top: 2.1rem; }
.hero-stats{ display:flex; gap: clamp(1.5rem,3vw,2.75rem); margin-top: 2.75rem; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family: var(--font-display); font-size: 1.7rem; }
.hero-stats div span{ font-family: var(--font-mono); font-size: .68rem; letter-spacing:.08em; text-transform:uppercase; color:#AFC0DA; }

.hero-visual{ position:relative; }
.gem-frame{
  position:relative;
  aspect-ratio: 4/5;
  clip-path: var(--gem-clip);
  background: linear-gradient(155deg, #2c4a72, var(--beryl-700) 130%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
}
.gem-frame img{ width:100%; height:100%; object-fit:cover; }
.gem-frame .ph-label{
  position:absolute; inset:auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(19,31,56,.85), transparent);
  color: #DCE7F2;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
}
.gem-frame .ph-icon{ width: 46%; height: auto; opacity:.9; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 320px; margin-inline:auto; }
}

/* =============== SECTION HEADERS =============== */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap:wrap;
}
.section-head h2{ margin-top: .6rem; max-width: 22ch; }
.section-head .lede{ margin-top:.8rem; }

/* =============== CARDS: 4 WAYS TO PARTNER =============== */
.ways-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px){ .ways-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .ways-grid{ grid-template-columns: 1fr; } }

.way-card{
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem 1.7rem;
  display:flex; flex-direction:column; gap: 1rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative;
}
.way-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--beryl); }
.way-num{
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing:.1em; color: var(--beryl-700); font-weight:700;
}
.way-icon{
  width: 52px; height:52px;
  border-radius: var(--radius-md);
  background: var(--beryl-100);
  display:flex; align-items:center; justify-content:center;
  flex: none;
}
.way-icon svg{ width: 26px; height:26px; stroke: var(--beryl-700); }
.way-card h3{ font-size: 1.15rem; }
.way-card p{ color: var(--deep-soft); font-size: .94rem; flex:1; }
.way-card .btn-ghost{ align-self:flex-start; }

/* =============== GENERIC FEATURE / LINK CARDS =============== */
.card-grid{ display:grid; gap: 1.25rem; }
.cols-2{ grid-template-columns: repeat(2,1fr); }
.cols-3{ grid-template-columns: repeat(3,1fr); }
.cols-5{ grid-template-columns: repeat(5,1fr); }
@media (max-width: 980px){ .cols-3{ grid-template-columns: repeat(2,1fr);} .cols-5{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 640px){ .cols-2, .cols-3, .cols-5{ grid-template-columns: 1fr; } }

.feature-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column; gap:1rem;
}
.feature-card .way-icon{ background: var(--cream); }
.feature-card h3{ font-size:1.2rem; }
.feature-card p{ color: var(--deep-soft); font-size:.95rem; }

.link-card{
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  display:flex; flex-direction:column; gap: 1.4rem;
  min-height: 190px;
  justify-content:space-between;
  transition: transform .2s ease, background .2s ease;
}
.link-card:hover{ transform: translateY(-5px); background:#16233d; }
.link-card .mono-tag{ color:#8fb8ce; }
.link-card h3{ color:var(--white); }
.link-card .go{ font-family: var(--font-mono); font-size:.78rem; letter-spacing:.06em; color:#BFE3DA; display:flex; align-items:center; gap:.5em; }
.link-card .go::after{ content:"→"; transition: transform .18s ease; }
.link-card:hover .go::after{ transform: translateX(4px); }

/* =============== BOOKS =============== */
.books-wrap{ display:grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; }
@media (max-width: 760px){ .books-wrap{ grid-template-columns:1fr; } }
.book-card{
  display:grid; grid-template-columns: 130px 1fr;
  gap: 1.4rem;
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  align-items:center;
}
.book-cover{
  width:100%; aspect-ratio: 2/3;
  border-radius: 6px;
  overflow:hidden;
  box-shadow: 0 10px 22px -8px rgba(31,48,83,.35);
}
.book-cover img{ width:100%; height:100%; object-fit:cover; }
.book-card h3{ font-size:1.1rem; }
.book-card p{ color:var(--deep-soft); font-size:.88rem; margin-block: .6rem 1rem; }
@media (max-width:460px){ .book-card{ grid-template-columns: 90px 1fr; } }

/* =============== TRUSTED-BY / PARTNER LOGOS =============== */
.trusted-strip{
  display:flex; flex-wrap:wrap; gap: 2.5rem 3rem; align-items:center; justify-content:center;
  filter: grayscale(1); opacity:.7;
}
.trusted-strip img{ height: 34px; width:auto; }

/* =============== NUMBERED SEQUENCE (real sequences only) =============== */
.sequence{ display:flex; flex-direction:column; }
.seq-item{
  display:grid; grid-template-columns: 64px 1fr; gap: 1.4rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--cream-300);
}
.seq-item:last-child{ border-bottom: 1px solid var(--cream-300); }
.seq-num{
  width:44px; height:44px;
  clip-path: var(--gem-clip);
  background: var(--deep);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-weight:700; font-size:.9rem;
}
.seq-item h3{ font-size: 1.05rem; margin-bottom:.35rem; }
.seq-item p{ color: var(--deep-soft); font-size: .93rem; }

/* =============== QR / CTA PANEL =============== */
.qr-panel{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display:flex; gap:1.6rem; align-items:center;
}
.qr-box{
  width: 132px; height:132px; flex:none;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  padding: 8px;
}
.qr-box canvas, .qr-box img{ width:100%; height:100%; }
.qr-panel h3{ font-size:1.05rem; }
.qr-panel p{ color:var(--deep-soft); font-size:.88rem; margin-block:.4rem .9rem; }
@media (max-width:520px){ .qr-panel{ flex-direction:column; text-align:center; } }

/* =============== BADGES / CHIPS =============== */
.chip-row{ display:flex; flex-wrap:wrap; gap:.6rem; }
.chip{
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing:.04em;
  padding: .5em 1em;
  border-radius: 999px;
  background: var(--beryl-100);
  color: var(--beryl-700);
  font-weight:600;
}

/* =============== VIDEO GRID (Media page) =============== */
.video-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (max-width: 760px){ .video-grid{ grid-template-columns: 1fr; } }

.video-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.video-frame{ position:relative; width:100%; aspect-ratio: 16/9; background: var(--deep-900); }
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-card-body{ padding: 1.2rem 1.3rem 1.4rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.video-card-body h3{ font-size: 1rem; line-height:1.35; }
.video-meta{ display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:auto; }
.platform-chip{ display:inline-flex; align-items:center; gap:.4em; }
.platform-chip svg{ width:14px; height:14px; }
.platform-chip.youtube{ background:#FDE7E7; color:#B3261E; }
.platform-chip.rumble{ background:var(--beryl-100); color:var(--beryl-700); }
.video-card-body a.watch-link{ font-family: var(--font-mono); font-size:.74rem; letter-spacing:.04em; color:var(--deep-soft); }
.video-card-body a.watch-link:hover{ color: var(--beryl-700); }

/* =============== GALLERY / PHOTO PLACEHOLDERS =============== */
.gallery-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 760px){ .gallery-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 480px){ .gallery-grid{ grid-template-columns: 1fr;} }

.photo-slot{
  position:relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 1.5px dashed #B9C6D6;
  background: repeating-linear-gradient(135deg, #EFE6D4 0 10px, #F5EDDD 10px 20px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem;
  color: var(--deep-soft);
  text-align:center; padding: 1rem;
  overflow:hidden;
}
.photo-slot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo-slot svg{ width:30px; height:30px; stroke: var(--deep-soft); opacity:.7; }
.photo-slot span{ font-family: var(--font-mono); font-size:.66rem; letter-spacing:.04em; }
.photo-slot.tall{ grid-row: span 2; aspect-ratio: 4/7; }

.banner-slot{
  position:relative;
  width:100%;
  aspect-ratio: 2/1;
  border-radius: var(--radius-lg);
  border: 1.5px dashed #B9C6D6;
  background: repeating-linear-gradient(135deg, #EFE6D4 0 10px, #F5EDDD 10px 20px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.6rem;
  color: var(--deep-soft);
  text-align:center; padding:1rem;
  overflow:hidden;
}
.banner-slot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.banner-slot svg{ width:34px; height:34px; stroke: var(--deep-soft); opacity:.7; }
.banner-slot span{ font-family: var(--font-mono); font-size:.7rem; letter-spacing:.04em; }
@media (max-width: 700px){ .banner-slot{ aspect-ratio: 16/9; } }

/* =============== FORMS =============== */
.form-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field{ display:flex; flex-direction:column; gap:.45rem; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-weight:700; font-size:.86rem; color:var(--deep); }
.field .hint{ font-size:.78rem; color: var(--deep-soft); font-weight:400; }
.field input, .field textarea, .field select{
  border: 1.5px solid var(--cream-300);
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: .8em .9em;
  color: var(--deep);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--beryl); background: var(--white); outline:none;
}
.field textarea{ resize: vertical; min-height: 90px; }
@media (max-width:620px){ .form-grid{ grid-template-columns: 1fr; } }

.consent{ display:flex; gap:.6rem; align-items:flex-start; font-size:.84rem; color:var(--deep-soft); }
.consent input{ margin-top:.25rem; }

.form-note{
  display:flex; gap:.8rem; align-items:flex-start;
  background: var(--beryl-050);
  border: 1px solid var(--beryl-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-size: .87rem;
  color: var(--deep);
  margin-bottom: 1.6rem;
}
.form-note svg{ width:20px; height:20px; flex:none; stroke: var(--beryl-700); margin-top:2px; }

.form-status{
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size:.92rem;
  font-weight:600;
  display:none;
}
.form-status.is-visible{ display:block; }
.form-status.ok{ background: var(--beryl-100); color: var(--beryl-700); display:block; }

/* =============== GIVE MODAL =============== */
.modal-overlay{
  position:fixed; inset:0; z-index: 100;
  background: rgba(19,31,56,.55);
  backdrop-filter: blur(3px);
  display:flex; align-items:center; justify-content:center;
  padding: 1.5rem;
  opacity:0; pointer-events:none;
  transition: opacity .22s ease;
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal-box{
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 460px; width:100%;
  padding: clamp(1.6rem,4vw,2.4rem);
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
  box-shadow: var(--shadow-lift);
  position:relative;
}
.modal-overlay.is-open .modal-box{ transform: translateY(0) scale(1); }
.modal-close{
  position:absolute; top: 1rem; right:1rem;
  width:34px; height:34px; border-radius:50%;
  background: var(--white); border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:var(--deep);
}
.give-option{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  border: 1.5px solid var(--cream-300);
  transition: border-color .18s ease, transform .18s ease;
}
.give-option:hover{ border-color: var(--beryl); transform: translateX(3px); }
.give-option strong{ display:block; font-size:.96rem; }
.give-option span{ font-size:.78rem; color:var(--deep-soft); }

.subscribe-gem{
  width: 42px; height:42px;
  background: linear-gradient(155deg, var(--beryl), var(--deep));
  clip-path: var(--gem-clip);
  margin-bottom: 1.1rem;
}

/* =============== FOOTER =============== */
.site-footer{
  background: var(--deep);
  color: #D9E2EF;
  position:relative;
  padding-top: 4rem;
}
.site-footer::before{
  content:"";
  position:absolute; top:-1px; left:0; right:0; height: 10px;
  background: repeating-linear-gradient(-70deg, var(--beryl) 0 10px, transparent 10px 20px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
  opacity:.9;
}
.footer-grid{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .brand{ color: var(--white); }
.footer-brand p{ color:#AFC0DA; font-size:.88rem; margin-top:1rem; max-width: 32ch; }
.footer-col h4{
  font-family: var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:#8fb8ce; margin-bottom:1rem;
}
.footer-col ul{ display:flex; flex-direction:column; gap:.7rem; font-size:.92rem; }
.footer-col a:hover{ color: var(--white); }
.footer-col ul a{ color:#C7D3E6; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
  padding-block: 1.6rem 2.2rem;
  font-size:.82rem; color:#8DA0BF;
}
.social-row{ display:flex; gap:.75rem; }
.social-row a{
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  transition: background .18s ease;
}
.social-row a:hover{ background: var(--beryl); }
.social-row svg{ width:16px; height:16px; stroke: var(--white); fill:none; }

/* =============== REVEAL ON SCROLL =============== */
[data-reveal]{
  opacity:0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* =============== UTILITIES =============== */
.text-center{ text-align:center; }
.stack{ display:flex; flex-direction:column; }
.gap-sm{ gap:.75rem; } .gap-md{ gap:1.25rem; } .gap-lg{ gap:2rem; }
.mt-lg{ margin-top: 2.5rem; }
.divider-gem{
  width: 18px; height:18px;
  background: var(--beryl);
  clip-path: var(--gem-clip);
  margin-inline:auto;
}
.bg-white-section{ background: var(--white); }
.bg-deep-section{ background: var(--deep); color:var(--white); }
.bg-deep-section h2{ color: var(--white); }
.bg-deep-section .lede{ color:#C7D3E6; }
.pill-note{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family: var(--font-mono); font-size:.72rem; letter-spacing:.05em;
  color: var(--beryl-700); background: var(--beryl-100);
  padding: .4em .9em; border-radius:999px;
}
