body {
    font-family: "Cutive Mono", monospace;
    font-size: 12px;
    margin: 0;
    /* TODO: swap this hex once you grab Sasha Satchi's actual background color */
    background-color: #F4F1EC;
}

#hero-canvas {
    width: 100%;
    height: 100vh; /* fills the full screen height, edge to edge */
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 24px 8%;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* stack nav links on phones instead of squeezing them in a row */
@media all and (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 16px; /* only needed here, since space-between doesn't apply well to a single column */
    }
}

nav a {
    text-decoration: none;
    color: inherit;
    letter-spacing: 0.05em;
}

/* Respect the user's OS-level motion preference site-wide.
   This is a fallback net for any future transitions/animations —
   the hero canvas's reduced-motion handling lives in sketch.js. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RECESS SLIP ===== */

/* The wrapper clips the slip, so it looks like it's sliding out from under the nav */
.recess-slip-wrap {
    overflow: hidden;
    padding: 0 8% 28px; /* bottom padding leaves room for the shadow */
}

.recess-slip {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    height: 50vh;
    min-height: 260px;

    color: #111111;
    font-family: 'Cutive Mono', monospace;
    font-size: clamp(20px);
    letter-spacing: 0.3em;
    text-indent: 0.3em; /* keeps the text visually centered */

    border: 1.5px solid #E8E5E0;
    border-top: none;
    border-bottom-style: dashed;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);

    /* paper: a speckled noise layer on top of a warm cream color */
    background-color: #F4F1EC;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

    /* starts fully hidden above the wrapper, then slides down */
    transform: translateY(-100%);
    animation: slip-out 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

@keyframes slip-out {
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .recess-slip {
        animation-duration: 0.01s;
        animation-delay: 0s;
    }
}



