
/* =========================
   Ginkgo Security — Vault Theme (Unified)
   Grey / Green / Charcoal + Carbon Fiber Hero
   One stylesheet (safe to replace entire file)
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root{
	/* Palette (warm charcoal) */
	--bg: #2a302e;         /* top / lighter charcoal */
	--bg2: #313836;        /* companion charcoal */
	--deep: #070a08;       /* deep anchor (matches your current body end) */

	--panel: #38413e;
	--panel2: #2f3734;

	/* Lines */
	--line: #55635e;
	--line2: #6a7c75;

	/* Text */
	--text: #f6f8f7;
	--muted: #d1dad6;
	--muted2: #b7c4be;

	/* Accent */
	--accent: #4fae91;
	--accent2: #3b876f;

	/* Effects */
	--shadow: rgba(0,0,0,.22);

	/* Layout */
	--radius: 14px;
	--radius2: 18px;
	--max: 1120px;

	/* Fonts */
	--sans: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	

	--sectionFadeStart: #313836;
	--sectionFadeEnd: #1f2422;
}

/* ===== Base ===== */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--text);

  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(47,111,86,.14), transparent 60%),
    radial-gradient(900px 600px at 70% 15%, rgba(255,255,255,.05), transparent 55%),
    var(--bg);  /* solid base instead of fading to black */

  letter-spacing: .2px;
}


a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 14px 0; line-height: 1.55; color: var(--muted); }
h1,h2,h3{ margin: 0; line-height: 1.15; letter-spacing: .3px; }

.wrap{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Topbar ===== */

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;

  background:
    linear-gradient(
      180deg,
      #1f2423 0%,
      #242b29 100%
    );

  border-bottom: 1px solid rgba(79,174,145,.25);
}

.topbar_inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;   /* was 14px */
  gap: 16px;
}
.topbar::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79,174,145,.4),
    transparent
  );
}

/* Brand */
.brand{

  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}



.brand_logo_wrap{
  width: 148px;
  height: 148px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, #0e1411, #0a0f0c);
  box-shadow: 0 18px 36px rgba(0,0,0,.55);
  display: grid;
  place-items: center;
}

.brand_logo{
  width: 100%;
  height: 100%;
  object-fit: cover; /* looks best for JPEG logos */
  border-radius: 0;  /* wrapper controls rounding */
  background: none;
  border: none;
  box-shadow: none;
}

.brand_text{ 
display: grid; gap: 2px; 
}

.brand_name{
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 18px;
  color: var(--text);
}


.brand_tag{
  font-size: 12px;
  color: var(--muted2);
}

/* Nav */
.topnav{
  display: flex;
  align-items: center;
  gap: 14px;
}

.topnav_link{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.topnav_link:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}

.topnav_cta{
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--accent2);
  background: linear-gradient(180deg, rgba(47,111,86,.25), rgba(31,74,57,.18));
  box-shadow: 0 10px 20px var(--shadow);
}

.topnav_cta:hover{
  border-color: var(--accent);
  box-shadow: 0 14px 26px rgba(0,0,0,.55);
}

/* ===== Hero (layout stays as your grid) ===== */

.hero{
  position: relative;
  overflow: hidden;
  isolate: isolate;
  padding: 56px 0 24px 0;  /* reduce bottom space */
}

.hero_inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero_border{
	position: relative;
	z-index: 2;
	margin-top: 40px;
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, var(--line2), transparent);
	opacity: .9;
}
  
/* Carbon fiber / ballistic weave */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.05),
      rgba(255,255,255,.05) 2px,
      transparent 2px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(40,48,46,.35),
      rgba(40,48,46,.35) 2px,
      transparent 2px,
      transparent 10px
    );

  opacity: .18; /* this is the key change */
  pointer-events: none;
  z-index:0;
}


.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 420px at 18% 28%, rgba(79,174,145,.22), transparent 62%),
    radial-gradient(520px 340px at 62% 18%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 560px at 80% 70%, rgba(0,0,0,.26), transparent 58%);
  opacity:.9;
  pointer-events:none;
  z-index:1;
}

/* make hero copy feel brighter */
.hero_left{
  position: relative;
  z-index: 2;
}

/* vault card gets a “metal edge” */
.vault_card{
  box-shadow: 0 26px 70px rgba(0,0,0,.70);
}

.vault_card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius2);
  border: 1px solid rgba(79,174,145,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  pointer-events:none;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted2);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}

.eyebrow::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(47,111,86,.14);
}

.hero_title{
	margin-top: 16px;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	color: var(--text);
    text-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.hero_sub{
  margin-top: 14px;
  font-size: 16px; 
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.hero_actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px; /* slightly wider */
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.03);
}

.btn_primary{
  border-color: rgba(79,174,145,.65);
  background:
    linear-gradient(180deg, rgba(79,174,145,.42), rgba(31,74,57,.18)),
    radial-gradient(220px 80px at 50% 0%, rgba(255,255,255,.12), transparent 60%);
  box-shadow:
    0 18px 36px rgba(0,0,0,.60),
    0 0 0 6px rgba(79,174,145,.10);
  padding: 12px 22px; /* a bit wider */
}

.btn_primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 24px 46px rgba(0,0,0,.68),
    0 0 0 8px rgba(79,174,145,.12);
}

.btn_ghost{
  border: 1px solid rgba(106,124,117,.45);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  padding: 12px 20px;
}

.btn_ghost:hover{
  color: var(--text);
  border-color: rgba(79,174,145,.55);
  background: rgba(79,174,145,.06);
}


.hero_meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta_chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted2);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.chip_dot{
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(47,111,86,.9);
  box-shadow: 0 0 0 6px rgba(47,111,86,.12);
}



/* ===== Vault Card (hero right) ===== */
.vault_card{
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    radial-gradient(600px 380px at 70% 30%, rgba(47,111,86,.14), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 22px 50px rgba(0,0,0,.65);
  overflow: hidden;
  position: relative;
}

.vault_card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .25;
  pointer-events: none;
}

.vault_card_top{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 10px 18px;
}

.vault_badge{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--text);
  background: rgba(0,0,0,.28);
  border: 1px solid var(--line2);
  padding: 8px 10px;
  border-radius: 10px;
}

.vault_line{
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line2), transparent);
}

.vault_grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px 18px 18px 18px;
}

.vault_stat{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  background: rgba(0,0,0,.18);
}

.vault_label{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.vault_value{
  margin-top: 8px;
  font-weight: 700;
  color: var(--text);
}

.vault_card_bottom{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  background: rgba(0,0,0,.16);
}

.vault_keyhole{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background:
    radial-gradient(circle at 50% 45%, rgba(47,111,86,.65) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 70%, rgba(47,111,86,.65) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25);
}

.vault_fineprint{
  font-size: 12px;
  color: var(--muted2);
}

/* ===== Sections (opaque bases to prevent “splitting”) ===== */
.section{
  padding: 56px 0;
  background: linear-gradient(180deg, var(--sectionFadeStart), var(--sectionFadeEnd)); /* opaque */
  border-top: 1px solid rgba(106,124,117,.18);
  display: flow-root;
  position: relative;
}


.section_head{ margin-bottom: 18px; }

.section_kicker{
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted2);
}

.section_title{
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
}

.section_sub{
  margin-top: 10px;
  color: var(--muted);
  max-width: 70ch;
}

/* ===== Panels / Callouts ===== */
.panel{
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  padding: 18px 18px 10px 18px;
}

.p_strong{
  color: var(--text);
  font-weight: 600;
}

.p_callout{
  margin-top: 8px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(47,111,86,.10);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(47,111,86,.10);
}

/* ===== Cards ===== */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(47,111,86,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  padding: 16px 16px 10px 16px;
  position: relative;
  overflow: hidden;
}

.card::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,111,86,.65), transparent);
  opacity: .6;
}

.card_title{
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.card_text{ color: var(--muted); }

/* ===== Two column About ===== */
.two_col{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.aside{ display: grid; gap: 14px; }

.aside_box{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  padding: 16px;
}

.aside_title{
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 10px;
}

.aside_list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.aside_list li{ margin: 8px 0; }

.aside_badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(0,0,0,.18);
  color: var(--text);
  font-size: 12px;
}

/* ===== Contact (opaque base to prevent “splitting”) ===== */
.contact{
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), var(--deep)); /* opaque */
}

.contact_inner{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: center;
}
.contact_right{
	display: flex;
	justify-content:flex-end;
	align-items: center;	
}

.contact_title{
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.contact_sub{
  margin-top: 10px;
  max-width: 70ch;
}

.contact_cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.contact_card{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding: 14px;
}

.contact_label{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted2);
}

.contact_value{
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

/* Seal */
.seal{
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background:
    radial-gradient(circle at 50% 50%, rgba(47,111,86,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 24px 60px rgba(0,0,0,.65);
  overflow: hidden;
}

.seal_ring{
  position: absolute;
  inset: 14px;
  border-radius: 999px;
  border: 1px dashed rgba(231,236,233,.25);
  opacity: .8;
}

.seal_inner{
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 20px;
}

.seal_title{
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
}

.seal_sub{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 13px;
}

/* ===== Footer (opaque base) ===== */
.footer{
  border-top: 1px solid var(--line);
  background: var(--deep);
  padding: 18px 0;
}

.footer_inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted2);
  font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero_inner{ grid-template-columns: 1fr; }
  .two_col{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .contact_inner{ grid-template-columns: 1fr; }
  .contact_cards{ grid-template-columns: 1fr; }
  .topnav{ display: none; }

  /* reduce hero padding on smaller screens */
  .hero{ padding: 64px 0 40px 0; }
}

@media (max-width: 640px){
  .cards{ grid-template-columns: 1fr; }
}


.section::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79,174,145,.55),
    transparent
  );
  opacity:.5;
}

.section_title{
  color: var(--text);
  text-shadow: 0 0 12px rgba(79,174,145,.08);
}
.card:hover{
	border-color:rgba(79,174,145,.55);
	box-shadow: 0 20px 40px rgba(0,0,0,.6)
}


.footer{
  background: var(--sectionFadeEnd);
}

/* =========================================================
   PATCH (paste at VERY END of file)
   Fixes:
   - Topbar fits logo (responsive) without hardcoding height
   - Hero fills "home view" on load (responsive)
   - Carbon fiber cannot band/bleed into Philosophy
   ========================================================= */


/* Topbar keeps its current styling, but padding + logo scale down on small screens */
.topbar_inner{
  padding: clamp(10px, 2.2vw, 20px) 0;
}

.brand_logo_wrap{
  width: clamp(88px, 12vw, 148px);
  height: clamp(88px, 12vw, 148px);
  border-radius: clamp(14px, 2vw, 20px);
}

/* 2) Hero fills the remaining viewport under the sticky header */
.hero{
  /* keep your existing look */
  position: relative;
  overflow: hidden;
  isolation: isolate;

}


/* keep the glow layer (your hero::after) contained and behind content */
.hero::after{
  z-index: 1;
}
.hero_inner,
.hero_border{
  position: relative;
  z-index: 2;
}

/* ===== HERO: fill the remaining viewport below the sticky topbar ===== */
/* Fallback if JS fails */
:root{ --topbarH: 180px; }

/* Ensure the browser scrolls anchors correctly below sticky header */
html{ scroll-padding-top: calc(var(--topbarH) + 12px); }

.hero{
  padding: clamp(28px, 4vw, 56px) 0 clamp(18px, 2.5vw, 24px) 0;
  display: grid;            /* keeps your layout predictable */
  align-content: start;     /* prevents “squish” */
}

/* 4) Ensure sections paint cleanly over the page background (no transparency seams) */
.section,
.contact,
.footer{
  position: relative;
  background-clip: padding-box;
}

/* ===== Principal Consultant Section ===== */

/* ===== Principal Consultant Section (tighter pairing) ===== */

.two_col--principal{
  align-items: stretch; /* make both panels equal height on desktop */
}

.principal_left{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principal_photo{
  width: 100%;
  border-radius: var(--radius2);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.principal_highlights{
  display: grid;
  gap: 8px;
}

.highlight_item{
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}

/* Credentials block under photo */
.principal_credentials{
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(106,124,117,.30);
  display: grid;
  gap: 10px;
}

.cred_row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.cred_label{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted2);
  padding-top: 2px;
}

.cred_value{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.principal_right{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.principal_lead{
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.principal_badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Mobile: stack cleanly */
@media (max-width: 980px){
  .cred_row{
    grid-template-columns: 1fr; /* label above value */
    gap: 6px;
  }
}

/* =========================
   BIO (Principal Consultant) — Option A (Authority Strip)
   ========================= */

.bio{
  padding: 56px 0;
  background: linear-gradient(180deg, var(--sectionFadeStart), var(--sectionFadeEnd));
  border-top: 1px solid rgba(106,124,117,.18);
  position: relative;
  display: flow-root;
}

.bio_head{
  margin-bottom: 18px;
}

.bio__title{
  margin: 8px 0 0 0;
  color: var(--muted2);
  font-weight: 600;
}

.bio_grid{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}

.bio_side{
  display: grid;
  gap: 12px;
}

.bio_left{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio_photo_wrap{
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  overflow: hidden;
}

.bio_photo{
  width: 100%;
  height: auto;
  display: block;
}

/* Authority strip */
.bio_authority{
  border-radius: var(--radius2);
  border: 1px solid rgba(79,174,145,.28);
  background:
    radial-gradient(520px 220px at 18% 30%, rgba(79,174,145,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 14px 30px rgba(0,0,0,.55);
  padding: 14px 14px;
}

.bio_years{
  font-family: var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted2);
}

.bio_authority_text{
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

/* Creds under photo */
.bio_creds{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding: 14px;
}

.bio_cred_block + .bio_cred_block{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(106,124,117,.22);
}

.bio_cred_label{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
}

.bio_cred_value{
  color: var(--text);
  font-weight: 650;
  margin: 6px 0 0 0;
}

/* Right side refinements inside panel */
.bio_body p{ margin-bottom: 14px; }

.bio_thoughtlead{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(106,124,117,.22);
}

.bio_th_label{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
}

.bio_th_list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.bio_th_list li{
  margin: 8px 0;
}

/* Responsive */
@media (max-width: 980px){
  .bio_grid{
    grid-template-columns: 1fr;
  }
}

/* Bio: keep as ONE cohesive panel */
.bio_panel{ padding: 22px; }
.bio_grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: start;
}
.bio_head{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}

.bio_photo{
  width: 100%;
  border-radius: var(--radius2);
  max-height: 575px;
  object-fit: cover;
  border: 1px solid var(--line2);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.bio_name{
  margin: 4px 0 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.bio_title{ color: var(--muted2); font-size: 12px; margin-top: 4px; }
.bio_years{ color: var(--text); font-weight: 700; margin-top: 8px; }

.bio_authority_line{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(79,174,145,.35);
  background:
    radial-gradient(420px 200px at 20% 30%, rgba(79,174,145,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.bio_trust{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.bio_divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
  margin: 14px 0;
  opacity: .7;
}
.bio_creds{ display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.bio_creds_row strong{ color: var(--text); font-weight: 700; margin-right: 8px; }

.bio_right p{ margin-bottom: 12px; }

@media (max-width: 980px){
  .bio_grid{ grid-template-columns: 1fr; }
  .bio_head{ grid-template-columns: 90px 1fr; }
  .bio_photo{ width: 90px; height: 90px; }
}

:root{ --topbarH: 180px; } /* fallback if JS fails */

html{ scroll-padding-top: calc(var(--topbarH) + 12px); }


/* ===== Services Cards: Collapsible (NO other site changes) ===== */

/* make details behave like your existing .card (keeps the card visuals) */
.card_collapse{
  /* keep your current card styling intact; these are just behavior tweaks */
  padding: 0;                 /* we’ll move padding into the summary/body */
}

/* remove default marker + make whole header clickable */
.card_collapse > summary{
  list-style: none;
  cursor: pointer;
}
.card_collapse > summary::-webkit-details-marker{ display:none; }

/* clickable header area */
.card_summary{
  padding: 16px 16px 12px 16px;  /* matches your existing card padding feel */
  display: grid;
  gap: 8px;
}

/* preview sentence under title */
.card_preview{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* expanded body */
.card_body{
  padding: 0 16px 14px 16px;
}

/* subtle divider between header and body when open */
.card_collapse[open] .card_body{
  border-top: 1px solid rgba(106,124,117,.22);
  padding-top: 12px;
}

/* optional: slight hover affordance on the whole card header */
.card_collapse > summary:hover .card_title{
  text-shadow: 0 0 12px rgba(79,174,145,.08);
}

/* ===== Collapsible Services – Bottom Learn More ===== */

.card_summary{
  display: flex;
  flex-direction: column;
}

/* add space below preview */
.card_preview{
  margin-bottom: 10px;
}

/* bottom indicator */
.card_summary::after{
  content: "Learn more +";
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .9;
  margin-top: 4px;
}

/* change when open */
.card_collapse[open] .card_summary::after{
  content: "Close –";
  color: var(--muted2);
}

/* =========================================================
   HERO SIZE TUNING (END OF FILE OVERRIDE)
   Keeps "fit screen" on normal screens, caps on large monitors
   ========================================================= */

.hero{
  /* keep your existing layout/texture rules — only change sizing */
  min-height: clamp(500px, calc(100svh - var(--topbarH)), 680px);
  padding: clamp(32px, 4vw, 56px) 0 clamp(18px, 2.5vw, 24px) 0;
}

/* Optional: on very large displays, tighten just a bit more */
@media (min-width: 1400px){
  .hero{
    min-height: 640px;
  }
}
/* =========================================================
   FINAL HERO BACKGROUND FIX (paste at VERY END)
   - ONE background stack (no pseudo layers)
   - No banding at the hero->section boundary
   - Does not affect other sections
   ========================================================= */

/* Stop using pseudo layers for hero backgrounds */
.hero::before,
.hero::after{
  content: none !important;
}

/* Paint everything on .hero itself, including a solid base */
.hero{
  background:
    /* glow */
    radial-gradient(700px 420px at 18% 28%, rgba(79,174,145,.22), transparent 62%),
    radial-gradient(520px 340px at 62% 18%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 560px at 80% 70%, rgba(0,0,0,.26), transparent 58%),

    /* carbon fiber */
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.05),
      rgba(255,255,255,.05) 2px,
      transparent 2px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(40,48,46,.35),
      rgba(40,48,46,.35) 2px,
      transparent 2px,
      transparent 10px
    ),

    /* IMPORTANT: solid base so the edge blends cleanly */
    var(--bg);

  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-position: center, center, center, center, center, center;
  background-size: auto, auto, auto, auto, auto, auto;
}

/* Ensure the hero paints cleanly at its edge */
.hero{
  background-clip: padding-box;
}

/* =========================
   CONTACT FORM – REFINED
   ========================= */

.contact_form{
  margin-top: 20px;
}

.contact_form_grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact_field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact_field_full{
  grid-column: 1 / -1;
}

.contact_field_label{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted2);
}

/* FIELD BASE */
.contact_form input,
.contact_form textarea{
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  color: var(--text);
  padding: 10px 10px;
  font-size: 13px;
  transition: all .18s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}

/* REMOVE BRIGHT DEFAULT BROWSER LOOK */
.contact_form input::placeholder,
.contact_form textarea::placeholder{
  color: var(--muted2);
  opacity: .6;
}

/* FOCUS STATE */
.contact_form input:focus,
.contact_form textarea:focus{
  outline: none;
  border-color: rgba(79,174,145,.65);
  box-shadow:
    0 0 0 4px rgba(79,174,145,.12),
    inset 0 0 0 1px rgba(0,0,0,.25);
}

/* TEXTAREA POLISH */
.contact_form textarea{
  resize: vertical;
  min-height: 100px;
}

/* SUCCESS MESSAGE */
.form_success{
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(79,174,145,.35);
  background:
    radial-gradient(400px 200px at 20% 30%, rgba(79,174,145,.15), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--panel2));
  color: var(--text);
  font-weight: 600;
}

.form_success.visible{
  display: block;
  animation: fadeIn .3s ease forwards;
}

@media (max-width: 980px){
  .contact_form_grid{
    grid-template-columns: 1fr;
  }
}

.contact_form .btn_primary{
	color: #ffffff;
}

.contact_direct{
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted2);
}

.contact_direct a{
  color: var(--text);
  border-bottom: 1px solid rgba(79,174,145,.4);
}

.contact_direct a:hover{
  border-color: rgba(79,174,145,.8);
}
