:root {
  --ink: #f9f4ff;
  --ink-soft: #d7cde7;
  --paper: #101020;
  --paper-2: #171126;
  --panel: #1d162e;
  --panel-2: #25163a;
  --nav: #080913;
  --violet: #7c3aed;
  --plum: #2a1140;
  --teal: #18c7d8;
  --aqua: #53e0ee;
  --gold: #ffc928;
  --orange: #ff7a2f;
  --magenta: #ff3f9a;
  --green: #8cc63f;
  --line: rgba(255, 255, 255, .16);
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --radius: 28px;
  --max: 1180px;
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 8% 4%, rgba(255, 63, 154, .30), transparent 28rem), radial-gradient(circle at 92% 10%, rgba(24, 199, 216, .26), transparent 30rem), radial-gradient(circle at 30% 70%, rgba(255, 201, 40, .12), transparent 34rem), linear-gradient(180deg, var(--paper), #0b0c18 52%, #130b1f);
  color: var(--ink);
  line-height: 1.6
}
a {
  color: inherit
}
img {
  max-width: 100%;
  display: block
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: #fff;
  color: #111;
  padding: .75rem 1rem;
  z-index: 10;
  border-radius: 999px
}
.skip-link:focus {
  left: 1rem
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(8, 9, 19, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line)
}
.nav {
  max-width: var(--max);
  margin: auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--violet), var(--teal));
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 24px rgba(255, 63, 154, .22)
}
.brand-text {
  font-size: .98rem
}




.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0
}
.nav-menu a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  padding: .65rem .8rem;
  border-radius: 999px;
  color: var(--ink-soft)
}
.nav-menu a:hover, .nav-menu a:focus {
  background: rgba(255, 63, 154, .14);
  color: #fff
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 2.5rem 1.25rem
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 3.5rem
}
.framework-column{
    display:flex;
    flex-direction:row;
    gap:1.5rem;

    width:100%;
}

.framework-column article{
    flex:1;

    border:1px solid var(--line);
    border-radius:18px;
    padding:1rem;

    background:rgba(255, 255, 255, .05);

    display:flex;
    flex-direction:column;
}

.framework-column h4{
    margin:.1rem 0 .4rem;
    font-size:1rem;
    color:var(--ink);
}

.framework-column p{
    margin:0;
    font-size:.95rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 1rem
}
h1, h2, h3 {
  line-height: 1.08;
  margin: 0;
  color: var(--ink)
}
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: -.035em
}
h1 {
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  max-width: 820px
}
.subtitle {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  color: var(--gold);
  margin: 1rem 0 0;
  font-weight: 700
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem)
}
h3 {
  font-size: 1.18rem;
  margin-bottom: .5rem
}
.lead {
  font-size: clamp(1.07rem, 1.6vw, 1.28rem);
  max-width: 690px;
  color: var(--ink-soft);
  margin: 1.35rem 0 0
}
.lead-small, .section-note {
  font-size: 1.05rem;
  color: var(--ink-soft)
}
.section-note {
  max-width: 420px;
  margin: 0
}
.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2rem
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta), #c83289);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 63, 154, .25)
}
.button:hover, .button:focus {
  filter: brightness(1.08)
}
.button.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(255, 201, 40, .6);
  box-shadow: none
}
.button.secondary:hover, .button.secondary:focus {
  background: rgba(255, 201, 40, .12)
}

.button2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta), #ffffff);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 255, 255, .25)
}
.button2:hover, .button2:focus {
  filter: brightness(1.08)
}
.button2.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(255, 201, 40, .6);
  box-shadow: none
}
.button2.secondary:hover, .button2.secondary:focus {
  background: rgba(255, 201, 40, .12)
}

.image-card {
  margin: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem;
  box-shadow: var(--shadow);
  transform: rotate(1deg)
}
.image-card img {
  border-radius: calc(var(--radius) - 10px);
  aspect-ratio: 1/1;
  object-fit: cover
}
.image-card figcaption {
  font-size: .88rem;
  color: var(--ink-soft);
  padding: .75rem .35rem .2rem
}
.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}
.rich-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 0
}
.rich-text article{
	 flex:1;

    border:1px solid var(--line);
    border-radius:18px;
    padding:1rem;

    background:rgba(255, 255, 255, .05);

    display:flex;
    flex-direction:column;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem
}
.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .25)
}
.project-card.featured {
  grid-column: span 1;
  background: linear-gradient(180deg, rgba(255, 63, 154, .12), rgba(24, 199, 216, .06))
}
.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover
}
.project-body {
  padding: 1.2rem
}
.project-meta {
  font-weight: 800;
  color: var(--teal);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin: 0 0 .65rem
}
.project-card:nth-child(2n) .project-meta {
  color: var(--magenta)
}
.project-card:nth-child(3n) .project-meta {
  color: var(--gold)
}
.project-body p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0
}
.split-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3rem;
  background: linear-gradient(135deg, rgba(255, 33, 254, .12), rgba(24, 99, 255, .10));
  border: 1px solid var(--line);
  border-radius: 36px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 2rem
}
.stacked-list {
  display: grid;
  gap: 1rem
}
.stacked-list article, .cv-card, .timeline-item {
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18)
}
.publication-list {
  padding-left: 1.1rem;
  margin: 0
}
.publication-list li {
  margin-bottom: .9rem;
  color: var(--ink-soft)
}
.timeline {
  display: grid;
  gap: 1rem
}
.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem
}
.date {
  font-weight: 800;
  color: var(--gold);
  margin: 0
}
.timeline ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: var(--ink-soft)
}
.cv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start
}
.cv-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem
}
.cv-card p {
  color: var(--ink-soft)
}
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, #18091f, #241344 55%, #073743);
  color: white;
  border: 1px solid var(--line);
  border-radius: 36px;
  margin-bottom: 5rem;
  padding: 3.5rem 2rem
}
.contact-section h2, .contact-section .eyebrow {
  color: white
}
.contact-section p {
  color: rgba(255, 255, 255, .82)
}
.contact-link {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: .9rem 1.2rem
}
.contact-link:hover, .contact-link:focus {
  background: rgba(255, 255, 255, .12)
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .92rem
}
@media (max-width:900px) {
  .nav-toggle {
    display: block
  }
  .nav-menu {
    position: absolute;
    right: 1rem;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(280px, calc(100vw - 2rem));
    background: #111222;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: .6rem;
    box-shadow: var(--shadow)
  }
  .nav-menu.open {
    display: flex
  }
  .hero, .split-section, .cv-section {
    grid-template-columns: 1fr
  }
  .hero {
    min-height: auto;
    padding-top: 3rem
  }
.intro-grid{
    display:flex;
    flex-direction:column;
    gap:2rem;
}

.intro-grid > div:first-child{
    width:100%;
}

.intro-grid .rich-text{
    width:100%;
}	
	.rich-text article{
		border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, .05)
	}
  .project-grid {
    grid-template-columns: 1fr 1fr
  }
  .timeline-item {
    grid-template-columns: 1fr
  }
  .contact-section {
    display: block
  }
  .contact-link {
    display: inline-flex;
    margin-top: 1rem
  }
}
@media (max-width:620px) {
  .section {
	padding-top: 2rem;
	padding-right: 1rem;
	padding-left: 1rem;
	padding-bottom: 2rem
  }
  .project-grid {
    grid-template-columns: 1fr
  }
  .hero-actions {
    display: grid
  }
  .button {
    width: 100%
  }
  .brand-text {
    font-size: .9rem
  }
  .image-card {
    transform: none
  }
  .split-section, .contact-section {
    border-radius: 24px;
    padding: 2rem 1rem
  }
  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem)
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important
  }
}
.applied-section {  
  background: linear-gradient(135deg, rgba(255, 59, 115, .15), rgba(0, 50, 255, .10));
  border: 1px solid var(--line);
  border-radius: 36px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 4rem 2rem
}
.applied-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem
}
.applied-feature, .applied-cards article, .software-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .25)
}
.applied-feature {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 320px
}
.applied-feature h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05
}
.applied-feature p, .applied-cards p, .software-panel p {
  color: var(--ink-soft)
}
.applied-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem
}
.applied-cards article {
  padding: 1.35rem
}
.software-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  padding: 2rem;
  margin-top: 1.15rem
}
.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}
.software-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, .05)
}
.software-grid h4 {
  margin: .1rem 0 .4rem;
  font-size: 1rem;
  color: var(--ink)
}
.software-grid p {
  margin: 0;
  font-size: .95rem
}
@media (max-width:900px) {
  .applied-layout, .software-panel {
    grid-template-columns: 1fr
  }
  .applied-feature {
    min-height: auto
  }
  .software-grid {
    grid-template-columns: 1fr
  }
}
/* Version 5: Refik-Anadol-inspired interaction system; color variables unchanged. */
.project-card {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
  isolation: isolate
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 38%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: -1
}
.project-card:hover, .project-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .38)
}
.project-card:hover::after, .project-card:focus-visible::after {
  opacity: 1
}
.project-card img {
  transition: transform .45s ease, filter .45s ease
}
.project-card:hover img, .project-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.15) contrast(1.04)
}
.project-body {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 12, 25, .04), rgba(13, 12, 25, .22))
}
.project-cta {
  display: inline-flex;
  margin-top: .95rem;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--gold);
  opacity: .85;
  transform: translateX(0);
  transition: transform .22s ease, opacity .22s ease
}
.project-card:hover .project-cta, .project-card:focus-visible .project-cta {
  transform: translateX(6px);
  opacity: 1
}
.hero-media {
  transition: transform .35s ease, box-shadow .35s ease
}
.hero-media:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48)
}
.archive-grid {
  margin-top: 2rem
}
@media (prefers-reduced-motion:reduce) {
  .project-card, .project-card img, .project-cta, .hero-media {
    transition: none !important
  }
  .project-card:hover, .project-card:focus-visible, .project-card:hover img, .project-card:focus-visible img, .hero-media:hover {
    transform: none !important
  }
}
/* Version 6: Collection-style horizontal scrolling for the project section; palette unchanged. */
.scroll-tools {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  margin: -.75rem 0 1rem;
}
.scroll-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.scroll-button:hover, .scroll-button:focus-visible {
  border-color: rgba(255, 255, 255, .38);
  background: linear-gradient(135deg, rgba(255, 63, 154, .20), rgba(24, 199, 216, .14));
  outline: none;
}
.scroll-rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1px;
  padding: .35rem .2rem 1.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(255, 255, 255, .35) rgba(255, 255, 255, .08);
  scrollbar-width: thin;
}
.scroll-rail::-webkit-scrollbar {
  height: 10px
}
.scroll-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
  border-radius: 999px
}
.scroll-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--magenta), var(--teal));
  border-radius: 999px
}
.scroll-rail .project-card {
  flex: 0 0 clamp(280px, 32vw, 390px);
  scroll-snap-align: start;
  min-height: 100%;
}
.scroll-rail .project-card.featured {
  flex-basis: clamp(320px, 40vw, 500px);
}
.scroll-rail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
  border-radius: 24px;
}
.scroll-rail::before, .scroll-rail::after {
  content: "";
  flex: 0 0 .1rem;
}
@media (max-width:900px) {
  .scroll-tools {
    justify-content: flex-start;
    margin-top: -.25rem
  }
  .scroll-rail .project-card, .scroll-rail .project-card.featured {
    flex-basis: min(82vw, 390px)
  }
}
@media (max-width:620px) {
  .scroll-tools {
    display: none
  }
  .scroll-rail {
    padding-left: 0;
    padding-right: 0
  }
  .scroll-rail .project-card, .scroll-rail .project-card.featured {
    flex-basis: 86vw
  }
}
/* Version 7: stronger interactive cards inspired by the current redesign page. Palette unchanged. */
.interactive-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  will-change: transform;
  min-height: 100%;
}
.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 63, 154, .85), rgba(255, 205, 76, .55), rgba(24, 199, 216, .75), rgba(131, 255, 116, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .28;
  transition: opacity .28s ease;
  pointer-events: none;
}
.interactive-card:hover::before, .interactive-card:focus-visible::before, .interactive-card.is-active::before {
  opacity: .95
}
.interactive-card:hover, .interactive-card:focus-visible, .interactive-card.is-active {
  --lift: -10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45), 0 0 42px rgba(24, 199, 216, .14);
}
.interactive-card .project-body, .interactive-card img {
  transform: translateZ(18px)
}
.interactive-card .project-body {
  min-height: 270px;
  display: flex;
  flex-direction: column
}
.interactive-card .project-body p:not(.project-meta) {
  transition: opacity .25s ease, transform .25s ease;
  color: var(--ink-soft)
}
.interactive-card .project-cta {
  margin-top: auto;
  padding-top: 1rem
}
.interactive-card:hover .project-body p:not(.project-meta), .interactive-card:focus-visible .project-body p:not(.project-meta), .interactive-card.is-active .project-body p:not(.project-meta) {
  opacity: 1;
  transform: translateY(-2px);
}
.interactive-card h3 {
  transition: transform .25s ease, color .25s ease, text-shadow .25s ease;
}
.interactive-card:hover h3, .interactive-card:focus-visible h3, .interactive-card.is-active h3 {
  transform: translateY(-3px);
  color: white;
  text-shadow: 0 0 22px rgba(255, 255, 255, .16);
}
.interactive-card .project-meta {
  transition: letter-spacing .25s ease, opacity .25s ease;
}
.interactive-card:hover .project-meta, .interactive-card:focus-visible .project-meta, .interactive-card.is-active .project-meta {
  letter-spacing: .14em;
  opacity: 1;
}
.interactive-card::after {
  z-index: 1;
  mix-blend-mode: screen;
}
.interactive-card > * {
  position: relative;
  z-index: 2
}
.scroll-rail .interactive-card {
  cursor: pointer
}
@media (hover:none) {
  .interactive-card {
    transform: none !important
  }
  .interactive-card.is-active {
    transform: translateY(-6px) !important
  }
}
@media (prefers-reduced-motion:reduce) {
  .interactive-card {
    transform: none !important;
    will-change: auto
  }
  .interactive-card:hover, .interactive-card:focus-visible, .interactive-card.is-active {
    transform: none !important
  }
}
/* Version 8: Refik-Anadol-works-page-inspired card interaction.
   Color variables are unchanged; this only changes project-card behavior and layout details.
   The source reference is a metadata-forward works index with location/date/title/type tags. */
.work-index-card {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)), rgba(13, 12, 25, .72);
}
.work-index-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.82) contrast(1.08) brightness(.68);
  transform: scale(1.06);
  transform-origin: center;
  z-index: 0;
}
.work-index-card .project-body {
  position: relative;
  z-index: 3;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .08) 0%, rgba(13, 12, 25, .62) 46%, rgba(13, 12, 25, .94) 100%);
}
.work-index-card .project-kicker {
  margin: 0 0 .75rem;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: none;
}
.work-index-card .project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1rem;
  font-size: 0;
  letter-spacing: 0;
}
.work-index-card .project-meta::before {
  content: attr(data-label);
}
.work-index-card .project-meta {
  color: transparent;
}
.work-index-card .project-meta {
  --tag-bg: rgba(255, 255, 255, .10);
}
.work-index-card .project-meta {
  /* The original text is converted visually into a pill-style tag line with JS for exact tags. */
}
.work-index-card .project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .35rem .62rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.work-index-card h3 {
  margin: .05rem 0 .8rem;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: .98;
  max-width: 10ch;
}
.work-index-card p:not(.project-meta):not(.project-kicker) {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transform: translateY(16px);
  transition: max-height .38s ease, opacity .28s ease, transform .32s ease, margin .28s ease;
}
.work-index-card .project-cta {
  margin-top: 1rem;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: .18rem;
}
.work-index-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 205, 76, .34), transparent 22%), radial-gradient(circle at calc(var(--mx, 50%) + 14%) calc(var(--my, 50%) + 4%), rgba(24, 199, 216, .24), transparent 30%), linear-gradient(135deg, rgba(255, 63, 154, .12), transparent 42%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.work-index-card::before {
  z-index: 2;
  opacity: .32;
}
.work-index-card:hover, .work-index-card:focus-visible, .work-index-card.is-active {
  transform: translateY(-8px);
}
.work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
  opacity: .72;
  filter: saturate(1.18) contrast(1.08) brightness(.88);
  transform: scale(1.14) translate3d(var(--image-shift-x, 0), var(--image-shift-y, 0), 0);
}
.work-index-card:hover .project-body, .work-index-card:focus-visible .project-body, .work-index-card.is-active .project-body {
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .02) 0%, rgba(13, 12, 25, .36) 38%, rgba(13, 12, 25, .90) 100%);
}
.work-index-card:hover p:not(.project-meta):not(.project-kicker), .work-index-card:focus-visible p:not(.project-meta):not(.project-kicker), .work-index-card.is-active p:not(.project-meta):not(.project-kicker) {
  max-height: 13rem;
  opacity: 1;
  transform: translateY(0);
  margin: .2rem 0 0;
}
.work-index-card:hover::after, .work-index-card:focus-visible::after, .work-index-card.is-active::after {
  opacity: 1;
}
.scroll-rail .work-index-card {
  flex-basis: clamp(280px, 30vw, 390px);
}
.scroll-rail .work-index-card.featured {
  flex-basis: clamp(330px, 38vw, 500px);
}
@media (max-width:900px) {
  .work-index-card {
    min-height: 470px
  }
  .work-index-card p:not(.project-meta):not(.project-kicker) {
    max-height: 12rem;
    opacity: 1;
    transform: none;
    margin: .2rem 0 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  .work-index-card p:not(.project-meta):not(.project-kicker), .work-index-card > img {
    transition: none !important
  }
  .work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
    transform: none !important
  }
}
/* Version 9: rows-and-columns project cards. Color scheme unchanged. */
.scroll-tools {
  display: none !important
}
.card-grid, .project-grid.interactive-grid.card-grid, #project-scroll.card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  overflow: visible !important;
  padding: .35rem 0 0 !important;
  scroll-snap-type: none !important;
  scrollbar-width: auto !important;
}
.card-grid::before, .card-grid::after {
  display: none !important;
  content: none !important
}
.card-grid .project-card, .card-grid .project-card.featured, .card-grid .work-index-card, .card-grid .work-index-card.featured {
  flex: initial !important;
  flex-basis: auto !important;
  scroll-snap-align: none !important;
  width: 100%;
  min-height: 520px;
}
.card-grid:focus-visible {
  outline: none !important
}
@media (max-width:1050px) {
  .card-grid, .project-grid.interactive-grid.card-grid, #project-scroll.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:680px) {
  .card-grid, .project-grid.interactive-grid.card-grid, #project-scroll.card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid .project-card, .card-grid .project-card.featured, .card-grid .work-index-card, .card-grid .work-index-card.featured {
    min-height: 460px;
  }
}
/* Version 10 from v9: keep grid + interactivity, reduce card image footprint to reveal more color field. */
.card-grid .work-index-card > img, .work-index-card > img {
  inset: auto auto auto auto;
  top: 1.05rem;
  left: 50%;
  width: 80%;
  height: 58%;
  border-radius: 20px;
  object-fit: cover;
  opacity: .36;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  transform: translateX(-50%) scale(1.02);
  transform-origin: center;
}
.card-grid .work-index-card .project-body, .work-index-card .project-body {
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .04) 0%, rgba(13, 12, 25, .10) 40%, rgba(13, 12, 25, .78) 68%, rgba(13, 12, 25, .94) 100%);
}
.card-grid .work-index-card:hover > img, .card-grid .work-index-card:focus-visible > img, .card-grid .work-index-card.is-active > img, .work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
  opacity: .82;
  filter: saturate(1.18) contrast(1.08) brightness(.9);
  transform: translateX(-50%) scale(1.06) translate3d(var(--image-shift-x, 0), var(--image-shift-y, 0), 0);
}
.card-grid .work-index-card:hover .project-body, .card-grid .work-index-card:focus-visible .project-body, .card-grid .work-index-card.is-active .project-body, .work-index-card:hover .project-body, .work-index-card:focus-visible .project-body, .work-index-card.is-active .project-body {
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .00) 0%, rgba(13, 12, 25, .05) 38%, rgba(13, 12, 25, .62) 66%, rgba(13, 12, 25, .92) 100%);
}
@media (max-width:680px) {
  .card-grid .work-index-card > img, .work-index-card > img {
    width: 84%;
    height: 52%;
  }
}
@media (prefers-reduced-motion:reduce) {
  .card-grid .work-index-card:hover > img, .card-grid .work-index-card:focus-visible > img, .card-grid .work-index-card.is-active > img, .work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
    transform: translateX(-50%) scale(1.02) !important;
  }
}
/* Version 11: colored grid-pattern cells + Matrix of Discomfort as temporary placeholder image.
   This preserves the v9/v10 grid layout and card interactivity. */
.card-grid .work-index-card, .work-index-card {
  --cell-a: rgba(255, 63, 154, .30);
  --cell-b: rgba(24, 199, 216, .24);
  --cell-c: rgba(255, 205, 76, .18);
  --grid-line: rgba(255, 255, 255, .115);
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), linear-gradient(0deg, var(--grid-line) 1px, transparent 1px), radial-gradient(circle at 20% 18%, var(--cell-a), transparent 34%), radial-gradient(circle at 86% 16%, var(--cell-b), transparent 34%), radial-gradient(circle at 55% 86%, var(--cell-c), transparent 38%), linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)), rgba(13, 12, 25, .82);
  background-size:
    34px 34px, 34px 34px, auto, auto, auto, auto, auto;
  background-position:
    center, center, center, center, center, center, center;
}
.card-grid .work-index-card:nth-child(1) {
  --cell-a: rgba(120, 92, 255, .36);
  --cell-b: rgba(24, 199, 216, .28);
  --cell-c: rgba(255, 205, 76, .20);
}
.card-grid .work-index-card:nth-child(2) {
  --cell-a: rgba(255, 63, 154, .34);
  --cell-b: rgba(255, 126, 58, .26);
  --cell-c: rgba(131, 255, 116, .18);
}
.card-grid .work-index-card:nth-child(3) {
  --cell-a: rgba(24, 199, 216, .32);
  --cell-b: rgba(131, 255, 116, .20);
  --cell-c: rgba(120, 92, 255, .28);
}
.card-grid .work-index-card:nth-child(4) {
  --cell-a: rgba(255, 205, 76, .26);
  --cell-b: rgba(255, 63, 154, .28);
  --cell-c: rgba(24, 199, 216, .22);
}
.card-grid .work-index-card:nth-child(5) {
  --cell-a: rgba(255, 126, 58, .30);
  --cell-b: rgba(120, 92, 255, .30);
  --cell-c: rgba(24, 199, 216, .18);
}
.card-grid .work-index-card:nth-child(6) {
  --cell-a: rgba(131, 255, 116, .20);
  --cell-b: rgba(24, 199, 216, .32);
  --cell-c: rgba(255, 63, 154, .24);
}
.card-grid .work-index-card:nth-child(7) {
  --cell-a: rgba(120, 92, 255, .32);
  --cell-b: rgba(255, 63, 154, .26);
  --cell-c: rgba(255, 205, 76, .18);
}
.card-grid .work-index-card:nth-child(8) {
  --cell-a: rgba(255, 205, 76, .24);
  --cell-b: rgba(131, 255, 116, .18);
  --cell-c: rgba(255, 126, 58, .28);
}
/* Keep image smaller so the colored grid field remains visible. */
.card-grid .work-index-card > img, .work-index-card > img {
  top: 1.2rem;
  left: 50%;
  width: 80%;
  height: 54%;
  border-radius: 20px;
  opacity: .42;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  transform: translateX(-50%) scale(1.01);
}
/* Keep the grid visible even when the image reveals more strongly. */
.card-grid .work-index-card:hover > img, .card-grid .work-index-card:focus-visible > img, .card-grid .work-index-card.is-active > img, .work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
  opacity: .72;
  transform: translateX(-50%) scale(1.045) translate3d(var(--image-shift-x, 0), var(--image-shift-y, 0), 0);
}
/* The text fade remains dark enough for readability while showing more color around the image. */
.card-grid .work-index-card .project-body, .work-index-card .project-body {
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .00) 0%, rgba(13, 12, 25, .04) 35%, rgba(13, 12, 25, .58) 66%, rgba(13, 12, 25, .93) 100%);
}
.card-grid .work-index-card:hover .project-body, .card-grid .work-index-card:focus-visible .project-body, .card-grid .work-index-card.is-active .project-body, .work-index-card:hover .project-body, .work-index-card:focus-visible .project-body, .work-index-card.is-active .project-body {
  background:
    linear-gradient(180deg, rgba(13, 12, 25, .00) 0%, rgba(13, 12, 25, .03) 34%, rgba(13, 12, 25, .50) 65%, rgba(13, 12, 25, .90) 100%);
}
@media (max-width:680px) {
  .card-grid .work-index-card > img, .work-index-card > img {
    width: 82%;
    height: 50%;
  }
}
/* Version 12: more intense, unique grid color fields.
   Each project cell has its own distinct color mix. */
.card-grid .work-index-card, .work-index-card {
  --grid-line: rgba(255, 255, 255, .22);
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), linear-gradient(0deg, var(--grid-line) 1px, transparent 1px), radial-gradient(circle at 18% 18%, var(--cell-a), transparent 38%), radial-gradient(circle at 86% 14%, var(--cell-b), transparent 36%), radial-gradient(circle at 52% 88%, var(--cell-c), transparent 42%), linear-gradient(145deg, var(--cell-d), rgba(13, 12, 25, .92) 70%);
  background-size:
    30px 30px, 30px 30px, auto, auto, auto, auto;
}
/* 1: ultraviolet / cyan / gold */
.card-grid .work-index-card:nth-child(1) {
  --cell-a: rgba(126, 74, 255, .72);
  --cell-b: rgba(0, 224, 255, .58);
  --cell-c: rgba(255, 210, 42, .48);
  --cell-d: rgba(64, 20, 140, .72);
}
/* 2: magenta / orange / acid green */
.card-grid .work-index-card:nth-child(2) {
  --cell-a: rgba(255, 29, 160, .74);
  --cell-b: rgba(255, 112, 30, .62);
  --cell-c: rgba(146, 255, 64, .48);
  --cell-d: rgba(115, 12, 72, .72);
}
/* 3: electric teal / cobalt / lime */
.card-grid .work-index-card:nth-child(3) {
  --cell-a: rgba(0, 237, 194, .68);
  --cell-b: rgba(34, 84, 255, .62);
  --cell-c: rgba(189, 255, 43, .44);
  --cell-d: rgba(5, 77, 104, .72);
}
/* 4: hot yellow / fuchsia / red violet */
.card-grid .work-index-card:nth-child(4) {
  --cell-a: rgba(255, 231, 23, .66);
  --cell-b: rgba(255, 0, 204, .62);
  --cell-c: rgba(255, 45, 74, .48);
  --cell-d: rgba(116, 27, 74, .72);
}
/* 5: tangerine / violet / turquoise */
.card-grid .work-index-card:nth-child(5) {
  --cell-a: rgba(255, 124, 0, .70);
  --cell-b: rgba(150, 64, 255, .66);
  --cell-c: rgba(0, 255, 225, .45);
  --cell-d: rgba(98, 45, 8, .72);
}
/* 6: emerald / cyan / rose */
.card-grid .work-index-card:nth-child(6) {
  --cell-a: rgba(16, 255, 122, .64);
  --cell-b: rgba(0, 188, 255, .64);
  --cell-c: rgba(255, 76, 166, .50);
  --cell-d: rgba(8, 86, 54, .72);
}
/* 7: royal blue / lavender / amber */
.card-grid .work-index-card:nth-child(7) {
  --cell-a: rgba(40, 72, 255, .72);
  --cell-b: rgba(214, 103, 255, .60);
  --cell-c: rgba(255, 177, 22, .52);
  --cell-d: rgba(20, 28, 112, .72);
}
/* 8: coral / chartreuse / deep aqua */
.card-grid .work-index-card:nth-child(8) {
  --cell-a: rgba(255, 82, 92, .70);
  --cell-b: rgba(191, 255, 0, .56);
  --cell-c: rgba(0, 180, 180, .58);
  --cell-d: rgba(118, 24, 34, .72);
}
/* 9: indigo / neon pink / mint, in case another card is added */
.card-grid .work-index-card:nth-child(9) {
  --cell-a: rgba(90, 38, 255, .72);
  --cell-b: rgba(255, 38, 210, .62);
  --cell-c: rgba(84, 255, 188, .50);
  --cell-d: rgba(48, 20, 126, .72);
}
/* Keep the Matrix placeholder visible but let intense grid color read clearly. */
.card-grid .work-index-card > img, .work-index-card > img {
  opacity: .34;
  mix-blend-mode: luminosity;
}
.card-grid .work-index-card:hover > img, .card-grid .work-index-card:focus-visible > img, .card-grid .work-index-card.is-active > img, .work-index-card:hover > img, .work-index-card:focus-visible > img, .work-index-card.is-active > img {
  opacity: .62;
  mix-blend-mode: normal;
}
.card-grid .work-index-card::after, .work-index-card::after {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 20%), radial-gradient(circle at calc(var(--mx, 50%) + 16%) calc(var(--my, 50%) + 6%), rgba(255, 255, 255, .16), transparent 30%);
}
/* Version 13: added Inscribe as its own project card.
   With nine cards, each visible grid cell remains unique. */
.card-grid .work-index-card:nth-child(9) {
  --cell-a: rgba(90, 38, 255, .72);
  --cell-b: rgba(255, 38, 210, .62);
  --cell-c: rgba(84, 255, 188, .50);
  --cell-d: rgba(48, 20, 126, .72);
}
.card-grid .work-index-card:nth-child(10) {
  --cell-a: rgba(255, 169, 0, .70);
  --cell-b: rgba(0, 255, 180, .56);
  --cell-c: rgba(196, 42, 255, .58);
  --cell-d: rgba(94, 54, 3, .72);
}
/* Version 17: wrapped practice box inspired by research section styling */
.practice-wrapper-box {
  position: relative;
  padding: 2.5rem;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), rgba(14, 12, 28, .92);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  margin-top: 2rem;
}
.practice-wrapper-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 180, .18), transparent 35%), radial-gradient(circle at bottom right, rgba(0, 220, 255, .14), transparent 40%);
  pointer-events: none;
}
.practice-wrapper-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  max-width: 900px;
}
.practice-eyebrow {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9be7ff;
  margin-bottom: .8rem;
}
.practice-wrapper-header h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}
.practice-description {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
}
.practice-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.practice-card {
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), rgba(22, 18, 40, .82);
  transition: all .35s ease;
  overflow: hidden;
  position: relative;
}
.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .7;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(0deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.practice-card:nth-child(1) {
  background:
    radial-gradient(circle at top left, rgba(255, 0, 170, .28), transparent 40%), rgba(22, 18, 40, .82);
}
.practice-card:nth-child(2) {
  background:
    radial-gradient(circle at top left, rgba(0, 220, 255, .24), transparent 40%), rgba(22, 18, 40, .82);
}
.practice-card:nth-child(3) {
  background:
    radial-gradient(circle at top left, rgba(255, 180, 0, .22), transparent 40%), rgba(22, 18, 40, .82);
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 50px rgba(255, 255, 255, .08);
}
.practice-card h4 {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  line-height: 1.15;
}
@media (max-width:900px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .practice-wrapper-box {
    padding: 1.6rem;
  }
}
/* Version 18: media-row layout for Hybrid Physical and Digital Systems cards */
.media-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  width: 100%;
  margin-top: auto;
}
.media-row article, .media-row .practice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: 24px;
}
@media (max-width:900px) {
  .media-row {
    flex-direction: column;
  }
}




.cv-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:.85rem !important;
  flex-wrap:wrap !important;
  margin-top:1.25rem !important;
}

.cv-actions .button,
.linkedin-logo-button{
  height:52px !important;
  min-width:170px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}

.linkedin-logo-button{
  background:#ffffff !important;
  background-color:#ffffff !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  padding:0 1rem !important;
  overflow:hidden !important;
  text-decoration:none !important;
}

.linkedin-logo-button img{
  height:26px !important;
  width:auto !important;
  max-width:125px !important;
  display:block !important;
  object-fit:contain !important;
}