@font-face { font-family: Rubik; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/portfolio/rubik-400-38df5817.ttf") format("truetype"); }
@font-face { font-family: Rubik; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/portfolio/rubik-500-d110e577.ttf") format("truetype"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/portfolio/montserrat-600-4c75828d.ttf") format("truetype"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/portfolio/montserrat-700-6e77b4f4.ttf") format("truetype"); }
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html {
  min-height: 100%; scroll-behavior: smooth;
  background: radial-gradient(circle at top left, rgb(0 122 204 / 15%), transparent 80%), radial-gradient(circle at top right, rgb(0 204 153 / 15%), transparent 80%), radial-gradient(circle at bottom left, rgb(204 0 204 / 15%), transparent 80%), #212121;
  background-size: 300% 300%; background-attachment: fixed;
  animation: portfolio-gradient 40s ease infinite;
}
body { margin: 0; color: #f6fcff; font: 400 1rem/1.7 Rubik, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: #83d7ff; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #83d7ff; outline-offset: 6px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: Montserrat, Arial, sans-serif; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.04em; margin: 0 0 1.5rem; }
h2 { font-size: 1.4rem; margin: 0 0 1.5rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1.25rem; }
.portfolio-container { width: min(940px, calc(100% - 48px)); margin-inline: auto; }
.portfolio-hero { padding-block: 140px 110px; max-width: 820px; }
.portfolio-hero p { max-width: 650px; color: #d8e0e5; font-size: 1.1rem; }
.gradient-text { color: #67caff; background: linear-gradient(150deg, #34c2ff, #528fff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.portfolio-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
.portfolio-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.1rem; }
.portfolio-links img { width: 22px; height: 22px; }
.portfolio-section { margin-bottom: 80px; scroll-margin-top: 32px; }
.portfolio-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff24; padding-block: 28px 40px; color: #bfc8ce; font-size: .85rem; }
.portfolio-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-180%); background: #212121; padding: 10px 16px; }
.skip-link:focus { transform: none; }
@keyframes portfolio-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (max-width: 600px) { .portfolio-container { width: calc(100% - 40px); } .portfolio-hero { padding-block: 72px 64px; } .portfolio-section { margin-bottom: 56px; } }
@media (prefers-reduced-motion: reduce) { html { animation: none; scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media (forced-colors: active) { .gradient-text { background: none; -webkit-text-fill-color: CanvasText; } }

.portfolio-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio-project { display: flex; flex-direction: column; background: #303338; border-radius: 24px; overflow: hidden; border: 1px solid #ffffff14; }
.portfolio-project-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.portfolio-project-image--mars { object-fit: contain; padding: 48px; background: #212121; }
.portfolio-project-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.portfolio-project-copy h3 { margin: 0 0 16px; }
.portfolio-project-copy p { color: #d8e0e5; font-size: .95rem; }
.portfolio-project-copy .portfolio-eyebrow { font-size: .75rem; color: #bfc8ce; margin-bottom: 12px; }
.portfolio-project-copy a { margin-top: auto; font-weight: 500; padding-block: 10px; }
.portfolio-project-status { margin-top: auto; color: #bfc8ce; font-size: .85rem; padding-block: 10px; }
.portfolio-about { max-width: 760px; }
.portfolio-about p { color: #d8e0e5; }
.portfolio-about h3 { margin-top: 32px; }
@media (max-width: 760px) { .portfolio-projects { grid-template-columns: 1fr; } .portfolio-project { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; } .portfolio-project-image { height: 100%; } .portfolio-project-image--mars { padding: 24px; } }
@media (max-width: 440px) { .portfolio-project { display: flex; } .portfolio-project-image { aspect-ratio: 4 / 3; height: auto; } .portfolio-project-image--mars { padding: 48px; } }

.case-navigation { padding-block: 40px; }
.case-navigation a, .case-back a { display: inline-block; padding-block: 10px; }
.case-header { padding-block: 24px 40px; }
.case-intro { max-width: 720px; color: #d8e0e5; font-size: 1.15rem; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; margin: 36px 0 0; }
.case-facts dt { font-weight: 500; color: #fff; }
.case-facts dd { margin: 8px 0 0; color: #cbd5db; }
.case-image { margin: 0 0 40px; }
.case-image img { width: 100%; border-radius: 16px; }
.case-image figcaption { color: #bfc8ce; font-size: .9rem; margin-top: 12px; }
.case-section { max-width: 760px; margin: 56px auto; }
.case-section p { color: #d8e0e5; }
.case-section h2:not(:first-child) { margin-top: 40px; }
.case-video { aspect-ratio: 940 / 528; margin-bottom: 20px; }
.case-video iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; }
.case-back { margin-block: 48px; }
@media (max-width: 600px) { .case-facts { grid-template-columns: 1fr; } .case-navigation { padding-block: 20px; } }

.case-social-embed { display: block; width: 100%; max-width: 620px; height: 1000px; margin: 24px auto; border: 0; border-radius: 16px; background: #fff; color-scheme: light; }
@media (max-width: 600px) { .case-social-embed { height: 1200px; } }
