:root { --ink: #111114; --paper: #f8f8f7; --max: 990px; --page-top: #355e8d; --page-mid: #4f82b6; --page-bottom: #b4d1e3; --page-ink: #fff; --page-muted: rgba(255,255,255,.8); --folder-top: rgba(177,208,234,.23); --folder-bottom: rgb(48,91,133); --folder-line: rgba(210,231,248,.48); --folder-shadow: rgba(64,100,137,.5); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--page-ink); background: linear-gradient(to bottom, var(--page-top) 0%, var(--page-mid) 43%, var(--page-bottom) 100%) center / cover fixed no-repeat; font-family: Figtree, ui-sans-serif, system-ui, sans-serif; }
body > :not(.theme-transition) { position: relative; z-index: 1; }
.theme-transition { position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: 0; transition: opacity 780ms cubic-bezier(.22, 1, .36, 1); }
body.theme-sage { --page-top: #35543e; --page-mid: #6f966c; --page-bottom: #c8dfb7; --folder-top: rgba(188,216,175,.23); --folder-bottom: rgb(49,88,57); --folder-line: rgba(220,238,208,.46); --folder-shadow: rgba(44,86,50,.5); }
body.theme-charcoal { --page-top: #16191f; --page-mid: #373e4a; --page-bottom: #a7b0bd; --folder-top: rgba(186,195,207,.22); --folder-bottom: rgb(29,36,47); --folder-line: rgba(210,220,232,.42); --folder-shadow: rgba(9,13,19,.58); }
body.theme-broken-white { --page-top: #f7f5ef; --page-mid: #e7e4dc; --page-bottom: #cfcbc1; --page-ink: #252525; --page-muted: rgba(37,37,37,.7); --folder-top: rgba(255,253,247,.3); --folder-bottom: rgb(200,195,183); --folder-line: rgba(255,253,247,.66); --folder-shadow: rgba(89,83,73,.22); }
a { color: inherit; text-decoration: none; }
.intro { color: var(--page-ink); }
.site-header { height: 114px; display: flex; align-items: center; justify-content: space-between; padding: 28px 44px; }
.identity, .social-links, .social-icon { display: flex; align-items: center; }
.identity { gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.social-links { gap: 18px; }
.resume-link, .social-icon { height: 58px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.1); border-radius: 999px; transition: background .2s ease, transform .2s ease; }
.resume-link { display: grid; place-items: center; padding: 0 16px; font-size: 16px; font-weight: 600; }
button.resume-link { color: inherit; font-family: inherit; cursor: pointer; }
.social-icon { justify-content: center; width: 58px; }
.social-icon img { width: 24px; height: 24px; object-fit: contain; }
.linkedin-mark { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("./assets/linkedin-svgrepo-com.svg") center / contain no-repeat; mask: url("./assets/linkedin-svgrepo-com.svg") center / contain no-repeat; }
@media (max-width: 760px) { .linkedin-mark { width: 19px; height: 19px; } }
.theme-switcher { display: flex; align-items: center; gap: 15px; width: 175px; height: 58px; padding: 0 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.1); }
.theme-option { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #7aa7d1; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.theme-option:hover { transform: scale(1.1); }
.theme-option.is-active { box-shadow: 0 0 0 3px #fff; }
.theme-option.theme-sage { background: #accb82; }
.theme-option.theme-charcoal { background: #24262c; }
.theme-option.theme-broken-white { background: #f4f1e8; }
.resume-link:hover, .social-icon:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.hero, .selected-works, .featured-heading { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.hero { display: flex; flex-direction: column; gap: 24px; padding: 64px 0 0; }
.weather-status { display: flex; align-items: center; gap: 20px; margin: 0; color: var(--page-muted); font-size: 18px; line-height: 1.55; white-space: nowrap; }
.local-status, .weather-summary { display: inline-flex; align-items: center; gap: 8px; }
.local-status time { font-variant-numeric: tabular-nums; }
.weather-status img { flex: 0 0 20.667px; width: 20.667px; height: 20.667px; }
.hero h1 { margin: 0; max-width: 860px; font-size: clamp(46px, 5.1vw, 72px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.hero-intro { width: min(860px, 100%); margin: 0; color: var(--page-muted); font-size: 18px; line-height: 1.55; }
.selected-works { padding: 80px 0 108px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px 66px; }
.project { position: relative; width: 100%; height: auto; aspect-ratio: 1; isolation: isolate; perspective: 1200px; }
.folder-outline { position: absolute; z-index: 0; inset: auto 0 0; width: 100%; height: 84%; transition: filter .2s ease; }
body.theme-sage .folder-outline { filter: hue-rotate(-70deg) saturate(.72) brightness(.94); }
body.theme-charcoal .folder-outline { filter: saturate(.3) brightness(.68); }
body.theme-broken-white .folder-outline { filter: grayscale(1) sepia(.28) saturate(.68) brightness(.76) contrast(.82); }
.project-art { position: absolute; z-index: 1; inset: 0; overflow: visible; transition: transform 220ms cubic-bezier(.4, 0, 1, 1); }
/* A compact, gently tilted stack sits behind the wider front cover. */
.project-art img { --card-angle: 0deg; --card-lift: 0%; position: absolute; top: 12%; width: 70%; height: auto; aspect-ratio: 1; border-radius: 16px; object-fit: cover; box-shadow: 0 5px 12px rgba(12,26,39,.18), 0 1px 2px rgba(12,26,39,.12); transform-origin: 50% 100%; transform: translateY(var(--card-lift)) rotate(var(--card-angle)); transition: left .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.project-art img:nth-child(1) { left: 15%; --card-angle: -7deg; z-index: 0; }
.project-art img:nth-child(2) { left: 15%; --card-angle: 7deg; z-index: 2; }
.project-art img:nth-child(3) { left: 15%; --card-angle: 0deg; z-index: 1; }
.project:is(:hover, :focus-visible) .project-art img:nth-child(1) { left: -12%; --card-angle: -9deg; --card-lift: 0%; }
.project:is(:hover, :focus-visible) .project-art img:nth-child(2) { left: 15%; --card-angle: 0deg; --card-lift: -8%; }
.project:is(:hover, :focus-visible) .project-art img:nth-child(3) { left: 42%; --card-angle: 9deg; --card-lift: 0%; }
.project:is(:hover, :focus-visible) .project-art img:hover { z-index: 6; transform: translateY(calc(var(--card-lift) - 8%)) scale(1.08) rotate(0deg); box-shadow: 0 20px 32px rgba(17,28,40,.28); }
.art-pintu img { object-fit: contain; background: #fff; }
.art-bloomvision img { object-position: center top; }
.project-copy { position: absolute; z-index: 2; top: 16.16%; right: -2%; bottom: 0; left: -2%; color: #fff; pointer-events: none; transform: translateZ(0); transform-origin: 50% 100%; transform-style: preserve-3d; transition: transform 220ms cubic-bezier(.4, 0, 1, 1); will-change: transform; }
.project-copy::before { position: absolute; right: 0; bottom: 0; left: 0; height: 88%; content: ""; -webkit-mask: url("./assets/folder-front-shape.svg?v=4") center / 100% 100% no-repeat; mask: url("./assets/folder-front-shape.svg?v=4") center / 100% 100% no-repeat; background: linear-gradient(180deg, color-mix(in srgb, var(--folder-bottom) 12%, transparent) 0%, color-mix(in srgb, var(--folder-bottom) 26%, transparent) 20%, color-mix(in srgb, var(--folder-bottom) 54%, transparent) 43%, color-mix(in srgb, var(--folder-bottom) 86%, transparent) 68%, var(--folder-bottom) 92%); box-shadow: inset -2px 0 6px rgba(15,34,51,.08), inset 0 -3px 5px rgba(12,28,45,.16), 0 9px 18px rgba(16,35,53,.2); backdrop-filter: blur(5px) saturate(115%); -webkit-backdrop-filter: blur(5px) saturate(115%); transition: box-shadow .7s cubic-bezier(.16, 1, .3, 1); }
.project-copy::after { position: absolute; right: 0; bottom: 0; left: 0; height: 88%; content: ""; background: url("./assets/folder-front-edge.svg?v=4") center / 100% 100% no-repeat; }
.project-copy h2 { position: absolute; bottom: calc(19.27% + 8px); left: 7.58%; right: 7.58%; margin: 0; }
.tags { position: absolute; top: 80.73%; left: 7.58%; display: flex; flex-wrap: wrap; gap: 4px; }
.tags span { padding: 4px 10px; border: 0; border-radius: 999px; background: rgba(222,239,252,.22); box-shadow: inset 0 1px rgba(255,255,255,.16); font-size: 18px; line-height: 1.2; white-space: nowrap; }
body.theme-broken-white .project-copy { color: #252525; }
body.theme-broken-white .tags span { background: rgba(52,48,41,.12); box-shadow: inset 0 1px rgba(255,255,255,.35); }
.project:hover .project-copy, .project:focus-visible .project-copy { transform: translateZ(42px) rotateX(-30deg); transition-duration: 720ms; transition-timing-function: cubic-bezier(.16, 1.42, .3, 1); }
.project:hover .project-copy::before, .project:focus-visible .project-copy::before { box-shadow: inset -2px 0 6px rgba(15,34,51,.08), inset 0 -3px 5px rgba(12,28,45,.16), 0 22px 34px rgba(26,54,78,.28); }
.project:hover .project-art, .project:focus-visible .project-art { transform: translateY(-20%) translateZ(-8px); transition-duration: 720ms; transition-timing-function: cubic-bezier(.16, 1.42, .3, 1); }
.project:is(:hover, :focus-visible) { z-index: 3; }
.project:focus-visible { outline: 2px solid rgba(255,255,255,.95); outline-offset: 8px; }
.featured { padding: 96px 0 126px; overflow: hidden; }
.featured-heading { margin-bottom: 28px; }
.featured-heading p { margin: 0 0 8px; color: var(--page-muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.featured-heading h2 { margin: 0; }
.featured-heading h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.project-copy h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.snapshot-carousel { --snapshot-height: 365px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.snapshot-carousel.is-dragging { cursor: grabbing; }
.snapshot-track, .snapshot-loop { display: flex; width: max-content; }
.snapshot-track { will-change: transform; }
.snapshot-loop { flex: none; gap: 16px; padding-right: 16px; }
.snapshot-card { flex: none; width: 451px; height: var(--snapshot-height); margin: 0; overflow: hidden; border-radius: 24px; background: #e9e9ed; }
.snapshot-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.snapshot-link { display: block; cursor: pointer; }
.snapshot-link:focus-visible { outline: 3px solid var(--page-ink); outline-offset: 4px; }
.resume-modal[hidden] { display: none; }
.resume-modal { position: fixed !important; z-index: 20 !important; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(8, 13, 20, .52); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); opacity: 0; transition: opacity 220ms ease; }
.resume-modal.is-open { opacity: 1; }
.resume-dialog { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: min(576px, 100%); height: min(88svh, 850px); gap: 28px; color: #fff; transform: translateY(12px) scale(.985); transition: transform 260ms cubic-bezier(.22, 1, .36, 1); }
.resume-modal.is-open .resume-dialog { transform: translateY(0) scale(1); }
.resume-art { position: relative; min-height: 0; display: grid; place-items: center; overflow: visible; transform: perspective(1200px) rotateX(0deg) rotateY(0deg); transition: transform 240ms cubic-bezier(.2,.7,.3,1); }
.resume-preview { justify-self: center; width: auto; max-width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.resume-art.is-lensing .resume-preview { cursor: none; }
.resume-lens { position: absolute; z-index: 1; width: 250px; height: 250px; overflow: hidden; pointer-events: none; border-radius: 58px; background: transparent; box-shadow: 0 10px 28px rgba(8,18,32,.12), 0 2px 8px rgba(8,18,32,.06); opacity: 0; transform: translate(-50%, -50%); transition: opacity 140ms ease; }
.resume-lens svg { display: block; width: 100%; height: 100%; }
.resume-lens::before { position: absolute; z-index: 1; inset: 0; content: ""; border-radius: inherit; box-shadow: inset 1px 1px 5px rgba(169,191,204,.16), inset -1px -2px 6px rgba(39,63,82,.18); }
.resume-art.is-lensing .resume-lens { opacity: 1; }
@media (hover: none), (pointer: coarse) { .resume-lens { display: none; } .resume-art.is-lensing .resume-preview { cursor: default; } }
.resume-download { justify-self: center; padding: 13px 24px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(183,220,250,.14)); color: #fff; font-size: 16px; font-weight: 600; box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 0 -1px 1px rgba(51,101,142,.28), 0 12px 28px rgba(0,0,0,.16); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.resume-download:hover { background: linear-gradient(135deg, rgba(255,255,255,.48), rgba(183,220,250,.22)); box-shadow: inset 0 1px 1px rgba(255,255,255,.68), inset 0 -1px 1px rgba(51,101,142,.22), 0 16px 32px rgba(0,0,0,.2); transform: translateY(-2px); }
body.theme-broken-white .resume-link, body.theme-broken-white .social-icon, body.theme-broken-white .theme-switcher { border-color: rgba(37,37,37,.18); background: rgba(255,255,255,.32); color: #252525; }
body.theme-broken-white .resume-link:hover, body.theme-broken-white .social-icon:hover { background: rgba(255,255,255,.7); }
body.theme-broken-white .theme-option.is-active { box-shadow: 0 0 0 3px #252525; }
body.theme-broken-white .weather-status img { filter: brightness(.16); }
@media (max-width: 760px) { .intro { min-height: 530px; } .site-header { height: 84px; padding: 18px 20px; } .identity { font-size: 12px; gap: 8px; } .social-links { gap: 7px; } .resume-link, .social-icon { height: 44px; } .social-icon { width: 44px; } .social-icon img { width: 19px; height: 19px; } .resume-link { padding: 0 12px; font-size: 13px; } .theme-switcher { width: 122px; height: 44px; gap: 8px; padding: 0 10px; } .theme-option { flex-basis: 18px; width: 18px; height: 18px; } .hero, .selected-works, .featured-heading { width: calc(100% - 40px); } .hero { padding: 76px 0 0; } .weather-status { gap: 6px; margin-bottom: 12px; font-size: 14px; line-height: 20px; } .weather-status img { flex-basis: 16px; width: 16px; height: 16px; } .hero h1 { font-size: clamp(43px, 12vw, 60px); } .hero-intro { margin-top: 36px; font-size: 16px; } .selected-works { padding: 48px 0 94px; } .work-grid { grid-template-columns: 1fr; gap: 30px; } .featured { padding: 82px 0; } .snapshot-carousel { --snapshot-height: 263px; } .snapshot-card { width: 324px; max-width: calc(100vw - 40px); } .footer-tags { justify-content: flex-start; flex-wrap: wrap; padding: 0 20px 24px; white-space: normal; } .resume-modal { padding: 16px; } .resume-dialog { height: min(86svh, 760px); gap: 18px; } .resume-lens { display: none; } .resume-art { cursor: default; } .resume-download { padding: 11px 18px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; } }

/* Quiet header and a floating glass theme dock. */
@media (max-width: 760px) {
  .intro { min-height: 0; }
  .hero { gap: 20px; padding-top: 40px; }
  .selected-works { padding-top: 48px; }
  .weather-status { margin-bottom: 0; gap: 16px; font-size: 16px; line-height: 1.55; }
  .hero-intro { margin-top: 0; }
  .project-copy h2 { font-size: 32px; }
  .tags span { font-size: 16px; }
}
.identity { text-transform: none; min-height: 44px; padding: 8px; margin-inline: -8px; border-radius: 999px; transition: background .2s ease, transform .2s ease; }
.identity:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.identity:focus-visible { background: rgba(255,255,255,.1); outline: 2px solid var(--page-ink); outline-offset: 3px; }
.identity-copy { display: grid; gap: 4px; }
.identity-role { color: var(--page-muted); font-size: 12px; font-weight: 400; letter-spacing: .01em; }
.site-header .resume-link, .site-header .social-icon { border: 0; background: transparent; height: 44px; }
.site-header .resume-link { padding: 0 8px; font-weight: 500; }
.site-header .social-icon { width: 44px; }
.site-header .social-icon img { width: 21px; height: 21px; }
.site-header .resume-link:hover, .site-header .social-icon:hover { background: rgba(255,255,255,.1); }
body > .theme-switcher { position: fixed; z-index: 10; top: 96px; right: 44px; display: flex; flex-direction: column; align-items: center; width: 52px; height: 52px; padding: 5px; overflow: hidden; border: 0; border-radius: 999px; background: linear-gradient(180deg, rgba(235,246,255,.16), rgba(32,51,70,.1)); backdrop-filter: blur(14px) saturate(145%); -webkit-backdrop-filter: blur(14px) saturate(145%); box-shadow: inset 0 1px 1px rgba(255,255,255,.58), inset 0 -1px 2px rgba(32,53,72,.2), 0 6px 18px rgba(12,26,42,.13); transition: height 240ms cubic-bezier(.2,.8,.2,1), background 180ms ease; }
body > .theme-switcher:hover, body > .theme-switcher:focus-within, body > .theme-switcher.is-open { height: 226px; background: linear-gradient(180deg, rgba(235,246,255,.25), rgba(32,51,70,.16)); }
.theme-toggle { position: relative; z-index: 1; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.theme-toggle span { display: block; width: 18px; height: 18px; margin: auto; border-radius: 50%; background: var(--page-mid); box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 1px 4px rgba(12,26,42,.18); }
.theme-options { display: flex; flex-direction: column; gap: 2px; height: 0; opacity: 0; transform: translateY(-8px); transition: opacity 140ms ease, transform 180ms ease; }
.theme-switcher:hover .theme-options, .theme-switcher:focus-within .theme-options, .theme-switcher.is-open .theme-options { height: 168px; opacity: 1; transform: translateY(0); }
.theme-switcher .theme-option { position: relative; flex: 0 0 42px; width: 42px; height: 44px; background: transparent; box-shadow: none; }
.theme-option::before { content: ""; position: absolute; inset: 10px 9px; border-radius: 50%; background: #7aa7d1; box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 2px 4px rgba(12,26,42,.16); }
.theme-option.theme-sage::before { background: #accb82; }
.theme-option.theme-charcoal::before { background: #24262c; }
.theme-option.theme-broken-white::before { background: #f4f1e8; }
.theme-option.is-active::after { content: ""; position: absolute; inset: 5px 4px; border: 1px solid var(--page-ink); opacity: .8; border-radius: 50%; }
.theme-option:focus-visible, .site-header .resume-link:focus-visible, .site-header .social-icon:focus-visible { outline: 2px solid var(--page-ink); outline-offset: 3px; }
@media (max-width: 760px) {
  .social-links { gap: 4px; }
  .identity { gap: 8px; font-size: 12px; }
  .identity-role { font-size: 11px; }
  body > .theme-switcher { top: 82px; right: 16px; bottom: auto; height: 52px; padding: 5px; }
  body > .theme-switcher:hover, body > .theme-switcher:focus-within, body > .theme-switcher.is-open { height: 226px; }
}

/* Header theme menu: the current swatch is the trigger, never an extra control. */
.social-links { position: relative; }
.theme-anchor { position: relative; flex: 0 0 44px; width: 44px; height: 44px; }
.site-header .theme-switcher { position: absolute; z-index: 10; top: 0; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; width: 44px; height: 44px; padding: 1px; border: 0; overflow: hidden; border-radius: 22px; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.site-header .theme-switcher .theme-option { position: absolute; top: 1px; left: 1px; display: block; width: 42px; height: 42px; opacity: 0; visibility: hidden; transform: translateY(0); transition: transform 180ms ease, opacity 140ms ease, visibility 180ms; }
.site-header .theme-switcher .theme-option.is-active { opacity: 1; visibility: visible; z-index: 1; }
.site-header .theme-switcher.is-open { height: 176px; background: linear-gradient(180deg, rgba(235,246,255,.21), rgba(32,51,70,.14)); box-shadow: inset 0 1px 1px rgba(255,255,255,.52), inset 0 -1px 2px rgba(32,53,72,.2), 0 6px 18px rgba(12,26,42,.13); backdrop-filter: blur(14px) saturate(145%); -webkit-backdrop-filter: blur(14px) saturate(145%); }
.site-header .theme-switcher.is-open .theme-option { opacity: 1; visibility: visible; transform: translateY(calc(var(--theme-index) * 44px)); }
.site-header .theme-option::before { inset: 8px; }
.site-header .theme-option.is-active::after { content: none; }
body.theme-broken-white .site-header .theme-option.is-active { box-shadow: none; }
body.theme-broken-white .site-header .theme-switcher.is-open { background: linear-gradient(180deg, rgba(255,255,255,.48), rgba(82,76,66,.12)); }
@media (max-width: 760px) {
  .site-header .theme-switcher { width: 44px; height: 44px; }
  .site-header .theme-switcher.is-open { height: 176px; }
  .site-header .theme-switcher .theme-option { flex-basis: 42px; width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  .project-copy h2 { font-size: 28px; }
  .tags span { padding: 4px 8px; font-size: 12px; }
}

/* Narrow layouts keep the folders still when tapped. */
@media (max-width: 760px) {
  .project-art, .project-art img, .project-copy, .project-copy::before { transition: none; }
  .project:is(:hover, :focus-visible) .project-art img:nth-child(1),
  .project:is(:hover, :focus-visible) .project-art img:nth-child(2),
  .project:is(:hover, :focus-visible) .project-art img:nth-child(3) { left: 15%; --card-lift: 0%; }
  .project:is(:hover, :focus-visible) .project-art img:nth-child(1) { --card-angle: -7deg; }
  .project:is(:hover, :focus-visible) .project-art img:nth-child(2) { --card-angle: 7deg; }
  .project:is(:hover, :focus-visible) .project-art img:nth-child(3) { --card-angle: 0deg; }
  .project:is(:hover, :focus-visible) .project-art img:hover { transform: translateY(0) rotate(var(--card-angle)); box-shadow: 0 5px 12px rgba(12,26,39,.18), 0 1px 2px rgba(12,26,39,.12); }
  .project:is(:hover, :focus-visible) .project-copy { transform: translateZ(0); }
  .project:is(:hover, :focus-visible) .project-art { transform: none; }
  .project:is(:hover, :focus-visible) .project-copy::before { box-shadow: inset -2px 0 6px rgba(15,34,51,.08), inset 0 -3px 5px rgba(12,28,45,.16), 0 9px 18px rgba(16,35,53,.2); }
}
