/* ============================================
   CSS VARIABLES — LIGHT CAFÉ THEME
   ============================================ */
:root {
    --color-bg: #faf7f2;
    --color-surface: #ffffff;
    --color-surface-hover: #f3efe8;
    --color-text: #2c2420;
    --color-text-muted: #7a716a;
    --color-accent: #3a7d44;
    --color-accent-soft: rgba(58, 125, 68, 0.08);
    --color-warm: #d4813b;
    --color-warm-soft: rgba(212, 129, 59, 0.1);
    --color-border: #e5ded4;
    --color-chalkboard: #2e3a2e;
    --color-chalkboard-text: #d4e4c8;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-cursive: 'Dancing Script', cursive;
    --font-handwritten: 'Syne', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* ============================================
   NAVIGATION
   ============================================ */
/* ============================================
   NAV — STORYBOOK ILLUSTRATED GAME BAR
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 0.75rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(46, 58, 46, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220, 170, 60, 0.4);
    box-shadow:
        0 2px 0 rgba(220,170,60,0.5),
        0 8px 32px rgba(0,0,0,0.35);
}

.nav::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c8a060 25%, #f5d060 50%, #c8a060 75%, transparent 100%);
    opacity: 0.9;
}

.nav::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(220,170,60,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.nav__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.nav__logo img { height: 32px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)) brightness(1.1); }
.nav__logo-text { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: #f0d898; text-shadow: 0 1px 6px rgba(0,0,0,0.5); white-space: nowrap; }

.nav__links {
    display: flex; gap: 0rem; list-style: none; align-items: center; flex-wrap: nowrap;
}

.nav__links li a {
    display: flex; align-items: center;
    padding: 0.45rem 0.45rem;
    border-radius: 4px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s, letter-spacing 0.2s;
    position: relative;
}

.nav__links li a::before {
    content: '❯';
    font-size: 0.5rem;
    color: #f5d060;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    display: inline-block;
    transition: opacity 0.2s, max-width 0.25s, margin 0.25s;
    margin-right: 0;
}

.nav__links li a:hover {
    background: rgba(220,170,60,0.15);
    border-color: rgba(220,170,60,0.4);
}
.nav__links li a:hover::before {
    opacity: 1;
    max-width: 14px;
    margin-right: 5px;
}

.nav__links li a.active {
    background: rgba(220,170,60,0.2);
    border-color: rgba(220,170,60,0.5);
}

.nav__icon { display: none; }

.nav__label {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #f5e0a0;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    transition: color 0.2s, letter-spacing 0.2s;
}
.nav__links li a:hover .nav__label { color: #fff; letter-spacing: 0.2em; }

.nav__links li {
    display: flex;
    align-items: center;
}

.nav__links li + li::before {
    content: '·';
    color: rgba(220,170,60,0.5);
    font-size: 1rem;
    align-self: center;
    opacity: 1;
    pointer-events: none;
}

.nav__toggle {
    display: none; background: none;
    border: 1px solid rgba(220,170,60,0.5); border-radius: 4px;
    color: #f5e0a0; font-size: 1.2rem; cursor: pointer;
    padding: 0.3rem 0.5rem;
    transition: background 0.2s;
}
.nav__toggle:hover { background: rgba(220,170,60,0.15); }

/* ============================================
   VIOLIN CORNER FIGURE
   ============================================ */
.corner-figure {
    position: fixed;
    bottom: 0;
    right: -15px;
    z-index: 998;
    pointer-events: all;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.corner-figure img {
    height: 180px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* ============================================
   SECTION SHARED
   ============================================ */
section { padding: 5rem 3rem; position: relative; }
.section__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.section__header-icon { font-size: 2rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-warm-soft); border: 2px solid var(--color-border); border-radius: 12px; }
.section__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-accent); margin-bottom: 0.25rem; }
.section__title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

/* ============================================
   HERO — IMAGE BACKGROUND + ANIMATION LAYERS
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

/* ① Base image */
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/town.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Remove the override we added */
.hero {
    min-height: 100vh;
}
/* ② Cloud layer */
.hero__clouds {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Only show in top ~45% where the sky is in the image */
    clip-path: inset(0 0 55% 0);
}

.hero-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 50px;
    filter: blur(2px);
}
.hero-cloud::before,
.hero-cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
}

.hero-cloud--1 {
    width: 180px; height: 48px;
    top: 18%; left: -200px;
    animation: cloudDrift 35s linear infinite;
}
.hero-cloud--1::before { width: 80px; height: 80px; top: -44px; left: 24px; }
.hero-cloud--1::after  { width: 60px; height: 60px; top: -30px; left: 80px; }

.hero-cloud--2 {
    width: 130px; height: 36px;
    top: 8%; left: -150px;
    animation: cloudDrift 50s linear infinite 12s;
    opacity: 0.7;
}
.hero-cloud--2::before { width: 56px; height: 56px; top: -30px; left: 20px; }
.hero-cloud--2::after  { width: 42px; height: 42px; top: -20px; left: 60px; }

.hero-cloud--3 {
    width: 220px; height: 56px;
    top: 28%; left: -250px;
    animation: cloudDrift 44s linear infinite 6s;
    opacity: 0.6;
}
.hero-cloud--3::before { width: 96px; height: 96px; top: -52px; left: 32px; }
.hero-cloud--3::after  { width: 72px; height: 72px; top: -38px; left: 100px; }

@keyframes cloudDrift {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(100vw + 280px)); }
}

/* ③ String lights */
.hero__lights {
    position: absolute;
    /* Position over the awning area of the image — tweak top % to align */
    top: 36%;
    left: 0; right: 0;
    height: 50px;
    z-index: 3;
    pointer-events: none;
    padding: 0;
}
.lights-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.bulb-glow {
    animation: bulbPulse 2.6s ease-in-out infinite alternate;
}
.bulb-glow circle {
    filter: drop-shadow(0 0 5px rgba(255,215,60,0.95)) drop-shadow(0 0 10px rgba(255,190,40,0.6));
}
@keyframes bulbPulse {
    from { opacity: 0.75; }
    to   { opacity: 1.0;  filter: drop-shadow(0 0 9px rgba(255,215,60,1)) drop-shadow(0 0 18px rgba(255,190,40,0.7)); }
}
.bulb-glow:nth-child(2n) { animation-delay: 0.4s; }
.bulb-glow:nth-child(3n) { animation-delay: 0.9s; }
.bulb-glow:nth-child(4n) { animation-delay: 1.4s; }

/* ④ Bokeh particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    pointer-events: none;
}
@keyframes particleFloat {
    0%   { transform: translateY(0) scale(1);   opacity: 0; }
    8%   { opacity: 0.85; }
    92%  { opacity: 0.3; }
    100% { transform: translateY(-220px) scale(0.3); opacity: 0; }
}

/* ⑤ Vignette — darkens edges so text is readable */
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(30,18,8,0.45) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 0%,   rgba(30,18,8,0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ⑥ Hero content */
.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2.2rem 2.8rem;
    background: rgba(253, 248, 238, 0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    box-shadow:
        0 10px 50px rgba(100,65,20,0.18),
        0 2px 0 rgba(255,255,255,0.9) inset;
    max-width: 460px;
    margin: 0 auto;
    /* Nudge card up so it sits above the door */
    margin-bottom: 12vh;
}
.hero__greeting {
    font-family: var(--font-handwritten);
    font-size: 1.1rem; color: var(--color-warm);
    letter-spacing: 0.05em;
    display: block; margin-bottom: 0.2rem;
}
.hero__name {
    font-family: var(--font-cursive);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700; line-height: 1;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-family: var(--font-display);
    font-size: 0.6rem; text-transform: uppercase;
    letter-spacing: 0.32em; color: var(--color-text-muted);
    margin-top: 0.2rem; margin-bottom: 0.9rem;
}
.hero__tagline {
    font-size: 0.82rem; color: var(--color-text-muted);
    line-height: 1.65; max-width: 300px;
    margin: 0 auto 1.5rem;
}
.hero__cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--color-accent); color: #fff;
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.78rem 1.8rem; border-radius: 40px;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 18px rgba(58,125,68,0.38);
}
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(58,125,68,0.5); }
.hero__cta-icon { font-size: 0.65rem; }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.about__sign { font-family: var(--font-handwritten); font-size: 2rem; color: var(--color-warm); margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.about__content { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; max-width: 1000px; }
.about__photo { width: 100%; aspect-ratio: 3/4; background: var(--color-surface-hover); border: 3px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__nametag { background: #fff; padding: 0.75rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; display: inline-block; border: 2px solid var(--color-border); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.about__nametag-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: #999; display: block; }
.about__nametag-name { font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--color-accent); display: block; line-height: 1.2; }
.about__credentials { margin-bottom: 1.25rem; }
.about__credentials-school { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-warm); display: block; margin-bottom: 0.4rem; }
.about__credentials-list { list-style: none; padding: 0; }
.about__credentials-list li { font-size: 0.82rem; color: var(--color-text-muted); padding: 0.3rem 0; border-bottom: 1px solid var(--color-border); }
.about__credentials-list li:first-child { border-top: 1px solid var(--color-border); }
.about__text p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.9; margin-bottom: 1.5rem; }

/* ============================================
   CAFÉ MENU
   ============================================ */
.menu { background: var(--color-chalkboard); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 4rem 3rem; position: relative; overflow: hidden; }
.menu::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.02) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(255,255,255,0.015) 0%, transparent 40%); pointer-events: none; }
.menu__board { max-width: 800px; margin: 0 auto; position: relative; }
.menu__board-header { text-align: center; margin-bottom: 2.5rem; }
.menu__board-title { font-family: var(--font-handwritten); font-size: 3rem; color: var(--color-chalkboard-text); }
.menu__board-subtitle { font-size: 0.8rem; color: rgba(212,228,200,0.5); letter-spacing: 0.15em; text-transform: uppercase; }
.menu__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.menu__category { font-family: var(--font-handwritten); font-size: 1.6rem; color: var(--color-warm); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px dashed rgba(255,183,77,0.3); display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.menu__category-icon { font-size: 1.2rem; }
.menu__category-sub { font-family: var(--font-body); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(212,228,200,0.4); width: 100%; }
.menu__item { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.6rem 0; color: var(--color-chalkboard-text); font-size: 0.85rem; transition: color 0.3s; }
.menu__item:hover { color: #fff; }
.menu__item-name { white-space: nowrap; font-family: var(--font-handwritten); font-size: 1.15rem; }
.menu__item-dots { flex: 1; border-bottom: 1px dotted rgba(212,228,200,0.2); min-width: 20px; margin-bottom: 4px; }
.menu__item-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.5rem; background: rgba(179,136,255,0.15); color: #b388ff; border-radius: 4px; white-space: nowrap; }
.menu__footer-note { text-align: center; margin-top: 2rem; font-family: var(--font-handwritten); font-size: 1rem; color: rgba(212,228,200,0.35); }

/* ============================================
   PROJECTS
   ============================================ */
.projects__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.project-card { background: var(--color-surface); border: 2px solid var(--color-border); border-radius: 12px; padding: 1.75rem; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.project-card:hover { border-color: var(--color-accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.project-card__level { font-family: var(--font-display); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-warm); background: var(--color-warm-soft); display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1rem; border: 1px solid rgba(212,129,59,0.2); }
.project-card__image { width: 100%; aspect-ratio: 16/9; background: var(--color-surface-hover); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; overflow: hidden; border-radius: 8px; border: 1px solid var(--color-border); }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; }
.project-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-card__desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.project-card__tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.6rem; background: var(--color-accent-soft); color: var(--color-accent); border-radius: 4px; border: 1px solid rgba(58,125,68,0.15); }
.project-card__link { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.project-card__link:hover { gap: 0.8rem; }
/* ============================================
   IN PROGRESS CARD RIBBON
   ============================================ */
.project-card--wip::after {
    content: '🚧 In Progress';
    position: absolute;
    top: 22px;
    right: -34px;
    width: 140px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2c1a04;
    background: repeating-linear-gradient(
        -45deg,
        #f5d060,
        #f5d060 6px,
        #2c2008 6px,
        #2c2008 12px
    );
    padding: 5px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    pointer-events: none;
}

/* ============================================
   EXPERIENCE
   ============================================ */
.experience { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.experience__timeline { max-width: 800px; position: relative; padding-left: 40px; }
.experience__timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--color-border); }
.experience__item { display: flex; gap: 1.5rem; margin-bottom: 2rem; position: relative; }
.experience__badge { width: 32px; height: 32px; background: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #fff; flex-shrink: 0; position: absolute; left: -40px; top: 0.5rem; border: 3px solid var(--color-bg); z-index: 1; box-shadow: 0 2px 6px rgba(58,125,68,0.2); }
.experience__card { background: var(--color-bg); border: 2px solid var(--color-border); border-radius: 12px; padding: 1.5rem; flex: 1; transition: border-color 0.3s, box-shadow 0.3s; }
.experience__card:hover { border-color: var(--color-accent); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.experience__date { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-warm); display: inline-block; padding: 0.2rem 0.6rem; background: var(--color-warm-soft); border-radius: 4px; margin-bottom: 0.75rem; }
.experience__role { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.experience__company { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.experience__desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.8; }
.experience__cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-accent);
    transition: gap 0.3s;
}
.experience__cta:hover { gap: 0.8rem; }

/* ============================================
   PHOTOS
   ============================================ */
.polaroid-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 1rem 0 2rem;
}
.polaroid {
    background: #fff;
    padding: 12px 12px 44px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
    transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
    cursor: pointer;
    width: 200px;
    flex-shrink: 0;
    position: relative;
}
.polaroid:hover {
    transform: rotate(0deg) translateY(-12px) scale(1.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}
.polaroid::before {
    content: '';
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 20px;
    background: rgba(255,235,150,0.7);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.polaroid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    filter: contrast(1.02) saturate(1.05);
}
.polaroid__caption {
    position: absolute;
    bottom: 8px; left: 0; right: 0;
    text-align: center;
    font-family: var(--font-handwritten);
    font-size: 0.85rem;
    color: #4a3a2a;
}

/* ============================================
   LOGOS
   ============================================ */
.logos { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
 
.booth-strips {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem 0 2rem;
}
.booth-strip {
    width: 160px;
    background: linear-gradient(180deg, #3a2c5a 0%, #2a1f42 100%);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(60,30,80,0.35), 0 2px 8px rgba(0,0,0,0.2), inset 0 0 0 2px rgba(200,160,255,0.15);
    display: flex;
    flex-direction: column;
    transform: rotate(-1.5deg);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.booth-strip:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.04);
    box-shadow: 0 18px 50px rgba(60,30,80,0.45), 0 4px 12px rgba(0,0,0,0.25);
}
.booth-strip--alt {
    transform: rotate(1.5deg);
    background: linear-gradient(180deg, #2a3a2a 0%, #1a2a1a 100%);
    box-shadow: 0 8px 30px rgba(30,60,30,0.35), 0 2px 8px rgba(0,0,0,0.2), inset 0 0 0 2px rgba(160,220,160,0.15);
}
.booth-strip--alt:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); }
.booth-strip::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c8a96e, #f0d898, #c8a96e, transparent);
}
.booth-strip__frame {
    margin: 6px 10px;
    background: var(--color-surface);
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: filter 0.3s;
}
.booth-strip:hover .booth-strip__frame { filter: brightness(1.05); }
.booth-strip__frame img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: var(--color-bg); }
.booth-strip__frame--empty { background: rgba(255,255,255,0.04); }
.booth-strip__frame--empty span { font-size: 2rem; color: rgba(255,255,255,0.2); font-family: var(--font-display); }
.booth-strip__footer { padding: 10px 10px 14px; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.booth-strip__title { font-family: var(--font-cursive); font-size: 0.95rem; color: #f0d898; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.booth-strip--alt .booth-strip__title { color: #a8d8a0; }
.booth-strip__sub { font-family: var(--font-handwritten); font-size: 0.6rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }
.booth-strip::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c8a96e, #f0d898, #c8a96e, transparent);
}

/* ============================================
   CONTACT
   ============================================ */
.contact { display: flex; justify-content: center; padding: 5rem 3rem; }
.contact__envelope { max-width: 550px; width: 100%; }
.contact__envelope-flap { width: 100%; height: 80px; background: var(--color-surface-hover); clip-path: polygon(0 0, 50% 100%, 100% 0); border: 2px solid var(--color-border); border-bottom: none; }
.contact__envelope-body { background: var(--color-surface); border: 2px solid var(--color-border); border-top: none; border-radius: 0 0 12px 12px; padding: 2.5rem 2rem; margin-top: -2px; }
.contact__envelope-body .section__title { font-family: var(--font-handwritten); font-size: 2.2rem; color: var(--color-warm); margin-bottom: 1rem; }
.contact__text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.9; margin-bottom: 2rem; }
.contact__links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact__link { display: inline-flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--color-text-muted); padding: 0.5rem; border-radius: 8px; transition: color 0.3s, background 0.3s; }
.contact__link:hover { color: var(--color-accent); background: var(--color-accent-soft); }
.contact__link-icon { width: 36px; height: 36px; border: 1px solid var(--color-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; }
.contact__link:hover .contact__link-icon { border-color: var(--color-accent); background: var(--color-accent-soft); }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 2rem 3rem; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    section { padding: 3.5rem 1.5rem; }
    .nav { padding: 0.6rem 1.2rem; }
    .nav__links { display: none; }
    .nav__toggle { display: block; }
    .nav__links li + li::before { display: none; } .nav__links.active { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; width: 100%; background: linear-gradient(180deg, #fdf6e8 0%, #f2e4c4 100%); padding: 1rem 1.5rem; gap: 0.25rem; border-bottom: 3px solid #c8a96e; box-shadow: 0 8px 20px rgba(80,50,10,0.15); } .nav__links.active li a .nav__label {
    color: #3a2c1a;text-shadow: none;}
    .hero { min-height: 100vh; padding: 5rem 1rem 1rem; }
    .hero__content { padding: 1.5rem; }
    .hero__name { font-size: clamp(2.5rem, 10vw, 4rem); }
    .street-scene { display: none; }
    .bg-buildings { display: none; }
    .streetlamp { display: none; }
    .street-line { display: none; }
    .sidewalk { height: 20%; }
    .sky { height: 60%; }
    .section__title { font-size: 1.8rem; }
    .about__content { grid-template-columns: 1fr; gap: 2rem; }
    .about__photo { max-width: 280px; }
    .menu__columns { grid-template-columns: 1fr; gap: 2rem; }
    .menu__board-title { font-size: 2.2rem; }
    .projects__grid { grid-template-columns: 1fr; }
    .experience__timeline { padding-left: 30px; }
    .experience__badge { left: -30px; width: 26px; height: 26px; font-size: 0.65rem; }
    .contact__envelope-flap { height: 50px; }
    .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
    .character { display: none; }
    .cafe__string-lights { display: none; }
}
/* ============================================
   QUEST DIALOG — GAME MENU STYLE
   ============================================ */
.quest-open-btn {
    background: none; border: none; cursor: pointer;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-accent);
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: gap 0.3s; padding: 0;
    font-family: var(--font-body);
}
.quest-open-btn:hover { gap: 0.8rem; }

.quest-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(20,12,4,0.75);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.quest-overlay.active { opacity: 1; pointer-events: all; }

.quest-dialog {
    position: relative;
    background: linear-gradient(160deg, #fdf6e8 0%, #f5e9ce 100%);
    border: 3px solid #c8a060;
    border-radius: 16px;
    width: min(760px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 0 0 6px rgba(200,160,96,0.15), 0 30px 80px rgba(80,40,5,0.35), inset 0 1px 0 rgba(255,255,255,0.7);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
}
.quest-overlay.active .quest-dialog { transform: scale(1) translateY(0); }

.quest-dialog__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.4rem 0.75rem;
    border-bottom: 2px dashed rgba(200,160,96,0.4);
    background: linear-gradient(90deg, rgba(200,160,96,0.12) 0%, transparent 100%);
}
.quest-dialog__header-left { display: flex; align-items: center; gap: 0.75rem; }
.quest-dialog__badge {
    font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; color: #fff;
    background: var(--color-accent); padding: 0.3rem 0.9rem; border-radius: 20px;
    box-shadow: 0 2px 8px rgba(58,125,68,0.3);
}
.quest-dialog__status { font-family: var(--font-handwritten); font-size: 1rem; color: #5a8a3a; }
.quest-dialog__close {
    background: rgba(200,160,96,0.15); border: 2px solid #c8a060; border-radius: 8px;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem; color: #7a5020;
    transition: background 0.2s, transform 0.2s;
}
.quest-dialog__close:hover { background: rgba(200,160,96,0.35); transform: scale(1.1); }

.quest-dialog__body {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; padding: 1.5rem;
}
@media (max-width: 560px) { .quest-dialog__body { grid-template-columns: 1fr; } }

.quest-dialog__image {
    aspect-ratio: 16/9; background: var(--color-surface-hover);
    border: 2px solid var(--color-border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted); font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.1em; overflow: hidden;
}
.quest-dialog__image img { width: 100%; height: 100%; object-fit: cover; }

.quest-dialog__info { display: flex; flex-direction: column; gap: 0.85rem; }
.quest-dialog__title { font-family: var(--font-cursive); font-size: 2rem; color: var(--color-text); line-height: 1.1; }
.quest-dialog__desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.8; }
.quest-dialog__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.quest-dialog__tags span {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem; background: var(--color-accent-soft); color: var(--color-accent);
    border-radius: 4px; border: 1px solid rgba(58,125,68,0.15);
}
.quest-dialog__cta {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto;
    background: var(--color-accent); color: #fff;
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.75rem 1.5rem; border-radius: 40px; width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(58,125,68,0.35);
}
.quest-dialog__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(58,125,68,0.45); }

.quest-dialog__corner {
    position: absolute; width: 18px; height: 18px;
    border-color: #c8a060; border-style: solid;
}
.quest-dialog__corner--tl { top: 6px; left: 6px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.quest-dialog__corner--tr { top: 6px; right: 6px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.quest-dialog__corner--bl { bottom: 6px; left: 6px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.quest-dialog__corner--br { bottom: 6px; right: 6px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
/* ============================================
   QUEST DIALOG
   ============================================ */
.quest-open-btn {
    background: none; border: none; cursor: pointer;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-accent);
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: gap 0.3s; padding: 0; font-family: var(--font-body);
}
.quest-open-btn:hover { gap: 0.8rem; }

.quest-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(20,12,4,0.75); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.quest-overlay.active { opacity: 1; pointer-events: all; }

.quest-dialog {
    position: relative;
    background: linear-gradient(160deg, #fdf6e8 0%, #f5e9ce 100%);
    border: 3px solid #c8a060; border-radius: 16px;
    width: min(760px, 92vw); max-height: 88vh; overflow-y: auto;
    box-shadow: 0 0 0 6px rgba(200,160,96,0.15), 0 30px 80px rgba(80,40,5,0.35), inset 0 1px 0 rgba(255,255,255,0.7);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
}
.quest-overlay.active .quest-dialog { transform: scale(1) translateY(0); }

.quest-dialog__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.4rem 0.75rem;
    border-bottom: 2px dashed rgba(200,160,96,0.4);
    background: linear-gradient(90deg, rgba(200,160,96,0.12) 0%, transparent 100%);
}
.quest-dialog__header-left { display: flex; align-items: center; gap: 0.75rem; }
.quest-dialog__badge {
    font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; color: #fff;
    background: var(--color-accent); padding: 0.3rem 0.9rem; border-radius: 20px;
}
.quest-dialog__status { font-family: var(--font-handwritten); font-size: 1rem; color: #5a8a3a; }
.quest-dialog__close {
    background: rgba(200,160,96,0.15); border: 2px solid #c8a060; border-radius: 8px;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem; color: #7a5020; transition: background 0.2s, transform 0.2s;
}
.quest-dialog__close:hover { background: rgba(200,160,96,0.35); transform: scale(1.1); }

.quest-dialog__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem; }
@media (max-width: 560px) { .quest-dialog__body { grid-template-columns: 1fr; } }

.quest-dialog__image {
    aspect-ratio: 16/9; background: var(--color-surface-hover);
    border: 2px solid var(--color-border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted); font-size: 0.7rem; text-transform: uppercase; overflow: hidden;
}
.quest-dialog__image img { width: 100%; height: 100%; object-fit: cover; }
.quest-dialog__info { display: flex; flex-direction: column; gap: 0.85rem; }
.quest-dialog__title { font-family: var(--font-cursive); font-size: 2rem; color: var(--color-text); line-height: 1.1; }
.quest-dialog__desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.8; }
.quest-dialog__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.quest-dialog__tags span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.6rem; background: var(--color-accent-soft); color: var(--color-accent); border-radius: 4px; border: 1px solid rgba(58,125,68,0.15); }
.quest-dialog__cta {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto;
    background: var(--color-accent); color: #fff;
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.75rem 1.5rem; border-radius: 40px; width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 14px rgba(58,125,68,0.35);
}
.quest-dialog__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(58,125,68,0.45); }
.quest-dialog__corner { position: absolute; width: 18px; height: 18px; border-color: #c8a060; border-style: solid; }
.quest-dialog__corner--tl { top: 6px; left: 6px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.quest-dialog__corner--tr { top: 6px; right: 6px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.quest-dialog__corner--bl { bottom: 6px; left: 6px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.quest-dialog__corner--br { bottom: 6px; right: 6px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }