@import url('/templates/_shared/fonts/fonts.css');

/* ============================================================
   BusinessCard_v4 — Centered Serif Letterpress Name-Card
   Off-white paper (#f7f5f0) + ink. Timeless classic luxury.
   ============================================================ */

.bc4-root {
    --paper: #f7f5f0;
    --ink: #1c1a17;
    --ink-soft: #5b554c;
    --ink-faint: #8c8579;
    --hair: #2b2823;
    --hair-soft: #d7d1c4;
    --accent: #7a6a4f; /* aged brass */

    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--paper);
    background-image:
        radial-gradient(circle at 20% 0%, rgba(0,0,0,.015), transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(0,0,0,.015), transparent 60%);
    color: var(--ink);
    min-height: 100vh;
    padding: clamp(28px, 6vw, 72px) 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.85;
    direction: rtl;
}

.bc4-paper {
    width: 100%;
    max-width: 560px;
    background: var(--paper);
    border: 1px solid var(--hair-soft);
    box-shadow:
        0 1px 0 rgba(255,255,255,.6) inset,
        0 24px 60px -28px rgba(40,35,28,.35);
    padding: clamp(34px, 7vw, 66px) clamp(24px, 6vw, 60px);
    text-align: center;
    position: relative;
}

/* a faint inner frame — gallery matting */
.bc4-paper::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(122,106,79,.18);
    pointer-events: none;
}

/* ===== Monogram ===== */
.bc4-monogram {
    width: 92px;
    height: 92px;
    margin: 0 auto clamp(20px, 4vw, 34px);
    border-radius: 50%;
    position: relative;
    border: 1px solid var(--hair);
    padding: 5px;
    background: var(--paper);
}
.bc4-monogram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(.18) contrast(1.02);
    display: block;
}
.bc4-monogram-letter {
    position: absolute;
    inset: 0;
    display: none; /* shown via JS pattern only if used; default hidden by hide-if-empty */
}

/* ===== Letterpress head ===== */
.bc4-head { margin: 0; }

.bc4-label {
    display: block;
    font-size: .68rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
}
.bc4-label-top { margin-bottom: clamp(14px, 3vw, 22px); }

.bc4-rule {
    width: 56px;
    height: 1px;
    background: var(--hair);
    margin: clamp(16px, 3.5vw, 26px) auto;
    position: relative;
}
.bc4-rule::before,
.bc4-rule::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}
.bc4-rule::before { right: -12px; }
.bc4-rule::after { left: -12px; }

.bc4-rule-soft {
    width: 100%;
    background: var(--hair-soft);
    margin: clamp(26px, 5vw, 40px) auto;
}
.bc4-rule-soft::before,
.bc4-rule-soft::after { display: none; }

.bc4-name {
    font-family: 'Vazirmatn', 'Times New Roman', serif;
    font-weight: 300;
    font-size: clamp(2.1rem, 8vw, 3.1rem);
    line-height: 1.18;
    letter-spacing: .01em;
    margin: 0;
    color: var(--ink);
}

.bc4-role {
    margin-top: 12px;
    font-size: .96rem;
    letter-spacing: .06em;
    color: var(--ink-soft);
    font-weight: 500;
}
.bc4-org {
    margin-top: 4px;
    font-size: .8rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
}

.bc4-tagline {
    margin: 0 auto;
    max-width: 38ch;
    font-style: italic;
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ===== Bio ===== */
.bc4-bio {
    margin: clamp(20px, 4vw, 30px) auto 0;
    max-width: 46ch;
    font-size: .95rem;
    color: var(--ink-soft);
    line-height: 1.95;
}
.bc4-bio p { margin: 0 0 .6em; }

/* ===== Quiet contact list ===== */
.bc4-contact {
    margin-top: clamp(26px, 5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bc4-contact-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    padding: 9px 0;
    text-decoration: none;
    color: var(--ink);
    border-top: 1px solid rgba(122,106,79,.12);
    transition: color .25s ease;
}
.bc4-contact-row:first-child { border-top: none; }
.bc4-contact-row:hover { color: var(--accent); }
.bc4-contact-label {
    flex: 0 0 64px;
    text-align: left;
    font-size: .64rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
}
.bc4-contact-value {
    font-size: .95rem;
    letter-spacing: .02em;
    color: inherit;
    direction: ltr;
    unicode-bidi: plaintext;
}

/* ===== Save contact — thin outlined ===== */
.bc4-cta {
    margin-top: clamp(28px, 5vw, 40px);
    display: flex;
    justify-content: center;
}
.bc4-cta-btn {
    appearance: none;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .2em;
    padding: 13px 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    transition: background .3s ease, color .3s ease, letter-spacing .3s ease;
}
.bc4-cta-btn i { color: var(--accent); font-size: .9rem; transition: color .3s ease; }
.bc4-cta-btn:hover {
    background: var(--ink);
    color: var(--paper);
    letter-spacing: .26em;
}
.bc4-cta-btn:hover i { color: var(--paper); }

/* ===== Sections ===== */
.bc4-section { text-align: center; }
.bc4-section-label {
    margin-bottom: 18px;
}

/* ===== Highlights ===== */
.bc4-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 44ch;
    margin: 0 auto;
    text-align: right;
}
.bc4-hl {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.bc4-hl > i {
    color: var(--accent);
    font-size: .95rem;
    margin-top: 5px;
    width: 18px;
    text-align: center;
    flex: 0 0 18px;
}
.bc4-hl-body { display: flex; flex-direction: column; }
.bc4-hl-title {
    font-size: .98rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .02em;
}
.bc4-hl-text {
    font-size: .86rem;
    color: var(--ink-faint);
    line-height: 1.75;
    margin-top: 2px;
}

/* ===== Links — understated inline text-links ===== */
.bc4-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}
.bc4-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: .95rem;
    letter-spacing: .04em;
    padding: 6px 2px;
    position: relative;
    transition: color .25s ease;
}
.bc4-link i { font-size: .78rem; color: var(--ink-faint); transition: color .25s ease; }
.bc4-link span { border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.bc4-link:hover { color: var(--ink); }
.bc4-link:hover i { color: var(--accent); }
.bc4-link:hover span { border-color: var(--accent); }

/* ===== Gallery ===== */
.bc4-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.bc4-gitem {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hair-soft);
    padding: 6px;
}
.bc4-gitem img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    filter: grayscale(.15);
    transition: filter .4s ease, transform .6s ease;
}
.bc4-gitem:hover img { filter: grayscale(0); transform: scale(1.03); }
.bc4-gitem figcaption {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding: 9px 4px 4px;
}

/* ===== Socials — understated inline ===== */
.bc4-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}
.bc4-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: .82rem;
    letter-spacing: .12em;
    transition: color .25s ease;
}
.bc4-social i { color: var(--ink-faint); font-size: .95rem; transition: color .25s ease; }
.bc4-social:hover { color: var(--ink); }
.bc4-social:hover i { color: var(--accent); }

/* ===== Footer ===== */
.bc4-foot {
    text-align: center;
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.bc4-foot-mark { color: var(--accent); font-size: 1rem; }

/* ===== Responsive ===== */
@media (max-width: 420px) {
    .bc4-gallery { grid-template-columns: 1fr; }
    .bc4-contact-row { flex-direction: column; align-items: center; gap: 3px; }
    .bc4-contact-label { flex: none; text-align: center; }
}
