:root {
  color-scheme: dark;
  --navy: #091224;
  --panel: #101d32;
  --mint: #53e3bd;
  --text: #f3f5fa;
  --muted: #a7b5c9;
  --line: #263248;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--navy);
  color: var(--text);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 7px;
  border-radius: 3px;
}
a:hover {
  color: var(--mint);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.mint {
  color: var(--mint);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}
.brand img {
  border-radius: 8px;
}
.header nav {
  display: flex;
  gap: 36px;
  font-size: 0.95rem;
}
.header nav a:last-child {
  border-bottom: 1px solid var(--mint);
  padding-bottom: 5px;
}
.hero {
  position: relative;
  padding-top: 92px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: var(--mint);
  margin: 0 0 26px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3.3rem, 5.6vw, 5.15rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
  font-weight: 650;
  margin-bottom: 30px;
}
.intro {
  max-width: 520px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 5px;
  font-size: 0.93rem;
  font-weight: 650;
  transition:
    background 0.2s,
    color 0.2s;
}
.primary {
  background: var(--mint);
  color: var(--navy);
}
.primary:hover {
  background: #a7f5df;
  color: var(--navy);
}
.secondary {
  border: 1px solid #46536a;
}
.hero-art {
  position: relative;
  align-self: center;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-art img {
  width: 85%;
  mix-blend-mode: lighten;
  border-radius: 50%;
}
.orbit {
  position: absolute;
  border: 1px solid #53e3bd20;
  border-radius: 50%;
  inset: 1%;
  z-index: -1;
}
.orbit-two {
  inset: 12%;
  border-style: dashed;
  transform: rotate(-20deg);
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 12%;
  background: #53e3bd0b;
  border-radius: 50%;
  filter: blur(35px);
  z-index: -1;
}
.art-note {
  position: absolute;
  right: 0;
  bottom: 3%;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.hero-foot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 68px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.work {
  padding-block: 108px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 52px;
}
.section-heading h2,
h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 355px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 4px;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px 36px;
}
.project {
  min-width: 0;
}
.project-image,
.illustration {
  height: 330px;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid #ffffff12;
  position: relative;
}
.project-image {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
}
.quest {
  background: #b9c8aa;
}
.festive {
  background: #763f4c;
}
.browser-bar {
  height: 28px;
  background: #172031;
  flex: none;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px 6px 0 0;
}
.browser-bar > span:not(.browser-title) {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #647187;
}
.browser-title {
  font-size: 0.62rem;
  color: #c6cede;
  margin: auto;
}
.project-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  background: #152238;
  flex: 1;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 25px 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tag {
  font-size: 0.72rem;
  letter-spacing: 0;
  color: var(--mint);
  background: #53e3bd12;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.tag.muted {
  color: #bdc8d9;
  background: #ffffff0a;
}
h3 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 13px;
}
.project > p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
  min-height: 86px;
  margin-bottom: 23px;
}
.project-bottom {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.77rem;
  color: var(--muted);
}
.project-bottom a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.illustration {
  padding: 34px;
  background: #182a40;
  display: flex;
  align-items: stretch;
}
.mini-sidebar {
  background: #0b1424;
  border: 1px solid #ffffff10;
  border-radius: 8px 0 0 8px;
  width: 100px;
  flex: none;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.63rem;
  color: #a2afc0;
}
.mini-sidebar strong {
  font-size: 1.3rem;
  color: var(--mint);
  margin-bottom: 13px;
}
.selected {
  color: var(--mint);
}
.mini-main {
  padding: 25px 20px;
  background: #101c2d;
  width: 100%;
  border-radius: 0 8px 8px 0;
}
.mini-top {
  font-size: 0.75rem;
  line-height: 1.65;
  color: #a5b7ca;
}
.mini-top strong {
  font-size: 0.95rem;
  color: #ecf1f7;
}
.mini-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.mini-columns > div {
  padding: 13px;
  background: #1c2b3c;
  border: 1px solid #ffffff0a;
  border-radius: 5px;
}
.mini-columns span {
  font-size: 0.55rem;
  color: var(--mint);
}
.mini-columns b {
  display: block;
  font-size: 0.65rem;
  line-height: 1.5;
  margin-top: 9px;
}
.mini-columns i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #34465b;
  margin-top: 11px;
  width: 80%;
}
.illustration-label {
  position: absolute;
  bottom: 9px;
  right: 14px;
  color: #b3c3d4;
  font-size: 0.65rem;
}
.sidekick {
  background: #263346;
  display: block;
  padding: 35px;
}
.sun {
  position: absolute;
  right: 40px;
  top: 35px;
  width: 106px;
  height: 106px;
  background: #f6ce77;
  border-radius: 43%;
  color: #283345;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  transform: rotate(9deg);
}
.sun span {
  font-size: 1.3rem;
  margin-top: -15px;
}
.sun b {
  position: absolute;
  top: 48px;
  font-size: 2rem;
  font-weight: 400;
}
.sidekick-note {
  font-size: 1.4rem;
  line-height: 1.4;
  color: #f5e8cf;
  padding-top: 15px;
  letter-spacing: -0.03em;
}
.sidekick-note strong {
  font-weight: 600;
}
.routine {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 31px;
  width: 78%;
}
.routine span {
  font-size: 0.72rem;
  padding: 11px 16px;
  border-radius: 5px;
  background: #ffffff0a;
  color: #dae2ed;
}
.routine span:before {
  content: "✓";
  margin-right: 12px;
  color: #e5cf99;
}
.about {
  background: #101b2d;
  border-block: 1px solid #ffffff09;
  padding-block: 90px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about-copy {
  color: var(--muted);
  line-height: 1.85;
}
.about-copy .large {
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.6;
}
.text-link {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact {
  padding-block: 115px;
}
.contact h2 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}
.contact > p:not(.eyebrow) {
  max-width: 510px;
  line-height: 1.8;
  color: var(--muted);
  margin: 28px 0;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 27px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer .brand {
  color: var(--text);
  font-size: 1.1rem;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 15px;
  background: var(--mint);
  color: var(--navy);
  z-index: 10;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
section[id] {
  scroll-margin-top: 35px;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 120px;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    padding-top: 60px;
  }
  .hero-art {
    align-self: start;
    margin-top: 45px;
  }
  .section-heading {
    gap: 30px;
  }
  .project-image,
  .illustration {
    height: 280px;
  }
  .illustration {
    padding: 24px;
  }
  .mini-main {
    padding: 19px 12px;
  }
  .mini-sidebar {
    width: 73px;
  }
  .mini-columns > div {
    padding: 9px;
  }
  .sidekick-note {
    font-size: 1.2rem;
  }
  .sun {
    width: 80px;
    height: 80px;
    right: 25px;
    top: 27px;
  }
  .sun b {
    top: 32px;
  }
  .project-meta {
    font-size: 0.62rem;
  }
  .about-grid {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    padding-block: 18px;
  }
  .header nav {
    gap: 19px;
    font-size: 0.8rem;
  }
  .brand {
    font-size: 1.05rem;
    gap: 5px;
  }
  .brand img {
    width: 39px;
    height: 39px;
  }
  .hero {
    padding-top: 56px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 21px;
  }
  h1 {
    font-size: clamp(3rem, 11.5vw, 4.5rem);
    margin-bottom: 23px;
  }
  .intro {
    font-size: 1rem;
    line-height: 1.8;
  }
  .actions {
    margin-top: 27px;
    gap: 10px;
  }
  .button {
    font-size: 0.82rem;
    padding: 12px 17px;
    min-height: 48px;
  }
  .hero-art {
    width: 70%;
    max-width: 330px;
    margin: 44px auto 0;
  }
  .art-note {
    font-size: 0.65rem;
    right: -30px;
  }
  .hero-foot {
    margin-top: 35px;
    padding-block: 20px;
    font-size: 0.7rem;
    gap: 24px;
  }
  .hero-foot span:last-child {
    white-space: nowrap;
  }
  .work {
    padding-block: 65px;
  }
  .section-heading {
    display: block;
    margin-bottom: 32px;
  }
  .section-heading > p {
    margin-top: 24px;
    max-width: 100%;
    height: auto;
    font-size: 0.95rem;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .project-image,
  .illustration {
    height: 300px;
  }
  .project-meta {
    font-size: 0.66rem;
  }
  .project > p {
    min-height: 0;
  }
  .project-bottom {
    font-size: 0.72rem;
  }
  .about {
    padding-block: 60px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-copy {
    font-size: 0.95rem;
  }
  .about-copy .large {
    font-size: 1.2rem;
  }
  .contact {
    padding-block: 70px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer > span {
    order: 3;
    width: 100%;
  }
  .sidekick-note {
    font-size: 1.45rem;
  }
  .sun {
    width: 100px;
    height: 100px;
    top: 35px;
    right: 35px;
  }
  .sun b {
    top: 46px;
  }
  .mini-sidebar {
    width: 94px;
    padding-inline: 13px;
  }
  .mini-main {
    padding: 23px 15px;
  }
  .mini-columns > div {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
