@import url(https://fonts.googleapis.com/css?family=Amatic+SC);
*
{
    margin: 0;
    padding: 0;
    /* height: -webkit-fill-available; */
}

.webgl
{
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

body {
    overflow: hidden;
    background-color: #000000;
    /* min-height: 100vh;
    min-height: -webkit-fill-available; */
}

.overlay{
    opacity:1;
    background-color:rgb(0, 0, 0);
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    pointer-events:none;
    transition: opacity 1s;
}

.overlay.fade{
    opacity:0;
}

h1 {
    position: absolute;
    margin: auto;
    bottom: -5vh;
    width: 30vh;
    min-width: 30vmax;
    text-align: center;
    font-family: 'Amatic SC';
    font-size: 2vmax;
    color: #ffffff;
    opacity: 0.75;
    animation: pulse 2.5s linear infinite;
}

.start{
    position: fixed;
    top: calc((100vh - 100px)/2);
    right: calc((100vw - 200px)/2);
    width: 200px;
    height: 100px;
    border: none;
    color: white;
    background-color: transparent;
    font-size: 4rem;
    font-family: 'Amatic SC';
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}

.start.fadeIn{
    opacity:1;
}

.start.fadeOut{
    opacity:0;
}

@media (hover: hover) and (pointer: fine) {
    .start:hover { color: #9400D3; }
  }


#cooking {
    position: relative;
    margin: auto ;
    top: calc((100vh - 55vmax)/2);
    width: 30vh;
    min-width: 30vmax;
    height: 30vh;
    min-height: 30vmax;
    overflow: visible;
    opacity: 1;
    transition: opacity 1s;
}

#cooking.fade {
    opacity: 0;
}

/* @media (orientation: landscape) {
    #cooking {
      top: 10vh;
    }
  }
  
  @media (orientation: portrait) {
    #cooking {
      top: 15vh;
    }
  } */

#cooking #area {
    position: absolute;
    bottom: 0;
    right: 2.5vw;
    width: 50%;
    height: 50%;
    background-color: transparent;
    transform-origin: 15% 60%;
    animation: flip 2.1s ease-in-out infinite;
}

#cooking #area #sides {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 15% 60%;
    animation: switchSide 2.1s ease-in-out infinite;
}

#cooking #area #sides #handle {
    position: absolute;
    bottom: 18%;
    right: 80%;
    width: 35%;
    height: 20%;
    background-color: transparent;
    border-top: 1vh solid #ffffff;
    border-left: 1vh solid transparent;
    border-radius: 100%;
    transform: rotate(20deg) rotateX(0deg) scale(1.3, 0.9);
}
#cooking #area #sides #pan {
    position: absolute;
    bottom: 10%;
    right: 30%;
    width: 50%;
    height: 20%;
    background-color: #ffffff;
    border-radius: 0 0 1.4em 1.4em;
    transform-origin: -15% 0;
}

#cooking #area #pancake {
    position: absolute;
    top: 24%;
    width: 100%;
    height: 100%;
    transform: rotateX(85deg);
    animation: jump 2.1s ease-in-out infinite;
}

#cooking #area #pancake #pastry {
    position: absolute;
    bottom: 26%;
    right: 40%;
    width: 20%;
    height: 30%;
    background-color: #ffffff;
    box-shadow: 0 0 3px 0 #ffffff;
    border-radius: 100%;
    transform-origin: -140% 0;
    animation: fly 2.1s ease-in-out infinite;
}

/* #cooking #area #pancake #pastry {
    position: absolute;
    bottom: 26%;
    right: 37%;
    width: 40%;
    height: 45%;
    background-color: #ffffff;
    box-shadow: 0 0 3px 0 #ffffff;
    border-radius: 100%;
    transform-origin: -20% 0;
    animation: fly 2.1s ease-in-out infinite;
} */

#cooking #area #pancake #pastry2 {
    position: absolute;
    bottom: 26%;
    right: 60%;
    width: 15%;
    height: 20%;
    background-color: #ffffff;
    box-shadow: 0 0 3px 0 #ffffff;
    border-radius: 100%;
    transform-origin: -80% 0;
    animation: fly 2.1s ease-in-out infinite;
}

#cooking #area #pancake #pastry3 {
    position: absolute;
    bottom: 26%;
    right: 70%;
    width: 10%;
    height: 25%;
    background-color: #ffffff;
    box-shadow: 0 0 3px 0 #ffffff;
    border-radius: 100%;
    transform-origin: -160% 0;
    animation: fly 2.1s ease-in-out infinite;
}

#cooking .bubble {
    position: absolute;
    border-radius: 100%;
    box-shadow: 0 0 0.25vh #ffffff;
    opacity: 0;
}

#cooking .bubble:nth-child(1) {
    margin-top: -9.5vh;
    left: 58%;
    width: 2.5vh;
    height: 2.5vh;
    background-color: #ffffff;
    animation: bubble 2s cubic-bezier(0.53, 0.16, 0.39, 0.96) infinite;
}

#cooking .bubble:nth-child(2) {
    margin-top: -10vh;
    left: 52%;
    width: 2vh;
    height: 2vh;
    background-color: #ffffff;
    animation: bubble 2s ease-in-out 0.35s infinite; 
}

#cooking .bubble:nth-child(3) {
    margin-top: -8.8vh;
    left: 50%;
    width: 1.5vh;
    height: 1.5vh;
    background-color: #ffffff;
    animation: bubble 1.5s cubic-bezier(0.53, 0.16, 0.39, 0.96) 0.55s infinite;
}

#cooking .bubble:nth-child(4) {
    margin-top: -9.7vh;
    left: 56%;
    width: 1.2vh;
    height: 1.2vh;
    background-color: #ffffff;
    animation: bubble 1.8s cubic-bezier(0.53, 0.16, 0.39, 0.96) 0.55s infinite;
}

#cooking .bubble:nth-child(5) {
    margin-top: -9.7vh;
    left: 63%;
    width: 1.1vh;
    height: 1.1vh;
    background-color: #ffffff;
    animation: bubble 1.6s ease-in-out 1s infinite; 
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.2, 1);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
        opacity: 0.25;
    }
}

@keyframes flip {
    0% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-27deg);
    }

    30%, 50% {
        transform: rotate(0deg);
    }

    55% {
        transform: rotate(27deg);
    }

    83.3% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes switchSide {
    0% {
        transform: rotateY(0deg) ;
    }

    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes jump {
    0% {
        top: 24;
        transform: rotateX(85deg);
    }
    25% {
        top: 10%;
        transform: rotateX(0deg);
    }
    50% {
        top: 30%;
        transform: rotateX(85deg);
    }
    75% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(85deg);
    }
}

@keyframes fly {
    0% {
        bottom: 26%;
        transform: rotate(0deg);
    }
    10% {
        bottom: 40%;
    }
    50% {
        bottom: 26%;
        transform: rotate(-190deg);
    }
    80% {
        bottom: 40%;
    }
    100% {
        bottom: 26%;
        transform: rotate(0deg);
    }
}

@keyframes bubble {
    0% {
        transform: scale(0.15, 0.15);
        top: 80%;
        opacity: 0;
    }
    50% {
        transform: scale(1.1, 1.1);
        opacity: .4;
    }
    100% {
        transform: scale(0.33, 0.33);
        top: 60%;
        opacity: 0;
    }
}

/* ============================================================
   React overlay — cyber-terminal HUD system
   Diegetic screens that read as panels wired into the 3D shop.
   ============================================================ */

#react-root {
    --hud-ink: #eafaff;
    --hud-ink-dim: rgba(215, 238, 250, 0.68);
    --hud-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    --hud-mono: ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;

    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    color: var(--hud-ink);
    font-family: var(--hud-sans);
}

.screen-overlay-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.screen-overlay-panel {
    position: absolute;
    color: var(--hud-ink);
    contain: layout;
}

/* ---- accents (kept to one primary per screen) ---- */
.hud-accent-cyan   { --accent-rgb: 94, 230, 255; }
.hud-accent-amber  { --accent-rgb: 255, 190, 90; }
.hud-accent-violet { --accent-rgb: 190, 130, 255; }
.hud-accent-mint   { --accent-rgb: 119, 243, 207; }

/* ---- the frame ---- */
.hud-frame {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 12px 13px 13px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(var(--accent-rgb), 0.38);
    border-radius: 10px;
    background:
        radial-gradient(130% 90% at 12% -10%, rgba(var(--accent-rgb), 0.20), transparent 55%),
        linear-gradient(158deg, rgba(10, 17, 28, 0.97), rgba(4, 7, 13, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 30px rgba(var(--accent-rgb), 0.12),
        0 12px 34px rgba(0, 0, 0, 0.55),
        0 0 22px rgba(var(--accent-rgb), 0.22);
    animation: hud-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* faint tech grid, fading toward the bottom */
.hud-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(120% 130% at 50% 0%, #000 42%, transparent 100%);
    mask-image: radial-gradient(120% 130% at 50% 0%, #000 42%, transparent 100%);
    opacity: 0.55;
}

/* static CRT scanlines */
.hud-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.16) 50%);
    background-size: 100% 3px;
    opacity: 0.35;
}

/* moving scanline sweep */
.hud-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.12) 70%, rgba(var(--accent-rgb), 0.28));
    animation: hud-sweep 4.2s linear infinite;
}

/* corner brackets */
.hud-corner {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    pointer-events: none;
    border: 2px solid rgba(var(--accent-rgb), 0.85);
}
.hud-corner-tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.hud-corner-tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.hud-corner-bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.hud-corner-br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

/* ---- header rail ---- */
.hud-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.22);
}

.hud-head-titles { min-width: 0; }

.hud-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 3px;
    color: rgb(var(--accent-rgb));
    font-family: var(--hud-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hud-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(var(--accent-rgb));
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.9);
    animation: hud-pulse 1.8s ease-in-out infinite;
}

.hud-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.35);
}

.hud-head-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hud-status {
    font-family: var(--hud-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: rgba(var(--accent-rgb), 0.75);
}

.hud-close {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    color: var(--hud-ink);
    background: rgba(var(--accent-rgb), 0.10);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background 120ms ease, transform 120ms ease;
}
.hud-close:hover { background: rgba(var(--accent-rgb), 0.28); transform: translateY(-1px); }

/* ---- body ---- */
.hud-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 0;
    flex: 1;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb), 0.5) transparent;
}
.hud-body::-webkit-scrollbar { width: 6px; }
.hud-body::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.45); border-radius: 3px; }

.hud-body p { margin: 0; }

.hud-copy {
    color: var(--hud-ink-dim);
    font-size: 13px;
    line-height: 1.42;
}

/* ---- segmented tabs ---- */
.hud-tabs {
    display: flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
}
.hud-tab {
    flex: 1;
    padding: 7px 6px;
    color: var(--hud-ink-dim);
    background: transparent;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: color 120ms ease, background 120ms ease;
}
.hud-tab:hover { color: var(--hud-ink); }
.hud-tab.is-active {
    color: #05121a;
    background: rgb(var(--accent-rgb));
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.5);
}

/* ---- chips ---- */
.hud-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.hud-chip {
    padding: 4px 9px;
    color: rgb(var(--accent-rgb));
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 999px;
    font-family: var(--hud-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
}

/* ---- links ---- */
.hud-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}
.hud-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgb(var(--accent-rgb));
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.hud-link::before { content: "▸"; font-size: 9px; opacity: 0.8; }
.hud-link:hover { color: var(--hud-ink); text-decoration: underline; }

/* ---- buttons ---- */
.hud-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #05121a;
    background: rgb(var(--accent-rgb));
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45);
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.hud-btn:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.7); }
.hud-btn-ghost {
    color: rgb(var(--accent-rgb));
    background: rgba(var(--accent-rgb), 0.10);
    border: 1px solid rgba(var(--accent-rgb), 0.45);
    box-shadow: none;
    font-weight: 600;
}
.hud-btn-ghost:hover { background: rgba(var(--accent-rgb), 0.2); box-shadow: none; }

/* ---- meta strip (year · role · language) ---- */
.hud-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-family: var(--hud-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hud-ink-dim);
}
.hud-meta b { color: rgb(var(--accent-rgb)); font-weight: 700; }

/* ---- highlights list ---- */
.hud-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hud-list li {
    position: relative;
    padding-left: 16px;
    color: var(--hud-ink-dim);
    font-size: 12px;
    line-height: 1.38;
}
.hud-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: rgb(var(--accent-rgb));
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
    transform: rotate(45deg);
}

/* ---- project card (featured) ---- */
.hud-project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    overflow: hidden;
    color: var(--hud-ink);
    text-align: left;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 9px;
    font: inherit;
    cursor: pointer;
    transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.hud-project-card:hover {
    border-color: rgba(var(--accent-rgb), 0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 18px rgba(var(--accent-rgb), 0.35);
}

.hud-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05080e;
}
.hud-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hud-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 13, 0.92));
}
.hud-thumb-tag {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-family: var(--hud-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #05121a;
    background: rgb(var(--accent-rgb));
    border-radius: 4px;
}

.hud-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px 12px;
}
.hud-card-body h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
}
.hud-card-body p {
    color: var(--hud-ink-dim);
    font-size: 12px;
    line-height: 1.35;
}
.hud-card-cta {
    margin-top: 2px;
    font-family: var(--hud-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(var(--accent-rgb));
}

/* ---- project detail hero + gallery ---- */
.hud-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    background: #05080e;
    flex-shrink: 0;
}
.hud-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hud-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.hud-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    display: block;
}

/* ---- credits stepper ---- */
.hud-frame-credits .hud-body { justify-content: center; align-items: center; text-align: center; gap: 12px; }
.hud-frame-credits .hud-title { font-size: 22px; }
.hud-frame-credits .hud-btn { align-self: center; }
.hud-frame-credits .hud-copy { max-width: 90%; }
.hud-steps {
    display: flex;
    justify-content: center;
    gap: 7px;
}
.hud-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.28);
    transition: background 160ms ease, box-shadow 160ms ease;
}
.hud-step-dot.is-active {
    background: rgb(var(--accent-rgb));
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8);
}

/* ---- empty state ---- */
.hud-empty {
    margin: auto;
    text-align: center;
    color: var(--hud-ink-dim);
    font-size: 12px;
    line-height: 1.45;
}

/* ---- focus + accessibility ---- */
.hud-frame :focus-visible {
    outline: 2px solid rgb(var(--accent-rgb));
    outline-offset: 2px;
    border-radius: 5px;
}

/* ---- keyframes ---- */
@keyframes hud-in {
    from { opacity: 0; transform: translateY(6px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}
@keyframes hud-sweep {
    0%   { transform: translateY(-120%); opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: translateY(360%); opacity: 0; }
}
@keyframes hud-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* small projected panels */
@media (max-width: 720px) {
    .hud-frame { padding: 10px; gap: 8px; }
    .hud-title { font-size: 16px; }
    .hud-copy { font-size: 12px; }
    .hud-frame-credits .hud-title { font-size: 18px; }

    .screen-overlay-panel {
        left: max(12px, env(safe-area-inset-left)) !important;
        top: max(12px, env(safe-area-inset-top)) !important;
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto !important;
        height: auto !important;
    }

    .screen-overlay-panel .hud-close,
    .screen-overlay-panel .hud-tab,
    .screen-overlay-panel .hud-link,
    .screen-overlay-panel .hud-btn {
        min-height: 44px;
    }

    .screen-overlay-panel .hud-close {
        width: 44px;
    }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hud-frame { animation: none; }
    .hud-scan { display: none; }
    .hud-led { animation: none; }
    .hud-project-card:hover,
    .hud-btn:hover,
    .hud-close:hover { transform: none; }
}


/*# sourceMappingURL=main.css.map*/