:root {
    --paper: #F6F6F4;
    --ink: #1E232B;
    --accent: #1F3A5F;
    --muted: #5F6670;
    --line: #D8DBE0;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ambient paper grain — same neutral white as the printed card */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 24px 96px
}

.serif {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif
}

/* ---------- the living card ---------- */
.hint {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 14px
}

.card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 85/55;
    perspective: 1500px;
    cursor: pointer
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.card.flipped .card-inner {
    transform: rotateY(180deg)
}

.face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: 0 14px 38px rgba(20, 30, 50, .12);
    padding: clamp(15px, 4.4%, 26px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.face::before {
    content: "";
    position: absolute;
    left: clamp(11px, 3.2%, 18px);
    top: 15%;
    bottom: 15%;
    width: 2px;
    background: var(--accent)
}

.face::after {
    content: "";
    position: absolute;
    left: calc(clamp(11px, 3.2%, 18px) - 1px);
    top: 15%;
    width: 4px;
    height: 4px;
    background: var(--accent)
}

.face.back {
    transform: rotateY(180deg)
}

.pad {
    margin-left: clamp(16px, 6.2%, 30px);
    height: 100%;
    display: flex;
    flex-direction: column
}

.name {
    font-family: 'EB Garamond', Georgia, serif;
    font-variant: small-caps;
    letter-spacing: .06em;
    font-weight: 600;
    font-size: clamp(19px, 5.6vw, 31px);
    margin: 0 0 .12em
}

.label {
    margin: 0;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: .14em;
    font-size: clamp(8px, 2.15vw, 11px)
}

.label.muted {
    color: var(--muted);
    letter-spacing: .11em;
    margin-top: .35em
}

.rule {
    height: 1px;
    background: var(--line);
    margin: clamp(8px, 2.6%, 14px) 0
}

.cols {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: clamp(8.5px, 2.3vw, 12px)
}

.cols .col {
    display: flex;
    flex-direction: column;
    gap: .3em
}

.cols .r {
    text-align: right
}

.interests {
    margin-top: auto;
    font-size: clamp(8px, 2.15vw, 11px)
}

.interests .k {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-right: .5em
}

.interests em {
    font-style: italic
}

/* back face */
.toprow {
    display: flex;
    align-items: center;
    gap: clamp(10px, 3%, 16px)
}

.mono {
    flex: 0 0 auto;
    border: 1.5px solid var(--accent);
    border-radius: 3px;
    width: clamp(30px, 9%, 42px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-family: 'EB Garamond', serif;
    letter-spacing: .08em;
    font-size: clamp(11px, 3vw, 15px)
}

.tag {
    font-style: italic;
    font-family: 'EB Garamond', serif;
    font-size: clamp(11px, 3vw, 15px);
    margin: .3em 0 0
}

.seek {
    font-size: clamp(9px, 2.5vw, 12.5px);
    margin: clamp(8px, 3%, 16px) 0 0;
    max-width: 30ch
}

.signal {
    margin-top: auto;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: clamp(8px, 2.2vw, 11px)
}

.frame {
    position: relative;
    margin-top: clamp(8px, 2.6%, 14px);
    padding: clamp(8px, 2.6%, 14px);
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.frame::before,
.frame::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--accent)
}

.frame::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0
}

.frame::after {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0
}

.btn {
    flex: 1 1 auto;
    text-align: center;
    text-decoration: none;
    font-size: clamp(9px, 2.4vw, 12px);
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 4px
}

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

.btn.ghost {
    border: 1px solid var(--line);
    color: var(--ink)
}

/* ---------- the pitch below ---------- */
section {
    margin: 42px 0
}

.lead {
    font-family: 'EB Garamond', serif;
    font-size: clamp(18px, 3.6vw, 23px);
    line-height: 1.45;
    margin: 0 0 6px
}

h2 {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: clamp(18px, 3.4vw, 24px);
    margin: 0 0 12px;
    letter-spacing: .01em
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 13px;
    color: var(--muted)
}

.proof {
    border-left: 2px solid var(--accent);
    padding: 2px 0 2px 15px;
    margin: 16px 0
}

.proof h3 {
    margin: 0 0 3px;
    font-size: 15px
}

.proof .meta {
    color: var(--muted);
    font-size: 12.5px;
    margin: 0 0 5px
}

.proof p {
    margin: 0;
    font-size: 14px
}

.proof a{color:var(--accent); text-decoration:none}
.proof a:hover{text-decoration:underline}

.proof ul {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 13.5px;
    color: #33383f
}

.proof li {
    margin: 3px 0
}

.strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 13.5px;
    color: var(--muted)
}

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

.paper {
    font-size: 14px;
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.paper em {
    font-style: italic
}

.paper .st {
    color: var(--muted)
}

.cta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px
}

.cta-big {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 5px;
    font-weight: 600
}

.links a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 16px;
    font-size: 14px
}

.links a:hover {
    text-decoration: underline
}

.close {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: clamp(16px, 3vw, 19px);
    color: var(--muted);
    margin-top: 30px
}

.foot {
    margin-top: 54px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em
}

@media (max-width:430px) {
    .cols {
        flex-direction: column;
        gap: 8px
    }

    .cols .r {
        text-align: left
    }
}

@media (prefers-reduced-motion:reduce) {
    .card-inner {
        transition: none
    }
}