/* =========================================================================
   PromptSeen — Design System  (v2 · modern SaaS refresh)
   Palette : warm off-white canvas, ink, electric cobalt, warm coral
   Type    : TikTok Sans (display + UI/body) · JetBrains Mono (prompts)
   Icons   : Phosphor (line)
   ========================================================================= */

:root {
    /* ---- color ---- */
    --canvas: #FBFAF8;
    --surface: #FFFFFF;
    --surface-2: #F3F1EB;
    --surface-3: #ECE9E1;
    --ink: #16151A;
    --ink-soft: #4A4852;
    --muted: #8B8894;
    --line: #E8E5DD;
    --line-soft: #F0EEE7;

    /* accent — electric cobalt (replaces the old violet) */
    --accent: #3B5BFF;
    --accent-ink: #2135C0;
    --accent-2: #6E85FF;
    --accent-wash: #E9EDFF;
    --accent-glow: rgba(59, 91, 255, .28);

    /* secondary */
    --coral: #FF6A45;
    --coral-ink: #C43F1E;
    --coral-wash: #FFEBE4;
    --mint: #12B886;
    --mint-wash: #E4F7EF;

    /* ---- type ---- */
    --f-body: "TikTok Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    /* ---- shape + space ---- */
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(20, 19, 26, .05);
    --shadow-sm: 0 1px 3px rgba(20, 19, 26, .06), 0 4px 12px rgba(20, 19, 26, .05);
    --shadow-md: 0 8px 26px rgba(20, 19, 26, .09), 0 3px 8px rgba(20, 19, 26, .05);
    --shadow-lg: 0 26px 60px rgba(20, 19, 26, .16);
    --shadow-accent: 0 10px 26px var(--accent-glow);

    --container: 1200px;
    --header-h: 70px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--f-body);
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}

i.ph,
i[class^="ph-"],
i[class*=" ph-"] {
    line-height: 1;
    display: inline-flex;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    padding-block: clamp(52px, 8vw, 104px);
}

.section--tight {
    padding-block: clamp(36px, 5vw, 64px);
}

.center {
    text-align: center;
}

.center .lead {
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent-wash);
    padding: 7px 14px;
    border-radius: var(--r-pill);
}

.eyebrow i.ph {
    font-size: 14px;
}

.eyebrow.eyebrow--coral {
    color: var(--coral-ink);
    background: var(--coral-wash);
}

/* ---------- type scale ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--f-body);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--ink);
}

.h-display {
    font-size: clamp(2.35rem, 5.4vw, 4.05rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.02;
}

.h-section {
    font-size: clamp(1.85rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 60ch;
    line-height: 1.65;
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(100deg, var(--accent) 10%, var(--coral) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- buttons ---------- */
.btn {
    --btn-bg: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    padding: 13px 22px;
    border-radius: var(--r-pill);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    cursor: pointer;
}

.btn i.ph {
    font-size: 1.15em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn .arrow {
    transition: transform .22s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* =========================================================================
   HEADER + NAV  (dropdowns + integrated search)
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 248, .78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 1px 0 rgba(20, 19, 26, .04);
    background: rgba(251, 250, 248, .9);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.03em;
    flex: none;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    flex: none;
    background: linear-gradient(135deg, var(--accent), var(--coral));
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.brand__mark i.ph {
    font-size: 19px;
}

.brand__name b {
    color: var(--accent);
    font-weight: 800;
}

/* the panel wraps search + links + cta.
   desktop: contents (children flow into the nav row); mobile: fixed drawer. */
.nav__panel {
    display: contents;
}

/* search */
.nav__search {
    order: 2;
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
    width: clamp(180px, 22vw, 288px);
    min-width: 168px;
    flex-shrink: 1;
}

.nav__search i.ph {
    position: absolute;
    left: 14px;
    font-size: 17px;
    color: var(--muted);
    pointer-events: none;
}

.nav__search input {
    width: 100%;
    font-size: .9rem;
    color: var(--ink);
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.nav__search input::placeholder {
    color: var(--muted);
}

.nav__search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-wash);
}

/* links */
.nav__links {
    order: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__links>li {
    position: relative;
}

.nav__links a,
.nav__drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 9px 13px;
    border-radius: var(--r-pill);
    transition: color .2s, background .2s;
    cursor: pointer;
}

.nav__links a:hover,
.nav__drop-toggle:hover {
    color: var(--ink);
    background: var(--surface-2);
}

.nav__links a.active {
    color: var(--accent);
    background: var(--accent-wash);
}

.nav__drop-toggle .caret {
    font-size: 13px;
    transition: transform .25s var(--ease);
    margin-left: -1px;
}

.has-dropdown.open .nav__drop-toggle .caret {
    transform: rotate(180deg);
}

.has-dropdown.open>.nav__drop-toggle {
    color: var(--ink);
    background: var(--surface-2);
}

/* dropdown panel */
.nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 264px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.98);
    transform-origin: top left;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    z-index: 20;
}

.nav__dropdown--wide {
    min-width: 320px;
}

.has-dropdown:hover .nav__dropdown,
.has-dropdown.open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav__dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--ink-soft);
}

.nav__dropdown a:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.dd-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: none;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: var(--accent-wash);
    color: var(--accent);
}

.nav__dropdown a:nth-child(2n) .dd-ico {
    background: var(--coral-wash);
    color: var(--coral);
}

.dd-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.dd-text b {
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
}

.dd-text span {
    font-size: .78rem;
    color: var(--muted);
}

.nav__dropdown-foot {
    margin: 6px 4px 2px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .86rem;
    font-weight: 600;
    color: var(--accent);
}

.nav__dropdown-foot:hover {
    color: var(--accent-ink);
}

.nav__cta-btn {
    order: 3;
    flex: none;
}

/* hamburger */
.nav__toggle {
    order: 4;
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--surface);
}

.nav__toggle i.ph {
    font-size: 22px;
}

.nav__toggle .ph-x {
    display: none;
}

.nav__toggle.is-open .ph-list {
    display: none;
}

.nav__toggle.is-open .ph-x {
    display: inline-flex;
}

/* ---- responsive nav ---- */
@media (max-width: 1080px) {
    .nav__toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav__panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: var(--surface);
        padding: 18px 20px 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .26s var(--ease), transform .26s var(--ease);
    }

    .nav__panel.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__search {
        order: 0;
        width: 100%;
        margin: 2px 0 8px;
    }

    .nav__search input {
        padding-block: 13px;
    }

    .nav__links {
        order: 1;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav__links a,
    .nav__drop-toggle {
        width: 100%;
        padding: 13px 14px;
        font-size: 1rem;
        border-radius: var(--r-sm);
        justify-content: flex-start;
    }

    .nav__drop-toggle {
        justify-content: space-between;
    }

    .nav__drop-toggle .caret {
        margin-left: auto;
    }

    /* mobile accordion dropdown */
    .nav__dropdown {
        position: static;
        min-width: 0;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 2px 4px 8px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: hidden;
        transition: max-height .3s var(--ease), visibility .3s, padding .3s;
    }

    .has-dropdown.open .nav__dropdown {
        max-height: 720px;
        visibility: visible;
        padding: 2px 2px 8px 8px;
    }

    .nav__dropdown a {
        padding: 10px 10px;
    }

    .nav__cta-btn {
        order: 2;
        width: 100%;
        margin-top: 10px;
        padding-block: 15px;
    }
}

/* =========================================================================
   HERO  (compact — jump quickly to prompts)
   ========================================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(30px, 5vw, 62px) clamp(30px, 4vw, 52px);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(620px 300px at 8% -6%, var(--accent-wash), transparent 62%),
        radial-gradient(560px 320px at 100% 0%, var(--coral-wash), transparent 60%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__title {
    margin-top: 16px;
}

.hero__title .line-2 {
    display: block;
}

.hero__sub {
    margin-top: 16px;
    max-width: 52ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero__stats {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.hero__stat b {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}

.hero__stat span {
    font-size: .82rem;
    color: var(--muted);
}

/* hero product mock (a live prompt card) */
.hero__stage {
    position: relative;
    height: 100%;
    min-height: 380px;
    display: grid;
    place-items: center;
}

.hero__card {
    position: relative;
    z-index: 3;
    width: min(360px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(-1.4deg);
    transition: transform .5s var(--ease);
}

.hero__stage:hover .hero__card {
    transform: rotate(0deg) translateY(-4px);
}

.hero__card-media {
    position: relative;
    aspect-ratio: 2/2;
    overflow: hidden;
}

.hero__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__card-media .pill {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .02em;
    padding: 5px 11px;
    border-radius: var(--r-pill);
}

.hero__card-body {
    padding: 16px 16px 18px;
}

.hero__card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero__card-prompt {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 11px 13px;
    font-family: var(--f-mono);
    font-size: .74rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-height: 78px;
    overflow: hidden;
    position: relative;
}

.hero__card-prompt::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30px;
    background: linear-gradient(transparent, var(--surface-2));
}

.hero__card-copy {
    margin-top: 12px;
    width: 100%;
}

.hero__thumb {
    position: absolute;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
    z-index: 1;
}

.hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__thumb--1 {
    width: 116px;
    height: 148px;
    top: 2%;
    right: 2%;
    transform: rotate(6deg);
    z-index: 2;
}

.hero__thumb--2 {
    width: 104px;
    height: 132px;
    bottom: 0;
    left: 0;
    transform: rotate(-7deg);
}

.hero__chip {
    position: absolute;
    z-index: 5;
    bottom: 12%;
    right: -6px;
    background: var(--ink);
    color: #fff;
    font-family: var(--f-mono);
    font-size: .76rem;
    padding: 9px 15px;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hero__chip i.ph {
    color: var(--mint);
    font-size: 15px;
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero__copy {
        text-align: left;
    }

    .hero__stage {
        min-height: 320px;
    }

    .hero__thumb--1 {
        right: 8%;
    }

    .hero__thumb--2 {
        left: 8%;
    }
}

@media (max-width: 460px) {
    .hero__stats {
        gap: 14px;
    }

    .hero__thumb {
        display: none;
    }

    .hero__chip {
        right: 50%;
        transform: translateX(50%);
        bottom: -14px;
    }
}


/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 46px;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 26px 28px;
    transition: transform .3s var(--ease), box-shadow .3s;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step__num {
    font-family: var(--f-mono);
    font-size: .78rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: .08em;
}

.step__icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    margin: 14px 0 18px;
    background: var(--accent-wash);
    color: var(--accent);
    display: grid;
    place-items: center;
}

.step__icon i.ph {
    font-size: 26px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--ink-soft);
    font-size: .95rem;
}

.step:nth-child(2) .step__icon {
    background: var(--coral-wash);
    color: var(--coral);
}

.step:nth-child(2) .step__num {
    color: var(--coral);
}

.step:nth-child(3) .step__icon {
    background: var(--mint-wash);
    color: var(--mint);
}

.step:nth-child(3) .step__num {
    color: var(--mint);
}

@media (max-width: 820px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   SECTION HEADER (shared)
   ========================================================================= */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.sec-head__text {
    max-width: 640px;
}

.sec-head h2 {
    margin: 14px 0 10px;
}

.sec-head p {
    color: var(--ink-soft);
}

/* =========================================================================
   BOARDS GRID (home collections)
   ========================================================================= */
.boards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.board-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.board-card__media {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
}

.board-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.board-card:hover .board-card__media img {
    transform: scale(1.06);
}

.board-card__tag {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;
    background: rgba(20, 19, 26, .72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .03em;
    padding: 6px 12px;
    border-radius: var(--r-pill);
}

.board-card__count {
    position: absolute;
    bottom: 13px;
    right: 13px;
    z-index: 2;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: .76rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.board-card__count i.ph {
    font-size: 14px;
    color: var(--accent);
}

.board-card__body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.board-card__body h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    letter-spacing: -.015em;
}

.board-card__body p {
    color: var(--ink-soft);
    font-size: .9rem;
    flex: 1;
}

.board-card__foot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--accent);
    font-weight: 600;
    font-size: .88rem;
}

.board-card__foot i.ph {
    font-size: 16px;
    transition: transform .25s var(--ease);
}

.board-card:hover .board-card__foot i.ph {
    transform: translateX(4px);
}

.boards--archive {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 940px) {

    .boards,
    .boards--archive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .boards,
    .boards--archive {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   CATEGORY CHIPS
   ========================================================================= */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: var(--r-pill);
    transition: all .2s;
}

.chip i.ph {
    font-size: 15px;
    color: var(--accent);
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.chip.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.chip.active i.ph {
    color: #fff;
}

/* =========================================================================
   CTA BANNER
   ========================================================================= */
.cta-banner {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    padding: clamp(40px, 6vw, 76px);
    text-align: center;
}

.cta-banner__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(500px 300px at 15% 10%, rgba(59, 91, 255, .6), transparent 60%),
        radial-gradient(460px 300px at 85% 92%, rgba(255, 106, 69, .44), transparent 60%);
}

.cta-banner>* {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #fff;
}

.cta-banner p {
    color: rgba(255, 255, 255, .78);
    max-width: 52ch;
    margin: 16px auto 30px;
}

.cta-banner .eyebrow {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.cta-banner .eyebrow::before {
    display: none;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding-block: 64px 28px;
    margin-top: 20px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__brand .brand {
    color: #fff;
    margin-bottom: 16px;
}

.footer__brand .brand__name b {
    color: var(--accent-2);
}

.footer__brand p {
    font-size: .92rem;
    max-width: 34ch;
    line-height: 1.65;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 20px;
    transition: background .2s, transform .2s, color .2s;
}

.footer__social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer__col h4 {
    font-family: var(--f-mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 15px;
}

.footer__col a {
    display: block;
    padding: 6px 0;
    font-size: .93rem;
    color: rgba(255, 255, 255, .72);
    transition: color .2s, padding .2s;
}

.footer__col a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 820px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 30px 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: auto;
    }
}

/* =========================================================================
   TOAST
   ========================================================================= */
.toast-wrap {
    position: fixed;
    z-index: 200;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 500;
    font-size: .92rem;
    padding: 13px 20px;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i.ph {
    font-size: 18px;
    color: var(--mint);
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}/* =========================================================================
   PAGE-SPECIFIC STYLES — board gallery, masonry, legal, contact, about
   ========================================================================= */

/* ---------- generic page hero (inner pages) ---------- */
.page-hero {
    padding-block: clamp(22px, 3vw, 44px) clamp(18px, 2.5vw, 32px);
    position: relative;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(520px 260px at 6% -20%, var(--accent-wash), transparent 62%),
        radial-gradient(480px 260px at 100% -10%, var(--coral-wash), transparent 60%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    margin: 2px 0 0;
    font-weight: 800;
    letter-spacing: -.03em;
}

.page-hero .lead {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    margin-top: 2px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb i.ph {
    font-size: 14px;
}

/* =========================================================================
   BOARD PAGE — meta row (toolbar removed; search now lives in the navbar)
   ========================================================================= */
.board-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.board-meta__count {
    font-family: var(--f-mono);
    font-size: .86rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.board-meta__count b {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- MASONRY ---------- */
.masonry {
    column-count: 3;
    column-gap: 22px;
}

.masonry--4 {
    column-count: 4;
}

@media (max-width: 1100px) {
    .masonry--4 {
        column-count: 3;
    }
}

@media (max-width: 1000px) {

    .masonry,
    .masonry--4 {
        column-count: 2;
    }
}

@media (max-width: 600px) {

    .masonry,
    .masonry--4 {
        column-count: 1;
    }
}

.prompt-card {
    break-inside: avoid;
    margin-bottom: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}

.prompt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.prompt-card__media {
    position: relative;
    overflow: hidden;
}

.prompt-card__media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s var(--ease);
}

.prompt-card:hover .prompt-card__media img {
    transform: scale(1.04);
}

.prompt-card__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(20, 19, 26, .55);
    backdrop-filter: blur(6px);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .25s, transform .25s;
}

.prompt-card__zoom i.ph {
    font-size: 18px;
}

.prompt-card:hover .prompt-card__zoom {
    opacity: 1;
    transform: scale(1);
}

.prompt-card__style {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .72rem;
    letter-spacing: .02em;
    padding: 6px 12px;
    border-radius: var(--r-pill);
}

.prompt-card__board-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(20, 19, 26, .72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--f-mono);
    font-size: .68rem;
    padding: 5px 11px;
    border-radius: var(--r-pill);
}

.prompt-card__body {
    padding: 18px 18px 20px;
}

.prompt-card__title {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.015em;
}

.prompt-box {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    font-family: var(--f-mono);
    font-size: .81rem;
    line-height: 1.65;
    color: var(--ink-soft);
    max-height: 132px;
    overflow: hidden;
}

.prompt-box::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42px;
    background: linear-gradient(transparent, var(--surface-2));
}

.prompt-box.expanded {
    max-height: none;
}

.prompt-box.expanded::after {
    display: none;
}

.prompt-card__actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.copy-btn {
    flex: 1;
}

.copy-btn.copied {
    background: var(--mint);
    box-shadow: 0 12px 30px rgba(18, 184, 134, .28);
}

.expand-btn {
    flex: none;
    width: 46px;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    border-radius: var(--r-pill);
    display: grid;
    place-items: center;
    transition: color .2s, border-color .2s, transform .2s;
}

.expand-btn i.ph {
    font-size: 18px;
    transition: transform .3s var(--ease);
}

.expand-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.expand-btn.open i.ph {
    transform: rotate(180deg);
}

.empty-state {
    text-align: center;
    padding: 76px 20px;
    color: var(--muted);
    display: none;
}

.empty-state.show {
    display: block;
}

.empty-state i.ph {
    font-size: 52px;
    color: var(--line);
}

.empty-state h3 {
    font-size: 1.35rem;
    color: var(--ink);
    margin: 12px 0 8px;
}

/* =========================================================================
   LEGAL / PROSE PAGES
   ========================================================================= */
.prose-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}

.prose-toc {
    position: sticky;
    top: 96px;
}

.prose-toc h4 {
    font-family: var(--f-mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.prose-toc a {
    display: block;
    padding: 7px 0 7px 14px;
    font-size: .9rem;
    color: var(--ink-soft);
    border-left: 2px solid var(--line);
    margin-left: -2px;
    transition: color .2s, border-color .2s;
}

.prose-toc a:hover,
.prose-toc a.active {
    color: var(--accent);
    border-color: var(--accent);
}

.prose {
    max-width: 720px;
}

.prose__meta {
    font-family: var(--f-mono);
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.prose h2 {
    font-size: 1.6rem;
    margin: 42px 0 14px;
    scroll-margin-top: 96px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.prose h2:first-of-type {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.15rem;
    margin: 26px 0 10px;
    font-weight: 700;
}

.prose p {
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.prose ul.bullets {
    margin: 0 0 18px;
    padding-left: 4px;
}

.prose ul.bullets li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--ink-soft);
}

.prose ul.bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

.prose a.inline-link {
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid var(--accent-wash);
}

.prose a.inline-link:hover {
    border-color: var(--accent);
}

.callout {
    background: var(--accent-wash);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin: 22px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.callout i.ph {
    font-size: 22px;
    color: var(--accent);
    flex: none;
    margin-top: 1px;
}

.callout p {
    margin: 0;
    color: var(--accent-ink);
    font-size: .93rem;
}

.callout--warn {
    background: var(--coral-wash);
}

.callout--warn i.ph,
.callout--warn p {
    color: var(--coral-ink);
}

@media (max-width: 820px) {
    .prose-layout {
        grid-template-columns: 1fr;
    }

    .prose-toc {
        display: none;
    }
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
    align-items: start;
}

.contact-info .lead {
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 18px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-method__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex: none;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: var(--accent-wash);
    color: var(--accent);
}

.contact-method:nth-child(2) .contact-method__icon {
    background: var(--coral-wash);
    color: var(--coral);
}

.contact-method:nth-child(3) .contact-method__icon {
    background: var(--mint-wash);
    color: var(--mint);
}

.contact-method__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.3;
}

.contact-method__text span {
    font-size: .8rem;
    color: var(--muted);
}

.contact-method__text b {
    font-size: 1rem;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-faq {
    border-top: 1px solid var(--line);
    padding-top: 26px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 17px 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
}

.faq-q i.ph {
    font-size: 20px;
    color: var(--muted);
    flex: none;
    transition: transform .3s var(--ease);
}

.faq-item.open .faq-q i.ph {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}

.faq-a p {
    color: var(--ink-soft);
    font-size: .93rem;
    padding-bottom: 18px;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(24px, 4vw, 38px);
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    font-weight: 800;
    letter-spacing: -.02em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-size: .95rem;
    color: var(--ink);
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--canvas);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-wash);
    background: #fff;
}

.field .err {
    display: none;
    color: var(--coral-ink);
    font-size: .82rem;
    margin-top: 6px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
    border-color: #E0523A;
}

.field.invalid .err {
    display: block;
}

.form-note {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}

.form-note a {
    color: var(--accent);
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success.show {
    display: block;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--mint-wash);
    color: var(--mint);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 34px;
}

.form-success h2 {
    font-weight: 800;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 460px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.about-lead__media {
    position: relative;
    height: 420px;
}

.about-collage {
    position: relative;
    height: 100%;
}

.about-collage__card {
    position: absolute;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid #fff;
}

.about-collage__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-collage__card--a {
    width: 52%;
    height: 62%;
    left: 2%;
    top: 4%;
    transform: rotate(-5deg);
    z-index: 2;
}

.about-collage__card--b {
    width: 46%;
    height: 54%;
    right: 3%;
    top: 0;
    transform: rotate(4deg);
    z-index: 1;
}

.about-collage__card--c {
    width: 46%;
    height: 48%;
    right: 8%;
    bottom: 2%;
    transform: rotate(-3deg);
    z-index: 3;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.value {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    transition: transform .3s var(--ease), box-shadow .3s;
}

.value:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--accent-wash);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 25px;
}

.value:nth-child(2) .value__icon {
    background: var(--coral-wash);
    color: var(--coral);
}

.value:nth-child(3) .value__icon {
    background: var(--mint-wash);
    color: var(--mint);
}

.value h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.value p {
    color: var(--ink-soft);
    font-size: .93rem;
}

/* metrics — sit on the dark cta-banner → force WHITE numerals */
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.metric b {
    display: block;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.metric span {
    font-size: .88rem;
    color: rgba(255, 255, 255, .66);
}

@media (max-width: 860px) {
    .about-lead {
        grid-template-columns: 1fr;
    }

    .about-lead__media {
        max-width: 460px;
        margin-inline: auto;
        width: 100%;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .metrics {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
    }
}