/* EWEF · secondary pages: digital card, privacy, 404 */

.page { min-height: 100vh; min-height: 100svh; }
.page__fibers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page__credit { position: relative; z-index: 1; margin: 0; padding: 26px var(--gutter) 30px; text-align: center; font-size: .8rem; color: rgba(248, 243, 232, .55); }
.page__credit a { color: var(--gold-hi); font-weight: 700; }
.page__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page__credit--light { color: var(--ink-2); }
.page__credit--light a { color: var(--forest-700); }

/* ---------- Digital business card ---------- */
.page--card {
  display: grid; grid-template-rows: 1fr auto; color: var(--cream); isolation: isolate;
  background:
    radial-gradient(700px 520px at 50% 18%, rgba(203, 174, 70, .2), transparent 65%),
    radial-gradient(800px 600px at 0% 100%, rgba(105, 131, 47, .3), transparent 60%),
    linear-gradient(170deg, #10290f, var(--forest-950) 75%);
}
.page--card::after { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.vcard { position: relative; z-index: 1; width: min(440px, 100% - var(--gutter) * 2); margin: 0 auto; padding: clamp(44px, 9vh, 90px) 0 20px; text-align: center; }
.vcard > * { animation: rise 1s var(--ease-out) both; }
.vcard > *:nth-child(2) { animation-delay: .08s; } .vcard > *:nth-child(3) { animation-delay: .14s; } .vcard > *:nth-child(4) { animation-delay: .2s; }
.vcard > *:nth-child(5) { animation-delay: .26s; } .vcard > *:nth-child(6) { animation-delay: .32s; } .vcard > *:nth-child(7) { animation-delay: .38s; } .vcard > *:nth-child(8) { animation-delay: .44s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.vcard__medallion { position: relative; width: 132px; aspect-ratio: 1; margin: 0 auto 26px; padding: 9px; border-radius: 50%; background: var(--cotton); box-shadow: 0 0 0 1px rgba(203, 174, 70, .7), 0 0 60px rgba(234, 213, 138, .35), 0 24px 50px -14px rgba(0, 0, 0, .7); }
.vcard__medallion img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; }
.vcard__medallion::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(234, 213, 138, .55); animation: spin 40s linear infinite; }
.vcard__brand { margin: 0 0 6px; font-family: var(--f-caps); font-size: .78rem; letter-spacing: .34em; color: var(--gold-hi); }
.vcard__name { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 10vw, 3.1rem); line-height: 1.02; color: var(--cotton); }
.vcard__role { margin: 10px 0 6px; font-family: var(--f-caps); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.vcard__org { margin: 0 auto; max-width: 22em; font-size: .92rem; line-height: 1.5; color: rgba(248, 243, 232, .72); }
.vcard__actions { display: grid; gap: 10px; margin-top: 30px; }
.vcard__actions .btn { justify-content: center; width: 100%; padding-block: 1.1em; }
.vcard__links { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
.vcard__links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(248, 243, 232, .06); border: 1px solid var(--line-light); transition: background-color .3s, border-color .3s, transform .5s var(--ease-out); }
.vcard__links a:hover { background: rgba(203, 174, 70, .12); border-color: rgba(234, 213, 138, .35); transform: translateX(4px); }
.vcard__links .ic { width: 22px; height: 22px; color: var(--gold-hi); }
.vcard__links span { display: grid; line-height: 1.25; font-weight: 700; }
.vcard__links small { font-family: var(--f-caps); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: rgba(248, 243, 232, .6); }
.vcard__links .go { margin-left: auto; width: 18px; height: 18px; opacity: .6; }
.vcard__soon { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(203, 174, 70, .55); background: rgba(203, 174, 70, .1); font-size: .86rem; font-weight: 700; color: var(--cream); transition: background-color .3s; }
.vcard__soon:hover { background: rgba(203, 174, 70, .2); }
.vcard__slogan { margin: 30px 0 0; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: rgba(248, 243, 232, .8); }

/* ---------- Document pages (privacy) ---------- */
.page--doc { background: var(--cream); }
.doc-head { position: sticky; top: 0; z-index: 10; background: rgba(248, 243, 232, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.doc-head .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.doc-head .brand { color: var(--ink); }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--forest-700); }
.doc-back .ic { transform: rotate(180deg); }
.doc { max-width: 760px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter) 80px; }
.doc h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; margin: 0 0 12px; }
.doc h1 em { font-style: italic; color: var(--gold-lo); }
.doc__updated { margin: 0 0 40px; font-family: var(--f-caps); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lo); }
.doc h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; color: var(--forest-700); margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.doc a { color: var(--forest-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page--doc .footer { padding-top: 40px; }

/* ---------- 404 ---------- */
.page--404 { display: grid; grid-template-rows: 1fr auto; color: var(--cream); text-align: center; isolation: isolate; background: radial-gradient(800px 600px at 50% 40%, rgba(203, 174, 70, .16), transparent 65%), var(--forest-950); }
.lost { position: relative; z-index: 1; align-self: center; padding: 60px var(--gutter); }
.lost__num { margin: 0; font-family: var(--f-caps); font-weight: 600; font-size: clamp(5rem, 22vw, 12rem); line-height: .9; letter-spacing: .06em; background: linear-gradient(100deg, #a68526, #f1db92 40%, #cbae46 60%, #a68526); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost__title { margin: 18px 0 10px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.8rem, 4.6vw, 2.8rem); line-height: 1.12; color: var(--cotton); }
.lost__text { margin: 0 auto 32px; max-width: 30em; color: rgba(248, 243, 232, .75); }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
