/* Theme tokens */
:root {
  color-scheme: dark;
  --bg: #08111c;
  --panel: #101e2c;
  --line: #284052;
  --text: #eef5f7;
  --muted: #a8b8c7;
  --accent: #80e2c4;
  --gold: #f2c27b;
}
/* Base styles and accessibility */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}
.wrap {
  width: min(1100px,calc(100% - 44px));
  margin: auto;
}
/* Hero text and portfolio labels */
.identity {
  color: #a9c4d3;
  font-size: 14px;
  font-weight: 650;
  margin: -13px 0 24px;
}
.identity strong {
  color: #f0f7fa;
}
.project-label {
  color: #8fe0cc;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 15px 0 -12px;
}
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 27%,#1b3e4f 0%,transparent
  48%),linear-gradient(145deg,#0d1d2c,#08111c 75%);
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .27;
  background-image: linear-gradient(#6dbbb519 1px,transparent 1px),linear-gradient(90deg,#6dbbb519
  1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right,transparent,#000);
}
/* Header and navigation */
header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}
.monogram {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--accent);
  color: #071922;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
}
nav a {
  color: #c0cdd8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-left: 25px;
}
nav a:hover,.link:hover {
  color: var(--accent);
}
/* Hero and call-to-action buttons */
.hero-body {
  position: relative;
  padding: 96px 0 105px;
  max-width: 790px;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(42px,6.8vw,78px);
  line-height: 1.085;
  letter-spacing: -.055em;
  margin: 0 0 25px;
  font-weight: 800;
}
h1 span {
  color: var(--accent);
}
.lead {
  color: #c3d1dc;
  font-size: clamp(17px,2vw,21px);
  max-width: 680px;
  margin: 0 0 33px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 9px;
  padding: 12px 20px;
  font-weight: 750;
  font-size: 14px;
  transition: transform .15s,background .15s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: #06202a;
}
.button-primary:hover {
  background: #a1f5db;
}
.button-outline {
  border: 1px solid #4b6776;
  color: #d8e7ea;
  margin-left: 10px;
}
.button-outline:hover {
  background: #1c3340;
}
/* Project grid and cards */
main {
  padding: 75px 0 90px;
}
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h2 {
  font-size: clamp(28px,3.4vw,38px);
  letter-spacing: -.038em;
  margin: 0 0 9px;
}
.section-intro {
  color: var(--muted);
  margin: 0 0 31px;
  max-width: 640px;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 19px;
}
.project {
  border: 1px solid var(--line);
  background: linear-gradient(150deg,#132637,#0d1b29);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 375px;
  transition: border-color .15s,transform .15s;
}
.project:hover {
  border-color: #4b7e7a;
  transform: translateY(-3px);
}
#projects,#about {
  scroll-margin-top: 24px;
}
.project-top {
  width: 100%;
  aspect-ratio: 16/9;
  background: radial-gradient(circle at 78% 15%,#447b88aa,transparent 55%),linear-gradient(120deg,#19394a,#10212f);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #2c4656;
}
.project-top.cover {
  background: #0c1828;
}
.project-top.cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.project-top.one {
  background: radial-gradient(circle at 70% 10%,#776e59aa,transparent 60%),linear-gradient(120deg,#30313a,#1c2530);
}
.project-top.three {
  background: radial-gradient(circle at 65% 10%,#4e648aaa,transparent 60%),linear-gradient(120deg,#26334c,#152537);
}
.diagram {
  display: flex;
  gap: 12px;
  align-items: center;
}
.diagram i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b9f8e8;
  box-shadow: 0 0 0 7px #b9f8e81a;
}
.diagram i:nth-child(2) {
  width: 36px;
  height: 36px;
  background: #64c3cc;
  box-shadow: 0 0 0 10px #64c3cc16;
}
.diagram i:nth-child(3) {
  background: #ebc58d;
}
.num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff2a;
}
.project-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border: 1px solid #3b6660;
  color: #a4ebd4;
  border-radius: 99px;
  font-size: 11px;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.tag.soon {
  border-color: #495366;
  color: #b8c0cc;
}
.project h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 19px 0 10px;
}
.project p {
  color: #b0bfcc;
  font-size: 14px;
  margin: 0 0 24px;
}
.project .project-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.project .project-links .link {
  margin-top: 0;
}
.project .link {
  margin-top: auto;
  text-decoration: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.project .not-link {
  margin-top: auto;
  color: #8e9aa8;
  font-size: 13px;
  font-weight: 600;
}
/* About section */
.note {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #101e2c;
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.note strong {
  font-size: 18px;
}
.note p {
  color: var(--muted);
  font-size: 14px;
  margin: 7px 0 0;
}
.note a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.note a:hover {
  text-decoration: underline;
}
/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 35px;
  color: #99aab9;
  font-size: 13px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer a {
  color: #bdd4d7;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width:960px) {
  .projects {
 grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:760px) {
  .projects {
 grid-template-columns: 1fr;
  }
  .project {
 min-height: 310px;
  }
  .hero-body {
 padding: 67px 0 78px;
  }
  .note {
 grid-template-columns: 1fr;
 gap: 16px;
  }
  nav a {
 margin-left: 12px;
  }
  .button-outline {
 margin-left: 0;
 margin-top: 12px;
  }
  .brand {
 font-size: 14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
 scroll-behavior: auto;
  }
  .project,.button {
 transition: none;
  }
}
