/* ==========================================================================
   TrustCore Risk Solutions - demo rebuild
   Near-black ground, carried over from the live site. The accent is the
   TrustCore teal sampled straight out of the logo (#20A0A0 -> #40C0D0 ->
   #60E0F0). The old site's #C9B086 gold was dropped: it fought both the teal
   logo and the teal key visual.
   ========================================================================== */

:root{
  --bg:          #06090C;
  --bg-soft:     #0B1016;
  --surface:     #10171F;
  --surface-2:   #16202B;

  --line:        rgba(255,255,255,.08);
  --line-accent:   rgba(53,198,206,.30);

  --accent:        #35C6CE;   /* sampled from the logo's teal ramp */
  --accent-2:      #6FE4EF;
  --accent-dim:    rgba(53,198,206,.12);

  --text:        #EEF1F4;
  --muted:       #9AA6B2;
  --muted-2:     #6F7C89;

  --maxw:        1180px;
  --r:           16px;
  --r-sm:        10px;
  --r-btn:       3px;   /* buttons: crisp, not full-pill */

  --shadow:      0 24px 60px -24px rgba(0,0,0,.85);
  --ease:        cubic-bezier(.22,.61,.36,1);

  --ff-body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display:  "Cormorant Garamond", "Times New Roman", serif;
}

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

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff-body);
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

::selection{ background:var(--accent); color:#0A0D11; }

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }
.section{ padding:clamp(64px,8vw,116px) 0; position:relative; }
.section--tight{ padding:clamp(48px,5vw,72px) 0; }
.section--soft{ background:var(--bg-soft); }
.center{ text-align:center; }
.measure{ max-width:74ch; }
.measure-narrow{ max-width:62ch; }
.center .measure, .center .measure-narrow{ margin-inline:auto; }

.grid{ display:grid; gap:22px; }
@media (min-width:720px){
  .g-2{ grid-template-columns:repeat(2,1fr); }
  .g-3{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1000px){
  .g-3{ grid-template-columns:repeat(3,1fr); }
  .g-4{ grid-template-columns:repeat(4,1fr); }
}
@media (min-width:720px) and (max-width:999px){
  .g-4{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- type ---------- */
h1,h2,h3,h4{ margin:0 0 .5em; line-height:1.15; font-weight:600; letter-spacing:-.015em; }

.display{
  font-family:var(--ff-display);
  font-weight:500;
  letter-spacing:.02em;
  line-height:1.08;
}

h1{ font-size:clamp(2.1rem,1.3rem + 3.2vw,3.5rem); }
h2{ font-size:clamp(1.75rem,1.2rem + 2.1vw,2.6rem); }
h3{ font-size:clamp(1.12rem,1rem + .5vw,1.35rem); }

p{ margin:0 0 1.15em; color:var(--muted); }
p.lead{ font-size:clamp(1.03rem,.98rem + .35vw,1.2rem); color:#C3CCD5; }
strong{ color:var(--text); font-weight:600; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.72rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:var(--accent); margin:0 0 18px;
}
.eyebrow::before{
  content:""; width:28px; height:1px; background:linear-gradient(90deg,transparent,var(--accent));
}
.center .eyebrow::after{
  content:""; width:28px; height:1px; background:linear-gradient(90deg,var(--accent),transparent);
}

.rule{ height:1px; border:0; background:linear-gradient(90deg,transparent,var(--line-accent),transparent); margin:0; }

/* ---------- buttons ---------- */
.btn{
  --btn-bg:var(--accent); --btn-fg:#0A0D11; --btn-bd:var(--accent);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 28px; border-radius:var(--r-btn); border:1px solid var(--btn-bd);
  background:var(--btn-bg); color:var(--btn-fg);
  font-size:.92rem; font-weight:600; letter-spacing:.02em;
  cursor:pointer; white-space:nowrap;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -12px rgba(53,198,206,.55); }
.btn:focus-visible{ outline:2px solid var(--accent-2); outline-offset:3px; }

.btn--ghost{ --btn-bg:transparent; --btn-fg:var(--accent); --btn-bd:var(--line-accent); }
.btn--ghost:hover{ --btn-bg:var(--accent-dim); --btn-bd:var(--accent); box-shadow:none; }

.btn--wa{ --btn-bg:transparent; --btn-fg:#5FD08A; --btn-bd:rgba(95,208,138,.4); }
.btn--wa:hover{ --btn-bg:rgba(95,208,138,.12); --btn-bd:#5FD08A; box-shadow:none; }

/* Integrity Database shortcut. Azure sits ~34deg off the teal accent, so it
   reads as a genuinely different colour while staying in the cool family.
   Deliberately NOT indigo (a settled position elsewhere in TrustCore) and not
   amber (that is the gold this palette just dropped). A tinted fill rather
   than a solid one so it does not compete with the primary CTA.
   #86B6FF on the tinted ground measures 5.9:1. */
.btn--data{
  --btn-bg:rgba(77,141,246,.14);
  --btn-fg:#86B6FF;
  --btn-bd:rgba(77,141,246,.45);
}
.btn--data:hover{
  --btn-bg:rgba(77,141,246,.26); --btn-bd:#6FA8FF;
  box-shadow:0 14px 30px -12px rgba(77,141,246,.45);
}
.btn--data:focus-visible{ outline-color:#86B6FF; }

.btn--sm{ padding:10px 20px; font-size:.84rem; }

.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }
.center .btn-row{ justify-content:center; }

.textlink{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--accent); font-size:.84rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
}
.textlink svg{ transition:transform .25s var(--ease); }
.textlink:hover svg{ transform:translateX(5px); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(6,9,12,.72);
  backdrop-filter:saturate(170%) blur(16px);
  -webkit-backdrop-filter:saturate(170%) blur(16px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck{ border-bottom-color:var(--line); background:rgba(6,9,12,.92); }

/* contact details, stacked, to the LEFT of the logo in the header. Phone leads
   in --text; email is secondary in --muted. Hidden on small screens where the
   header row is tight — the footer and mobile menu carry contact there. */
.nav-contact{ display:flex; flex-direction:column; gap:3px; margin-right:2px; }
.nav-contact a{ display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:500; color:var(--muted); white-space:nowrap; letter-spacing:.01em; transition:color .2s var(--ease); }
.nav-contact a:first-child{ color:var(--text); font-weight:600; }
.nav-contact a:hover{ color:var(--accent-2); }
.nav-contact svg{ width:15px; height:15px; color:var(--accent); flex:none; }
@media (max-width:640px){ .nav-contact{ display:none; } }

.nav{ display:flex; align-items:center; gap:20px; height:76px; }

.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; flex:0 0 auto; }
.brand img{
  height:50px; width:auto;
}

.nav-links{
  display:none; align-items:center; gap:4px;
  list-style:none; margin:0; padding:0;
}
@media (min-width:1080px){ .nav-links{ display:flex; } }

.nav-links > li{ position:relative; }
.nav-links > li > a{
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 13px; border-radius:var(--r-btn);
  font-size:.86rem; font-weight:500; color:#C6CFD8;
  transition:color .2s var(--ease), background .2s var(--ease);
}
.nav-links > li > a:hover{ color:var(--text); background:rgba(255,255,255,.05); }
.nav-links > li > a.is-active{ color:var(--accent); }

.has-sub > a svg{ opacity:.6; transition:transform .25s var(--ease); }
.has-sub:hover > a svg{ transform:rotate(180deg); }

.submenu{
  position:absolute; top:calc(100% + 10px); left:0;
  min-width:290px; padding:8px; margin:0; list-style:none;
  background:rgba(14,20,27,.94); backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.submenu--right{ left:auto; right:0; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu{ opacity:1; visibility:visible; transform:translateY(0); }
.submenu a{
  display:block; padding:10px 14px; border-radius:var(--r-sm);
  font-size:.86rem; color:#C6CFD8; transition:background .18s, color .18s;
}
.submenu a:hover{ background:var(--accent-dim); color:var(--accent-2); }

.nav-cta{ display:none; }
@media (min-width:1080px){ .nav-cta{ display:inline-flex; } }

.burger{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; margin-left:auto;
  background:transparent; border:1px solid var(--line); border-radius:12px;
  color:var(--text); cursor:pointer;
}
@media (min-width:1080px){ .burger{ display:none; } }
.burger span{ display:block; width:18px; height:1.5px; background:currentColor; position:relative; transition:.25s var(--ease); }
.burger span::before,.burger span::after{
  content:""; position:absolute; left:0; width:18px; height:1.5px; background:currentColor; transition:.25s var(--ease);
}
.burger span::before{ top:-6px; } .burger span::after{ top:6px; }
.burger[aria-expanded="true"] span{ background:transparent; }
.burger[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.burger[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

/* mobile drawer */
.mobile-nav{
  position:fixed; inset:76px 0 0; z-index:190;
  background:var(--bg); border-top:1px solid var(--line);
  padding:24px; overflow-y:auto;
  transform:translateY(-12px); opacity:0; visibility:hidden;
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mobile-nav.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
@media (min-width:1080px){ .mobile-nav{ display:none; } }
.mobile-nav ul{ list-style:none; margin:0 0 8px; padding:0; }
.mobile-nav a{
  display:block; padding:13px 2px; font-size:1rem; color:#D3DAE1;
  border-bottom:1px solid var(--line);
}
.mobile-nav a.is-active{ color:var(--accent); }
.mobile-nav .sub a{ padding-left:18px; font-size:.9rem; color:var(--muted); }
.mobile-nav .group-label{
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--accent); padding:22px 0 6px;
}
.mobile-nav .btn{ width:100%; margin-top:20px; }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; padding:clamp(52px,6vw,88px) 0 clamp(64px,7vw,104px); }
.hero::before{
  content:""; position:absolute; inset:-30% -10% auto -10%; height:120%;
  background:
    radial-gradient(44% 52% at 72% 32%, rgba(53,198,206,.15), transparent 70%),
    radial-gradient(36% 44% at 16% 10%, rgba(53,198,206,.10), transparent 72%);
  pointer-events:none;
}
.hero .wrap{ position:relative; z-index:1; }

.hero-grid{ display:grid; gap:clamp(36px,5vw,64px); align-items:center; }
@media (min-width:1000px){ .hero-grid{ grid-template-columns:1.02fr .98fr; } }

.hero-tag{
  font-family:var(--ff-display); font-size:clamp(1.4rem,1.1rem + 1.1vw,1.95rem);
  font-weight:500; font-variant:small-caps; letter-spacing:.14em;
  color:var(--accent); margin:0 0 14px;
}
.hero h1{ margin-bottom:.55em; }

.hero-figure{ position:relative; }
.hero-figure img{
  width:100%; height:auto; border-radius:var(--r);
  border:1px solid var(--line-accent);
  box-shadow:var(--shadow);
}

/* ==========================================================================
   Split hero: the key visual is pinned to the left of the VIEWPORT and the
   page scrolls up over it.

   Why a locked panel and not text-over-image: the artwork's mean relative
   luminance runs .10-.30 through its whole middle band and peaks near 1.0.
   Body text (--muted) needs a background at or below .045 to clear WCAG AA,
   so copy laid over this image would need a ~65-77% black scrim - which
   throws the image away. Keeping the two side by side means the image stays
   at full strength and the type sits on solid ground.
   ========================================================================== */

.hero-pin{ position:relative; }

/* The split only runs at 1200px and up. Below that every device - including
   iPad Air and iPad Pro in landscape - gets the ordinary stacked hero, so no
   iOS browser ever renders a full-height fixed layer. */
@media (min-width:1200px){
  .hero--split{
    display:flex; align-items:center;
    min-height:calc(100vh - 76px);
    padding-block:clamp(56px,7vh,104px);
  }
  .hero--split::before{ display:none; }          /* the artwork is the glow now */

  /* FULL-VIEWPORT locked backdrop. Nothing below is opaque, so the artwork
     stays visible behind the whole page as it scrolls. */
  .hero-pin{
    position:fixed; inset:0;
    z-index:0; overflow:hidden; pointer-events:none;
    background:var(--bg);
  }
  .hero-pin img{
    width:100%; height:100%; object-fit:cover; object-position:52% 50%;
    border:0; border-radius:0; box-shadow:none;
  }

  /* The scrim stack that buys back contrast. Measured against the artwork's
     .22-.34 mean / ~1.0 peak relative luminance.
     The copy spans the full width, so the scrim cannot be weighted to one
     side - it is weighted VERTICALLY instead, against what sits at each
     height. WCAG needs only 3:1 for large text and 4.5:1 for body, and the
     hero stacks largest-to-smallest down the page, so the gradient tracks it:
       ~.50 at the eyebrow and headline  (large type, 3:1)
       ~.70 at the lead paragraph        (body, 4.5:1)
       ~.86 at the chips and buttons     (smallest type)
     Layer order is top-first.                                                */
  .hero-pin::after{
    content:""; position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(6,9,12,.86) 0%, rgba(6,9,12,0) 13%),
      linear-gradient(180deg,
        rgba(6,9,12,.50)  0%,  rgba(6,9,12,.54) 30%, rgba(6,9,12,.66) 48%,
        rgba(6,9,12,.78) 66%,  rgba(6,9,12,.86) 84%, rgba(6,9,12,.88) 100%),
      rgba(6,9,12,.34);
  }

  /* The copy is full width now. It sat in a right-hand column only because the
     artwork used to be a left-hand panel. */
  .hero--split .hero-grid{ grid-template-columns:1fr; }
  .hero--split .hero-grid > div{ position:relative; z-index:1; }

  /* the headline runs the full measure now - two lines instead of five */
  .hero--split h1{ font-size:clamp(2.4rem, 1.1rem + 3.5vw, 4rem); max-width:none; }
  /* the lead stays at a readable measure; only the headline goes full width */
  .hero--split .lead{ max-width:64ch; }
}

/* Short laptops (1280x720, 1366x768): keep the credentials and both CTAs
   above the fold instead of letting the headline eat the viewport. */
@media (min-width:1200px) and (max-height:820px){
  .hero--split{ padding-block:clamp(32px,4vh,56px); }
  .hero--split .hero-tag{ font-size:1.3rem; margin-bottom:8px; }
  .hero--split h1{ font-size:clamp(2.1rem,1rem + 2.1vw,3rem); margin-bottom:.45em; }
  .hero--split .lead{ font-size:1rem; line-height:1.6; margin-bottom:.9em; }
  .hero--split .creds{ margin:18px 0 22px; gap:8px 10px; }
  .hero--split .creds li{ padding:5px 13px; font-size:.74rem; }
  .hero--split .btn{ padding:12px 24px; }
}

/* Everything after the hero rides OVER the artwork as frosted glass rather
   than covering it. One veil on the wrapper rather than per-section
   backgrounds, so there is no seam at .rule and nothing fights a section's
   own background. .62 is the number that keeps body text at 4.8:1 even over
   the artwork's specular peaks - see the scrim stack above. */
.below-hero{
  position:relative; z-index:2;
  background:rgba(6,9,12,.62);
  backdrop-filter:blur(10px) saturate(112%);
  -webkit-backdrop-filter:blur(10px) saturate(112%);
}
/* The hero is unveiled and .below-hero is veiled, so their meeting point is a
   tonal step. Fade the veil in over the last 90px of the hero instead. */
.below-hero::before{
  content:""; position:absolute; left:0; right:0; top:-90px; height:90px;
  background:linear-gradient(180deg, rgba(6,9,12,0), rgba(6,9,12,.62));
  pointer-events:none;
}
.site-footer{ position:relative; z-index:2; background:rgba(3,5,8,.78); }

/* --bg-soft is LIGHTER than --bg, so stacking another dark veil on a soft
   section would invert the page's rhythm. Over the backdrop, lift it instead. */
.below-hero .section--soft{ background:rgba(255,255,255,.03); }

/* Under 1200px the panel is not pinned at all - it drops back into the flow
   as an ordinary hero image beside (or under) the copy. */
@media (max-width:1199px){
  .hero-pin{
    border-radius:var(--r); overflow:hidden;
    border:1px solid var(--line-accent); box-shadow:var(--shadow);
  }
  .hero-pin img{ width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:46% 50%; }
  .hero-pin::after{
    content:""; position:absolute; inset:0; border-radius:var(--r);
    background:linear-gradient(180deg,transparent 58%,rgba(6,9,12,.45));
    pointer-events:none;
  }
}
.hero-figure::after{
  content:""; position:absolute; inset:0; border-radius:var(--r);
  background:linear-gradient(180deg,transparent 55%,rgba(6,9,12,.45));
  pointer-events:none;
}

/* ---------- interior page hero ----------
   The Integrity Database page carries a marketing argument, not a page of
   reference text, so page-head's modest title is too quiet for it. This is the
   homepage hero's weight and glow without the pinned backdrop, which is
   homepage-only. */
.hero--page{ padding:clamp(56px,7vw,104px) 0 clamp(40px,5vw,64px); }
.hero--page .hero-tag{ margin-bottom:10px; }

.hero-xl{
  font-size:clamp(2.3rem, 1.05rem + 3.6vw, 4.1rem);
  line-height:1.04;
  letter-spacing:-.02em;
  max-width:16ch;
  margin-bottom:.5em;
}
.hero--page .lead{ margin-bottom:1em; }

/* credential strip */
.creds{
  display:flex; flex-wrap:wrap; gap:10px 12px;
  list-style:none; margin:26px 0 30px; padding:0;
}
.creds li{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 15px; border:1px solid var(--line); border-radius:999px;
  background:rgba(255,255,255,.025);
  font-size:.775rem; font-weight:500; color:#B7C2CD; letter-spacing:.01em;
}
.creds li::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); flex:none; }

/* ---------- cards ---------- */
/* Translucent so the locked backdrop reads through on the homepage. The
   composite over solid --bg is rgb(15,22,29) vs the old --surface rgb(16,23,31),
   so every other page looks unchanged. */
.card{
  position:relative; padding:30px 28px;
  background:rgba(22,32,43,.55); border:1px solid var(--line); border-radius:var(--r);
  transition:transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card:hover{ transform:translateY(-4px); border-color:var(--line-accent); background:rgba(30,43,57,.68); }
.card h3{ margin-bottom:.4em; }
.card p:last-child{ margin-bottom:0; }

.card-ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; margin-bottom:20px;
  border-radius:12px; border:1px solid var(--line-accent);
  background:var(--accent-dim); color:var(--accent);
}
.card-num{
  font-family:var(--ff-display); font-size:2.1rem; line-height:1;
  color:var(--accent); opacity:.55; margin-bottom:12px; display:block;
}

/* service card with image */
.svc{ display:flex; flex-direction:column; overflow:hidden; padding:0; }
.svc-img{ aspect-ratio:16/10; overflow:hidden; background:var(--bg-soft); }
.svc-img img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.svc:hover .svc-img img{ transform:scale(1.05); }
.svc-body{ padding:26px 26px 28px; display:flex; flex-direction:column; flex:1; }
.svc-body p{ flex:1; font-size:.95rem; }

/* ---------- prose blocks ---------- */
.prose{ max-width:78ch; }
.prose h2{ margin-top:1.6em; }
.prose h3{ margin-top:1.9em; color:var(--accent-2); font-family:var(--ff-display); font-size:1.5rem; font-weight:600; letter-spacing:0; }
/* Fourth level, which the privacy policy needs: it runs numbered sections with
   lettered and decimal sub-parts, and without this they rendered at the
   browser default and read as body text. Sans rather than the display serif,
   so the hierarchy under an h3 is obvious at a glance. */
.prose h4{
  margin-top:1.6em; margin-bottom:.5em;
  font-size:.95rem; font-weight:600; letter-spacing:.01em;
  color:var(--text);
}
.prose h3 + h4{ margin-top:1em; }
.prose > :first-child{ margin-top:0; }
.prose ul{ margin:0 0 1.3em; padding:0; list-style:none; }
.prose ul li{ position:relative; padding-left:26px; margin-bottom:.6em; color:var(--muted); }
.prose ul li::before{
  content:""; position:absolute; left:4px; top:.72em;
  width:6px; height:6px; border-radius:50%; background:var(--accent);
}
.prose blockquote{
  margin:1.8em 0; padding:22px 28px;
  border-left:2px solid var(--accent); background:rgba(22,32,43,.55);
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-family:var(--ff-display); font-size:1.32rem; line-height:1.5; color:#D8DEE5;
}
.prose blockquote p{ color:inherit; margin:0; }

/* ---------- misc blocks ---------- */
.panel{
  padding:clamp(30px,4vw,48px);
  background:rgba(22,32,43,.55); border:1px solid var(--line); border-radius:var(--r);
}
.panel--accent{ border-color:var(--line-accent); background:linear-gradient(160deg,rgba(53,198,206,.08),rgba(16,23,31,.6)); }

.kv{ display:grid; gap:4px; padding:22px 0; border-bottom:1px solid var(--line); }
.kv:last-child{ border-bottom:0; }
.kv dt{ font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); }
.kv dd{ margin:0; font-size:1.02rem; color:var(--text); }
.kv dd a:hover{ color:var(--accent-2); }

.linklist{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
@media (min-width:680px){ .linklist{ grid-template-columns:repeat(2,1fr); } }
.linklist a{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 22px; border:1px solid var(--line); border-radius:var(--r-sm);
  background:rgba(22,32,43,.55); font-size:.92rem; font-weight:500;
  transition:border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.linklist a:hover{ border-color:var(--line-accent); background:rgba(30,43,57,.68); transform:translateX(4px); color:var(--accent-2); }
.linklist svg{ color:var(--accent); flex:none; }

.post{
  padding:clamp(28px,3.5vw,42px);
  background:rgba(22,32,43,.55); border:1px solid var(--line); border-radius:var(--r);
  margin-bottom:26px;
}
.post-meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:14px;
  font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent);
  margin-bottom:14px;
}
.post-meta .dot{ width:4px; height:4px; border-radius:50%; background:var(--muted-2); }

/* CTA band */
.cta-band{
  position:relative; overflow:hidden;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:
    radial-gradient(50% 120% at 50% 0%, rgba(53,198,206,.12), transparent 70%),
    rgba(13,19,26,.55);
}
.cta-band h2{ font-family:var(--ff-display); font-weight:600; letter-spacing:0; }

/* page header */
.page-head{
  position:relative; overflow:hidden;
  padding:clamp(54px,7vw,92px) 0 clamp(36px,4vw,54px);
  border-bottom:1px solid var(--line);
}
.page-head::before{
  content:""; position:absolute; inset:auto -10% -70% 20%; height:140%;
  background:radial-gradient(40% 50% at 50% 50%, rgba(53,198,206,.12), transparent 70%);
  pointer-events:none;
}
.page-head .wrap{ position:relative; }
.crumbs{ font-size:.78rem; color:var(--muted-2); margin-bottom:16px; }
.crumbs a:hover{ color:var(--accent); }
.crumbs span{ color:var(--muted-2); margin:0 8px; }

/* gallery */
.gal{ display:grid; gap:20px; }
@media (min-width:700px){ .gal{ grid-template-columns:repeat(2,1fr); } }
.gal figure{
  margin:0; padding:34px; border:1px solid var(--line); border-radius:var(--r);
  background:#fff; display:flex; align-items:center; justify-content:center; min-height:230px;
}
.gal figure.dark{ background:rgba(22,32,43,.55); padding:0; overflow:hidden; }
.gal figure.dark img{ width:100%; height:100%; min-height:230px; object-fit:cover; }

/* form */
.field{ display:grid; gap:7px; margin-bottom:18px; }
.field label{ font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.field input,.field textarea,.field select{
  width:100%; padding:13px 16px; font:inherit; font-size:.95rem;
  color:var(--text); background:rgba(11,16,22,.6);
  border:1px solid var(--line); border-radius:var(--r-sm);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:none; border-color:var(--accent); background:rgba(22,32,43,.7);
}
.field textarea{ min-height:140px; resize:vertical; }
.form-note{ font-size:.8rem; color:var(--muted-2); margin-top:14px; }
.form-ok{
  display:none; padding:16px 20px; margin-bottom:18px;
  border:1px solid rgba(95,208,138,.4); border-radius:var(--r-sm);
  background:rgba(95,208,138,.1); color:#9FE3BB; font-size:.9rem;
}
.form-ok.show{ display:block; }

/* The failure path, which the form previously had no way to express. */
.form-error{
  display:none; padding:16px 20px; margin-bottom:18px;
  border:1px solid rgba(232,122,110,.45); border-radius:var(--r-sm);
  background:rgba(232,122,110,.12); color:#F3B6AF; font-size:.9rem;
}
.form-error.show{ display:block; }
.form-error a{ color:inherit; text-decoration:underline; }

/* The honeypot. Off-screen rather than display:none — some bots skip hidden
   inputs, and the point is that they DO fill this one. */
.hp{
  position:absolute; left:-9999px; width:1px; height:1px;
  overflow:hidden; opacity:0; pointer-events:none;
}

/* under construction */
.uc-badge{
  display:inline-flex; align-items:center; gap:10px; padding:9px 18px;
  border:1px solid var(--line-accent); border-radius:999px; background:var(--accent-dim);
  color:var(--accent); font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  margin-bottom:24px;
}

/* ---------- footer ---------- */
.site-footer{ background:#04070A; border-top:1px solid var(--line); padding:clamp(52px,6vw,78px) 0 32px; }
.foot-grid{ display:grid; gap:40px; }
@media (min-width:760px){ .foot-grid{ grid-template-columns:1.5fr 1fr 1fr; } }
@media (min-width:1000px){ .foot-grid{ grid-template-columns:1.7fr 1fr 1fr 1.1fr; } }
.site-footer img.flogo{
  height:54px; width:auto; margin-bottom:18px;
}
.site-footer h4{
  font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); margin-bottom:18px;
}
.site-footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.site-footer li a{ font-size:.88rem; color:var(--muted); transition:color .2s; }
.site-footer li a:hover{ color:var(--accent-2); }
.site-footer p{ font-size:.88rem; }
.foot-bottom{
  display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between; align-items:center;
  margin-top:48px; padding-top:24px; border-top:1px solid var(--line);
  font-size:.78rem; color:var(--muted-2);
}
.foot-bottom a:hover{ color:var(--accent); }

/* floating whatsapp */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:150;
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 20px; border-radius:var(--r-btn);
  background:#1FA855; color:#fff; font-size:.88rem; font-weight:600;
  box-shadow:0 14px 34px -12px rgba(31,168,85,.7);
  transition:transform .25s var(--ease);
}
.wa-float:hover{ transform:translateY(-3px); }
.wa-float span{ display:none; }
@media (min-width:600px){ .wa-float span{ display:inline; } }

/* ---------- reveal ---------- */
/* The reveal hides content until JS adds .in, so a stalled or missing script
   would leave a blank page. Three independent nets un-hide it, all in the
   page itself rather than in this file:
     1. site.js reveals on intersect, then unconditionally at 1500ms
     2. an inline <head> timer at 2500ms, which survives site.js failing to load
     3. a <noscript> override for JS switched off entirely
   A CSS @keyframes deadman was tried first and rejected: animations pause in a
   hidden document, so it does not fire in exactly the case that needs it. */
.js .reveal{
  opacity:0; transform:translateY(22px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
  .btn:hover,.card:hover,.linklist a:hover,.wa-float:hover{ transform:none; }
}

/* ------------------------------------------- partners wall & gallery --- */
/* Added 2026-10-16 for the Our Partners and Gallery pages (Eben's 15 Oct
   list, items 6 and 7).

   THE LOGO TILES CARRY A LIGHT GROUND ON PURPOSE. A partner wall receives
   whatever logo a member sends, and most company logos are dark artwork on a
   transparent or white background — dropped straight onto this site's ink-950
   they disappear. A near-white tile is the only treatment that renders every
   logo the same way without asking each member for a reversed version. */
.logo-wall{
  display:grid; gap:18px;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
}
.logo-tile{
  display:flex; align-items:center; justify-content:center;
  min-height:104px; padding:18px;
  background:#f4f7f9; border:1px solid var(--line-accent); border-radius:12px;
  transition:transform .18s ease, border-color .18s ease;
}
a.logo-tile:hover{ transform:translateY(-2px); border-color:var(--accent); }
.logo-tile img{ max-width:100%; max-height:62px; width:auto; height:auto; object-fit:contain; }

.gallery{
  display:grid; gap:18px;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
}
.gallery-item{ margin:0; }
.gallery-item img{
  width:100%; height:auto; display:block;
  border-radius:12px; border:1px solid var(--line-accent);
}
.gallery-item figcaption{
  margin-top:10px; font-size:.86rem; color:var(--muted);
}
