/* ==========================================================================
   Viper X Management — Global Stylesheet
   Palette + type recreated from the original WordPress (Phlox Pro) site.
   --------------------------------------------------------------------------
   Brand colors:  deep green #031C0A · gold #D8C384 · bronze #A97E63
   Headings: Playfair Display   Body: Montserrat
   ========================================================================== */

:root {
  --green:        #031C0A;
  --green-90:     rgba(3, 28, 10, 0.92);
  --green-70:     rgba(3, 28, 10, 0.72);
  --green-soft:   #0a2c15;
  --gold:         #D8C384;
  --gold-dark:    #c2a95f;
  --bronze:       #A97E63;
  --ink:          #111111;
  --text:         #6f6f6f;
  --muted:        #8d8d8e;
  --line:         #eaeaea;
  --bg-soft:      #fafafa;
  --white:        #ffffff;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(3, 28, 10, 0.10);
  --shadow-lg: 0 30px 60px rgba(3, 28, 10, 0.16);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ------------------------------- Reset ---------------------------------- */
/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--gold); color: var(--green); padding: 10px 18px; border-radius: 6px;
  font-weight: 700; transition: top 0.25s ease;
}
.skip-link:focus { top: 12px; }

/* Back to top */
#backToTop {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; min-height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(3,28,10,0.3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--transition);
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--gold-dark); }
#backToTop svg { width: 22px; height: 22px; }

/* Tap targets (WCAG 2.5.5) */
button, .btn, input, select, textarea, .nav__menu a { min-height: 44px; }

/* Consent checkbox */
.field--consent { display: flex; align-items: flex-start; gap: 10px; }
.field--consent input { width: auto; min-height: auto; margin-top: 4px; }
.field--consent label { margin: 0; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.86rem; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ----------------------------- Utilities -------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; overflow-x: clip; }
.section--tight { padding: 80px 0; }
.section--dark { background: var(--green); color: rgba(255,255,255,0.75); }
.section--soft { background: var(--bg-soft); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 18px;
}
.section--dark .section-title { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
.section-head { margin-bottom: 60px; position: relative; }
.section-head .section-lead { color: var(--muted); }
.section-head > * { position: relative; z-index: 1; }

/* Large outlined "watermark" section title (Phlox signature look) */
.watermark {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8.5vw, 7rem);
  line-height: 1;
  letter-spacing: 3px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(3, 28, 10, 0.16);
  text-stroke: 1px rgba(3, 28, 10, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section--dark .watermark {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.2);
  text-stroke-color: rgba(255, 255, 255, 0.2);
}
/* Left-aligned watermark for the About text column */
.about__text { position: relative; }
.about__text > * { position: relative; z-index: 1; }
.about__text > .watermark { z-index: 0; left: 0; top: 0; transform: translateY(-38%); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 40px;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(216,195,132,0.4); }
.btn--outline { border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--green); }
.btn--dark { background: var(--green); color: var(--white); }
.btn--dark:hover { background: var(--green-soft); transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }

.link-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link-more:hover { color: var(--gold-dark); gap: 12px; }
.link-more svg { width: 16px; height: 16px; }

/* --------------------------- Header / Nav ------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 18px 0;
}
.site-header.scrolled {
  background: var(--green-90);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 10px 0;
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 62px; width: auto; transition: height var(--transition); }
.site-header.scrolled .nav__logo img { height: 50px; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu a {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__menu a:hover, .nav__menu a.active { color: var(--gold); }
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__social { display: flex; gap: 14px; }
.nav__social a { color: rgba(255,255,255,0.85); display: inline-flex; }
.nav__social a:hover { color: var(--gold); transform: translateY(-2px); }
.nav__social svg { width: 18px; height: 18px; }
.nav__toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; width: 26px; background: var(--white); transition: var(--transition); }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(rgba(3,28,10,0.12) 0%, rgba(3,28,10,0.22) 40%, rgba(3,28,10,0.62) 100%), url("../images/hero.jpg") center/cover no-repeat fixed;
  text-align: left;
  overflow: hidden;
}
.hero__watermark {
  position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(4rem, 18vw, 17rem); line-height: 1;
  letter-spacing: 6px; white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.38);
  text-stroke: 1.5px rgba(255,255,255,0.38);
  pointer-events: none; z-index: 0; user-select: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero p { max-width: 100%; }
.hero__inner { max-width: 100%; min-width: 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.6vw, 4.7rem);
  line-height: 1.12;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
  overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--white); font-style: normal; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.92); max-width: 760px; margin: 0 0 40px; }
.hero__cta { display: flex; gap: 18px; justify-content: flex-start; flex-wrap: wrap; }
/* Phlox-style hero button: bronze square + line + text */
.hero-btn { display: inline-flex; align-items: center; }
.hero-btn__box { width: 58px; height: 58px; background: var(--bronze); flex: none; transition: background var(--transition); }
.hero-btn__line { width: 48px; height: 2px; background: #fff; flex: none; transition: width var(--transition); }
.hero-btn__text { color: #fff; font-family: var(--font-body); font-size: 1.3rem; font-weight: 400; letter-spacing: 0.5px; margin-left: 18px; }
.hero-btn:hover .hero-btn__box { background: var(--gold); }
.hero-btn:hover .hero-btn__line { width: 66px; }
.hero-btn:hover .hero-btn__text { color: var(--gold); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  color: var(--gold); animation: bob 2s ease-in-out infinite;
}
.hero__scroll svg { width: 30px; height: 30px; }
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,10px);} }

/* ------------------------------- About ---------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__grid .about__text { order: 1; }
.about__grid .about__media { order: 2; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about__text .section-lead { margin: 0 0 1.2em; text-align: left; }
.about__mission {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 22px;
  font-style: italic;
  color: var(--ink);
  margin: 26px 0 34px;
}
.stats-band {
  background: linear-gradient(rgba(3,28,10,0.80), rgba(3,28,10,0.86)), url("../images/about-2.jpg") center/cover no-repeat;
  overflow-x: clip;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 62px 24px; text-align: left; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.12); }
.stat__num { font-family: var(--font-body); font-size: clamp(2.3rem, 3.6vw, 3.1rem); font-weight: 800; color: var(--white); line-height: 1; flex: none; }
.stat__text { display: flex; flex-direction: column; }
.stat__label { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.15rem; line-height: 1.2; }
.stat__sub { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ----------------------------- Services --------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--gold); transition: width var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-card__icon {
  width: 68px; height: 68px; border-radius: 14px;
  background: var(--green); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: all var(--transition);
}
.service-card:hover .service-card__icon { background: var(--gold); color: var(--green); }
.service-card__icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 12px; }
.service-card p { font-size: 0.94rem; margin-bottom: 18px; }

/* ------------------------------- Team ----------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.member { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--green); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.member__name { font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.member__role { color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.72rem; margin-bottom: 16px; }
.member__bio { font-size: 0.86rem; text-align: left; max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.member__bio.open { max-height: 1400px; }
.member__toggle { margin-top: auto; padding-top: 14px; color: var(--bronze); font-weight: 700; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; align-self: center; }
.member__toggle:hover { color: var(--gold-dark); }

/* Forms (shared by the contact + apply pages) */
.form { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.5px; }
.field label .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg-soft); transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,195,132,0.25); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; }
.radio-group { display: flex; gap: 26px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-transform: none; letter-spacing: 0; margin: 0; }
.radio-group input { width: auto; }
.form__note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-message { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 0.92rem; display: none; }
.form-message.success { display: block; background: #e8f5ea; color: #1c6b34; border: 1px solid #b6ddc0; }
.form-message.error { display: block; background: #fdecec; color: #a12626; border: 1px solid #f2c2c2; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--green); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 50px; padding-bottom: 56px; }
.footer__brand img { height: 54px; margin-bottom: 20px; }
.footer__brand p { font-family: var(--font-body); font-style: normal; font-size: 1rem; color: rgba(255,255,255,0.72); }
.footer__social { display: flex; gap: 14px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(216,195,132,0.4); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: var(--transition); }
.footer__social a:hover { background: var(--gold); color: var(--green); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 22px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a:hover { color: var(--gold); padding-left: 4px; }
.newsletter p { font-size: 0.92rem; margin-bottom: 18px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; padding: 13px 16px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--white); font-family: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button { flex: none; padding: 13px 22px; border-radius: 40px; background: var(--gold); color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; transition: var(--transition); }
.newsletter button:hover { background: var(--gold-dark); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer__bottom a:hover { color: var(--gold); }
.footer__legal { display: flex; gap: 24px; }

/* --------------------------- Page hero (subpages) ----------------------- */
.page-hero {
  background: linear-gradient(var(--green-70), rgba(3,28,10,0.9)), url("../images/hero.jpg") center/cover no-repeat;
  color: var(--white); text-align: center; padding: 180px 0 90px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); }
.page-hero .crumbs { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.page-hero .crumbs a:hover { color: var(--white); }

/* Legal / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; color: var(--ink); margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--bronze); text-decoration: underline; }

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); color: var(--gold); line-height: 1; }

/* --------------------------- Scroll reveal ------------------------------ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ------------------- Left-aligned section titles ------------------------ */
.section-head--left { text-align: left; margin-bottom: 40px; }
.section-head--left .watermark { left: 0; transform: translate(0, -50%); }
.section-head--left .section-title { max-width: 640px; }

/* ------------------- Services: bg image on hover ------------------------ */
.service-card { overflow: hidden; }
.service-card > * { position: relative; z-index: 1; }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.cards .service-card:nth-child(1)::before { background-image: linear-gradient(rgba(3,28,10,0.42),rgba(3,28,10,0.55)), url("../images/service-1.jpg"); }
.cards .service-card:nth-child(2)::before { background-image: linear-gradient(rgba(3,28,10,0.42),rgba(3,28,10,0.55)), url("../images/service-2.jpg"); }
.cards .service-card:nth-child(3)::before { background-image: linear-gradient(rgba(3,28,10,0.42),rgba(3,28,10,0.55)), url("../images/service-3.jpg"); }
.cards .service-card:nth-child(4)::before { background-image: linear-gradient(rgba(3,28,10,0.42),rgba(3,28,10,0.55)), url("../images/service-4.jpg"); }
.service-card:hover h3, .service-card:hover p { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.service-card:hover .link-more { color: var(--gold); text-shadow: 0 1px 6px rgba(0,0,0,0.45); }

/* --------------------------- Careers ------------------------------------ */
.careers__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.careers__intro > p { color: var(--text); margin: 0 0 28px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item.open { background: var(--green); border-radius: var(--radius); border-bottom: 0; margin: 10px 0; box-shadow: var(--shadow); }
.accordion__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink);
}
.accordion__item.open .accordion__q { color: #fff; }
.accordion__chev { flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--transition); margin-top: -6px; }
.accordion__item.open .accordion__chev { transform: rotate(-135deg); margin-top: 4px; }
.accordion__a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion__a p { padding: 0 28px 26px; margin: 0; color: rgba(255,255,255,0.72); }

/* --------------------------- Contact ------------------------------------ */
.contact__top { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.contact__headcol { margin-bottom: 0; }
.contact__detail { position: relative; padding-left: 32px; }
.contact__detail p { margin: 0; color: var(--ink); line-height: 1.9; }
.contact__detail a:hover { color: var(--gold-dark); }
.vdiv { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 96px; background: rgba(3,28,10,0.22); }
.vdiv::before, .vdiv::after { content: ""; position: absolute; left: 50%; width: 7px; height: 7px; background: var(--green); transform: translateX(-50%) rotate(45deg); }
.vdiv::before { top: -3px; }
.vdiv::after { bottom: -3px; }
.contact-form__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 20px 22px; border: 0; background: #f2f2f2; font-family: inherit; font-size: 0.98rem; color: var(--ink); border-radius: 2px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8a8a8a; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.contact-form textarea { min-height: 300px; resize: vertical; margin-bottom: 24px; display: block; }
.contact-form__submit { display: flex; justify-content: flex-end; }

/* --------------------------- Team bio modal ----------------------------- */
.member__bio { display: none; }
.member__more { margin-top: auto; padding-top: 14px; color: var(--bronze); font-weight: 700; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; align-self: center; background: none; }
.member__more:hover { color: var(--gold-dark); }
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3,28,10,0.72); }
.modal__dialog { position: relative; z-index: 1; background: #fff; max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 14px; right: 20px; font-size: 2rem; line-height: 1; color: var(--muted); background: none; }
.modal__close:hover { color: var(--ink); }
.modal__head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.modal__head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.modal__name { margin: 0; font-size: 1.5rem; color: var(--ink); }
.modal__body { color: var(--text); font-size: 0.95rem; line-height: 1.8; }

/* --------------------------- Footer (match) ----------------------------- */
.site-footer { background: #000; }
.footer__grid { grid-template-columns: 1.3fr 1.2fr 1.3fr; }
.footer__social a { border: 0; width: auto; height: auto; }
.footer__social a:hover { background: none; transform: translateY(-2px); color: var(--gold); }
.footer__nav .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.newsletter form { display: flex; gap: 0; }
.newsletter input { border-radius: 0; background: #141414; border: 0; }
.newsletter button { border-radius: 0; background: #1f1f1f; color: #fff; }
.newsletter button:hover { background: var(--gold); color: var(--green); }
.newsletter > p { margin: 18px 0 0; color: rgba(255,255,255,0.45); font-size: 0.9rem; }
.footer__bottom { justify-content: flex-start; }
.footer__legal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,0.55); }
.footer__legal .sep { opacity: 0.5; }
.footer__copy { margin-left: 20px; }

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav__menu, .nav__social { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-90); padding: 24px; gap: 18px; backdrop-filter: blur(8px);
  }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; padding: 34px 24px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .hero { background-attachment: scroll; text-align: center; }
  .hero__inner { max-width: 100%; margin: 0 auto; }
  .hero__cta { justify-content: center; }
}
@media (max-width: 620px) {
  .cards, .team-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .newsletter form { flex-direction: column; }
  .newsletter button { width: 100%; }
  .hero__inner { padding: 120px 20px 70px; }
  .hero h1 { font-size: 1.9rem; line-height: 1.18; }
  .hero p { font-size: 1rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 280px; justify-content: center; }
  .about__media::before { display: none; }
  .form { padding: 28px 20px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.85rem; }
}

/* -------- Responsive: new components -------- */
@media (max-width: 860px) {
  .careers__layout { grid-template-columns: 1fr; gap: 36px; }
  .contact__top { grid-template-columns: 1fr; gap: 30px; }
  .contact__detail { padding-left: 0; }
  .vdiv { display: none; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form textarea { min-height: 200px; }
  .footer__nav .footer__links { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__copy { margin-left: 0; }
}
