:root {
  --ink: #142033;
  --ink-strong: #07111f;
  --ink-soft: #5b687a;
  --navy: #07111f;
  --navy-soft: #0d1b30;
  --blue: #2878ff;
  --blue-dark: #1456d8;
  --cyan: #55d7ff;
  --violet: #8f7cff;
  --green: #38d996;
  --surface: #f3f6fa;
  --surface-blue: #eaf1fb;
  --card: #ffffff;
  --line: rgba(20, 32, 51, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 68px rgba(7, 17, 31, 0.13);
  --header-height: 78px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(85, 215, 255, 0.54);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: rgba(40, 120, 255, 0.72);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.018;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 36px 36px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px max(24px, 5vw);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.85), rgba(7, 17, 31, 0));
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(7, 17, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 30px rgba(40, 120, 255, 0.24);
  font-family: Sora, Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.brand > span:last-child,
.footer-brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong,
.footer-brand strong {
  font-family: Sora, Inter, sans-serif;
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.brand small,
.footer-brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand small,
body.menu-open .brand small {
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 800;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .site-nav a,
body.menu-open .site-nav a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .site-nav a:hover,
body.menu-open .site-nav a:hover {
  color: var(--ink-strong);
  background: rgba(40, 120, 255, 0.09);
}

.site-nav .nav-cta,
.site-header.is-scrolled .site-nav .nav-cta,
body.menu-open .site-nav .nav-cta {
  padding-inline: 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(40, 120, 255, 0.22);
}

.site-nav .nav-cta:hover,
.site-header.is-scrolled .site-nav .nav-cta:hover,
body.menu-open .site-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .nav-toggle,
body.menu-open .nav-toggle {
  border-color: var(--line);
  background: #fff;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 180ms ease, transform 180ms ease;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 22%, rgba(40, 120, 255, 0.17), transparent 28%),
    radial-gradient(circle at 82% 62%, rgba(143, 124, 255, 0.14), transparent 26%),
    linear-gradient(145deg, #07111f 0%, #09182b 58%, #07111f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(85, 215, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 215, 255, 0.32) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-orb-one {
  top: 8%;
  right: -12%;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(85, 215, 255, 0.18);
  box-shadow:
    inset 0 0 80px rgba(40, 120, 255, 0.08),
    0 0 100px rgba(40, 120, 255, 0.06);
}

.hero-orb-two {
  right: 20%;
  bottom: 14%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(143, 124, 255, 0.2);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100svh - 160px);
  margin: 0 auto;
  padding: calc(var(--header-height) + 74px) 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.68fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow,
.capabilities-band .eyebrow,
.profile-band .eyebrow,
.contact-band .eyebrow {
  color: var(--cyan);
}

.hero .eyebrow span {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(56, 217, 150, 0.11);
}

.hero h1,
.section-heading h2,
.capabilities-heading h2,
.profile-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.55rem, 6vw, 5.9rem);
  line-height: 0.98;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), #8db9ff 46%, #b4a8ff);
  background-clip: text;
  font-style: normal;
}

.hero-lede {
  max-width: 700px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.profile-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  font-weight: 900;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.primary-action {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #536eff);
  box-shadow: 0 18px 38px rgba(40, 120, 255, 0.28);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(40, 120, 255, 0.36);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.secondary-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.developer-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(4, 12, 23, 0.62);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.developer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(85, 215, 255, 0.28), transparent 45%, rgba(143, 124, 255, 0.24));
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(5, 13, 24, 0.92);
}

.window-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.window-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.window-bar > span:nth-child(2) {
  background: #ffd166;
}

.window-bar > span:nth-child(3) {
  background: #38d996;
}

.window-bar small {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.code-window pre {
  margin: 0;
  overflow-x: auto;
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.76);
  font: 0.8rem/1.82 "SFMono-Regular", Consolas, monospace;
}

.code-purple {
  color: #c8a7ff;
}

.code-green {
  color: #78e6ae;
}

.code-blue {
  color: #72d8ff;
}

.developer-status {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 12px 5px;
}

.status-pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(56, 217, 150, 0.1);
}

.developer-status div {
  display: grid;
  gap: 4px;
}

.developer-status strong {
  font-size: 0.83rem;
}

.developer-status small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.68rem;
}

.hero-proof {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-proof > div {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-proof > div:first-child {
  padding-left: 0;
}

.hero-proof > div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: #fff;
  font-family: Sora, Inter, sans-serif;
  font-size: 1.35rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.capabilities-heading h2,
.profile-copy h2,
.contact-copy h2 {
  color: var(--ink-strong);
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  line-height: 1.04;
}

.about-section {
  padding-top: 94px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 64px;
}

.about-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link span {
  transition: transform 140ms ease;
}

.principles-grid {
  display: grid;
  gap: 12px;
}

.principle-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 0.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.07);
}

.principle-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue-dark);
  background: rgba(40, 120, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
}

.principle-card h3 {
  margin: 8px 0 0;
  color: var(--ink-strong);
  font-family: Sora, Inter, sans-serif;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.principle-card p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.capabilities-band {
  color: #fff;
  background:
    radial-gradient(circle at 13% 10%, rgba(40, 120, 255, 0.18), transparent 32%),
    linear-gradient(145deg, var(--navy), var(--navy-soft));
}

.capabilities-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 68px;
}

.capabilities-heading {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.capabilities-heading h2,
.profile-copy h2,
.contact-copy h2 {
  color: #fff;
}

.capabilities-heading > p:last-child,
.profile-copy > p,
.contact-copy > p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.capabilities-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.capability {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line-light);
}

.capability > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}

.capability h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Sora, Inter, sans-serif;
  font-size: 1.24rem;
  letter-spacing: -0.035em;
}

.capability p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.64;
}

.capability small {
  grid-column: 2;
  margin-top: 4px;
  color: rgba(85, 215, 255, 0.7);
  font: 0.72rem/1.5 "SFMono-Regular", Consolas, monospace;
}

.work-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  align-items: end;
  gap: 44px;
}

.work-heading .section-heading {
  margin: 0;
}

.work-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 82px rgba(7, 17, 31, 0.18);
}

.project-card:nth-child(even) .project-media {
  order: 2;
}

.project-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 17, 31, 0.46));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 650ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.025);
}

.project-media > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 15px;
  color: #fff;
  background: rgba(7, 17, 31, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}

.project-info > div:first-child p {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: Sora, Inter, sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.project-info > p {
  margin: auto 0 24px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 0.68rem;
  font-weight: 700;
}

.profile-band {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(143, 124, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #0b1830, #07111f);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 72px;
}

.profile-copy > p {
  max-width: 660px;
}

.stack-panel {
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.stack-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-light);
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row span {
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stack-row strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
}

.contact-band {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 120, 255, 0.2), transparent 31%),
    #050c16;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
  align-items: start;
  gap: 68px;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.contact-copy > p {
  max-width: 620px;
}

.contact-links {
  margin-top: 32px;
  display: grid;
  border-top: 1px solid var(--line-light);
}

.contact-links > a,
.contact-links > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-links > a {
  transition: color 140ms ease, padding-left 140ms ease;
}

.contact-links > a:hover {
  padding-left: 6px;
  color: var(--cyan);
}

.contact-links span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.lead-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.form-intro {
  margin-bottom: 24px;
  display: grid;
  gap: 6px;
}

.form-intro > span {
  color: var(--blue-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-intro strong {
  color: var(--ink-strong);
  font-family: Sora, Inter, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.form-grid label > span {
  padding-left: 2px;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form-grid input,
.form-grid select {
  min-height: 49px;
}

.form-grid textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.5;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(40, 120, 255, 0.11);
}

.turnstile-wrap {
  min-height: 65px;
  margin-top: 18px;
}

.form-submit {
  width: 100%;
  margin-top: 14px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #087a53;
}

.site-footer {
  padding: 44px max(24px, 5vw) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px 40px;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030912;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--cyan);
}

.site-footer > small {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1080px) {
  .site-nav a {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .hero-inner {
    gap: 44px;
  }

  .project-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    padding: 10px 18px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 12px auto;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 170ms ease, transform 170ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 46px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 0.9rem;
  }

  .hero-inner,
  .about-layout,
  .capabilities-section,
  .profile-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 58px;
  }

  .developer-card {
    max-width: 620px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof > div {
    min-height: 78px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .hero-proof > div:last-child {
    border-bottom: 0;
  }

  .about-copy,
  .capabilities-heading,
  .contact-copy {
    position: static;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-media {
    order: 0;
  }

  .project-media {
    min-height: 360px;
  }

  .project-info > p {
    margin: 40px 0 24px;
  }
}

@media (max-width: 660px) {
  .section,
  .hero-inner,
  .hero-proof {
    width: min(100% - 32px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: calc(var(--header-height) + 68px) 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions a {
    width: 100%;
  }

  .developer-card {
    padding: 9px;
  }

  .code-window pre {
    padding: 22px 18px;
    font-size: 0.72rem;
  }

  .hero-proof > div {
    gap: 12px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading h2,
  .capabilities-heading h2,
  .profile-copy h2,
  .contact-copy h2 {
    font-size: 2.2rem;
  }

  .about-layout,
  .capabilities-section,
  .profile-section,
  .contact-section {
    gap: 38px;
  }

  .principle-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .principle-card p {
    grid-column: 2;
  }

  .work-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-media {
    min-height: 250px;
  }

  .project-info {
    padding: 25px;
  }

  .project-info h3 {
    font-size: 1.48rem;
  }

  .project-info > p {
    margin-top: 28px;
  }

  .profile-actions {
    display: grid;
  }

  .profile-actions a {
    width: 100%;
  }

  .stack-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .lead-form {
    padding: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero .eyebrow {
    line-height: 1.6;
  }

  .developer-status {
    align-items: flex-start;
  }

  .contact-links > a,
  .contact-links > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-links {
    gap: 14px;
  }
}
