/* === FONTS === */
@font-face { font-family: "Creato Display"; src: url("https://cdn.prod.website-files.com/699530266fd97cac4e55be1e/699dcf82c7f70c5e0a352d8d_CreatoDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("https://cdn.prod.website-files.com/699530266fd97cac4e55be1e/699dcf82bb5f30d7ed35ec05_CreatoDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("https://cdn.prod.website-files.com/699530266fd97cac4e55be1e/699dcf82edd0ddd6f993d09e_CreatoDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("https://cdn.prod.website-files.com/699530266fd97cac4e55be1e/699dcf82df4f16ff646661bb_CreatoDisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("https://cdn.prod.website-files.com/699530266fd97cac4e55be1e/69b1a56a7c0fc99f3fd056b8_DMMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* === DESIGN TOKENS === */
:root {
  --bg-primary: #f4f4f4;
  --bg-dark: #0a0a0a;
  --color-black: #0a0a0a;
  --color-dark: #181818;
  --color-white: #ffffff;
  --color-neutral-01: #707070;
  --color-neutral-02: gray;
  --color-neutral-03: #bbb;
  --border-primary: rgba(255,255,255,0.1);
  --border-secondary: rgba(255,255,255,0.2);
  --font-primary: "Creato Display", Arial, sans-serif;
  --font-mono: "DM Mono", Arial, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 100px;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* === GRAIN OVERLAY === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* === SCROLL REVEALS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* === LIQUID GLASS EFFECT === */
.glass-effect {
  position: relative;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 0, 0, 0.08);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 2.2);
  transition-duration: 700ms;
}
/* Backdrop blur + SVG distortion layer */
.glass-effect::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  filter: url(#glass-distortion);
  isolation: isolate;
  pointer-events: none;
  z-index: -1;
}
/* White tint + inner shine layer */
.glass-effect::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: -1;
}

/* === NAV === */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: transparent;
  display: flex;
  justify-content: center;
}
.nav-component {
  border-radius: 1000px;
  width: auto;
  padding: 0.625rem 0.625rem 0.625rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--color-neutral-01);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  transition: color 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--color-black); }
.nav-cta {
  color: var(--color-black);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.nav-cta:hover { transform: scale(1.03); }
.nav-cta:active { transform: scale(0.97); }
.nav-cta .btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.nav-cta:hover .btn-icon { transform: translate(2px, -2px); }

/* Nav over dark section */
.nav-wrap.nav--light .nav-logo,
.nav-wrap.nav--light .nav-links a {
  color: rgba(255,255,255,0.85);
  transition: color 0.4s var(--ease-out);
}
.nav-wrap.nav--light .nav-component {
  background: rgba(10, 10, 10, 0.72);
}
.nav-wrap.nav--light .nav-component::before {
  backdrop-filter: blur(8px) saturate(100%);
  -webkit-backdrop-filter: blur(8px) saturate(100%);
  filter: none;
}
.nav-wrap.nav--light .nav-component::after {
  background: transparent;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.1),
    inset -1px -1px 0 rgba(255, 255, 255, 0.05);
}
.nav-wrap.nav--light .nav-links a:hover { color: #ffffff; }
.nav-wrap.nav--light .nav-cta {
  color: rgba(255, 255, 255, 0.9);
}
.nav-wrap.nav--light .nav-cta .btn-icon {
  background: rgba(255, 255, 255, 0.15);
}

/* === HERO === */
.hero {
  padding: 12rem 1.5rem 4rem;
  max-width: 100%;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
  margin: -10rem 1.5rem 0;
}
#hero-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero > *:not(#hero-gradient-bg) {
  position: relative;
  z-index: 1;
}

/* Dark hero overrides */
.hero .hero-title { color: #f4f4f4; }
.hero .hero-brand { color: rgba(244,244,244,0.5); }
.hero .hero-tagline { color: rgba(244,244,244,0.5); }
.hero .hero-divider { border-top-color: rgba(244,244,244,0.12); }
.hero .hero-bio {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.hero .hero-subtitle { color: rgba(244,244,244,0.75); }
.hero .hero-photo { border-color: rgba(255,255,255,0.12); }
.hero .hero-arrow {
  border-color: rgba(255,255,255,0.25);
  color: #f4f4f4;
}
.hero .hero-arrow:hover { border-color: rgba(255,255,255,0.6); }
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.hero-tag {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
}
.hero-label {
  font-size: 0.8125rem;
  color: var(--color-neutral-01);
  font-family: var(--font-mono);
}
.hero-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 2rem;
  margin-bottom: 0;
  width: 100%;
}
.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1rem;
  line-height: 0.9;
  color: var(--color-black);
}
.hero-brand {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: var(--fw-light);
  letter-spacing: 0.08em;
  color: var(--color-neutral-01);
  white-space: nowrap;
  padding-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-neutral-01);
  letter-spacing: 0.03em;
  margin: 0.25rem 0 1.5rem;
}
.hero-divider {
  border: none;
  border-top: 1px solid rgba(10,10,10,0.12);
  margin: 1.5rem 0;
  width: 100%;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.hero-bio {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(10,10,10,0.04);
  border: 1px solid rgba(10,10,10,0.07);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  max-width: 620px;
  text-align: left;
}
.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(10,10,10,0.08);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--color-dark);
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.hero-avail {
  font-size: 0.75rem;
  color: var(--color-neutral-01);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.hero-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(10,10,10,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease-out), transform 0.4s var(--ease-spring);
}
.hero-arrow:hover { border-color: rgba(10,10,10,0.5); transform: translateY(3px); }
.hero-pills {
  display: flex;
  gap: 0.5rem;
}
.pill {
  background: rgba(10,10,10,0.05);
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  color: var(--color-neutral-01);
  letter-spacing: 0.03em;
}

/* === SELECTED PROJECTS === */
.section-projects {
  background-color: var(--bg-primary);
  padding: 4rem 1.5rem 5rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-neutral-01);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1rem;
  line-height: 1;
  color: var(--color-black);
}
.projects-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
}

.projects-header .section-title {
  letter-spacing: 0.06rem;
  margin-bottom: 0;
}

/* === PROJECTS GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 400px));
  justify-content: center;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.project-card {
  width: 100%;
  min-height: 530px;
  border-radius: 1.25rem;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.project-card .project-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-image-tags {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 3;
}
.project-glass-tag {
  font-size: 0.5625rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.55rem;
}

.project-card-content {
  flex: 1;
  padding: 1.6rem 1.5rem 1.65rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: transparent;
}
.project-card-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.project-card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}
.project-card-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-card-title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}
.project-card-preview {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

.project-card-read-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .project-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .project-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
  }
  .project-card:hover .project-card-read-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (hover: none) {
  .project-card-read-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}


/* === WHY CHOOSE US === */
.section-why {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 5rem 0 8rem;
  min-height: 780px;
  position: relative;
  border-radius: 2rem;
  margin: 0 1.5rem;
}
.section-why::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.why-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 2rem;
  gap: 2rem;
}
.why-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.why-card {
  background: #191919;
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  max-width: 700px;
  width: 100%;
}
.why-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.why-title {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-align: center;
}
.why-title-main { color: #ffffff; }
.why-title-dim { color: rgba(255,255,255,0.45); }
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.why-stat {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}
.why-stat-number {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}
.why-stat-label {
  font-size: 0.8125rem;
  color: var(--color-neutral-01);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.why-bio {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-primary);
  line-height: 1.75;
}

/* Why body row — bio + profile card side by side */
.why-body-row {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  align-items: center;
}
.why-body-row .why-card {
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* === PROFILE CARD === */
.profile-card {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  text-align: center;
  overflow: visible;
}
.profile-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  z-index: -1;
  background: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(168,85,247,0.35));
  filter: blur(28px);
  opacity: 0.5;
  pointer-events: none;
}
.profile-card-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  padding: 3px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.profile-card-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-card-name {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.profile-card-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(168,85,247,0.9);
  margin-bottom: 0.875rem;
}
.profile-card-bio {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-primary);
}
.profile-card-divider {
  width: 40%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 1.25rem 0;
}
.profile-card-socials {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.profile-social-item {
  position: relative;
}
.profile-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.profile-social-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  transform: translateY(-1px);
}
.profile-social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(30,30,30,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.profile-social-item:hover .profile-social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.profile-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-primary);
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.profile-card-cta svg {
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--ease-spring);
}
.profile-card-cta:hover { transform: scale(1.05); }
.profile-card-cta:hover svg { transform: rotate(45deg); }

/* === SERVICES === */
.section-services {
  background-color: var(--bg-primary);
  padding: 8rem 2rem;
}
.services-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.service-item {
  border-top: 1px solid rgba(10,10,10,0.12);
  padding: 2rem 0.75rem;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  border-radius: var(--radius-md);
  margin: 0 -0.75rem;
  transition: background 0.4s var(--ease-out);
  cursor: pointer;
}
.service-item + .service-item {
  /* gap between items handled by border-top */
}
.service-component > .service-item:last-child {
  border-bottom: 1px solid rgba(10,10,10,0.12);
}
.service-item:hover {
  background: rgba(10,10,10,0.028);
}
.service-number {
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 0.75rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  font-weight: var(--fw-medium);
  flex-shrink: 0;
}
.service-title {
  font-size: clamp(1.5rem, 3vw, 4rem);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.4s var(--ease-out);
}
.service-item:hover .service-title {
  letter-spacing: 0.035em;
}
.service-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-tag {
  background-color: rgba(187,187,187,0.25);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-neutral-01);
}
.service-thumb {
  border-radius: var(--radius-md);
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.service-item:hover .service-thumb img {
  transform: scale(1.08);
}
.service-arrow {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(10,10,10,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* === CURVE DIVIDER === */
.why-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}
.why-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.why-cta:hover { transform: scale(1.04); }
.why-cta .btn-icon {
  font-size: 0.875rem;
  transition: transform 0.2s;
}
.why-cta:hover .btn-icon { transform: translate(2px, -2px); }

/* === HOW I WORK === */
.section-approach {
  background: var(--bg-dark);
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 1.5rem;
}

.approach-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.approach-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1e1e1e;
  text-align: center;
}

.approach-title {
  font-family: "Creato Display", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.approach-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.approach-list { list-style: none; }

.approach-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  gap: 0 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #1e1e1e;
  cursor: default;
  transition: border-color 0.2s ease;
}

.approach-item:last-child { border-bottom: none; }
.approach-item:hover { border-bottom-color: #333; }
.approach-item:hover .approach-item-text { color: #ffffff; }
.approach-item:hover .approach-num { color: #707070; }

.approach-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: #444444;
  letter-spacing: 0.06em;
  font-weight: 400;
  padding-top: 0.2em;
  transition: color 0.2s ease;
}

.approach-item-text {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: #aaaaaa;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  font-style: italic;
}

@media (max-width: 768px) {
  .approach-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .approach-item {
    grid-template-columns: 2rem 1fr;
    gap: 0 1rem;
  }
}

/* === FOOTER === */
footer {
  background-color: var(--bg-primary);
  padding: 5rem 0 0;
  overflow: hidden;
  margin-top: 0;
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding-bottom: 0;
  min-height: 300px;
}
.footer-terrain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.footer-terrain canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-inner {
  width: 100%;
  position: relative;
  z-index: 1;
}
.footer-bottom-wrap {
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-title {
  font-size: 11vw;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-black);
  white-space: nowrap;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: -0.22em;
  padding: 0;
  display: block;
  overflow: visible;
}
.footer-bottom {
  border-top: 1px solid rgba(10,10,10,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--color-neutral-01);
  font-weight: var(--fw-medium);
  transition: color 0.3s var(--ease-out);
}
.footer-links a:hover { color: var(--color-black); }
.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-neutral-01);
  font-family: var(--font-mono);
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.625rem 0.625rem 0.625rem 1.5rem;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.footer-cta:hover { opacity: 0.88; }
.footer-cta:active { transform: scale(0.97); }
.footer-cta .btn-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(10,10,10,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.footer-cta:hover .btn-icon { transform: translate(2px, -2px); }


/* === MOBILE === */
@media (max-width: 768px) {
  /* Nav */
  .nav-wrap { padding: 0.75rem 1rem; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.75rem; padding: 0.4rem 0.4rem 0.4rem 1rem; }
  .nav-cta .btn-icon { width: 1.5rem; height: 1.5rem; font-size: 0.65rem; }

  /* Hero — negative top margin pulls it behind the sticky nav so the dark background fills behind the pill */
  .hero { padding: 8rem 1.25rem 2rem; min-height: auto; border-radius: 0 0 1.5rem 1.5rem; margin: -7rem 0.75rem 0; }
  .hero-title-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .hero-tagline { font-size: 1rem; }
  .hero-brand { font-size: 1.05rem; white-space: normal; padding-bottom: 0; }
  .hero-bottom { flex-direction: column; align-items: center; gap: 1.5rem; }
  .hero-bio { flex-direction: column; align-items: center; text-align: center; max-width: 92%; padding: 0.75rem; }
  .hero-photo { width: 120px; height: 120px; }
  .hero-subtitle { max-width: 100%; text-align: left; font-size: 0.95rem; }
  .hero-arrow { position: static; align-self: flex-end; }

  /* Projects — stacked vertically on mobile */
  .section-projects { padding: 2.5rem 0 3.5rem; }
  .projects-header { padding: 0 1.25rem; margin-bottom: 2rem; }
  .projects-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 1.25rem;
    width: 100%;
    padding: 0 1.25rem;
    max-width: 100%;
  }
  .project-card {
    min-height: 0;
    height: auto;
  }
  .project-card-content {
    padding: 1.5rem 1.35rem 1.5rem;
  }
  .project-card-num {
    font-size: 0.875rem;
  }
  .project-card-category {
    font-size: 0.875rem;
  }
  .project-card-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: var(--fw-bold);
  }
  .project-card-preview {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
  }

  /* How I Work */
  .section-approach { margin: 0 0.75rem; border-radius: 2rem; }

  /* Why */
  .section-why { padding: 4rem 0 4rem; margin: 0 0.75rem; }
  .why-inner { gap: 2.5rem; padding: 0 1.25rem; }
  .why-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .why-bio { align-self: stretch; }
  .why-cta-wrap { padding-top: 2.5rem; }
  .why-stat-number { font-size: clamp(2.5rem, 12vw, 4rem); }
  .why-body-row { flex-direction: column; }
  .profile-card { width: 100%; max-width: 320px; }

  /* Services */
  .section-services { padding: 4rem 1.25rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
  .service-item { grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.5rem 0.5rem; margin: 0 -0.5rem; }
  .service-right { display: none; }

  /* Footer */
  footer { padding: 4rem 0 0; min-height: 0; }
  .footer-bottom-wrap { padding: 0 1.25rem; }
  .footer-title { font-size: 16vw; padding: 0; margin-top: 2rem; margin-bottom: -0.22em; transform: none; text-align: center; position: static; }
  footer { min-height: 0; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; }
  .footer-links a { color: #ffffff; }
  .footer-links a:hover { color: rgba(255,255,255,0.7); }
}
