:root {
  --paper: #f6f8f7;
  --white: #fff;
  --ink: #111719;
  --muted: #667075;
  --line: #d8dfe0;
  --blue: #165dff;
  --cyan: #74ecff;
  --blue-soft: #e7eeff;
  --mint: #dffbf4;
  --mono: "DM Mono", monospace;
  --sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body::selection { color: white; background: var(--blue); }
a { color: inherit; text-decoration: none; }

.portfolio-nav {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  overflow-x: auto;
  border: 1px solid rgba(36, 36, 48, .06);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(30, 27, 56, .13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), opacity .24s ease;
  scrollbar-width: none;
}
.portfolio-nav::-webkit-scrollbar { display: none; }
.portfolio-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -140%);
}
.portfolio-nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: #626272;
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.portfolio-nav a:hover,
.portfolio-nav a:focus-visible {
  color: #3d26df;
  background: #eeecff;
  outline: none;
}
.contact-status i { width: 7px; height: 7px; border-radius: 50%; background: #25ba7a; box-shadow: 0 0 0 4px rgba(37,186,122,.1); }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 84px 4vw 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-grid, .contact-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26,65,84,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,65,84,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -130px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,236,255,.35), rgba(22,93,255,.08) 42%, transparent 70%);
}
.hero-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 23px;
  color: #68757a;
  font: 400 12px var(--mono);
  letter-spacing: .08em;
}
.hero-heading { position: relative; flex: 1; display: flex; align-items: center; }
.hero h1 {
  margin: 25px 0 0;
  font-size: clamp(58px, 8.3vw, 128px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.075em;
}
.hero h1 span { color: var(--blue); }
.hero-orbit {
  position: absolute;
  right: 4%;
  top: 18%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(22,93,255,.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.orbit-ring { position: absolute; width: 105px; height: 105px; border: 1px dashed rgba(22,93,255,.45); border-radius: 50%; animation: orbit-spin 14s linear infinite; }
.hero-orbit b { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); font: 500 12px var(--mono); box-shadow: 0 12px 35px rgba(22,93,255,.28); }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.dot-one { top: 21px; left: 33px; }
.dot-two { right: -4px; bottom: 61px; background: var(--cyan); border: 1px solid var(--blue); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-bottom { position: relative; display: flex; justify-content: space-between; align-items: end; padding: 0 7vw 55px 22vw; }
.hero-bottom > p { max-width: 490px; margin: 0; color: #566166; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.main-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  padding: 15px 17px;
  color: white;
  background: var(--blue);
  font: 500 13px var(--mono);
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(22,93,255,.17);
  transition: transform .25s, box-shadow .25s;
}
.main-button:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(22,93,255,.26); }
.text-button { padding-bottom: 5px; border-bottom: 1px solid #9ba4a7; font: 500 13px var(--mono); text-transform: uppercase; }
.hero-index { position: relative; min-height: 52px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #7b878c; font: 400 10px var(--mono); letter-spacing: .08em; }

.signal-strip { min-height: 66px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--blue); font: 500 13px var(--mono); letter-spacing: .07em; }
.signal-strip i { color: var(--cyan); font-style: normal; }

.work-section, .ai-section, .testimonials-section, .playground-section, .experience-section { padding: 140px 4vw; }
.section-head { display: grid; grid-template-columns: 1fr 360px; gap: 7vw; align-items: end; margin-bottom: 90px; }
.section-label, .project-type { color: var(--blue); font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.section-head h2, .about-copy h2 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.4vw, 80px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.section-head h2 em, .about-copy h2 em, blockquote em, .contact-section h2 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.section-head > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.home-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px 24px; }
.home-work-card { display: block; }
.home-work-image { aspect-ratio: 1.32 / 1; overflow: hidden; background: #e8edef; }
.home-work-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.home-work-card:hover .home-work-image img { transform: scale(1.025); }
.home-work-image-small { display: grid; place-items: center; background: #fbfaf7; }
.home-work-image-small img { width: 84%; height: 84%; object-fit: contain; }
.home-work-card:hover .home-work-image-small img { transform: scale(1.015); }
.home-work-image-design-system { display: grid; place-items: center; background: #fbfaf7; }
.home-work-image-design-system img { width: 80%; height: 80%; border-radius: 12px; object-fit: contain; }
.home-work-card:hover .home-work-image-design-system img { transform: scale(1.015); }
.home-work-copy { position: relative; padding: 22px 45px 0 0; }
.home-work-copy > span { color: #7a868b; font: 400 15px var(--mono); letter-spacing: .06em; }
.home-work-copy > i { position: absolute; top: 22px; right: 2px; color: var(--blue); font-style: normal; font-size: 18px; transition: transform .25s; }
.home-work-card:hover .home-work-copy > i { transform: translate(5px,-5px); }
.home-work-copy h3 { margin: 12px 0 8px; font-size: 41px; font-weight: 500; letter-spacing: -.04em; }
.home-work-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.project-card { min-height: 720px; display: grid; grid-template-columns: .72fr 1.28fr; border-top: 1px solid var(--line); padding: 70px 0 110px; gap: 4vw; }
.project-card.reverse { grid-template-columns: 1.28fr .72fr; }
.project-card.reverse .project-info { order: 2; }
.project-card.reverse .project-stage { order: 1; }
.project-info { display: flex; flex-direction: column; justify-content: space-between; padding: 3px 0; }
.project-top { display: flex; justify-content: space-between; color: #7a8589; font: 400 8px var(--mono); }
.project-info h3 { margin: 18px 0 25px; font-size: clamp(36px, 4vw, 61px); font-weight: 500; line-height: 1.03; letter-spacing: -.055em; }
.client-logo { display: block; width: auto; max-width: 145px; max-height: 40px; margin-bottom: 22px; object-fit: contain; object-position: left center; }
.logo-godaddy { width: 145px; }
.logo-pwc { width: 82px; }
.logo-didi { width: 125px; }
.project-info > div > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.tag-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 50px; color: #667277; font: 400 7px var(--mono); text-transform: uppercase; }
.project-info > a { display: flex; justify-content: space-between; width: 190px; padding-bottom: 9px; border-bottom: 1px solid #7e898d; font: 500 8px var(--mono); text-transform: uppercase; }
.project-info > a span { color: var(--blue); }
.impact-row { display: flex; gap: 38px; margin-top: 30px; }
.impact-row div { display: flex; flex-direction: column; }
.impact-row b { color: var(--blue); font-size: 32px; font-weight: 500; }
.impact-row span { margin-top: 4px; color: #7e898d; font: 400 7px var(--mono); text-transform: uppercase; }

.project-stage { position: relative; min-height: 570px; overflow: hidden; transition: transform .4s; }
.project-card:hover .project-stage { transform: translateY(-5px); }
.stage-commerce { display: grid; place-items: center; background: linear-gradient(145deg, #dce9ff, #b6cfff); border-radius: 2px 80px 2px 2px; }
.commerce-window { width: 88%; border: 1px solid rgba(23,47,86,.24); background: white; box-shadow: 18px 22px 45px rgba(38,72,127,.16); transform: rotate(-1deg); }
.window-bar { height: 44px; padding: 0 16px; border-bottom: 1px solid #e1e6e8; display: flex; align-items: center; gap: 22px; color: #849094; font: 400 7px var(--mono); }
.window-bar b { margin-right: auto; color: var(--ink); font: 600 10px var(--sans); }
.window-bar span:first-of-type { color: var(--blue); }
.window-bar i { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-style: normal; }
.commerce-body { min-height: 390px; display: grid; grid-template-columns: 48px 1fr; }
.commerce-body aside { border-right: 1px solid #e5e9eb; padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.commerce-body aside b { color: var(--blue); font-size: 12px; }
.commerce-body aside i { width: 13px; height: 2px; background: #c9d0d3; }
.commerce-body aside i.active { background: var(--blue); }
.commerce-main { padding: 24px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; }
.dash-head small { color: #98a1a4; font: 400 6px var(--mono); }
.dash-head h4 { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.dash-head button { padding: 8px 11px; border: 0; color: white; background: var(--blue); font: 400 6px var(--mono); }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 9px; }
.dash-metrics div { padding: 13px; border: 1px solid #e1e6e8; }
.dash-metrics small, .dash-metrics b, .dash-metrics span { display: block; }
.dash-metrics small { color: #99a2a5; font: 400 6px var(--mono); }
.dash-metrics b { margin: 10px 0 6px; font-size: 16px; font-weight: 600; }
.dash-metrics span { color: #16a571; font: 400 6px var(--mono); }
.dash-chart { position: relative; height: 205px; padding: 14px; border: 1px solid #e1e6e8; overflow: hidden; }
.dash-chart > span { color: #858f93; font: 400 6px var(--mono); }
.bars { position: absolute; inset: 50px 14px 14px; display: flex; align-items: end; justify-content: space-between; }
.bars i { width: 4.5%; height: 40%; background: var(--blue-soft); }
.bars i:nth-child(3n) { height: 75%; }.bars i:nth-child(4n) { height: 57%; }.bars i:nth-child(5n) { height: 88%; }
.dash-chart svg { position: absolute; left: 14px; bottom: 18px; width: calc(100% - 28px); height: 140px; overflow: visible; }
.dash-chart path { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.floating-data { position: absolute; z-index: 2; min-width: 105px; padding: 12px; border: 1px solid rgba(22,93,255,.15); background: rgba(255,255,255,.92); box-shadow: 0 10px 25px rgba(29,66,116,.12); backdrop-filter: blur(6px); }
.floating-data small, .floating-data b, .floating-data span { display: block; }
.floating-data small { color: #788489; font: 400 6px var(--mono); }.floating-data b { margin: 7px 0; font-size: 18px; }.floating-data span { color: #12a36e; font: 400 6px var(--mono); }
.data-a { right: 1.5%; top: 9%; }.data-b { left: 1.5%; bottom: 9%; }

.stage-workflow { display: grid; place-items: center; background: linear-gradient(145deg, #dffbf4, #b9efe7); border-radius: 80px 2px 2px 2px; }
.workflow-window { width: 87%; min-height: 440px; display: grid; grid-template-columns: 54px 1fr; background: white; box-shadow: -17px 22px 40px rgba(31,109,94,.13); transform: rotate(1.3deg); }
.workflow-nav { padding: 18px 0; border-right: 1px solid #e3e9e8; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.workflow-nav b { width: 25px; height: 25px; display: grid; place-items: center; color: white; background: var(--blue); font-size: 9px; }
.workflow-nav i { width: 13px; height: 2px; background: #c8d1d1; }.workflow-nav i.active { background: var(--blue); }
.workflow-nav span { margin-top: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); font: 400 6px var(--mono); }
.workflow-main { padding: 30px; }
.workflow-title { display: flex; justify-content: space-between; color: #879295; font: 400 6px var(--mono); }.workflow-title i { font-style: normal; }
.workflow-main h4 { margin: 36px 0 6px; font-size: 22px; }.workflow-main > p { margin: 0 0 25px; color: #859094; font-size: 10px; }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.task { min-height: 112px; padding: 15px; border: 1px solid #e1e7e7; display: flex; flex-direction: column; }
.task.wide { grid-column: 1 / -1; min-height: 145px; }.task.blue { background: var(--blue-soft); border-color: transparent; }
.task small { color: #879296; font: 400 6px var(--mono); }.task b { margin-top: 8px; font-size: 12px; }.task em { margin-top: auto; color: #818c90; font: 400 6px var(--mono); font-style: normal; }
.task-progress { height: 3px; margin-top: auto; background: #e5eaeb; }.task-progress i { display: block; width: 75%; height: 100%; background: var(--blue); }
.result-card { position: absolute; right: 2%; bottom: 5%; display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(22,93,255,.2); }
.result-card span { font: 400 6px var(--mono); }.result-card b { font-size: 16px; }.result-card i { color: var(--cyan); font-style: normal; }

.stage-mobile { display: grid; place-items: center; background: linear-gradient(145deg, #e3f4ff, #b9dcfa); border-radius: 2px 80px 2px 2px; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(22,93,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(22,93,255,.09) 1px, transparent 1px); background-size: 45px 45px; }
.route-line { position: absolute; width: 78%; height: 60%; border: 2px dashed rgba(22,93,255,.3); border-left: 0; border-bottom: 0; border-radius: 50%; transform: rotate(-18deg); }
.map-node { position: absolute; z-index: 2; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: white; border: 1px solid rgba(22,93,255,.25); font: 500 6px var(--mono); box-shadow: 0 6px 15px rgba(22,93,255,.12); }
.node-a { left: 12%; top: 25%; }.node-b { right: 13%; top: 19%; background: var(--blue); color: white; }.node-c { left: 18%; bottom: 13%; }
.phone { position: relative; z-index: 3; width: 235px; height: 480px; padding: 7px; border-radius: 29px; background: #101719; box-shadow: 20px 25px 40px rgba(34,81,119,.2); }
.phone-speaker { position: absolute; z-index: 2; top: 15px; left: 50%; width: 65px; height: 13px; border-radius: 10px; background: #101719; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 50px 18px 18px; border-radius: 22px; background: #f8fafb; }
.phone-screen > small { color: #849094; font: 400 6px var(--mono); }.phone-screen h4 { margin: 10px 0 25px; font-size: 24px; line-height: 1.03; }
.mobile-stats { display: grid; grid-template-columns: repeat(3,1fr); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mobile-stats span { color: #78858a; font: 400 6px var(--mono); }.mobile-stats b { display: block; margin-bottom: 4px; color: var(--blue); font: 600 15px var(--sans); }
.phone-screen > p { margin: 27px 0 8px; color: #869195; font: 400 6px var(--mono); }
.mobile-stop { min-height: 78px; padding: 13px; border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: white; }
.mobile-stop i { color: var(--blue); font: 500 8px var(--mono); font-style: normal; }.mobile-stop div { display: flex; flex-direction: column; }.mobile-stop b { font-size: 10px; }.mobile-stop span { margin-top: 5px; color: #849094; font: 400 6px var(--mono); }.mobile-stop em { margin-left: auto; color: var(--blue); font-style: normal; }
.phone-screen button { width: 100%; margin-top: 14px; padding: 12px; border: 0; color: white; background: var(--blue); font: 500 7px var(--mono); text-transform: uppercase; }
.project-card { display: none; }

.ai-section { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 24px; }
.ai-card { display: block; }
.ai-image { aspect-ratio: 16 / 9; overflow: hidden; background: #e7ebed; }
.ai-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ai-card:hover .ai-image img { transform: scale(1.025); }
.ai-card > div:last-child { position: relative; padding: 22px 45px 0 0; }
.ai-card > div:last-child > span { color: #7a868b; font: 400 15px var(--mono); letter-spacing: .06em; }
.ai-card h3 { margin: 11px 0 7px; font-size: 38px; font-weight: 500; letter-spacing: -.035em; }
.ai-card p { margin: 0; color: var(--muted); font-size: 12px; }
.ai-card i { position: absolute; right: 0; top: 25px; color: var(--blue); font-style: normal; font-size: 18px; transition: transform .25s; }
.ai-card:hover i { transform: translate(5px,-5px); }

.about-section { padding: 140px 4vw; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-copy > p { max-width: 600px; margin: 35px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-copy > a { display: flex; justify-content: space-between; width: 190px; padding-bottom: 8px; border-bottom: 1px solid #8b9599; font: 500 12px var(--mono); text-transform: uppercase; }.about-copy > a span { color: var(--blue); }
.about-panel { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 540px; border: 1px solid var(--line); }
.profile-visual { position: relative; overflow: hidden; background: var(--blue-soft); }
.profile-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.profile-data { display: flex; flex-direction: column; justify-content: end; padding: 25px; }
.profile-data div { padding: 22px 0; border-top: 1px solid var(--line); }
.profile-data span, .profile-data b { display: block; }.profile-data span { margin-bottom: 9px; color: #8a9599; font: 400 9px var(--mono); }.profile-data b { font-size: 12px; font-weight: 500; }

.testimonials-section { background: var(--blue-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(22,93,255,.16); border-left: 1px solid rgba(22,93,255,.16); }
.testimonial {
  min-height: 510px;
  margin: 0;
  padding: 28px;
  border-right: 1px solid rgba(22,93,255,.16);
  border-bottom: 1px solid rgba(22,93,255,.16);
  display: flex;
  flex-direction: column;
}
.testimonial > span { color: var(--blue); font: 500 12px var(--mono); }
.testimonial h3 { margin: 70px 0 30px; font-size: 25px; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.testimonial > p { margin: 0; color: #56666d; font-size: 13px; line-height: 1.75; }
.testimonial footer { margin-top: auto; display: flex; flex-direction: column; }
.testimonial footer b { font-size: 11px; font-weight: 600; }
.testimonial footer i { margin-top: 6px; color: #75848a; font: 400 10px var(--mono); font-style: normal; text-transform: uppercase; }

.playground-section { background: var(--paper); }
.playground-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.playground-card > div { aspect-ratio: 1 / 1.06; overflow: hidden; background: white; }
.playground-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.playground-card:hover img { transform: scale(1.035); }
.playground-card > span { display: flex; justify-content: space-between; padding: 16px 2px 0; font: 500 12px var(--mono); letter-spacing: .05em; }
.playground-card > span i { color: var(--blue); font-style: normal; }

.experience-list { border-top: 1px solid var(--line); }
.experience-item { min-height: 205px; display: grid; grid-template-columns: .8fr 1.1fr 1fr auto; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s, background .25s; }
.experience-item:hover { padding: 0 22px; color: white; background: var(--blue); }
.experience-item > span, .experience-item > i { font: 400 12px var(--mono); font-style: normal; }.experience-item h3 { margin: 0; font-size: 31px; font-weight: 500; }.experience-item p { color: #778287; font-size: 12px; }.experience-item:hover p { color: #dce5ff; }.experience-item > i { color: var(--blue); }.experience-item:hover > i { color: var(--cyan); }
.experience-item > small { grid-column: 2 / 4; max-width: 680px; margin-top: -50px; color: #748085; font-size: 11px; line-height: 1.6; }
.experience-item:hover > small { color: #dce5ff; }

.contact-section { position: relative; min-height: 100vh; padding: 90px 4vw 30px; display: flex; flex-direction: column; color: white; background: #101c38; overflow: hidden; }
.contact-grid { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); mask-image: linear-gradient(to top, black, transparent); }
.contact-section::before { content: ""; position: absolute; width: 700px; height: 700px; right: -150px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(116,236,255,.2), transparent 65%); }
.contact-status { position: relative; display: flex; align-items: center; gap: 10px; color: #9fadc8; font: 400 12px var(--mono); }
.contact-section h2 { position: relative; margin: auto 0 55px; font-size: clamp(58px, 9.5vw, 145px); font-weight: 500; line-height: .91; letter-spacing: -.075em; }
.contact-section h2 em { color: var(--cyan); }
.contact-email { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); font-size: clamp(20px, 3vw, 42px); }.contact-email span { color: var(--cyan); transition: transform .25s; }.contact-email:hover span { transform: translate(8px,-8px); }
.contact-section > footer { position: relative; margin-top: 75px; display: grid; grid-template-columns: 1fr auto 1fr; color: #8592ad; font: 400 10px var(--mono); letter-spacing: .06em; } .contact-section > footer a { justify-self: end; color: white; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero-bottom { padding-left: 10vw; }
  .hero-orbit { width: 120px; height: 120px; right: 1%; }
  .project-card, .project-card.reverse { grid-template-columns: 1fr; gap: 55px; }
  .project-card.reverse .project-info, .project-card.reverse .project-stage { order: initial; }
  .project-info { min-height: 430px; }
  .about-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .portfolio-nav {
    justify-content: flex-start;
    width: calc(100% - 24px);
    padding: 6px 8px;
  }
  .portfolio-nav a {
    padding: 7px 11px;
    font-size: 12px;
  }
  .hero { min-height: 880px; padding: 72px 20px 0; }
  .hero-status span:last-child { display: none; }
  .hero h1 { font-size: 52px; }
  .hero-orbit { top: 7%; right: -30px; width: 90px; height: 90px; }
  .orbit-ring { width: 65px; height: 65px; }.hero-orbit b { width: 40px; height: 40px; font-size: 9px; }
  .hero-bottom { padding: 0 0 40px; display: block; }
  .hero-bottom > p { font-size: 14px; }
  .hero-actions { margin-top: 30px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .signal-strip { min-height: 55px; padding: 0 20px; gap: 20px; justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .work-section, .ai-section, .testimonials-section, .playground-section, .experience-section { padding: 95px 20px; }
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; }
  .section-head h2, .about-copy h2 { font-size: 39px; }
  .home-work-grid { grid-template-columns: 1fr; gap: 55px; }
  .project-card { min-height: 0; padding: 50px 0 85px; }
  .project-info { min-height: 430px; }
  .project-info h3 { font-size: 38px; }
  .project-stage { min-height: 430px; }
  .commerce-window { width: 95%; }
  .window-bar span { display: none; }
  .commerce-body { grid-template-columns: 37px 1fr; min-height: 315px; }
  .commerce-main { padding: 13px; }
  .dash-metrics div { padding: 8px; }.dash-metrics b { font-size: 11px; }
  .dash-chart { height: 155px; }
  .floating-data { display: none; }
  .workflow-window { width: 95%; min-height: 355px; grid-template-columns: 40px 1fr; }
  .workflow-main { padding: 18px; }.workflow-main h4 { margin-top: 26px; font-size: 17px; }
  .task.wide { min-height: 120px; }.task { min-height: 90px; padding: 10px; }
  .result-card { right: 0; }
  .phone { width: 205px; height: 410px; }
  .about-section { padding: 95px 20px; gap: 60px; }
  .about-panel { grid-template-columns: 1fr; min-height: 720px; }
  .profile-data { min-height: 260px; }
  .ai-grid { grid-template-columns: 1fr; gap: 50px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { min-height: 450px; }
  .testimonial h3 { margin-top: 50px; }
  .playground-grid { grid-template-columns: 1fr; gap: 45px; }
  .experience-item { min-height: 180px; grid-template-columns: .8fr 1.2fr auto; align-content: center; row-gap: 20px; }
  .experience-item p { display: none; }.experience-item h3 { font-size: 26px; }
  .experience-item > small { grid-column: 1 / -1; margin: 0; }
  .contact-section { min-height: 780px; padding: 75px 20px 25px; }
  .contact-section h2 { font-size: 58px; }
  .contact-section > footer { grid-template-columns: 1fr 1fr; } .contact-section > footer > span:nth-child(2) { display: none; }
}

.page-404 { min-height: 100vh; }
.error-page {
  position: relative;
  min-height: 100vh;
  padding: 140px 4vw 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.error-page .hero-grid {
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.error-orbit {
  position: absolute;
  right: 8%;
  top: 22%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(22,93,255,.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.error-orbit .orbit-ring {
  position: absolute;
  width: 105px;
  height: 105px;
  border: 1px dashed rgba(22,93,255,.45);
  border-radius: 50%;
  animation: orbit-spin 14s linear infinite;
}
.error-orbit b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 12px 35px rgba(22,93,255,.28);
}
.error-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.error-code {
  margin: 18px 0 8px;
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 500;
  line-height: .85;
  letter-spacing: -.08em;
  color: var(--blue);
  opacity: .14;
}
.error-page h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.065em;
}
.error-page h1 em {
  color: var(--blue);
  font-family: Georgia, serif;
  font-weight: 400;
}
.error-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.error-meta {
  display: flex;
  gap: 28px;
  margin-top: 70px;
  color: #7b878c;
  font: 400 10px var(--mono);
  letter-spacing: .08em;
}

@media (max-width: 680px) {
  .error-page { padding: 120px 20px 60px; }
  .error-orbit { width: 100px; height: 100px; right: -10px; top: 110px; }
  .error-orbit .orbit-ring { width: 62px; height: 62px; }
  .error-orbit b { width: 36px; height: 36px; }
  .error-page h1 { font-size: 42px; }
  .error-copy { font-size: 14px; }
  .error-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .error-meta { flex-direction: column; gap: 10px; margin-top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
