/* ============================================================
   tinytests.me — Airy Tide palette
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:          #faf3dd;
    --headline:    #03312e;
    --sub:         #17564c;
    --accent:      #8ac6a9;
    --secondary:   #f6bd60;
    --highlight:   #f28482;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--headline);
    line-height: 1.6;
}

/* ================ NAVBAR ================ */
.navbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 1.75rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 10;
}

.nav-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 900;
    font-style: italic;
    color: var(--headline);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    width: 10px; height: 10px;
    background: var(--highlight);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--headline);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-link:hover { opacity: 1; }

.nav-link-pill {
    opacity: 1;
    background: var(--headline);
    color: var(--bg);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.nav-link-pill:hover { background: var(--sub); }

/* ================ HERO ================ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-splats {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--headline);
    margin-bottom: 1.5rem;
}

.hero-content h1 em {
    font-style: italic;
}

.hero-accent {
    color: var(--highlight);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--sub);
    line-height: 1.75;
    max-width: 440px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-sticker {
    position: absolute;
    font-size: 2.5rem;
    color: var(--headline);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.sticker-1 { top: -30px; right: 20px; animation-delay: 0s; }
.sticker-2 { bottom: -30px; left: 10px; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%       { transform: translateY(-12px) rotate(5deg); }
}

.hero-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--headline);
    position: relative;
    overflow: hidden;
    transform: rotate(-2deg);
    box-shadow: 10px 10px 0 var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 380px;
    width: 100%;
}

.hero-card:hover {
    transform: rotate(-0.5deg) translateY(-6px);
    box-shadow: 14px 14px 0 var(--highlight);
}

.hero-card-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 7px;
    background: var(--accent);
    border-radius: 20px 20px 0 0;
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

.hero-card-avatar {
    width: 52px; height: 52px;
    background: var(--headline);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 900;
    font-style: italic;
    flex-shrink: 0;
}

.hero-card-title {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 900;
    font-style: italic;
    color: var(--headline);
    line-height: 1.2;
}

.hero-card-role {
    font-size: 0.8rem;
    color: var(--sub);
    font-weight: 500;
    margin-top: 0.1rem;
}

.hero-card-bio {
    font-size: 0.95rem;
    color: var(--sub);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(3,49,46,0.1);
    padding-top: 1.25rem;
}

.hero-card-cta {
    display: inline-block;
    background: var(--headline);
    color: var(--bg);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-card-cta:hover {
    background: var(--sub);
}

/* ================ EXPERIMENTS SECTION ================ */
.experiments {
    padding: 8rem 3rem;
    background: var(--headline);
    position: relative;
}

.experiments::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--bg) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.08;
    pointer-events: none;
}

.experiments-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.experiments-inner h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--bg);
    line-height: 1.0;
    margin-bottom: 3rem;
}

.experiments-inner h2 em {
    font-style: italic;
    color: var(--secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--headline);
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:not(.tool-card--dim):hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 8px 8px 0 var(--secondary);
}

.tool-card--dim {
    opacity: 0.4;
    cursor: default;
}

.tool-accent-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--accent);
    border-radius: 20px 20px 0 0;
}

.tool-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.tool-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.tool-title {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: var(--headline);
    margin-bottom: 0.35rem;
}

.tool-desc {
    color: var(--sub);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================ FOOTER ================ */
.footer {
    padding: 3rem;
    text-align: center;
    background: var(--headline);
    color: var(--bg);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.9;
}

.footer a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer a:hover { color: var(--secondary); }

/* ================ RESPONSIVE ================ */
@media (max-width: 768px) {
    .navbar { padding: 1.25rem 1.5rem; }
    .hero { padding: 0 1.5rem; height: auto; min-height: 100vh; padding-top: 6rem; padding-bottom: 4rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { display: none; }
    .experiments { padding: 5rem 1.5rem; }
    .tools-grid { grid-template-columns: 1fr; }
}
