:root {
  --bg: #050608;
  --bg-soft: #0a0c10;
  --panel: rgba(12, 14, 18, 0.74);
  --panel-strong: rgba(16, 18, 23, 0.92);
  --line: rgba(255, 255, 255, 0.105);
  --line-gold: rgba(211, 160, 58, 0.48);
  --text: #f4f2ed;
  --muted: #a9a9a9;
  --soft: #6f747d;
  --gold: #d7a647;
  --gold-2: #f3ca76;
  --gold-3: #8f6728;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --header-h: 88px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 12%, rgba(215, 166, 71, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 70%, rgba(163, 122, 44, 0.12), transparent 24rem),
    linear-gradient(180deg, #050608 0%, #080a0d 52%, #050608 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.noise,
.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.noise {
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, transparent 0 45%, rgba(255,255,255,.035) 45.5% 46%, transparent 46.5% 100%),
    repeating-radial-gradient(circle at 11% 18%, rgba(255,255,255,.08) 0 1px, transparent 1px 8px);
  mix-blend-mode: overlay;
}

.page-glow {
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(222, 171, 72, 0.18), transparent 18rem),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 32rem);
  opacity: 0.9;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 88px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.82), rgba(5, 6, 8, 0.18));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 18px rgba(215, 166, 71, 0.25));
}

.brand-mark img {
  width: 56px;
  max-width: none;
  transform: scale(1.35);
}

.brand-text {
  letter-spacing: 0.16em;
  font-size: clamp(1rem, 1.3vw, 1.38rem);
  font-weight: 700;
  color: var(--gold-2);
}

.brand-text span {
  color: #acb0b8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 48px);
  margin-left: 40px;
}

.main-nav a {
  position: relative;
  text-transform: uppercase;
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.82);
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
  transition: width .25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-2);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.outline-button,
.gold-button,
.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 5px;
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.outline-button,
.dark-button {
  border: 1px solid rgba(215, 166, 71, 0.62);
  background: rgba(0, 0, 0, 0.28);
  color: var(--gold-2);
}

.gold-button {
  color: #12100a;
  border: 1px solid rgba(255, 216, 128, 0.75);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 44%, var(--gold-3));
  box-shadow: 0 18px 38px rgba(201, 142, 35, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.outline-button:hover,
.gold-button:hover,
.dark-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(215, 166, 71, 0.18);
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  display: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: var(--gold-2);
  transition: transform .25s ease, opacity .25s ease;
}

.section-frame {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent);
}

.hero {
  min-height: 760px;
  height: 100svh;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
  padding: calc(var(--header-h) + 34px) clamp(20px, 6vw, 112px) 90px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5,6,8,.92));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.74) 34%, rgba(5,6,8,.36) 62%, rgba(5,6,8,.82) 100%),
    radial-gradient(circle at 75% 32%, rgba(214, 166, 71, 0.24), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 58%);
  z-index: 4;
}

.hero-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 45%, rgba(255,255,255,.10), transparent 34rem),
    radial-gradient(ellipse at 58% 20%, rgba(74, 83, 96, .30), transparent 22rem),
    radial-gradient(ellipse at 83% 62%, rgba(255,255,255,.12), transparent 28rem);
  filter: blur(5px);
  opacity: .85;
  z-index: 2;
}

.building {
  position: absolute;
  right: clamp(-110px, -2vw, 12px);
  top: 15%;
  width: min(690px, 55vw);
  height: min(520px, 58vh);
  perspective: 900px;
  transform: rotateX(0deg) rotateY(-10deg);
  opacity: .84;
  z-index: 1;
}

.building-front,
.building-side {
  position: absolute;
  bottom: 0;
  height: 80%;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 78px 100%,
    linear-gradient(0deg, rgba(255,255,255,.075) 1px, transparent 1px) 0 0 / 100% 58px,
    linear-gradient(135deg, rgba(26,31,37,.86), rgba(4,5,7,.82));
  box-shadow: inset 0 0 40px rgba(255,255,255,.035), var(--shadow);
}

.building-front {
  right: 0;
  width: 72%;
  clip-path: polygon(16% 0, 100% 10%, 100% 100%, 0 100%, 0 26%);
}

.building-side {
  left: 0;
  width: 34%;
  transform: skewY(-15deg);
  transform-origin: right bottom;
  opacity: .78;
  clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%);
}

.building-light {
  position: absolute;
  height: 2px;
  width: 62%;
  right: 9%;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 125, .95), transparent);
  box-shadow: 0 0 18px rgba(215, 166, 71, .58);
  z-index: 3;
}

.building-light-one { top: 34%; transform: rotate(-7deg); }
.building-light-two { top: 55%; width: 45%; right: 22%; transform: rotate(-7deg); opacity: .7; }

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  padding-top: 30px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.42em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: .98;
  text-transform: uppercase;
  font-size: clamp(3.45rem, 8.4vw, 7.85rem);
}

h1 span {
  color: var(--gold);
}

.hero-copy {
  max-width: 610px;
  color: rgba(244,242,237,.86);
  font-size: clamp(1rem, 1.32vw, 1.18rem);
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-emblem {
  position: relative;
  z-index: 5;
  justify-self: center;
  width: min(440px, 34vw);
  opacity: .94;
  filter: drop-shadow(0 16px 54px rgba(215,166,71,.27));
}

.hero-emblem img {
  transform: scale(1.14);
}

.hero-index {
  position: absolute;
  z-index: 8;
  right: clamp(24px, 4vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 28px;
}

.hero-index a {
  position: relative;
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  letter-spacing: .15em;
  transition: color .25s ease;
}

.hero-index a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  width: 1px;
  height: 16px;
  background: rgba(215,166,71,.42);
}

.hero-index a:first-child::before {
  height: 48px;
  top: -68px;
  background: rgba(215,166,71,.76);
}

.hero-index a.is-active,
.hero-index a:hover {
  color: var(--gold-2);
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
}

.scroll-cue span {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(215,166,71,.4);
}

.intro {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 46px;
  padding: 62px clamp(20px, 6vw, 112px);
  background: rgba(8, 10, 14, .72);
}

.intro-statement {
  padding-right: 18px;
}

.intro h2,
.portfolio h2,
.contact h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.intro p,
.contact p {
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  padding: 24px clamp(16px, 2vw, 34px) 10px;
  min-height: 218px;
  border-left: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card h3 {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .98rem;
  margin: 22px 0 16px;
}

.service-card p {
  color: #a1a3a7;
  font-size: .9rem;
  line-height: 1.62;
  min-height: 70px;
}

.service-card a {
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(215,166,71,.68);
  position: relative;
  color: var(--gold);
  filter: drop-shadow(0 0 18px rgba(215,166,71,.18));
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid currentColor;
}

.icon-cube { transform: rotate(30deg); }
.icon-cube::before { transform: rotate(60deg); }
.icon-layers { border: 0; }
.icon-layers::before,
.icon-layers::after { inset: 6px; transform: skewY(-26deg) rotate(45deg); }
.icon-layers::after { inset: 16px 6px 0; }
.icon-building { border: 0; }
.icon-building::before { inset: 7px 10px 4px; border-top-width: 4px; box-shadow: 10px 0 0 -8px currentColor, -10px 0 0 -8px currentColor; }
.icon-brain { border-radius: 50%; }
.icon-brain::before { border-radius: 50%; inset: 6px 12px; border-left: 0; }
.icon-compass { border-radius: 50%; transform: rotate(-34deg); }
.icon-compass::before { inset: 13px; transform: skew(-20deg); }

.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 190px;
  padding: 42px clamp(20px, 6vw, 112px);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(6,7,9,.95), rgba(9, 11, 15, .98));
}

.metric {
  position: relative;
  z-index: 2;
  padding: 4px 36px 18px 0;
  border-right: 1px solid rgba(255,255,255,.075);
}

.metric:last-of-type {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-weight: 300;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 1;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.metric span {
  display: block;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .77rem;
}

.earth {
  position: absolute;
  right: -7vw;
  bottom: -13vw;
  width: min(580px, 45vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 26%, rgba(255,255,255,.16), transparent 14%),
    radial-gradient(circle at 37% 45%, rgba(215,166,71,.65) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 58% 57%, rgba(215,166,71,.48) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 70% 40%, rgba(215,166,71,.42) 0 2px, transparent 2px 100%),
    linear-gradient(145deg, rgba(21,24,28,.98), rgba(3,4,6,.99));
  box-shadow: inset 0 0 60px rgba(255,255,255,.05), inset -30px -30px 100px rgba(0,0,0,.9), 0 0 70px rgba(215,166,71,.1);
  opacity: .78;
}

.earth::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-top: 2px solid rgba(255, 219, 135, .92);
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 14px rgba(215,166,71,.5));
}

.earth::after {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background:
    linear-gradient(24deg, transparent 0 48%, rgba(215,166,71,.34) 49% 50%, transparent 51% 100%),
    linear-gradient(-12deg, transparent 0 44%, rgba(215,166,71,.18) 45% 46%, transparent 47% 100%);
  border-radius: 50%;
  opacity: .45;
}

.portfolio {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  padding: 58px clamp(20px, 6vw, 112px) 72px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.company-card {
  min-height: 148px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 50% 18%, rgba(215,166,71,.12), transparent 55%),
    rgba(255,255,255,.025);
  border-radius: 10px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.company-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,166,71,.6);
  background: rgba(215,166,71,.05);
}

.mini-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(215,166,71,.7);
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: -.05em;
  box-shadow: 0 0 22px rgba(215,166,71,.12);
}

.company-card strong {
  color: #f4f2ed;
  letter-spacing: .08em;
  font-weight: 500;
}

.company-card strong span {
  color: var(--gold);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 32px clamp(20px, 6vw, 112px);
  background: rgba(6,7,9,.9);
}

.value {
  display: flex;
  align-items: center;
  gap: 18px;
}

.value > span {
  color: var(--gold);
  font-size: 1.8rem;
  width: 42px;
  text-align: center;
}

.value h3 {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .82rem;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.contact {
  padding: 90px clamp(20px, 6vw, 112px);
}

.contact-panel {
  min-height: 350px;
  border: 1px solid rgba(215,166,71,.22);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(8,10,13,.95), rgba(8,10,13,.76)),
    radial-gradient(circle at 80% 25%, rgba(215,166,71,.22), transparent 22rem);
  box-shadow: var(--shadow);
}

.contact-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 112px) 38px;
  color: var(--muted);
  background: #050608;
}

.footer .brand-mark {
  width: 34px;
  height: 34px;
}

.footer .brand-text {
  font-size: .82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1220px) {
  .main-nav {
    gap: 22px;
  }

  .service-grid,
  .company-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    position: absolute;
    right: 8vw;
    top: 23%;
    width: min(330px, 36vw);
    opacity: .72;
  }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 16px auto 16px;
    display: grid;
    margin: 0;
    padding: 24px;
    background: rgba(8,10,13,.96);
    border: 1px solid rgba(215,166,71,.25);
    border-radius: 18px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  body.is-menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-button {
    display: block;
  }

  body.is-menu-open .menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.is-menu-open .menu-button span:nth-child(2) { opacity: 0; }
  body.is-menu-open .menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero {
    height: auto;
    min-height: 760px;
    padding-right: 28px;
  }

  .hero-index,
  .scroll-cue {
    display: none;
  }

  .intro,
  .portfolio {
    grid-template-columns: 1fr;
  }

  .metrics,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-text {
    letter-spacing: .11em;
  }

  .header-actions .outline-button {
    display: none;
  }

  .hero {
    min-height: 710px;
    padding: calc(var(--header-h) + 30px) 18px 60px;
  }

  .hero-emblem {
    right: -40px;
    top: 120px;
    width: 230px;
    opacity: .37;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-buttons {
    display: grid;
    max-width: 360px;
  }

  .intro,
  .portfolio,
  .metrics,
  .values,
  .contact {
    padding-inline: 18px;
  }

  .service-grid,
  .company-grid,
  .metrics,
  .values {
    grid-template-columns: 1fr;
  }

  .service-card,
  .metric {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-left: 0;
  }

  .earth {
    opacity: .28;
    width: 120vw;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* KRAT.vision extended pages + brand portfolio */
body[data-page="home"] .main-nav a[data-page="home"],
body[data-page="about"] .main-nav a[data-page="about"],
body[data-page="services"] .main-nav a[data-page="services"],
body[data-page="career"] .main-nav a[data-page="career"],
body[data-page="contact"] .main-nav a[data-page="contact"] {
  color: var(--gold-2);
}
body[data-page="home"] .main-nav a[data-page="home"]::after,
body[data-page="about"] .main-nav a[data-page="about"]::after,
body[data-page="services"] .main-nav a[data-page="services"]::after,
body[data-page="career"] .main-nav a[data-page="career"]::after,
body[data-page="contact"] .main-nav a[data-page="contact"]::after {
  width: 100%;
}
.brand-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.brand-card {
  min-height: 292px;
  padding: 18px;
  align-content: start;
  justify-items: start;
  text-align: left;
}
.brand-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.06);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-card strong { font-size: 1.04rem; letter-spacing: .02em; }
.brand-card em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-style: normal;
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.brand-card p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.55;
  min-height: 66px;
}
.card-link { color: var(--gold-2); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.about-strip,
.content-section {
  padding: 72px clamp(20px, 6vw, 112px);
}
.about-strip {
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: 54px;
  background: linear-gradient(180deg, rgba(8,10,14,.82), rgba(5,6,8,.96));
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.value-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value-grid article,
.quote-card,
.job-card,
.service-list article {
  border: 1px solid rgba(255,255,255,.09);
  background: radial-gradient(circle at 30% 0, rgba(215,166,71,.11), transparent 52%), rgba(255,255,255,.026);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(0,0,0,.24);
}
.value-grid span { color: var(--gold); font-size: 2rem; }
.value-grid h3,
.service-list h3,
.job-card h3 {
  margin: 14px 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
}
.value-grid p,
.service-list p,
.job-card p,
.job-card li,
.content-section p { color: var(--muted); line-height: 1.72; }
.page-hero {
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 80px) clamp(20px, 6vw, 112px) 90px;
  background:
    linear-gradient(90deg, rgba(5,6,8,.96), rgba(5,6,8,.74)),
    radial-gradient(circle at 72% 42%, rgba(215,166,71,.24), transparent 24rem);
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 7vw, 7rem);
}
.page-hero p:not(.eyebrow) { max-width: 760px; color: rgba(244,242,237,.82); font-size: 1.15rem; line-height: 1.75; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(300px,.72fr);
  gap: 42px;
  align-items: center;
}
.content-section h2 { font-size: clamp(2.1rem, 3.5vw, 4.2rem); line-height: 1.08; font-weight: 300; letter-spacing: -.04em; }
.quote-card strong { display: block; color: var(--gold-2); font-size: clamp(1.5rem,2.4vw,2.7rem); line-height: 1.1; font-weight: 400; }
.quote-card span { display: block; margin-top: 20px; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.service-list article span { color: var(--gold); font-size: 2.4rem; font-weight: 300; }

.career-intro {
  padding-bottom: 26px;
}
.human-note {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215,166,71,.30);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 12% 18%, rgba(10,168,204,.18), transparent 22rem),
    radial-gradient(circle at 92% 8%, rgba(215,166,71,.21), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
.human-note::after {
  content: "AI ≠ Mensch";
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(16px, 3vw, 38px);
  color: rgba(215,166,71,.10);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
  pointer-events: none;
}
.human-note h2,
.human-note p {
  position: relative;
  z-index: 1;
}
.human-note h2 {
  max-width: 920px;
  margin-bottom: 18px;
}
.human-note p:not(.eyebrow) {
  max-width: 930px;
  color: rgba(244,242,237,.84);
  line-height: 1.78;
  font-size: 1.05rem;
}

.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: start; }
.job-card h2 { font-size: clamp(1.8rem, 2.6vw, 3rem); }
.job-card ul { padding-left: 18px; margin-bottom: 28px; }
.job-card li { margin-bottom: 8px; }
.footer a { color: var(--gold-2); }
@media (max-width: 1320px){ .brand-grid{grid-template-columns: repeat(4, minmax(0,1fr));} }
@media (max-width: 980px){ .about-strip,.two-col,.job-grid{grid-template-columns:1fr;} .service-list,.value-grid,.value-grid.four{grid-template-columns: repeat(2,minmax(0,1fr));} }
@media (max-width: 680px){ .brand-grid,.service-list,.value-grid,.value-grid.four{grid-template-columns:1fr;} .brand-card{min-height:auto;} .page-hero{min-height:480px;} }


/* Founder portrait + blue/gold harmony from uploaded headshot */
:root {
  --cyan: #0aa8cc;
  --cyan-2: #45d6f2;
  --cyan-deep: #062635;
  --navy-deep: #020912;
}
.brand-logo-photo {
  background:
    radial-gradient(circle at 50% 50%, rgba(10,168,204,.10), transparent 64%),
    linear-gradient(145deg, rgba(0,0,0,.72), rgba(5,7,10,.96));
}
.brand-logo-limo img { width: 82%; height: 78%; object-fit: contain; }
.brand-logo-doctor img { width: 72%; height: 82%; object-fit: contain; }
.founder-strip {
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  align-items: center;
  background:
    radial-gradient(circle at 24% 36%, rgba(10,168,204,.34), transparent 19rem),
    radial-gradient(circle at 75% 15%, rgba(215,166,71,.14), transparent 20rem),
    linear-gradient(180deg, rgba(5,9,14,.98), rgba(4,6,9,.96));
}
.founder-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  padding: 14px;
  border: 1px solid rgba(69,214,242,.32);
  background:
    linear-gradient(135deg, rgba(10,168,204,.34), rgba(215,166,71,.14) 48%, rgba(0,0,0,.72)),
    rgba(255,255,255,.03);
  box-shadow: 0 28px 90px rgba(0,0,0,.62), 0 0 60px rgba(10,168,204,.13);
}
.founder-photo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(69,214,242,.82), transparent 31%, rgba(215,166,71,.82));
  opacity: .22;
  pointer-events: none;
}
.founder-photo-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  box-shadow: inset 0 -150px 120px rgba(2,9,18,.74), inset 0 0 0 1px rgba(255,255,255,.075);
  pointer-events: none;
}
.founder-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 492px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  filter: saturate(1.02) contrast(1.02);
}
.founder-photo-meta {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  z-index: 2;
  display: grid;
  gap: 6px;
}
.founder-photo-meta strong {
  color: var(--gold-2);
  font-size: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.founder-photo-meta span {
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.45;
}
.founder-content h2 {
  font-size: clamp(2.4rem, 4.4vw, 5.2rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.045em;
  margin-bottom: 26px;
}
.founder-content p:not(.eyebrow) {
  max-width: 850px;
  color: rgba(244,242,237,.78);
  font-size: 1.02rem;
  line-height: 1.82;
}
.founder-values {
  margin-top: 36px;
}
.founder-values article {
  background:
    radial-gradient(circle at 18% 0, rgba(10,168,204,.14), transparent 58%),
    radial-gradient(circle at 92% 0, rgba(215,166,71,.09), transparent 48%),
    rgba(255,255,255,.026);
  border-color: rgba(69,214,242,.16);
}
.founder-values span,
.blue-quote strong {
  color: var(--cyan-2);
}
.founder-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 430px);
  align-items: center;
  gap: 56px;
  background:
    linear-gradient(90deg, rgba(5,6,8,.98), rgba(5,9,14,.84)),
    radial-gradient(circle at 72% 42%, rgba(10,168,204,.34), transparent 24rem),
    radial-gradient(circle at 35% 35%, rgba(215,166,71,.20), transparent 22rem);
}
.founder-page-hero .founder-photo-card {
  min-height: 500px;
}
.founder-page-hero .founder-photo-card img {
  min-height: 472px;
}
.founder-story {
  background:
    radial-gradient(circle at 82% 0, rgba(10,168,204,.12), transparent 24rem),
    linear-gradient(180deg, rgba(7,10,14,.94), rgba(5,6,8,.98));
}
.blue-quote {
  border-color: rgba(69,214,242,.20);
  background:
    radial-gradient(circle at 20% 0, rgba(10,168,204,.16), transparent 55%),
    rgba(255,255,255,.028);
}
@media (max-width: 980px){
  .founder-strip,
  .founder-page-hero { grid-template-columns: 1fr; }
  .founder-photo-card { max-width: 520px; }
}
@media (max-width: 680px){
  .founder-photo-card { min-height: 430px; padding: 10px; border-radius: 22px; }
  .founder-photo-card img { min-height: 410px; border-radius: 16px; }
  .founder-photo-card::after { inset: 10px; border-radius: 16px; }
  .founder-photo-meta { left: 24px; right: 24px; bottom: 24px; }
}

/* 3D depth backgrounds + cinematic motion layer */
main,
.footer {
  position: relative;
  z-index: 2;
}

.depth-scene {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: .88;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.depth-scene::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at calc(50% + (var(--parallax-x, 0) * 1px)) calc(20% + (var(--parallax-y, 0) * 1px)), rgba(10,168,204,.11), transparent 32rem),
    radial-gradient(circle at calc(82% - (var(--parallax-x, 0) * .55px)) calc(72% - (var(--parallax-y, 0) * .35px)), rgba(215,166,71,.13), transparent 28rem),
    radial-gradient(circle at 18% 82%, rgba(255,255,255,.045), transparent 20rem);
  filter: blur(1px);
  transform: translate3d(calc(var(--parallax-x, 0) * .08px), calc(var(--parallax-y, 0) * .08px), 0);
}

.depth-grid {
  position: absolute;
  left: -12vw;
  right: -12vw;
  bottom: -26vh;
  height: 72vh;
  background:
    linear-gradient(rgba(215,166,71,.22) 1px, transparent 1px) 0 0 / 100% 74px,
    linear-gradient(90deg, rgba(69,214,242,.16) 1px, transparent 1px) 0 0 / 96px 100%;
  transform-origin: 50% 100%;
  transform: rotateX(68deg) translate3d(calc(var(--parallax-x, 0) * -.14px), calc(var(--parallax-y, 0) * .08px), -280px);
  opacity: .22;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 60%, transparent 100%);
  animation: depthGridDrift 22s linear infinite;
}

.depth-orb,
.depth-shard,
.depth-ring {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.depth-orb {
  width: var(--size, 280px);
  height: var(--size, 280px);
  border-radius: 50%;
  left: var(--left, 70%);
  top: var(--top, 20%);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.28), transparent 16%),
    radial-gradient(circle at 62% 66%, rgba(215,166,71,.35), transparent 42%),
    radial-gradient(circle at 42% 42%, rgba(10,168,204,.20), transparent 54%);
  filter: blur(.4px) saturate(1.1);
  opacity: var(--opacity, .26);
  transform: translate3d(calc(var(--parallax-x, 0) * var(--px, .15px)), calc(var(--parallax-y, 0) * var(--py, .12px)), var(--z, -120px));
  animation: orbFloat var(--dur, 15s) ease-in-out infinite alternate;
  box-shadow: inset -26px -32px 60px rgba(0,0,0,.45), 0 0 60px rgba(215,166,71,.11);
}

.depth-orb.orb-two {
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.18), transparent 14%),
    radial-gradient(circle at 60% 70%, rgba(10,168,204,.34), transparent 43%),
    radial-gradient(circle at 35% 62%, rgba(215,166,71,.14), transparent 52%);
}

.depth-shard {
  width: var(--w, 150px);
  height: var(--h, 220px);
  left: var(--left, 8%);
  top: var(--top, 22%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.012) 55%, rgba(215,166,71,.08)),
    linear-gradient(135deg, rgba(10,168,204,.07), transparent 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  opacity: var(--opacity, .30);
  transform: translate3d(calc(var(--parallax-x, 0) * var(--px, -.18px)), calc(var(--parallax-y, 0) * var(--py, .1px)), var(--z, -40px)) rotateX(var(--rx, 62deg)) rotateY(var(--ry, -28deg)) rotateZ(var(--rz, 10deg));
  animation: shardDrift var(--dur, 18s) ease-in-out infinite alternate;
}

.depth-shard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.13) 48%, transparent 58% 100%);
  opacity: .65;
  transform: translateX(-36%);
  animation: shardShine 7s ease-in-out infinite;
}

.depth-ring {
  width: var(--size, 340px);
  height: var(--size, 340px);
  left: var(--left, 66%);
  top: var(--top, 42%);
  border-radius: 50%;
  border: 1px solid rgba(215,166,71,.24);
  box-shadow: inset 0 0 22px rgba(215,166,71,.08), 0 0 28px rgba(10,168,204,.06);
  opacity: var(--opacity, .22);
  transform: translate3d(calc(var(--parallax-x, 0) * var(--px, .12px)), calc(var(--parallax-y, 0) * var(--py, -.11px)), var(--z, -160px)) rotateX(72deg) rotateZ(var(--rz, 0deg));
  animation: ringRotate var(--dur, 26s) linear infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: 5vw;
  top: 15%;
  width: min(46vw, 640px);
  aspect-ratio: 1.25;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, transparent 0 17%, rgba(215,166,71,.24), transparent 31% 48%, rgba(69,214,242,.10), transparent 63% 100%);
  filter: blur(.2px);
  transform: translate3d(calc(var(--parallax-x, 0) * .08px), calc(var(--parallax-y, 0) * -.08px), 0) rotateX(66deg) rotateZ(-18deg);
  opacity: .45;
  z-index: 3;
  animation: heroHalo 18s linear infinite;
}

.building {
  animation: buildingBreath 9s ease-in-out infinite alternate;
}

.building-front::after,
.building-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255,255,255,.14) 49%, transparent 57% 100%);
  opacity: .32;
  transform: translateX(-72%);
  animation: buildingSweep 8s ease-in-out infinite;
}

.hero-emblem img {
  animation: emblemFloat 8s ease-in-out infinite alternate;
}

.section-frame {
  isolation: isolate;
}

.section-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(255,255,255,.025) 29%, transparent 30% 100%),
    radial-gradient(circle at 82% 18%, rgba(215,166,71,.045), transparent 18rem),
    radial-gradient(circle at 14% 82%, rgba(10,168,204,.04), transparent 18rem);
  opacity: .78;
}

.intro::after,
.portfolio::after,
.content-section::after,
.about-strip::after,
.contact::after,
.metrics::after {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 6vw, 112px) 0 clamp(18px, 6vw, 112px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,166,71,.42), rgba(69,214,242,.18), transparent);
  opacity: .65;
  pointer-events: none;
}

.company-card,
.service-card,
.value-grid article,
.job-card,
.quote-card,
.service-list article,
.contact-panel,
.founder-photo-card,
.human-note {
  transform-style: preserve-3d;
  will-change: transform;
}

.company-card,
.service-card,
.value-grid article,
.job-card,
.quote-card,
.service-list article,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.company-card::after,
.service-card::after,
.value-grid article::after,
.job-card::after,
.quote-card::after,
.service-list article::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(255,255,255,.15), transparent 30%);
  opacity: 0;
  transition: opacity .25s ease;
}

.company-card:hover::after,
.service-card:hover::after,
.value-grid article:hover::after,
.job-card:hover::after,
.quote-card:hover::after,
.service-list article:hover::after,
.contact-panel:hover::after {
  opacity: .8;
}

.tilt-3d {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(0, -3px, 0);
}

.brand-logo,
.icon,
.value-grid span,
.service-list article span {
  transform: translateZ(28px);
}

.page-hero,
.content-section,
.about-strip,
.contact,
.portfolio,
.intro,
.metrics {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(215,166,71,.08), transparent),
    linear-gradient(rgba(215,166,71,.10) 1px, transparent 1px) 0 0 / 100% 92px,
    linear-gradient(90deg, rgba(69,214,242,.08) 1px, transparent 1px) 0 0 / 96px 100%;
  transform-origin: bottom right;
  transform: perspective(900px) rotateX(67deg) translate3d(calc(var(--parallax-x, 0) * -.06px), 9vh, -120px);
  opacity: .22;
  animation: pageGridDrift 18s linear infinite;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

@keyframes depthGridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 148px, 192px 0; }
}

@keyframes orbFloat {
  from { margin-top: 0; margin-left: 0; filter: blur(.4px) saturate(1.02); }
  to { margin-top: -32px; margin-left: 22px; filter: blur(.2px) saturate(1.25); }
}

@keyframes shardDrift {
  from { margin-top: 0; margin-left: 0; }
  to { margin-top: -36px; margin-left: 28px; }
}

@keyframes shardShine {
  0%, 38% { transform: translateX(-80%); opacity: 0; }
  52% { opacity: .85; }
  74%, 100% { transform: translateX(80%); opacity: 0; }
}

@keyframes ringRotate {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes heroHalo {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes buildingBreath {
  from { transform: rotateX(0deg) rotateY(-10deg) translate3d(0,0,0); }
  to { transform: rotateX(1.5deg) rotateY(-14deg) translate3d(-10px,-8px,0); }
}

@keyframes buildingSweep {
  0%, 35% { transform: translateX(-72%); opacity: 0; }
  48% { opacity: .32; }
  70%, 100% { transform: translateX(72%); opacity: 0; }
}

@keyframes emblemFloat {
  from { transform: scale(1.14) translate3d(0,0,0) rotateZ(-.8deg); }
  to { transform: scale(1.17) translate3d(10px,-16px,0) rotateZ(.8deg); }
}

@keyframes pageGridDrift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 184px, 192px 0; }
}

@media (max-width: 980px) {
  .depth-scene { opacity: .56; }
  .depth-shard { display: none; }
  .depth-grid { opacity: .14; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .tilt-3d { transform: none !important; }
}
