:root {
  --bg: #07101a;
  --bg-soft: #0b1623;
  --surface: rgba(17, 29, 43, 0.72);
  --surface-strong: #101c2a;
  --line: rgba(148, 173, 201, 0.18);
  --text: #eef4fb;
  --muted: #a8b6c8;
  --accent: #49a1ff;
  --accent-strong: #1986f5;
  --shell: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(67, 129, 194, 0.14), transparent 28rem),
    linear-gradient(180deg, #08111c 0%, #07101a 50%, #050c14 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: .5rem;
  background: #fff;
  color: #000;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 26, .82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}

.brand-logo {
  width: 52px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, .26));
}

.brand-logo-footer {
  width: 48px;
  height: 32px;
}

.brand-name {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: .93rem;
}

.nav a {
  position: relative;
  padding: 1.6rem 0;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0 0 0 50%;
  background:
    linear-gradient(90deg, #08111c 0%, rgba(8, 17, 28, .45) 20%, rgba(8, 17, 28, .18) 100%),
    radial-gradient(circle at 62% 27%, rgba(92, 164, 235, .22), transparent 36rem);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  padding: 5rem 0;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.hero h1 span {
  color: var(--accent);
}

.role {
  margin: 1.4rem 0 .8rem;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: #c9d5e4;
  font-weight: 400;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 2rem;
}

.pillars article {
  min-width: 0;
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: .55rem;
  color: var(--accent);
  border: 1px solid rgba(73, 161, 255, .36);
  border-radius: .65rem;
}

.pillars h2 {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pillars p {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .9rem;
  font-weight: 700;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent-strong);
  box-shadow: 0 10px 30px rgba(25, 134, 245, .22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #3197ff;
}

.button-ghost {
  border-color: rgba(120, 169, 214, .4);
  background: rgba(14, 29, 45, .45);
}

.portrait-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 660px;
}

.portrait-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 9%;
  right: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 156, 231, .22), transparent 68%);
  filter: blur(12px);
}

.portrait {
  position: relative;
  z-index: 1;
  width: min(620px, 104%);
  max-height: 690px;
  object-fit: cover;
  object-position: center 17%;
  filter: saturate(.88) contrast(1.03);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.portrait-meta {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 31%;
  display: grid;
  gap: .42rem;
  color: #9fb2c9;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.portrait-meta span {
  padding-left: .75rem;
  border-left: 1px solid var(--accent);
}

.section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .9fr .58fr;
  gap: 4rem;
  align-items: start;
}

.section h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 650px;
}

.facts {
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 1rem 2rem;
  border-left: 1px solid var(--line);
}

.fact {
  display: grid;
  gap: .2rem;
}

.fact strong {
  font-size: .98rem;
}

.fact span {
  color: var(--muted);
  font-size: .82rem;
}

.quote {
  position: relative;
  margin: 0;
  padding: .2rem 0 0;
}

.quote-mark {
  display: block;
  color: rgba(91, 139, 190, .45);
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: .7;
}

.quote p {
  margin: .8rem 0 1.7rem;
  color: #c7d2df;
  font-size: 1.35rem;
  line-height: 1.45;
}

.quote footer {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.work {
  background: linear-gradient(180deg, rgba(10, 22, 34, .42), rgba(4, 11, 18, .18));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.work-card {
  position: relative;
  min-height: 310px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background:
    linear-gradient(150deg, rgba(22, 41, 59, .84), rgba(8, 18, 29, .88)),
    var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform .2s ease,
    border-color .2s ease;
}

.work-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 161, 255, .13), transparent 70%);
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(73, 161, 255, .35);
}

.work-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1.35rem;
  border: 1px solid rgba(73, 161, 255, .24);
  border-radius: .7rem;
  background: rgba(73, 161, 255, .06);
}

.work-kicker {
  margin: 0;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: .5rem 0 .85rem;
  font-size: 1.18rem;
}

.work-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.contact p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
}

.site-footer {
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .72rem;
}

.footer-tagline {
  margin: 0;
  text-align: center;
  color: #b9c8d8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.copyright {
  margin: 0;
  color: #75869a;
  font-size: .74rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .portrait-wrap {
    min-height: 480px;
  }

  .portrait {
    max-height: 560px;
  }

  .portrait-meta {
    right: 4%;
  }

  .about-grid {
    gap: 2.4rem;
  }

  .facts {
    padding-left: 0;
    border-left: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-tagline {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .brand-name {
    font-size: .7rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    padding: 4rem 0 1rem;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

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

  .portrait-wrap {
    min-height: 430px;
    width: 100%;
  }

  .portrait {
    width: 100%;
    max-height: 470px;
    object-position: center 10%;
  }

  .portrait-meta {
    display: none;
  }

  .section {
    padding: 4.4rem 0;
  }

  .contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .brand-logo {
    width: 46px;
    height: 30px;
  }
}
