/* =====================================================================
   SocialEdge — THEME (Bootstrap 5.3 re-skin)
   ---------------------------------------------------------------------
   Load order (see includes/header.php):
     1. bootstrap.min.css   — framework: Reboot + grid + components + utilities
     2. fonts.css           — self-hosted Bricolage / Newsreader / Figtree
     3. theme.css           — THIS FILE: brand palette + signature components

   HOW THIS WORKS (for the team):
   - The brand palette is injected into Bootstrap's own CSS variables
     (--bs-*), so every Bootstrap button/card/link/badge/form already
     wears the SocialEdge colours. No component rewrites needed.
   - Layout is 100% Bootstrap grid (.container / .row / .col-*) in the
     .php files. There is NO custom grid CSS and NO compat shim.
   - The distinctive pieces Bootstrap doesn't ship (.hero, .kicker,
     .impact, .value-card, .person, the anchor carousel/modal, etc.)
     live below with unique class names, so they never fight Bootstrap.
   ===================================================================== */

/* ---------- 1. Brand tokens ---------- */
:root {
  --ink:        #0b1a16;
  --ink-2:      #112621;
  --pine:       #0e463c;
  --pine-soft:  #1b6353;
  --paper:      #f4f3ec;
  --paper-2:    #e9e7dc;
  --paper-3:    #dedccf;
  --edge:       #c8e85a;
  --edge-deep:  #8aab2e;
  --brand-blue: #1b4f9c;
  --ink-text:   #14241f;
  --soft-text:  #4b5b53;
  --paper-text: #eef0e6;
  --paper-mute: #9fb1a6;
  --line:       rgba(14,70,60,.16);
  --line-dark:  rgba(200,232,90,.18);
  --shadow:     0 30px 60px -32px rgba(8,24,20,.5);
  --r:          14px;
  --r-lg:       22px;
  --fdisp: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --fserif:"Newsreader", Georgia, serif;
  --fbody: "Figtree", system-ui, sans-serif;
  --maxw: 1200px;

  /* ---------- 2. Map the brand INTO Bootstrap's variables ---------- */
  --bs-body-bg:            var(--paper);
  --bs-body-color:         var(--ink-text);
  --bs-body-font-family:   var(--fbody);
  --bs-body-font-size:     1rem;
  --bs-body-line-height:   1.62;
  --bs-emphasis-color:     var(--ink);
  --bs-secondary-color:    var(--soft-text);

  --bs-primary:           #0e463c;   /* deep pine */
  --bs-primary-rgb:       14,70,60;
  --bs-secondary:         #8aab2e;   /* edge-deep */
  --bs-secondary-rgb:     138,171,46;

  --bs-link-color:        var(--pine);
  --bs-link-color-rgb:    14,70,60;
  --bs-link-hover-color:  var(--edge-deep);
  --bs-link-hover-color-rgb: 138,171,46;

  --bs-border-color:      var(--line);
  --bs-border-radius:     14px;
  --bs-border-radius-sm:  10px;
  --bs-border-radius-lg:  22px;
  --bs-border-radius-xl:  28px;

  --bs-heading-color:     var(--ink);
  --bs-emphasis-color-rgb: 11,26,22;
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; font-size: 112.5%; }        /* SocialEdge type scale */
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Editorial baseline: the signature components set their own spacing,
   so keep headings/paragraphs/lists at zero default margin. */
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--fdisp); line-height: 1.08; font-weight: 700; }

::selection { background: var(--edge); color: var(--ink); }
img { max-width: 100%; height: auto; }

/* Comfortable reading measure — match the original 1200px shell */
@media (min-width: 1200px) {
  .container, .container-sm, .container-md,
  .container-lg, .container-xl, .container-xxl { max-width: 1300px; }
}

/* ---------- 4. Buttons (Bootstrap .btn, SocialEdge skins via --bs-btn-*) ---------- */
.btn {
  --bs-btn-font-family: var(--fbody);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 40px;             /* pill */
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.7rem;
  --bs-btn-font-size: 0.98rem;
  letter-spacing: .01em;
}
.btn .arr { transition: transform .2s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

/* Chartreuse signal button (primary CTA on dark) */
.btn-edge {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--edge);
  --bs-btn-border-color: var(--edge);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #d6f072;
  --bs-btn-hover-border-color: #d6f072;
  --bs-btn-active-bg: #bcdd4c;
  --bs-btn-active-border-color: #bcdd4c;
}

/* Deep-ink button (primary CTA on light) */
.btn-ink {
  --bs-btn-color: var(--paper-text);
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: var(--paper-text);
  --bs-btn-hover-bg: var(--pine);
  --bs-btn-hover-border-color: var(--pine);
  --bs-btn-active-bg: var(--pine);
}
.btn-ink .arr { color: var(--edge); }

/* Ghost / outline on light */
.btn-ghost {
  --bs-btn-color: var(--ink-text);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: rgba(14,70,60,.06);
  --bs-btn-hover-border-color: var(--pine);
}

/* Ghost / outline on dark sections */
.btn-ghost-light {
  --bs-btn-color: var(--paper-text);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(238,240,230,.35);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--edge);
  --bs-btn-hover-border-color: var(--edge);
}

/* ---------- 5. Impact band dividers (kept as a signature touch) ---------- */
@media (min-width: 992px) {
  .impact .col-impact:not(:last-child) .impact-cell {
    border-right: 1px solid var(--line-dark);
  }
}

/* =====================================================================
   Below: SocialEdge signature components (carried over unchanged from the
   original design system — unique class names, no Bootstrap collisions).
   ===================================================================== */
/* =====================================================================
   SocialEdge — Design System
   Direction: deep-pine editorial. Dominant ink + pine greens, warm
   off-white paper, a single chartreuse "edge" signal accent used with
   restraint. Display: Bricolage Grotesque. Editorial: Newsreader serif.
   Body/UI: Figtree.
   ===================================================================== */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--edge);
  padding: 10px 16px;
  z-index: 200;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

/* subtle grain so flat areas have life */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================= TYPOGRAPHY HELPERS ================= */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--fdisp);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fbody);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--edge-deep);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--edge-deep);
}
.lead {
  font-family: var(--fserif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-text);
}
.lead em {
  font-style: italic;
}
.serif {
  font-family: var(--fserif);
}

/* ================= BRAND MARK ================= */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

/* Mobile */
@media (max-width: 767.98px) {
  .brand {
    gap: 5px;
  }
}
.brand-mark {
  position: relative;
  width: 45px;
  height: 65px;
  /*border-radius: 12px;
  background: var(--pine);
  color: var(--paper-text);*/
  display: grid;
  place-items: center;
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  flex: none;
}
.brand-mark.big {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
  background: transparent;
  border: 1.5px solid var(--line-dark);
  color: var(--edge);
}
.brand-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--edge);
}
.brand-text b {
  display: block;
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink-text);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-text span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-text);
  font-weight: 500;
  margin-top: 3px;
}

/* ================= SECTION SHELL ================= */
.section {
  padding: clamp(64px, 9vw, 116px) 0;
}
.section.tight {
  padding: clamp(48px, 6vw, 76px) 0;
}
.sec-head {
  max-width: 64ch;
  margin-bottom: 52px;
}
.sec-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-top: 16px;
}
.sec-head p {
  color: var(--soft-text);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 60ch;
}

/* dark section variant */
.on-ink {
  background: var(--ink);
  color: var(--paper-text);
}
.on-ink h1,
.on-ink h2,
.on-ink h3,
.on-ink h4,
.on-ink h5 {
  color: var(--paper-text);
}
.on-ink .kicker {
  color: var(--edge);
}
.on-ink .kicker::before {
  background: var(--edge);
}
.on-ink .sec-head p {
  color: var(--paper-mute);
}
.on-ink .lead {
  color: var(--paper-text);
}

/* reveal animation */
[data-fade] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-fade].in {
  opacity: 1;
  transform: none;
}

/* ================= HERO ================= */
.hero {
  background: var(--ink);
  color: var(--paper-text);
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 128px) 0 clamp(60px, 8vw, 104px);
}
.hero::after {
  content: "";
  position: absolute;
  right: -15%;
  top: -20%;
  width: 65%;
  height: 140%;
  z-index: 0;
  background: radial-gradient(
      circle at 60% 40%,
      rgba(27, 99, 83, 0.5),
      transparent 60%
    ),
    radial-gradient(circle at 70% 75%, rgba(200, 232, 90, 0.1), transparent 55%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edge);
  border: 1px solid var(--line-dark);
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.hero-tag .edge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edge);
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--paper-text);
}
.hero h1 .u {
  position: relative;
  white-space: nowrap;
}
.hero h1 .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: var(--edge);
  border-radius: 2px;
}
.hero p.lead {
  color: var(--paper-text);
  max-width: 56ch;
  margin-top: 28px;
  opacity: 0.92;
}
.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ================= IMPACT BAND ================= */
.impact {
  background: var(--ink-2);
  color: var(--paper-text);
  border-top: 1px solid var(--line-dark);
}
.impact-cell {
  padding: 46px 30px;
  border-right: 1px solid var(--line-dark);
}
.impact-cell:last-child {
  border-right: 0;
}
.impact-cell .fig {
  font-family: var(--fdisp);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--edge);
  line-height: 1;
  letter-spacing: -0.02em;
}
.impact-cell .unit {
  font-family: var(--fdisp);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 8px;
  color: var(--paper-text);
}
.impact-cell .note {
  font-size: 0.88rem;
  color: var(--paper-mute);
  margin-top: 8px;
  line-height: 1.45;
}

/* ================= VALUE / FEATURE GRID ================= */
.se-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: 0.3s;
  text-decoration:none !important;
}
.se-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.se-tile .n {
  font-family: var(--fdisp);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--edge-deep);
  letter-spacing: 0.04em;
}
.se-tile h3 {
  font-size: 1.4rem;
  margin: 10px 0 10px;
}
.se-tile p {
  color: var(--soft-text);
  font-size: 0.97rem;
  margin-top:20px;
}

.value-card {
  background: var(--paper-2);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  border-top: 4px solid var(--pine);
  transition: 0.3s;
}
.value-card:hover {
  border-top-color: var(--edge);
  transform: translateY(-5px);
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--soft-text);
  font-size: 0.97rem;
}

/* ================= SPLIT / EDITORIAL ================= */
.statement {
  font-family: var(--fserif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.statement em {
  font-style: italic;
  color: var(--edge-deep);
}
.on-ink .statement em {
  color: var(--edge);
}

/* pull panel */
.panel {
  background: var(--pine);
  color: var(--paper-text);
  border-radius: var(--r-lg);
  padding: clamp(34px, 4vw, 56px);
}
.panel h3 {
  color: var(--paper-text);
}
.panel.legacy .legacy-row {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(238, 240, 230, 0.14);
}
.panel.legacy .legacy-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.panel.legacy .lf {
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--edge);
  flex: none;
  min-width: 170px;
  line-height: 1;
}
.panel.legacy .ln {
  color: var(--paper-text);
  opacity: 0.92;
  font-size: 1rem;
}

/* ================= VERTICALS ================= */
.vert {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) 0;
}
.vert-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.vert-no {
  font-family: var(--fdisp);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--paper-3);
  line-height: 0.8;
  letter-spacing: -0.03em;
}
.vert-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.vert-body .v-intro {
  color: var(--soft-text);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 64ch;
}
.vert-areas {
  list-style: none;
  display: grid;
  gap: 0;
}
.vert-areas li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-size: 0.97rem;
}
.vert-areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 2px;
  background: var(--edge-deep);
}
.vert-people h5 {
  font-family: var(--fbody);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin: 0 0 12px;
}
.vert-people .pp-block {
  margin-bottom: 24px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.84rem;
  color: var(--ink-text);
}
.chip.anchor {
  background: var(--pine);
  color: var(--paper-text);
  border-color: var(--pine);
}

/* ================= SERVICES ================= */
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 50px;
}
.svc-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}
.svc-item:hover {
  padding-left: 10px;
}
.svc-item .si-no {
  font-family: var(--fdisp);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--edge-deep);
  flex: none;
  min-width: 32px;
}
.svc-item .si-name {
  font-family: var(--fdisp);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-text);
}

/* ================= PEOPLE ================= */
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  transition: 0.3s;
}
.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.person .ava {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--pine);
  color: var(--edge);
  display: grid;
  place-items: center;
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.person h3 {
  font-size: 1.35rem;
}
.person .role {
  color: var(--edge-deep);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 4px;
}
.person .focus {
  color: var(--soft-text);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--fserif);
  margin-top: 6px;
}
.person .bio {
  color: var(--soft-text);
  font-size: 0.94rem;
  margin-top: 16px;
}
.person.is-placeholder {
  border-style: dashed;
  background: transparent;
}
.person.is-placeholder .ava {
  background: var(--paper-2);
  color: var(--soft-text);
}
.ph-note {
  font-size: 0.8rem;
  color: var(--edge-deep);
  margin-top: 10px;
  font-weight: 500;
}

/* ================= COLLABORATORS ================= */
.collab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  padding: clamp(34px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.collab .c-meta {
  min-width: 210px;
}
.collab .c-meta h3 {
  font-size: 1.55rem;
}
.collab .c-meta .c-year {
  display: inline-block;
  font-family: var(--fdisp);
  font-weight: 700;
  color: var(--edge-deep);
  font-size: 0.9rem;
  margin-top: 6px;
}
.collab .c-meta dl {
  margin-top: 18px;
  font-size: 0.88rem;
}
.collab .c-meta dt {
  color: var(--soft-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  margin-top: 12px;
}
.collab .c-meta dd {
  color: var(--ink-text);
  font-weight: 500;
}
.collab .c-body p {
  color: var(--soft-text);
}
.collab .c-position {
  margin-top: 16px;
  font-family: var(--fserif);
  font-style: italic;
  color: var(--ink-text);
  border-left: 3px solid var(--edge);
  padding-left: 18px;
}

/* ================= PROJECTS ================= */
.project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: 0.3s;
}
.project:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.project .p-theme {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-deep);
}
.project h3 {
  font-size: 1.45rem;
  margin: 12px 0 18px;
  max-width: 30ch;
}
.project .p-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project .p-meta div {
  font-size: 0.9rem;
}
.project .p-meta span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-text);
}
.project .p-meta b {
  font-weight: 600;
  color: var(--ink-text);
}
.project .p-sum {
  color: var(--soft-text);
  font-size: 0.97rem;
  margin-top: 18px;
}

/* ================= KNOWLEDGE HUB / SOON ================= */
.kms-card {
  background: var(--ink);
  color: var(--paper-text);
  border-radius: var(--r-lg);
  padding: 40px;
  border: 1px solid var(--line-dark);
}
.kms-card .lock {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 232, 90, 0.14);
  color: var(--edge);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.kms-feature {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.kms-feature:last-child {
  border-bottom: 0;
}
.kms-feature .kf-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--pine);
  display: grid;
  place-items: center;
  font-family: var(--fdisp);
  font-weight: 700;
}
.kms-feature h4 {
  font-size: 1.1rem;
}
.kms-feature p {
  color: var(--soft-text);
  font-size: 0.92rem;
}
.soon-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--edge-deep);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 30px;
}
.soon-banner::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--edge-deep);
}

/* generic "coming soon" page */
.empty-state {
  text-align: center;
  max-width: 54ch;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) 0;
}
.empty-state .es-mark {
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 3rem;
  color: var(--paper-3);
}
.empty-state h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 14px 0 18px;
}
.empty-state p {
  color: var(--soft-text);
  font-size: 1.08rem;
}
.dev-note {
  margin-top: 30px;
  text-align: left;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 22px 26px;
  font-size: 0.92rem;
  color: var(--soft-text);
}
.dev-note b {
  color: var(--ink-text);
}

/* ================= CTA BAND ================= */
.cta-band {
  background: var(--edge);
  color: var(--ink);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 20ch;
  margin: 0 auto;
  color: var(--ink);
}
.cta-band p {
  max-width: 52ch;
  margin: 18px auto 32px;
  font-size: 1.1rem;
  color: var(--ink);
  opacity: 0.78;
}
.cta-band .btn-primary {
  background: var(--ink);
}
.cta-band .btn-primary:hover {
  background: var(--pine);
}

/* ================= CONTACT / FORM ================= */
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--fbody);
  font-size: 1rem;
  color: var(--ink-text);
  transition: 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--pine);
  box-shadow: 0 0 0 4px rgba(14, 70, 60, 0.1);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child {
  border-bottom: 0;
}
.contact-detail .cd-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--paper-2);
  color: var(--pine);
  display: grid;
  place-items: center;
  font-family: var(--fdisp);
  font-weight: 700;
}
.contact-detail span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-text);
  display: block;
}


.contact-detail a{
    text-decoration: none !important;
}

.contact-detail b {
  font-weight: 500;
  color: var(--ink-text);
}
.flash {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.flash.ok {
  background: rgba(200, 232, 90, 0.18);
  border: 1px solid var(--edge-deep);
  color: var(--ink-text);
}
.flash.err {
  background: #fbeaea;
  border: 1px solid #d97070;
  color: #7a1f1f;
}

/* ================= ADMIN (KMS skeleton) ================= */
.admin-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--ink);
  padding: 40px 20px;
}
.admin-card {
  width: min(420px, 100%);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow);
}
.admin-card .brand-mark {
  margin-bottom: 22px;
}
.admin-card h1 {
  font-size: 1.7rem;
}
.admin-card p.sub {
  color: var(--soft-text);
  margin: 6px 0 26px;
  font-size: 0.95rem;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-side {
  background: var(--ink);
  color: var(--paper-text);
  padding: 30px 24px;
}
.admin-side h2 {
  color: var(--paper-text);
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.admin-side a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--paper-mute);
  font-size: 0.93rem;
  margin-bottom: 4px;
}
.admin-side a:hover,
.admin-side a.active {
  background: var(--ink-2);
  color: var(--edge);
}
.admin-main {
  padding: 40px;
  background: var(--paper);
}
.admin-main .stub {
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 30px;
  color: var(--soft-text);
}

/* ================= PAGE HEADER (interior pages) ================= */
.page-head {
  background: var(--ink);
  color: var(--paper-text);
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  height: 160%;
  background: radial-gradient(
    circle at 60% 50%,
    rgba(27, 99, 83, 0.45),
    transparent 62%
  );
}
.page-head .container {
  position: relative;
  z-index: 1;
}
.page-head h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 700;
  color: var(--paper-text);
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.page-head p {
  color: var(--paper-text);
  opacity: 0.9;
  max-width: 58ch;
  margin-top: 20px;
  font-family: var(--fserif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--edge);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.crumbs a {
  opacity: 0.8;
}
.crumbs a:hover {
  opacity: 1;
}

/* ================= RESPONSIVE (component tweaks only; page layout = Bootstrap grid) ================= */
@media (max-width: 768px) {
  .collab,
  .vert-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .collab .c-meta { min-width: 0; }
  .svc-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-fade] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ================= SITE FOOTER ================= */
.site-footer {
  background: var(--ink);
  color: var(--paper-text);
  padding: clamp(56px, 7vw, 88px) 0 32px;
}
.foot-brand .brand-mark.big {
  margin-bottom: 18px;
}
.foot-tag {
  font-family: var(--fserif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--paper-text);
  max-width: 30ch;
}
.foot-parent {
  color: var(--paper-mute);
  font-size: 0.9rem;
  margin-top: 8px;
}
.foot-col h5 {
  font-family: var(--fbody);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--edge);
  margin-bottom: 16px;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.foot-col a {
  color: var(--paper-mute);
  font-size: 0.95rem;
  transition: color 0.2s;
  text-decoration:none !important;
}
.foot-col a:hover {
  color: var(--edge);
}
.foot-contact li {
  color: var(--paper-mute);
  font-size: 0.95rem;
  line-height: 1.5;
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  color: var(--paper-mute);
  font-size: 0.85rem;
}
.foot-edge {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.04em;
}
.foot-edge .edge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edge);
  display: inline-block;
}

@media (max-width: 880px) {
  
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----- avatar / people photo support ----- */
.ava {
  overflow: hidden;
}
.ava.has-photo {
  padding: 0;
  background: var(--paper-2);
}
.ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person .ava {
  width: 84px;
  height: 84px;
} /* a touch larger to suit real photos */

/* ----- SocialEdge wordmark ----- */
.brand-text b.wordmark {
  color: #141414;
}
.brand-text b.wordmark .bl {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  margin: 0;
  color: var(--brand-blue);
}

/* =====================================================================
   CORE ANCHORS — carousel of profile cards + modal
   (verticals.php). Interactive behaviour is Bootstrap 5.3 (Carousel +
   Modal); the visual design below stays in the SocialEdge system.
   ===================================================================== */
.vert-anchors {
  min-width: 0;
}
.anchors-label {
  font-family: var(--fbody);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin: 0 0 16px;
}

/* ---- carousel shell ---- */
.anchor-carousel {
  position: relative;
  max-width: 380px;
}
.anchor-carousel .carousel-item {
  transition: transform 0.5s ease, opacity 0.4s ease;
}

/* ---- the profile card ---- */
.anchor-card {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(200,232,90,0.14), transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 58px;
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 22px 40px -30px rgba(8, 24, 20, 0.45);
}
.anchor-photo-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--pine);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--edge);
  margin-bottom: 16px;
}
.anchor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.anchor-mono {
  font-family: var(--fdisp);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--edge);
  line-height: 1;
}
.anchor-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink-text);
}
.anchor-role {
  color: var(--edge-deep);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 6px 0 0;
}
.anchor-brief {
  color: var(--soft-text);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 12px 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-anchor-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper-text);
  border: 0;
  border-radius: 30px;
  padding: 10px 22px;
  font-family: var(--fbody);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-anchor-more:hover {
  background: var(--pine);
  transform: translateY(-1px);
}
.btn-anchor-more .arr {
  color: var(--edge);
  transition: transform 0.2s;
}
.btn-anchor-more:hover .arr {
  transform: translateX(3px);
}

/* ---- indicators (dots) — pinned inside the card footer ---- */
.anchor-carousel .anchor-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  gap: 7px;
}
.anchor-carousel .anchor-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 0;
  opacity: 1;
  transition: width 0.25s, background 0.25s;
  text-indent: 0;
}
.anchor-carousel .anchor-dots button.active {
  background: var(--pine);
  width: 22px;
  border-radius: 4px;
}

/* ---- prev / next controls — inset so they never overflow the column ---- */
.anchor-ctrl {
  position: absolute;
  top: 46px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--pine);
  color: var(--edge);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 3;
}
.anchor-ctrl span[aria-hidden] { margin-top: -3px; }
.anchor-ctrl:hover { opacity: 1; transform: scale(1.06); }
.anchor-ctrl.prev { left: 4px; }
.anchor-ctrl.next { right: 4px; }

/* =====================================================================
   ANCHOR MODAL (Bootstrap modal, SocialEdge skin)
   ===================================================================== */
.anchor-modal-content {
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.anchor-modal-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding: 24px 28px;
  align-items: center;
}
.anchor-modal-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.anchor-modal-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--pine);
  box-shadow: 0 0 0 2px var(--edge);
}
.anchor-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anchor-modal-avatar .anchor-mono {
  font-size: 1.5rem;
}
.anchor-modal-header .modal-title {
  color: var(--paper-text);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.anchor-modal-role {
  color: var(--paper-mute);
  font-size: 0.86rem;
  font-weight: 500;
  margin: 5px 0 0;
}
.anchor-modal-header .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.65;
  flex: none;
}
.anchor-modal-header .btn-close:hover { opacity: 1; }
.anchor-modal-body {
  padding: 26px 28px 30px;
  background: var(--paper);
}
.anchor-modal-body p {
  color: var(--ink-text);
  font-size: 0.98rem;
  line-height: 1.7;
}
.anchor-modal-body p + p { margin-top: 16px; }

/* ---- responsive: full-width carousel below the areas on narrow screens ---- */
@media (max-width: 1000px) {
  .anchor-carousel { max-width: 420px; }
}
@media (max-width: 560px) {
  .anchor-carousel { max-width: 100%; }
  .anchor-ctrl.prev { left: -2px; }
  .anchor-ctrl.next { right: -2px; }
}

/* ================= NAVBAR (Bootstrap navbar, SocialEdge skin) ================= */
.site-header {
  background: rgba(244, 243, 236, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-block: .5rem;
  z-index: 100;
}
.site-header .navbar-brand { padding: 0; margin: 0; }
.site-header .nav-link {
  font-family: var(--fbody);
  font-weight: 600;
  color: var(--ink-text);
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: 18px;
  margin-right:10px;

}
.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--pine); }
.site-header .nav-item.active > .nav-link,
.site-header .nav-link.active { color: var(--pine); font-weight: 600; }
.site-header .dropdown-menu {
  --bs-dropdown-link-hover-bg: rgba(14,70,60,.06);
  --bs-dropdown-link-active-bg: rgba(14,70,60,.08);
  --bs-dropdown-link-active-color: var(--pine);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 300px;
}
.site-header .dropdown-item {
  border-radius: 10px;
  padding: 10px 12px;
  white-space: normal;
}

/* Desktop: Open dropdown on hover */
@media (min-width: 992px) {
  .site-header .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }

  .site-header .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .site-header .dropdown-toggle::after {
    transition: transform .25s ease;
  }

  .site-header .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}
.site-header .dropdown-item b { display: block; font-weight: 600; color: var(--ink-text); font-size: .98rem; }
.site-header .dropdown-item span { display: block; color: var(--soft-text); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.site-header .dropdown-item .soon-tag {
  display: inline-block; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--edge); color: var(--ink); padding: 1px 7px; border-radius: 20px; margin-left: 6px; font-weight: 700;
}
.site-header .dropdown-item.is-soon { opacity: .75; }
.navbar-toggler { border-color: var(--line); padding: .35rem .5rem; font-size:18px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(14,70,60,.15); }



/* Mobile */
@media (max-width: 767.98px) {
	
	.navbar-nav {
		margin-top:20px;
	}
	
	.nav-item{
		margin-bottom:20px;
	}
	
	.btn-ink{
		margin-bottom:30px;
	}
	
	.edge-dot{
		margin-left:0px !important;
	}
	
	.site-footer {
		padding-top: 50px !important;
		padding-right: 10px !important;
		padding-bottom: 50px !important;
		padding-left: 10px !important;
	}
	
	.brand-text .large_text {
       display: none !important;
	}
	
	.btn-ghost{
		color: #fff !important;
		background-color: #000 !important;
		
	}
	
}


.site-header .nav-link {
   font-family:  "Poppins", sans-serif !important; 
   font-size:16px !important; 
   font-weight:600 !important;
}


.site-header .dropdown-item b{
	   font-family:  "Poppins", sans-serif !important; 
	   font-size:16px !important; 
	   font-weight:600 !important;
}

.edge-dot{
	margin-left:30px;
}
	
.crumbs a{
	color: #c8e85a !important;
	text-decoration: none !important;
}

.btn-ghost{
	color: #fff !important;
	background-color: #000 !important;
	
}

.project h3 {
	line-height:35px !important;
}

