/* Combined from the CSS modules listed in config/styles.json. */

/* base.css */
:root {
  --bg: #070b15;
  --surface: #101725;
  --text: #ecf1fa;
  --muted: #96a7bf;
  --line: #9abfef20;
  --cyan: #8de3e0;
  --blue: #9eafff;
  --violet: #b1a1ed;
  --mouse-x: 50%;
  --mouse-y: 50%;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.7 Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #92ded7;
  color: #071119;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
}
a,
button {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--cyan);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 15px;
}

/* navigation.css */
.site-header {
  position: fixed;
  left: 3.5%;
  right: 3.5%;
  top: 20px;
  max-width: 1600px;
  margin: auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 21px;
  border: 1px solid transparent;
  border-radius: 17px;
  transition:
    background 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}
.site-header.scrolled {
  background: #0b1224dd;
  backdrop-filter: blur(22px);
  border-color: #aac3f521;
  box-shadow: 0 12px 50px #0004;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}
.monogram {
  font-size: 37px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -3px;
}
.monogram span,
.footer-brand span {
  color: var(--cyan);
}
.brand-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.3;
}
.brand-name small {
  display: block;
  font-size: 11px;
  color: #9faecd;
  font-weight: 400;
  letter-spacing: 0.7px;
  margin-top: 6px;
}
.desktop-nav {
  display: flex;
  gap: 25px;
}
.desktop-nav a {
  font-size: 14px;
  color: #a0acc3;
  position: relative;
  transition: color 0.25s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: #effcff;
}
.desktop-nav a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #899cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.desktop-nav a:hover:after,
.desktop-nav a.active:after {
  transform: scaleX(1);
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 17px;
  border: 1px solid #c2d9f72b;
  border-radius: 9px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  background: #ffffff03;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.nav-cta:hover {
  background: #a1e4e212;
  border-color: #a1e4e270;
}
.nav-cta svg {
  transition: transform 0.3s;
}
.nav-cta:hover svg {
  transform: translate(2px, -2px);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.mobile-nav {
  position: fixed;
  z-index: 29;
  top: 96px;
  left: 20px;
  right: 20px;
  max-height: calc(100svh - 115px);
  overflow: auto;
  padding: 16px;
  background: #0b1327f5;
  border: 1px solid #b8d7ff30;
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 24px 70px #0008;
  animation: menu-in 0.22s ease-out;
}
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #d7e4f6;
  border-radius: 8px;
}
.mobile-nav a:hover {
  background: #8aa7ff12;
}
.mobile-nav svg {
  color: var(--cyan);
}

/* hero.css */
.hero {
  min-height: 910px;
  height: 100svh;
  max-height: 1180px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 25px;
  padding: 160px max(6vw, calc((100vw - 1420px) / 2)) 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 55%, #0e34454a, transparent 50%),
    radial-gradient(ellipse at 20% 10%, #38286130, transparent 55%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#98c3fc15 1px, transparent 1px),
    linear-gradient(90deg, #98c3fc15 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 70% 55%, #000, transparent 72%);
  opacity: 0.44;
  pointer-events: none;
}
.hero-grid:after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    350px circle at var(--mouse-x) var(--mouse-y),
    #a6bcff20,
    transparent 80%
  );
}
.hero-beam {
  position: absolute;
  width: 90%;
  height: 1px;
  top: 42%;
  left: 25%;
  transform: rotate(-35deg);
  background: linear-gradient(90deg, transparent, #97e8e144, transparent);
  box-shadow: 0 0 35px #74d8dc2e;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-bottom: 15px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #abd3d9;
  letter-spacing: 1.3px;
  font-size: 11px;
  margin-bottom: 28px;
}
.status-light {
  width: 6px;
  height: 6px;
  display: block;
  background: var(--cyan);
  box-shadow: 0 0 15px #8de3e088;
  border-radius: 1px;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(75px, 7.25vw, 116px);
  line-height: 0.98;
  letter-spacing: -6px;
  font-weight: 700;
}
h1 > span {
  background: linear-gradient(100deg, #a9bbff 5%, #a6e2e1 95%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
h1 b {
  color: var(--cyan);
  font-weight: 700;
}
.hero-role {
  display: flex;
  width: fit-content;
  align-items: center;
  border-bottom: 1px solid #a8c9ef38;
  padding-bottom: 9px;
  font-size: 18px;
  letter-spacing: 0.3px;
  margin-top: 23px;
  color: #b5dfdf;
}
.hero-statement {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.6px;
  margin-top: 20px;
  color: #ecf1fa;
}
.hero-intro {
  font-size: 15px;
  line-height: 1.85;
  max-width: 490px;
  color: #a0adc3;
  margin-top: 18px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.button svg {
  transition: transform 0.3s;
}
.button:hover {
  transform: translateY(-3px);
}
.button:hover svg:last-child {
  transform: translate(2px, -2px);
}
.button-primary {
  background: #96dedb;
  color: #081821;
  box-shadow: 0 6px 30px #84cfdd20;
}
.button-primary:hover {
  background: #b4eeee;
  box-shadow: 0 7px 34px #91dce12e;
}
.button-outline {
  background: #ffffff03;
  border-color: #bcd2f72b;
  color: #dae7f7;
}
.button-outline:hover {
  background: #b9d8ff0a;
  border-color: #93c0d45c;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #96a5be;
  font-size: 13px;
  margin-top: 27px;
}
.hero-links a,
.hero-links > span:last-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-links > span:nth-child(2) {
  width: 1px;
  height: 15px;
  background: #ffffff25;
}
.hero-links a:hover {
  color: var(--cyan);
}
.hero-visual {
  position: relative;
  height: 660px;
  align-self: end;
  z-index: 3;
  isolation: isolate;
}
.hero-portrait {
  position: absolute;
  bottom: -28px;
  right: -9%;
  width: auto;
  max-width: none;
  height: 105%;
  mask-image: linear-gradient(#000 75%, transparent 100%);
  filter: drop-shadow(0 0 32px #9bc6f316);
}
.portrait-halo {
  position: absolute;
  inset: 5% -5% 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #46788927, transparent 68%);
  z-index: -1;
}
.hero-core {
  position: absolute !important;
  width: 120% !important;
  height: 110% !important;
  inset: -5% -10% !important;
  opacity: 0.75;
  z-index: -1;
}
.holo-plane {
  position: absolute;
  inset: 10% 0 15%;
  background: linear-gradient(125deg, #a2a6ff0b, transparent 60%);
  border: 1px solid #a9c1ea16;
  transform: perspective(850px) rotateY(-18deg) rotateX(12deg);
  clip-path: polygon(12% 0, 100% 0, 100% 87%, 87% 100%, 0 100%, 0 12%);
  border-radius: 24px;
  z-index: -1;
}
.orbit {
  position: absolute;
  inset: 12% -5% 15%;
  border: 1px solid #b6cbff19;
  border-radius: 50%;
  transform: rotate(-28deg) scaleX(0.72);
  z-index: -1;
}
.orbit:before {
  content: '';
  width: 6px;
  height: 6px;
  position: absolute;
  left: 40%;
  top: -3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px #8de3e0;
}
.orbit-one {
  animation: orbit 35s linear infinite;
}
.orbit-two {
  inset: 5% -8% 8%;
  transform: rotate(35deg) scaleX(0.85);
  border-style: dashed;
  opacity: 0.5;
  animation: orbit-two 50s linear infinite reverse;
}
.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid #b3d7ff28;
  border-radius: 11px;
  background: linear-gradient(125deg, #15233bdc, #101a2bdd);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 45px #0004;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #c4e6ec;
  animation: float 8s ease-in-out infinite;
}
.float-card small {
  display: block;
  color: #91a6bf;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 4px;
}
.float-top {
  top: -6px;
  right: 0;
}
.float-bottom {
  bottom: 15%;
  left: -3%;
  animation-delay: -4s;
}
.visual-label {
  position: absolute;
  right: -2%;
  bottom: 2%;
  font: 10px/1.6 monospace;
  letter-spacing: 1.2px;
  color: #87a6bc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.visual-label > span {
  width: 15px;
  height: 1px;
  background: var(--cyan);
}
.hero-bottom {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #a1c5e51a;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #8e9eb7;
  z-index: 4;
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2d4e3;
}
.hero-bottom a svg {
  animation: scroll-cue 3s ease-in-out infinite;
}

/* about.css */
.tech-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 25px 6vw;
  color: #a6b5ce;
  font-size: 14px;
  border-block: 1px solid #acbfee14;
  background: linear-gradient(90deg, #0c1221, #0a1220);
}
.tech-ribbon > span:first-child {
  color: #94b7c8;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.section {
  padding: 105px max(6vw, calc((100vw - 1420px) / 2));
  position: relative;
}
.section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a4bed81c, transparent);
  pointer-events: none;
}
.section-heading {
  margin-bottom: 45px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.7px;
  color: #a2b2cb;
  margin-bottom: 23px;
}
.eyebrow > span {
  color: #a6d0d7;
  font-family: monospace;
}
.eyebrow i {
  height: 1px;
  width: 34px;
  background: #90a4c736;
  display: block;
}
h2 {
  font-size: clamp(36px, 3.7vw, 56px);
  line-height: 1.17;
  letter-spacing: -2.2px;
  font-weight: 600;
}
h2 > span {
  color: #91abc3;
}
.heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
}
.heading-split > p {
  max-width: 350px;
  color: #9cabc2;
  font-size: 15px;
  line-height: 1.9;
  padding-bottom: 5px;
}
.overline {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #9daec6;
  line-height: 1.6;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 65px;
  align-items: start;
}
.about-copy p {
  color: #a2b1c6;
  margin-bottom: 19px;
  line-height: 1.9;
  font-size: 16px;
}
.about-copy strong {
  color: #e2edfc;
  font-weight: 500;
}
.language-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.language-chips > span {
  border: 1px solid var(--line);
  background: #101c2c80;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 13px;
  color: #d0dfef;
}
.language-chips small {
  margin-left: 9px;
  color: #92a6c0;
  font-size: 12px;
}
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.bento {
  border: 1px solid #bbd5ff20;
  border-radius: 15px;
  background: linear-gradient(135deg, #131e31, #0d1626);
  position: relative;
  overflow: hidden;
  padding: 25px;
  transition:
    border-color 0.4s,
    transform 0.4s;
}
.bento h3 {
  font-size: 26px;
  letter-spacing: -0.9px;
  line-height: 1.25;
  color: #e0eef7;
}
.bento p {
  font-size: 13px;
  color: #9cb0c6;
  line-height: 1.7;
}
.bento-core {
  grid-column: span 2;
  min-height: 300px;
  background:
    radial-gradient(ellipse at 75% 35%, #1a345259, transparent 60%),
    linear-gradient(135deg, #152139, #0c1724);
}
.bento-core .technology-core {
  position: absolute;
  width: 355px;
  height: 330px;
  right: -10px;
  top: -15px;
}
.bento-core-copy {
  position: absolute;
  bottom: 39px;
  left: 30px;
  z-index: 1;
  pointer-events: none;
}
.bento-core-copy h3 {
  font-size: 30px;
  margin: 10px 0 10px;
  line-height: 1.3;
}
.bento-core-copy .overline {
  color: #a5d0d0;
}
.bento-corner {
  position: absolute;
  top: 23px;
  left: 28px;
  font: 10px monospace;
  letter-spacing: 1px;
  color: #86a8c3;
}
.bento-founder,
.bento-cv {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 7px;
}
.bento-founder > svg:first-child,
.bento-cv > svg:first-child {
  color: #a7d8e1;
  margin-bottom: 10px;
}
.bento-arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  color: #aec5d8;
  transition: transform 0.4s;
}
.bento-founder:hover,
.bento-cv:hover {
  border-color: #b0d4e553;
  transform: translateY(-4px);
}
.bento:hover .bento-arrow {
  transform: translate(2px, -2px);
}

/* kreedx.css */
.kreedx-section {
  padding-top: 70px;
  background: radial-gradient(ellipse at 30% 25%, #19374728, transparent 65%);
}
.kreedx-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 60px;
  border: 1px solid #98c7ed2c;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  padding: 55px;
  background: linear-gradient(130deg, #111e33d9, #102a3226);
  box-shadow: inset 0 1px 0 #d2e0ff10;
}
.kreedx-panel:after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x) var(--mouse-y),
    #9dc0ff0c,
    transparent 65%
  );
  pointer-events: none;
}
.kreedx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#a1c1e411 1px, transparent 1px),
    linear-gradient(90deg, #a1c1e411 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.kreedx-brand,
.kreedx-copy {
  position: relative;
  z-index: 1;
}
.kreedx-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}
.founder-badge {
  display: inline-block;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid #8bcbd637;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #abd7de;
  background: #8daee30a;
}
.kreedx-copy h2 {
  font-size: 43px;
  letter-spacing: -1.8px;
}
.kreedx-copy h2 span {
  color: #a4d4d9;
}
.kreedx-copy h3 {
  font-size: 19px;
  color: #dae7f3;
  font-weight: 500;
  margin-top: 22px;
}
.kreedx-copy p {
  font-size: 15px;
  color: #9fb1c7;
  margin-top: 14px;
  line-height: 1.85;
}
.kreedx-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.kreedx-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid #a1c6ec22;
  border-radius: 5px;
  color: #b5cada;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #b0e0e0;
}
.text-link svg {
  transition: transform 0.3s;
}
.text-link:hover svg {
  transform: translate(2px, -2px);
}
.approach {
  margin-top: 32px;
}
.approach-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.approach-heading p {
  font-size: 13px;
  color: #98aac4;
}
.approach-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.approach-controls button {
  background: #0e1827;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #aac2f11f;
  border-radius: 8px;
  font-size: 14px;
  color: #aabbd1;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.approach-controls button > span {
  font: 10px monospace;
  color: #69879b;
}
.approach-controls button > svg:last-child {
  margin-left: auto;
}
.approach-controls button[aria-pressed='true'] {
  background: linear-gradient(120deg, #1b343f, #15223a);
  border-color: #9ad9db61;
  color: #d6efed;
}
.approach-controls button[aria-pressed='true'] svg {
  color: var(--cyan);
}
.approach-description {
  margin-top: 12px;
  border: 1px solid #9fc1f31a;
  border-radius: 12px;
  background: #0e172480;
  padding: 24px 27px;
  display: flex;
  align-items: start;
  gap: 22px;
  min-height: 139px;
}
.approach-description > svg {
  color: #97caca;
  margin-top: 5px;
}
.approach-description h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 5px;
}
.approach-description p {
  font-size: 14px;
  color: #9fb1c7;
  max-width: 950px;
}
.approach-description > div {
  animation: panel-in 0.35s ease-out;
}

/* projects.css */
.work-section {
  background: radial-gradient(ellipse at 80% 40%, #28234420, transparent 65%);
}
.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}
.project-card {
  --project-accent: #98adf6;
  border: 1px solid #9fb8ec24;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(130deg, #101a2c, #0e1524);
  align-self: start;
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s;
}
.project-card.violet {
  --project-accent: #bfa6e8;
}
.project-card.cyan {
  --project-accent: #91d7de;
}
.project-card.orange {
  --project-accent: #dbbc94;
}
.project-card:after,
.skill-card:after,
.direction-card:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    350px circle at var(--mouse-x) var(--mouse-y),
    #aad7ff0d,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover:after,
.skill-card:hover:after,
.direction-card:hover:after {
  opacity: 1;
}
.project-card:hover {
  border-color: #a6cbe34d;
  box-shadow: 0 15px 45px #0003;
}
.project-cover {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 315px;
  width: 100%;
  border: 0;
  padding: 45px 25px 50px;
  background:
    radial-gradient(ellipse at 50% 70%, #819fe421, transparent 65%),
    linear-gradient(135deg, #172139, #121a2a);
  overflow: hidden;
  color: inherit;
}
.violet .project-cover {
  background: radial-gradient(ellipse at 55% 65%, #665b8f30, transparent 60%), #151b2b;
}
.cyan .project-cover {
  background: radial-gradient(ellipse at 50% 60%, #358e9130, transparent 60%), #101e2d;
}
.orange .project-cover {
  background: radial-gradient(ellipse at 55% 60%, #80725b24, transparent 65%), #161c2a;
}
.project-index {
  position: absolute;
  top: 23px;
  left: 27px;
  font: 10px monospace;
  letter-spacing: 1px;
  color: #a1b4d0;
  z-index: 2;
}
.project-symbol {
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -10px;
  color: var(--project-accent);
  z-index: 1;
  line-height: 1;
}
.cover-geometry {
  position: absolute;
  width: 75%;
  height: 60%;
  border: 1px solid #c0d8ff12;
  transform: perspective(700px) rotateY(-12deg) rotateZ(-9deg);
  border-radius: 15px;
}
.cover-geometry:before,
.cover-geometry:after {
  content: '';
  position: absolute;
  inset: 12px -18px;
  border: 1px solid #c0d8ff0c;
  border-radius: 12px;
  transform: rotate(14deg);
}
.cover-geometry:after {
  transform: rotate(-11deg);
  inset: -15px 18px;
}
.project-domain {
  position: absolute;
  bottom: 22px;
  left: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a5b9ce;
  z-index: 2;
}
.project-open {
  position: absolute;
  bottom: 19px;
  right: 24px;
  border: 1px solid #b5ceef36;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #c9e6ed;
  transition: transform 0.35s;
  z-index: 2;
}
.project-cover:hover .project-open {
  transform: rotate(45deg);
}
.project-preview {
  position: absolute;
  width: 92%;
  height: 80%;
  top: 6%;
  left: 4%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px #0004);
  z-index: 1;
  transition: transform 0.6s;
}
.project-cover:hover .project-preview {
  transform: translateY(-4px) scale(1.03);
}
.project-info {
  padding: 31px;
}
.project-info h3 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-top: 10px;
}
.project-role {
  display: block;
  color: #b6cddd;
  font-size: 12px;
  margin: 9px 0 15px;
}
.project-info p {
  color: #9aaec5;
  font-size: 15px;
  line-height: 1.85;
}
.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}
.project-tags span {
  font-size: 10px;
  padding: 5px 9px;
  border: 1px solid #b4cdef20;
  border-radius: 4px;
  color: #a8bfd3;
}
.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #b3c5e91b;
}
.project-actions button,
.project-actions a {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 0;
  color: #afc7df;
  font-size: 12px;
}
.project-actions button:hover,
.project-actions a:hover {
  color: var(--cyan);
}
.project-actions button svg {
  transition: transform 0.3s;
}
.project-actions button:hover svg {
  transform: translateX(3px);
}
.featured-project {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
}
.featured-project .project-cover {
  min-height: 410px;
}
.featured-project .project-symbol {
  font-size: 150px;
  letter-spacing: -16px;
}
.featured-project .project-info {
  padding: 42px;
}
.featured-project h3 {
  font-size: 38px;
}
.projects-grid > .project-card:last-child {
  margin-top: 50px;
}

/* skills.css */
.skills-section {
  background: radial-gradient(ellipse at 20% 40%, #13374620, transparent 70%);
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.skill-card {
  border: 1px solid #a1bded22;
  background: linear-gradient(130deg, #131f31, #101827);
  position: relative;
  padding: 32px;
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.35s,
    transform 0.35s;
}
.skill-card:hover {
  border-color: #a4cad34d;
}
.skill-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #9ac1e729;
  border-radius: 12px;
  background: #9daffc09;
  color: #a8d4dc;
  margin-bottom: 20px;
}
.skill-card h3 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
}
.skill-card p {
  font-size: 13px;
  color: #96acc2;
}
.skill-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.skill-tags > span {
  font-size: 12px;
  padding: 7px 11px;
  background: #070f1d5e;
  border: 1px solid #a2c3ed17;
  border-radius: 6px;
  color: #afc2d7;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.skill-tags > span:hover {
  border-color: #93d5d644;
  color: #c4eeee;
}
.soft-skills {
  margin-top: 28px;
  border-left: 2px solid #88babe57;
  padding: 7px 0 7px 23px;
}
.soft-skills p {
  font-size: 14px;
  color: #a0b5cb;
  margin-top: 9px;
  line-height: 2;
}

/* direction.css */
.direction-section {
  background: radial-gradient(ellipse at 50% 20%, #162a472d, transparent 65%);
}
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.direction-card {
  border: 1px solid #a9c6e524;
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(155deg, #162339aa, #0d1523);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.direction-card:hover {
  border-color: #a3d9d550;
}
.direction-visual {
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 20px;
  background: radial-gradient(ellipse, #507c9427, transparent 65%);
}
.direction-visual > svg {
  color: #b8dce7;
  z-index: 1;
}
.energy-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid #8ab4d93a;
  border-radius: 50%;
  transform: rotateX(55deg) rotateZ(-30deg);
  animation: energy 15s linear infinite;
}
.energy-ring:after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px #a1eddb8c;
  position: absolute;
  top: 20px;
  left: 10px;
}
.energy-ring.secondary {
  width: 160px;
  height: 160px;
  transform: rotateY(55deg) rotateZ(20deg);
  animation-direction: reverse;
  animation-duration: 23s;
  border-color: #b7a2ed21;
}
.signal-path {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #80b7d52e, transparent);
}
.signal-path i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #99e1df;
  border-radius: 50%;
  left: 20%;
  top: -1px;
  opacity: 0.8;
}
.signal-path i:nth-child(2) {
  left: 50%;
}
.signal-path i:nth-child(3) {
  left: 80%;
}
.direction-card > .overline {
  font-size: 9px;
  letter-spacing: 0.8px;
  color: #88b5c6;
}
.direction-card h3 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 10px 0 14px;
  line-height: 1.3;
}
.direction-card p {
  font-size: 14px;
  line-height: 1.85;
  color: #9db1c6;
  min-height: 105px;
}
.direction-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  border-top: 1px solid #a1bdd720;
  padding-top: 20px;
  margin-top: 20px;
}
.direction-nodes span {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 11px monospace;
  color: #9dc6d6;
}
.direction-nodes svg {
  color: #708ba6;
}

/* experience.css */
.journey-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.experience-main {
  padding: 37px;
  background: linear-gradient(135deg, #15223a, #0f1928);
  border: 1px solid #a3c0ea26;
  border-radius: 16px;
  position: relative;
}
.experience-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}
.date-label {
  font-size: 10px;
  color: #95adc7;
  letter-spacing: 0.7px;
}
.experience-main h3 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.remote-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #95abc1;
  margin: 14px 0 20px;
}
.experience-main ul {
  padding-left: 19px;
  color: #9bb0c6;
  font-size: 14px;
  line-height: 1.9;
  margin: 24px 0 0;
}
.experience-main li {
  padding-left: 4px;
  margin-bottom: 13px;
}
.experience-main li::marker {
  color: #9dd5d6;
}
.community-timeline {
  padding-top: 5px;
}
.community-timeline > h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 31px;
}
.timeline-entry {
  position: relative;
  margin-left: 7px;
  padding: 0 0 27px 29px;
  border-left: 1px solid #a0c4e130;
}
.timeline-entry:last-child {
  padding-bottom: 0;
  border-color: transparent;
}
.timeline-node {
  position: absolute;
  top: 8px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a4d8de;
  box-shadow: 0 0 0 5px #81a5dd0b;
}
.timeline-entry h4 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 7px;
}
.timeline-entry p {
  color: #94abc2;
  font-size: 14px;
  margin-top: 5px;
}

/* background.css */
.background-section {
  background: #0a111c;
  padding-top: 75px;
  padding-bottom: 75px;
}
.background-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 0 30px;
  align-items: end;
  margin-bottom: 30px;
}
.background-heading .eyebrow {
  grid-column: span 2;
}
.background-heading h2 {
  font-size: 37px;
  letter-spacing: -1.3px;
}
.background-heading > p {
  color: #8fa6bd;
  font-size: 14px;
  max-width: 260px;
}
.background-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 20px;
}
.education-card {
  display: flex;
  align-items: start;
  gap: 22px;
  padding: 25px;
  background: #14203466;
  border: 1px solid #a6c5eb20;
  border-radius: 11px;
}
.education-card > svg {
  color: #a3ced9;
  margin-top: 6px;
}
.education-card h3 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  margin: 7px 0;
}
.education-card h4 {
  font-size: 13px;
  font-weight: 500;
  color: #bacbdc;
}
.education-card p {
  font-size: 13px;
  color: #8fa5bc;
  line-height: 1.8;
  margin-top: 7px;
}
.school-card {
  padding: 25px;
  border: 1px solid #a6c5eb17;
  border-radius: 11px;
}
.school-card h3 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 8px 0;
}
.school-card p {
  color: #95aabf;
  font-size: 13px;
}
.training-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 35px 0 18px;
  color: #a5c3d0;
}
.training-heading h3 {
  font-size: 16px;
  font-weight: 500;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.certificate-card {
  padding: 20px;
  border: 1px solid #a5c2e818;
  border-radius: 9px;
  background: #111b2869;
  transition: border-color 0.3s;
}
.certificate-card:hover {
  border-color: #90b7d345;
}
.certificate-card h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin: 9px 0;
}
.certificate-card p {
  font-size: 12px;
  color: #8fa5bb;
  line-height: 1.8;
}

/* contact.css */
.contact-section {
  overflow: hidden;
  background: linear-gradient(#0a111c, #090f1b);
}
.contact-glow {
  position: absolute;
  width: 750px;
  height: 700px;
  left: -20%;
  top: 10%;
  background: radial-gradient(ellipse, #183f4850, transparent 68%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.contact-copy h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  letter-spacing: -2px;
}
.contact-copy > p {
  color: #9cacc3;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 25px;
  max-width: 470px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 36px;
}
.contact-links > a {
  display: flex;
  align-items: center;
  gap: 17px;
  width: fit-content;
  color: #abcfd9;
}
.contact-links > a > span {
  font-size: 14px;
  color: #d7e4ef;
}
.contact-links small {
  display: block;
  font-size: 13px;
  color: #93a9c3;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.contact-links > a:hover small {
  color: #ade1e0;
}
.copy-email {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #9ab9cc;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 30px;
}
.copy-email:hover {
  color: #c4eded;
}
.contact-form {
  padding: 34px;
  border: 1px solid #abc9ed26;
  border-radius: 17px;
  background: linear-gradient(145deg, #172136c9, #0e1c28);
  box-shadow: 0 25px 70px #0002;
  align-self: start;
}
.contact-form > .overline {
  margin-bottom: 23px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  color: #b6c9dd;
  margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  background: #0a132387;
  border: 1px solid #b3cbed24;
  border-radius: 7px;
  font-size: 14px;
  color: #ecf4ff;
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  line-height: 1.6;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7890a9;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8ddad773;
  box-shadow: 0 0 0 3px #94d6dc0c;
}
.contact-form > .button {
  width: 100%;
  margin-top: 1px;
}
.form-note {
  font-size: 11px;
  line-height: 1.8;
  color: #8da6bc;
  margin-top: 15px;
}
.form-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px;
  border: 1px solid #97d5c846;
  background: #88cab209;
  border-radius: 9px;
  padding: 17px;
  margin-top: 20px;
  color: #b1e6d4;
}
.form-feedback > p {
  font-size: 13px;
  flex: 1;
}
.form-feedback > .button {
  width: 100%;
  font-size: 13px;
  margin-top: 2px;
}
footer {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #a6bfed1a;
  padding: 29px 6vw;
  background: #080d16;
}
.footer-brand {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
}
footer p {
  font-size: 12px;
  color: #8ea4bd;
}
footer small {
  font-size: 10px;
  color: #738ca5;
}
footer nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
footer nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #93aec4;
}
footer nav a:hover {
  color: var(--cyan);
}

/* dialog.css */
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #030711d9;
  backdrop-filter: blur(5px);
  animation: overlay-in 0.2s ease-out;
}
.project-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 51;
  width: calc(100% - 36px);
  max-width: 690px;
  max-height: calc(100svh - 45px);
  overflow-y: auto;
  padding: 35px;
  border: 1px solid #a6c8f439;
  border-radius: 16px;
  background: linear-gradient(145deg, #152238, #0e1929);
  box-shadow: 0 25px 100px #0008;
  outline: none;
  animation: dialog-in 0.24s ease-out;
}
.dialog-header {
  padding-right: 25px;
}
.dialog-header h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin: 12px 0 17px;
}
.dialog-header p {
  color: #9fb5cd;
  font-size: 14px;
  line-height: 1.9;
}
.dialog-preview {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border-radius: 10px;
  background: #080f1b;
  margin: 22px 0;
}
.dialog-monogram {
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -7px;
  color: #a1bdf3;
  background: radial-gradient(ellipse, #244a6244, transparent 65%), #0a1321;
  border-radius: 10px;
  margin: 23px 0;
  line-height: 1;
}
.dialog-monogram span {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #a1b5ca;
  font-weight: 400;
}
.dialog-goal {
  border-left: 2px solid #94cfd14d;
  padding-left: 18px;
  margin: 22px 0;
}
.dialog-goal p {
  font-size: 14px;
  color: #bfd0df;
  margin-top: 7px;
}
.dialog-contribution h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 8px;
}
.dialog-contribution ul {
  font-size: 13px;
  color: #93adc5;
  line-height: 1.9;
  padding-left: 18px;
  margin: 12px 0 24px;
}
.dialog-contribution li {
  margin-bottom: 6px;
}
.project-dialog > .button {
  width: 100%;
  font-size: 13px;
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 16px;
  background: #ffffff05;
  border: 1px solid #c5d8f22b;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #c0d9e6;
}
.dialog-close:hover {
  background: #a1c2ef15;
}

/* motion.css */
.motion-ready .reveal {
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.motion-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}
.motion-ready .section-heading:not(.visible) h2,
.motion-ready .background-heading:not(.visible) h2 {
  clip-path: inset(0 0 100% 0);
}
.motion-ready .section-heading h2,
.motion-ready .background-heading h2 {
  transition: clip-path 0.85s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.hero-content > * {
  animation: hero-in 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}
.hero-content > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-content > :nth-child(3) {
  animation-delay: 0.15s;
}
.hero-content > :nth-child(4) {
  animation-delay: 0.2s;
}
.hero-content > :nth-child(5) {
  animation-delay: 0.25s;
}
.hero-content > :nth-child(6) {
  animation-delay: 0.3s;
}
.hero-content > :nth-child(7) {
  animation-delay: 0.35s;
}
.hero-portrait {
  animation: portrait-in 1.2s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes orbit {
  to {
    transform: rotate(332deg) scaleX(0.72);
  }
}
@keyframes orbit-two {
  to {
    transform: rotate(395deg) scaleX(0.85);
  }
}
@keyframes energy {
  to {
    rotate: 360deg;
  }
}
@keyframes scroll-cue {
  50% {
    transform: translateY(4px);
  }
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes portrait-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* responsive.css */
@media (hover: hover) and (pointer: fine) {
  .skill-card:hover,
  .direction-card:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
      translateY(-3px);
  }
}
@media (min-width: 1700px) {
  .hero-bottom {
    left: calc((100vw - 1420px) / 2);
    right: calc((100vw - 1420px) / 2);
  }
  .hero-visual {
    height: 700px;
  }
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 19px;
  }
  .brand-name {
    display: none;
  }
  .site-header {
    gap: 25px;
  }
  .hero {
    min-height: 840px;
    gap: 15px;
  }
  .hero-visual {
    height: 590px;
  }
  .hero-portrait {
    right: -13%;
  }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 0.9px;
  }
  .float-top {
    right: -5%;
  }
  .hero-role {
    font-size: 16px;
  }
  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .about-grid,
  .journey-layout,
  .contact-grid {
    gap: 35px;
  }
  .tech-ribbon {
    gap: 22px;
  }
  .tech-ribbon > span:first-child {
    display: none;
  }
  .kreedx-panel {
    padding: 40px;
    gap: 40px;
  }
  .kreedx-copy h2 {
    font-size: 39px;
  }
  .approach-controls button {
    gap: 9px;
    padding: 15px;
  }
  .direction-card {
    padding: 24px;
  }
  .direction-card h3 {
    font-size: 22px;
  }
  .direction-card p {
    min-height: 130px;
  }
}
@media (max-width: 950px) {
  .desktop-nav {
    display: none;
  }
  .brand-name {
    display: block;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    min-height: 850px;
    height: auto;
    max-height: none;
    padding-top: 160px;
    padding-bottom: 110px;
    grid-template-columns: 1.1fr 1fr;
  }
  h1 {
    font-size: 77px;
    letter-spacing: -4.5px;
  }
  .hero-visual {
    height: 540px;
  }
  .hero-portrait {
    right: -26%;
  }
  .hero-statement {
    font-size: 24px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    padding: 13px 17px;
  }
  .float-top {
    display: none;
  }
  .float-bottom {
    left: -10%;
    bottom: 5%;
    padding: 11px;
    font-size: 10px;
  }
  .visual-label {
    right: -9%;
    font-size: 8px;
  }
  .hero-bottom > span {
    font-size: 9px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-copy {
    max-width: 760px;
  }
  .bento-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .bento-core {
    grid-column: span 1;
    min-height: 280px;
  }
  .bento-core-copy {
    left: 25px;
  }
  .bento-core-copy h3 {
    font-size: 25px;
  }
  .bento-core .technology-core {
    width: 290px;
    height: 280px;
    right: -70px;
  }
  .bento-corner {
    font-size: 8px;
    left: 24px;
  }
  .bento {
    padding: 25px;
  }
  .bento h3 {
    font-size: 23px;
  }
  .kreedx-panel {
    grid-template-columns: 0.8fr 1.3fr;
    gap: 32px;
  }
  .kreedx-copy h2 {
    font-size: 35px;
  }
  .founder-badge {
    font-size: 9px;
  }
  .approach-controls button > span {
    display: none;
  }
  .approach-controls button > svg:last-child {
    display: none;
  }
  .heading-split > p {
    max-width: 285px;
    font-size: 14px;
  }
  .project-info {
    padding: 26px;
  }
  .featured-project .project-info {
    padding: 30px;
  }
  .featured-project .project-cover {
    min-height: 420px;
  }
  .featured-project .project-symbol {
    font-size: 110px;
  }
  .direction-grid {
    gap: 15px;
  }
  .direction-card {
    padding: 22px;
  }
  .direction-card h3 {
    font-size: 20px;
  }
  .direction-card > .overline {
    font-size: 8px;
  }
  .direction-card p {
    font-size: 13px;
    min-height: 135px;
  }
  .direction-nodes {
    gap: 7px;
  }
  .direction-nodes span {
    font-size: 10px;
    gap: 6px;
  }
  .experience-main {
    padding: 29px;
  }
  .experience-main h3 {
    font-size: 30px;
  }
  .journey-layout {
    gap: 30px;
  }
  .community-timeline > h3 {
    font-size: 21px;
  }
  .background-grid {
    grid-template-columns: 1.5fr 0.8fr;
  }
  .education-card {
    padding: 23px;
    gap: 17px;
  }
  .contact-form {
    padding: 27px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer nav {
    gap: 17px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 100px;
  }
  .site-header {
    top: 12px;
    left: 15px;
    right: 15px;
    padding: 12px 13px;
    gap: 15px;
  }
  .monogram {
    font-size: 32px;
  }
  .brand-name {
    font-size: 11px;
    letter-spacing: 0.6px;
  }
  .brand-name small {
    display: none;
  }
  .nav-cta {
    font-size: 13px;
    padding: 8px 12px;
  }
  .menu-toggle {
    padding: 6px;
  }
  .mobile-nav {
    top: 83px;
    left: 15px;
    right: 15px;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 145px 7vw 85px;
    min-height: 0;
    background: radial-gradient(ellipse at 65% 50%, #15314344, transparent 60%);
  }
  .hero-content {
    display: contents;
  }
  .hero-kicker {
    grid-row: 1;
    font-size: 10px;
    letter-spacing: 0.9px;
    margin-bottom: 23px;
  }
  .hero h1 {
    grid-row: 2;
    font-size: clamp(58px, 14vw, 96px);
    letter-spacing: -4px;
  }
  .hero-role {
    grid-row: 3;
    font-size: 16px;
    margin-top: 19px;
    padding-bottom: 8px;
  }
  .hero-statement {
    grid-row: 4;
    font-size: 24px;
    margin: 16px 0 5px;
  }
  .hero-visual {
    grid-row: 5;
    width: 100%;
    height: 370px;
    align-self: center;
    margin-top: 8px;
  }
  .hero-portrait {
    bottom: -5px;
    right: 2%;
    height: 110%;
    max-width: 110%;
  }
  .hero-core {
    opacity: 0.8;
  }
  .float-bottom {
    left: 0;
    bottom: 7%;
    font-size: 10px;
    padding: 11px;
    max-width: 100%;
  }
  .float-card small {
    font-size: 11px;
  }
  .visual-label {
    right: 0;
    bottom: 1%;
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .holo-plane {
    inset: 6% 0 10%;
  }
  .hero-intro {
    grid-row: 6;
    font-size: 15px;
    margin-top: 19px;
    line-height: 1.85;
  }
  .hero-actions {
    grid-row: 7;
    margin-top: 24px;
  }
  .hero-links {
    grid-row: 8;
    font-size: 12px;
    gap: 13px;
    margin-top: 23px;
    flex-wrap: wrap;
  }
  .hero-bottom {
    left: 7vw;
    right: 7vw;
    bottom: 22px;
    justify-content: center;
    font-size: 10px;
    padding-top: 16px;
  }
  .hero-bottom > span {
    display: none;
  }
  .hero-beam {
    top: 50%;
    width: 100%;
    left: 10%;
  }
  .hero-grid {
    background-size: 65px 65px;
  }
  .hero-content > * {
    animation-delay: 0s !important;
  }
  .tech-ribbon {
    padding: 24px 7vw;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px 28px;
    font-size: 13px;
  }
  .section {
    padding: 75px 7vw;
  }
  .section-heading {
    margin-bottom: 33px;
  }
  h2 {
    font-size: 37px;
    letter-spacing: -1.6px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    gap: 10px;
    margin-bottom: 20px;
  }
  .eyebrow i {
    width: 24px;
  }
  .about-copy p {
    font-size: 15px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .bento-core {
    grid-column: span 2;
    min-height: 245px;
  }
  .bento-core-copy {
    left: 25px;
    bottom: 31px;
  }
  .bento-core-copy h3 {
    font-size: 27px;
  }
  .bento-core .technology-core {
    right: -20px;
    width: 310px;
    height: 280px;
    top: -26px;
  }
  .bento-corner {
    font-size: 9px;
  }
  .bento-founder,
  .bento-cv {
    min-height: 190px;
    padding: 23px;
  }
  .bento p {
    font-size: 12px;
  }
  .kreedx-panel {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
    border-radius: 16px;
  }
  .kreedx-brand {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 16px;
    align-items: center;
  }
  .kreedx-brand > .overline {
    grid-column: span 2;
    font-size: 9px;
  }
  .founder-badge {
    font-size: 9px;
    line-height: 1.8;
    justify-self: end;
    max-width: 170px;
  }
  .kreedx-copy h2 {
    font-size: 36px;
  }
  .kreedx-copy h3 {
    font-size: 18px;
    margin-top: 18px;
  }
  .kreedx-copy p {
    font-size: 14px;
  }
  .kreedx-tags span {
    font-size: 10px;
  }
  .approach-heading {
    display: block;
    margin-top: 30px;
  }
  .approach-heading p {
    margin-top: 9px;
    font-size: 12px;
  }
  .approach-controls {
    grid-template-columns: 1fr 1fr;
  }
  .approach-controls button {
    padding: 12px 15px;
    font-size: 13px;
    gap: 12px;
  }
  .approach-description {
    padding: 22px;
    gap: 15px;
    min-height: 175px;
  }
  .approach-description h3 {
    font-size: 17px;
  }
  .approach-description p {
    font-size: 13px;
  }
  .heading-split {
    display: block;
  }
  .heading-split > p {
    max-width: 500px;
    font-size: 14px;
    margin-top: 22px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .featured-project {
    grid-column: span 1;
    display: block;
  }
  .featured-project .project-cover {
    min-height: 280px;
  }
  .featured-project .project-symbol {
    font-size: 120px;
  }
  .featured-project .project-info {
    padding: 26px;
  }
  .featured-project h3 {
    font-size: 30px;
  }
  .projects-grid > .project-card:last-child {
    margin-top: 0;
  }
  .project-cover {
    min-height: 275px;
  }
  .project-info {
    padding: 26px;
  }
  .project-info h3 {
    font-size: 27px;
  }
  .project-info p {
    font-size: 14px;
  }
  .project-tags {
    gap: 7px;
  }
  .project-tags span {
    font-size: 10px;
  }
  .project-actions {
    gap: 10px;
  }
  .project-actions button,
  .project-actions a {
    font-size: 12px;
    gap: 7px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .skill-card {
    padding: 27px;
  }
  .skill-card h3 {
    font-size: 22px;
  }
  .soft-skills {
    padding-left: 19px;
  }
  .soft-skills p {
    font-size: 13px;
  }
  .direction-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .direction-card {
    padding: 26px;
  }
  .direction-visual {
    height: 140px;
    margin-bottom: 18px;
  }
  .direction-card h3 {
    font-size: 25px;
  }
  .direction-card > .overline {
    font-size: 9px;
  }
  .direction-card p {
    min-height: 0;
    font-size: 14px;
  }
  .direction-nodes span {
    font-size: 11px;
    gap: 10px;
  }
  .direction-nodes {
    gap: 10px;
  }
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 43px;
  }
  .experience-main {
    padding: 28px;
  }
  .experience-main h3 {
    font-size: 30px;
  }
  .experience-main ul {
    font-size: 13px;
  }
  .community-timeline > h3 {
    font-size: 22px;
  }
  .background-heading {
    display: block;
  }
  .background-heading h2 {
    font-size: 33px;
  }
  .background-heading > p {
    margin-top: 19px;
    max-width: 400px;
    font-size: 13px;
  }
  .background-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .education-card {
    padding: 24px;
    gap: 17px;
  }
  .education-card h3 {
    font-size: 18px;
  }
  .school-card {
    padding: 23px;
  }
  .school-card h3 {
    font-size: 19px;
  }
  .certificates-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .certificate-card {
    padding: 18px;
  }
  .certificate-card h4 {
    font-size: 14px;
  }
  .certificate-card p {
    font-size: 11px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-copy h2 {
    font-size: 37px;
    letter-spacing: -1.8px;
  }
  .contact-copy > p {
    font-size: 14px;
  }
  .contact-form {
    padding: 26px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  footer {
    flex-wrap: wrap;
    padding: 27px 7vw;
    gap: 18px;
  }
  footer nav {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
  .project-dialog {
    padding: 26px;
    width: calc(100% - 26px);
    max-height: calc(100svh - 26px);
    border-radius: 13px;
  }
  .dialog-header h2 {
    font-size: 27px;
  }
  .dialog-header p {
    font-size: 13px;
  }
  .dialog-preview {
    height: 180px;
  }
  .dialog-monogram {
    height: 140px;
  }
  .dialog-contribution h3 {
    font-size: 16px;
  }
  .dialog-contribution ul {
    font-size: 12px;
  }
  .dialog-goal p {
    font-size: 13px;
  }
}
@media (max-width: 430px) {
  .brand-name {
    display: none;
  }
  .hero {
    padding-top: 135px;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .hero-visual {
    height: 315px;
  }
  .hero-portrait {
    right: 0;
    max-width: 105%;
  }
  .hero-role {
    font-size: 14px;
  }
  .hero-statement {
    font-size: 22px;
  }
  .float-bottom {
    font-size: 9px;
    padding: 10px;
  }
  .hero-links {
    gap: 9px;
  }
  .hero-actions {
    gap: 9px;
  }
  .button {
    padding: 13px 16px;
    font-size: 13px;
  }
  h2 {
    font-size: 34px;
  }
  .bento-core-copy h3 {
    font-size: 25px;
  }
  .bento-core .technology-core {
    right: -62px;
    opacity: 0.8;
  }
  .bento-founder,
  .bento-cv {
    padding: 20px;
  }
  .bento h3 {
    font-size: 22px;
  }
  .kreedx-panel {
    padding: 25px;
  }
  .kreedx-copy h2 {
    font-size: 33px;
  }
  .kreedx-brand {
    grid-template-columns: 1fr 1.4fr;
  }
  .project-info,
  .featured-project .project-info {
    padding: 24px;
  }
  .project-actions {
    flex-wrap: wrap;
    row-gap: 14px;
  }
  .project-cover {
    min-height: 250px;
  }
  .project-preview {
    height: 78%;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  .certificate-card h4 {
    font-size: 15px;
  }
  .certificate-card p {
    font-size: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-copy h2 {
    font-size: 33px;
  }
  .contact-form {
    padding: 23px;
  }
  .education-card {
    display: block;
  }
  .education-card > svg {
    margin-bottom: 17px;
  }
  .hero-bottom {
    font-size: 9px;
  }
  .experience-top {
    gap: 10px;
  }
  .date-label {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal:not(.visible) {
    opacity: 1;
    transform: none;
  }
  .motion-ready .section-heading:not(.visible) h2,
  .motion-ready .background-heading:not(.visible) h2 {
    clip-path: none;
  }
  .button:hover,
  .skill-card:hover,
  .direction-card:hover,
  .bento:hover {
    transform: none;
  }
}
@media (min-width: 701px) {
  .projects-grid > .project-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    margin-top: 0;
  }
  .projects-grid > .project-card:last-child .project-cover {
    min-height: 350px;
  }
}

/* brand.css */
.kreedx-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.kreedx-brand .kx-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 140px;
  margin: 24px 0;
}
.kx-logo .kreedx-logo {
  position: relative;
  z-index: 1;
  width: 100%;
}
.kreedx-brand .kx-logo i {
  position: absolute;
  border: 1px solid #a7c2dd22;
  border-radius: 50%;
  width: 100%;
  height: 220px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-25deg) scaleY(0.65);
}
.mini-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 94px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #9db7ea34;
  background: linear-gradient(135deg, #9cafff14, #79d9d916);
}
.project-brand-logo {
  position: relative;
  z-index: 1;
  width: 84%;
  max-width: 360px;
}
.dialog-brand-logo {
  width: 80%;
  max-width: 360px;
}
@media (max-width: 700px) {
  .kreedx-brand .kx-logo {
    grid-column: 1 / -1;
    min-height: 100px;
    margin: 8px 0;
  }
  .kreedx-brand .founder-badge {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
  }
  .float-bottom .mini-mark {
    width: 70px;
    height: 34px;
    padding: 6px;
  }
}

/* loading.css */
#scroll-sentinel {
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  pointer-events: none;
}
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 26px;
  background: #070b15;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s;
}
.portfolio-loading .boot-screen {
  opacity: 1;
  visibility: visible;
}
.boot-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, #13274088, transparent 65%),
    linear-gradient(#9abfef0c 1px, transparent 1px),
    linear-gradient(90deg, #9abfef0c 1px, transparent 1px);
  background-size:
    auto,
    72px 72px,
    72px 72px;
  mask-image: radial-gradient(ellipse, #000, transparent 80%);
}
.boot-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
}
.boot-mark span {
  font-size: 66px;
  font-weight: 800;
  letter-spacing: -6px;
  color: #ecf1fa;
}
.boot-mark b {
  color: #8de3e0;
}
.boot-mark i {
  position: absolute;
  inset: 0;
  border: 1px solid #8de3e02c;
  border-top-color: #8de3e0;
  border-radius: 50%;
  animation: boot-orbit 2s linear infinite;
}
.boot-mark i:nth-child(2) {
  inset: 15px;
  border-top-color: #b1a1ed;
  transform: rotate(60deg);
  animation-direction: reverse;
}
.boot-mark i:nth-child(3) {
  inset: -12px;
  border: 1px dashed #9eafff25;
  animation-duration: 12s;
}
.boot-screen p {
  color: #b5dfdf;
  font-size: 12px;
  letter-spacing: 3px;
  position: relative;
}
.boot-pulse {
  display: flex;
  gap: 7px;
  position: relative;
}
.boot-pulse span {
  height: 3px;
  width: 18px;
  background: #8de3e0;
  opacity: 0.25;
  animation: boot-pulse 1s ease-in-out infinite alternate;
}
.boot-pulse span:nth-child(2) {
  animation-delay: 0.15s;
}
.boot-pulse span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes boot-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes boot-pulse {
  to {
    opacity: 1;
  }
}
.image-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  background: #101725;
  font-size: 14px;
  text-align: center;
}
.project-loading {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}
.recovery-view {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 8vw;
}
.recovery-view h1 {
  font-size: clamp(30px, 6vw, 70px);
  letter-spacing: -2px;
}
.menu-toggle,
.dialog-close {
  min-width: 44px;
  min-height: 44px;
}
.copy-email,
.project-actions a,
.project-actions button,
footer nav a {
  min-height: 44px;
  align-items: center;
}
footer nav a {
  display: inline-flex;
}
@media (prefers-reduced-motion: reduce) {
  .boot-screen,
  .boot-mark i,
  .boot-pulse span {
    animation: none;
    transition: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header.scrolled,
  .mobile-nav {
    background: #0b1224;
  }
}

/* shared-hosting.css */
/* Small compatibility layer; the original section styles and cascade are preserved. */
.project-dialog {
  margin: 0;
  color: var(--text);
}
.project-dialog:not([open]) {
  display: none;
}
.project-dialog::backdrop {
  background: #030711d9;
  backdrop-filter: blur(5px);
}
.dialog-open {
  overflow: hidden;
}
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-feedback {
  animation: panel-in 0.24s ease-out;
}
.form-feedback[data-state='error'] {
  border-color: #d49b9b66;
  color: #f2cdcd;
}
.contact-form[aria-busy='true'] button {
  opacity: 0.75;
  cursor: wait;
}
.menu-toggle,
.dialog-close {
  min-width: 44px;
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  .form-feedback {
    animation: none;
  }
}

#project-dialog-content > .button {
  width: 100%;
  font-size: 13px;
}
