:root {
  --bg: #091315;
  --bg-soft: #0d1a1d;
  --panel: rgba(10,24,27,.80);
  --panel-soft: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.075);
  --ink: #f3f8f6;
  --muted: #aabbb6;
  --soft: #718881;
  --line: rgba(255,255,255,.095);
  --line-strong: rgba(255,255,255,.15);
  --accent: #67dcbc;
  --accent-light: #b9f5e5;
  --accent-deep: #12302f;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #091315, #0b1618 48%, #081113);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .26;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 78%);
}

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section-shell { padding: 88px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7,15,17,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.site-header.is-scrolled { background: rgba(7,15,17,.91); }
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(103,220,188,.35);
  background: linear-gradient(180deg, rgba(103,220,188,.18), rgba(103,220,188,.05));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.brand-mark-small { width: 38px; height: 38px; }
.brand-mark-tiny { width: 27px; height: 27px; border-radius: 9px; font-size: 11px; }
.brand-text { display: grid; gap: 1px; min-width: 0; }
.brand-text strong { font-size: 13px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }
.brand-text small { color: var(--soft); font-size: 10px; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a {
  color: #d6e0dd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  transition: color .18s ease;
}
.site-nav > a:hover { color: #fff; }
.nav-linkedin {
  padding: 10px 15px;
  border: 1px solid rgba(103,220,188,.3);
  border-radius: 11px;
  background: rgba(103,220,188,.07);
  color: var(--accent-light) !important;
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: white; transition: transform .2s ease; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
}
.hero-fullscreen { display: flex; align-items: stretch; }
.hero-video-bg { position: absolute; inset: 0; overflow: hidden; background: #071014; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.015);
  filter: saturate(.82) contrast(1.08) brightness(.72);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,12,.94) 0%, rgba(4,10,12,.80) 33%, rgba(4,10,12,.46) 61%, rgba(4,10,12,.34) 100%),
    linear-gradient(180deg, rgba(3,9,11,.10), rgba(3,9,11,.32));
}
.hero-video-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 150px rgba(0,0,0,.40); pointer-events: none; }
.hero-video-sheen {
  position: absolute;
  inset: -16% auto -16% -28%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(179,243,228,.075), transparent);
  filter: blur(13px);
  transform: skewX(-16deg);
  animation: sweep 10s linear infinite;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 700px) 290px;
  gap: 56px;
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-top: 30px;
  padding-bottom: 42px;
}
.hero-copy-panel { width: 100%; max-width: 700px; }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  color: #dce9e5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(103,220,188,.10);
  animation: pulse 1.9s infinite;
}
.eyebrow, .command {
  margin: 0 0 16px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 6.8vw, 91px);
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-statement {
  margin: 23px 0 0;
  max-width: 660px;
  color: #fff;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -.025em;
}
.hero-lead {
  margin: 17px 0 0;
  max-width: 640px;
  color: #c2d0cc;
  font-size: 15px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(180deg, #75e3c6, #59c9ac); color: #06221f; }
.button-secondary { border: 1px solid rgba(255,255,255,.17); background: rgba(7,16,18,.44); color: #fff; backdrop-filter: blur(10px); }

.hero-side-panel { justify-self: start; width: 290px; display: grid; place-items: center; }
.portrait-link-floating { width: min(100%, 286px); }
.portrait-frame {
  overflow: hidden;
  border-radius: 22px;
  background: #f5faf8;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.portrait-frame img { width: 100%; height: auto; }
.portrait-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f7fffc, #e2f5ef);
  color: #143531;
}
.portrait-label span { font-size: 11px; font-weight: 700; }
.portrait-label strong { font-size: 11px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; }

/* Shared section layout */
.section-grid {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.section-index { display: flex; align-items: baseline; gap: 12px; padding-top: 4px; }
.section-index span { color: var(--accent-light); font-size: 11px; font-weight: 850; }
.section-index p { margin: 0; color: #eaf4f1; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.section-main h2,
.contact-copy-block h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

/* About */
.about-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
  margin-top: 28px;
}
.about-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.scope-panel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.028));
}
.scope-text small { display: block; margin-bottom: 7px; color: var(--accent-light); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.scope-text p { margin: 0; color: var(--muted); font-size: 14px; }
.scope-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.scope-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(103,220,188,.14);
  background: rgba(103,220,188,.065);
  color: #e8faf5;
  font-size: 12px;
  font-weight: 650;
}

/* Expertise */
.expertise-section { position: relative; overflow: hidden; isolation: isolate; }
.expertise-section > .container { position: relative; z-index: 2; }
.expertise-video-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.expertise-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .20; filter: saturate(.55) contrast(1.06) brightness(.42); transform: scale(1.02); }
.expertise-video-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,19,.95), rgba(7,17,19,.78) 52%, rgba(7,17,19,.92)); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  margin-top: 34px;
}
.expertise-card {
  height: 100%;
  min-height: 215px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13,29,32,.88), rgba(8,19,21,.84));
  backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .18s ease;
}
.expertise-card:hover { transform: translateY(-3px); border-color: rgba(103,220,188,.25); }
.card-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(103,220,188,.09);
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 850;
}
.expertise-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.expertise-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Experience */
.experience-list { display: grid; gap: 12px; margin-top: 34px; }
.experience-item {
  display: grid;
  grid-template-columns: 175px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}
.experience-dates { padding: 20px 0; color: var(--accent-light); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.experience-content {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.028));
}
.experience-item.current .experience-content { border-color: rgba(103,220,188,.22); }
.experience-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.company { margin: 0 0 4px; color: var(--accent-light); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.experience-head h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.experience-note { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.badge { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(103,220,188,.25); border-radius: 9px; background: rgba(103,220,188,.07); color: var(--accent-light); font-size: 10px; font-weight: 850; }

/* Contact */
.contact-section { background: radial-gradient(circle at 16% 30%, rgba(103,220,188,.06), transparent 27%), #081113; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.contact-copy-block p:not(.command) { max-width: 520px; color: var(--muted); font-size: 14px; }
.contact-linkedin { display: inline-flex; margin-top: 10px; padding: 11px 14px; border: 1px solid rgba(103,220,188,.18); border-radius: 11px; background: rgba(103,220,188,.07); color: #e5faf4; font-size: 13px; font-weight: 750; }
.contact-panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); box-shadow: var(--shadow); }
.contact-brand-card { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-brand-card strong { font-size: 14px; letter-spacing: .02em; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label span { color: #d5e1dd; font-size: 12px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; color: #fff; background: rgba(255,255,255,.035); outline: none; transition: border-color .18s ease, background .18s ease; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(103,220,188,.35); background: rgba(255,255,255,.055); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.message-field { margin-top: 14px; }
.honeypot { display: none; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 18px; }
.form-note { margin: 0; max-width: 390px; color: var(--soft); font-size: 11px; line-height: 1.55; }
.form-status { display: none; margin-top: 14px; padding: 12px 13px; border-radius: 11px; font-size: 12px; font-weight: 650; }
.form-status.is-visible { display: block; }
.form-status.success { border: 1px solid rgba(103,220,188,.20); background: rgba(103,220,188,.09); color: #e4fbf5; }
.form-status.error { border: 1px solid rgba(255,111,111,.18); background: rgba(255,111,111,.08); color: #ffdada; }

/* Footer */
.site-footer { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.055); background: #071012; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--soft); font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-inner a { color: #a8bbb5; }

@keyframes sweep {
  0% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  14% { opacity: 1; }
  55% { opacity: .75; }
  100% { transform: translateX(390%) skewX(-16deg); opacity: 0; }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(103,220,188,.14); }
  50% { box-shadow: 0 0 0 7px rgba(103,220,188,0); }
}

/* Tablet */
@media (max-width: 1040px) {
  .hero-grid { width: min(100% - 40px, 940px); grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-grid { grid-template-columns: 110px minmax(0,1fr); gap: 38px; }
}

/* Mobile navigation + stacked content */
@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .section-shell { padding: 68px 0; }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 66px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: rgba(7,15,17,.97);
    box-shadow: 0 22px 40px rgba(0,0,0,.3);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
  }
  body.nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav > a { padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .site-nav > a:last-child { margin-top: 7px; border-bottom: 0; }
  body.nav-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.nav-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 48px;
    gap: 24px;
  }
  .hero-copy-panel { max-width: none; }
  .hero h1 { font-size: clamp(45px, 13vw, 72px); }
  .hero-statement { max-width: 620px; font-size: clamp(22px, 5.5vw, 29px); }
  .hero-lead { max-width: 600px; }
  .hero-side-panel {
    justify-self: center;
    width: min(78vw, 300px);
    margin-top: 2px;
  }
  .portrait-link-floating { width: 100%; }
  .portrait-frame {
    border-radius: 24px;
    box-shadow: 0 22px 46px rgba(0,0,0,.30);
  }
  .portrait-frame img {
    width: 100%;
    display: block;
  }
  .portrait-label {
    display: grid;
    gap: 5px;
    padding: 12px 14px 13px;
    text-align: center;
    justify-items: center;
  }
  .portrait-label span {
    font-size: 11px;
    line-height: 1.35;
  }
  .portrait-label strong {
    font-size: 11px;
    white-space: normal;
  }

  .section-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-index { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .about-copy { grid-template-columns: 1fr; gap: 13px; }
  .experience-item { grid-template-columns: 1fr; gap: 7px; }
  .experience-dates { padding: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--max)); }
  .brand-text strong { font-size: 11px; }
  .brand-text small { display: none; }
  .hero-bg-video { object-position: 63% center; filter: saturate(.75) contrast(1.05) brightness(.58); }
  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(3,9,11,.78) 0%, rgba(3,9,11,.64) 44%, rgba(3,9,11,.82) 100%),
      linear-gradient(90deg, rgba(3,9,11,.48), rgba(3,9,11,.28));
  }
  .hero-grid { padding-top: 26px; padding-bottom: 48px; }
  .hero-status { margin-bottom: 15px; font-size: 10px; }
  .eyebrow { max-width: 330px; font-size: 10px; line-height: 1.55; }
  .hero h1 { font-size: clamp(43px, 15vw, 66px); }
  .hero-statement { margin-top: 18px; font-size: 22px; }
  .hero-lead { margin-top: 13px; font-size: 14px; line-height: 1.62; }
  .hero-actions { margin-top: 22px; }
  .button { width: 100%; }
  .hero-side-panel {
    width: min(82vw, 285px);
    justify-self: center;
  }
  .section-shell { padding: 54px 0; }
  .section-main h2, .contact-copy-block h2 { font-size: clamp(30px, 9.5vw, 42px); }
  .scope-panel { padding: 18px; }
  .scope-chips { gap: 6px; }
  .scope-chips span { padding: 7px 10px; font-size: 11px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 10px; }
  .expertise-card { min-height: 0; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-panel { padding: 18px; }
  .experience-content { min-height: 0; padding: 17px; }
  .experience-head { align-items: flex-start; }
  .experience-head h3 { font-size: 19px; }
  .badge { padding: 6px 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
}

@media (max-width: 430px) {
  .hero-side-panel {
    width: min(84vw, 270px);
    justify-self: center;
  }
  .portrait-frame { border-radius: 22px; }
  .portrait-label {
    display: grid;
    gap: 4px;
    padding: 11px 12px 12px;
  }
  .portrait-label strong { white-space: normal; }
  .experience-head { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-video, .expertise-bg-video { display: none; }
  .hero-video-bg {
    background:
      linear-gradient(90deg, rgba(4,11,13,.88), rgba(4,11,13,.48)),
      url("assets/datacenter-poster.jpg") 55% center / cover no-repeat;
  }
  .hero-video-sheen { display: none; }
}

@media (max-width: 620px) {
  .portrait-frame img {
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
    object-position: 50% 20%;
  }
}
