:root {
    --gsp-ink: #050505;
    --gsp-paper: #fffefd;
    --gsp-mint: #73ead2;
    --gsp-red: #ff5c60;
    --gsp-peach: #f4ddd2;
    --gsp-gray: #d3d3d3;
    --gsp-line: #dfe3e2;
    --gsp-shadow: 4px 4px 0 #111;
    --gsp-shell: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.gsp-theme {
    margin: 0;
    color: var(--gsp-ink);
    background: var(--gsp-paper);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}
body.admin-bar .gsp-site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.gsp-site-main { min-height: 70vh; }
.gsp-shell { width: min(calc(100% - 48px), var(--gsp-shell)); margin-inline: auto; }
.gsp-section { position: relative; }

.gsp-site-header {
    position: relative;
    z-index: 40;
    background: rgba(255, 254, 253, .97);
}
.gsp-header-inner { min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 8px 24px; }
.gsp-primary-nav { width: 100%; }
.gsp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: clamp(34px, 7vw, 96px); }
.gsp-menu li { margin: 0; }
.gsp-menu a { text-decoration: none; font-size: 14px; font-weight: 900; letter-spacing: .02em; position: relative; }
.gsp-menu a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -6px; height: 2px; background: var(--gsp-mint); transition: .25s ease; }
.gsp-menu a:hover::after, .gsp-menu .current-menu-item a::after { left: 0; right: 0; }

.gsp-hero {
    position: relative;
    width: min(calc(100% - 40px), 1500px);
    min-height: 590px;
    margin: 0 auto;
    isolation: isolate;
}
.gsp-hero-grid {
    position: absolute;
    inset: 12px 0 34px;
    z-index: -5;
    background-image:
        linear-gradient(to right, rgba(120, 130, 130, .13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 130, 130, .13) 1px, transparent 1px);
    background-size: 28px 28px;
    border-top: 1px solid rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.gsp-hero-mint {
    position: absolute;
    left: 0;
    bottom: 34px;
    width: 34%;
    height: 64%;
    background: var(--gsp-mint);
    clip-path: polygon(0 0, 42% 0, 42% 23%, 58% 23%, 58% 78%, 100% 78%, 100% 100%, 0 100%);
    z-index: -4;
}
.gsp-hero-gray {
    position: absolute;
    right: 3.3%;
    bottom: 112px;
    width: 31%;
    height: 48%;
    background: var(--gsp-gray);
    clip-path: polygon(0 0, 49% 0, 49% 14%, 67% 14%, 67% 28%, 84% 28%, 84% 45%, 100% 45%, 100% 100%, 0 100%);
    z-index: -3;
}
.gsp-hero-title {
    position: absolute;
    z-index: 2;
    left: 23%;
    top: 84px;
    margin: 0;
    font-size: clamp(72px, 7.35vw, 118px);
    line-height: .83;
    letter-spacing: -.075em;
    font-weight: 1000;
    text-transform: uppercase;
    white-space: nowrap;
}
.gsp-hero-title span { display: block; }
.gsp-hero-title span:last-child { transform: translateX(-12%); }
.gsp-hero-portrait {
    position: absolute;
    z-index: 5;
    right: 8%;
    bottom: 7px;
    width: min(31vw, 470px);
    max-height: 560px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,.12));
    pointer-events: none;
}
.gsp-speech-bubble {
    position: absolute;
    z-index: 8;
    left: 5.8%;
    top: 84px;
    width: 180px;
    min-height: 76px;
    display: grid;
    place-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 16px;
    font-weight: 900;
    font-size: 15px;
    line-height: 1.25;
    box-shadow: 2px 3px 0 rgba(0,0,0,.08);
}
.gsp-speech-bubble::after {
    content: '';
    position: absolute;
    right: 34px;
    bottom: -17px;
    border: 9px solid transparent;
    border-top-color: #111;
    transform: rotate(-8deg);
}
.gsp-speech-bubble::before {
    content: '';
    position: absolute;
    right: 35px;
    bottom: -13px;
    border: 8px solid transparent;
    border-top-color: #fff;
    z-index: 1;
    transform: rotate(-8deg);
}
.gsp-hey-bubble {
    position: absolute;
    z-index: 9;
    right: 31.2%;
    top: 44px;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
}
.gsp-hey-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    background: white;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(20deg) skew(10deg);
}
.gsp-retro-popup {
    position: absolute;
    z-index: 10;
    left: 21.2%;
    bottom: 18px;
    width: min(335px, 28vw);
    background: #fff8ef;
    border: 2px solid #111;
    box-shadow: var(--gsp-shadow);
}
.gsp-popup-bar {
    min-height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: var(--gsp-red);
    border-bottom: 2px solid #111;
    font-size: 14px;
}
.gsp-popup-controls { font-size: 18px; font-weight: 900; letter-spacing: 2px; }
.gsp-popup-content { padding: 12px 16px 10px; text-align: left; }
.gsp-popup-content p { margin: 0 0 8px; font-size: 14px; }
.gsp-progress { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; height: 20px; margin-bottom: 9px; }
.gsp-progress span { border: 1px solid #111; background: #fff; }
.gsp-progress span.is-filled { background: var(--gsp-red); }
.gsp-popup-button { display: block; margin: 0 auto; min-width: 84px; padding: 4px 14px; border: 2px solid #111; background: #fff; box-shadow: 1px 1px 0 #111; cursor: pointer; font-weight: 800; }
.gsp-popup-button:active { transform: translate(1px, 1px); box-shadow: none; }

.gsp-intro { padding: 6px 0 16px; }
.gsp-intro-inner { text-align: center; max-width: 820px; }
.gsp-intro h2 { margin: 0 0 4px; font-size: clamp(27px, 2.3vw, 38px); line-height: 1.1; font-weight: 1000; }
.gsp-role-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: clamp(24px, 2.4vw, 37px); font-weight: 1000; line-height: 1.1; }
.gsp-role-prefix { margin-right: 1px; }
.gsp-highlight { display: inline-block; padding: 0 7px 2px; background: var(--gsp-mint); border: 1.5px dashed #111; }
.gsp-intro p { max-width: 660px; margin: 10px auto 2px; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; font-weight: 900; }
.gsp-star { display: inline-block; margin-top: 8px; color: #ff3449; font-size: 34px; animation: gspPulse 2.2s ease-in-out infinite; }

.gsp-services { padding: 0 0 34px; }
.gsp-section-title { margin: 0 0 12px; text-align: center; font-size: 16px; font-weight: 1000; }
.gsp-service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.gsp-service-card { min-width: 0; border: 2px solid #111; background: #fffaf3; box-shadow: 4px 5px 0 #111; transition: transform .22s ease, box-shadow .22s ease; }
.gsp-service-card:hover { transform: translateY(-6px) rotate(-.35deg); box-shadow: 6px 8px 0 #111; }
.gsp-window-bar { min-height: 30px; padding: 5px 9px; background: var(--gsp-accent); border-bottom: 2px solid #111; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gsp-window-bar h3 { margin: 0; font-size: 14px; line-height: 1; }
.gsp-window-bar span { font-weight: 900; white-space: nowrap; }
.gsp-service-content { padding: 14px 14px 16px; min-height: 150px; display: flex; flex-direction: column; }
.gsp-service-content img { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 12px; }
.gsp-service-content p { margin: 0; font-size: 14px; line-height: 1.25; }

.gsp-project-folders { padding: 8px 0 52px; background: linear-gradient(180deg, rgba(245,226,216,.22), rgba(255,255,255,0)); }
.gsp-projects-title { margin: 0 0 16px; text-align: center; font-size: 23px; font-weight: 1000; }
.gsp-folder-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 35px; align-items: start; }
.gsp-folder-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-family: "Courier New", monospace; font-size: 15px; transition: transform .22s ease; }
.gsp-folder-card:hover { transform: translateY(-7px) rotate(-1deg); }
.gsp-folder-card img { width: 100px; height: 82px; object-fit: contain; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.12)); }

.gsp-site-footer { background: #070707; color: #fff; min-height: 70px; display: flex; align-items: center; }
.gsp-footer-inner { width: min(calc(100% - 40px), var(--gsp-shell)); margin: auto; text-align: center; font-size: 12px; }
.gsp-footer-social a { color: #68bdf3; text-decoration: none; font-weight: 900; }
.gsp-footer-copy { margin-top: 3px; }

.gsp-content-page { padding: 44px 0 72px; min-height: 72vh; }
.gsp-content-shell { max-width: 1240px; }
.gsp-narrow-shell { max-width: 920px; }
.gsp-page-title { margin: 0 0 34px; text-align: center; font-size: clamp(42px, 5vw, 78px); line-height: .95; font-weight: 1000; letter-spacing: -.045em; }
.gsp-page-title span { color: var(--gsp-mint); }
.gsp-page-intro { max-width: 680px; margin: -20px auto 34px; text-align: center; font-size: 18px; }
.gsp-entry-content { font-size: 18px; line-height: 1.6; }
.gsp-entry-content > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.gsp-entry-content .alignwide { max-width: 1200px; }
.gsp-entry-content .alignfull { max-width: none; }
.gsp-entry-content img { border-radius: 3px; }

.gsp-work-folder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.gsp-work-folder { display: block; padding: 25px; text-align: center; text-decoration: none; border: 2px solid #111; background: #fff9f4; box-shadow: 5px 6px 0 #111; transition: .22s ease; }
.gsp-work-folder:hover { transform: translateY(-5px); box-shadow: 7px 9px 0 #111; }
.gsp-work-folder img { width: 120px; }
.gsp-work-folder h2 { margin: 10px 0 6px; font-size: 24px; }
.gsp-work-folder p { margin: 0; color: #333; }

.gsp-project-list { display: grid; gap: 48px; }
.gsp-project-card { text-align: center; }
.gsp-project-card a { text-decoration: none; }
.gsp-project-card img { display: block; width: 100%; background: #f2f2f2; box-shadow: 0 9px 28px rgba(0,0,0,.08); }
.gsp-project-card h2 { margin: 15px 0 5px; font-size: 24px; }
.gsp-project-card p { margin: 0; color: #555; }
.gsp-project-hero-image img { display: block; width: 100%; margin-bottom: 30px; }
.gsp-video-embed { margin: 25px 0; }
.gsp-video-embed iframe, .gsp-video-embed video { width: 100%; aspect-ratio: 16/9; height: auto; }
.gsp-index-card { padding: 20px 0; border-bottom: 1px solid #ddd; }
.gsp-index-card h2 a { text-decoration: none; }

.gsp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.gsp-reveal.is-visible { opacity: 1; transform: none; }
@keyframes gspPulse { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.2) rotate(8deg); } }

@media (max-width: 1200px) {
    .gsp-hero { min-height: 535px; }
    .gsp-hero-title { left: 11%; top: 84px; }
    .gsp-hero-portrait { right: 11%; width: min(39vw, 475px); }
    .gsp-hey-bubble { right: 28%; }
    .gsp-retro-popup { left: 18%; }
    .gsp-service-grid { gap: 18px; }
}

@media (max-width: 980px) {
    body.admin-bar .gsp-site-header { top: 46px; }
    .gsp-hero { width: min(calc(100% - 24px), 940px); min-height: 760px; }
    .gsp-hero-grid { inset: 8px 0 190px; }
    .gsp-hero-title { left: 50%; top: 60px; transform: translateX(-50%); width: 92%; text-align: center; font-size: clamp(66px, 10.8vw, 94px); }
    .gsp-hero-title span:last-child { transform: none; }
    .gsp-hero-mint { left: 0; bottom: 190px; width: 48%; height: 55%; }
    .gsp-hero-gray { right: 0; bottom: 230px; width: 46%; height: 42%; }
    .gsp-hero-portrait { right: 50%; transform: translateX(50%); bottom: 145px; width: min(56vw, 480px); max-height: 500px; }
    .gsp-speech-bubble { top: 196px; left: 4%; }
    .gsp-hey-bubble { top: 198px; right: 15%; }
    .gsp-retro-popup { left: 50%; transform: translateX(-50%); bottom: 10px; width: min(360px, 85vw); }
    .gsp-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gsp-service-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
    .gsp-folder-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gsp-work-folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .gsp-shell { width: min(calc(100% - 28px), var(--gsp-shell)); }
    .gsp-header-inner { min-height: 48px; padding: 8px 12px; }
    .gsp-menu { gap: 26px; }
    .gsp-menu a { font-size: 12px; }
    .gsp-hero { width: calc(100% - 16px); min-height: 755px; }
    .gsp-hero-grid { inset: 4px 0 205px; background-size: 20px 20px; }
    .gsp-hero-title { top: 38px; width: 96%; font-size: clamp(48px, 15.5vw, 72px); line-height: .9; letter-spacing: -.07em; }
    .gsp-hero-title span { white-space: normal; }
    .gsp-hero-mint { bottom: 205px; width: 58%; height: 43%; }
    .gsp-hero-gray { bottom: 255px; width: 55%; height: 31%; }
    .gsp-hero-portrait { bottom: 183px; width: min(82vw, 420px); max-height: 430px; }
    .gsp-speech-bubble { top: 200px; left: 3%; width: 150px; min-height: 64px; font-size: 12px; padding: 10px 12px; }
    .gsp-hey-bubble { top: 188px; right: 5%; font-size: 12px; padding: 7px 11px; }
    .gsp-retro-popup { bottom: 8px; width: calc(100% - 30px); }
    .gsp-popup-content p { font-size: 13px; }
    .gsp-intro { padding-top: 2px; }
    .gsp-intro h2 { font-size: 26px; }
    .gsp-role-line { font-size: 22px; gap: 5px; }
    .gsp-intro p { font-size: 21px; padding: 0 5px; }
    .gsp-services { padding-bottom: 30px; }
    .gsp-service-grid { grid-template-columns: 1fr; gap: 18px; }
    .gsp-service-card:last-child { grid-column: auto; width: 100%; }
    .gsp-service-content { min-height: 0; }
    .gsp-folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
    .gsp-folder-card:last-child { grid-column: 1 / -1; }
    .gsp-folder-card img { width: 88px; height: 70px; }
    .gsp-work-folder-grid { grid-template-columns: 1fr; }
    .gsp-page-title { font-size: 45px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
