/* Shared specialist-site components: competence switcher + person spotlight.
   All selectors are scoped; never override the public homepage. */
.competence-switcher{
  --comp-accent:#c9ff35;
  --comp-surface:#1d3023;
  --comp-fg:#f1faeb;
  --comp-line:rgba(220,242,211,.25);
  --comp-muted:#a9bea7;
  position:relative;
  z-index:155;
  display:block;
  flex:0 0 auto;
  margin:0 auto 0 0;
  border-left:1px solid var(--comp-line);
  padding-left:14px;
  max-width:min(265px,40vw);
  color:var(--comp-fg);
}
.competence-switcher>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  min-height:42px;
  padding:9px 11px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
  list-style:none;
  user-select:none;
  transition:background-color .16s ease,border-color .16s ease;
}
.competence-switcher>summary::-webkit-details-marker{display:none}
.competence-switcher>summary:hover,
.competence-switcher[open]>summary{
  border-color:var(--comp-line);
  background:rgba(226,248,212,.075);
}
.competence-switcher-current{
  min-width:0;
  color:inherit;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.125em;
  font-weight:850;
  white-space:nowrap;
}
.competence-switcher-chevron{flex:none;font-size:18px;line-height:1;color:var(--comp-accent);transition:transform .15s ease}
.competence-switcher[open] .competence-switcher-chevron{transform:rotate(180deg)}
.competence-switcher-menu{
  display:grid;
  gap:4px;
  position:absolute;
  top:calc(100% + 11px);
  left:7px;
  width:min(340px,calc(100vw - 40px));
  padding:12px;
  background:var(--comp-surface);
  color:var(--comp-fg);
  border:1px solid var(--comp-line);
  box-shadow:0 22px 50px rgba(0,0,0,.23);
  border-radius:14px;
  overflow:hidden;
}
.competence-switcher:not([open])>.competence-switcher-menu{display:none}
.competence-switcher-kicker{
  font-size:10px;
  letter-spacing:.11em;
  font-weight:800;
  color:var(--comp-muted);
  padding:7px 10px 8px;
}
.competence-switcher-option{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 12px;
  border-radius:9px;
  color:var(--comp-fg);
  text-decoration:none;
  font-size:12px;
  font-weight:730;
  line-height:1.4;
}
.competence-switcher-option:hover{background:rgba(225,244,217,.12)}
.competence-switcher-option.is-current{
  background:rgba(201,255,53,.12);
  color:var(--comp-accent);
  font-weight:840;
}
.competence-switcher-option-mark{font-size:16px;line-height:1;color:var(--comp-accent)}
.competence-switcher:focus-within{z-index:190}
.competence-switcher summary:focus-visible,.competence-switcher-option:focus-visible{
  outline:3px solid #a4db55;outline-offset:3px;
}
/* All three use a compact identity header. Only the selector navigates
   between areas; the regular navigation links remain within the current page. */
.cybersecurity-landing .site-header .header-inner{gap:16px}
.cybersecurity-landing .site-header .desktop-nav{gap:18px}
.cybersecurity-landing .site-header .brand{gap:0}
.cybersecurity-landing .site-header .brand .brand-main{white-space:nowrap}
.software-landing .site-header .header-inner{gap:16px}
/* Accessibility: Software header is LIGHT, so its selector must have DARK text. */
.software-landing .site-header .competence-switcher{
  --comp-fg:#1d3222;
  --comp-line:#bed0ba;
  --comp-accent:#416f20;
  border-left-color:#bed0ba;
}
.software-landing .site-header .competence-switcher>summary{
  color:#1d3222;
  border:1px solid #cedec9;
  background:#f1f6ee;
}
.software-landing .site-header .competence-switcher-current{color:#1d3222;font-weight:900}
.software-landing .site-header .competence-switcher-chevron{color:#416f20}
.software-landing .site-header .competence-switcher>summary:hover,
.software-landing .site-header .competence-switcher[open]>summary{
  background:#e4efdf;
  border-color:#9ab98f;
}
.software-landing .site-header .competence-switcher-menu{
  --comp-fg:#eef8e9;
  --comp-line:rgba(216,244,209,.24);
  --comp-accent:#c9ff35;
  --comp-muted:#b5cbaa;
  background:#192f20;
  color:#eef8e9;
}
.software-landing .site-header .brand{gap:0}
.software-landing .site-header .brand i,.software-landing .site-header .brand small{display:none}
/* Webdesign receives the same deliberately dark, premium specialist header. */
.webdesign-landing .site-header{
  background:rgba(18,28,21,.976);
  color:#f1f8ed;
  border-bottom:1px solid rgba(231,248,221,.11);
  backdrop-filter:blur(16px);
}
.webdesign-landing .site-header .nav-wrap{
  min-height:78px;
  height:auto;
  justify-content:flex-start;
  gap:15px;
}
.webdesign-landing .site-header .brand{
  flex:0 0 auto;
  font-size:23px;
  color:#f4faf1;
  white-space:nowrap;
  font-weight:850;
}
.webdesign-landing .site-header .brand-dot{color:#c9ff35}
.webdesign-landing .site-header .primary-nav{
  margin-left:auto;
  gap:clamp(11px,1.45vw,20px);
}
.webdesign-landing .site-header .primary-nav > a{
  color:#c9d7c7;
  font-size:12px;
  font-weight:740;
  white-space:nowrap;
}
.webdesign-landing .site-header .primary-nav > a:hover{color:#fff}
.webdesign-landing .site-header .primary-nav .nav-cta{
  background:#c9ff35;color:#1c2d10;
  border:1px solid #c9ff35;
  font-weight:835;
  padding:11px 14px;
  white-space:nowrap;
}
.webdesign-landing .site-header .primary-nav .nav-cta:hover{background:#e0ff89;color:#142608}
.webdesign-landing .site-header .site-language-menu summary{
  border:1px solid #536c53;
  background:#243b2a;color:#d8edce;
}
.webdesign-landing .site-header .site-language-menu[open] summary{
  background:#294930;
}
.webdesign-landing .site-header .site-language-options{
  background:#193020;
  border-color:#456148;
}
.webdesign-landing .site-header .site-language-options a{color:#e1eddb}
.webdesign-landing .site-header .site-language-options a:hover{color:#fff;background:#33563a}
.webdesign-landing .site-header .site-language-options a.is-active{background:#c9ff35;color:#1b2910}
.webdesign-landing .site-header .nav-toggle span{background:#f5fbee}
/* Webdesign and Software personal panels match the Cybersecurity founder card. */
.profile-card{
  display:grid;
  gap:0;
  align-items:stretch;
  grid-template-columns:minmax(0,.81fr) minmax(0,1.19fr);
  min-height:590px;
  overflow:hidden;
  border-radius:23px;
  border:1px solid #d5e1d1;
  background:#fcfdfb;
  box-shadow:0 28px 75px rgba(23,40,25,.075);
}
.profile-portrait{
  position:relative;
  min-height:590px;
  overflow:hidden;
  margin:0;
  background:#26372b;
  isolation:isolate;
}
.profile-portrait img{
  min-height:0;
  display:block;
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 28%;
}
.profile-portrait::after{
  content:"";
  position:absolute;z-index:1;inset:35% 0 0;
  background:linear-gradient(transparent,rgba(12,22,15,.35) 50%,rgba(9,17,11,.84));
  pointer-events:none;
}
.profile-photo-label{
  position:absolute;z-index:2;
  bottom:31px;left:35px;right:25px;
  color:#fff;
  display:grid;gap:5px;
}
.profile-photo-label strong{
  display:block;font-size:25px;letter-spacing:-.048em;line-height:1.17;
}
.profile-photo-label span{
  display:block;font-size:11px;font-weight:600;color:#d8e7d4;
  letter-spacing:.02em;
}
.profile-copy{
  min-width:0;
  align-self:center;
  padding:clamp(35px,5vw,70px);
  color:#223126;
}
.profile-copy .profile-kicker{
  display:block;
  margin:0 0 24px;
  color:#60852f;
  font-size:10px;
  letter-spacing:.14em;
  font-weight:870;
  text-transform:uppercase;
}
.profile-copy h2{
  margin:0 0 23px;
  font-size:clamp(45px,4.65vw,69px);
  line-height:1.045;
  font-weight:830;
  letter-spacing:-.062em;
  color:#1b281d;
}
.profile-copy h2 em{font-style:normal;color:#648c2d}
.profile-copy .profile-lead{
  margin:0 0 18px;
  font-size:17px;
  line-height:1.68;
  color:#2b3e2e;
  font-weight:670;
}
.profile-copy > p:not(.profile-lead):not(.profile-disclaimer){
  font-size:14px;
  line-height:1.83;
  color:#5b6a5d;
  margin:0 0 15px;
}
.profile-values{
  display:flex;flex-wrap:wrap;gap:10px 19px;
  margin:27px 0;
  padding-top:20px;
  border-top:1px solid #d8e1d5;
}
.profile-values span{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:750;color:#4d644b;line-height:1.5}
.profile-values span::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#80ae39}
.profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 21px}
.profile-primary{
  display:inline-flex;align-items:center;justify-content:space-between;
  gap:16px;min-height:49px;
  padding:13px 18px;border-radius:11px;
  background:#17251b;color:#dfffad;
  border:1px solid #17251b;
  text-decoration:none;
  font-size:12px;font-weight:830;
}
.profile-primary:hover{background:#2c4330;color:#f0ffcf}
.profile-more{
  display:inline-flex;align-items:center;gap:10px;
  text-decoration:none;
  font-size:12px;font-weight:760;
  padding:7px 0;
  color:#2b4a2b;
  border-bottom:1px solid #9dbb90;
}
.profile-more:hover{border-bottom-color:#2b4a2b}
.profile-disclaimer{
  color:#789078;font-size:11px;line-height:1.7;margin:16px 0 0;
}
.webdesign-landing .personal-section{background:#f0f5ee}
.webdesign-landing .profile-card .profile-portrait{border-radius:0;box-shadow:none}
.webdesign-landing .personal-section .profile-card,.software-landing .founder-section .profile-card{max-width:100%}
@media(max-width:1200px){
  .cybersecurity-landing .site-header .desktop-nav,
  .cybersecurity-landing .site-header .header-cta,
  .software-landing .site-header .desktop-nav,
  .software-landing .site-header .header-cta{
    display:none;
  }
  .cybersecurity-landing .site-header .mobile-menu,
  .software-landing .site-header .mobile-nav{display:block;margin-left:auto}
  .webdesign-landing .site-header .nav-toggle{display:block;margin-left:auto;flex:0 0 42px}
  .webdesign-landing .site-header .primary-nav{
    display:none;
    position:fixed;
    inset:78px 0 auto;
    z-index:100;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:16px 24px 25px;
    background:#17291c;
    border-bottom:1px solid #47614b;
    box-shadow:0 22px 40px rgba(13,29,18,.25);
  }
  .webdesign-landing .site-header .primary-nav.open{display:flex}
  .webdesign-landing .site-header .primary-nav > a{
    display:block;
    padding:12px 0;
    border-bottom:1px solid #314d37;
  }
  .webdesign-landing .site-header .primary-nav .nav-cta{text-align:center;max-width:100%;margin-top:12px}
  .webdesign-landing .site-header .site-language-menu{margin:13px 0 2px;width:max-content}
  .webdesign-landing .site-header .site-language-options{position:static;margin-top:7px}
}
@media(max-width:1030px){
  .profile-card{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}
  .profile-copy{padding:34px}
  .profile-copy h2{font-size:52px}
}
@media(max-width:800px){
  .profile-card{grid-template-columns:1fr}
  .profile-portrait{min-height:460px}
  .profile-copy{padding:38px}
}
@media(max-width:600px){
  .profile-card{border-radius:18px}
  .profile-portrait{min-height:360px}
  .profile-photo-label{bottom:24px;left:22px;right:20px}
  .profile-photo-label strong{font-size:22px}
  .profile-copy{padding:28px 23px 32px}
  .profile-copy .profile-kicker{margin-bottom:15px}
  .profile-copy h2{font-size:clamp(42px,10vw,54px)}
  .profile-copy .profile-lead{font-size:15px}
  .competence-switcher{padding-left:7px;max-width:min(145px,44vw)}
  .competence-switcher>summary{min-height:38px;padding:7px 6px;gap:3px}
  .competence-switcher-current{font-size:9px;letter-spacing:.065em}
  .competence-switcher-menu{left:auto;right:-50px;width:min(300px,calc(100vw - 25px))}
  .cybersecurity-landing .site-header .header-inner,
  .software-landing .site-header .header-inner{gap:8px}
  .cybersecurity-landing .site-header .brand-main{font-size:19px}
  .software-landing .site-header .brand>span{font-size:19px}
  .webdesign-landing .site-header .brand{font-size:19px}
  .webdesign-landing .site-header .nav-wrap{gap:9px;min-height:70px}
  .webdesign-landing .site-header .primary-nav{top:70px}
  .webdesign-landing .site-header .nav-toggle{flex:0 0 40px}
}
@media(prefers-reduced-motion:reduce){
  .competence-switcher>summary,.competence-switcher-chevron{transition:none}
}
