@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #181817;
  --muted: #50514c;
  --blue: #263cf3;
  --blue-dark: #1b2ab7;
  --rule: #d9d8d1;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--blue-dark); }
button { font: inherit; color: inherit; }
button:enabled { cursor: pointer; }
:focus-visible { outline: 3px solid #ff7767; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.045em; }
h2 { font-size: clamp(3rem, 6.4vw, 6rem); font-weight: 700; line-height: .99; }
h2 span { color: var(--blue); }
h3 { font-size: 1.65rem; }
.wrap { width: min(100% - 7rem, 80rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 7.75rem); }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .6rem 1rem; background: white; }

.header {
  position: sticky; inset-block-start: 0; z-index: 5; background: #f7f6f2f5;
  border-bottom: 1px solid var(--rule); backdrop-filter: blur(12px);
}
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 4.9rem; }
.brand { display: inline-flex; align-items: center; justify-self: start; min-height: 2.3rem; white-space: nowrap; text-decoration: none; font: 700 1.16rem/1 var(--display); letter-spacing: -.045em; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.95rem); }
.nav a, .menu-toggle { font-size: .9rem; font-weight: 800; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center;
  padding: .6rem 1.22rem; border: 1px solid transparent; border-radius: .38rem;
  font-size: .93rem; font-weight: 800; line-height: 1.23; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); color: white; }
.button-outline { border-color: var(--ink); }
.button-outline:hover { color: white; background: var(--ink); }
.header-contact { justify-self: end; min-height: 2.6rem; font-size: .88rem; }
.menu-toggle, .nav .mobile-contact { display: none; }

.hero {
  display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); align-items: center;
  gap: clamp(2rem, 6.2vw, 6.8rem); padding-block: clamp(3rem, 5.4vw, 5.25rem);
}
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--blue-dark); font-size: .875rem; font-weight: 800; letter-spacing: .09em; line-height: 1.45; text-transform: uppercase; }
.eyebrow .line { display: inline-block; flex: 0 0 1.7rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(5.7rem, 11.4vw, 10.5rem); line-height: .79; margin: .25em 0 .19em; letter-spacing: -.098em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero h1 span { color: var(--ink); }
.hero-statement { font: 700 clamp(1.35rem, 2.15vw, 2rem)/1.16 var(--display); letter-spacing: -.052em; }
.hero-copy { color: var(--muted); max-width: 34ch; margin-top: .65rem; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.portrait { width: 100%; align-self: center; }
.portrait-visual { position: relative; }
.portrait-frame { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #e1c2b1; border-radius: 50% 50% .48rem .48rem / 43% 43% .48rem .48rem; background: radial-gradient(ellipse at 45% 24%, #fff1e6, #fce0d0 62%, #efc4b5); }
.portrait-frame img { aspect-ratio: 1.03; object-fit: cover; object-position: center bottom; }
.portrait-spark {
  position: absolute; right: 4.5%; bottom: 5%; display: grid; place-items: center;
  width: clamp(3rem, 6.4vw, 6.3rem); aspect-ratio: 1; border-radius: 50%;
  color: white; background: var(--blue); font: 400 clamp(1.85rem, 4.9vw, 4.6rem)/1 var(--body);
}
.portrait figcaption {
  display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0 0;
  color: var(--muted); font-family: var(--display); font-size: .875rem; font-weight: 700; letter-spacing: .04em;
}
.discipline-band { color: white; background: var(--blue); }
.discipline-list { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; justify-items: center; align-items: center; min-height: 4.4rem; gap: 1rem; }
.discipline-list span { font: 700 clamp(.84rem, 1.7vw, 1.45rem)/1.1 var(--display); letter-spacing: -.025em; text-align: center; }
.discipline-list i { color: #d4dcff; font-size: 1.18rem; font-style: normal; }
.discipline-list .discipline-loop-separator, .discipline-copy, .marquee-toggle { display: none; }

.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; }
.section h2 { margin-top: .68rem; }
.section-heading > p { color: var(--muted); max-width: 35ch; padding-bottom: .2rem; justify-self: end; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.9rem 0 1.1rem; }
.filter {
  padding: .5rem .95rem; min-height: 2.55rem; border-radius: 99px; border: 1px solid #bfbed0;
  background: transparent; font-size: .88rem; font-weight: 800;
}
.filter[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.filter[aria-pressed="false"]:hover { border-color: var(--blue); color: var(--blue-dark); }
.projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.filters[hidden] + .sr-only + .projects { margin-top: 1.9rem; }
.project { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: .58rem; background: #fffefa; }
.project-art { overflow: hidden; isolation: isolate; position: relative; display: grid; align-items: center; aspect-ratio: 1.8; padding: 12% 8% 7%; font-family: var(--display); container-type: inline-size; }
.art-meta { position: absolute; top: 8%; left: 8%; z-index: 2; font-size: clamp(.62rem, 2.55cqw, .875rem); font-weight: 700; letter-spacing: .11em; }
.art-word { position: relative; z-index: 1; font-size: clamp(2.2rem, 15cqw, 6.75rem); font-weight: 700; letter-spacing: -.105em; line-height: .76; }
.art-word em { font-style: normal; }
.art-spark { background: #20113a; color: #fff1e5; }
.art-spark .art-word em { color: #ffa859; }
.record {
  position: absolute; inset: -32% -11% auto auto; width: 72%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, #312052 0 4px, #583b75 5px 6px, #312052 7px 10px);
  border: 1px solid #8657a6;
}
.record::after { content: ""; position: absolute; inset: 39%; border-radius: 50%; background: #ff9f58; border: 9px solid #d96951; }
.waveform { position: absolute; right: 0; bottom: 11%; width: 43%; height: 26%; background: repeating-linear-gradient(90deg, #e68756 0 3px, transparent 3px 9px); clip-path: polygon(0 48%, 14% 30%, 22% 43%, 27% 11%, 35% 26%, 41% 0, 48% 35%, 54% 24%, 62% 46%, 74% 36%, 100% 47%, 100% 54%, 74% 70%, 61% 56%, 49% 76%, 40% 100%, 34% 75%, 26% 89%, 20% 64%, 14% 78%, 0 56%); }
.art-fashion { background: #eaccff; color: #24113b; }
.art-fashion .art-word { font-size: clamp(2.15rem, 12.5cqw, 6rem); line-height: .81; }
.art-fashion .art-word em { display: inline-block; margin-bottom: .04em; color: #57219c; font: italic normal 1.38em/.85 Georgia, serif; letter-spacing: -.095em; }
.runway {
  position: absolute; width: 49%; height: 134%; right: 2.5%; bottom: -52%; border: 1px solid #5d258a; border-radius: 50% 50% 0 0;
  transform: rotate(38deg); background: repeating-linear-gradient(90deg, #401260 0 6%, #652c8d 6% 12%);
  box-shadow: -.7rem -.7rem 0 #a466cf, -1.55rem -1.55rem 0 #cca0eb;
}
.runway-inner { right: -18%; bottom: -90%; background: #cc95ef; box-shadow: none; }
.art-retail { color: #ecfffa; background: #0e1833; }
.art-retail .art-word { line-height: .85; font-size: clamp(2.2rem, 13cqw, 6rem); }
.art-retail .art-word em { color: #8af7e5; }
.portal {
  position: absolute; width: 43%; aspect-ratio: 1; right: -1%; top: 13%; transform: rotate(-30deg) skew(6deg);
  border: 2px solid #52e8d0; border-radius: 28%;
  background: radial-gradient(ellipse at 50% 140%, #52e8d0, #1b3a59 55%, #101932 73%);
  box-shadow: 0 0 1.25rem #12696b, inset 0 0 1.3rem #32a39b;
}
.portal::before, .portal::after { content: ""; position: absolute; inset: 9%; border: 1px solid #59bcb4; border-radius: 28%; }
.portal::after { inset: -9%; opacity: .5; }
.art-sports { color: #efffe4; background: #113b2c; }
.art-sports .art-word em { color: #d4fc77; font-size: .53em; letter-spacing: -.055em; }
.pitch {
  position: absolute; width: 70%; height: 77%; right: -9%; bottom: -8%; transform: rotate(-17deg) skew(-12deg);
  border: 2px solid #83b6a0; background: repeating-linear-gradient(90deg, #225a41 0 12%, #285e46 12% 24%);
}
.pitch::before { content: ""; position: absolute; left: 50%; height: 100%; border-left: 2px solid #83b6a0; }
.pitch::after { content: ""; position: absolute; width: 25%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 2px solid #83b6a0; border-radius: 50%; }
.pitch span { position: absolute; right: 0; top: 26%; width: 18%; height: 48%; border: 2px solid #83b6a0; border-right: 0; }

.project-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.15rem, 3vw, 1.65rem); }
.project-kind { margin-bottom: .42rem; color: var(--blue-dark); font-size: .875rem; font-weight: 800; }
.project-body h3 { font-size: clamp(1.45rem, 2.65vw, 2rem); }
.project-body h3 + p { color: var(--muted); margin-block: .6rem 1.15rem; }
.project-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.25rem; margin-top: auto; }
.text-link, .text-button { font-size: .9rem; font-weight: 800; }
.text-button { display: inline-flex; gap: .45rem; align-items: center; padding: .1rem 0; border: 0; background: transparent; color: var(--blue-dark); }
.text-button:hover { text-decoration: underline; text-underline-offset: .24em; }
.text-button span { font-size: 1.15rem; line-height: 1; }
.work-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; margin-top: 1.15rem; }
.work-footer p { color: var(--muted); font-size: .875rem; text-wrap: pretty; }

.experience { background: #161818; color: #f7f6f2; }
.experience-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 5.75rem); }
.experience .eyebrow, .experience h2 span { color: #a8b3ff; }
.experience-grid > div > h2 + p { max-width: 34ch; margin-top: 1.25rem; color: #c7c8c5; }
.timeline { border-top: 1px solid #505251; }
.job { display: grid; grid-template-columns: 10.1rem 1fr; gap: .7rem 1rem; padding-block: 1.45rem; border-bottom: 1px solid #505251; }
.date { color: #c8cfff; font-size: .88rem; font-weight: 800; padding-top: .14rem; }
.job h3 { font-size: clamp(1.3rem, 2.45vw, 1.7rem); }
.job p:not(.date) { color: #c7c8c5; }
.job p.company { color: #eaeae4; font-size: .9rem; font-weight: 800; margin-block: .35rem .55rem; }

.skill-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.skill-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.1rem, 2.6vw, 2rem); background: #eeefff; border: 1px solid #d8daf0; border-radius: .55rem; }
.skill-card:nth-child(2) { background: #fceee5; border-color: #efdbd1; }
.skill-card:nth-child(3) { background: #e7f1e4; border-color: #d5e2d1; }
.skill-symbol { position: relative; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: 1.28rem; border-radius: .3rem; background: var(--blue); color: white; font-size: 1.5rem; }
.icon-grid { background: #783f2c; }
.icon-grid::before { content: ""; width: 7px; height: 7px; background: white; box-shadow: 10px 0 white, 0 10px white, 10px 10px white; transform: translate(-5px,-5px); }
.icon-team { background: #23563a; }
.icon-team::before { content: ""; width: 13px; height: 13px; border: 1px solid white; border-radius: 50%; box-shadow: 7px 0 0 -1px #23563a, 7px 0 0 0 white; transform: translateX(-4px); }
.skill-card p { margin-block: .65rem 1rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: auto 0 0; padding: 0; list-style: none; }
.tags li { border: 1px solid #19191930; padding: .24rem .56rem; border-radius: 99px; font-size: .84rem; font-weight: 800; }
.tools { display: flex; align-items: center; gap: 1.2rem 2.5rem; margin-top: 1.65rem; padding-block: 1.2rem; border-block: 1px solid var(--rule); }
.tools h3 { font-size: 1.35rem; text-wrap: nowrap; }
.tools ul { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.65rem; margin: 0; padding: 0; list-style: none; }
.tools li { display: flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .9rem; }
.tool-mark { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .3rem; font: 700 .94rem/1 var(--display); }
.ps { background: #071e32; color: #58c7ff; }
.ai { background: #352116; color: #ffb973; }
.ae { background: #241946; color: #c8b7ff; }
.dn { background: #16351c; color: #b3f481; }

.about { background: #eae8e1; }
.about-overview { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.75rem, 7vw, 8rem); }
.about-photo { overflow: hidden; border-radius: .55rem; }
.about-photo img { aspect-ratio: 1.2; object-fit: cover; object-position: center 41%; }
.about-overview h2 + p { margin-top: 1.2rem; max-width: 51ch; color: var(--muted); }
.profile { margin-block: 1.2rem 0; }
.profile > div { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem; padding: .55rem 0; border-top: 1px solid #c7c6bd; }
.profile dt { font-weight: 800; }
.profile dd { margin: 0; color: var(--muted); }
.credentials { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(1rem, 3.5vw, 3.65rem); margin-top: 3.2rem; }
.credentials h3 { padding-bottom: 1rem; }
.credential-list { margin: 0; padding: 0; list-style: none; }
.credential-list li { display: grid; gap: .15rem; padding-block: .68rem; border-top: 1px solid #c7c6bd; line-height: 1.5; }
.credential-list a { font-weight: 800; }
.credential-list span { color: var(--muted); font-size: .875rem; }

.contact { background: var(--blue); color: white; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.6rem 4rem; padding-block: clamp(3.2rem, 7vw, 6.5rem); }
.contact h2 { margin: .55rem 0 1.2rem; }
.contact .eyebrow, .contact h2 span { color: #d6ddff; }
.contact-email { font: 700 clamp(1.22rem, 3vw, 2.1rem)/1.2 var(--display); }
.contact a:hover { color: #d6ddff; }
.contact-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.contact-links a { display: inline-flex; align-items: center; min-height: 2.55rem; border: 1px solid #cbd2ff; padding: .45rem .8rem; border-radius: .32rem; text-decoration: none; font-size: .9rem; font-weight: 800; }
.contact-links a:hover { background: #fff; color: var(--blue-dark); }
.footer { background: #161818; color: #eeeee8; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 4rem; font-size: .875rem; }
.footer a:hover { color: #b6bfff; }

.project-dialog { width: min(35rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: clamp(1.25rem, 5vw, 2.7rem); color: var(--ink); background: var(--paper); border: 0; border-radius: .6rem; box-shadow: 0 1.2rem 5rem #0005; }
.project-dialog::backdrop { background: #13172dba; }
.project-dialog h2 { margin-block: .5rem 1rem; font-size: clamp(2rem, 6vw, 3.3rem); }
.project-dialog .eyebrow { padding-right: 2.4rem; }
.project-dialog p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.25rem; }
.dialog-close { position: absolute; top: .65rem; right: .65rem; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; padding: 0; border: 1px solid var(--rule); border-radius: .32rem; background: transparent; font-size: 1.6rem; line-height: 1; }
.dialog-close:hover { background: white; }

.ornament-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  perspective: 36rem;
  pointer-events: none;
  user-select: none;
}
.ornament-stage::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse closest-side, var(--ornament-glow), transparent 90%);
}
.ornament-shape {
  --motion: 0;
  position: relative;
  grid-area: 1 / 1;
  width: var(--shape-size);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--motion) * var(--ornament-travel-x)), calc(var(--motion) * var(--ornament-travel-y, -16px)), 0)
    rotateX(calc(var(--ornament-pitch) + var(--motion) * 30deg))
    rotateY(calc(var(--ornament-yaw) + var(--motion) * 94deg))
    rotateZ(calc(var(--ornament-roll) + var(--motion) * 32deg));
}
.ornament-shape > span { position: absolute; inset: 0; }

.ornament-cube {
  --shape-size: clamp(2.25rem, 5.1vw, 5.1rem);
  --ornament-travel-x: clamp(7px, 1.1vw, 14px);
  --ornament-travel-y: -10px;
  --ornament-pitch: 23deg;
  --ornament-yaw: -48deg;
  --ornament-roll: -13deg;
  --ornament-glow: #5266ff31;
  position: absolute;
  inset-block-start: 2%;
  inset-inline-end: 0;
  width: clamp(5.75rem, 11.4vw, 10.75rem);
}
.ornament-cube span {
  --face-depth: calc(var(--shape-size) / 2);
  border: 1px solid #3148dc;
  border-radius: .16rem;
  background: linear-gradient(135deg, #e0e5ffdb, #6377ffb3);
  box-shadow: inset 0 0 0 .28rem #e6ebff43;
  transform: rotateY(var(--face-yaw, 0deg)) rotateX(var(--face-pitch, 0deg)) translateZ(var(--face-depth));
}
.ornament-cube span:nth-child(2) { --face-yaw: 90deg; }
.ornament-cube span:nth-child(3) { --face-yaw: 180deg; }
.ornament-cube span:nth-child(4) { --face-yaw: -90deg; }
.ornament-cube span:nth-child(5) { --face-pitch: 90deg; }
.ornament-cube span:nth-child(6) { --face-pitch: -90deg; }

.ornament-orbit {
  --shape-size: clamp(3.85rem, 8vw, 7.5rem);
  --ornament-travel-x: -28px;
  --ornament-pitch: 30deg;
  --ornament-yaw: -25deg;
  --ornament-roll: 15deg;
  --ornament-glow: #536bff46;
  width: clamp(7.8rem, 17vw, 14.2rem);
  margin-block-start: clamp(.45rem, 2vw, 1.8rem);
}
.ornament-orbit span {
  border: 2px solid #a6b7ff;
  border-radius: 50%;
  box-shadow: 0 0 .45rem #5e7eff9e;
}
.ornament-orbit span:nth-child(2) { border-color: #7387ff; transform: rotateY(66deg) rotateX(18deg); }
.ornament-orbit span:nth-child(3) { border-color: #d4deff; transform: rotateX(62deg) rotateY(-34deg); }
.ornament-orbit span:nth-child(4) {
  inset: 37%;
  border: 0;
  background: radial-gradient(circle at 32% 25%, #f2f4ff, #8799ff 44%, #3447c8 76%);
  box-shadow: 0 0 1rem #7b94ff80;
}

.skills-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; align-items: center; }
.ornament-stack {
  --shape-size: clamp(2.45rem, 5.3vw, 4.6rem);
  --ornament-travel-x: 12px;
  --ornament-travel-y: -10px;
  --ornament-pitch: -21deg;
  --ornament-yaw: -32deg;
  --ornament-roll: 4deg;
  --ornament-glow: #7281ff38;
  width: clamp(5.25rem, 12vw, 9rem);
}
.ornament-stack span {
  border: 1px solid #485bb9;
  border-radius: 22%;
  background: linear-gradient(145deg, #a9b7f9ec, #2d42e4db);
  box-shadow: inset 0 0 0 .2rem #fff3;
  transform: translateZ(var(--layer-depth, 0)) rotateZ(45deg);
}
.ornament-stack span:first-child { --layer-depth: calc(var(--shape-size) * -.34); background: #8a99ffe3; }
.ornament-stack span:last-child { --layer-depth: calc(var(--shape-size) * .34); background: linear-gradient(145deg, #fce0d0eb, #8b9bffcf); }

@media (prefers-reduced-motion: no-preference) {
  .ornament-shape { --motion: var(--scroll-position, 0); }
}

@media (max-width: 66rem) {
  .wrap { width: calc(100% - 4rem); }
  .job { grid-template-columns: 1fr; }
}
@media (max-width: 46rem) {
  html { scroll-padding-top: 5rem; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: .7rem; min-height: 4rem; }
  .header-contact { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 2.55rem; padding: 0 .75rem; border-radius: .3rem; border: 1px solid var(--ink); background: transparent; }
  .nav { flex-wrap: wrap; width: 100%; gap: .65rem 1.2rem; }
  .nav.mobile-menu { display: none; padding-top: .5rem; }
  .menu-toggle[aria-expanded="true"] + .mobile-menu { display: flex; }
  .nav a, .nav .mobile-contact { display: inline-flex; align-items: center; min-height: 2.5rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 2.4rem 2.3rem; }
  .hero h1 { font-size: clamp(5.6rem, 18.5vw, 8.2rem); }
  .hero .eyebrow { max-width: 30ch; }
  .portrait { max-width: 30rem; justify-self: center; }
  .portrait-spark { right: 5%; bottom: 6%; width: 3.9rem; font-size: 2.9rem; }
  .discipline-list { grid-template-columns: 1fr auto 1fr; column-gap: .7rem; row-gap: .55rem; padding-block: .65rem; }
  .discipline-list i:nth-of-type(2) { display: none; }
  .section-heading, .experience-grid, .about-overview { grid-template-columns: 1fr; gap: 1.35rem; }
  .section-heading > p { justify-self: start; }
  .work-footer, .contact-inner { flex-wrap: wrap; }
  .skill-grid { grid-template-columns: 1fr; }
  .tools { align-items: start; flex-direction: column; gap: .75rem; }
  .about-overview > div { grid-row: 1; }
  .about-photo { max-width: 30rem; }
  .credentials { grid-template-columns: 1fr; gap: 1.55rem; margin-top: 2.3rem; }
}
@media (max-width: 34rem) {
  .projects { grid-template-columns: 1fr; }
}
@keyframes scroll-disciplines {
  to { transform: translateX(-50%); }
}
@keyframes rotate-portrait-star {
  to { transform: rotate(1turn); }
}
@keyframes card-gloss-sweep {
  from { transform: translateX(-102%); }
  to { transform: translateX(102%); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.project, .skill-card) {
    position: relative;
    isolation: isolate;
    transition: box-shadow .24s ease;
  }
  .skill-card { overflow: hidden; }
  .project { --gloss-peak: .28; }
  .skill-card { --gloss-peak: .76; }
  :is(.project, .skill-card)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 28%, #ffffff12 43%, rgb(255 255 255 / var(--gloss-peak)) 50%, #ffffff1a 56%, transparent 72%);
    transform: translateX(-102%);
  }
  .project-body, .skill-card > * { position: relative; z-index: 2; }
  :is(.project, .skill-card):is(:hover, :has(:focus-visible)) {
    box-shadow: 0 .6rem 1.55rem #26356620;
  }
  :is(.project, .skill-card):is(:hover, :has(:focus-visible))::after {
    animation: card-gloss-sweep .85s ease-out;
  }
  .experience h2, .job > :is(.date, div) {
    transform-origin: left center;
    transition: transform .24s ease;
  }
  .experience h2:hover { transform: scale(1.035); }
  .job:hover > :is(.date, div) { transform: scale(1.022); }
}
@media (prefers-reduced-motion: no-preference) {
  .portrait-spark-icon {
    display: block;
    animation: rotate-portrait-star 24s linear infinite;
  }
  .discipline-band[data-marquee] {
    --marquee-gap: clamp(1.25rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .discipline-band[data-marquee] .discipline-window {
    container-type: inline-size;
    overflow: hidden;
  }
  .discipline-band[data-marquee] .discipline-track {
    display: flex;
    width: max-content;
    animation: scroll-disciplines 42s linear infinite;
  }
  .discipline-band[data-marquee] .discipline-list {
    display: flex;
    flex: none;
    justify-content: space-around;
    width: max-content;
    min-width: 100cqw;
    margin: 0;
    padding: 0 calc(var(--marquee-gap) / 2);
    gap: var(--marquee-gap);
    white-space: nowrap;
  }
  .discipline-band[data-marquee] .discipline-list i { display: block; }
  .discipline-band[data-marquee-paused] .discipline-track { animation-play-state: paused; }
  .discipline-band[data-marquee] .marquee-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-inline: .5rem clamp(.75rem, 2vw, 1.5rem);
    padding: 0;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: transparent;
  }
  .marquee-toggle:hover { background: #ffffff24; }
  .marquee-toggle::before {
    content: "";
    width: .68rem;
    height: .83rem;
    border-inline: .2rem solid currentColor;
  }
  .marquee-toggle[aria-pressed="true"]::before {
    width: .73rem;
    border: 0;
    background: currentColor;
    clip-path: polygon(15% 0, 100% 50%, 15% 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
