/* Thoth Nouveau marketing site — Passiflora-inspired parchment */

@font-face {
    font-family: "Bocklin";
    src: url("fonts/bocklin.regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #2b180a;
    --ink-soft: #5c4030;
    --parchment: #f7f1e3;
    --parchment-deep: #ebe2cf;
    --card-shadow: rgba(43, 24, 10, 0.28);
    --accent: #8b5e3c;
    --accent-strong: #6b4423;
    --rule: color-mix(in srgb, var(--accent) 35%, transparent);
    --display-font: "Bocklin", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --heading-font: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, Palatino, Georgia, serif;
    --body-font: Superclarendon, "Bookman Old Style", "URW Bookman", "URW Bookman L", "Georgia Pro", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(ellipse 120% 80% at 50% -10%, #fffaf0 0%, transparent 55%),
        linear-gradient(180deg, var(--parchment) 0%, var(--parchment-deep) 100%);
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-strong);
}

a:hover,
a:focus-visible {
    color: var(--ink);
}

.site-header {
    padding: 1.25rem 1.5rem 0;
}

.site-header-inner {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 18%;
    box-shadow: 0 2px 10px var(--card-shadow);
}

.brand-wordmark {
    margin: 0;
    font-family: var(--heading-font);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.brand-wordmark a {
    color: inherit;
    text-decoration: none;
}

main {
    padding: 0 1.5rem 3.5rem;
}

.hero {
    max-width: 56rem;
    margin: 2.5rem auto 0;
    text-align: center;
}

.hero h1 {
    margin: 0 0 0.65rem;
    font-family: var(--display-font);
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: normal;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.hero .tagline {
    margin: 0 auto;
    max-width: 32rem;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.samples {
    max-width: 56rem;
    margin: 3rem auto 0;
}

.samples h2,
.downloads h2 {
    margin: 0 0 1.25rem;
    font-family: var(--heading-font);
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 600;
    text-align: center;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: end;
    justify-items: center;
}

@media (max-width: 640px) {
    .sample-grid {
        grid-template-columns: 1fr;
        max-width: 14rem;
        margin-inline: auto;
        gap: 1.75rem;
    }
}

.sample-card {
    margin: 0;
    width: 100%;
    max-width: 14rem;
}

.sample-card img,
.sample-card .sample-video {
    width: 100%;
    border-radius: 10px;
    box-shadow:
        0 8px 28px var(--card-shadow),
        0 1px 0 rgba(255, 255, 255, 0.35) inset;
    background: #111;
}

.sample-card .sample-video {
    display: block;
    height: auto;
    aspect-ratio: 768 / 1168;
    object-fit: cover;
    object-position: center center;
}

.sample-card figcaption {
    margin-top: 0.55rem;
    font-family: var(--heading-font);
    font-size: 0.95rem;
    text-align: center;
    color: var(--ink-soft);
}

.blurb {
    max-width: 36rem;
    margin: 3rem auto 0;
    text-align: center;
    color: var(--ink-soft);
}

.blurb p {
    margin: 0 0 0.85rem;
}

.blurb p:last-child {
    margin-bottom: 0;
}

.downloads {
    max-width: 40rem;
    margin: 3.25rem auto 0;
    padding: 2rem 1.5rem;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: color-mix(in srgb, #fff 55%, var(--parchment));
    text-align: center;
}

.downloads .lede {
    margin: -0.35rem 0 1.5rem;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-links li {
    margin: 0;
}

/* Placeholder badges — swap href + remove .is-placeholder when live */
.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10.5rem;
    min-height: 3rem;
    padding: 0.55rem 1.1rem;
    border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--parchment) 80%, #fff);
    color: var(--ink-soft);
    font-family: var(--heading-font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}

.store-badge.is-placeholder {
    cursor: default;
    pointer-events: none;
    opacity: 0.85;
}

.store-badge .store-name {
    display: block;
}

.store-badge .store-status {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.8;
}

.site-footer {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.site-footer p {
    margin: 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--rule);
}
