:root {
  --bg: #050906;
  --bg2: #08110b;
  --panel: rgba(9, 19, 12, .88);
  --panel2: rgba(12, 27, 17, .7);
  --text: #d9f6df;
  --muted: #82a78b;
  --green: #76f39a;
  --green2: #b9ffd0;
  --amber: #ffd578;
  --line: rgba(118, 243, 154, .22);
  --danger: #ff8f7d;
  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --radius: 14px;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(60, 180, 90, .10), transparent 34rem),
    linear-gradient(180deg, var(--bg2), var(--bg));
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.68;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.015), rgba(255,255,255,0));
  z-index: 10;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: .11;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.035) 4px);
}

::selection { background: var(--green); color: #001b08; }
a { color: var(--green2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: white; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  background: var(--green);
  color: #031107;
  padding: .7rem 1rem;
  z-index: 999;
  border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: .85rem clamp(1rem, 4vw, 4rem);
  background: rgba(4, 8, 5, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: .06em;
}

.brandline, nav { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.brand { color: white; font-weight: 800; text-decoration: none; letter-spacing: .12em; }
.sep { color: #496653; }
.status-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--green); }

main, footer { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.hero { padding: clamp(4rem, 9vw, 8rem) 0 3rem; }
.section { padding: clamp(3.6rem, 8vw, 7rem) 0 0; scroll-margin-top: 5rem; }

.terminal-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(5, 12, 7, .86);
  box-shadow: var(--shadow), 0 0 80px rgba(60, 185, 90, .06) inset;
}
.window-bar {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #0b120d;
  color: #799483;
  font-size: .75rem;
}
.window-bar span { width: .68rem; height: .68rem; border-radius: 50%; border: 1px solid #46664e; }
.window-bar strong { margin-left: .4rem; font-weight: 500; }
.terminal-body { padding: clamp(1.25rem, 4vw, 3.4rem); }

.prompt { color: #71977b; font-size: .85rem; margin: 0 0 1rem; }
.prompt span:first-child { color: var(--green); }
.prompt span:nth-child(2) { color: var(--amber); }

h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 {
  margin-bottom: .8rem;
  color: #effff3;
  font-size: clamp(2.3rem, 8vw, 5.8rem);
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 0 34px rgba(118,243,154,.08);
}
h2 {
  color: #e9ffef;
  font-size: clamp(1.65rem, 4vw, 3rem);
  letter-spacing: -.025em;
}
h3 { color: var(--green2); font-size: 1rem; letter-spacing: .025em; }
.role {
  color: var(--green);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  font-weight: 700;
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.intro { max-width: 930px; color: #b7d4bf; font-size: clamp(.98rem, 2vw, 1.12rem); }
.intro strong { color: #f1fff5; }

.cmd-output {
  margin: 2rem 0;
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  display: grid;
  gap: .45rem;
  font-size: .9rem;
}
.cmd-output > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.key { color: #65806d; }
.value { color: #cce9d3; }
.ok { color: var(--green); }

.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn {
  appearance: none;
  font: inherit;
  font-size: .86rem;
  border: 1px solid rgba(118,243,154,.32);
  color: var(--green2);
  background: #0a140d;
  text-decoration: none;
  padding: .82rem 1rem;
  border-radius: .35rem;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-1px); background: #0f1f14; border-color: rgba(118,243,154,.66); color: white; }
.btn.primary { background: var(--green); color: #031107; border-color: var(--green); font-weight: 800; }
.btn.primary:hover { background: #a3ffbb; }

.section-head { margin-bottom: 1.4rem; }
.section-intro { color: var(--muted); max-width: 850px; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.panel, .skill-card, .project {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5, 12, 7, .82));
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
}
.panel { padding: 1.4rem; border-radius: .7rem; }
.panel p { margin-bottom: 0; color: #acc8b4; }
.panel.compact { min-height: 190px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.skill-card { padding: 1.5rem; border-radius: .7rem; }
ul { padding-left: 1.25rem; margin-bottom: 0; }
li { margin: .45rem 0; color: #b5cfbc; }
li::marker { color: var(--green); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.tag-cloud span {
  border: 1px solid rgba(118,243,154,.18);
  color: #83a98d;
  padding: .34rem .52rem;
  background: rgba(8, 18, 11, .85);
  font-size: .73rem;
}

.projects { display: grid; gap: 1rem; }
.project { padding: clamp(1.2rem, 3vw, 2rem); border-radius: .7rem; position: relative; overflow: hidden; }
.project::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(118,243,154,.08);
  transform: rotate(45deg);
}
.project-meta { display: flex; justify-content: space-between; gap: 1rem; color: #63836c; font-size: .72rem; margin-bottom: .8rem; }
.project p { color: #b9d2c0; max-width: 920px; }
dl { margin: 1rem 0 0; }
dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; border-top: 1px dashed rgba(118,243,154,.14); padding: .55rem 0; }
dt { color: #617e68; }
dd { margin: 0; color: #d8eddd; }

.eyebrow {
  margin: 0 0 .7rem !important;
  color: #66846f !important;
  font-size: .72rem;
  letter-spacing: .07em;
}
.media-card { min-height: 100%; }
.media-card dl { margin-top: 1.2rem; }
.media-card dl div { grid-template-columns: 6rem 1fr; }




.worldmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .9fr);
  gap: 1rem;
  align-items: start;
}
.map-panel, .map-list { min-height: 100%; }
.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #6c8a74;
  font-size: .72rem;
  letter-spacing: .06em;
  margin-bottom: .85rem;
}
.map-shell {
  position: relative;
  aspect-ratio: 225 / 148;
  border: 1px solid rgba(118,243,154,.14);
  border-radius: .8rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(118,243,154,.07), transparent 20rem),
    linear-gradient(180deg, rgba(8,19,12,.98), rgba(4,10,6,.94));
  box-shadow: inset 0 0 80px rgba(118,243,154,.035);
}
.map-shell::after {
  content: "";
  position: absolute;
  inset: .65rem;
  border: 1px solid rgba(118,243,154,.08);
  border-radius: .5rem;
  pointer-events: none;
}
.map-gridlines {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(118,243,154,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,243,154,.055) 1px, transparent 1px);
  background-size: 12.5% 20%;
  mask-image: linear-gradient(to bottom, transparent 1%, #000 12%, #000 88%, transparent 99%);
}
.world-outline {
  position: absolute;
  left: 4.2%;
  top: 5.8%;
  width: 91.6%;
  height: 88.4%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(118,243,154,.16));
  opacity: .82;
  user-select: none;
  pointer-events: none;
}
.geo-pin {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: block;
  width: 8px;
  height: 8px;
  cursor: default;
  outline: none;
}
.geo-pin i {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(118,243,154,.07), 0 0 7px rgba(118,243,154,.34);
}
.geo-pin.map-project i {
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(118,243,154,.08), 0 0 8px rgba(118,243,154,.36);
}
.geo-pin.map-deployment i {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,213,120,.08), 0 0 10px rgba(255,213,120,.44);
}
.geo-pin.map-advisory i {
  background: #8fd7ff;
  box-shadow: 0 0 0 3px rgba(143,215,255,.08), 0 0 10px rgba(143,215,255,.42);
}
.geo-pin b {
  position: absolute;
  left: 12px;
  top: -8px;
  color: #eaffef;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: .18rem .3rem;
  background: rgba(4,10,6,.76);
  border: 1px solid rgba(118,243,154,.10);
  border-radius: .22rem;
}
.geo-pin small {
  position: absolute;
  left: 0;
  bottom: 16px;
  min-width: 155px;
  max-width: 210px;
  padding: .48rem .56rem;
  border: 1px solid rgba(118,243,154,.22);
  border-radius: .35rem;
  background: rgba(5,12,7,.97);
  color: #bfd9c6;
  font-size: .68rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: .14s ease;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.geo-pin:hover small, .geo-pin:focus small { opacity: 1; transform: translateY(0); }
.pin-canada { left: 25.5%; top: 22%; }
.pin-usa { left: 25.2%; top: 36.5%; }
.pin-brazil { left: 33.2%; top: 65.2%; }
.pin-chile { left: 28.2%; top: 77.5%; }
.pin-germany { left: 49.7%; top: 31.4%; }
.pin-bih { left: 51.3%; top: 35.4%; }
.pin-greece { left: 53.2%; top: 38.5%; }
.pin-drc { left: 54.1%; top: 61.5%; }
.pin-singapore { left: 76.8%; top: 59.2%; }
.map-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .9rem;
  color: #acc8b4;
  font-size: .82rem;
}
.legend-item { display: inline-flex; align-items: center; gap: .45rem; }
.dot { display: inline-block; width: .52rem; height: .52rem; border-radius: 50%; }
.dot.map-project { background: var(--green); box-shadow: 0 0 10px rgba(118,243,154,.4); }
.dot.map-deployment { background: var(--amber); box-shadow: 0 0 10px rgba(255,213,120,.4); }
.dot.map-advisory { background: #8fd7ff; box-shadow: 0 0 10px rgba(143,215,255,.4); }
.assignment-list {
  list-style: none;
  padding: 0;
  margin: .35rem 0 0;
}
.assignment-list li {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) 1fr auto;
  gap: .8rem;
  align-items: start;
  margin: 0;
  padding: .78rem 0;
  border-top: 1px dashed rgba(118,243,154,.14);
}
.assignment-list li:first-child { border-top: 1px solid rgba(118,243,154,.16); }
.assignment-list strong { color: var(--green2); }
.assignment-list span { color: #b7d0be; }
.class-tag {
  display: inline-block;
  font-style: normal;
  font-size: .7rem;
  padding: .22rem .42rem;
  border: 1px solid rgba(118,243,154,.18);
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.class-tag.map-project { color: var(--green2); border-color: rgba(118,243,154,.28); }
.class-tag.map-deployment { color: var(--amber); border-color: rgba(255,213,120,.3); }
.class-tag.map-advisory { color: #9ddfff; border-color: rgba(143,215,255,.32); }
.map-sidebox { margin-top: 1rem; border-top: 1px solid rgba(118,243,154,.14); padding-top: 1rem; }
.map-sidebox h4 { margin: 0 0 .55rem; color: var(--green2); font-size: .92rem; }
.map-sidebox p, .map-copy { color: #b7d0be; }

.cred-list { border-top: 1px solid var(--line); }
.cred-list div { padding: .82rem .15rem; border-bottom: 1px solid rgba(118,243,154,.12); color: #bed5c4; }
.cred-list span { color: var(--green); margin-right: .6rem; }

.contact h2 { max-width: 900px; }
.signature { margin: 2.2rem 0 0; color: var(--green); }
.cursor { animation: blink 1s steps(2,end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.profile-summary .panel { border-style: dashed; }
.profile-summary p { margin: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 0 2rem;
  color: #58725f;
  font-size: .75rem;
  flex-wrap: wrap;
}
footer a { color: #76957e; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(420px, calc(100% - 2rem));
  background: #0e1d13;
  border: 1px solid var(--line);
  color: var(--green2);
  padding: .8rem 1rem;
  border-radius: .4rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .grid.two, .grid.three, .grid.four, .skills-grid, .worldmap-grid { grid-template-columns: 1fr; }
  .map-shell { min-height: 0; }
  .assignment-list li { grid-template-columns: 1fr; gap: .25rem; }
  .map-toolbar, .map-legend { gap: .55rem; }
  .class-tag { justify-self: start; }
  .hero { padding-top: 2.8rem; }
  .cmd-output > div, dl div { grid-template-columns: 1fr; gap: .1rem; }
  nav { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: .15rem; }
  nav a { white-space: nowrap; }
}

@media (max-width: 860px) {
  .services-grid, .credential-grid, .contact-matrix { grid-template-columns: 1fr; }
}


.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: .5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10.6rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(var(--green), rgba(118,243,154,.08));
}
.timeline-item {
  display: grid;
  grid-template-columns: 9rem 3.2rem 1fr;
  gap: .8rem;
  align-items: start;
  padding: 1.05rem 0;
}
.timeline-date {
  color: #72947c;
  font-size: .78rem;
  letter-spacing: .06em;
  padding-top: .2rem;
  text-align: right;
}
.timeline-node {
  position: relative;
  width: .7rem;
  height: .7rem;
  margin: .3rem auto 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(118,243,154,.08), 0 0 14px rgba(118,243,154,.28);
  z-index: 1;
}
.timeline-content {
  border: 1px solid rgba(118,243,154,.14);
  background: rgba(7,16,10,.64);
  border-radius: .55rem;
  padding: 1rem 1.1rem;
}
.timeline-content h3 { margin-bottom: .5rem; }
.timeline-content p { margin: 0; color: #afcbb6; }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1rem;
}
.evidence-card {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5,12,7,.82));
  border-radius: .7rem;
  padding: 1.35rem;
  overflow: hidden;
}
.evidence-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(118,243,154,.06);
  transform: rotate(45deg);
}
.evidence-id {
  display: block;
  color: #66846f;
  font-size: .7rem;
  letter-spacing: .08em;
  margin-bottom: .7rem;
}
.evidence-card p { color: #b2cdb9; }
.evidence-state {
  display: inline-block;
  margin-top: .7rem;
  color: #7ea88a;
  font-size: .7rem;
  border-top: 1px dashed rgba(118,243,154,.14);
  padding-top: .55rem;
}
.profile-updated {
  margin-top: .9rem;
  color: #66846f;
  font-size: .72rem;
}
@media (max-width: 860px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .timeline::before { left: .35rem; }
  .timeline-item { grid-template-columns: 1.4rem 1fr; gap: .65rem; }
  .timeline-date { grid-column: 2; text-align: left; padding: 0; }
  .timeline-node { grid-column: 1; grid-row: 1 / span 2; margin-top: .2rem; }
  .timeline-content { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}





/* problem-oriented entry for direct customers */
.need-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.need-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 1.45rem;
  border: 1px solid rgba(118,243,154,.20);
  border-radius: .7rem;
  background: linear-gradient(180deg, rgba(10,22,14,.94), rgba(5,12,7,.84));
  color: inherit;
  text-decoration: none;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.need-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
  opacity: .75;
}
.need-card:nth-child(2)::before { background: var(--amber); }
.need-card:nth-child(3)::before { background: #8fd7ff; }
.need-card:nth-child(4)::before { background: #c4a7ff; }
.need-card:hover {
  transform: translateY(-2px);
  border-color: rgba(118,243,154,.48);
  background: linear-gradient(180deg, rgba(13,29,18,.97), rgba(6,14,9,.9));
}
.need-id {
  color: #6f9178;
  font-size: .72rem;
  letter-spacing: .07em;
  margin-bottom: .8rem;
}
.need-card h3 {
  color: #effff3;
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: .7rem;
}
.need-card p { color: #b3cdb9; margin: 0 0 1rem; }
.need-link { margin-top: auto; color: var(--green2); font-size: .82rem; }
.sector-grid-polished { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sector-grid-polished .sector-card { min-height: 235px; }
.contact-matrix-four { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* sectors / regulated operating environments */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 1rem;
}
.sector-card {
  position: relative;
  min-height: 255px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: linear-gradient(180deg, rgba(9,19,12,.92), rgba(5,12,7,.84));
  overflow: hidden;
}
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
  opacity: .65;
}
.sector-card.defence-sector::before { background: var(--amber); }
.sector-card.public-sector::before { background: #8fd7ff; }
.sector-card.law-sector::before { background: #c4a7ff; }
.sector-card.authority-sector::before { background: #8fd7ff; }
.sector-card.municipal-sector::before { background: #92e6c6; }
.sector-card.sme-sector::before { background: #a8f07d; }

.sector-card p:not(.eyebrow) { color: #b5cfbc; }
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: 1rem;
}
.sector-tags span {
  padding: .24rem .4rem;
  border: 1px solid rgba(118,243,154,.15);
  color: #86aa90;
  font-size: .67rem;
  letter-spacing: .04em;
}
.sector-note {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px dashed rgba(118,243,154,.2);
  background: rgba(7,16,10,.58);
  border-radius: .55rem;
}
.sector-note-key { color: var(--green); font-size: .78rem; }
.sector-note p { margin: 0; color: #aecab6; }
.forensic-card { border-color: rgba(143,215,255,.24); }

/* highlighted Betriebsfähigkeit showcase */
.resilience-showcase {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.1rem;
  border-color: rgba(255,213,120,.24);
  background: linear-gradient(180deg, rgba(16, 20, 12, .96), rgba(5, 12, 7, .86));
}
.resilience-figure {
  margin: 0;
  overflow: hidden;
  border-radius: .55rem;
  border: 1px solid rgba(118,243,154,.14);
  background: rgba(6,12,8,.85);
  align-self: start;
}
.resilience-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}
.resilience-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .35rem .2rem;
}
.resilience-copy h3 {
  font-size: 1.2rem;
  margin-bottom: .8rem;
}
.resilience-copy p:not(.eyebrow) {
  color: #b9d2c0;
  margin: 0 0 .95rem;
  max-width: 72ch;
}
.resilience-copy ul {
  margin-top: .25rem;
}
@media (max-width: 980px) {
  .resilience-showcase {
    grid-template-columns: 1fr;
  }
  .resilience-figure {
    max-width: 420px;
  }
  .resilience-copy {
    padding-top: .1rem;
  }
}

@media (max-width: 860px) {
  .sector-note { grid-template-columns: 1fr; gap: .35rem; }
  .need-grid, .sector-grid-polished, .contact-matrix-four { grid-template-columns: 1fr; }
}


/* independent practice / brand ecosystem */
.identity-output > div { grid-template-columns: 11.5rem 1fr; }
.ecosystem-section { position: relative; }
.identity-tree {
  margin: 1.2rem 0 1rem;
  border: 1px solid rgba(118,243,154,.22);
  border-left: 3px solid var(--green);
  background: linear-gradient(90deg, rgba(118,243,154,.055), rgba(5,12,7,.82) 34%);
  border-radius: .55rem;
  overflow-x: auto;
}
.identity-tree pre {
  margin: 0;
  padding: 1.25rem 1.35rem;
  color: #acc8b4;
  font-family: var(--mono);
  font-size: clamp(.74rem, 1.3vw, .9rem);
  line-height: 1.85;
  white-space: pre;
}
.identity-tree strong { color: var(--green2); font-weight: 700; }
.tree-root { color: var(--amber); font-weight: 700; }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ecosystem-card {
  position: relative;
  min-height: 235px;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: linear-gradient(180deg, rgba(10,22,14,.94), rgba(5,12,7,.84));
  overflow: hidden;
}
.ecosystem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
  opacity: .65;
}
.ecosystem-card.brand-card::before { background: var(--amber); opacity: .9; }
.ecosystem-card.lab-card::before { background: #8fd7ff; }
.ecosystem-card.media-node::before { background: #c4a7ff; }
.ecosystem-card h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.ecosystem-card p:not(.eyebrow) { color: #b7d0be; }
.node-state {
  display: inline-block;
  margin-top: .75rem;
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .06em;
}
.node-state.accent { color: var(--amber); }
.brand-media-card {
  border-color: rgba(255,213,120,.25);
  background: linear-gradient(180deg, rgba(30,25,10,.45), rgba(5,12,7,.84));
}
.brand-media-card h3 { color: var(--amber); }
.media-grid { align-items: stretch; }

@media (max-width: 860px) {
  .identity-output > div { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .identity-tree pre { font-size: .72rem; }
}

@media print {
  .scanlines, nav, .hero-actions, .toast { display: none !important; }
  body { background: white; color: black; }
  main, footer { width: 100%; }
  .topbar { position: static; background: white; color: black; }
  .terminal-window, .panel, .skill-card, .project, .need-card { box-shadow: none; background: white; border-color: #aaa; }
  h1, h2, h3, .role, .prompt, a, .signature, li, .panel p, .project p, .need-card p, .need-link, dd { color: black !important; }
}


.hero-subline {
  margin: -.5rem 0 1.4rem;
  color: #8fb59a;
  font-size: clamp(.86rem, 1.8vw, 1rem);
  letter-spacing: .025em;
}
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.3rem 0 0;
}
.fact-strip span {
  padding: .36rem .55rem;
  border: 1px solid rgba(118,243,154,.13);
  background: rgba(7,16,10,.66);
  color: #7fa68a;
  font-size: .72rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.service-card, .credential-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5,12,7,.82));
  border-radius: .7rem;
  padding: 1.45rem;
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
}
.service-card p { color: #b4cfbb; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 .8rem;
}
.service-tags span {
  padding: .24rem .42rem;
  border: 1px solid rgba(118,243,154,.16);
  color: #87ad91;
  font-size: .69rem;
}
.text-link {
  display: inline-block;
  margin-top: .7rem;
  color: var(--green2);
  text-decoration: none;
  font-size: .83rem;
}
.text-link:hover { color: white; }
.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.credential-card ul { margin-top: .85rem; }
.contact-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
  margin: 1.4rem 0 0;
}
.contact-option {
  display: grid;
  gap: .25rem;
  padding: 1rem;
  border: 1px solid rgba(118,243,154,.18);
  background: rgba(8,18,11,.72);
  border-radius: .45rem;
  text-decoration: none;
}
.contact-option strong { color: var(--green2); font-size: .8rem; }
.contact-option span { color: #91ad98; font-size: .75rem; }
.contact-option:hover { border-color: rgba(118,243,154,.5); background: rgba(11,25,15,.9); }

/* final density overrides */
.sector-grid.sector-grid-polished { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-matrix.contact-matrix-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .need-grid,
  .sector-grid.sector-grid-polished,
  .contact-matrix.contact-matrix-four { grid-template-columns: 1fr; }
}

/* =========================================================
   FINAL VISUAL POLISH // 2026-08-31
   Tighter rhythm, cleaner responsive header, quieter skill
   cloud and improved map readability without changing content.
   ========================================================= */

/* Slightly denser page rhythm: still generous, less scrolling. */
.hero { padding: clamp(3.4rem, 7vw, 6.4rem) 0 2.4rem; }
.section { padding: clamp(2.9rem, 6vw, 5.5rem) 0 0; }
.section-head { margin-bottom: 1.2rem; }
footer { padding: 3rem 0 1.8rem; color: #789a81; }
footer a { color: #9abda2; }
footer a:hover { color: #dfffe7; }

/* Six evidence cards read as a deliberate 3 x 2 matrix on desktop. */
.evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evidence-card { min-height: 205px; }

/* Keep the tag cloud a visual summary, not an SEO carpet. */
.tag-cloud { max-width: 980px; gap: .48rem; }
.tag-cloud span { padding: .31rem .48rem; font-size: .71rem; }

/* Stagger dense European labels and keep far-right labels inside the map. */
.pin-germany b { left: 12px; top: -22px; }
.pin-bih b { left: auto; right: 12px; top: -7px; }
.pin-greece b { left: 12px; top: 8px; }
.pin-singapore b { left: auto; right: 12px; }
.pin-singapore small { left: auto; right: 0; }
.geo-pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}
.map-touch-hint { display: none; margin: .7rem 0 0; color: #789a81; font-size: .72rem; }

/* Two-row header before the old mobile breakpoint prevents cramped 900–1180px layouts. */
@media (max-width: 1180px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: .5rem;
    padding: .72rem clamp(1rem, 3vw, 2rem);
  }
  .brandline { width: 100%; }
  .topbar nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0 .18rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(118,243,154,.25) transparent;
  }
  .topbar nav a { white-space: nowrap; }
  .section { scroll-margin-top: 7.25rem; }
}

/* Evidence goes 3 -> 2 -> 1 rather than an accidental 4 + 2 / 1-column jump. */
@media (max-width: 1050px) and (min-width: 681px) {
  .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  /* Permanent country labels disappear on compact screens; tap/focus reveals them. */
  .geo-pin { cursor: pointer; }
  .geo-pin b {
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .14s ease, transform .14s ease;
    z-index: 6;
  }
  .geo-pin:hover b,
  .geo-pin:focus b,
  .geo-pin:focus-visible b { opacity: 1; transform: translateY(0); }
  .geo-pin small { z-index: 7; min-width: 140px; max-width: min(190px, 70vw); }
  .pin-germany b, .pin-bih b, .pin-greece b { left: 12px; right: auto; top: -8px; }
  .pin-singapore b { left: auto; right: 12px; top: -8px; }
  .pin-singapore small { left: auto; right: 0; }
  .map-touch-hint { display: block; }
  .hero { padding-top: 2.4rem; }
  .section { padding-top: 2.8rem; scroll-margin-top: 7.6rem; }
}

@media (max-width: 680px) {
  .evidence-grid { grid-template-columns: 1fr; }
  footer { gap: .65rem; padding-top: 2.6rem; font-size: .73rem; }
}




/* veteran & veteranennetz layout repair */
.military-record {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 1rem 0 1.05rem;
}
.military-record > div,
.veteran-network-record > div {
  border: 1px solid rgba(118,243,154,.15);
  border-radius: .55rem;
  background: linear-gradient(180deg, rgba(8,18,11,.82), rgba(5,12,7,.74));
  padding: .9rem 1rem;
}
.military-key,
.veteran-network-record span {
  display: block;
  color: #6e8d77;
  font-size: .7rem;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.military-record strong,
.veteran-network-record strong {
  display: block;
  color: var(--green2);
  font-size: .95rem;
  line-height: 1.25;
}
.military-record small,
.veteran-network-record small {
  display: block;
  margin-top: .28rem;
  color: #99b69f;
  line-height: 1.45;
}

.military-showcase {
  display: grid;
  grid-template-columns: minmax(0, 248px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: .15rem 0 1rem;
}
.military-figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: 248px;
  justify-self: start;
}
.military-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid rgba(118,243,154,.12);
}
.military-figure figcaption {
  padding: .72rem .9rem .82rem;
  color: #96b39e;
  font-size: .72rem;
  line-height: 1.45;
}
.military-visual-copy {
  min-height: 100%;
}
.military-visual-copy p:not(.eyebrow) { color: #b7d0be; }
.military-visual-copy ul { margin-top: .85rem; }

.military-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.military-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5, 12, 7, .82));
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
  border-radius: .7rem;
  padding: 1.35rem;
}
.military-card p:not(.eyebrow) { color: #b5cfbc; }
.deployment-card { border-color: rgba(255,213,120,.24); }
.transfer-card { border-color: rgba(143,215,255,.24); }

.veteran-network-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1rem;
  align-items: start;
}
.veteran-network-copy,
.veteran-network-record {
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: linear-gradient(180deg, rgba(10,22,14,.94), rgba(5,12,7,.84));
  padding: 1.35rem;
}
.veteran-network-copy p:not(.eyebrow) { color: #b7d0be; }
.veteran-network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 1rem;
}
.veteran-network-record {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.veteran-network-record > div {
  min-height: 112px;
}

@media (max-width: 1100px) {
  .military-record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .military-showcase,
  .military-grid,
  .veteran-network-showcase { grid-template-columns: 1fr; }
  .military-figure {
    max-width: 220px;
  }
}

@media (max-width: 760px) {
  .military-record,
  .veteran-network-record { grid-template-columns: 1fr; }
}





/* contact direct cards */
.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin: 1.35rem 0 0;
}
.contact-direct-card {
  display: grid;
  gap: .42rem;
  align-content: start;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(118,243,154,.18);
  border-radius: .65rem;
  background: linear-gradient(180deg, rgba(8,18,11,.86), rgba(5,12,7,.82));
  text-decoration: none;
  min-width: 0;
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
}
.contact-direct-card:hover {
  border-color: rgba(118,243,154,.42);
  background: linear-gradient(180deg, rgba(10,24,15,.92), rgba(6,14,9,.88));
}
.contact-direct-card.primary-contact {
  border-color: rgba(255,213,120,.26);
  background: linear-gradient(180deg, rgba(31,25,10,.38), rgba(5,12,7,.84));
}
.contact-direct-card.primary-contact:hover {
  border-color: rgba(255,213,120,.44);
  background: linear-gradient(180deg, rgba(38,30,11,.48), rgba(6,14,9,.88));
}
.contact-direct-id {
  color: #7ca287;
  font-size: .75rem;
  letter-spacing: .05em;
}
.contact-direct-card strong {
  color: var(--green2);
  font-size: 1rem;
  line-height: 1.2;
}
.contact-direct-card span:not(.contact-direct-id) {
  color: #b7d0be;
  line-height: 1.55;
}
.contact-direct-card em {
  color: var(--green);
  font-style: italic;
  margin-top: .18rem;
  font-size: .86rem;
}
@media (max-width: 860px) {
  .contact-direct { grid-template-columns: 1fr; }
}

/* social links // hard size guard against oversized inline SVGs */
.social-icon {
  display: block;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  max-width: 22px;
  flex: 0 0 22px;
  overflow: visible;
}
.social-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .72rem .8rem;
  border: 1px solid rgba(118,243,154,.16);
  border-radius: .48rem;
  background: rgba(7,16,10,.68);
  color: #a9cbb2;
  text-decoration: none;
  line-height: 1.2;
}
.social-link:hover {
  border-color: rgba(118,243,154,.42);
  background: rgba(10,22,14,.9);
  color: #effff3;
}
.social-link > span {
  display: grid;
  min-width: 0;
  gap: .18rem;
}
.social-link strong {
  color: var(--green2);
  font-size: .78rem;
  font-weight: 700;
}
.social-link small {
  color: #7f9f87;
  font-size: .68rem;
  overflow-wrap: anywhere;
}
.media-platform-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: 1rem;
}
.compact-social {
  padding: .58rem .65rem;
}
.compact-social .social-icon {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px;
  max-width: 19px;
  flex-basis: 19px;
}
.social-hub {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(118,243,154,.16);
}
.social-hub-head {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: .7rem;
  color: #789a81;
  font-size: .72rem;
}
.prompt-mini { color: var(--green); }
.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  width: 100%;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #8eae96;
  text-decoration: none;
  white-space: nowrap;
}
.footer-social .social-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
  flex-basis: 16px;
}
.footer-social a:hover { color: #dfffe7; }

/* veteran portrait: image only, no caption */
.military-figure img { border-bottom: 0; }

@media (max-width: 860px) {
  .social-links { grid-template-columns: 1fr; }
  .media-platform-links { grid-template-columns: 1fr; }
}




/* featured YouTube video // fixed sizing */
.featured-video {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1.25rem;
}
.featured-video-copy {
  min-width: 0;
}
.featured-video-copy > p:not(.eyebrow) {
  color: #b7d0be;
}
.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin: .9rem 0 .15rem;
}
.video-meta span {
  display: inline-block;
  padding: .24rem .42rem;
  border: 1px solid rgba(118,243,154,.16);
  color: #86aa90;
  font-size: .67rem;
  letter-spacing: .04em;
}
.video-consent {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(118,243,154,.18);
  border-radius: .65rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(118,243,154,.07), transparent 14rem),
    linear-gradient(180deg, rgba(8,18,11,.96), rgba(4,10,6,.96));
}
.video-consent-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  text-align: center;
}
.video-play-icon {
  display: block;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px;
  max-width: 46px;
  flex: 0 0 46px;
  color: var(--green);
  opacity: .88;
  filter: drop-shadow(0 0 9px rgba(118,243,154,.18));
}
.video-consent-inner > strong {
  color: var(--green2);
  font-size: .85rem;
  letter-spacing: .06em;
}
.video-consent-inner > p {
  max-width: 47ch;
  margin: 0;
  color: #91ad98;
  font-size: .76rem;
  line-height: 1.5;
}
.video-load-button {
  margin-top: .15rem;
  padding: .62rem .85rem;
  font-size: .78rem;
}
.video-consent iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-consent.is-loaded {
  background: #000;
}
@media (max-width: 860px) {
  .featured-video {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .video-play-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    max-width: 40px;
    flex-basis: 40px;
  }
}
