@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Nunito:wght@400;600;700;800&display=swap');

/* =========================================
   PORTFOLIO - LOVELY-LYN L. JUMAO-AS
   FUN & COLORFUL RESPONSIVE STYLESHEET
   Palette: Antique White · Puce · Moss Green · Pink
========================================= */


/* =========================================
   1. GLOBAL SETTINGS & THEME COLORS
========================================= */

:root {
    /* Your palette */
    --antique-white: #FAEBD7;
    --puce:          #CC8899;
    --moss-green:    #939D7A;
    --pink:          #F8DCD9;

    /* Deeper tones of your palette, used only where text
       has to stay readable on the light colors */
    --plum:          #3A2229;   /* main text */
    --puce-deep:     #96495E;   /* accent text */
    --moss-deep:     #5E6849;   /* small labels */

    /* Fun "sticker" shadow */
    --pop-shadow:    6px 6px 0 var(--plum);
    --pop-shadow-lg: 10px 10px 0 var(--plum);

    /* Polka-dot patterns */
    --dots-puce: radial-gradient(rgba(204,136,153,0.35) 2px, transparent 2.5px);
    --dots-moss: radial-gradient(rgba(147,157,122,0.35) 2px, transparent 2.5px);
    --dots-cream: radial-gradient(rgba(250,235,215,0.45) 2px, transparent 2.5px);

    --display: 'Cherry Bomb One', 'Arial Rounded MT Bold', sans-serif;
    --body: 'Nunito', Arial, sans-serif;
    --page-pad: 6%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    min-height: 100vh;
    background: var(--antique-white);
    color: var(--plum);
    font-family: var(--body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--puce);
    color: var(--plum);
}

/* Colorful scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--pink);
}

::-webkit-scrollbar-thumb {
    background: var(--moss-green);
    border: 3px solid var(--pink);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--puce);
}

/* =========================================
   2. NAVIGATION
========================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 75px;
    padding: 18px var(--page-pad);

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(248, 220, 217, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 3px dashed var(--puce);

    z-index: 1000;
}

.nav__logo {
    color: var(--moss-deep);
    text-decoration: none;
    font-family: var(--display);
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.nav__logo:hover {
    transform: rotate(-3deg) scale(1.05);
}

.nav__logo span {
    color: var(--puce-deep);
    font-style: italic;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav__links a {
    position: relative;
    color: var(--moss-deep);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav__links a::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 4px;
    background: var(--puce);
    transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    color: var(--puce-deep);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
    width: 100%;
}


/* =========================================
   3. SHARED HERO PIECES
========================================= */

.hero__scrim {
    position: absolute;
    inset: 0;
    background: var(--pink);
}

.hero__eyebrow,
.section-label {
    display: inline-block;
    color: var(--moss-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero__role {
    margin-top: 28px;
    font-size: clamp(14px, 2vw, 19px);
    letter-spacing: 2px;
    color: var(--moss-deep);
}

.hero__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
    padding: 14px 26px;

    background: var(--puce);
    color: var(--plum);

    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;

    border: 2px solid var(--plum);
    border-radius: 999px;
    box-shadow: var(--pop-shadow);

    transition: 0.3s ease;
}

.hero__button:hover {
    background: var(--moss-green);
    transform: translate(-3px, -3px) rotate(-2deg);
    box-shadow: 9px 9px 0 var(--plum);
}

.hero__button:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--plum);
}


/* =========================================
   4. MAIN HERO - TWO COLUMN LAYOUT
========================================= */

.main-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;

    padding: 120px 8% 70px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;

    background:
        var(--dots-puce) 0 0 / 28px 28px,
        radial-gradient(circle at 78% 40%, var(--pink) 0%, var(--antique-white) 70%);

    overflow: visible;
}

/* Floating color blobs */
.main-hero::before,
.main-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blobFloat 9s ease-in-out infinite alternate;
}

.main-hero::before {
    width: 260px;
    height: 260px;
    top: 14%;
    left: -80px;
    background: var(--moss-green);
    opacity: 0.35;
}

.main-hero::after {
    width: 180px;
    height: 180px;
    bottom: 8%;
    right: 38%;
    background: var(--puce);
    opacity: 0.35;
    animation-delay: -4s;
}

@keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, -25px) scale(1.12); }
}

/* LEFT SIDE */

.main-hero__content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.main-hero__name {
    display: flex;
    flex-direction: column;

    color: var(--plum);
    font-family: var(--display);
    font-size: clamp(56px, 8vw, 170px);
    font-weight: normal;
    line-height: 0.98;
    letter-spacing: -3px;
    margin: 0;

    text-shadow: 5px 5px 0 var(--puce);
}

.main-hero__name span:last-child {
    color: var(--puce-deep);
    font-style: italic;
    padding-left: 0;
    text-shadow: 5px 5px 0 var(--moss-green);
}

.main-hero__role {
    display: inline-block;
    margin-top: 25px;
    padding: 6px 14px;

    background: var(--moss-green);
    color: var(--plum);

    font-size: 17px;
    font-weight: bold;
    letter-spacing: 2px;

    border-radius: 999px;
    transform: rotate(-1.5deg);
}

.main-hero__description {
    max-width: 480px;
    margin-top: 18px;

    color: var(--plum);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   5. RIGHT SIDE - HANGING ID CARD
========================================= */

.main-hero__card {
    position: relative;
    min-height: 700px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 0;
    overflow: visible;
    z-index: 2;
}

/* LANYARD */

.rig {
    --L: 150px;

    position: relative;
    width: 0;
    height: 0;

    transform-origin: top center;
    animation: idGentleSwing 6s ease-in-out infinite alternate;

    cursor: grab;
    touch-action: pan-y;
    z-index: 2;
}

@keyframes idGentleSwing {
    from { transform: rotate(-1.5deg); }
    to   { transform: rotate(1.5deg); }
}

/* Candy-striped strap */
.strap {
    position: absolute;
    top: 0;
    left: -16px;

    width: 32px;
    height: var(--L);

    background:
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 12px,
            rgba(250, 235, 215, 0.7) 12px,
            rgba(250, 235, 215, 0.7) 14px
        ),
        linear-gradient(
            90deg,
            var(--puce) 0 28%,
            var(--moss-green) 28% 72%,
            var(--puce) 72% 100%
        );

    border-radius: 3px;
    box-shadow: 0 5px 12px rgba(58, 34, 41, 0.2);

    transform-origin: top center;
    transition: transform 0.35s cubic-bezier(.2, .8, .3, 1);
}

/* Rose-gold clip */
.clip {
    position: absolute;
    top: calc(var(--L) - 4px);
    left: -13px;

    width: 26px;
    height: 35px;

    background: linear-gradient(
        90deg,
        #D9A8A6,
        #FFF4EE,
        #D9A8A6
    );

    border: 1px solid var(--puce-deep);
    border-radius: 6px;
    z-index: 3;

    transition: transform 0.35s ease;
}

.clip::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    left: 6px;
    top: 10px;

    background: var(--plum);
    border: 2px solid var(--pink);
    border-radius: 50%;
}

/* ID CARD */

.card {
    position: absolute;
    top: calc(var(--L) + 24px);
    left: -165px;

    width: 330px;
    min-height: 500px;
    padding: 0;

    /* Soft pink gingham */
    background:
        repeating-linear-gradient(
            0deg,
            rgba(248, 220, 217, 0.55) 0 10px,
            transparent 10px 20px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(248, 220, 217, 0.55) 0 10px,
            transparent 10px 20px
        ),
        var(--antique-white);
    color: var(--plum);
    font-family: var(--body);

    border: 3px solid var(--plum);
    border-radius: 18px;
    overflow: hidden;

    box-shadow: var(--pop-shadow-lg);

    cursor: grab;
    user-select: none;

    transform-origin: top center;
    transition:
        transform 0.35s cubic-bezier(.2, .8, .3, 1),
        box-shadow 0.3s ease;
}

/* Card header */
.id-header {
    height: 48px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--puce);
    color: var(--plum);
    border-bottom: 3px solid var(--plum);
}

.id-brand {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.id-symbol {
    font-size: 17px;
    color: var(--antique-white);
}

/* Portrait */
.id-photo {
    width: calc(100% - 32px);
    height: 260px;

    margin: 16px auto 0;
    padding: 0;

    overflow: hidden;
    background: var(--pink);

    border: 3px solid var(--plum);
    border-radius: 12px;
}

.id-photo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;
}

/* Details */
.id-details {
    padding: 15px 22px 12px;
    text-align: left;
}

.id-label {
    color: var(--puce-deep);
    font-family: var(--body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 7px;
}

.id-details h2 {
    color: var(--plum);
    font-family: var(--body);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0;
}

.id-role {
    color: var(--moss-deep);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 600;
    margin: 6px 0 12px;
}

/* Wavy squiggle divider */
.id-divider {
    width: 100%;
    height: 8px;
    margin: 10px 0 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='8' viewBox='0 0 20 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4' fill='none' stroke='%23CC8899' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 20px 8px;
}

.id-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 8px;
    text-align: left;
}

.id-info div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.id-info span {
    color: var(--moss-deep);
    font-family: var(--body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.id-info strong {
    color: var(--plum);
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
}

/* Card footer */
.id-footer {
    min-height: 34px;
    padding: 0 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: var(--moss-green);
    color: var(--plum);
    border-top: 3px solid var(--plum);

    font-family: var(--body);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

/* =========================================
   ID CARD — CUTE AESTHETIC DETAILS
   (all CSS, no HTML changes needed)
========================================= */

/* Scalloped edge under the header */
.id-header {
    position: relative;
    z-index: 2;
    border-bottom: none;
}

.id-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 10px;
    background: radial-gradient(circle at 10px 0, var(--puce) 9px, var(--plum) 9.5px 11px, transparent 11.5px) repeat-x 0 0 / 20px 10px;
}

/* Header symbol becomes a little badge */
.id-symbol {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;

    background: var(--antique-white);
    color: var(--puce-deep);
    border: 2px solid var(--plum);
    border-radius: 50%;

    font-size: 14px;
    animation: symbolWiggle 3s ease-in-out infinite;
}

@keyframes symbolWiggle {
    0%, 100% { transform: rotate(-8deg); }
    50%      { transform: rotate(8deg); }
}

/* Polaroid-style photo frame — works for .photo and .id-photo */
.photo,
.id-photo {
    position: relative;
    overflow: visible;              /* lets the tape and heart sit on the edges */
    padding: 8px;
    background: #FFFFFF;
    border: 3px solid var(--plum);
    border-radius: 10px;
    box-shadow: 4px 4px 0 var(--puce);
    transform: rotate(-1.5deg);
}

.photo {
    width: calc(100% - 32px);
    margin: 26px auto 0;
    aspect-ratio: 1 / 1.05;
}

.id-photo {
    margin-top: 26px;
}

.photo img,
.id-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 6px;

    /* stitched line inside the photo */
    outline: 2px dashed rgba(255, 255, 255, 0.85);
    outline-offset: -8px;
}

/* Washi tape across the top edge of the photo */
.photo::before,
.id-photo::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    z-index: 3;

    width: 96px;
    height: 22px;

    background: repeating-linear-gradient(
        45deg,
        rgba(147, 157, 122, 0.9) 0 6px,
        rgba(250, 235, 215, 0.9) 6px 12px
    );
    border-left: 2px dotted rgba(58, 34, 41, 0.25);
    border-right: 2px dotted rgba(58, 34, 41, 0.25);

    transform: translateX(-50%) rotate(-4deg);
    pointer-events: none;
}

/* Heart sticker on the bottom corner of the photo */
.photo::after,
.id-photo::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    z-index: 3;

    width: 46px;
    height: 46px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 28 C6 21 2 15 2 10 a7 7 0 0 1 14 -2 a7 7 0 0 1 14 2 c0 5 -4 11 -14 18z' fill='%23CC8899' stroke='%233A2229' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9 a3 3 0 0 1 4 -2' fill='none' stroke='%23FAEBD7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;

    transform: rotate(12deg);
    animation: heartBeat 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heartBeat {
    0%, 100% { transform: rotate(12deg) scale(1); }
    15%      { transform: rotate(12deg) scale(1.15); }
    30%      { transform: rotate(12deg) scale(1); }
    45%      { transform: rotate(12deg) scale(1.1); }
}

/* Small label tag next to "Designer ID" */
.id-label::before {
    content: "♡ ";
    color: var(--puce);
}

/* Info rows get soft pill backgrounds */
.id-info div {
    padding: 4px 10px;
    background: rgba(250, 235, 215, 0.85);
    border: 1px solid rgba(58, 34, 41, 0.15);
    border-radius: 999px;
}

/* Scalloped top edge on the footer */
.id-footer {
    position: relative;
    border-top: none;
}

.id-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -9px;
    height: 10px;
    background: radial-gradient(circle at 10px 10px, var(--moss-green) 9px, var(--plum) 9.5px 11px, transparent 11.5px) repeat-x 0 0 / 20px 10px;
}

/* Twinkling sparkles that swing with the card */
.rig::before,
.rig::after {
    content: "✦";
    position: absolute;
    z-index: 4;
    color: var(--puce);
    text-shadow: 2px 2px 0 var(--plum);
    pointer-events: none;
    animation: twinkle 2.2s ease-in-out infinite;
}

.rig::before {
    top: calc(var(--L) + 6px);
    left: 150px;
    font-size: 30px;
}

.rig::after {
    top: calc(var(--L) + 330px);
    left: -200px;
    font-size: 22px;
    color: var(--moss-green);
    animation-delay: -1.1s;
}

@keyframes twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50%      { transform: scale(0.6) rotate(45deg); opacity: 0.6; }
}


/* Card layout with .nameplate / .photo / .info (your current HTML) */

/* Name header with scalloped edge */
.nameplate {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;
    margin: 0;

    background: var(--puce);
    color: var(--plum);

    font-family: var(--display);
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.nameplate::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 10px;
    background: radial-gradient(circle at 10px 0, var(--puce) 9px, var(--plum) 9.5px 11px, transparent 11.5px) repeat-x 0 0 / 20px 10px;
}

/* Info box under the photo */
.info {
    margin: 22px 16px 16px;
    padding: 10px 12px;

    background: rgba(250, 235, 215, 0.92);
    border: 2px solid var(--plum);
    border-radius: 12px;

    font-size: 11px;
    line-height: 1.45;
}

.info p {
    margin-top: 4px;
}

.info strong:first-child,
.info b:first-child {
    color: var(--puce-deep);
}

.id {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 2px dotted var(--puce);
    font-size: 9px;
}


/* =========================================
   6. ELASTIC ID CARD INTERACTION
   (works with your .is-grabbed / .is-released JS)
========================================= */

.rig.is-grabbed {
    animation: none !important;
    cursor: grabbing;
}

.rig.is-grabbed .strap {
    transform: scaleY(1.18);
}

.rig.is-grabbed .clip {
    transform: translateY(15px);
}

.rig.is-grabbed .card {
    transform: translateY(15px) rotate(2deg);
    box-shadow: 14px 18px 0 var(--plum);
}

.rig.is-released .card {
    animation: elasticCardBounce 1.15s cubic-bezier(.2, .7, .3, 1);
}

.rig.is-released .strap {
    animation: elasticStrapBounce 1.15s ease-out;
}

.rig.is-released .clip {
    animation: elasticClipBounce 1.15s ease-out;
}

@keyframes elasticCardBounce {
    0%   { transform: translateY(15px) rotate(2deg); }
    25%  { transform: translateY(-24px) rotate(-5deg); }
    45%  { transform: translateY(12px) rotate(4deg); }
    65%  { transform: translateY(-9px) rotate(-2.5deg); }
    82%  { transform: translateY(4px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes elasticStrapBounce {
    0%   { transform: scaleY(1.18); }
    25%  { transform: scaleY(0.91); }
    45%  { transform: scaleY(1.08); }
    65%  { transform: scaleY(0.96); }
    82%  { transform: scaleY(1.02); }
    100% { transform: scaleY(1); }
}

@keyframes elasticClipBounce {
    0%   { transform: translateY(15px); }
    25%  { transform: translateY(-7px); }
    45%  { transform: translateY(5px); }
    65%  { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}


/* =========================================
   7. ABOUT SECTION — FLASHLIGHT REVEAL
========================================= */

.about-section {
    min-height: 100vh;
    padding: 110px 8%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;

    background:
        var(--dots-cream) 0 0 / 26px 26px,
        var(--moss-green);
    color: var(--plum);

    border-top: 4px solid var(--plum);
}

.about-content {
    max-width: 550px;
}

.about-content .section-label {
    color: var(--plum);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;

    padding: 6px 12px;
    background: var(--antique-white);
    border-radius: 999px;
}

.about-content h2 {
    color: var(--plum);
    font-family: var(--display);
    font-size: 40px;
    margin: 18px 0 25px;
}

.about-content p {
    color: var(--plum);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 24px;

    background: var(--antique-white);
    border: 2px solid var(--plum);
    border-radius: 999px;
    color: var(--plum);
    box-shadow: var(--pop-shadow);

    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;

    transition: 0.3s ease;
}

.about-button:hover {
    background: var(--puce);
    color: var(--plum);
    transform: translate(-3px, -3px) rotate(2deg);
    box-shadow: 9px 9px 0 var(--plum);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* Image container */
.flashlight-reveal {
    --flash-x: 50%;
    --flash-y: 50%;
    --flash-size: 125px;

    position: relative;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 4 / 5;

    overflow: hidden;
    isolation: isolate;

    background: var(--puce-deep);
    border: 4px solid var(--plum);
    border-radius: 24px;
    box-shadow: 14px 14px 0 var(--puce);

    cursor: crosshair;
    touch-action: pan-y;

    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.flashlight-reveal:hover {
    transform: rotate(0deg);
}

/* Both images share the same dimensions */
.flashlight-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    margin: 0;
    padding: 0;
    border: 0;
}

.flashlight-base {
    z-index: 1;
}

.flashlight-hidden {
    z-index: 2;
    opacity: 0;

    -webkit-mask-image: radial-gradient(
        circle var(--flash-size) at var(--flash-x) var(--flash-y),
        #000 0%,
        rgba(0, 0, 0, 0.95) 55%,
        transparent 100%
    );

    mask-image: radial-gradient(
        circle var(--flash-size) at var(--flash-x) var(--flash-y),
        #000 0%,
        rgba(0, 0, 0, 0.95) 55%,
        transparent 100%
    );

    transition: opacity 0.2s ease;
}

.flashlight-reveal.is-active .flashlight-hidden {
    opacity: 1;
}

/* Pink-tinted flashlight glow */
.flashlight-glow {
    position: absolute;
    z-index: 3;

    width: calc(var(--flash-size) * 2);
    height: calc(var(--flash-size) * 2);

    left: var(--flash-x);
    top: var(--flash-y);
    transform: translate(-50%, -50%);

    border-radius: 50%;
    pointer-events: none;
    opacity: 0;

    background: radial-gradient(
        circle,
        rgba(248, 220, 217, 0.22) 0%,
        rgba(250, 235, 215, 0.1) 45%,
        transparent 72%
    );

    box-shadow:
        inset 0 0 18px rgba(248, 220, 217, 0.15),
        0 0 25px rgba(204, 136, 153, 0.15);

    transition: opacity 0.25s ease;
}

.flashlight-reveal.is-active .flashlight-glow {
    opacity: 1;
}

.flashlight-instruction {
    position: absolute;
    z-index: 4;

    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    max-width: calc(100% - 24px);
    padding: 10px 15px;

    background: rgba(58, 34, 41, 0.85);
    color: var(--antique-white);

    font-size: 9px;
    letter-spacing: 1.5px;
    text-align: center;

    border: 2px solid var(--pink);
    border-radius: 999px;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

.flashlight-instruction span {
    color: var(--pink);
    font-weight: bold;
}

.flashlight-reveal.is-active .flashlight-instruction {
    opacity: 0;
}


/* =========================================
   8. SOCIAL MEDIA MANAGEMENT SECTION
========================================= */

.social-work {
    position: relative;
    min-height: 750px;
    padding: 110px 9%;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 40px;

    background:
        var(--dots-moss) 0 0 / 30px 30px,
        var(--pink);
    color: var(--plum);

    border-top: 4px solid var(--plum);
    overflow: visible;
}

.social-content {
    max-width: 550px;
    z-index: 2;
}

.social-content h2 {
    color: var(--plum);
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.1;
    margin: 22px 0;
    font-family: var(--display);
}

.social-content p {
    color: var(--plum);
    line-height: 1.9;
    font-size: 15px;
    max-width: 460px;
}

/* Colorful service "stickers" */
.social-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.social-services span {
    padding: 9px 16px;

    background: var(--antique-white);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 30px;
    box-shadow: 3px 3px 0 var(--plum);

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: transform 0.25s ease;
}

.social-services span:nth-child(3n + 1) {
    background: var(--puce);
}

.social-services span:nth-child(3n + 2) {
    background: var(--moss-green);
}

.social-services span:nth-child(odd):hover {
    transform: rotate(-4deg) scale(1.06);
}

.social-services span:nth-child(even):hover {
    transform: rotate(4deg) scale(1.06);
}

.social-button {
    display: inline-block;
    padding: 14px 25px;

    background: var(--puce);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 999px;
    box-shadow: var(--pop-shadow);

    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.social-button:hover {
    background: var(--moss-green);
    transform: translate(-3px, -3px) rotate(-2deg);
    box-shadow: 9px 9px 0 var(--plum);
}

/* DEVICES SIDE BY SIDE */

.device-showcase {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    width: 100%;
    min-width: 0;
}

/* PHONE */

.phone-area {
    position: relative;
    width: 185px;
    flex: 0 0 185px;
    min-height: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    perspective: 1000px;
}

.android-phone {
    position: relative;
    display: block;
    width: 185px;
    height: 390px;
    padding: 9px;

    border-radius: 42px;
    background: linear-gradient(
        145deg,
        var(--pink),
        var(--puce) 40%,
        var(--puce-deep)
    );

    border: 3px solid var(--plum);
    box-shadow: var(--pop-shadow-lg);

    transform: rotate(-4deg);
    transition: transform 0.4s ease;
}

.android-phone:hover {
    transform: rotate(0deg) translateY(-6px);
}

.phone-camera {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 65px;
    height: 15px;
    background: #08090A;
    border-radius: 20px;
    z-index: 5;
}

.phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    border-radius: 33px;
    overflow: hidden;
    background: #08090A;
}

.phone-status {
    position: relative;
    z-index: 3;

    height: 34px;
    padding: 8px 18px 0;

    display: flex;
    justify-content: space-between;

    color: var(--antique-white);
    font-size: 10px;
}

.reel-header {
    position: relative;
    z-index: 3;

    height: 40px;
    padding: 0 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: var(--plum);
    color: var(--antique-white);
    font-size: 11px;
}

.reel-container {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.reel-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--plum);
}

.reel-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    padding: 30px 15px 18px;
    background: linear-gradient(transparent, rgba(58, 34, 41, 0.75));

    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.reel-caption h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.reel-caption p {
    font-size: 10px;
    margin: 0;
    color: var(--pink);
}

.phone-bottom {
    height: 34px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    background: var(--plum);
    color: var(--antique-white);
    font-size: 12px;
}

.home-indicator {
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: var(--pink);
}

.phone-decoration {
    position: absolute;
    right: -95px;
    bottom: 35px;

    color: var(--puce-deep);
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
}

/* LAPTOP */

.laptop-area {
    width: min(100%, 540px);
    flex: 1 1 500px;
    max-width: 540px;
    min-width: 0;
    margin-top: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.laptop {
    position: relative;
    display: block;
    width: 100%;

    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.laptop:hover {
    transform: rotate(0deg) translateY(-6px);
}

.laptop-screen {
    position: relative;
    width: 100%;
    padding: 14px 12px 16px;

    background: var(--plum);
    border: 3px solid var(--plum);
    border-radius: 16px 16px 4px 4px;
    box-shadow: 10px 10px 0 var(--moss-green);
}

.laptop-camera {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);

    width: 5px;
    height: 5px;
    background: var(--puce);
    border-radius: 50%;
    z-index: 5;
}

.laptop-display {
    display: flex;
    flex-direction: column;
    height: 310px;
    overflow: hidden;

    background: #08090A;
    border-radius: 6px;
}

.laptop-topbar {
    height: 32px;
    padding: 0 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: var(--puce);
    color: var(--plum);

    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
}

.laptop-reels {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.laptop-reel-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--plum);
}

.laptop-reel-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.laptop-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    padding: 30px 20px 18px;
    background: linear-gradient(transparent, rgba(58, 34, 41, 0.75));

    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.laptop-caption h3 {
    font-size: 17px;
    margin: 0 0 5px;
}

.laptop-caption p {
    font-size: 11px;
    margin: 0;
    color: var(--pink);
}

.laptop-base {
    position: relative;
    height: 18px;
    width: 112%;
    margin-left: -6%;

    background: linear-gradient(
        180deg,
        var(--pink),
        var(--puce) 45%,
        var(--puce-deep)
    );

    border: 2px solid var(--plum);
    border-radius: 2px 2px 14px 14px;
    box-shadow: 10px 10px 0 var(--moss-green);
}

.laptop-base::after {
    content: "";
    position: absolute;
    top: 0;
    left: 40%;

    width: 20%;
    height: 4px;
    background: var(--plum);
    border-radius: 0 0 8px 8px;
}

.laptop-trackpad {
    position: absolute;
    top: 5px;
    left: 42%;

    width: 16%;
    height: 9px;
    border: 1px solid rgba(250, 235, 215, 0.6);
    border-radius: 2px;
}

.device-label {
    display: inline-block;
    margin-top: 25px;
    padding: 5px 12px;

    background: var(--antique-white);
    color: var(--puce-deep);
    border: 2px solid var(--plum);
    border-radius: 999px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
}


/* =========================================
   9. WORK / ABOUT / CONTACT SECTIONS
========================================= */

.content-section {
    min-height: 75vh;
    padding: 110px var(--page-pad);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        var(--dots-puce) 0 0 / 24px 24px,
        var(--antique-white);
    border-top: 4px solid var(--plum);
}

/* Alternate section colors for a fun rhythm */
.content-section:nth-of-type(even) {
    background:
        var(--dots-moss) 0 0 / 24px 24px,
        var(--pink);
}

.content-section h2 {
    margin-bottom: 20px;
    color: var(--puce-deep);

    font-family: var(--display);
    font-size: clamp(35px, 5vw, 55px);
    font-weight: normal;
    font-style: italic;

    text-shadow: 3px 3px 0 var(--pink);
}

.content-section > p:not(.section-label) {
    max-width: 650px;
    color: var(--plum);
    line-height: 1.8;
}


/* =========================================
   10. WORK PROJECT GRID
========================================= */

.work-grid {
    width: 100%;
    max-width: 1100px;
    margin-top: 45px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.work-card {
    padding: 12px;

    background: var(--pink);
    border: 3px solid var(--plum);
    border-radius: 18px;
    box-shadow: var(--pop-shadow);

    text-align: left;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.work-card:nth-child(3n + 2) {
    background: var(--antique-white);
}

.work-card:nth-child(3n) {
    background: #E4E7D9; /* soft moss tint */
}

.work-card:nth-child(odd):hover {
    transform: translate(-4px, -8px) rotate(-2deg);
    box-shadow: 12px 14px 0 var(--puce);
}

.work-card:nth-child(even):hover {
    transform: translate(-4px, -8px) rotate(2deg);
    box-shadow: 12px 14px 0 var(--moss-green);
}

.work-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border: 2px solid var(--plum);
    border-radius: 10px;
}

.work-card h3 {
    margin: 15px 0 6px;
    color: var(--puce-deep);
    font-size: 18px;
}

.work-card p {
    color: var(--plum);
    font-size: 13px;
}


/* =========================================
   11. CONTACT
========================================= */

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
    padding: 15px 28px;

    background: var(--puce);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 999px;
    box-shadow: var(--pop-shadow);

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s ease;
}

.contact-link:hover {
    background: var(--moss-green);
    transform: translate(-3px, -3px) rotate(-2deg);
    box-shadow: 9px 9px 0 var(--plum);
}


/* =========================================
   12. FOOTER
========================================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 25px var(--page-pad);

    background: var(--plum);
    color: var(--pink);
    border-top: 6px solid var(--puce);

    font-size: 12px;
}

.footer a {
    color: var(--puce);
    font-weight: bold;
    text-decoration: none;
}

.footer a:hover {
    color: var(--antique-white);
}


/* =========================================
   13. RESPONSIVE — LARGE TABLET (≤1050px)
========================================= */

@media (max-width: 1050px) {
    .device-showcase {
        gap: 20px;
    }

    .laptop-display {
        height: 260px;
    }
}

@media (max-width: 1000px) {
    .social-work {
        grid-template-columns: 1fr;
    }

    .device-showcase {
        max-width: 750px;
        margin: 0 auto;
    }

    .laptop-display {
        height: 310px;
    }
}


/* =========================================
   14. RESPONSIVE — TABLET (≤850px)
========================================= */

@media (max-width: 850px) {

    /* Hero */
    .main-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 120px 6% 60px;
        gap: 10px;
    }

    .main-hero__content {
        margin: auto;
    }

    .main-hero__name {
        font-size: clamp(48px, 10vw, 75px);
    }

    .main-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .main-hero__card {
        min-height: 690px;
        margin-top: 20px;
    }

    .rig {
        --L: 125px;
    }

    /* About */
    .about-section {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 90px 7%;
    }

    .about-content {
        max-width: 100%;
    }

    .about-visual {
        width: 100%;
    }

    .flashlight-reveal {
        max-width: 430px;
    }

    /* Social */
    .social-work {
        text-align: center;
        padding: 80px 7%;
    }

    .social-content {
        margin: auto;
    }

    .social-content p {
        margin: auto;
    }

    .social-services {
        justify-content: center;
    }

    .phone-decoration {
        right: 0;
    }

    /* Work grid & older layout pieces */
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-hero {
        background-attachment: scroll;
    }

    .id-section {
        min-height: 800px;
    }
}


/* =========================================
   15. RESPONSIVE — SMALL TABLET (≤750px)
========================================= */

@media (max-width: 750px) {
    .device-showcase {
        flex-direction: column;
        gap: 55px;
    }

    .phone-area {
        min-height: 550px;
    }

    .laptop-area {
        width: 100%;
        max-width: 500px;
        margin-top: 0;
    }

    .laptop-display {
        height: 260px;
    }
}


/* =========================================
   16. RESPONSIVE — MOBILE (≤600px)
========================================= */

@media (max-width: 600px) {

    .nav {
        min-height: 65px;
        padding: 15px 5%;
    }

    .nav__logo {
        font-size: 19px;
    }

    .nav__links {
        gap: 16px;
    }

    .nav__links a {
        font-size: 12px;
    }

    .intro-hero {
        min-height: 90svh;
        padding: 100px 6% 70px;
        background-position: center;
    }

    .hero__name {
        font-size: clamp(48px, 12vw, 75px);
        letter-spacing: -2px;
    }

    .hero__role {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero__eyebrow,
    .section-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .id-section {
        min-height: 730px;
        padding-top: 65px;
    }

    .content-section {
        min-height: 65vh;
        padding: 90px 6%;
    }

    .content-section h2 {
        font-size: 35px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   17. RESPONSIVE — SMALL PHONES (≤480px)
========================================= */

@media (max-width: 480px) {

    .main-hero {
        padding-top: 110px;
    }

    .main-hero__name {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .main-hero__role {
        font-size: 13px;
    }

    .main-hero__card {
        min-height: 650px;
    }

    .card {
        width: 300px;
        left: -150px;
    }

    .id-photo {
        height: 245px;
    }

    .id-details h2 {
        font-size: 19px;
    }

    .about-section {
        padding: 75px 6%;
    }

    .flashlight-reveal {
        --flash-size: 90px;
    }

    .flashlight-instruction {
        font-size: 8px;
    }

    .phone-decoration {
        display: none;
    }

    .laptop-display {
        height: 210px;
    }

    .laptop-caption h3 {
        font-size: 13px;
    }

    .laptop-screen {
        padding: 11px 9px 13px;
    }
}


/* =========================================
   18. ACCESSIBILITY — REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .rig,
    .card,
    .strap,
    .clip,
    .main-hero::before,
    .main-hero::after,
    .rig::before,
    .rig::after,
    .photo::after,
    .id-photo::after,
    .id-symbol {
        animation: none !important;
        transition: none !important;
    }

    .android-phone,
    .laptop,
    .flashlight-reveal {
        transition: none;
        transform: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   19. FONTS — CHERRY BOMB ONE + NUNITO
   Light pastel heading style
========================================= */

:root {
    --pastel-moss: #D7DCC8;   /* light tint of moss green for soft shadows */
}

/* Cherry Bomb One only comes in one weight, so keep headings at normal
   weight (stops the browser from faking a blurry bold) */
.main-hero__name,
.content-section h2,
.about-content h2,
.social-content h2,
.nav__logo,
.nameplate,
.work-card h3,
.id-details h2 {
    font-family: var(--display);
    font-weight: normal;
    font-style: normal;
}

/* Big pastel hero title */
.main-hero__name,
.main-hero__name span:last-child {
    color: var(--pink);
    font-style: normal;
    letter-spacing: 2px;
    -webkit-text-stroke: 3px var(--puce);
    paint-order: stroke fill;
    text-shadow:
        5px 5px 0 var(--pastel-moss),
        9px 9px 0 var(--moss-green);
}

/* Section headings in the same pastel style (smaller, so a deeper outline) */
.content-section h2,
.about-content h2,
.social-content h2 {
    color: var(--pink);
    letter-spacing: 1px;
    -webkit-text-stroke: 2px var(--puce-deep);
    paint-order: stroke fill;
    text-shadow: 4px 4px 0 var(--moss-green);
}

/* About section is moss green, so its heading shadow switches to puce */
.about-content h2 {
    text-shadow: 4px 4px 0 var(--puce);
}

/* Words in a <span> inside headings become puce for a two-tone look */
.about-content h2 span,
.social-content h2 span,
.content-section h2 span {
    color: var(--puce);
    font-style: normal;
}

/* Logo */
.nav__logo {
    font-size: 26px;
    color: var(--puce);
    -webkit-text-stroke: 1.5px var(--puce-deep);
    paint-order: stroke fill;
}

.nav__logo span {
    color: var(--moss-green);
    font-style: normal;
}

/* Rounded, extra-bold Nunito for buttons, labels and links */
.hero__button,
.about-button,
.social-button,
.contact-link,
.section-label,
.hero__eyebrow,
.main-hero__role,
.nav__links a,
.device-label,
.social-services span {
    font-family: var(--body);
    font-weight: 800;
}

body,
p {
    font-family: var(--body);
}

@media (max-width: 850px) {
    .main-hero__name,
    .main-hero__name span:last-child {
        -webkit-text-stroke-width: 2px;
        text-shadow:
            3px 3px 0 var(--pastel-moss),
            6px 6px 0 var(--moss-green);
    }

    .content-section h2,
    .about-content h2,
    .social-content h2 {
        -webkit-text-stroke-width: 1.5px;
    }
}


/* =========================================
   20. VIDEO SHOWCASE — ONE HORIZONTAL VIDEO
   (place the section right after .social-work)
========================================= */

.video-showcase {
    position: relative;
    padding: 100px 5% 110px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background:
        var(--dots-puce) 0 0 / 26px 26px,
        var(--antique-white);
    color: var(--plum);

    border-top: 4px solid var(--plum);
}

.video-showcase__header {
    margin-bottom: 45px;
}

.video-showcase__header h2 {
    margin: 10px 0 0;
    font-family: var(--display);
    font-weight: normal;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;

    color: var(--pink);
    -webkit-text-stroke: 2px var(--puce-deep);
    paint-order: stroke fill;
    text-shadow: 4px 4px 0 var(--moss-green);
}

.video-showcase__header h2 span {
    color: var(--puce);
}

.video-showcase__header p:not(.section-label) {
    max-width: 560px;
    margin: 16px auto 0;
    font-size: 15px;
    line-height: 1.8;
}

/* The single wide video in a polaroid-style frame */
.video-feature {
    position: relative;
    width: 100%;
    max-width: 1400px;              /* wide enough for a banner video */

    padding: 12px;
    background: #FFFFFF;
    border: 3px solid var(--plum);
    border-radius: 26px;
    box-shadow: 12px 12px 0 var(--puce);

    transform: rotate(-0.4deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-feature:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 16px 16px 0 var(--moss-green);
}

/* Washi tape on the two top corners */
.video-feature::before,
.video-feature::after {
    content: "";
    position: absolute;
    top: -14px;
    z-index: 3;

    width: 110px;
    height: 26px;

    background: repeating-linear-gradient(
        45deg,
        rgba(147, 157, 122, 0.9) 0 7px,
        rgba(250, 235, 215, 0.9) 7px 14px
    );
    border-left: 2px dotted rgba(58, 34, 41, 0.25);
    border-right: 2px dotted rgba(58, 34, 41, 0.25);
    pointer-events: none;
}

.video-feature::before {
    left: -24px;
    transform: rotate(-35deg);
}

.video-feature::after {
    right: -24px;
    transform: rotate(35deg);
    background: repeating-linear-gradient(
        45deg,
        rgba(204, 136, 153, 0.9) 0 7px,
        rgba(250, 235, 215, 0.9) 7px 14px
    );
}

.video-feature__media {
    overflow: hidden;
    border-radius: 16px;
    background: var(--plum);
    line-height: 0;                 /* removes the tiny gap under the video */
}

/* The box takes the video's own shape (your banner is about 5:1),
   so nothing gets cropped or zoomed */
.video-feature__media video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* YouTube embeds can't size themselves, so give them the banner shape */
.video-feature__media iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 1;
    border: 0;
}

/* Caption bar under the video */
.video-feature__caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;

    padding: 14px 8px 4px;
    text-align: left;
}

.video-feature__caption h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: normal;
    font-size: 20px;
    color: var(--puce-deep);
}

.video-feature__caption p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--plum);
}

.video-feature__tag {
    padding: 5px 14px;
    background: var(--moss-green);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 999px;

    font-family: var(--body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .video-showcase {
        padding: 75px 6% 80px;
    }

    .video-feature {
        padding: 8px;
        border-radius: 18px;
        box-shadow: 7px 7px 0 var(--puce);
        transform: none;
    }

    .video-feature__media {
        border-radius: 12px;
    }

    .video-feature::before,
    .video-feature::after {
        width: 80px;
        height: 20px;
        left: auto;
        right: auto;
    }

    .video-feature::before { left: -18px; }
    .video-feature::after  { right: -18px; }
}

@media (prefers-reduced-motion: reduce) {
    .video-feature,
    .video-feature:hover {
        transition: none;
        transform: none;
    }
}


/* =========================================
   21. SCRAPBOOK IMAGE CAROUSEL (HORIZONTAL)
========================================= */

.scrapbook {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
    color: var(--plum);

    /* Notebook paper: pink lines + a puce margin line */
    background:
        linear-gradient(90deg, transparent 0 7%, rgba(204, 136, 153, 0.55) 7% calc(7% + 2px), transparent calc(7% + 2px)),
        repeating-linear-gradient(180deg, transparent 0 31px, rgba(204, 136, 153, 0.28) 31px 32px),
        var(--antique-white);

    border-top: 4px solid var(--plum);
}

/* Torn-paper strip along the top */
.scrapbook::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: var(--pink);
    -webkit-mask: radial-gradient(circle at 12px 22px, transparent 10px, #000 10.5px) repeat-x 0 0 / 24px 22px;
    mask: radial-gradient(circle at 12px 22px, transparent 10px, #000 10.5px) repeat-x 0 0 / 24px 22px;
}

.scrapbook__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;

    padding: 0 9%;
    margin-bottom: 30px;
}

.scrapbook__header h2 {
    margin: 10px 0 0;
    font-family: var(--display);
    font-weight: normal;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;

    color: var(--pink);
    -webkit-text-stroke: 2px var(--puce-deep);
    paint-order: stroke fill;
    text-shadow: 4px 4px 0 var(--moss-green);
}

.scrapbook__header h2 span {
    color: var(--puce);
}

/* Little doodle next to the heading */
.scrapbook__header h2::after {
    content: "✿";
    display: inline-block;
    margin-left: 10px;
    font-size: 0.6em;
    color: var(--moss-green);
    -webkit-text-stroke: 0;
    text-shadow: none;
    transform: rotate(15deg);
}

/* Arrow buttons */
.scrapbook__arrows {
    display: flex;
    gap: 12px;
}

.scrapbook__arrow {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--pink);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--plum);

    font-family: var(--body);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.scrapbook__arrow:hover {
    background: var(--puce);
    transform: translate(-2px, -2px) rotate(-6deg);
    box-shadow: 6px 6px 0 var(--plum);
}

.scrapbook__arrow:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--plum);
}

/* The horizontal track */
.scrapbook__track {
    display: flex;
    gap: 46px;

    padding: 50px 9% 60px;          /* room for tape, pins and tilt */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 9%;
    scroll-behavior: smooth;

    scrollbar-width: none;
}

.scrapbook__track::-webkit-scrollbar {
    display: none;
}

/* One polaroid */
.scrap-item {
    position: relative;
    flex: 0 0 clamp(220px, 22vw, 290px);
    scroll-snap-align: start;

    margin: 0;
    padding: 12px 12px 0;
    background: #FFFFFF;
    border-radius: 3px;

    box-shadow:
        0 10px 20px rgba(58, 34, 41, 0.18),
        0 2px 4px rgba(58, 34, 41, 0.12);

    transform: rotate(var(--tilt, -3deg)) translateY(var(--drop, 0));
    transition: transform 0.35s cubic-bezier(.2, .8, .3, 1), box-shadow 0.35s ease;
}

/* Every photo gets its own tilt and height, like it was stuck on by hand */
.scrap-item:nth-child(5n + 1) { --tilt: -4deg; --drop: 0px; }
.scrap-item:nth-child(5n + 2) { --tilt: 3deg;  --drop: 22px; }
.scrap-item:nth-child(5n + 3) { --tilt: -2deg; --drop: 6px; }
.scrap-item:nth-child(5n + 4) { --tilt: 5deg;  --drop: 26px; }
.scrap-item:nth-child(5n + 5) { --tilt: -3deg; --drop: 10px; }

/* Colored paper scraps peeking out behind some photos */
.scrap-item:nth-child(3n + 1) {
    box-shadow:
        -12px 12px 0 -2px var(--pink),
        0 10px 20px rgba(58, 34, 41, 0.18);
}

.scrap-item:nth-child(3n + 2) {
    box-shadow:
        12px 14px 0 -2px rgba(147, 157, 122, 0.55),
        0 10px 20px rgba(58, 34, 41, 0.18);
}

.scrap-item:hover {
    z-index: 5;
    transform: rotate(0deg) translateY(-10px) scale(1.04);
    box-shadow:
        0 22px 34px rgba(58, 34, 41, 0.25),
        0 4px 8px rgba(58, 34, 41, 0.12);
}

.scrap-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: var(--pink);
}

/* Handwritten-style caption on the polaroid's bottom */
.scrap-item figcaption {
    padding: 12px 4px 16px;
    text-align: center;
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.2;
    color: var(--puce-deep);
}

.scrap-item figcaption small {
    display: block;
    margin-top: 3px;
    font-family: var(--body);
    font-size: 11px;
    color: var(--plum);
}

/* Washi tape on odd photos */
.scrap-item:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    z-index: 2;

    width: 100px;
    height: 28px;
    margin-left: -50px;

    background: repeating-linear-gradient(
        45deg,
        rgba(147, 157, 122, 0.88) 0 7px,
        rgba(250, 235, 215, 0.88) 7px 14px
    );
    border-left: 2px dotted rgba(58, 34, 41, 0.2);
    border-right: 2px dotted rgba(58, 34, 41, 0.2);
    transform: rotate(-5deg);
}

.scrap-item:nth-child(4n + 3)::before {
    background: repeating-linear-gradient(
        90deg,
        rgba(204, 136, 153, 0.85) 0 6px,
        rgba(248, 220, 217, 0.85) 6px 12px
    );
    transform: rotate(4deg);
}

/* Push pin on even photos */
.scrap-item:nth-child(even)::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    z-index: 2;

    width: 22px;
    height: 22px;
    margin-left: -11px;

    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #F8DCD9 0 18%, var(--puce) 20% 100%);
    border: 2px solid var(--plum);
    box-shadow: 2px 3px 0 rgba(58, 34, 41, 0.35);
}

/* Stickers on the corners */
.scrap-item:nth-child(3n + 1)::after,
.scrap-item:nth-child(3n + 2)::after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    pointer-events: none;
}

/* Heart sticker */
.scrap-item:nth-child(3n + 1)::after {
    right: -14px;
    bottom: 56px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 28 C6 21 2 15 2 10 a7 7 0 0 1 14 -2 a7 7 0 0 1 14 2 c0 5 -4 11 -14 18z' fill='%23CC8899' stroke='%233A2229' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9 a3 3 0 0 1 4 -2' fill='none' stroke='%23FAEBD7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(14deg);
}

/* Flower sticker */
.scrap-item:nth-child(3n + 2)::after {
    left: -16px;
    top: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23939D7A' stroke='%233A2229' stroke-width='1.6'%3E%3Ccircle cx='20' cy='9' r='7'/%3E%3Ccircle cx='31' cy='17' r='7'/%3E%3Ccircle cx='27' cy='30' r='7'/%3E%3Ccircle cx='13' cy='30' r='7'/%3E%3Ccircle cx='9' cy='17' r='7'/%3E%3C/g%3E%3Ccircle cx='20' cy='21' r='6' fill='%23F8DCD9' stroke='%233A2229' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(-12deg);
}

/* Dots */
.scrapbook__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.scrapbook__dot {
    width: 12px;
    height: 12px;
    padding: 0;

    background: var(--antique-white);
    border: 2px solid var(--plum);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
}

.scrapbook__dot.is-active {
    width: 30px;
    border-radius: 999px;
    background: var(--puce);
}

@media (max-width: 600px) {
    .scrapbook {
        padding: 75px 0 70px;
    }

    .scrapbook__header,
    .scrapbook__track {
        padding-left: 7%;
        padding-right: 7%;
    }

    .scrapbook__track {
        gap: 30px;
        scroll-padding-left: 7%;
    }

    .scrap-item {
        flex-basis: 68vw;
    }

    .scrapbook__arrows {
        display: none;              /* swipe on phones */
    }
}

@media (prefers-reduced-motion: reduce) {
    .scrapbook__track {
        scroll-behavior: auto;
    }

    .scrap-item,
    .scrap-item:hover {
        transition: none;
    }
}
/* "GO TO WEBSITE" BUTTON */
.video-feature__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--plum);
    cursor: pointer;
    transition: 0.25s ease;
}

.video-feature__button i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.video-feature__button:hover,
.video-feature__button:focus-visible {
    background: var(--puce);
    transform: translate(-2px, -2px) rotate(-2deg);
    box-shadow: 6px 6px 0 var(--plum);
}

.video-feature__button:hover i {
    transform: translate(2px, -2px);
}

.video-feature__button:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--plum);
}
/* =========================================
   23. PATTERNED BACKGROUNDS — HERO TO VIDEO
   Hero:   pink + puce vertical stripes
   About:  moss green petal (shippo) pattern
   Social: moss green horizontal stripes
   Video:  pink with red flowers
========================================= */

:root {
    --pattern-pink: #F3D2E2;   /* light pink from your pattern image */
    --flower-red:   #C72C50;   /* flower color from your pattern image */

    /* Cream "paper note" panels keep text readable on the patterns */
    --panel-bg: rgba(250, 235, 215, 0.95);
}

/* 1. HERO — vertical stripes */
.main-hero {
    background: repeating-linear-gradient(
        90deg,
        var(--puce) 0 44px,
        var(--pattern-pink) 44px 88px
    );
}

.main-hero::before,
.main-hero::after {
    display: none;             /* floating blobs off; the stripes take over */
}

/* 2. ABOUT — moss petal pattern */
.about-section {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' viewBox='0 0 68 68'%3E%3Crect width='68' height='68' fill='%23939D7A'/%3E%3Cg fill='%23F3D2E2'%3E%3Cpath d='M34 -34 A48.08 48.08 0 0 1 34 34 A48.08 48.08 0 0 1 34 -34Z'/%3E%3Cpath d='M34 34 A48.08 48.08 0 0 1 34 102 A48.08 48.08 0 0 1 34 34Z'/%3E%3Cpath d='M-34 34 A48.08 48.08 0 0 0 34 34 A48.08 48.08 0 0 0 -34 34Z'/%3E%3Cpath d='M34 34 A48.08 48.08 0 0 0 102 34 A48.08 48.08 0 0 0 34 34Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 68px 68px,
        var(--moss-green);
}

/* 3. SOCIAL MEDIA — horizontal stripes */
.social-work {
    background: repeating-linear-gradient(
        180deg,
        var(--moss-green) 0 40px,
        var(--pattern-pink) 40px 78px
    );
}

/* 4. VIDEO SHOWCASE — scattered red flowers */
.video-showcase {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='300' viewBox='0 0 320 300'%3E%3Cdefs%3E%3Cg id='f'%3E%3Cg fill='%23C72C50'%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10'/%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10' transform='rotate(60)'/%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10' transform='rotate(120)'/%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10' transform='rotate(240)'/%3E%3Cellipse cx='0' cy='-11' rx='7' ry='10' transform='rotate(300)'/%3E%3Ccircle r='9'/%3E%3C/g%3E%3Ccircle r='4' fill='%23F3D2E2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(30 30) scale(0.9)'/%3E%3Cuse href='%23f' transform='translate(150 55) scale(1.7)'/%3E%3Cuse href='%23f' transform='translate(262 30) scale(0.8)'/%3E%3Cuse href='%23f' transform='translate(80 170) scale(1.2)'/%3E%3Cuse href='%23f' transform='translate(200 160) scale(0.5)'/%3E%3Cuse href='%23f' transform='translate(290 190) scale(1.5)'/%3E%3Cuse href='%23f' transform='translate(20 260) scale(0.55)'/%3E%3Cuse href='%23f' transform='translate(160 262) scale(1)'/%3E%3C/svg%3E") 0 0 / 320px 300px,
        var(--pattern-pink);
}

/* Paper-note panels behind the text in each section */
.main-hero__content,
.about-content,
.social-content,
.video-showcase__header {
    padding: 38px 42px;
    background: var(--panel-bg);
    border: 3px solid var(--plum);
    border-radius: 28px;
    box-shadow: 10px 10px 0 var(--plum);
}

.main-hero__content {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    transform: rotate(-1deg);
}

.main-hero__name {
    font-size: clamp(48px, 7vw, 150px);
}

.about-content {
    transform: rotate(1deg);
}

.social-content {
    transform: rotate(-1deg);
}

.video-showcase__header {
    max-width: 760px;
    margin-bottom: 55px;
}

/* About heading: puce shadow reads better on the cream panel */
.about-content h2 {
    text-shadow: 4px 4px 0 var(--moss-green);
}

.about-content .section-label {
    background: var(--pattern-pink);
}

@media (max-width: 850px) {
    .main-hero__content {
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .main-hero__content,
    .about-content,
    .social-content,
    .video-showcase__header {
        padding: 26px 22px;
        border-radius: 20px;
        box-shadow: 6px 6px 0 var(--plum);
        transform: none;
    }
}
/* =========================================
   24. WORK — SCRAPBOOK COLLAGE (12 INFOGRAPHICS)
========================================= */

.work-collage {
    position: relative;
    padding: 100px 6% 110px;
    overflow: hidden;
    color: var(--plum);

    /* Graph paper */
    background:
        linear-gradient(rgba(147, 157, 122, 0.22) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(147, 157, 122, 0.22) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--antique-white);

    border-top: 4px solid var(--plum);
}

/* Big doodles in the corners */
.work-collage::before,
.work-collage::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    font-family: var(--display);
    line-height: 1;
}

.work-collage::before {
    content: "✿";
    top: 40px;
    left: 3%;
    font-size: 90px;
    color: var(--puce);
    opacity: 0.45;
    transform: rotate(-15deg);
}

.work-collage::after {
    content: "✦";
    right: 4%;
    bottom: 40px;
    font-size: 80px;
    color: var(--moss-green);
    opacity: 0.5;
    transform: rotate(12deg);
}

/* Header note */
.work-collage__header {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 34px 40px;
    text-align: center;

    background: var(--pattern-pink, #F3D2E2);
    border: 3px solid var(--plum);
    border-radius: 28px;
    box-shadow: 10px 10px 0 var(--plum);
    transform: rotate(-1deg);
}

.work-collage__header h2 {
    margin: 8px 0 12px;
    font-family: var(--display);
    font-weight: normal;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;

    color: var(--antique-white);
    -webkit-text-stroke: 2px var(--puce-deep);
    paint-order: stroke fill;
    text-shadow: 4px 4px 0 var(--moss-green);
}

.work-collage__header h2 span {
    color: var(--puce);
}

.work-collage__header p:not(.section-label) {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* The collage: masonry columns so every infographic keeps its full shape */
.collage {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;

    column-count: 4;
    column-gap: 38px;
}

.collage-item {
    position: relative;
    /* inline-block keeps room above each piece for its tape or pin,
       even when it starts a new column */
    display: inline-block;
    width: 100%;
    vertical-align: top;
    break-inside: avoid;
    margin: 28px 0 18px;
    padding: 10px 10px 0;

    background: #FFFFFF;
    border-radius: 3px;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;

    box-shadow:
        0 10px 20px rgba(58, 34, 41, 0.18),
        0 2px 4px rgba(58, 34, 41, 0.12);

    transform: rotate(var(--tilt, -2deg));
    transition: transform 0.35s cubic-bezier(.2, .8, .3, 1), box-shadow 0.35s ease;
}

/* Hand-placed tilts */
.collage-item:nth-child(6n + 1) { --tilt: -3deg; }
.collage-item:nth-child(6n + 2) { --tilt: 2.5deg; }
.collage-item:nth-child(6n + 3) { --tilt: -1.5deg; }
.collage-item:nth-child(6n + 4) { --tilt: 3.5deg; }
.collage-item:nth-child(6n + 5) { --tilt: -2.5deg; }
.collage-item:nth-child(6n + 6) { --tilt: 1.5deg; }

/* Colored paper scraps behind some pieces */
.collage-item:nth-child(4n + 1) {
    box-shadow: -12px 12px 0 -2px var(--puce), 0 10px 20px rgba(58, 34, 41, 0.18);
}

.collage-item:nth-child(4n + 3) {
    box-shadow: 12px 12px 0 -2px var(--moss-green), 0 10px 20px rgba(58, 34, 41, 0.18);
}

.collage-item:hover,
.collage-item:focus-visible {
    z-index: 5;
    transform: rotate(0deg) translateY(-8px) scale(1.03);
    box-shadow: 0 24px 36px rgba(58, 34, 41, 0.25), 0 4px 8px rgba(58, 34, 41, 0.12);
    outline: none;
}

.collage-item img {
    display: block;
    width: 100%;
    height: auto;                 /* no cropping */
    background: var(--pink);
}

.collage-item figcaption {
    padding: 10px 4px 14px;
    text-align: center;
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.2;
    color: var(--puce-deep);
}

.collage-item figcaption small {
    display: block;
    margin-top: 3px;
    font-family: var(--body);
    font-size: 11px;
    color: var(--plum);
}

/* Washi tape (pieces 1, 3, 5 ...) */
.collage-item:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    z-index: 2;
    width: 96px;
    height: 26px;
    margin-left: -48px;

    background: repeating-linear-gradient(45deg, rgba(147, 157, 122, 0.88) 0 7px, rgba(250, 235, 215, 0.88) 7px 14px);
    border-left: 2px dotted rgba(58, 34, 41, 0.2);
    border-right: 2px dotted rgba(58, 34, 41, 0.2);
    transform: rotate(-5deg);
}

.collage-item:nth-child(4n + 3)::before {
    background: repeating-linear-gradient(90deg, rgba(204, 136, 153, 0.85) 0 6px, rgba(248, 220, 217, 0.85) 6px 12px);
    transform: rotate(4deg);
}

/* Corner tape instead, on every 6th piece */
.collage-item:nth-child(6n + 5)::before {
    top: -8px;
    left: -22px;
    margin-left: 0;
    width: 80px;
    transform: rotate(-38deg);
}

/* Push pins (pieces 2, 4, 6 ...) */
.collage-item:nth-child(even)::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    z-index: 2;
    width: 22px;
    height: 22px;
    margin-left: -11px;

    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #F8DCD9 0 18%, var(--puce) 20% 100%);
    border: 2px solid var(--plum);
    box-shadow: 2px 3px 0 rgba(58, 34, 41, 0.35);
}

.collage-item:nth-child(4n)::before {
    background: radial-gradient(circle at 35% 35%, #E4E7D9 0 18%, var(--moss-green) 20% 100%);
}

/* Stickers */
.collage-item:nth-child(3n + 1)::after,
.collage-item:nth-child(3n + 2)::after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 42px;
    height: 42px;
    pointer-events: none;
}

.collage-item:nth-child(3n + 1)::after {
    right: -14px;
    bottom: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 28 C6 21 2 15 2 10 a7 7 0 0 1 14 -2 a7 7 0 0 1 14 2 c0 5 -4 11 -14 18z' fill='%23CC8899' stroke='%233A2229' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9 a3 3 0 0 1 4 -2' fill='none' stroke='%23FAEBD7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(14deg);
}

.collage-item:nth-child(3n + 2)::after {
    left: -15px;
    bottom: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23939D7A' stroke='%233A2229' stroke-width='1.6'%3E%3Ccircle cx='20' cy='9' r='7'/%3E%3Ccircle cx='31' cy='17' r='7'/%3E%3Ccircle cx='27' cy='30' r='7'/%3E%3Ccircle cx='13' cy='30' r='7'/%3E%3Ccircle cx='9' cy='17' r='7'/%3E%3C/g%3E%3Ccircle cx='20' cy='21' r='6' fill='%23F8DCD9' stroke='%233A2229' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(-12deg);
}

/* "Click to view" hint */
.work-collage__hint {
    position: relative;
    z-index: 1;
    margin: 10px auto 0;
    width: fit-content;
    padding: 8px 18px;

    background: var(--antique-white);
    border: 2px dashed var(--puce);
    border-radius: 999px;

    font-family: var(--body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================================
   LIGHTBOX (click an infographic to read it)
========================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px 20px;

    background: rgba(58, 34, 41, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__figure {
    margin: 0;
    max-width: min(900px, 100%);
    max-height: 100%;
    padding: 10px 10px 0;
    background: #FFFFFF;
    border: 3px solid var(--plum);
    border-radius: 6px;
    box-shadow: 10px 10px 0 var(--puce);
    overflow: auto;
}

.lightbox__figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    margin: 0 auto;
}

.lightbox__figure figcaption {
    padding: 10px 6px 12px;
    text-align: center;
    font-family: var(--display);
    font-size: 18px;
    color: var(--puce-deep);
}

.lightbox__btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--pink);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--plum);

    font-family: var(--body);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.lightbox__btn:hover {
    background: var(--puce);
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
}

body.lightbox-open {
    overflow: hidden;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .collage { column-count: 3; }
}

@media (max-width: 800px) {
    .collage { column-count: 2; column-gap: 28px; }
}

@media (max-width: 480px) {
    .work-collage { padding: 75px 7% 80px; }

    .collage { column-count: 1; }

    .work-collage__header {
        padding: 26px 22px;
        box-shadow: 6px 6px 0 var(--plum);
        transform: none;
    }

    .lightbox { padding: 70px 10px 20px; flex-wrap: wrap; }
    .lightbox__prev, .lightbox__next { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
    .collage-item,
    .collage-item:hover {
        transition: none;
    }
}
/* =========================================
   26. MODELING WEBSITE BUTTON (scrapbook section)
========================================= */

.scrapbook__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.scrapbook__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 30px;

    background: var(--puce);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 999px;
    box-shadow: 6px 6px 0 var(--plum);

    font-family: var(--body);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;

    transform: rotate(-1.5deg);
    transition: 0.3s ease;
}

/* Little washi tape on the corner */
.scrapbook__cta::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -18px;
    width: 60px;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        rgba(147, 157, 122, 0.9) 0 6px,
        rgba(250, 235, 215, 0.9) 6px 12px
    );
    transform: rotate(-30deg);
    pointer-events: none;
}

.scrapbook__cta i:last-child {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.scrapbook__cta:hover,
.scrapbook__cta:focus-visible {
    background: var(--moss-green);
    transform: translate(-3px, -3px) rotate(1deg);
    box-shadow: 9px 9px 0 var(--plum);
}

.scrapbook__cta:hover i:last-child {
    transform: translate(2px, -2px);
}

.scrapbook__cta:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--plum);
}

@media (max-width: 480px) {
    .scrapbook__cta {
        padding: 13px 22px;
        font-size: 12px;
    }
}
/* =========================================
   28. ACHIEVEMENTS & CERTIFICATES
========================================= */

.achievements {
    position: relative;
    padding: 100px 5% 110px;
    color: var(--plum);
    overflow: hidden;

    /* Light pink band from your pattern, with puce dots */
    background:
        radial-gradient(rgba(204, 136, 153, 0.35) 2px, transparent 2.5px) 0 0 / 28px 28px,
        var(--pattern-pink, #F3D2E2);

    border-top: 4px solid var(--plum);
}

.achievements__header {
    max-width: 760px;
    margin: 0 auto 20px;
    padding: 34px 40px;
    text-align: center;

    background: var(--antique-white);
    border: 3px solid var(--plum);
    border-radius: 28px;
    box-shadow: 10px 10px 0 var(--plum);
    transform: rotate(1deg);
}

.achievements__header h2 {
    margin: 8px 0 12px;
    font-family: var(--display);
    font-weight: normal;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.15;

    color: var(--pink);
    -webkit-text-stroke: 2px var(--puce-deep);
    paint-order: stroke fill;
    text-shadow: 4px 4px 0 var(--moss-green);
}

.achievements__header h2 span {
    color: var(--puce);
}

.achievements__header p:not(.section-label) {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   HUB LAYOUT (desktop)
========================================= */

.ach-hub {
    position: relative;
    width: min(1100px, 100%);
    aspect-ratio: 1100 / 840;
    margin: 0 auto;
}

.ach-hub__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.ach-hub__lines path:not([fill]) {
    fill: none;
    stroke: var(--plum);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 2 10;
    animation: achDash 1.2s linear infinite;
}

@keyframes achDash {
    to { stroke-dashoffset: -24; }
}

/* Center */
.ach-hub__center {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 36%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
}

.ach-hub__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: achRing 24s linear infinite;
    pointer-events: none;
}

.ach-hub__ring text {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    fill: var(--puce-deep);
}

@keyframes achRing {
    to { transform: rotate(360deg); }
}

/* Graduation cap sticker */
.ach-hub__cap {
    position: absolute;
    top: 5%;
    right: 9%;
    z-index: 4;

    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;

    background: var(--moss-green);
    color: var(--plum);
    border: 3px solid var(--plum);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--plum);

    font-size: 22px;
    transform: rotate(14deg);
}

/* The clickable photo */
.ach-photo {
    position: absolute;
    inset: 14%;
    padding: 0;
    overflow: hidden;
    cursor: pointer;

    background: var(--pink);
    border: 7px solid #FFFFFF;
    border-radius: 50%;
    outline: 3px solid var(--plum);
    box-shadow: 9px 9px 0 var(--puce);
}

.ach-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;

    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.ach-photo img.is-active {
    opacity: 1;
    transform: scale(1);
}

.ach-photo:hover {
    box-shadow: 12px 12px 0 var(--moss-green);
}

.ach-photo:focus-visible {
    outline: 4px solid var(--puce-deep);
}

.ach-photo.is-flipping {
    animation: achBounce 0.5s cubic-bezier(.3, 1.6, .5, 1);
}

@keyframes achBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(0.94) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

.ach-hub__caption {
    position: absolute;
    left: 50%;
    bottom: 3%;
    z-index: 3;
    transform: translateX(-50%) rotate(-3deg);

    padding: 6px 16px;
    background: var(--antique-white);
    border: 2px solid var(--plum);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--plum);

    font-family: var(--display);
    font-size: 17px;
    color: var(--puce-deep);
    white-space: nowrap;
}

/* Photo dots */
.ach-dots {
    position: absolute;
    left: 50%;
    bottom: -10%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}

.ach-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    background: var(--antique-white);
    border: 2px solid var(--plum);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
}

.ach-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--puce);
}

/* =========================================
   ACHIEVEMENT BADGES
========================================= */

.ach-badges {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ach-badge {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 3;
    width: 250px;

    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;

    background: var(--antique-white);
    border: 3px solid var(--plum);
    border-radius: 20px;
    box-shadow: 5px 5px 0 var(--plum);

    transform: translate(-50%, -50%);
    animation: achFloat 3.4s ease-in-out var(--d) infinite alternate;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.ach-badge:nth-child(even) {
    background: #FFFFFF;
}

.ach-badge:hover {
    animation-play-state: paused;
    background: var(--pink);
    box-shadow: 8px 8px 0 var(--moss-green);
}

@keyframes achFloat {
    from { transform: translate(-50%, -50%) rotate(-1.5deg); }
    to   { transform: translate(-50%, calc(-50% - 8px)) rotate(1.5deg); }
}

.ach-badge__icon {
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;

    background: var(--puce);
    color: var(--plum);
    border: 2px solid var(--plum);
    border-radius: 50%;
    font-size: 19px;
}

.ach-badge:nth-child(3n + 2) .ach-badge__icon { background: var(--moss-green); }
.ach-badge:nth-child(3n) .ach-badge__icon     { background: var(--pink); }

.ach-badge__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ach-badge__tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-family: var(--body);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--moss-deep);
}

.ach-badge strong {
    font-family: var(--display);
    font-weight: normal;
    font-size: 17px;
    line-height: 1.2;
    color: var(--puce-deep);
}

.ach-badge strong small {
    display: block;
    margin-top: 2px;
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    color: var(--plum);
}

/* Highlight the top honor with ribbon tails */
.ach-badge:first-child {
    background: var(--antique-white);
    border-color: var(--puce-deep);
}

.ach-badge:first-child::before,
.ach-badge:first-child::after {
    content: "";
    position: absolute;
    bottom: -20px;
    width: 18px;
    height: 26px;
    background: var(--puce);
    border: 2px solid var(--plum);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}

.ach-badge:first-child::before { left: 34px;  transform: rotate(12deg); }
.ach-badge:first-child::after  { left: 54px;  transform: rotate(-10deg); background: var(--moss-green); }

/* =========================================
   TABLET: smaller badges
========================================= */

@media (max-width: 1100px) {
    .ach-badge {
        width: 210px;
        padding: 10px 12px 10px 10px;
        gap: 10px;
    }

    .ach-badge__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .ach-badge strong {
        font-size: 15px;
    }
}

/* =========================================
   PHONES & SMALL TABLETS: photo on top, badges in a list
========================================= */

@media (max-width: 820px) {
    .achievements {
        padding: 75px 6% 80px;
    }

    .achievements__header {
        padding: 26px 22px;
        box-shadow: 6px 6px 0 var(--plum);
        transform: none;
    }

    .ach-hub {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .ach-hub__lines {
        display: none;
    }

    .ach-hub__center {
        position: relative;
        left: auto;
        top: auto;
        width: min(340px, 90%);
        transform: none;
        margin-top: 10px;
    }

    .ach-badges {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 22px;
    }

    .ach-badge {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        transform: none;
        animation: none;
    }

    .ach-badge:nth-child(odd)  { transform: rotate(-1deg); }
    .ach-badge:nth-child(even) { transform: rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ach-hub__lines path:not([fill]),
    .ach-hub__ring,
    .ach-badge,
    .ach-photo.is-flipping {
        animation: none;
    }

    .ach-photo img {
        transition: none;
    }
}

/* "Contractual" tag on a badge */
.ach-badge__pill {
    display: inline-block;
    margin: 0 0 0 4px;
    padding: 1px 7px;
    background: var(--moss-green);
    color: var(--plum);
    border-radius: 999px;
    font-style: normal;
    font-size: 8.5px;
    letter-spacing: 0.8px;
    vertical-align: 1px;
}

/* =========================================
   30. HERO PARALLAX + CUTE "PORTFOLIO" LETTERS
   (works with hero-parallax.js)
========================================= */

/* Values the script updates:
   --mx / --my = mouse position (-1 to 1)
   --sy        = how far you've scrolled (px) */
.main-hero {
    --mx: 0;
    --my: 0;
    --sy: 0;
    background-position:
        calc(var(--mx) * -12px) calc(var(--sy) * 0.35px),
        0 0;
}

/* ---------- Sticker layers ---------- */

.hero-parallax {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.px-layer {
    position: absolute;
    display: block;
    will-change: transform;
    transform: translate3d(
        calc(var(--mx) * var(--d) * 45px),
        calc(var(--my) * var(--d) * 35px - var(--sy) * var(--d) * 0.55px),
        0
    );
    transition: transform 0.25s ease-out;
}

/* each sticker also floats on its own */
.px-layer > i {
    display: block;
    font-style: normal;
    animation: pxFloat 6s ease-in-out infinite alternate;
}

.px-layer:nth-child(odd) > i  { animation-duration: 7.5s; animation-delay: -2s; }
.px-layer:nth-child(3n) > i   { animation-duration: 5s;   animation-delay: -4s; }

@keyframes pxFloat {
    from { transform: translateY(0) rotate(-6deg); }
    to   { transform: translateY(-18px) rotate(6deg); }
}

/* Puffy clouds */
.px-cloud {
    width: 150px;
    height: 56px;
    background: var(--pink);
    border: 3px solid var(--plum);
    border-radius: 999px;
    position: relative;
    box-shadow: 5px 5px 0 rgba(58, 34, 41, 0.15);
    opacity: 0.9;
}

.px-cloud::before,
.px-cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border: 3px solid var(--plum);
    border-bottom: none;
    border-radius: 50% 50% 0 0;
}

.px-cloud::before { width: 62px; height: 40px; left: 20px; top: -30px; }
.px-cloud::after  { width: 46px; height: 30px; left: 72px; top: -21px; }

.px-cloud--moss { background: var(--pastel-moss, #D7DCC8); transform: scale(0.75); }

/* Dotted ring */
.px-ring {
    width: 110px;
    height: 110px;
    border: 4px dotted var(--puce);
    border-radius: 50%;
}

/* Wavy squiggle */
.px-squiggle {
    width: 120px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'%3E%3Cpath d='M2 12 Q11 0 20 12 T38 12' fill='none' stroke='%23939D7A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 40px 24px;
}

/* Star sticker */
.px-star {
    width: 62px;
    height: 62px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 3 L25 15 L38 16 L28 25 L31 37 L20 30 L9 37 L12 25 L2 16 L15 15 Z' fill='%23939D7A' stroke='%233A2229' stroke-width='2.5' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='21' r='1.6' fill='%233A2229'/%3E%3Ccircle cx='24' cy='21' r='1.6' fill='%233A2229'/%3E%3Cpath d='M17.5 25 Q20 27.5 22.5 25' fill='none' stroke='%233A2229' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Heart sticker */
.px-heart {
    width: 58px;
    height: 58px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 28 C6 21 2 15 2 10 a7 7 0 0 1 14 -2 a7 7 0 0 1 14 2 c0 5 -4 11 -14 18z' fill='%23CC8899' stroke='%233A2229' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 9 a3 3 0 0 1 4 -2' fill='none' stroke='%23FAEBD7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.px-heart--small { width: 36px; height: 36px; }

/* Daisy */
.px-flower {
    width: 70px;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23FAEBD7' stroke='%233A2229' stroke-width='2'%3E%3Cellipse cx='20' cy='8' rx='6' ry='8'/%3E%3Cellipse cx='20' cy='32' rx='6' ry='8'/%3E%3Cellipse cx='8' cy='20' rx='8' ry='6'/%3E%3Cellipse cx='32' cy='20' rx='8' ry='6'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='7' fill='%23CC8899' stroke='%233A2229' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Sparkles */
.px-sparkle {
    font-size: 34px;
    line-height: 1;
    color: var(--puce);
    text-shadow: 2px 2px 0 var(--plum);
}

.px-sparkle--moss { color: var(--moss-green); font-size: 26px; }

/* Soap bubbles */
.px-bubble {
    width: 46px;
    height: 46px;
    border: 3px solid var(--plum);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #FFFFFF 0 14%, rgba(248, 220, 217, 0.7) 15% 100%);
}

.px-bubble--small { width: 26px; height: 26px; border-width: 2px; }

/* Content and ID card drift at their own speeds too */
.main-hero__content {
    transform: translate3d(
        calc(var(--mx) * -10px),
        calc(var(--my) * -8px + var(--sy) * 0.18px),
        0
    );
    transition: transform 0.3s ease-out;
}

.main-hero__card {
    transform: translate3d(
        calc(var(--mx) * 16px),
        calc(var(--my) * 10px - var(--sy) * 0.08px),
        0
    );
    transition: transform 0.3s ease-out;
}


/* ---------- Cute candy "PORTFOLIO" ---------- */

.main-hero__name .pf-word {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.02em;
    position: relative;
    -webkit-text-stroke: 0;
    text-shadow: none;
    padding-top: 0.25em; /* room for the bounce */
}

/* little crown of sparkles above the word */
.main-hero__name .pf-word::before {
    content: "♡ ✦ ♡";
    position: absolute;
    top: -0.05em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--body);
    font-size: 0.16em;
    letter-spacing: 0.4em;
    color: var(--puce);
    -webkit-text-stroke: 0;
    text-shadow: none;
    animation: twinkle 2.2s ease-in-out infinite;
}

.main-hero__name .pf-word .pf-letter {
    --c: var(--pink);
    --r: -4deg;

    display: inline-block;
    color: var(--c);
    font-style: normal;
    letter-spacing: 0;
    -webkit-text-stroke: 4px var(--plum);
    paint-order: stroke fill;
    text-shadow:
        4px 4px 0 var(--plum),
        7px 8px 0 rgba(58, 34, 41, 0.18);

    cursor: pointer;
    transform-origin: 50% 90%;
    transform: rotate(var(--r));

    animation:
        pfDrop 0.9s cubic-bezier(.3, 1.6, .5, 1) backwards calc(var(--i) * 0.08s),
        pfBob 2.6s ease-in-out calc(1s + var(--i) * 0.12s) infinite;
}

/* candy colours from your palette */
.main-hero__name .pf-word .pf-letter:nth-child(4n + 1) { --c: var(--pink); }
.main-hero__name .pf-word .pf-letter:nth-child(4n + 2) { --c: var(--puce);          --r: 3deg; }
.main-hero__name .pf-word .pf-letter:nth-child(4n + 3) { --c: var(--moss-green);    --r: -2deg; }
.main-hero__name .pf-word .pf-letter:nth-child(4n + 4) { --c: var(--antique-white); --r: 5deg; }

@keyframes pfDrop {
    0%   { transform: translateY(-140%) scale(0.3) rotate(-25deg); opacity: 0; }
    60%  { transform: translateY(8%) scale(1.1, 0.85) rotate(var(--r)); opacity: 1; }
    80%  { transform: translateY(-6%) scale(0.95, 1.06) rotate(var(--r)); }
    100% { transform: translateY(0) scale(1) rotate(var(--r)); }
}

@keyframes pfBob {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50%      { transform: translateY(-0.12em) rotate(calc(var(--r) * -1)); }
}

/* after the drop-in, letters just bob (so they don't drop in again) */
.main-hero__name .pf-word.pf-ready .pf-letter {
    animation: pfBob 2.6s ease-in-out calc(var(--i) * -0.12s) infinite;
}

/* jelly squish when you hover or tap a letter */
.main-hero__name .pf-word .pf-letter.is-jelly,
.main-hero__name .pf-word.pf-ready .pf-letter.is-jelly {
    animation: pfJelly 0.8s cubic-bezier(.3, 1.4, .5, 1);
}

@keyframes pfJelly {
    0%   { transform: scale(1, 1) rotate(var(--r)); }
    25%  { transform: scale(1.25, 0.75) translateY(6%); }
    45%  { transform: scale(0.8, 1.25) translateY(-22%) rotate(-10deg); }
    65%  { transform: scale(1.12, 0.9) translateY(0) rotate(6deg); }
    85%  { transform: scale(0.96, 1.04); }
    100% { transform: scale(1, 1) rotate(var(--r)); }
}

/* tiny heart that pops out of a tapped letter */
.pf-pop {
    position: absolute;
    pointer-events: none;
    font-family: var(--body);
    font-size: 22px;
    color: var(--puce);
    -webkit-text-stroke: 0;
    text-shadow: 1px 1px 0 var(--plum);
    animation: pfPop 0.9s ease-out forwards;
    z-index: 5;
}

@keyframes pfPop {
    from { transform: translate(-50%, 0) scale(0.4); opacity: 1; }
    to   { transform: translate(calc(-50% + var(--dx, 0px)), -70px) scale(1.2); opacity: 0; }
}

@media (max-width: 850px) {
    .main-hero__name .pf-word {
        justify-content: center;
    }

    .main-hero__name .pf-word .pf-letter {
        -webkit-text-stroke-width: 3px;
        text-shadow: 3px 3px 0 var(--plum);
    }

    .px-cloud { transform: scale(0.7); }
    .px-ring  { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
    .main-hero__name .pf-word .pf-letter {
        -webkit-text-stroke-width: 2px;
        text-shadow: 2px 2px 0 var(--plum);
    }
}

@media (prefers-reduced-motion: reduce) {
    .px-layer,
    .main-hero__content,
    .main-hero__card {
        transform: none !important;
        transition: none !important;
    }

    .px-layer > i,
    .main-hero__name .pf-word::before,
    .main-hero__name .pf-word .pf-letter {
        animation: none !important;
    }
}

/* =========================================
   31. SITE-WIDE PARALLAX & INTERACTIVE EFFECTS
   (works with section 2 of script.js: "SITE-WIDE PARALLAX")
   - data-speed   : element drifts slower/faster than the page while scrolling
   - data-reveal  : element pops in when it scrolls into view
   - data-tilt    : element tilts in 3D toward the mouse
   - data-magnetic: button leans toward the mouse
   - .section-parallax : floating stickers in each section
========================================= */

/* Sections that hold floating stickers */
.has-parallax {
    position: relative;
    isolation: isolate;   /* keeps stickers behind the section's content */
}

.section-parallax {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* --gx/--gy = mouse (set on <html>), --sp = section scroll position (-1 to 1) */
.sx-layer {
    position: absolute;
    display: block;
    will-change: transform;
    transform: translate3d(
        calc(var(--gx, 0) * var(--d) * 30px),
        calc(var(--gy, 0) * var(--d) * 24px + var(--sp, 0) * var(--d) * 120px),
        0
    );
}

.sx-layer > i {
    display: block;
    font-style: normal;
    animation: pxFloat 6s ease-in-out infinite alternate;
}

.sx-layer:nth-child(odd) > i { animation-duration: 7.5s; animation-delay: -2s; }
.sx-layer:nth-child(3n) > i  { animation-duration: 5s;   animation-delay: -4s; }

/* On the moss-green About section, stickers use cream and pink so they show up */
.about-section .px-sparkle { color: var(--antique-white); }
.about-section .px-bubble  { background: radial-gradient(circle at 32% 30%, #FFFFFF 0 14%, rgba(250, 235, 215, 0.8) 15% 100%); }


/* Pop-in on scroll (only when the script is running, so nothing hides without it) */
html.fx-on [data-reveal] {
    opacity: 0;
    scale: 0.88;
    filter: blur(6px);
    transition:
        opacity 0.7s ease var(--rd, 0s),
        scale 0.8s cubic-bezier(.3, 1.5, .5, 1) var(--rd, 0s),
        filter 0.7s ease var(--rd, 0s);
}

html.fx-on [data-reveal].is-in {
    opacity: 1;
    scale: 1;
    filter: none;
}


/* Scroll progress bar with a heart on the end */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 1100;
    pointer-events: none;
}

.scroll-progress span {
    position: relative;
    display: block;
    width: calc(var(--progress, 0) * 100%);
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--puce) 0 14px,
        var(--moss-green) 14px 28px
    );
    border-radius: 0 6px 6px 0;
}

.scroll-progress span::after {
    content: "♥";
    position: absolute;
    right: -9px;
    top: -6px;
    font-size: 16px;
    line-height: 1;
    color: var(--puce-deep);
    text-shadow: 1px 1px 0 var(--antique-white);
}


/* Sparkle trail behind the mouse */
.sparkle-trail {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    font-family: var(--body);
    font-size: var(--size, 14px);
    line-height: 1;
    color: var(--c, var(--puce));
    text-shadow: 1px 1px 0 var(--plum);
    transform: translate(-50%, -50%);
    animation: trailFade 0.9s ease-out forwards;
}

@keyframes trailFade {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    to   { opacity: 0; transform: translate(-50%, 40%) scale(0.3) rotate(90deg); }
}


@media (prefers-reduced-motion: reduce) {
    .sx-layer {
        transform: none !important;
    }

    .sx-layer > i {
        animation: none !important;
    }

    .sparkle-trail {
        display: none;
    }
}


/* =========================================
   32. KEEP "PORTFOLIO" ON ONE LINE
========================================= */
.main-hero__name .pf-word {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: clamp(34px, 5.6vw, 118px);
}

@media (max-width: 850px) {
    .main-hero__name .pf-word {
        font-size: clamp(30px, 9.5vw, 72px);
    }
}


/* =========================================
   33. CUTE CAPTIONS ON THE MODELING PHOTOS
   (a row of bouncing heart, sparkle and flower + a wavy line)
========================================= */
.scrap-item figcaption.scrap-cute {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    position: relative;
    font-family: var(--body);
    line-height: 1;
}

.scrap-item figcaption.scrap-cute i {
    display: inline-block;
    font-style: normal;
    font-size: 26px;
    color: var(--puce);
    -webkit-text-stroke: 1px var(--plum);
    text-shadow: 2px 2px 0 var(--plum);
    animation: cuteHop 1.8s ease-in-out infinite;
}

.scrap-item figcaption.scrap-cute i:nth-child(2) {
    color: var(--moss-green);
    font-size: 20px;
    animation-delay: 0.2s;
}

.scrap-item figcaption.scrap-cute i:nth-child(3) {
    color: var(--pink);
    animation-delay: 0.4s;
}

/* every other photo swaps the colours so they don't all match */
.scrap-item:nth-child(even) figcaption.scrap-cute i:nth-child(1) { color: var(--moss-green); }
.scrap-item:nth-child(even) figcaption.scrap-cute i:nth-child(2) { color: var(--puce); }

/* wavy line under the icons */
.scrap-item figcaption.scrap-cute::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 90px;
    height: 8px;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='8' viewBox='0 0 20 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4' fill='none' stroke='%23CC8899' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 20px 8px;
}

/* hop faster when you hover the photo */
.scrap-item:hover figcaption.scrap-cute i {
    animation-duration: 0.7s;
}

@keyframes cuteHop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30%      { transform: translateY(-7px) rotate(-10deg); }
    60%      { transform: translateY(0) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .scrap-item figcaption.scrap-cute i {
        animation: none;
    }
}


/* =========================================
   34. HOT PINK HEADINGS + SOCIAL ICONS
========================================= */
:root {
    --hot-pink:      #FF3D9A;
    --hot-pink-deep: #E0187C;
}

/* "E-commerce website" and "Excited to work with you!" */
.video-showcase .video-showcase__header h2,
#contact.content-section h2 {
    color: var(--hot-pink);
    -webkit-text-stroke: 2px var(--plum);
    paint-order: stroke fill;
    text-shadow:
        4px 4px 0 var(--plum),
        7px 7px 0 var(--pink);
}

.video-showcase .video-showcase__header h2 span,
#contact.content-section h2 span {
    color: var(--hot-pink-deep);
}

/* Social icons under "Send Me an Email" */
.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.social-link {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;

    color: var(--plum);
    font-size: 22px;
    text-decoration: none;

    border: 2px solid var(--plum);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--plum);

    transition: 0.3s ease;
}

.social-link--fb { background: var(--pink); transform: rotate(-6deg); }
.social-link--ig { background: var(--puce); transform: rotate(4deg); }
.social-link--tt { background: var(--moss-green); transform: rotate(-3deg); }

.social-link:hover,
.social-link:focus-visible {
    background: var(--hot-pink);
    color: #FFFFFF;
    transform: translateY(-5px) rotate(0deg) scale(1.08);
    box-shadow: 6px 8px 0 var(--plum);
}

.social-link:active {
    transform: translateY(2px) scale(0.96);
    box-shadow: 2px 2px 0 var(--plum);
}

@media (max-width: 480px) {
    .social-links { gap: 14px; }
    .social-link  { width: 50px; height: 50px; font-size: 20px; }
}