/* ==========================================================================
   The Spring-Loaded Glove Box — Private Medline Presentation
   Shared stylesheet for all pages.

   Fonts (load in <head> or in Elementor > Site Settings > Custom Fonts):
   Cormorant Garamond, Cormorant SC, Libre Caslon Condensed, Manrope.

   Contents
   1. Tokens & base
   2. Page shell & background
   3. Header
   4. Menu
   5. Shared pieces (titles, panels, buttons, notes)
   6. Footer
   7. Sign-In
   8. Overview + One Pager tabs
   9. Gallery + lightbox
   10. Commercialization & Diligence (document list + viewer)
   11. Video block
   12. Founder
   13. Responsive (tablet ≤1100px, ≤1000px, mobile ≤760px)
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
  --blue: #2f6bff;
  --blue-light: #86a8ff;
  --blue-text: #93b2ff;
  --panel: #0b1a3f;
  --ink: #020713;
  --red: #e0262b;
  --cyan: #46c8ff;
  --white: #ffffff;
  --text-soft: #c4cee4;
  --text-muted: #b9c4dc;
  --text-dim: #aebbd8;
  --line: rgba(140, 175, 255, .25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sc: 'Cormorant SC', 'Cormorant Garamond', serif;
  --font-display: 'Libre Caslon Condensed', 'Cormorant Garamond', serif;
  --font-sans: 'Manrope', Arial, sans-serif;

  --glow: 0 0 0 1px rgba(47, 107, 255, .22), 0 0 30px rgba(47, 107, 255, .38), inset 0 0 50px rgba(47, 107, 255, .08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: #9fbcff; }
a:hover { color: var(--white); }
button { font: inherit; }

/* 2. Page shell & background -------------------------------------------- */
.site {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* Client background image 12F5F5C6 (footer text cropped out), fixed behind the page */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #01040d url(../images/bg.jpg) center top / cover no-repeat;
}
.site-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
  mix-blend-mode: screen;
}

/* Content container (matches an Elementor boxed container at 1200px) */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.main { flex: 1; }

/* 3. Header --------------------------------------------------------------- */
.hdr { padding: 28px 0 24px; border-bottom: 1px solid var(--cyan); box-shadow: 0 1px 0 rgba(70, 200, 255, .35), 0 0 18px rgba(70, 200, 255, .45); }
.hdr.bordered { border-bottom: 1px solid rgba(190, 210, 255, .3); }

.hdr-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "m t l";
  align-items: center;
  gap: 36px;
}

/* Medline logo (text stand-in — replace with the logo image) */
.medline {
  grid-area: m;
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  letter-spacing: .01em;
  color: var(--white);
}
.medline .reg { font-size: 11px; font-style: normal; vertical-align: top; margin-left: 2px; }
.medline img { display: block; height: 96px; width: auto; filter: drop-shadow(0 0 14px rgba(120, 170, 255, .55)); }

.hdr-title {
  grid-area: t;
  font-size: 36px;
  line-height: 1.02;
  font-weight: 500;
  text-align: center;
  letter-spacing: .01em;
  text-shadow: 0 0 22px rgba(90, 140, 255, .35);
}

.hdr-right {
  grid-area: l;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.vline {
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .8), transparent);
}

/* Metallic SLGB logo (text stand-in — replace with the logo image) */
.slgb-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d3dbea 34%, #7f8ca8 50%, #eef2fa 66%, #a3afc6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 12px rgba(120, 160, 255, .3));
}
.slgb-logo .t1 { font-size: 12px; letter-spacing: .34em; }
.slgb-logo .t2 { font-size: 28px; letter-spacing: .03em; margin: 4px 0 3px; }
.slgb-logo .t3 { font-size: 14px; letter-spacing: .46em; }

/* 4. Menu ----------------------------------------------------------------- */
.nav {
  border-top: 1px solid rgba(190, 210, 255, .3);
  border-bottom: 1px solid rgba(190, 210, 255, .3);
  background: rgba(3, 10, 30, .35);
}

.nav-in { display: flex; align-items: center; min-height: 56px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-current {
  display: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9d4ec;
}

/* Overview left · middle links centred · Sign Out right */
.nav-links {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-mid { display: flex; gap: 6px; justify-content: center; }

.nl {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  color: #c9d4ec;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nl:hover, .nl.active { color: var(--white); }

/* Red active underline */
.nl.active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(224, 38, 43, .75);
}
.nl.first { justify-self: start; padding-left: 0; }
.nl.first.active::after { left: 0; }
.signout { justify-self: end; padding-right: 0; }

/* 5. Shared pieces -------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-text);
}

/* Inner page title */
.ptitle-block { text-align: center; padding: 72px 0 44px; }
.ptitle {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 18px rgba(110, 155, 255, .55), 0 0 52px rgba(47, 107, 255, .42);
}
.psub {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 23px;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-soft);
}

/* Glowing blue panel */
.panel {
  background: rgba(11, 26, 63, .62);
  border: 1px solid rgba(130, 165, 255, .6);
  border-radius: 16px;
  box-shadow: var(--glow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.panel.narrow { max-width: 1040px; margin: 0 auto; }

/* Section spacing */
.sec { padding-top: 88px; }
.sec-hd { margin-bottom: 28px; }
.sec-hd.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-title { margin: 10px 0 0; font-size: 44px; font-weight: 600; line-height: 1.05; }
.sec-sub { margin: 10px 0 0; font-size: 20px; font-style: italic; color: var(--text-muted); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.cap { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .06em; color: var(--text-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 9px;
  border: 1px solid rgba(170, 195, 255, .5);
  background: rgba(11, 26, 63, .8);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: var(--white); border-color: #7da2ff; box-shadow: 0 0 18px rgba(47, 107, 255, .55); }
.btn.primary { background: var(--blue); border-color: var(--blue-light); box-shadow: 0 0 18px rgba(47, 107, 255, .45); }
.btn.primary:hover { background: #3d77ff; }

/* Dashed "pending" note — remove once final content is in */
.pending {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  padding: 14px 18px;
  border: 1px dashed rgba(170, 195, 255, .42);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}
.pending.narrow { max-width: 1040px; margin-left: auto; margin-right: auto; }
.pending svg { flex: none; }

/* 6. Footer --------------------------------------------------------------- */
.ftr { margin-top: auto; padding: 96px 0 44px; }
.ftr-in { display: flex; align-items: center; gap: 30px; }

.fline { flex: 1; min-width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 215, 255, .55)); }
.fline.r { background: linear-gradient(270deg, transparent, rgba(200, 215, 255, .55)); }

.ecg { flex: none; display: flex; }
.ecg img { display: block; width: 130px; height: auto; }

.ftr-text { flex: none; text-align: center; font-family: var(--font-sc); color: #d5ddef; line-height: 1.45; }
.ftr-co { font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--white); }
.ftr-name { font-size: 17px; letter-spacing: .05em; }
.ftr-contact { font-size: 16px; letter-spacing: .03em; color: var(--text-muted); }
.ftr-legacy { margin-top: 6px; font-size: 13.5px; font-weight: 600; letter-spacing: .2em; color: #a7b7da; }
.ftr-private { flex: none; font-style: italic; font-size: 17px; color: var(--text-muted); white-space: nowrap; }

/* 7. Sign-In -------------------------------------------------------------- */
.si { flex: 1; display: flex; align-items: center; justify-content: center; padding: 72px 20px; }
.si-box { width: 100%; max-width: 500px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.si-logos { display: flex; align-items: center; gap: 30px; }
.si-logos .vline { height: 58px; }

.si-card { width: 100%; padding: 46px 46px 38px; text-align: center; }
.si-title { margin: 14px 0 0; font-size: 42px; font-weight: 600; line-height: 1.05; }
.si-sub { margin: 12px 0 30px; font-size: 19px; font-style: italic; line-height: 1.45; color: var(--text-soft); }

.field { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.field label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9d4ec;
}

.pw {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(160, 190, 255, .55);
  background: rgba(2, 7, 19, .6);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  letter-spacing: .24em;
}
.pw:focus { outline: none; border-color: #7da2ff; box-shadow: 0 0 0 3px rgba(47, 107, 255, .3), 0 0 20px rgba(47, 107, 255, .5); }
.pw.bad { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(224, 38, 43, .25); }

.err { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 13px; color: #ffaaaa; }
.err[hidden] { display: none; }

.si-enter { width: 100%; justify-content: center; min-height: 54px; margin-top: 18px; font-size: 14px; }
.si-note { margin: 26px 0 0; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.6; color: #9fb0d4; }
.si-foot { padding: 0 0 36px; text-align: center; font-style: italic; font-size: 17px; color: #9fb0d4; }

/* 8. Overview ------------------------------------------------------------- */
.ov-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: center;
  padding-top: 72px;
}
.ov-title { margin: 18px 0 0; font-size: 66px; font-weight: 600; line-height: 1; letter-spacing: -.005em; }
.ov-title em { font-weight: 500; color: #a9c2ff; }
.ov-lede { margin: 24px 0 0; max-width: 560px; font-size: 23px; line-height: 1.45; color: #d0d9ec; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(150, 180, 255, .45);
  background: rgba(11, 26, 63, .55);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #d6def0;
}

.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-frame { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-box { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-box svg { width: 72%; height: auto; }
.hero-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-box .cap { position: absolute; left: 22px; bottom: 18px; }

/* One Pager tabs */
.tabs { display: flex; flex-direction: column; gap: 14px; }
.tab-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }

.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 84px;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--white);
  background: rgba(11, 26, 63, .7);
  border: 1px solid rgba(150, 180, 255, .35);
}
.tab.active {
  background: rgba(47, 107, 255, .28);
  border-color: var(--blue-light);
  box-shadow: 0 0 22px rgba(47, 107, 255, .55), inset 0 -3px 0 var(--blue);
}
.tab-meta { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-text); }
.tab-label { font-size: 22px; font-weight: 600; line-height: 1.15; }

.tab-panel {
  min-height: 380px;
  padding: 40px 44px;
  border-radius: 16px;
  border: 1px solid rgba(130, 165, 255, .6);
  background: linear-gradient(180deg, rgba(14, 32, 84, .92), rgba(7, 18, 53, .92));
  box-shadow: var(--glow);
}
.tab-panel[hidden] { display: none; }

.tp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.tp-title { margin: 0; font-size: 36px; font-weight: 600; line-height: 1.1; }

/* Tab 1 — The Box */
.box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.box-intro { display: flex; flex-direction: column; gap: 10px; }
.box-size { font-size: 76px; font-weight: 600; line-height: .95; letter-spacing: -.01em; text-shadow: 0 0 30px rgba(90, 140, 255, .5); }
.box-tag { font-size: 24px; font-style: italic; color: var(--text-soft); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(140, 175, 255, .2); font-size: 23px; font-weight: 500; line-height: 1.25; }
.tick {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 175, 255, .6);
  background: rgba(47, 107, 255, .18);
  color: #d4e2ff;
}

/* Tabs 2–4 — identity cards */
.cards { display: grid; gap: 14px; }
.cards.c3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards.c2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cards.cs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(140, 175, 255, .4);
  background: rgba(47, 107, 255, .1);
}
.card-num { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--blue-text); }
.card-name { font-size: 25px; font-weight: 600; line-height: 1.15; }
.card-note { font-family: var(--font-sans); font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.card.lg { gap: 8px; padding: 28px 30px; }
.card.lg .card-name { font-size: 32px; line-height: 1.1; }
.card.lg .card-note { font-family: var(--font-serif); font-size: 21px; font-style: italic; color: var(--text-soft); }

.card.std { justify-content: space-between; gap: 22px; min-height: 170px; padding: 26px 28px; border-color: rgba(140, 175, 255, .45); }
.card.std .card-num { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.card.std .card-name { font-size: 30px; line-height: 1.12; }

/* 9. Gallery + lightbox --------------------------------------------------- */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.g-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: rgba(11, 26, 63, .6);
  border: 1px solid rgba(140, 175, 255, .55);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  color: var(--white);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(47, 107, 255, .3);
}
.g-item:hover { color: var(--white); border-color: #7da2ff; box-shadow: 0 0 34px rgba(47, 107, 255, .6); }
.g-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Gallery categories: one section each; "coming soon" card for a category with no images yet */
.gal-cat + .gal-cat { margin-top: 72px; }
.g-ph {
  display: flex;
  flex-direction: column;
  background: rgba(11, 26, 63, .35);
  border: 1px dashed rgba(140, 175, 255, .55);
  border-radius: 14px;
  overflow: hidden;
  color: var(--text-muted);
}
.g-ph-box { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: rgba(140, 175, 255, .7); background: rgba(47, 107, 255, .08); }
.g-ph .g-cap b { font-style: italic; font-weight: 500; }

.g-cap { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.g-cap b { font-size: 20px; font-weight: 600; line-height: 1.2; }
.g-cap span { font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9fb0d4; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(1, 4, 13, .93);
}
.lb[hidden] { display: none; }
.lb-in { width: 100%; max-width: 1040px; display: flex; flex-direction: column; gap: 16px; }
.lb-img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(140, 175, 255, .55);
  box-shadow: 0 0 44px rgba(47, 107, 255, .5);
  background: var(--ink);
}
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lb-cap { font-size: 24px; font-weight: 600; }
.lb-ctl { display: flex; gap: 10px; }
/* Tap the picture: full size (small print readable on a phone), moved round inside its own area; tap again to fit */
.lb-img { cursor: zoom-in; }
.lb-hint { opacity: .75; }
.lb.is-zoomed .lb-in { max-width: none; height: 100%; }
.lb.is-zoomed .lb-view { flex: 1; min-height: 0; overflow: auto; border-radius: 12px; overscroll-behavior: contain; }
.lb.is-zoomed .lb-img { width: auto; max-width: none; max-height: none; cursor: zoom-out; }
.lb.is-zoomed .lb-hint { visibility: hidden; }
/* Next / Previous: a small spinner while the picture is still coming (shown only after a moment, so a ready one never flashes it) */
.lb-view { position: relative; }
.lb-msg { position: absolute; inset: 0; z-index: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--white); pointer-events: none; }
.lb.is-loading .lb-view, .lb.is-failed .lb-view { min-height: 160px; }
.lb.is-loading .lb-msg { display: flex; animation: lb-show 0s .2s both; }
.lb.is-loading .lb-img { opacity: .4; transition: opacity 0s .2s; }
.lb-spin { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: lb-spin .8s linear infinite; }
.lb.is-failed .lb-msg { display: flex; pointer-events: auto; }
.lb.is-failed .lb-spin { display: none; }
.lb.is-failed .lb-img { visibility: hidden; }
.lb-msg .btn { display: none; }
.lb.is-failed .lb-msg .btn { display: inline-flex; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
@keyframes lb-show { from { visibility: hidden; } to { visibility: visible; } }

/* 10. Commercialization & Diligence -------------------------------------- */
.panel-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
}
.panel-title { margin: 0; font-family: var(--font-sc); font-weight: 700; font-size: 23px; letter-spacing: .14em; }

.access {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9d4ec;
}

.panel-hint { margin: 0; padding: 16px 34px; font-size: 19px; font-style: italic; color: var(--text-muted); }

/* Document rows use native <details>, so they open without any script */
.doc { border-top: 1px solid rgba(140, 175, 255, .2); }

.doc-trig {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 34px;
  cursor: pointer;
  list-style: none;
}
.doc-trig::-webkit-details-marker { display: none; }
.doc-trig:hover { background: rgba(47, 107, 255, .08); }

.doc-ic {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 175, 255, .5);
  background: rgba(47, 107, 255, .14);
  color: #d4e2ff;
  box-shadow: 0 0 16px rgba(47, 107, 255, .3);
}

.doc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.doc-title { font-size: 26px; font-weight: 600; line-height: 1.18; }
.doc-sub { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: var(--text-dim); }

.doc-end { flex: none; display: flex; align-items: center; gap: 16px; }
.pdf {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 130, 130, .6);
  color: #ffc2c2;
  background: rgba(224, 38, 43, .16);
}
.chev { display: flex; transition: transform .25s ease; }
.doc[open] .chev { transform: rotate(180deg); }

.doc-body { padding: 0 34px 32px 110px; }
.doc-desc { margin: 0 0 22px; font-size: 21px; font-style: italic; line-height: 1.45; color: #d6deef; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* In-page PDF viewer (shown after "View") */
.viewer {
  margin-top: 24px;
  border: 1px solid rgba(140, 175, 255, .45);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(1, 4, 13, .6);
}
.viewer[hidden] { display: none; }

.v-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 12px 10px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #c9d4ec;
}
.v-file { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.v-ctl {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(140, 175, 255, .3);
  background: rgba(11, 26, 63, .8);
  color: var(--white);
  cursor: pointer;
}

.v-stage {
  display: flex;
  justify-content: center;
  padding: 32px 20px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 12px, transparent 12px 24px);
}
.v-stage iframe { width: 100%; height: 80vh; border: 0; background: #f4f6fb; border-radius: 4px; }

/* Placeholder page until the PDF is uploaded */
.v-page {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 8.5 / 11;
  background: #f4f6fb;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #33405e;
}
.v-line { height: 8px; border-radius: 4px; background: #d9dfeb; }
.v-line.head { width: 46%; height: 12px; background: #b9c4dc; }
.v-msg { margin: auto 0; text-align: center; font-family: var(--font-sans); font-size: 13px; line-height: 1.6; color: #4f5d7d; }

/* 11. Video block --------------------------------------------------------- */
.video { overflow: hidden; }
.v-frame { position: relative; aspect-ratio: 16 / 9; background: #030a1f; overflow: hidden; }
.v-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
/* A video that loads its length early (preload="metadata") shows its first frame: keep it out of sight behind the dimmed poster until Play */
.video:not(.is-playing) .v-frame video { opacity: 0; }

/* Poster: an image, or the gradient stand-in below */
.v-poster { position: absolute; inset: 0; }
.v-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.v-poster.founder-poster {
  background:
    radial-gradient(45% 70% at 72% 40%, rgba(70, 120, 255, .45), transparent 70%),
    linear-gradient(120deg, #04102e 0%, #0a2366 55%, #071a4d 100%);
}
.v-poster.founder-poster svg { position: absolute; right: 5%; bottom: 0; height: 72%; color: rgba(190, 210, 255, .55); }
.poster-tag {
  position: absolute;
  left: 32px;
  top: 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.v-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(47, 107, 255, .18), transparent 70%),
    linear-gradient(180deg, rgba(2, 7, 19, .1) 40%, rgba(2, 7, 19, .85));
}

.play {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 107, 255, .28);
  border: 1.5px solid rgba(200, 218, 255, .85);
  box-shadow: 0 0 36px rgba(47, 107, 255, .7);
  color: var(--white);
  cursor: pointer;
}

.v-label { position: absolute; left: 32px; right: 32px; bottom: 84px; display: flex; flex-direction: column; gap: 6px; }
.v-label b { font-size: 30px; font-weight: 600; line-height: 1.1; }
.v-label span { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }

.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(2, 7, 19, .72);
  border-top: 1px solid rgba(140, 175, 255, .3);
}
.ctl {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
}
.ctl:hover { background: rgba(47, 107, 255, .2); }
.prog { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); position: relative; }
.prog span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--blue); box-shadow: 0 0 10px rgba(47, 107, 255, .9); }
.time { font-family: var(--font-sans); font-size: 12.5px; color: #c9d4ec; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Once playing, the native player takes over */
.video.is-playing .v-poster,
.video.is-playing .v-shade,
.video.is-playing .play,
.video.is-playing .v-label,
.video.is-playing .controls { display: none; }

/* 12. Founder ------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 72px; }
.portrait {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  color: var(--text-dim);
  text-align: center;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.bio-name { margin: 12px 0 0; font-size: 48px; font-weight: 600; line-height: 1.05; }
.bio p { margin: 18px 0 0; font-size: 21px; line-height: 1.6; color: #d0d9ec; }
.quote {
  margin: 30px 0 0;
  padding: 22px 26px;
  border-radius: 12px;
  border: 1px solid rgba(140, 175, 255, .4);
  background: rgba(11, 26, 63, .5);
  font-family: var(--font-sc);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
}

/* 12b. v2 updates (client's 4 emails) -------------------------------------- */
img { height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* SLGB logo image, lifted to silver */
.slgb-img { display: block; width: 300px; filter: grayscale(1) brightness(2.3) contrast(1.05) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }

/* Red button (Sign-In) */
.btn.red {
  border-color: rgba(255, 140, 140, .6);
  background: linear-gradient(180deg, #ef2f35 0%, #c3141b 55%, #a50d13 100%);
  box-shadow: 0 6px 18px rgba(160, 10, 20, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: var(--white);
}
.btn.red:hover { box-shadow: 0 0 22px rgba(224, 38, 43, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* Back / Next */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; }
.pager.narrow { max-width: 1040px; margin-left: auto; margin-right: auto; }
.si { padding: 32px 20px 16px; }
.video.no-ctl .v-label { bottom: 24px; }
.pager .spacer { flex: 1; }

/* Sign-In */
.si-medline { display: block; width: 110px; margin: 0 auto; filter: drop-shadow(0 0 14px rgba(120, 170, 255, .55)); }
.si-card .si-sub { margin: 18px 0 26px; font-style: normal; color: var(--white); }
.si-card .pw { text-align: center; }
.si-ftr { padding-top: 24px; padding-bottom: 24px; }
.si-ftr .ftr-in { justify-content: center; }
.si-contact { margin-top: 14px; text-align: right; font-family: var(--font-sc); font-size: 17px; color: var(--text-muted); }
.si-contact a, .ftr-contact a { color: inherit; text-decoration: none; }
.si-ftr .si-foot { padding: 10px 0 0; }

/* Founder: client card in the portrait slot, video beside it */
.portrait.card-img { aspect-ratio: auto; padding: 0; }
.portrait.card-img img { height: auto; }
.founder { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); margin-top: 0; }
.v-note { margin: 14px 0 0; text-align: center; font-size: 19px; font-style: italic; color: var(--text-muted); }

/* Product visuals */
.narrow-box { max-width: 1040px; margin: 0 auto; }
.visuals { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.hero-shot img { aspect-ratio: auto; height: 100%; }
.visuals-side { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.visuals-side .sec-title { font-size: 38px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.strip .g-item img { aspect-ratio: 3 / 2; background: #fff; }
.g-item { cursor: zoom-in; }
.g-item.g-doc { cursor: pointer; }

/* Document row not yet available */
.doc.soon { opacity: .6; }
.doc.soon .doc-trig { cursor: default; }
.doc.soon .doc-trig:hover { background: none; }

/* PDF viewer (PDF.js) */
.pv { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: rgba(1, 4, 13, .96); }
.pv[hidden] { display: none; }
.pv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(140, 175, 255, .3);
  background: rgba(11, 26, 63, .9);
  font-family: var(--font-sans);
  font-size: 13px;
  color: #d5ddef;
}
.pv-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pv-page { min-width: 92px; text-align: center; }
.pv-stage { flex: 1; overflow: auto; padding: 24px; text-align: center; }
.pv-stage canvas { display: inline-block; max-width: none; background: #fff; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.pv-stage canvas[hidden] { display: none; }
.pv-msg { margin-top: 20vh; font-family: var(--font-sans); color: var(--text-muted); }

/* 12c. v2 look: follows the client's mock-ups ---------------------------- */
:root { --font-classic: 'Times New Roman', Times, serif; }

/* Navy glass panels at ~85% */
.panel { background: rgba(11, 26, 63, .85); }

/* Titles: condensed serif, white with a silver gradient */
.ptitle,
.v-label.center b {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f9 38%, #aeb9cf 60%, #f5f7fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(110, 155, 255, .35));
}

/* Header title and menu: classic bold serif */
.hdr-title { font-family: var(--font-classic); font-weight: 700; font-size: 44px; line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.nl { font-family: var(--font-classic); font-size: 18px; font-weight: 400; letter-spacing: .02em; text-transform: none; }

/* Footer text (mock-ups 2D0C6033 / 2B302BAB) */
.ftr-text { font-family: var(--font-classic); color: var(--white); line-height: 1.5; }
.ftr-co { font-size: 16px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.ftr-name, .ftr-contact { font-size: 16px; letter-spacing: .02em; color: var(--white); }
.ftr-legacy { margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: .12em; color: #d5ddef; }
.ftr-private { font-family: var(--font-classic); font-style: normal; font-size: 18px; color: var(--white); }
.si-contact { font-family: var(--font-classic); font-size: 18px; color: var(--white); }

/* Sign-In card (mock-up 7EDF5D47): white code box */
.si-card { padding: 34px 46px 30px; }
.si-card .si-sub { margin: 12px 0 20px; font-family: var(--font-classic); font-size: 22px; font-style: normal; color: var(--white); }
.si-card .pw { background: #fff; border-color: #fff; color: #0b1a3f; font-family: var(--font-classic); font-size: 20px; letter-spacing: .02em; text-align: left; }
.si-card .pw.bad { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(224, 38, 43, .25); }
.si-card .pw::placeholder { color: #6b7487; }
.si-card .si-enter { margin-top: 16px; }

/* Founder (mock-up 056385C8): title and subtitle on the right, above the video */
.founder { margin-top: 48px; }
.founder-title { margin: 0; text-align: center; font-size: clamp(30px, 3.5vw, 50px); }
.founder-sub { margin: 4px 0 18px; text-align: center; font-family: var(--font-classic); font-size: 26px; color: var(--white); }
.v-label.center { left: 24px; right: 24px; bottom: 22px; align-items: center; text-align: center; gap: 4px; }
.v-label.center b { font-family: var(--font-display); font-weight: 700; font-size: 50px; line-height: 1; text-transform: uppercase; }
.v-label.center span { font-family: var(--font-classic); font-size: 21px; font-weight: 400; letter-spacing: .01em; text-transform: none; color: var(--white); }
.v-note { font-family: var(--font-classic); font-style: normal; font-size: 18px; color: var(--white); }

/* Document panels (mock-up FDB09D37) */
.panel-title { font-family: var(--font-classic); font-size: 26px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.access { font-family: var(--font-classic); font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--white); }
.panel-hint { font-family: var(--font-classic); font-size: 18px; font-style: normal; color: var(--white); }
.doc-title { font-family: var(--font-classic); font-size: 24px; font-weight: 700; }
.doc-sub { font-family: var(--font-classic); font-size: 17px; color: #d5ddef; }
.doc-desc { font-family: var(--font-classic); font-size: 18px; font-style: normal; }

/* 13. Responsive ---------------------------------------------------------- */

/* Tablet */
@media (max-width: 1100px) {
  .hdr-title { font-size: 30px; }
  .slgb-logo .t2 { font-size: 22px; white-space: nowrap; }
  .ftr-in { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .ftr-private { width: 100%; text-align: center; }
}
/* Tablet: the footer text starts at 470px so it stays beside the logo; the long contact line wraps inside */
@media (min-width: 761px) and (max-width: 1100px) {
  .ftr-text { flex: 1 1 470px; max-width: max-content; min-width: 0; }
}

@media (max-width: 1000px) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-title { font-size: 54px; }
}

/* Mobile */
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }

  /* Header: logos on top row, title below */
  .hdr { padding: 18px 0 16px; }
  .hdr-in { grid-template-columns: 1fr auto; grid-template-areas: "m l" "t t"; gap: 16px 12px; }
  .medline { font-size: 22px; }
  .hdr-title { font-size: 27px; }
  .vline { display: none; }
  .slgb-logo .t1 { font-size: 9px; }
  .slgb-logo .t2 { font-size: 19px; }
  .slgb-logo .t3 { font-size: 10px; }

  /* Menu collapses behind the Menu button */
  .nav-in { flex-wrap: wrap; justify-content: space-between; }
  .menu-btn { display: inline-flex; }
  .nav-current { display: inline; }
  .nav-links { display: none; flex-basis: 100%; grid-template-columns: 1fr; padding-bottom: 6px; }
  .nav.open .nav-links { display: grid; }
  .nav-mid { flex-direction: column; align-items: stretch; gap: 0; }
  .nl { padding: 0; min-height: 50px; border-top: 1px solid rgba(190, 210, 255, .14); }
  .nl.active::after { left: 0; right: auto; width: 32px; }
  .signout { justify-self: stretch; }

  .ptitle-block { padding: 44px 0 28px; }
  .ptitle { font-size: 32px; }
  .psub { font-size: 19px; }

  .panel-hd { padding: 20px 18px; }
  .panel-hint { padding: 14px 18px; font-size: 17px; }
  .doc-trig { padding: 20px 18px; gap: 14px; align-items: flex-start; }
  .doc-ic { width: 44px; height: 44px; }
  .doc-title { font-size: 21px; }
  .doc-end { flex-direction: column-reverse; gap: 10px; }
  .doc-body { padding: 0 18px 26px; }
  .doc-desc { font-size: 18px; }
  .doc-actions .btn { flex: 1 1 100%; justify-content: center; }
  .v-stage { padding: 20px 12px; }
  .v-page { padding: 26px 22px; }

  .ov-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .ov-title { font-size: 42px; }
  .ov-lede { font-size: 19px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }

  .sec { padding-top: 60px; }
  .sec-title { font-size: 34px; }
  .sec-sub { font-size: 18px; }


  .gal { grid-template-columns: 1fr; gap: 18px; }
  .lb { padding: 16px; }

  .play { width: 72px; height: 72px; }
  .v-label { left: 16px; bottom: 72px; }
  .v-label b { font-size: 20px; }
  .poster-tag { left: 16px; top: 16px; }
  .controls { gap: 6px; padding: 6px 8px; }

  .founder { grid-template-columns: 1fr; gap: 32px; }
  .bio-name { font-size: 38px; }
  .bio p { font-size: 19px; }

  .ftr { padding: 64px 0 32px; }
  .ftr-in { flex-direction: column; gap: 18px; }
  .fline { display: none; }
  .ftr-co { font-size: 16px; }

  .si-card { padding: 34px 22px 30px; }
  .si-logos { gap: 18px; }
}

/* v2 responsive */
@media (max-width: 1100px) {
  .slgb-img { width: 230px; }
  .medline img { height: 76px; }
}
@media (max-width: 1000px) {
  .founder { grid-template-columns: 1fr; }
  .portrait.card-img { max-width: 420px; margin: 0 auto; }
  .visuals { grid-template-columns: 1fr; }
  .hero-shot { max-width: 520px; margin: 0 auto; }
  .si-contact { text-align: center; }
}
@media (max-width: 760px) {
  .medline img { height: 60px; }
  .slgb-img { width: 170px; }
  .strip { grid-template-columns: 1fr; gap: 18px; }
  .visuals-side .sec-title { font-size: 30px; }
  .pager { flex-direction: column; }
  .pager .btn { justify-content: center; }
  .pager .spacer { display: none; }
  .pv-bar { flex-wrap: wrap; padding: 10px 12px; }
  .pv-name { flex-basis: 100%; }
  .pv-stage { padding: 12px; }
  .si-contact { font-size: 15px; }
}

/* v2 look: mobile */
@media (max-width: 760px) {
  .nl { font-size: 17px; }
  .founder-sub { font-size: 20px; }
  .v-label.center { left: 12px; right: 12px; bottom: 12px; }
  .v-label.center b { font-size: 28px; }
  .video.no-ctl .play { width: 56px; height: 56px; top: 34%; }
  .v-label.center span { font-size: 15px; }
  .panel-title { font-size: 20px; }
  .access { font-size: 15px; }
  .doc-sub { font-size: 15px; }
  .si-card .si-sub { font-size: 19px; }
}

/* 14. Elementor (editable pages) -----------------------------------------
   The pages, header and footer are built from Elementor containers and widgets that carry the
   class names above (Advanced → CSS Classes). These rules make Elementor's own markup look the
   same as the hand-written HTML. They start with "body" so they win over Elementor's defaults,
   while anything set in Elementor's Style tab still wins over them. */

/* Widget text takes its look from the class on the widget */
body .elementor-widget-heading .elementor-heading-title { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; text-align: inherit; }
body .elementor-widget-text-editor > p { margin: 0; }
body .elementor-widget-text-editor > p + p { margin-top: .8em; }
body .elementor-widget-text-editor.ftr-contact > p + p { margin-top: 0; } /* footer: phone/email line, then the address line */

/* Elementor wraps containers on phones by default, which squashes stacked content; don't
   (a container can still be set to wrap in Elementor) */
body .e-con { --flex-wrap-mobile: nowrap; }

/* Elementor centres images; the logos sit left like the design */
body .elementor-widget.medline img { display: block; }

/* Glass panels built as containers keep their rounded corners and glow */
body .e-con.panel { border-radius: 16px; box-shadow: var(--glow); }

/* Pieces that keep their size in a row */
body .elementor-widget.slgb-img { flex: none; }
body .elementor-widget.fline { flex: 1 1 0; min-width: 24px; width: auto; }

/* Elementor removes the bottom margin of widgets; this one needs it */
body .e-con .elementor-widget.si-sub { margin-bottom: 20px; }

/* Founder: lines under the title and video keep the ".bio p" look of the design */
body .bio .elementor-widget.founder-sub,
body .bio .elementor-widget.v-note { margin: 18px 0 0; font-size: 21px; line-height: 1.6; color: #d0d9ec; }

/* Images: Elementor resets image height and width; keep the designed sizes */
body .elementor-widget.medline img { height: 96px; width: auto; max-width: none; }
body .elementor-widget.ecg { flex: none; width: 130px; }
body .elementor-widget.ecg img { width: 130px; max-width: none; }
body .elementor-widget.slgb-img img,
body .elementor-widget.si-medline img { display: block; width: 100%; }
body .elementor-widget.si-medline { width: 110px; margin: 0 auto; }

/* Header */
body .e-con.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "m t l"; align-items: center; gap: 36px; }
body .e-con.hdr-right { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
body .e-con.hdr-right::after { content: ''; order: -1; flex: none; width: 1px; height: 70px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .8), transparent); }

/* Footer */
body .e-con.ftr-in { flex-direction: row; align-items: center; gap: 30px; }
body .e-con.ftr-text { flex: none; width: auto; text-align: center; }
body .elementor-widget.fline .elementor-divider { display: none; }
body .elementor-widget.ftr-private { flex: none; }
body .e-con.si-ftr-in .e-con.ftr-in { justify-content: center; }

/* Page title block, sections, boxes */
body .e-con.ptitle-block { display: block; padding: 72px 0 44px; text-align: center; }
body .elementor-widget.psub > p { max-width: 680px; margin-left: auto; margin-right: auto; }
body .e-con.sec { padding-top: 88px; }
body .e-con.narrow-box { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* Founder */
body .e-con.founder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 48px; }

/* Product visuals */
body .e-con.visuals { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
body .e-con.visuals-side { justify-content: space-between; gap: 22px; }
body .e-con.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
body .elementor-widget-slgb-image-card > .g-item { height: 100%; }
/* "100 Gloves" and "0% Glove Waste" beside the hero picture, in the card style */
body .elementor-widget.hero-stats p { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
body .elementor-widget.hero-stats span {
  padding: 10px 18px;
  border: 1px solid rgba(140, 175, 255, .55);
  border-radius: 999px;
  background: rgba(11, 26, 63, .6);
  box-shadow: 0 0 20px rgba(47, 107, 255, .3);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
/* Product Evolution: 3 cards under Product Visuals; the whole infographic shows (no cropping) */
body .e-con.evo { margin-top: 56px; }
body .e-con.evo-strip { margin-top: 16px; }
body .evo-strip .g-item img { object-fit: contain; }

/* "Files are served only to signed-in reviewers." with its lock icon */
body .elementor .e-con > .elementor-widget.pending.narrow { width: 100%; max-width: 1040px; flex-direction: row; gap: 12px; }
body .elementor-widget.pending::before {
  content: '';
  flex: none;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Back / Next: Button widgets with the class "slgb-btn" (+ "primary", and "back" or "next" for the arrow) */
body .e-con.pager { flex-direction: row; justify-content: space-between; gap: 16px; margin-top: 64px; }
body .e-con.pager.end { justify-content: flex-end; }
body .e-con.pager.start { justify-content: flex-start; }
body .e-con.pager.narrow { max-width: 1040px; margin-left: auto; margin-right: auto; }
body .elementor-widget.slgb-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 9px;
  border: 1px solid rgba(170, 195, 255, .5);
  background: rgba(11, 26, 63, .8);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: none;
}
body .elementor-widget.slgb-btn .elementor-button:hover { color: var(--white); border-color: #7da2ff; box-shadow: 0 0 18px rgba(47, 107, 255, .55); }
body .elementor-widget.slgb-btn.primary .elementor-button { background: var(--blue); border-color: var(--blue-light); box-shadow: 0 0 18px rgba(47, 107, 255, .45); }
body .elementor-widget.slgb-btn.primary .elementor-button:hover { background: #3d77ff; }
body .elementor-widget.slgb-btn .elementor-button-content-wrapper { align-items: center; gap: 10px; }
body .elementor-widget.slgb-btn.next .elementor-button-content-wrapper::after,
body .elementor-widget.slgb-btn.back .elementor-button-content-wrapper::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--slgb-arrow) center / contain no-repeat;
          mask: var(--slgb-arrow) center / contain no-repeat;
}
body .elementor-widget.slgb-btn.next { --slgb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
body .elementor-widget.slgb-btn.back { --slgb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E"); }

/* Sign-In card */
.si-box > .elementor { width: 100%; }
body .e-con.si-card { display: block; padding: 34px 46px 30px; text-align: center; }

/* Elementor: responsive */
@media (max-width: 1100px) {
  body .elementor-widget.medline img { height: 76px; }
  body .e-con.ftr-in { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  body .elementor-widget.ftr-private { width: 100%; text-align: center; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  body .e-con.ftr-text { flex: 1 1 470px; max-width: max-content; min-width: 0; }
}
@media (max-width: 1000px) {
  body .e-con.founder { grid-template-columns: 1fr; }
  body .elementor .e-con > .elementor-widget.card-img { max-width: 420px; margin: 0 auto; }
  body .e-con.visuals { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body .elementor-widget.medline img { height: 60px; }
  body .e-con.hdr-in { grid-template-columns: 1fr auto; grid-template-areas: "m l" "t t"; gap: 16px 12px; }
  body .e-con.hdr-right::after { display: none; }
  body .e-con.ftr-in { flex-direction: column; gap: 18px; }
  body .e-con.ptitle-block { padding: 44px 0 28px; }
  body .e-con.sec { padding-top: 60px; }
  body .e-con.founder { gap: 32px; }
  body .bio .elementor-widget.founder-sub,
  body .bio .elementor-widget.v-note { font-size: 19px; }
  body .e-con.strip { grid-template-columns: 1fr; gap: 18px; }
  body .e-con.evo { margin-top: 44px; }
  body .e-con.pager { flex-direction: column; }
  body .elementor-widget.slgb-btn .elementor-button { display: flex; width: 100%; justify-content: center; }
  body .e-con.si-card { padding: 34px 22px 30px; }
}

/* ---- 15. Show / hide the access code (eye button in the code field) ---- */
.pw-box { position: relative; }
.pw-box .pw { padding-right: 54px; }
/* Access code: hidden as dots by CSS, not a password box, so browsers don't offer saved logins or ask to save it. */
.pw.masked { -webkit-text-security: disc; }
.pw-eye { position: absolute; top: 0; right: 4px; bottom: 0; width: 46px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: #9fb3d9; cursor: pointer; border-radius: 8px; }
.pw-eye[hidden] { display: none; }
.pw-eye:hover { color: #fff; }
.pw-eye:focus-visible { outline: 2px solid #7da2ff; outline-offset: -4px; }
.si-card .pw-eye { color: #6b7487; }
.si-card .pw-eye:hover { color: #0b1a3f; }
.pw-eye .eye-off, .pw-eye[aria-pressed="true"] .eye-on { display: none; }
.pw-eye[aria-pressed="true"] .eye-off { display: block; }

/* ---- 16. Founder photo: click to enlarge & print ---- */
.portrait.card-img img[data-lightbox] { cursor: zoom-in; transition: box-shadow .2s, filter .2s; }
.portrait.card-img img[data-lightbox]:hover { filter: brightness(1.06); }
.portrait.card-img img[data-lightbox]:focus-visible { outline: 2px solid #7da2ff; outline-offset: 4px; }
.lb.is-single [data-prev], .lb.is-single [data-next], .lb.is-single .lb-pos { display: none; }

/* Print button in the lightbox: print only the enlarged picture, on one page */
@media print {
  body.lb-printing { background: none !important; }
  body.lb-printing > *:not(.lb) { display: none !important; }
  body.lb-printing .lb { position: static; display: block; padding: 0; background: none; }
  body.lb-printing .lb-in { max-width: none; display: block; height: auto; }
  body.lb-printing .lb-view { overflow: visible; }
  body.lb-printing .lb-bar { display: none; }
  body.lb-printing .lb-img { width: auto; max-width: 100%; max-height: 96vh; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; background: none; }
}

/* ---- 16. Gallery: video cards, category cards, category pages ---- */

/* Video cards: 2 large cards side by side (stacked on phones); a click plays the video in the player below */
body .e-con.gvid-row { margin-bottom: 64px; }
body .elementor-widget-slgb-video-cards { width: 100%; }
.vcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
body .vcard {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(170, 198, 255, .9);
  border-radius: 16px;
  background: #030a1f;
  box-shadow: 0 0 0 1px rgba(47, 107, 255, .25), 0 0 34px rgba(47, 107, 255, .45);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body .vcard:hover,
body .vcard:focus-visible { border-color: #cfdcff; box-shadow: 0 0 0 1px #7da2ff, 0 0 48px rgba(70, 130, 255, .8); transform: translateY(-3px); outline: none; }
body .vcard:disabled { cursor: default; }
.vcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 7, 19, 0) 35%, rgba(2, 7, 19, .9) 100%); }
.vcard-play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  background: rgba(47, 107, 255, .45);
  border: 1.5px solid rgba(220, 230, 255, .9);
  box-shadow: 0 0 36px rgba(47, 107, 255, .75);
  transition: background .18s ease;
}
body .vcard:hover .vcard-play,
body .vcard:focus-visible .vcard-play { background: var(--blue); }
.vcard-txt { position: absolute; left: 28px; right: 28px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.vcard-txt b { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.vcard-txt span { font-family: var(--font-classic); font-size: 19px; color: #e3e9f7; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* Video player over the page */
.vlb { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(1, 4, 13, .93); }
.vlb[hidden] { display: none; }
.vlb-in { width: 100%; max-width: 1100px; display: flex; flex-direction: column; gap: 16px; }
.vlb-video { display: block; width: 100%; max-height: 76vh; background: #000; border: 1px solid rgba(140, 175, 255, .55); border-radius: 12px; box-shadow: 0 0 44px rgba(47, 107, 255, .5); }

/* Category cards (Corey's layout, 2026-10-17): one row that scrolls sideways, with arrows; picture on top, name on a dark bar.
   6 in view (tablet 4, phone 2 and a bit) */
.gcats-row { position: relative; }
.gcats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px 12px; }
.gcats::-webkit-scrollbar { display: none; }
.gcats .gcat { flex: 0 0 calc((100% - 5 * 14px) / 6); scroll-snap-align: start; }
.gcats-nav { position: absolute; top: calc(50% - 28px); z-index: 2; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 2px solid #4d8bff; border-radius: 50%; background: rgba(4, 9, 22, .88); color: var(--white); box-shadow: 0 0 18px rgba(47, 107, 255, .55); cursor: pointer; }
.gcats-nav[hidden] { display: none; }
.gcats-nav:hover, .gcats-nav:focus-visible { background: var(--blue); outline: none; }
.gcats-nav.prev { left: -20px; }
.gcats-nav.next { right: -20px; }
.gcat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(140, 175, 255, .55);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 0 20px rgba(47, 107, 255, .3);
  color: var(--white);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gcat:hover,
.gcat:focus-visible { color: var(--white); border-color: #cfdcff; box-shadow: 0 0 0 1px #7da2ff, 0 0 40px rgba(70, 130, 255, .8); transform: translateY(-4px); outline: none; }
.gcat-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(47, 107, 255, .08); }
.gcat-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
body .elementor .gcat-img img { height: 100%; }
.gcat-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: rgba(140, 175, 255, .7); }
.gcat-bar { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px; background: #070d1f; border-top: 1px solid rgba(140, 175, 255, .35); }
.gcat-name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1.25; }
.gcat-arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid rgba(200, 218, 255, .8); border-radius: 50%; transition: background .18s ease; }
.gcat:hover .gcat-arrow,
.gcat:focus-visible .gcat-arrow { background: var(--blue); border-color: var(--blue-light); }

/* Category page: Back to Gallery above and below */
.gal-back-row.top { margin-top: 40px; }
.gal-back-row.bottom { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; }
.ptitle-block.gal-cat-title { padding-top: 28px; }
.gal-count { margin: 14px 0 0; }

@media (max-width: 1100px) {
  .gcats .gcat { flex-basis: calc((100% - 3 * 14px) / 4); }
  .vcard-txt b { font-size: 32px; }
}
@media (max-width: 760px) {
  body .e-con.gvid-row { margin-bottom: 40px; }
  .vcards { grid-template-columns: 1fr; gap: 20px; }
  .vcard-play { width: 64px; height: 64px; }
  .vcard-play svg { width: 26px; height: 26px; }
  .vcard-txt { left: 16px; right: 16px; bottom: 14px; gap: 4px; }
  .vcard-txt b { font-size: 26px; }
  .vcard-txt span { font-size: 15px; }
  .vlb { padding: 16px; }
  .gcats { gap: 12px; }
  .gcats .gcat { flex-basis: 42%; }
  .gcats-nav { width: 40px; height: 40px; }
  .gcats-nav.prev { left: -8px; }
  .gcats-nav.next { right: -8px; }
  .gcat-bar { min-height: 58px; padding: 10px; gap: 8px; } /* room for a 2-line name: every card the same height */
  .gcat-name { font-size: 14px; }
  .gcat-arrow { width: 26px; height: 26px; }
  .gal-back-row.top { margin-top: 28px; }
  .gal-back-row .gal-back,
  .gal-back-row .gal-next { display: flex; width: 100%; justify-content: center; }
  .gal-back-row.bottom { flex-direction: column; }
}

/* 17. Final Gallery (Corey, 2026-10-17) -------------------------------------------------------------------- */
/* Gallery page title: the second word in blue ("PRESENTATION GALLERY") */
.ptitle .ptitle-hl { background: linear-gradient(180deg, #8fbaff 0%, #3d86ff 55%, #1f63f0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Category page: 5 per row (tablet 3, phone 2); the whole picture shows (infographics, PDF pages, banners) */
body.gallery-category .gal { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
body.gallery-category .gal .g-item img { object-fit: contain; background: #0b1a3f; }
body.gallery-category .gal .g-cap { padding: 12px 14px 14px; }
body.gallery-category .gal .g-cap b { font-size: 16px; }

/* "Scroll to final section" divider, then Closing Vision (Corey's layout, 2026-10-17): blue-framed panel on a dark sky,
   "Presentation Gallery" tab, flags + heading + "Why accept glove waste at all?", 4 numbered cards (title above the picture) */
.gscroll { display: flex; align-items: center; gap: 22px; margin: 44px 0 0; }
.gscroll::before, .gscroll::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(140, 175, 255, .55), transparent); }
.gscroll a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; border-radius: 8px; background: rgba(2, 6, 16, .85); font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.gscroll a svg { color: #3d86ff; }
.gscroll a:hover, .gscroll a:focus-visible { color: var(--white); background: rgba(47, 107, 255, .35); outline: none; }
.gclose { position: relative; margin-top: 64px; padding: 56px 28px 32px; border: 2px solid #2f7bff; border-radius: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300V170l90-60 70 40 110-90 90 70 80-40 120 100 90-60 110 50 120-110 100 80 90-30 130 90v80z' fill='%23101a33'/%3E%3Cpath d='M0 300V230l140-50 120 40 160-70 140 60 150-40 170 50 140-30 180 50v90z' fill='%23070b17'/%3E%3C/svg%3E") bottom / 100% 42% no-repeat, radial-gradient(ellipse 70% 38% at 50% 60%, rgba(255, 158, 84, .30), transparent 70%), linear-gradient(180deg, #04070f 0%, #0b1430 34%, #1d2547 56%, #3a2c3e 68%, #0a0e1c 100%); box-shadow: 0 0 30px rgba(47, 123, 255, .45), inset 0 0 50px rgba(0, 0, 0, .55); scroll-margin-top: 110px; }
.gclose-tab { position: absolute; top: -30px; left: -2px; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 8px 8px 0 0; background: #1a55e0; font-family: var(--font-sans); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--white); box-shadow: 0 0 18px rgba(47, 107, 255, .5); }
.gclose-hd { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 34px; margin: 0 0 30px; }
.gclose-lead { display: flex; align-items: center; gap: 18px; padding-right: 34px; border-right: 2px solid rgba(255, 255, 255, .55); }
.gclose-flags { flex: none; width: 112px; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.gclose-h { margin: 0; font-family: var(--font-sans); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--white); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.gclose-title { margin: 8px 0 0; font-family: var(--font-sans); font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: #3d86ff; }
.gclose-why { margin: 0; font-family: Impact, 'Arial Narrow', var(--font-sans); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--white); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.gclose-why span { display: block; color: #ffe100; }
.gclose-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gclose .gcard { display: flex; flex-direction: column; background: #070d1f; border-color: rgba(200, 218, 255, .6); }
.gcard-hd { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; background: linear-gradient(180deg, #0d1733, #070d1f); border-bottom: 1px solid rgba(140, 175, 255, .35); }
.gcard-n { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; background: #1a6bff; font-family: var(--font-sans); font-size: 20px; font-weight: 800; color: var(--white); }
.gcard-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gcard-t b { font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.gcard-t span { font-family: var(--font-sans); font-size: 14px; line-height: 1.3; color: #c9d5f2; }
.gclose .gcard img { aspect-ratio: 4 / 3; object-fit: contain; background: #050a18; } /* the whole picture: Corey's text is never cut off */
/* A wide picture: still whole, with a soft blurred copy of itself filling the bands above and below */
.gcard-pic { position: relative; display: block; overflow: hidden; background: #050a18; }
.gclose .gcard-pic img:first-child { position: relative; z-index: 1; background: none; }
.gclose .gcard-pic .gcard-fill { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; background: none; filter: blur(16px) brightness(.5); transform: scale(1.2); }

@media (max-width: 1100px) {
  body.gallery-category .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gclose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gclose-lead { padding-right: 0; border-right: 0; }
  .gclose-h { font-size: 44px; }
  .gclose-why { font-size: 38px; text-align: center; }
}
@media (max-width: 760px) {
  body.gallery-category .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.gallery-category .gal .g-cap { padding: 8px 10px 10px; }
  body.gallery-category .gal .g-cap b { font-size: 14px; }
  .gscroll { gap: 10px; margin-top: 32px; }
  .gscroll a { padding: 8px 12px; font-size: 13px; }
  .gclose { margin-top: 56px; padding: 44px 14px 18px; }
  .gclose-tab { top: -26px; padding: 7px 14px 7px 10px; font-size: 11px; }
  .gclose-tab svg { width: 18px; height: 18px; }
  .gclose-hd { gap: 14px; margin-bottom: 22px; }
  .gclose-lead { gap: 12px; }
  .gclose-flags { width: 72px; }
  .gclose-h { font-size: 32px; }
  .gclose-title { font-size: 14px; }
  .gclose-why { font-size: 30px; }
  .gclose-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body .vcard, .gcat { transition: none; }
  body .vcard:hover, body .vcard:focus-visible, .gcat:hover, .gcat:focus-visible { transform: none; }
}
