* {
    box-sizing: border-box;
}

html {
    cursor: url('../images/regularcursor.webp') 4 4, auto;
}

:root {
    --charcoal: #1C1C1C;
    --blood-red: #7f0811;
    --gold: #CAAA49;
    --chev-h: 2rem;
    --slope: 168.7deg;
}

@media (min-width: 48rem) {
    :root {
        --chev-h: 3rem;
        --slope: 174deg;
    }
}


header {
    display: flex;
    align-items: center;
    height: 3.5rem;
    background-color: var(--charcoal);
    position: relative;
    z-index: 1;

}

body {
    background-color: var(--blood-red);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;

}

.menu-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle {
    position: relative;
    z-index: 2;
    margin-left: 1rem;
}

label {
    display: flex;
    cursor: url('../images/hovercursor.webp') 2 16, pointer;


}

label:hover span {
    background-color: var(--gold);

}

.menu-checkbox:focus-visible + .menu-toggle .chevron-link {
    background-color: var(--gold);
}

.chevron-link {
    display: block;
    clip-path: polygon(0 0,
            calc(100% - 0.75rem) 0,
            100% 50%,
            calc(100% - 0.75rem) 100%,
            0 100%,
            0.75rem 50%);
    background-color: var(--blood-red);
    height: var(--chev-h);
    width: 1.5rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}


.side-menu {
    overflow: hidden;
}

.side-menu ul {
    display: flex;
    gap: 0.25em;
    margin: .5rem;
    padding: 0;
    list-style: none;
    transform: translateX(-130%);
        visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s;
}

.menu-checkbox:checked~.side-menu ul {
    transform: translateX(0);
        visibility: visible;
}

.side-menu ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 0.5rem;
}

.side-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 0.75rem 0rem;
    background-color: var(--blood-red);
    color: var(--gold);
    clip-path: polygon(0 0,
            calc(100% - var(--point)) 0,
            100% 50%,
            calc(100% - var(--point)) 100%,
            0 100%,
            var(--point) 50%);
    font-family: 'Antonio', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0em;
    --h: 2rem;
    --point: calc(var(--chev-h) * 0.3);
    height: var(--chev-h);
    width: 3.75rem;
    font-size: 0.8rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}



.side-menu li a:hover, .side-menu li a:focus-visible {
    background-color: var(--gold);
    cursor: url('../images/hovercursor.webp') 2 16, pointer;
    color: var(--charcoal)
}

ul {
    list-style: none;
}


.diagonal {
    width: 100%;
    aspect-ratio: 3 / 1;
    background: linear-gradient(var(--slope),
            var(--charcoal) 0 calc(44% - 0.5px),
            transparent calc(44% + 0.5px) calc(46% - 0.5px),
            var(--charcoal) calc(46% + 0.5px) calc(48% - 0.5px),
            transparent calc(48% + 0.5px) calc(50% - 0.5px),
            var(--charcoal) calc(50% + 0.5px) calc(51% - 0.5px),
            transparent calc(51% + 0.5px));
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

.hero {
    position: relative;
}

.heroimage {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    animation: slide-in 1s ease-out both;
    right: 0;
    top: calc(20vh - 10rem);
    bottom: -2rem;
    margin-right: 1rem;


}

@media (min-width: 48rem) {


    .side-menu li a {
        width: 6rem;
        font-size: 1.25rem;

    }
}

.heroimage img {
    display: block;
    Height: 90%;
    width: auto;
    margin-left: auto;
}

@keyframes slide-in {
    from {
        transform: translateX(-10rem);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.black-wedge {
    width: 100%;
    aspect-ratio: 5 / 1;
    background: linear-gradient(var(--slope),
            transparent calc(50% - 0.5px),
            var(--charcoal) calc(50% + 0.5px));
    position: relative;
    z-index: 3;
    margin-bottom: -1px;
}

@media (min-width: 48rem) {
    :root {
        --chev-h: 3rem;
        --slope: 174deg;
    }

    .diagonal {
        aspect-ratio: 6 / 1;
    }

    .black-wedge {
        aspect-ratio: 8 / 1;
    }

    .heroimage {
        top: max(calc(20vh - 15rem), 0rem);
        margin-right: 20%;
    }
}


h2 {
    font-family: 'Antonio', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0em;

}

.content {

    background-color: var(--charcoal);
    flex: 1;
    padding: 1rem;
    color: #e8dfcf;
    z-index: 3;
}

.content section {
    display: none;
}

.content section:target {
    display: block;
}

.content:not(:has(section:target)) #home {
    display: block;
}

.content section:target,
.content:not(:has(section:target)) #home {
    animation: fade-in 0.4s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

p {
    padding: 0;
    margin: 0;
    line-height: 1.5;

}



h1,
li,
a,
body,
header {
    font-family: 'Work Sans', sans-serif;
}

section a:link {
    text-decoration: none;
    color: var(--gold);
}

section a:visited {
    text-decoration: none;
    color: var(--gold);
}

section a:hover, section a:focus-visible {
    color: var(--blood-red);
    cursor: url('../images/hovercursor.webp') 2 16, pointer;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    display: block;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.project-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(46, 40, 41, 0.75);
    padding: 1.25rem 0.5rem 0.5rem;
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
    color: #e8dfcf;
    font-family: 'Antonio', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
}

@media (min-width: 48rem) {
    .project-title {
        padding: 2.5rem 1rem 1rem;
        font-size: 1.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.project-card:hover img, .project-card:focus-visible img {
    transform: scale(1.05);
}

.project-card:hover .project-title, .project-card:focus-visible .project-title {

    color: var(--gold);
    background: rgba(0, 0, 0, 0.9);
    transition: color 0.3s ease-in-out;
}

section ul {
    padding-left: 0;

}

footer {
    background-color: var(--charcoal);
    color: var(--gold);
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    font-size: .5rem;
}


/* =========================================================
   ANIMATED PROJECT CARD PREVIEWS
   each card gets a .previewCld box in place of the old folio <img>
   ========================================================= */

/* the morph shapes from the CSS presentation: 600 points each, same order,
   so the browser can tween d: between them */
:root {
    --caterpillarCld: path("M394.2 629.3 L391.5 633.7 L388.6 638.0 L385.5 642.0 L382.2 645.9 L378.4 649.4 L374.4 652.7 L370.6 656.0 L367.5 660.1 L364.8 664.5 L362.0 668.8 L358.6 672.7 L354.7 676.0 L350.3 678.6 L345.9 678.3 L342.3 674.6 L338.7 671.0 L335.3 667.1 L332.2 663.1 L329.1 658.9 L325.5 655.3 L321.2 652.5 L317.1 653.8 L313.0 656.9 L308.8 659.8 L304.5 662.5 L300.0 665.1 L295.5 667.5 L290.8 669.6 L286.1 671.6 L281.2 673.3 L276.3 674.8 L272.8 678.5 L269.0 682.0 L264.7 684.6 L259.6 684.5 L255.5 681.7 L252.8 677.3 L250.1 672.9 L247.1 668.7 L243.9 664.7 L240.7 660.7 L238.1 656.3 L236.1 651.6 L234.8 646.6 L233.0 642.9 L227.9 643.9 L222.9 644.9 L217.8 645.9 L214.8 649.6 L212.2 654.1 L209.5 658.4 L206.2 662.4 L201.9 665.1 L197.1 664.1 L193.8 660.2 L191.6 655.6 L189.6 650.8 L187.9 646.0 L186.3 641.1 L183.0 637.3 L179.9 633.3 L177.6 628.7 L176.1 623.8 L175.4 618.7 L175.3 613.5 L175.7 608.4 L176.6 603.4 L177.6 598.3 L173.7 596.7 L168.7 595.5 L163.8 594.0 L159.0 592.1 L154.4 589.9 L149.9 587.3 L145.8 584.3 L141.9 580.9 L138.5 577.1 L135.6 572.8 L133.4 568.2 L131.6 563.4 L130.3 558.4 L129.5 553.4 L129.1 548.2 L129.2 543.1 L129.8 538.0 L130.9 533.0 L132.5 528.1 L134.4 523.4 L136.4 518.6 L136.5 514.2 L133.4 510.2 L130.8 505.7 L128.8 501.0 L127.5 496.0 L126.9 490.9 L126.9 485.8 L127.6 480.7 L128.7 475.7 L130.3 470.8 L132.4 466.1 L135.0 461.7 L138.1 457.6 L141.8 454.0 L146.0 451.0 L150.5 448.7 L147.3 445.3 L143.9 441.4 L141.0 437.2 L138.7 432.6 L137.2 427.7 L136.8 422.6 L137.3 417.5 L138.9 412.6 L141.2 408.0 L144.2 403.8 L147.8 400.2 L152.1 397.4 L148.4 395.2 L143.8 393.1 L139.3 390.7 L135.1 387.7 L132.0 383.6 L132.2 378.6 L135.5 374.7 L139.8 372.0 L144.4 369.6 L148.9 367.3 L152.1 363.3 L155.7 359.6 L159.8 356.5 L164.5 354.4 L162.2 351.2 L159.1 347.1 L156.4 342.8 L151.9 340.5 L147.5 337.8 L143.4 334.7 L141.0 330.2 L141.6 325.3 L145.4 321.9 L149.9 319.5 L154.4 317.0 L158.9 314.6 L162.7 311.2 L166.4 307.6 L170.5 304.5 L169.9 302.7 L165.1 300.9 L160.4 298.8 L155.9 296.4 L151.6 293.6 L147.6 290.4 L144.0 286.7 L141.0 282.6 L138.5 278.1 L136.5 273.3 L135.0 268.4 L133.9 263.4 L133.1 258.3 L132.4 253.2 L132.0 248.1 L131.7 243.0 L131.6 237.9 L131.7 232.7 L132.0 227.6 L132.4 222.5 L133.1 217.4 L133.9 212.3 L134.9 207.3 L136.0 202.3 L137.3 197.3 L138.8 192.4 L140.4 187.5 L142.2 182.6 L144.1 177.9 L139.6 179.5 L134.9 181.5 L130.1 183.4 L125.3 185.4 L120.5 187.4 L115.7 189.4 L110.9 191.3 L106.1 193.1 L101.2 194.8 L96.2 196.3 L91.3 197.8 L86.3 199.2 L81.3 200.5 L76.2 201.5 L71.1 202.2 L65.9 202.7 L60.7 202.8 L55.6 202.7 L50.4 202.3 L45.3 201.6 L40.3 201.2 L35.6 203.1 L30.8 201.5 L29.1 196.8 L31.2 192.4 L35.6 189.9 L40.6 190.1 L43.7 193.8 L46.3 196.9 L51.3 197.6 L56.4 197.7 L61.5 197.4 L66.5 196.7 L71.4 195.5 L76.3 194.1 L81.1 192.6 L85.9 190.9 L90.7 189.1 L95.4 187.2 L100.0 185.2 L104.6 183.1 L109.2 180.9 L113.7 178.5 L118.2 176.2 L122.6 173.7 L127.1 171.4 L131.7 169.1 L136.3 166.9 L141.0 164.9 L145.8 163.0 L150.6 161.1 L155.1 158.8 L158.4 154.9 L161.9 151.0 L165.5 147.4 L169.3 144.0 L173.4 140.9 L177.8 138.2 L182.5 136.0 L187.3 134.3 L192.3 133.0 L197.3 132.1 L202.4 131.2 L207.5 130.5 L212.6 129.9 L217.7 129.4 L222.9 129.0 L224.4 127.6 L219.5 126.1 L214.5 124.7 L209.5 123.6 L204.5 122.6 L199.4 121.7 L194.3 120.8 L189.3 119.9 L184.2 119.0 L179.1 118.1 L174.1 117.2 L169.0 116.3 L164.0 115.4 L158.9 114.5 L153.8 113.6 L148.8 112.7 L143.7 111.7 L138.7 110.5 L133.8 108.9 L129.1 107.0 L124.4 104.8 L120.0 102.2 L115.6 99.5 L110.7 99.1 L106.5 96.5 L105.2 91.6 L107.5 87.0 L112.0 84.8 L117.0 85.1 L120.6 88.6 L120.5 93.6 L122.3 96.7 L127.2 98.5 L132.0 100.1 L136.9 101.7 L141.9 103.1 L146.9 104.5 L151.9 105.8 L156.9 106.9 L161.9 108.0 L167.0 109.0 L172.0 110.0 L177.1 110.8 L182.2 111.6 L187.3 112.4 L192.4 113.1 L197.5 113.8 L202.6 114.7 L207.7 115.5 L212.7 116.5 L217.8 117.5 L222.8 118.7 L227.8 119.9 L232.8 121.2 L237.7 122.7 L239.7 123.4 L241.7 124.1 L243.6 124.9 L245.6 125.7 L247.5 126.6 L249.4 127.5 L251.3 128.4 L253.1 129.5 L254.9 130.5 L256.7 131.7 L258.4 132.9 L260.1 134.1 L261.7 135.4 L263.4 136.8 L264.9 138.2 L266.5 139.6 L268.0 141.0 L269.5 142.5 L270.9 144.1 L272.4 145.6 L273.8 147.2 L275.1 148.8 L276.5 150.4 L277.8 152.1 L279.0 153.7 L280.3 155.4 L281.5 157.2 L282.6 158.9 L283.8 160.7 L284.9 162.5 L285.9 164.3 L286.9 166.2 L287.9 168.0 L288.8 169.9 L289.7 171.8 L290.6 173.7 L291.4 175.7 L292.1 177.6 L292.8 179.6 L293.5 181.6 L294.1 183.6 L294.7 185.7 L295.2 187.7 L295.7 189.7 L296.1 191.8 L296.4 193.9 L296.8 196.0 L297.0 198.0 L297.2 200.1 L297.4 202.2 L297.5 204.3 L297.5 206.4 L297.5 208.5 L297.4 210.6 L297.3 212.7 L297.1 214.8 L296.9 216.9 L296.6 219.0 L296.3 221.1 L295.9 223.2 L295.4 225.2 L294.9 227.3 L294.4 229.3 L293.8 231.3 L293.1 233.3 L292.3 235.3 L291.5 237.2 L290.7 239.1 L289.8 241.0 L288.9 242.9 L288.0 244.8 L287.0 246.7 L286.0 248.5 L285.0 250.4 L284.1 252.3 L283.7 254.0 L285.6 254.9 L287.4 255.8 L289.3 256.8 L291.1 257.8 L292.9 258.9 L294.7 260.1 L296.3 261.4 L297.9 262.8 L299.4 264.3 L300.7 265.9 L302.0 267.6 L303.2 269.3 L304.3 271.1 L305.4 272.9 L306.3 274.8 L307.2 276.7 L308.1 278.6 L308.8 280.6 L309.5 282.6 L310.1 284.6 L310.6 286.6 L311.0 288.7 L311.3 290.8 L311.6 292.8 L311.7 294.9 L311.8 297.0 L311.8 299.2 L311.6 301.3 L311.4 303.3 L311.1 305.4 L310.8 307.5 L310.3 309.6 L309.8 311.6 L309.2 313.6 L308.6 315.6 L307.8 317.6 L307.0 319.5 L306.2 321.4 L305.2 323.3 L304.3 325.2 L303.2 327.0 L302.1 328.8 L300.9 330.5 L299.6 332.2 L298.3 333.8 L296.9 335.4 L295.4 336.9 L293.8 338.3 L292.2 339.7 L290.5 340.9 L288.8 342.1 L287.0 343.1 L289.3 346.0 L293.1 349.4 L296.4 353.3 L299.0 357.8 L300.6 362.6 L301.1 367.7 L300.7 372.8 L299.5 377.8 L297.8 382.6 L295.6 387.3 L293.0 391.7 L289.7 395.6 L285.9 399.0 L281.6 401.8 L277.1 403.9 L280.0 407.9 L282.7 412.3 L284.9 416.9 L286.5 421.8 L287.4 426.8 L287.4 432.0 L286.6 437.0 L284.7 441.8 L282.0 446.1 L278.8 449.9 L282.8 453.0 L286.2 456.7 L288.7 461.2 L290.0 466.2 L290.1 471.3 L289.3 476.3 L287.9 481.3 L286.0 486.0 L286.2 489.8 L290.9 492.0 L295.2 494.6 L299.1 498.0 L302.2 502.0 L304.0 506.8 L304.5 511.9 L308.2 513.8 L313.1 515.2 L317.8 517.2 L322.0 515.0 L326.4 512.5 L331.3 510.8 L336.3 510.0 L341.5 510.2 L346.4 511.3 L349.1 506.9 L351.8 502.6 L354.6 498.3 L358.1 494.5 L362.1 491.4 L366.7 489.1 L371.6 487.6 L376.7 487.1 L381.8 487.5 L386.7 488.9 L388.5 484.7 L390.3 480.0 L392.8 475.5 L395.9 471.4 L399.5 467.8 L403.8 465.0 L408.7 463.5 L413.8 463.3 L418.8 464.3 L423.4 466.6 L425.9 462.3 L428.6 458.0 L431.8 453.9 L435.4 450.3 L439.4 447.2 L444.0 444.8 L448.8 443.1 L453.9 442.2 L459.0 442.1 L463.6 444.0 L466.9 447.9 L470.1 446.7 L473.8 443.1 L478.0 440.2 L482.8 438.3 L487.8 437.4 L492.9 437.5 L497.9 438.6 L502.6 440.7 L506.7 443.8 L510.1 447.6 L512.7 452.0 L517.6 450.5 L522.7 450.8 L527.6 452.3 L532.2 454.6 L536.5 457.4 L540.3 460.9 L543.6 464.8 L546.5 469.0 L550.1 472.6 L553.7 476.2 L557.4 479.9 L560.8 483.6 L564.2 487.5 L567.3 491.6 L570.2 495.8 L572.9 500.2 L575.3 504.7 L577.3 509.4 L579.1 514.2 L580.5 519.2 L581.3 524.2 L581.5 529.4 L580.9 534.5 L579.4 539.3 L576.8 543.7 L573.3 547.5 L569.2 550.6 L564.7 553.1 L560.0 555.0 L555.0 556.2 L549.9 556.8 L544.8 556.6 L539.7 555.9 L534.6 555.1 L529.6 554.4 L525.5 556.9 L522.4 560.9 L519.9 565.4 L517.2 569.7 L513.2 572.9 L508.6 571.5 L506.1 567.1 L504.3 562.3 L501.6 562.2 L499.8 567.0 L498.0 571.8 L494.4 575.1 L489.8 573.2 L486.9 569.0 L483.5 565.2 L479.4 562.1 L477.0 563.9 L475.8 568.8 L474.5 573.8 L473.3 578.8 L472.1 583.8 L470.4 588.6 L467.9 593.1 L464.0 596.3 L459.1 596.0 L455.0 593.0 L451.5 589.2 L448.1 585.4 L444.1 582.2 L442.4 585.7 L441.0 590.7 L439.2 595.5 L437.0 600.1 L434.3 604.5 L432.6 609.3 L431.0 614.1 L429.2 618.9 L427.2 623.7 L424.9 628.2 L420.9 631.3 L416.0 630.7 L412.3 627.3 L409.1 623.2 L406.2 619.0 L403.4 614.7 L400.6 615.4 L398.7 620.1 L396.6 624.8 Z");
    --butterflyCld: path("M356.8 569.2 L351.2 567.2 L345.4 566.0 L339.6 566.3 L334.2 568.9 L330.0 573.0 L325.9 577.3 L322.1 581.8 L319.5 587.2 L317.8 592.8 L315.8 598.1 L312.5 594.1 L310.5 588.5 L308.2 583.0 L305.1 578.0 L301.0 573.7 L295.9 570.7 L290.2 569.2 L284.3 569.4 L278.5 570.7 L273.1 573.2 L268.4 576.7 L263.3 579.0 L260.5 574.0 L258.6 568.4 L256.8 562.7 L254.9 557.1 L252.9 551.5 L250.9 545.9 L248.7 540.4 L246.4 535.0 L243.8 529.6 L240.9 524.5 L237.9 519.4 L234.9 514.3 L231.8 509.2 L228.8 504.1 L225.8 499.0 L222.8 493.9 L219.6 488.8 L216.4 483.9 L213.1 478.9 L209.9 474.0 L208.1 472.7 L209.2 478.5 L210.2 484.3 L211.1 490.2 L211.8 496.1 L212.3 502.0 L212.6 507.9 L212.4 513.8 L211.6 519.7 L209.8 525.4 L207.2 530.7 L202.7 533.9 L197.1 532.0 L191.8 529.4 L187.2 525.6 L183.3 521.2 L179.8 516.4 L176.6 511.4 L173.6 506.3 L170.8 501.1 L168.0 495.8 L165.5 490.5 L163.0 485.1 L160.8 479.6 L158.6 474.1 L156.5 468.5 L154.1 463.2 L150.6 458.4 L147.7 453.2 L144.8 448.1 L142.2 442.7 L140.4 437.1 L138.2 432.4 L132.3 432.3 L126.4 432.6 L120.5 432.9 L115.5 434.7 L113.2 440.2 L110.9 445.6 L108.5 451.1 L106.3 456.6 L104.1 462.1 L101.9 467.6 L99.8 473.1 L100.4 468.1 L101.8 462.3 L103.4 456.6 L104.8 450.8 L106.5 445.1 L108.3 439.5 L110.3 433.9 L112.4 428.4 L118.2 427.5 L124.1 426.7 L130.0 426.0 L135.9 425.4 L132.9 422.1 L127.0 422.1 L121.1 422.1 L115.1 422.1 L109.2 422.2 L103.3 422.5 L98.2 424.9 L94.4 429.4 L90.8 434.1 L87.2 438.8 L83.6 443.5 L84.8 440.2 L87.3 434.9 L89.8 429.5 L92.4 424.2 L94.9 418.8 L100.3 417.2 L106.1 416.2 L112.0 415.4 L117.9 415.2 L123.9 415.0 L123.9 413.6 L118.4 411.3 L112.9 409.0 L107.5 406.7 L102.0 404.4 L96.5 402.1 L91.4 403.6 L86.5 406.9 L82.0 410.8 L77.6 414.7 L74.4 416.5 L78.5 412.1 L82.6 407.8 L86.7 403.6 L91.0 399.5 L95.7 397.2 L101.2 399.4 L106.7 401.6 L112.3 403.5 L117.9 405.4 L123.5 407.4 L129.1 409.3 L132.2 407.9 L131.7 402.0 L129.1 397.4 L124.1 394.4 L119.0 391.3 L113.9 388.2 L109.1 384.8 L104.6 381.5 L98.9 383.0 L93.1 384.5 L87.4 385.9 L81.6 387.4 L75.9 388.9 L78.4 386.6 L83.6 383.8 L89.0 381.3 L94.5 379.1 L100.0 376.9 L105.4 375.5 L110.1 379.2 L114.9 382.5 L120.0 385.6 L125.2 388.5 L130.5 391.1 L131.4 386.2 L131.8 380.2 L127.3 376.8 L123.8 372.1 L122.4 366.4 L123.2 360.6 L125.8 355.3 L124.0 350.5 L121.8 348.1 L119.4 346.0 L116.9 344.1 L114.2 342.4 L111.5 340.8 L108.7 339.2 L105.9 337.7 L103.2 336.1 L100.4 334.4 L97.7 332.7 L95.1 331.0 L92.4 329.2 L89.8 327.4 L87.2 325.6 L84.6 323.7 L82.1 321.8 L79.6 319.9 L77.2 317.8 L75.0 315.5 L72.9 313.0 L71.1 310.4 L69.6 307.6 L68.4 304.7 L67.5 301.6 L67.0 298.5 L66.9 295.3 L69.0 292.3 L72.9 292.5 L75.4 295.6 L76.1 299.6 L75.9 303.7 L75.7 307.8 L77.3 311.1 L80.3 313.9 L83.4 316.5 L86.7 318.9 L90.0 321.3 L93.4 323.6 L96.8 325.8 L100.2 328.1 L103.6 330.3 L107.0 332.6 L110.4 334.8 L113.7 337.2 L117.0 339.6 L120.2 342.1 L123.3 344.7 L126.3 347.5 L129.3 350.2 L131.2 350.1 L133.3 349.3 L135.5 348.5 L136.3 347.2 L135.4 345.1 L134.4 343.0 L133.5 340.9 L132.6 338.8 L131.6 336.7 L130.3 334.8 L129.1 332.9 L127.8 330.9 L126.6 329.0 L125.3 327.1 L124.0 325.2 L122.7 323.3 L121.4 321.4 L120.1 319.6 L118.7 317.7 L117.4 315.8 L116.0 314.0 L114.6 312.2 L113.2 310.3 L111.8 308.5 L110.3 306.8 L108.9 305.0 L107.4 303.2 L106.0 301.4 L104.6 299.5 L103.3 297.7 L102.0 295.8 L100.7 293.9 L99.5 291.9 L98.4 289.9 L97.3 287.9 L96.4 285.8 L95.4 283.7 L94.6 281.6 L93.7 279.4 L92.9 277.3 L92.1 275.1 L91.7 272.9 L91.5 270.6 L91.7 268.3 L92.0 266.0 L93.3 264.2 L95.5 264.0 L97.7 264.5 L100.6 265.9 L102.5 268.6 L103.2 271.7 L103.0 275.0 L102.2 278.2 L101.5 281.4 L101.4 284.6 L102.4 287.7 L104.3 290.4 L106.4 292.9 L108.4 295.4 L110.5 298.0 L112.6 300.5 L114.6 303.1 L116.4 305.8 L118.3 308.4 L120.2 311.1 L122.0 313.8 L123.9 316.5 L125.8 319.1 L127.7 321.8 L129.5 324.6 L131.2 327.3 L133.0 330.0 L134.8 332.8 L136.6 335.5 L137.2 335.5 L136.1 329.3 L134.9 323.1 L133.8 316.9 L132.6 310.8 L131.5 304.6 L130.3 298.4 L129.2 292.2 L128.2 286.0 L127.4 279.8 L126.6 273.5 L125.8 267.3 L125.0 261.0 L124.2 254.8 L123.4 248.6 L122.6 242.3 L121.8 236.1 L121.0 229.8 L120.2 223.6 L119.4 217.4 L118.6 211.1 L117.9 204.9 L117.3 198.6 L116.8 192.4 L116.4 186.1 L116.0 179.8 L115.8 173.5 L115.7 167.2 L115.6 160.9 L115.6 154.6 L115.6 148.3 L115.6 142.1 L115.8 135.8 L116.0 129.5 L116.3 123.2 L116.7 116.9 L117.2 110.7 L117.8 104.4 L118.4 98.1 L119.2 91.9 L120.0 85.6 L120.9 79.4 L121.9 73.2 L122.9 67.0 L123.9 60.8 L125.0 54.6 L126.1 48.4 L127.1 42.2 L128.3 36.0 L129.8 29.9 L131.7 23.9 L135.1 20.8 L140.3 23.8 L143.4 29.3 L145.6 35.2 L147.4 41.2 L148.9 47.3 L150.2 53.5 L151.3 59.7 L152.2 65.9 L152.9 72.1 L153.6 78.4 L155.0 84.2 L159.3 88.8 L162.8 94.1 L164.9 100.0 L165.3 106.2 L165.3 112.5 L167.2 117.9 L171.2 122.8 L173.8 128.5 L175.5 134.5 L178.5 139.9 L182.1 145.0 L185.3 150.5 L187.8 156.2 L189.8 162.2 L191.1 168.4 L192.1 174.4 L196.9 178.4 L200.9 183.3 L203.6 188.9 L205.0 195.1 L205.3 201.3 L205.3 207.6 L209.3 207.6 L213.2 212.5 L215.6 218.3 L216.5 224.5 L219.1 228.1 L222.8 233.1 L225.5 238.8 L227.1 244.9 L228.9 250.6 L232.5 255.7 L234.4 261.7 L234.5 268.0 L234.3 273.8 L237.5 279.2 L239.0 285.3 L238.4 291.6 L237.6 297.8 L239.4 303.8 L240.9 309.8 L242.2 315.0 L247.5 311.6 L252.8 308.2 L258.0 304.7 L263.2 301.2 L268.4 297.7 L273.7 294.3 L279.0 290.9 L284.4 287.6 L289.7 284.3 L295.1 281.1 L300.6 278.0 L306.1 274.9 L311.6 271.9 L317.2 269.0 L322.8 266.2 L328.5 263.5 L334.2 260.8 L340.0 258.3 L345.7 255.8 L351.5 253.2 L357.2 250.7 L363.0 248.2 L368.8 245.7 L374.5 243.2 L380.4 240.8 L386.2 238.5 L392.2 236.3 L398.1 234.3 L404.1 232.3 L410.2 230.5 L416.2 228.8 L422.3 227.2 L428.4 225.7 L434.6 224.3 L440.7 223.0 L446.9 221.8 L453.1 220.6 L459.3 219.4 L465.5 218.2 L471.7 217.1 L477.9 216.0 L484.1 215.0 L490.4 214.1 L496.6 213.3 L502.9 212.7 L509.2 212.3 L515.5 212.0 L521.8 211.6 L528.1 211.3 L534.4 210.9 L540.6 210.6 L546.9 210.2 L553.2 209.9 L559.5 209.7 L565.8 209.6 L572.1 209.5 L578.4 209.5 L584.7 210.3 L590.8 211.9 L591.4 213.8 L585.2 214.7 L578.9 215.6 L572.8 217.1 L567.8 220.8 L566.0 226.7 L568.5 232.4 L573.0 236.8 L575.9 241.6 L569.9 241.5 L563.6 241.7 L557.4 242.7 L551.4 244.5 L545.6 247.0 L540.2 250.3 L536.1 255.0 L533.6 260.8 L534.5 266.9 L535.9 271.9 L529.7 270.6 L523.5 270.3 L517.5 272.0 L512.6 275.9 L508.6 280.8 L505.4 286.3 L503.5 292.2 L504.6 298.3 L507.8 303.7 L502.5 303.0 L496.5 300.9 L490.3 301.0 L484.7 303.7 L480.7 308.6 L479.7 314.6 L484.4 318.7 L483.2 321.8 L476.9 321.1 L470.7 321.5 L464.8 323.9 L459.9 327.7 L456.2 332.8 L454.6 338.9 L455.3 345.1 L457.0 351.0 L451.1 351.3 L444.8 351.9 L439.2 354.6 L434.5 358.8 L435.0 364.8 L438.7 369.1 L435.2 370.2 L428.9 370.2 L423.4 373.0 L419.8 378.1 L421.0 384.1 L421.2 388.6 L415.0 388.0 L408.8 389.1 L403.6 392.6 L400.3 397.9 L399.9 404.1 L402.8 409.7 L407.4 414.0 L412.8 417.2 L418.6 419.7 L424.6 421.7 L430.5 423.6 L428.5 428.4 L426.1 434.1 L427.3 440.2 L430.1 445.8 L433.9 450.9 L438.2 455.5 L442.2 459.9 L437.8 462.2 L431.6 462.6 L425.6 464.7 L420.8 468.6 L416.6 473.3 L413.6 478.8 L412.3 485.0 L412.7 491.3 L414.7 497.2 L418.0 502.6 L421.9 507.5 L417.3 509.1 L411.0 509.9 L405.1 512.0 L399.9 515.5 L395.9 520.3 L396.2 526.5 L399.2 532.0 L403.5 536.5 L408.1 540.8 L412.8 545.1 L417.6 549.2 L422.2 553.5 L426.7 557.9 L431.1 562.4 L435.4 567.0 L439.6 571.7 L443.7 576.5 L447.6 581.4 L451.6 586.3 L455.5 591.2 L459.5 596.1 L463.5 601.0 L467.3 606.0 L470.9 611.2 L474.5 616.4 L477.9 621.6 L475.9 623.4 L471.4 619.0 L466.8 614.6 L462.3 610.2 L457.6 606.0 L452.9 601.9 L448.1 597.8 L443.3 593.6 L438.6 589.5 L433.8 585.4 L428.7 581.8 L423.4 578.3 L418.1 574.8 L412.9 571.4 L407.6 567.9 L402.3 564.5 L397.1 561.0 L391.6 557.9 L385.4 557.1 L379.7 559.6 L375.3 564.1 L372.8 569.8 L373.3 576.0 L375.5 582.0 L375.2 586.2 L371.0 581.6 L366.6 577.2 L361.8 573.0 Z");
}

/* shared box: fills the card like the old <img> did, and zooms on hover like it did */
.previewCld {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
}

.project-card:hover .previewCld,
.project-card:focus-visible .previewCld {
    transform: scale(1.05);
}


/* ---------- Aviaria: the flying Avianis girl loop ---------- */
.aviariaPreviewCld {
    background: #90bfe6 url('https://tobiasvyseri.com/Aviaria/images/poster.webp') 55% center / cover;
}

.aviariaPreviewCld video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;   /* keeps her in frame when the wide video is cropped to the card */
    display: block;
}


/* ---------- CSS Presentation: caterpillar to butterfly ---------- */
.cssPreviewCld {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgb(255, 221, 193);
}

.cssPreviewCld svg {
    width: 90%;
    height: 80%;
    margin-top: 2%;
}

.metamorphShapeCld {
    d: var(--caterpillarCld);
    fill: #7c602b;
    animation: metamorphosisCld 4s ease-in-out infinite alternate;
}

/* same keyframes as the presentation, but this one always plays */
@keyframes metamorphosisCld {
    0%, 15%   { d: var(--caterpillarCld); fill: #7c602b; }
    85%, 100% { d: var(--butterflyCld);   fill: #e4ac63; }
}


/* ---------- Avian Chess: the pieces parade past ---------- */
.chessPreviewCld {
    background:
        linear-gradient(rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 0.9)),
        url('https://tobiasvyseri.com/Aviaria/images/bg8bit.gif') repeat,
        #141414;
}

/* the cyan border sits on its own layer ABOVE the sprites, so they slide in under it */
.chessPreviewCld::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    box-shadow: inset 0 0 0 2px #25fff4;
    pointer-events: none;
}

/* more specific than .project-card img, so the sprites don't get stretched to fill the card */
.project-card .spriteCld {
    position: absolute;
    width: 32%;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
    transition: none;
    animation-duration: 12s, 0.5s;
    animation-timing-function: linear, steps(2);   /* steps() = chunky 8-bit hop */
    animation-iteration-count: infinite;
    /* 4 pieces per row, 12s each, so space them 3s apart */
    animation-delay: calc(var(--iCld) * -3s), 0s;
}

.whiteRowCld { top: 3%; animation-name: marchRightCld, hopCld; }
.blackRowCld { top: 33%; animation-name: marchLeftCld, hopCld; }

@keyframes marchRightCld {
    from { left: -35%; }
    to   { left: 103%; }
}

@keyframes marchLeftCld {
    from { left: 103%; }
    to   { left: -35%; }
}

/* uses translate (not transform) so it doesn't clash with anything else */
@keyframes hopCld {
    from { translate: 0 0; }
    to   { translate: 0 -6%; }
}


/* ---------- reduced motion: everything holds still ---------- */
@media (prefers-reduced-motion: reduce) {
    .previewCld,
    .previewCld * {
        animation: none !important;
        transition: none !important;
    }

    .aviariaPreviewCld video { display: none; }   /* poster background shows instead */
    .metamorphShapeCld { d: var(--butterflyCld); fill: #e4ac63; }
    .spriteCld { left: calc(var(--iCld) * 24%); }
}


/* claude use link: https://claude.ai/share/eb9f703a-9817-4356-a689-109a0c714227

used for a lot of the animation stuff and div shape creation 
used for content swap links 
used for getting that stupid image in the right spot
used for helping getting the menu to slide properly and hide when not clicked
it also taught me to define document colors
used to help make the custom cursor stuff work
used to do some of the responsive slope for the imagery as well as anti-aliasing
got the idea to use my hover for focus-visible stuff. 
overall claude wasn't used to write the code directly into the file but many blocks were assessed and modified after being pulled from claude.*/