:root {
  --bg: #08111d;
  --line: rgba(179, 207, 239, .13);
  --muted: #a0b1c7;
  --text: #f5f8fc;
  --accent: #70e5cd;
  --container: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--accent);
  color: #09252b;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.nav-right a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 5px;
}

::selection {
  background: rgba(112,229,205,.35);
  color: white;
}

.site-wrap {
  overflow: hidden;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.site-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100px -350px auto -350px;
  height: 900px;
  pointer-events: none;
  background: radial-gradient(ellipse at 68% 36%,rgba(41,123,164,.20),transparent 52%),radial-gradient(ellipse at 9% 15%,rgba(70,123,163,.13),transparent 39%);
}

.container {
  width: min(calc(100% - 64px),var(--container));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid rgba(180,220,240,.07);
  position: relative;
  z-index: 5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #9cebd6, #51cfc7);
  box-shadow: 0 8px 30px rgba(88,217,193,.12);
  color: #0c2932;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-name {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .065em;
  line-height: 1.11;
  text-transform: uppercase;
}

.brand-name span {
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 0.875rem;
  font-weight: 650;
  color: #c5d2e2;
}

.nav-right a:hover {
  color: var(--accent);
}

.hero {
  padding: 88px 0 103px;
  display: grid;
  grid-template-columns: 1fr .99fr;
  align-items: center;
  gap: 55px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .2em;
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(3.375rem,5.1vw,4.9375rem);
  line-height: 1.07;
  letter-spacing: -.065em;
  font-weight: 850;
  max-width: 690px;
  margin: 24px 0 25px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg,#8ee6df 3%,#64d5c3 45%,#f4cb8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #b4c3d5;
  max-width: 540px;
  margin: 0;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  padding: 15px 23px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: transform .2s,background .2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-main {
  background: var(--accent);
  color: #09252b;
  box-shadow: 0 8px 28px rgba(112,229,205,.12);
}

.button-main:hover {
  background: #a2f1e4;
}

.button-quiet {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  color: #e7eff8;
}

.button-quiet:hover {
  background: rgba(255,255,255,.08);
}

.art-frame {
  position: relative;
  max-width: 540px;
  width: 100%;
  justify-self: end;
  margin: 0;
  filter: drop-shadow(0px 33px 70px rgba(0,0,0,.23));
  transform: rotate(1.5deg);
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: -20px -25px -26px;
  z-index: -1;
  background: radial-gradient(ellipse at center,rgba(41,168,168,.24),transparent 64%);
  filter: blur(20px);
}

.art-window {
  border: 1px solid rgba(197,237,255,.19);
  border-radius: 25px;
  overflow: hidden;
  background: #0b1b2d;
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}

.window-bar {
  height: 48px;
  background: #16283a;
  border-bottom: 1px solid rgba(197,237,255,.12);
  display: flex;
  align-items: center;
  padding: 0 19px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #5b7685;
}

.dots i:first-child {
  background: #e99584;
}

.dots i:nth-child(2) {
  background: #eac77e;
}

.dots i:nth-child(3) {
  background: #81c9ad;
}

.arena {
  aspect-ratio: 1.08;
  position: relative;
  overflow: hidden;
  background-color: #0c2231;
  background-image: linear-gradient(rgba(139,203,221,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(139,203,221,.055) 1px,transparent 1px);
  background-size: 33px 33px;
}

.arena::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(110,204,206,.18);
  border-radius: 18px;
}

.arena::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  top: 15%;
  left: 14%;
  border-radius: 50%;
  border: 1px solid rgba(112,229,205,.15);
  box-shadow: 0 0 0 72px rgba(79,187,183,.018),0 0 0 140px rgba(79,187,183,.014);
  pointer-events: none;
}

.arena svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.art-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 19px;
  color: #95acbf;
  font-size: 0.8125rem;
  letter-spacing: .03em;
  background: #0b1b2d;
}

.section {
  padding: 82px 0;
}

.section-heading {
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(2.125rem,3.45vw,3rem);
  letter-spacing: -.048em;
  line-height: 1.19;
  margin: 0;
  font-weight: 830;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.project {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg,#14263a,#101b2b);
  padding: 27px 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project:first-child {
  background: radial-gradient(ellipse at 96% 1%, rgba(104,218,201,.14),transparent 45%),linear-gradient(145deg,#183445,#112332);
  border-color: rgba(112,229,205,.26);
}

.project-icon {
  height: 58px;
  width: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(112,229,205,.1);
  border: 1px solid rgba(112,229,205,.13);
  color: #9ee9dc;
  margin-bottom: 33px;
}

.project:nth-child(2) .project-icon {
  color: #f2c598;
  background: rgba(242,197,152,.1);
  border-color: rgba(242,197,152,.17);
}

.project:nth-child(3) .project-icon {
  color: #abb8fb;
  background: rgba(171,184,251,.10);
  border-color: rgba(171,184,251,.17);
}

.project-icon svg {
  height: 27px;
  width: 27px;
}

.project h3 {
  font-size: 1.4375rem;
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 0 0 11px;
}

.project p {
  margin: 0 0 24px;
  color: #adbed0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 300px;
}

.project-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.status {
  font-size: 0.875rem;
  font-weight: 750;
  border-radius: 20px;
  padding: 6px 10px;
  color: #c0d0e0;
  background: rgba(230,237,251,.075);
}

.status.highlight {
  color: #9ae8d9;
  background: rgba(112,229,205,.1);
}

.about {
  padding-top: 80px;
  padding-bottom: 96px;
}

.about-panel {
  border: 1px solid var(--line);
  border-radius: 25px;
  min-height: 290px;
  padding: 44px 53px;
  background: radial-gradient(ellipse at 93% 29%,rgba(241,176,112,.15),transparent 39%),radial-gradient(ellipse at 12% 96%,rgba(88,219,197,.12),transparent 55%),#122236;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  max-width: 620px;
}

.about h2 {
  margin-bottom: 17px;
}

.about p {
  color: #b8c7d8;
  max-width: 565px;
  line-height: 1.8;
  margin: 0;
}

.spark-icon {
  width: 136px;
  height: 136px;
  flex-shrink: 0;
  opacity: .87;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #8ca3ba;
  font-size: 13px;
}

.footer-inner strong {
  color: #cfdae8;
  font-weight: 750;
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (max-width:1000px) {
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(3rem,5.3vw,4.0625rem);
  }
  .art-frame {
    transform: none;
  }
  .project {
    padding: 25px 21px;
    min-height: 360px;
  }
}

@media (max-width:780px) {
  .container {
    width: min(calc(100% - 40px),var(--container));
  }
  .nav {
    min-height: 80px;
  }
  .nav-right {
    gap: 19px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 43px;
    padding: 62px 0 65px;
  }
  .hero h1 {
    font-size: clamp(3.0625rem,10vw,4.5rem);
    max-width: 700px;
  }
  .hero-lead {
    max-width: 650px;
  }
  .art-frame {
    max-width: 570px;
    justify-self: center;
  }
  .section {
    padding: 64px 0;
  }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project:last-child {
    grid-column: 1/-1;
    min-height: 270px;
  }
  .project {
    min-height: 330px;
  }
  .about {
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .about-panel {
    padding: 38px;
  }
  .spark-icon {
    height: 105px;
    width: 105px;
  }
}

@media (max-width:520px) {
  .container {
    width: calc(100% - 32px);
  }
  .brand-name {
    font-size: 12px;
    letter-spacing: .045em;
  }
  .brand-mark {
    height: 37px;
    width: 37px;
    border-radius: 11px;
  }
  .nav {
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .nav-right {
    gap: 14px;
  }
  .hero {
    padding-top: 49px;
  }
  .hero h1 {
    font-size: clamp(2.25rem,12.2vw,3.875rem);
    line-height: 1.07;
    margin-top: 19px;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .eyebrow {
    letter-spacing: .14em;
  }
  .hero-actions {
    margin-top: 28px;
  }
  .button {
    padding: 13px 18px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project {
    min-height: 298px;
  }
  .project:last-child {
    grid-column: auto;
    min-height: 298px;
  }
  .project-icon {
    margin-bottom: 24px;
  }
  .about-panel {
    padding: 30px 26px;
    min-height: 0;
  }
  .spark-icon {
    display: none;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero h1 em {
    color: CanvasText;
  }
}
