/* ══════════════════════════════════════════════════════════════════════════
   nv-style.css — GCT Ministries
   ══════════════════════════════════════════════════════════════════════════

   DESIGN NOTE — where this comes from
   The identity is taken from the mark itself: the GCT Ministries "N" is built
   from uniform hairline strokes, tall verticals, and one perfect circle. It
   reads like a drafting sheet, not a logo. So the whole site is built on
   that vocabulary — hairline rules at exactly 1px, tall condensed display
   type, real vertical structure, and a lot of quiet white space. Colour is
   almost entirely black, white, and a very light grey; orange appears only
   where it marks something (an active rule, one CTA, a live indicator).
   If orange is doing decoration rather than signalling, remove it.

   TYPE — one superfamily, two widths
   Barlow Condensed carries the headlines (tall, modern grotesque, the same
   skeleton as the wordmark). Barlow carries the body. Same underlying
   letterforms at two widths — the same relationship the logo has between
   its narrow verticals and its wide circle.

   ── CONTENTS ──────────────────────────────────────────────────────────
     1. Tokens
     2. Reset + base
     3. Typography
     4. Layout primitives
     5. Buttons + links
     6. Topbar / header / nav
     7. Hero (video or image background)
     8. Sections + section marks
     9. Cards, grids, media
    10. Forms
    11. Footer
    12. Utility rail + to-top
    13. Scroll reveal (motion)
    14. Responsive
   ══════════════════════════════════════════════════════════════════════ */


/* ═══ 1. TOKENS ═══════════════════════════════════════════════════════ */
:root{
  /* Core palette — black, white, very light grey, one orange */
  --nv-ink:          #0A0A0A;   /* true near-black: headlines, dark bands  */
  --nv-ink-soft:     #1A1A1A;   /* raised surfaces inside dark bands       */
  --nv-white:        #FFFFFF;
  --nv-paper:        #F6F6F5;   /* very light grey — alternating bands     */
  --nv-paper-deep:   #EEEEEC;   /* second grey step, used sparingly        */
  --nv-line:         #E3E3E0;   /* the hairline. 1px, never thicker.       */
  --nv-line-dark:    rgba(255,255,255,.22); /* hairline on dark            */
  --nv-grey:         #6E6E6B;   /* body text on white                      */
  --nv-grey-light:   #9B9B97;   /* meta, captions, disabled                */

  /* Orange — signal only, never decoration */
  --nv-orange:       #FF5A1F;
  --nv-orange-deep:  #E04609;
  --nv-orange-tint:  #FFF2EC;

  /* Type */
  --nv-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --nv-body:    'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Type scale — 1.25 minor third off a 17px base */
  --nv-t-xs:   0.75rem;    /* 12px  meta            */
  --nv-t-sm:   0.875rem;   /* 14px  small           */
  --nv-t-base: 1.0625rem;  /* 17px  body            */
  --nv-t-lg:   1.1875rem;  /* 19px  lead            */
  --nv-t-xl:   1.5rem;     /* 24px  h4              */
  --nv-t-2xl:  clamp(1.75rem, 2.2vw, 2.125rem);   /* h3 */
  --nv-t-3xl:  clamp(2.25rem, 3.4vw, 3.25rem);    /* h2 */
  --nv-t-4xl:  clamp(3rem, 6.5vw, 5.5rem);        /* h1 / hero */

  /* Space — 8px rhythm */
  --nv-s-1: 4px;  --nv-s-2: 8px;  --nv-s-3: 12px; --nv-s-4: 16px;
  --nv-s-5: 24px; --nv-s-6: 32px; --nv-s-7: 48px; --nv-s-8: 64px;
  --nv-s-9: 96px; --nv-s-10:128px;

  /* Section rhythm — one variable so bands never fight each other */
  --nv-band:      clamp(72px, 9vw, 128px);
  --nv-band-tight:clamp(48px, 6vw, 80px);

  /* Radius — soft, never bubbly */
  --nv-r-sm:  6px;
  --nv-r:     12px;
  --nv-r-lg:  18px;

  /* Shadows — very soft, wide, low opacity. Lift, not drop. */
  --nv-shadow-sm: 0 1px 2px rgba(10,10,10,.03), 0 6px 16px -10px rgba(10,10,10,.10);
  --nv-shadow:    0 2px 4px rgba(10,10,10,.03), 0 18px 40px -24px rgba(10,10,10,.16);
  --nv-shadow-lg: 0 4px 10px rgba(10,10,10,.04), 0 44px 80px -44px rgba(10,10,10,.26);

  /* Motion */
  --nv-ease: cubic-bezier(.22,.61,.36,1);
  --nv-wrap: 1240px;
}


/* ═══ 2. RESET + BASE ═════════════════════════════════════════════════ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--nv-white);
  color:var(--nv-grey);
  font-family:var(--nv-body);
  font-size:var(--nv-t-base);
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img,svg,video{ max-width:100%; display:block; }
img{ height:auto; }

/* Visible keyboard focus everywhere — orange is the signal colour. */
:focus-visible{
  outline:2px solid var(--nv-orange);
  outline-offset:3px;
  border-radius:2px;
}
::selection{ background:var(--nv-ink); color:var(--nv-white); }

.nv-sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.nv-skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--nv-ink); color:#fff; padding:12px 20px;
  font:600 var(--nv-t-sm)/1 var(--nv-body);
}
.nv-skip:focus{ left:12px; top:12px; }


/* ═══ 3. TYPOGRAPHY ═══════════════════════════════════════════════════ */
h1,h2,h3,h4,h5{
  font-family:var(--nv-display);
  color:var(--nv-ink);
  font-weight:600;
  line-height:1.03;
  letter-spacing:-0.01em;
  margin:0 0 var(--nv-s-4);
  text-wrap:balance;
}
h1{ font-size:var(--nv-t-4xl); font-weight:700; letter-spacing:-0.02em; }
h2{ font-size:var(--nv-t-3xl); }
h3{ font-size:var(--nv-t-2xl); }
h4{ font-size:var(--nv-t-xl); line-height:1.2; }

p{ margin:0 0 var(--nv-s-4); max-width:68ch; }
p:last-child{ margin-bottom:0; }

/* Lead paragraph — larger, darker, tighter. Used once per section, max. */
.nv-lead{
  font-size:var(--nv-t-lg);
  line-height:1.6;
  color:var(--nv-ink);
  max-width:60ch;
}
.nv-meta{
  font-size:var(--nv-t-xs);
  color:var(--nv-grey-light);
  letter-spacing:.02em;
}
.nv-dim{ color:var(--nv-grey-light); }

a{ color:var(--nv-ink); text-decoration:none; }
.nv-prose a{
  color:var(--nv-ink);
  border-bottom:1px solid var(--nv-orange);
  padding-bottom:1px;
  transition:background .18s var(--nv-ease);
}
.nv-prose a:hover{ background:var(--nv-orange-tint); }

hr.nv-rule{
  border:0; border-top:1px solid var(--nv-line);
  margin:var(--nv-s-7) 0;
}


/* ═══ 4. LAYOUT PRIMITIVES ════════════════════════════════════════════ */
.nv-wrap{
  width:100%;
  max-width:var(--nv-wrap);
  margin-inline:auto;
  padding-inline:clamp(20px, 5vw, 48px);
}
.nv-wrap--narrow{ max-width:860px; }

/* The measured column: headline left, supporting copy right. This is the
   site's default two-column relationship — it repeats so the page reads
   like one document rather than a stack of unrelated blocks. */
.nv-split{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(32px, 5vw, 80px);
  align-items:start;
}
.nv-split--even{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.nv-split--center{ align-items:center; }

.nv-stack   { display:flex; flex-direction:column; gap:var(--nv-s-4); }
.nv-stack-lg{ display:flex; flex-direction:column; gap:var(--nv-s-6); }
.nv-row     { display:flex; flex-wrap:wrap; gap:var(--nv-s-3); align-items:center; }


/* ═══ 5. BUTTONS + LINKS ══════════════════════════════════════════════ */
.nv-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  font-family:var(--nv-body);
  font-size:var(--nv-t-sm);
  font-weight:600;
  letter-spacing:.01em;
  line-height:1;
  padding:15px 26px;
  border:1px solid transparent;
  border-radius:var(--nv-r-sm);
  cursor:pointer;
  text-align:center;
  transition:background .2s var(--nv-ease),
             color .2s var(--nv-ease),
             border-color .2s var(--nv-ease),
             box-shadow .25s var(--nv-ease),
             transform .2s var(--nv-ease);
}
.nv-btn svg{ width:16px; height:16px; flex:none; }
.nv-btn:active{ transform:translateY(1px); }

/* Primary — the one place orange fills a surface. One per screen. */
.nv-btn--orange{
  background:var(--nv-orange); color:#fff;
  box-shadow:0 2px 4px rgba(255,90,31,.14), 0 16px 32px -18px rgba(255,90,31,.55);
}
.nv-btn--orange:hover{
  background:var(--nv-orange-deep); color:#fff;
  box-shadow:0 2px 6px rgba(255,90,31,.16), 0 22px 42px -20px rgba(255,90,31,.6);
}
/* Solid black — the workhorse */
.nv-btn--ink{ background:var(--nv-ink); color:#fff; box-shadow:var(--nv-shadow-sm); }
.nv-btn--ink:hover{ background:#242424; color:#fff; box-shadow:var(--nv-shadow); }
/* Outline — secondary actions on light ground */
.nv-btn--line{ background:transparent; color:var(--nv-ink); border-color:var(--nv-line); }
.nv-btn--line:hover{ border-color:var(--nv-ink); background:var(--nv-white); box-shadow:var(--nv-shadow-sm); }
/* Outline on dark ground */
.nv-btn--ghost{ background:transparent; color:#fff; border-color:var(--nv-line-dark); }
.nv-btn--ghost:hover{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.4); }

/* Text link with a rule that grows on hover — the hairline motif again. */
.nv-tlink{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:var(--nv-t-sm);
  color:var(--nv-ink); position:relative; padding-bottom:4px;
}
.nv-tlink::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:var(--nv-line); transition:background .2s var(--nv-ease);
}
.nv-tlink:hover::after{ background:var(--nv-orange); }
.nv-tlink svg{ width:14px; height:14px; transition:transform .2s var(--nv-ease); }
.nv-tlink:hover svg{ transform:translateX(3px); }


/* ═══ 6. TOPBAR / HEADER / NAV ════════════════════════════════════════ */
.nv-topbar{
  background:var(--nv-ink); color:rgba(255,255,255,.72);
  font-size:var(--nv-t-xs);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nv-topbar .nv-wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:var(--nv-s-4); min-height:40px;
}
.nv-topbar a{ color:rgba(255,255,255,.72); display:inline-flex; align-items:center; gap:7px; }
.nv-topbar a:hover{ color:#fff; }
.nv-tb-meta{ display:flex; align-items:center; gap:var(--nv-s-5); flex-wrap:wrap; }
.nv-tb-meta svg{ width:14px; height:14px; fill:currentColor; }
.nv-tb-social{ display:flex; align-items:center; gap:var(--nv-s-3); }
.nv-tb-social svg{ width:15px; height:15px; fill:currentColor; }

.nv-header{
  position:sticky; top:0; z-index:900;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--nv-line);
  transition:box-shadow .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
/* Shadow only appears once the page has actually moved. */
.nv-header.is-stuck{ box-shadow:var(--nv-shadow-sm); border-color:transparent; }
.nv-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:var(--nv-s-5); min-height:78px;
}
.nv-brand{ display:flex; align-items:center; flex:none; }
.nv-brand img{ height:42px; width:auto; }

.nv-nav{ display:flex; align-items:center; gap:var(--nv-s-1); margin-left:auto; }
.nv-nav__item{ position:relative; }
.nv-nav__link{
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 14px;
  font-size:var(--nv-t-sm); font-weight:500;
  color:var(--nv-grey);
  border-radius:var(--nv-r-sm);
  transition:color .18s var(--nv-ease), background .18s var(--nv-ease);
}
.nv-nav__link:hover{ color:var(--nv-ink); background:var(--nv-paper); }
/* Current page is marked by an orange hairline under the label — the same
   1px rule used everywhere else, just doing a different job. */
.nv-nav__link[aria-current="page"]{ color:var(--nv-ink); }
.nv-nav__link[aria-current="page"]::after{
  content:''; position:absolute; left:14px; right:14px; bottom:2px;
  height:1px; background:var(--nv-orange);
}
.nv-nav__link--cta{
  background:var(--nv-ink); color:#fff; font-weight:600;
  padding:12px 22px; margin-left:var(--nv-s-3);
}
.nv-nav__link--cta:hover{ background:var(--nv-orange); color:#fff; }
/* The CTA keeps white text even when it is the current page.
   .nv-nav__link[aria-current="page"] is a class PLUS an attribute
   selector, so it outranks the single-class .nv-nav__link--cta and was
   repainting the label black on black — invisible on the Contact page.
   Matching the specificity puts it back. */
.nv-nav__link--cta[aria-current="page"]{ color:#fff; }
.nv-nav__link--cta[aria-current="page"]::after{ display:none; }

.nv-caret{
  width:0; height:0; border-left:3.5px solid transparent;
  border-right:3.5px solid transparent; border-top:4px solid currentColor;
  opacity:.55; transition:transform .18s var(--nv-ease);
}
.nv-nav__item:hover .nv-caret{ transform:rotate(180deg); }

.nv-dropdown{
  position:absolute; top:calc(100% + 10px); left:0; min-width:228px;
  background:var(--nv-white);
  border:1px solid var(--nv-line);
  border-radius:var(--nv-r);
  box-shadow:var(--nv-shadow);
  padding:var(--nv-s-2);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .18s var(--nv-ease), transform .18s var(--nv-ease), visibility .18s;
}
.nv-nav__item:hover .nv-dropdown,
.nv-nav__item:focus-within .nv-dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.nv-dropdown a{
  display:block; padding:10px 14px; border-radius:var(--nv-r-sm);
  font-size:var(--nv-t-sm); color:var(--nv-grey);
  transition:background .15s var(--nv-ease), color .15s var(--nv-ease);
}
.nv-dropdown a:hover{ background:var(--nv-paper); color:var(--nv-ink); }

.nv-nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; padding:0 11px;
  background:transparent; border:1px solid var(--nv-line);
  border-radius:var(--nv-r-sm); cursor:pointer;
}
.nv-nav-toggle span{
  display:block; height:1.5px; width:100%; background:var(--nv-ink);
  transition:transform .25s var(--nv-ease), opacity .2s var(--nv-ease);
}
.nv-nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nv-nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nv-nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }
.nv-nav-close{ display:none; }


/* ═══ 7. HERO ═════════════════════════════════════════════════════════
   The homepage hero takes either an uploaded video or a background image;
   the admin sets whichever they want from the popmodule editor and the
   other is ignored. Video is muted + looped + playsinline so it behaves
   as a texture rather than media the visitor has to manage, and it is
   suppressed entirely under prefers-reduced-motion (poster shows instead).
   ══════════════════════════════════════════════════════════════════════ */
.nv-hero{
  position:relative;
  /* Shorter than a full viewport. A hero should introduce the page, not
     be the page — at 88vh the next section never hinted at itself and
     every visitor had to scroll before learning anything. */
  min-height:min(74vh, 720px);
  display:flex; align-items:center;      /* vertically centred */
  background:var(--nv-ink);
  overflow:hidden;
  isolation:isolate;
}
.nv-hero__media{ position:absolute; inset:0; z-index:-2; }
.nv-hero__media img,
.nv-hero__media video{
  width:100%; height:100%; object-fit:cover; object-position:center;
}
/* Centred composition needs an even scrim, not the bottom-weighted one a
   bottom-anchored layout wanted. Slightly stronger through the middle so
   the headline holds against a busy photograph. */
.nv-hero__scrim{
  position:absolute; inset:0; z-index:-1;
  /* Deliberately light — the photograph is meant to show through, not sit
     behind a wash. Legibility is bought back on the type itself
     (text-shadow below) rather than by darkening the whole image, which
     is what lets the scrim go this low without the headline dissolving. */
  background:
    linear-gradient(to bottom, rgba(10,10,10,.16) 0%, rgba(10,10,10,.26) 45%, rgba(10,10,10,.38) 100%);
}
.nv-hero__inner{
  /* +100px top and bottom over the previous clamp(48px,6vw,76px). The
     hero grows with the padding rather than the min-height doing the
     work, so the content keeps its own breathing room instead of just
     floating in a taller box. */
  width:100%;
  padding-block:clamp(148px, 6vw + 100px, 176px);
}

/* One centred column. The old two-column split pushed the headline off
   axis; centring it gives the composition a single obvious focal point,
   which is what reads as upscale here. */
.nv-hero__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(32px,4vw,48px);
  /* stretch, not center: with justify-items:center the grid items shrank
     to fit, which capped the headline at ~844px and forced a third line.
     Items now take the full column and centre their own text. */
  justify-items:stretch;
  text-align:center;
  max-width:1120px;
  margin-inline:auto;
}
/* Eyebrow — the one piece of orange in the hero. Small, letter-spaced
   caps with a short rule either side, matching the section marks used
   down the rest of the page. It names the studio so the headline doesn't
   have to. */
.nv-hero__eyebrow{
  display:inline-flex; align-items:center; gap:14px;
  margin:0 auto var(--nv-s-4);
  font-family:var(--nv-body);
  font-size:var(--nv-t-xs);
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--nv-orange);
  text-shadow:0 1px 10px rgba(10,10,10,.55);
}
.nv-hero__eyebrow::before,
.nv-hero__eyebrow::after{
  content:''; width:32px; height:1px; background:var(--nv-orange); opacity:.75;
}

.nv-hero h1{
  color:#fff;
  /* Larger than the shared --nv-t-4xl scale: the hero headline is the one
     place on the site where type is the image, so it gets its own size. */
  font-size:clamp(2.75rem, 6.6vw, 6rem);
  text-transform:uppercase;
  line-height:.88;                 /* caps have no descenders — close it up */
  letter-spacing:-0.015em;         /* condensed caps need less negative tracking */
  font-weight:700;
  margin:0 auto var(--nv-s-5);
  /* No ch cap. Condensed caps are narrow enough that a character-based
     measure fought the 940px container and forced a third line, which
     pushed the hero back to 80vh and undid the height reduction. Let the
     container set the measure instead. */
  max-width:none;
  /* Carries the contrast the scrim no longer does. Two shadows: a tight
     dark halo for edge definition against light patches of the photo, and
     a wide soft one that lifts the whole block off a busy background. */
  text-shadow:0 1px 2px rgba(10,10,10,.35), 0 8px 34px rgba(10,10,10,.55);
}
.nv-hero__sub{
  color:#fff;
  font-size:var(--nv-t-lg);
  max-width:52ch;
  margin:0 auto var(--nv-s-6);
  text-shadow:0 1px 2px rgba(10,10,10,.4), 0 4px 18px rgba(10,10,10,.5);
}
.nv-hero__cta{ display:flex; flex-wrap:wrap; gap:var(--nv-s-3); justify-content:center; }

/* The four disciplines, now a single hairline row beneath the buttons
   rather than a column beside the headline. Same information, and it
   gives the centred block a base to sit on. */
.nv-hero__aside{ width:100%; padding:0; }
.nv-hero__aside dl{
  margin:0;
  display:flex; flex-wrap:wrap; justify-content:center;
  border-top:1px solid var(--nv-line-dark);
  padding-top:var(--nv-s-5);
}
.nv-hero__aside div{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:0 clamp(18px,3vw,40px);
  border-bottom:0;
  border-left:1px solid var(--nv-line-dark);
}
.nv-hero__aside div:first-child{ border-left:0; }
.nv-hero__aside dt{
  font-family:var(--nv-display); font-size:1.0625rem; font-weight:600;
  color:#fff; letter-spacing:.01em;
  text-shadow:0 1px 12px rgba(10,10,10,.6);
}
.nv-hero__aside dd{
  margin:0; font-size:var(--nv-t-xs); color:rgba(255,255,255,.72);
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 10px rgba(10,10,10,.6);
}

/* ── SHORT VIEWPORTS ──────────────────────────────────────────────────
   The +100px padding is right on a tall screen. On a 1280x800 laptop it
   pushed the hero to 104vh — taller than the window, so nothing below it
   was visible and the visitor had no signal there was more page. These
   trim the extra back on short screens only; on anything 900px tall or
   more the full padding applies.
   ──────────────────────────────────────────────────────────────────── */
@media (max-height: 899px) and (min-width: 901px){
  .nv-hero__inner{ padding-block:clamp(104px, 14vh, 140px); }
  .nv-hero{ min-height:min(68vh, 640px); }
}
@media (max-height: 760px) and (min-width: 901px){
  .nv-hero__inner{ padding-block:clamp(76px, 11vh, 104px); }
}

/* Interior page hero — same family, far less height. */
.nv-phero{
  position:relative; background:var(--nv-ink); color:#fff;
  padding-block:clamp(72px,9vw,128px) clamp(48px,6vw,72px);
  overflow:hidden;
}
.nv-phero::after{
  /* One faint vertical hairline set, echoing the logo construction. */
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:clamp(80px,10vw,140px) 100%;
}
.nv-phero h1{ color:#fff; max-width:18ch; margin-bottom:var(--nv-s-4); }
.nv-phero__sub{ color:rgba(255,255,255,.72); font-size:var(--nv-t-lg); max-width:56ch; margin:0; }
.nv-phero .nv-wrap{ position:relative; z-index:1; }

/* Breadcrumb */
.nv-crumbs{
  border-bottom:1px solid var(--nv-line);
  background:var(--nv-white);
}
.nv-crumbs ol{
  list-style:none; margin:0; padding:16px 0;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  font-size:var(--nv-t-xs); color:var(--nv-grey-light);
}
.nv-crumbs a{ color:var(--nv-grey); }
.nv-crumbs a:hover{ color:var(--nv-orange); }
.nv-crumbs svg{ width:12px; height:12px; opacity:.45; }
.nv-crumbs [aria-current]{ color:var(--nv-ink); font-weight:500; }


/* ═══ 8. SECTIONS + SECTION MARKS ═════════════════════════════════════ */
.nv-band{ padding-block:var(--nv-band); }
.nv-band--tight{ padding-block:var(--nv-band-tight); }
.nv-band--grey{ background:var(--nv-paper); }
.nv-band--dark{ background:var(--nv-ink); color:rgba(255,255,255,.72); }
.nv-band--dark h1,.nv-band--dark h2,.nv-band--dark h3,.nv-band--dark h4{ color:#fff; }
.nv-band--dark .nv-lead{ color:rgba(255,255,255,.86); }
.nv-band--line{ border-top:1px solid var(--nv-line); }

/* The section mark: a short vertical orange rule above the heading. It
   replaces the usual all-caps eyebrow — it marks where a section starts
   without adding another line of text to read. */
.nv-mark{ position:relative; padding-top:var(--nv-s-5); }
.nv-mark::before{
  content:''; position:absolute; top:0; left:0;
  width:1px; height:var(--nv-s-4); background:var(--nv-orange);
}
.nv-mark--center{ padding-top:var(--nv-s-5); text-align:center; }
.nv-mark--center::before{ left:50%; }

/* Section head: heading left, supporting copy right. */
.nv-shead{ margin-bottom:clamp(40px,5vw,64px); }
.nv-shead h2{ margin-bottom:0; }
.nv-shead__body{ padding-top:6px; }


/* ═══ 9. CARDS, GRIDS, MEDIA ══════════════════════════════════════════ */
.nv-grid{ display:grid; gap:clamp(16px,2vw,24px); }
.nv-grid--2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.nv-grid--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.nv-grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }

.nv-card{
  background:var(--nv-white);
  border:1px solid var(--nv-line);
  border-radius:var(--nv-r);
  padding:clamp(24px,2.6vw,34px);
  display:flex; flex-direction:column; gap:var(--nv-s-3);
  transition:box-shadow .3s var(--nv-ease),
             border-color .3s var(--nv-ease),
             transform .3s var(--nv-ease);
}
.nv-card h3,.nv-card h4{ margin-bottom:0; }
.nv-card p{ margin-bottom:0; font-size:var(--nv-t-sm); }
.nv-card__foot{ margin-top:auto; padding-top:var(--nv-s-4); }

/* Only cards that link somewhere lift — the lift means "this is clickable",
   not "this is a card". */
a.nv-card:hover,
.nv-card--link:hover{
  box-shadow:var(--nv-shadow);
  border-color:transparent;
  transform:translateY(-3px);
}
.nv-band--grey .nv-card{ border-color:transparent; box-shadow:var(--nv-shadow-sm); }
.nv-band--dark .nv-card{
  background:var(--nv-ink-soft); border-color:var(--nv-line-dark); box-shadow:none;
}
.nv-band--dark .nv-card p{ color:rgba(255,255,255,.66); }

/* Icon plate — hairline square, orange glyph. */
.nv-icon{
  width:46px; height:46px; flex:none;
  display:grid; place-items:center;
  border:1px solid var(--nv-line);
  border-radius:var(--nv-r-sm);
  color:var(--nv-orange);
  background:var(--nv-white);
}
.nv-icon svg{ width:20px; height:20px; }
.nv-band--dark .nv-icon{ border-color:var(--nv-line-dark); background:transparent; }

/* Numbered steps — used ONLY where the content is genuinely sequential. */
.nv-step{ display:grid; grid-template-columns:auto 1fr; gap:var(--nv-s-4); align-items:start; }
.nv-step__n{
  font-family:var(--nv-display); font-size:1.25rem; font-weight:600;
  color:var(--nv-orange); line-height:1;
  padding-top:3px; font-variant-numeric:tabular-nums;
}

/* Work / portfolio tile */
.nv-tile{
  position:relative; display:block; overflow:hidden;
  border-radius:var(--nv-r);
  background:var(--nv-paper-deep);
  box-shadow:var(--nv-shadow-sm);
  transition:box-shadow .35s var(--nv-ease), transform .35s var(--nv-ease);
}
.nv-tile__img{ aspect-ratio:4/3; width:100%; overflow:hidden; }
.nv-tile__img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--nv-ease);
}
.nv-tile:hover{ box-shadow:var(--nv-shadow-lg); transform:translateY(-4px); }
.nv-tile:hover .nv-tile__img img{ transform:scale(1.04); }
.nv-tile__body{
  padding:var(--nv-s-5);
  background:var(--nv-white);
  border-top:1px solid var(--nv-line);
}
.nv-tile__body h3{ font-size:var(--nv-t-xl); margin-bottom:6px; }
.nv-tile__body p{ font-size:var(--nv-t-sm); margin:0; }

/* Framed image — hairline border, soft lift. */
.nv-frame{
  border-radius:var(--nv-r);
  overflow:hidden;
  box-shadow:var(--nv-shadow);
  background:var(--nv-paper);
}
.nv-frame img{ width:100%; }

/* Stat row — tabular figures on a hairline grid. */
.nv-stats{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--nv-line);
}
.nv-stats > div{
  padding:var(--nv-s-6) var(--nv-s-4) var(--nv-s-5) 0;
  border-bottom:1px solid var(--nv-line);
}
.nv-stats dt{
  font-family:var(--nv-display); font-size:clamp(2.25rem,4vw,3.25rem);
  font-weight:700; color:var(--nv-ink); line-height:1;
  font-variant-numeric:tabular-nums; letter-spacing:-0.02em;
}
.nv-stats dd{ margin:10px 0 0; font-size:var(--nv-t-sm); color:var(--nv-grey); }
.nv-band--dark .nv-stats{ border-color:var(--nv-line-dark); }
.nv-band--dark .nv-stats > div{ border-color:var(--nv-line-dark); }
.nv-band--dark .nv-stats dt{ color:#fff; }
.nv-band--dark .nv-stats dd{ color:rgba(255,255,255,.6); }

/* Logo strip */
.nv-logos{ display:flex; flex-wrap:wrap; align-items:center; gap:clamp(28px,5vw,64px); }
.nv-logos img{ height:30px; width:auto; opacity:.42; filter:grayscale(1); transition:opacity .25s var(--nv-ease); }
.nv-logos img:hover{ opacity:.85; }


/* ═══ 10. FORMS ═══════════════════════════════════════════════════════ */
.nv-form{ display:flex; flex-direction:column; gap:var(--nv-s-5); }
.nv-form__row{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--nv-s-5); }
.nv-field{ display:flex; flex-direction:column; gap:8px; }
.nv-field label{
  font-size:var(--nv-t-sm); font-weight:600; color:var(--nv-ink);
}
.nv-field label .nv-req{ color:var(--nv-orange); margin-left:2px; }
.nv-field input,
.nv-field select,
.nv-field textarea{
  font-family:var(--nv-body); font-size:var(--nv-t-base);
  color:var(--nv-ink); background:var(--nv-white);
  border:1px solid var(--nv-line); border-radius:var(--nv-r-sm);
  padding:13px 15px; width:100%;
  transition:border-color .18s var(--nv-ease), box-shadow .18s var(--nv-ease);
}
.nv-field textarea{ min-height:150px; resize:vertical; line-height:1.6; }
.nv-field input::placeholder,
.nv-field textarea::placeholder{ color:var(--nv-grey-light); }
.nv-field input:focus,
.nv-field select:focus,
.nv-field textarea:focus{
  outline:none; border-color:var(--nv-ink);
  box-shadow:0 0 0 3px rgba(10,10,10,.06);
}
.nv-field input.is-bad,
.nv-field textarea.is-bad{
  border-color:var(--nv-orange); box-shadow:0 0 0 3px rgba(255,90,31,.12);
}
.nv-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.nv-form__status{
  font-size:var(--nv-t-base); border-radius:var(--nv-r-sm);
  padding:0; max-height:0; overflow:hidden;
  transition:max-height .25s var(--nv-ease), padding .25s var(--nv-ease);
}
.nv-form__status.is-ok{
  background:var(--nv-paper); color:var(--nv-ink);
  border:1px solid var(--nv-line); border-left:2px solid var(--nv-orange);
  padding:18px 20px; max-height:420px;
}
.nv-form__status.is-err{
  background:var(--nv-orange-tint); color:var(--nv-orange-deep);
  border:1px solid #FBD8C6; padding:16px 20px; max-height:420px;
}
.nv-form.is-sent .nv-field,
.nv-form.is-sent .nv-form__row,
.nv-form.is-sent .nv-form__submit{ display:none; }
.nv-btn:disabled{ opacity:.55; cursor:progress; transform:none; }


/* ═══ 11. FOOTER ══════════════════════════════════════════════════════ */
.nv-footer{
  background:var(--nv-ink); color:rgba(255,255,255,.6);
  padding-top:clamp(64px,8vw,104px);
}
.nv-footer__grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));
  gap:clamp(32px,4vw,56px);
  padding-bottom:var(--nv-s-8);
}
.nv-footer__logo{ height:52px; width:auto; margin-bottom:var(--nv-s-4); }
.nv-footer__blurb{ font-size:var(--nv-t-sm); color:rgba(255,255,255,.58); max-width:38ch; }
.nv-footer h4{
  color:#fff; font-size:var(--nv-t-base); font-weight:600;
  margin-bottom:var(--nv-s-4); letter-spacing:.01em;
}
.nv-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.nv-footer a{ color:rgba(255,255,255,.6); font-size:var(--nv-t-sm); transition:color .18s var(--nv-ease); }
.nv-footer a:hover{ color:#fff; }
.nv-footer__contact{ display:flex; flex-direction:column; gap:11px; font-size:var(--nv-t-sm); }
.nv-footer__contact a{ display:inline-flex; align-items:center; gap:10px; }
.nv-footer__contact svg{ width:15px; height:15px; fill:currentColor; opacity:.7; }

.nv-footer__social{ display:flex; gap:var(--nv-s-3); margin-top:var(--nv-s-5); }
.nv-footer__social a{
  width:38px; height:38px; display:grid; place-items:center;
  border:1px solid var(--nv-line-dark); border-radius:var(--nv-r-sm);
  transition:border-color .2s var(--nv-ease), background .2s var(--nv-ease);
}
.nv-footer__social a:hover{ border-color:var(--nv-orange); background:rgba(255,90,31,.1); }
.nv-footer__social svg{ width:16px; height:16px; fill:currentColor; }

.nv-footer__bottom{
  border-top:1px solid var(--nv-line-dark);
  padding-block:var(--nv-s-5);
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:var(--nv-s-4);
  font-size:var(--nv-t-xs); color:rgba(255,255,255,.42);
}
.nv-footer__bottom a{ font-size:var(--nv-t-xs); color:rgba(255,255,255,.42); }
.nv-footer__bottom a:hover{ color:var(--nv-orange); }


/* ═══ 12. TO-TOP ══════════════════════════════════════════════════════ */
.nv-totop{
  position:fixed; right:22px; bottom:22px; z-index:800;
  width:46px; height:46px; display:grid; place-items:center;
  background:var(--nv-ink); color:#fff;
  border:0; border-radius:var(--nv-r-sm); cursor:pointer;
  box-shadow:var(--nv-shadow);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .28s var(--nv-ease), transform .28s var(--nv-ease),
             visibility .28s, background .2s var(--nv-ease);
}
.nv-totop.is-on{ opacity:1; visibility:visible; transform:translateY(0); }
.nv-totop:hover{ background:var(--nv-orange); }
.nv-totop svg{ width:18px; height:18px; fill:currentColor; }


/* ═══ 13. SCROLL REVEAL ═══════════════════════════════════════════════
   One motion idea, used consistently: content rises 18px and fades in as
   it enters the viewport. Children of .nv-reveal-group stagger by index
   so a row of cards resolves left-to-right instead of all at once.
   Everything is off by default and only enabled once JS confirms
   IntersectionObserver support, so a no-JS visitor sees the full page.
   ══════════════════════════════════════════════════════════════════════ */
.js .nv-reveal{
  opacity:0; transform:translateY(18px);
  transition:opacity .7s var(--nv-ease), transform .7s var(--nv-ease);
  will-change:opacity, transform;
}
.js .nv-reveal.is-in{ opacity:1; transform:none; }
.js .nv-reveal-group > *{
  opacity:0; transform:translateY(18px);
  transition:opacity .7s var(--nv-ease), transform .7s var(--nv-ease);
}
.js .nv-reveal-group.is-in > *{ opacity:1; transform:none; }
.js .nv-reveal-group.is-in > *:nth-child(1){ transition-delay:0ms; }
.js .nv-reveal-group.is-in > *:nth-child(2){ transition-delay:80ms; }
.js .nv-reveal-group.is-in > *:nth-child(3){ transition-delay:160ms; }
.js .nv-reveal-group.is-in > *:nth-child(4){ transition-delay:240ms; }
.js .nv-reveal-group.is-in > *:nth-child(5){ transition-delay:320ms; }
.js .nv-reveal-group.is-in > *:nth-child(6){ transition-delay:400ms; }
.js .nv-reveal-group.is-in > *:nth-child(n+7){ transition-delay:480ms; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .js .nv-reveal,
  .js .nv-reveal-group > *{
    opacity:1 !important; transform:none !important; transition:none !important;
  }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
}

/* While the popmodule editor is open, force everything visible so an
   editor never has to scroll a section into view to edit it. */
body.mvs-popmodule-active .nv-reveal,
body.mvs-popmodule-active .nv-reveal-group > *{
  opacity:1 !important; transform:none !important;
}


/* ═══ 14. RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width:1024px){
  .nv-grid--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nv-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nv-footer__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nv-hero__aside dl{ gap:var(--nv-s-2) 0; }
}

@media (max-width:900px){
  .nv-grid--3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nv-split,.nv-split--even{ grid-template-columns:1fr; gap:var(--nv-s-6); }
  .nv-shead__body{ padding-top:0; }

  /* ── MOBILE NAV SHEET ───────────────────────────────────────────────
     Slides in from the right, full height, over everything.

     THE HEADER'S BACKDROP FILTER MUST BE OFF HERE. An element with
     backdrop-filter (like transform, filter or will-change) becomes the
     containing block for its position:fixed descendants — so the nav's
     inset:0 resolved against the 78px-tall header instead of the
     viewport, and the sheet rendered as a short clipped box with the
     links cut off. Dropping the filter at mobile widths restores the
     viewport as the containing block. The header keeps a solid white
     background, so it loses nothing visually.
     ────────────────────────────────────────────────────────────────── */
  .nv-header{
    backdrop-filter:none; -webkit-backdrop-filter:none;
    background:var(--nv-white);
    /* Raised ABOVE the scrim. The nav sheet is a child of the header, and
       z-index on a child is only compared inside its parent's stacking
       context — so with the header at 900 and the scrim at 990, no value
       on .nv-nav could ever lift it above the scrim. It rendered fully
       but dimmed. The header has to outrank the scrim for the sheet
       inside it to sit on top. */
    z-index:1000;
  }

  .nv-nav-toggle{ display:flex; }
  .nv-nav{
    position:fixed;
    top:0; right:0; bottom:0; left:auto;
    height:100vh;
    height:100dvh;          /* dvh accounts for mobile browser chrome */
    width:min(86vw, 360px);
    background:var(--nv-white);
    flex-direction:column; align-items:stretch; justify-content:flex-start;
    gap:2px;
    padding:var(--nv-s-8) var(--nv-s-5) var(--nv-s-7);
    /* Deeper than the standard shadow: this sheet sits over a dark hero
       and needs to read as a separate surface, not a lighter patch of it. */
    box-shadow:-2px 0 4px rgba(10,10,10,.04), -24px 0 60px -20px rgba(10,10,10,.45);
    transform:translateX(100%);
    transition:transform .32s var(--nv-ease);
    overflow-y:auto;
    overscroll-behavior:contain;   /* don't scroll the page behind the sheet */
    -webkit-overflow-scrolling:touch;
    z-index:2;   /* only ordered within .nv-header — see the note above */
  }
  .nv-nav.is-open{ transform:translateX(0); }
  /* Links read as a list of destinations, not a row of small controls.
     Display face, larger, separated by the same hairline used site-wide. */
  .nv-nav__item{ border-bottom:1px solid var(--nv-line); }
  .nv-nav__item:last-of-type{ border-bottom:0; }
  .nv-nav__link{
    padding:17px 4px;
    font-family:var(--nv-display);
    font-size:1.5rem; font-weight:600; letter-spacing:-0.01em;
    color:var(--nv-ink); border-radius:0;
  }
  .nv-nav__link:hover{ background:transparent; color:var(--nv-orange); }
  /* Current page marked by an orange rule down the left edge — the same
     hairline motif, rotated for a vertical list. */
  .nv-nav__link[aria-current="page"]{ color:var(--nv-ink); padding-left:14px; }
  .nv-nav__link[aria-current="page"]::after{
    left:0; right:auto; top:17px; bottom:17px;
    width:2px; height:auto; background:var(--nv-orange);
  }
  .nv-nav__link--cta{
    margin:var(--nv-s-5) 0 0; justify-content:center;
    padding:16px 22px; font-size:var(--nv-t-base);
    font-family:var(--nv-body); border-radius:var(--nv-r-sm);
    background:var(--nv-ink); color:#fff;
  }
  .nv-nav__link--cta:hover{ background:var(--nv-orange); color:#fff; }
  /* Same specificity fix inside the mobile sheet. */
  .nv-nav__link--cta[aria-current="page"]{ color:#fff; padding-left:22px; }
  .nv-nav__link--cta[aria-current="page"]::after{ display:none; }
  .nv-dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; border-left:2px solid var(--nv-line);
    border-radius:0; margin:0 0 var(--nv-s-4) 6px; padding:0 0 0 var(--nv-s-4);
  }
  .nv-dropdown a{
    padding:11px 0; font-size:var(--nv-t-base); font-weight:500;
    color:var(--nv-grey);
  }
  .nv-dropdown a:hover{ background:transparent; color:var(--nv-ink); }
  .nv-caret{ display:none; }
  .nv-nav-close{
    display:grid; place-items:center;
    position:absolute; top:18px; right:18px;
    width:42px; height:42px;
    background:var(--nv-white);
    border:1px solid var(--nv-line); border-radius:var(--nv-r-sm); cursor:pointer;
    z-index:2;
  }
  .nv-nav-close:hover{ border-color:var(--nv-ink); }
  .nv-nav-close svg{ width:16px; height:16px; stroke:var(--nv-ink); stroke-width:2; fill:none; }
  .nv-navscrim{
    position:fixed; inset:0; background:rgba(10,10,10,.55);
    opacity:0; visibility:hidden; transition:opacity .3s var(--nv-ease), visibility .3s;
    z-index:990;
    backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
  }
  .nv-navscrim.is-on{ opacity:1; visibility:visible; }
  body.nv-nav-open{ overflow:hidden; }
}

@media (max-width:640px){
  .nv-grid--2,.nv-grid--3,.nv-grid--4{ grid-template-columns:1fr; }
  .nv-stats{ grid-template-columns:1fr; }
  .nv-footer__grid{ grid-template-columns:1fr; }
  .nv-form__row{ grid-template-columns:1fr; }
  .nv-topbar .nv-wrap{ justify-content:center; min-height:0; padding-block:9px; }
  .nv-tb-social{ display:none; }
  .nv-tb-meta{ gap:var(--nv-s-4); justify-content:center; font-size:11px; }
  .nv-hero{ min-height:auto; }
  .nv-hero__inner{ padding-block:clamp(104px,20vw,140px); }
  .nv-hero h1{ max-width:none; }
  .nv-hero__eyebrow{ gap:10px; letter-spacing:.16em; font-size:11px; }
  .nv-hero__eyebrow::before,
  .nv-hero__eyebrow::after{ width:18px; }
  /* Two per row rather than four squeezed across a phone. */
  .nv-hero__aside dl{ display:grid; grid-template-columns:1fr 1fr; gap:0; }
  .nv-hero__aside div{
    padding:14px 10px; border-left:0;
    border-top:1px solid var(--nv-line-dark);
  }
  .nv-hero__aside div:nth-child(-n+2){ border-top:0; }
  .nv-hero__aside div:nth-child(even){ border-left:1px solid var(--nv-line-dark); }
  .nv-totop{ right:14px; bottom:14px; }
  .nv-btn{ width:100%; }
  .nv-hero__cta .nv-btn,.nv-row .nv-btn{ width:auto; flex:1 1 auto; }
}

/* ═══ NAV BUTTON DROPDOWN ═════════════════════════════════════════════
   The nav bar's button (Nav Bar › Donate Button) can carry sub-links.
   Its dropdown opens toward the left so it never runs off the screen,
   and the arrow is white to sit on the coloured button. */
.nv-nav__item--cta .nv-nav__link--cta{ gap: 8px; }
.nv-nav__item--cta .nv-caret{ border-top-color: #fff; opacity: .9; }
.nv-dropdown--end{ left: auto; right: 0; }
@media (max-width: 900px){
  .nv-nav__item--cta{ border-bottom: 0; }
  .nv-nav__item--cta .nv-dropdown{ margin-top: var(--nv-s-3); }
}

/* ═══ NAV BAR — ONE LINE ══════════════════════════════════════════════
   Desktop and tablet (wider than 900px): menu labels never wrap. A small
   script in nv_nav_footer_lib.php widens the bar and, if it still does
   not fit, lowers --nv-nav-scale (1 → 0.62) so everything shrinks
   together. Spacing shrinks faster than the text (it is multiplied by
   the scale twice), so the words stay as readable as possible. At 1
   everything is its normal size. */
@media (min-width: 901px){
  .nv-header{ --nv-nav-scale: 1; --nv-nav-sp: calc(var(--nv-nav-scale) * var(--nv-nav-scale)); }
  .nv-header__inner{ flex-wrap: nowrap; gap: calc(var(--nv-s-5) * var(--nv-nav-sp));
                     padding-inline: calc(clamp(20px, 5vw, 48px) * var(--nv-nav-sp)); }
  .nv-nav{ flex-wrap: nowrap; flex-shrink: 0; gap: calc(var(--nv-s-1) * var(--nv-nav-sp)); }
  .nv-nav__item{ flex-shrink: 0; }
  .nv-nav__link{
    white-space: nowrap;
    font-size: calc(var(--nv-t-sm) * var(--nv-nav-scale));
    padding: calc(10px * var(--nv-nav-scale)) calc(14px * var(--nv-nav-sp));
  }
  .nv-nav__link[aria-current="page"]::after{ left: calc(14px * var(--nv-nav-sp)); right: calc(14px * var(--nv-nav-sp)); }
  .nv-nav__link--cta{
    padding: calc(12px * var(--nv-nav-scale)) calc(22px * var(--nv-nav-sp));
    margin-left: calc(var(--nv-s-3) * var(--nv-nav-sp));
  }
  .nv-brand{ flex-shrink: 0; }   /* the logo never gets squeezed out — it scales with the rest */
  /* Dropdowns of the last few items open toward the left so they never
     hang off the right edge of the window. */
  .nv-nav > .nv-nav__item:nth-last-child(-n+3) > .nv-dropdown{ left: auto; right: 0; }
  .nv-brand img{ height: calc(42px * var(--nv-nav-scale)); }
}

/* ═══ TOP BAR — SERVICE COUNTDOWN ═════════════════════════════════════
   Printed by gct_services_lib.php in place of the phone / email line.
   White on the top bar's colour; the LIVE NOW button is a white pill
   with a pulsing dot. */
.nv-tb-meta--svc{ min-width: 0; flex: 1 1 auto; }
.gct-svc{ display: flex; align-items: center; min-width: 0; color: #fff; font-size: 13.5px; font-weight: 500; }
.gct-svc[hidden], .gct-svc [hidden]{ display: none !important; }
.gct-svc__next, .gct-svc__now{ display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; min-width: 0; }
.gct-svc__tag{ font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; opacity: .9; }
.gct-svc__name{ font-weight: 700; color: #fff; }
.gct-svc__when{ font-weight: 600; opacity: .9; }
.gct-svc__count{ display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.gct-svc__u{ display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 6px; border-radius: 4px; background: rgba(255,255,255,.12); }
.gct-svc__u b{ font-weight: 800; color: #fff; font-size: 13.5px; }
.gct-svc__u i{ font-style: normal; font-weight: 600; font-size: 11px; opacity: .85; margin-left: 1px; }
.gct-svc__dot{ width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: gctSvcPulse 1.6s ease-out infinite; }
.gct-svc__join{ color: #fff; }
.gct-svc__live{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px; background: #fff; color: var(--nv-ink, #17101F) !important;
  font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  animation: gctSvcGlow 2s ease-in-out infinite;
}
.gct-svc__live:hover{ transform: translateY(-1px); }
.gct-svc__live-dot{ width: 7px; height: 7px; border-radius: 50%; background: #E0262B; animation: gctSvcBlink 1s steps(2, start) infinite; }
@keyframes gctSvcPulse{ 0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100%{ box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@keyframes gctSvcGlow{ 0%,100%{ box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 50%{ box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
@keyframes gctSvcBlink{ to{ visibility: hidden; } }
@media (max-width: 900px){
  .nv-tb-meta--svc{ justify-content: center; }
  .gct-svc{ justify-content: center; text-align: center; }
  .gct-svc__next, .gct-svc__now{ justify-content: center; gap: 6px 10px; }
  .gct-svc__when{ display: none; }
}
@media (max-width: 480px){
  .gct-svc__tag{ display: none; }
  .gct-svc__u{ padding: 2px 5px; }
}
@media (prefers-reduced-motion: reduce){
  .gct-svc__dot, .gct-svc__live, .gct-svc__live-dot{ animation: none; }
}
