/* ==========================================================
   zanzouneto.com — shared look (refresh kit)
   Colors, type, header, footer, buttons, background, cursor.
   Page files only add their own layout on top of this.
   ========================================================== */
:root {
    --ink: #0d1820;
    --surface: #15222c;
    --surface-2: #1a2a35;
    --line: #22313c;
    --line-2: #2c3d4a;
    --paper: #f3f0e8;
    --mist: #a9b3bd;
    --yellow: #ffcc00;
    --red: #e8204a;
    --radius: 16px;
    --wrap: 1360px;
    --pad: 40px;
    /* old names, still used by a few page files */
    --main-yellow: #ffcc00;
    --black: #0d1820;
}
@font-face { font-family: 'Micro'; src: url('/font/Micro.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Micro'; src: url('/font/Micro bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--ink);
    color: var(--paper);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--paper); }
a:hover { color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.zs-micro { font-family: 'Micro', monospace; font-weight: 400; }
.zs-display { font-family: 'Micro', monospace; font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: 0.9; margin: 0; }
.zs-h2 { font-family: 'Micro', monospace; font-weight: 400; font-size: clamp(40px, 5vw, 56px); line-height: 0.95; margin: 0; }
.zs-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.zs-lead { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--mist); }
.zs-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.zs-section { padding: 88px 0; }
.zs-divider { border-top: 1px solid #1f2e39; }

/* ---------- buttons, chips, cards ---------- */
.zs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 22px; border-radius: 999px;
    font: 600 15px/1 'Space Grotesk', system-ui, sans-serif;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.zs-btn:hover { transform: translateY(-2px); }
.zs-btn-yellow, .zs-btn-yellow:hover { background: var(--yellow); color: var(--ink); }
.zs-btn-line { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.zs-btn-line:hover { background: var(--yellow); color: var(--ink); }
.zs-btn-ghost { background: transparent; border-color: var(--line-2); color: var(--paper); }
.zs-btn-ghost:hover { border-color: var(--yellow); color: var(--paper); }
.zs-btn-ink, .zs-btn-ink:hover { background: var(--ink); color: var(--yellow); }
.zs-btn-ink-line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.zs-btn-ink-line:hover { background: rgba(13, 24, 32, 0.08); color: var(--ink); }
.zs-btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }

.zs-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; line-height: 1.4; color: var(--mist); }
.zs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.zs-chip {
    min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
    background: transparent; color: var(--paper); font: 500 15px 'Space Grotesk', system-ui, sans-serif; cursor: pointer;
}
.zs-chip:hover { border-color: var(--yellow); }
.zs-chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.zs-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.zs-lift { transition: transform 0.25s ease, border-color 0.25s ease; }
.zs-lift:hover { transform: translateY(-4px); border-color: var(--yellow); }
.zs-ylink { color: var(--yellow); text-decoration: none; font-weight: 500; }
.zs-ylink:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- background (the portfolio glow, on ink instead of pitch black) ---------- */
.grainy-div { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.grainy {
    position: absolute; inset: 0;
    background:
        radial-gradient(30.67% 38.44% at 80.67% 75.58%, rgba(254, 214, 3, 0.2) 9.38%, rgba(254, 214, 3, 0) 100%),
        radial-gradient(49.38% 94.55% at 83.52% 20.1%, rgba(148, 25, 224, 0.34) 11.03%, rgba(148, 25, 224, 0) 100%),
        radial-gradient(33.33% 44.13% at 16.67% 27.89%, rgba(7, 233, 248, 0.24) 0.75%, rgba(7, 233, 248, 0) 100%),
        var(--ink);
}
.grain { position: absolute; inset: 0; background: url('/assets/noisy.png') repeat; background-size: 30%; mix-blend-mode: multiply; opacity: 0.9; }

/* ---------- header ---------- */
.zs-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 24, 32, 0.72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid #1f2e39;
}
.zs-header.is-overlay { position: absolute; left: 0; right: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.zs-header-in { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.zs-header.is-overlay .zs-header-in { max-width: none; padding-top: 20px; }
.zs-brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--paper); }
.zs-brand:hover { color: var(--paper); }
.zs-brand img { width: 40px; height: 40px; }
.zs-brand:hover img { animation: zs-shiver 0.45s infinite alternate; }
.zs-brand span { font-family: 'Micro', monospace; font-size: 26px; line-height: 1; }
.zs-nav { display: flex; align-items: center; gap: 28px; }
.zs-navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 500; }
.zs-navlink[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }
.zs-menu-btn {
    display: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(243, 240, 232, 0.3); background: rgba(13, 24, 32, 0.6); color: var(--paper);
    align-items: center; justify-content: center;
}
.zs-menu {
    position: fixed; inset: 0; z-index: 10001; background: var(--yellow); color: var(--ink);
    display: flex; flex-direction: column; padding: 16px 20px 32px; overflow-y: auto;
}
.zs-menu[hidden] { display: none; }
.zs-menu-top { display: flex; align-items: center; justify-content: space-between; }
.zs-menu-top span { font-family: 'Micro', monospace; font-size: 22px; }
.zs-menu-close { width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid rgba(13, 24, 32, 0.35); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zs-menu nav { margin-top: 56px; display: flex; flex-direction: column; gap: 4px; }
.zs-menu nav a { font-family: 'Micro', monospace; font-size: 46px; line-height: 1; padding: 8px 0; color: var(--ink); text-decoration: none; }
.zs-menu nav a:hover, .zs-menu nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; }
.zs-menu .zs-btn { margin-top: auto; min-height: 52px; font-size: 16px; }
@keyframes zs-shiver { 0% { transform: rotate(-4deg); } 100% { transform: rotate(4deg); } }

/* ---------- footer ---------- */
.zs-footer { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 40px; position: relative; }
.zs-footer-card { background: var(--yellow); color: var(--ink); border-radius: 24px; padding: 64px 56px 40px; display: flex; flex-direction: column; gap: 24px; }
.zs-footer-card p { margin: 0; font-size: 19px; line-height: 1.5; max-width: 520px; }
.zs-footer-row { display: flex; flex-wrap: wrap; gap: 12px; }
.zs-footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(13, 24, 32, 0.2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.zs-footer-bottom nav { display: flex; flex-wrap: wrap; column-gap: 28px; }
.zs-footer-bottom nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.zs-footer-bottom nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- hire me sticker (always on screen, above the footer) ---------- */
.zs-hire { position: fixed; right: 28px; bottom: 24px; z-index: 9000; width: 132px; display: block; text-decoration: none; animation: zs-bob 3.2s ease-in-out infinite; }
.zs-hire img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.zs-hire span { position: absolute; right: -4px; top: -20px; font-family: 'Micro', monospace; font-size: 32px; line-height: 0.85; text-align: right; color: var(--yellow); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.zs-hire:hover span { color: var(--paper); }
@keyframes zs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- cursor: two dots that follow one after another ---------- */
#cursor1, #cursor2 { position: fixed; left: -100px; top: -100px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 10000; opacity: 0.6; }
#cursor1 { width: 25px; height: 25px; background: var(--yellow); transition: top 0.4s ease, left 0.4s ease; }
#cursor2 { width: 30px; height: 30px; border: 3px solid var(--yellow); transition: top 0.9s ease, left 0.9s ease; }
@media (hover: none), (pointer: coarse) { #cursor1, #cursor2 { display: none; } }

@media (prefers-reduced-motion: reduce) {
    .zs-hire, .zs-brand:hover img { animation: none; }
    #cursor1, #cursor2 { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
    .zs-nav { display: none; }
    .zs-menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
    :root { --pad: 20px; }
    body { font-size: 16px; }
    .zs-header-in { padding-top: 12px; padding-bottom: 12px; }
    .zs-brand img { width: 34px; height: 34px; }
    .zs-brand span { font-size: 22px; }
    .zs-section { padding: 64px 0; }
    .zs-footer { padding-bottom: 20px; }
    .zs-footer-card { padding: 40px 24px 28px; border-radius: 20px; }
    .zs-hire { width: 80px; right: 12px; bottom: 14px; }
    .zs-hire span { font-size: 22px; top: -12px; }
}

/* ==========================================================
   Hover fun (brought back from the old site)
   ========================================================== */
/* eyes that look right, then left, on anything clickable */
@media (hover: hover) and (pointer: fine) {
    a:hover, button:hover { animation: zs-eyes 0.8s infinite; }
}
@keyframes zs-eyes {
    0%, 100% { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text y='26' font-size='24'>👀</text></svg>") 16 16, pointer; }
    50% { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><g transform='translate(32 0) scale(-1 1)'><text y='26' font-size='24'>👀</text></g></svg>") 16 16, pointer; }
}
/* nav links light up as pills */
.zs-navlink { padding: 0 12px; border-radius: 999px; transition: background-color 0.25s ease, color 0.25s ease; }
.zs-navlink:hover { background: var(--yellow); color: var(--ink); }
.zs-menu nav a { align-self: flex-start; padding: 8px 16px; margin-left: -16px; border-radius: 30px; transition: background-color 0.25s ease, color 0.25s ease; }
.zs-menu nav a:hover { background: var(--ink); color: var(--yellow); text-decoration: none; }
/* hire me: waves at you and grows */
.zs-hire { transition: scale 0.5s ease-in; }
.zs-hire:hover {
    scale: 1.1;
    animation: zs-bob 3.2s ease-in-out infinite;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text y='26' font-size='24'>👋</text></svg>") 16 16, pointer;
}
