/* Personal portfolio additions, layered after the shared founder foundation. */
.founder-portfolio .founder-monogram{font:italic 24px/1 Georgia,serif;letter-spacing:-.08em;box-shadow:inset 0 0 0 5px var(--f-bg)}
.founder-portfolio .founder-brand-heading>div>span{font-size:12px;letter-spacing:.15em}
.founder-portfolio .founder-hero{padding-bottom:58px}
.founder-portfolio .founder-bio{max-width:590px}
.founder-portfolio .founder-projects .founder-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.founder-portfolio .founder-domain-card{display:flex;flex-direction:column;padding:30px 27px 26px;border-radius:15px;min-width:0}
.founder-portfolio .founder-domain-card>svg{margin-bottom:22px}
.founder-portfolio .founder-domain-card h3{font-size:17px;line-height:1.9;margin:10px 0 13px}
.founder-portfolio .founder-domain-card p{font-size:12px;line-height:2.1}
.founder-portfolio .founder-project-kind{font-size:9px;line-height:1.8;letter-spacing:.12em;color:var(--f-gold)}
.founder-portfolio .founder-project-featured{background:linear-gradient(135deg,var(--f-soft),transparent 70%),var(--f-panel);border-color:color-mix(in srgb,var(--f-gold) 48%,transparent)}
.founder-portfolio .founder-project-current{align-self:flex-start;margin-top:22px;padding:4px 11px;border:1px solid var(--f-line);border-radius:99px;font-size:10px;color:var(--f-gold)}
.founder-portfolio .founder-scale-vision{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:30px;padding:32px 38px;margin:0 0 36px;border:1px solid var(--f-line);border-inline-start:3px solid var(--f-gold);border-radius:14px;background:linear-gradient(120deg,var(--f-soft),transparent 70%),var(--f-panel);break-inside:avoid}
.founder-portfolio .founder-scale-symbol{display:grid;place-items:center;width:94px;height:94px;border:1px solid var(--f-line);border-radius:50%;background:var(--f-soft);color:var(--f-gold)}
.founder-portfolio .founder-scale-symbol svg{width:54px;height:54px;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.founder-portfolio .founder-scale-vision h2{font-size:clamp(21px,2.8vw,31px);font-weight:550;line-height:1.8;color:var(--f-ink);margin:8px 0}
.founder-portfolio .founder-scale-vision p{font-size:12px;line-height:2;color:var(--f-muted);margin:0}
@media(max-width:760px){.founder-portfolio .founder-scale-vision{grid-template-columns:1fr;gap:20px;padding:26px 24px;margin-bottom:28px}.founder-portfolio .founder-scale-symbol{width:62px;height:62px}.founder-portfolio .founder-scale-symbol svg{width:38px;height:38px}.founder-portfolio .founder-scale-vision h2{font-size:23px}}
.founder-portfolio .founder-autograph{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:clamp(30px,6vw,90px);align-items:center;padding:43px 48px;margin:8px 0 54px;background:radial-gradient(ellipse at 80% 40%,var(--f-soft),transparent 65%),var(--f-panel);border:1px solid var(--f-line);border-radius:20px;position:relative}
.founder-portfolio .founder-autograph-copy h2{font-size:clamp(23px,3vw,35px);font-weight:550;line-height:1.7;color:var(--f-ink);margin:15px 0}
.founder-portfolio .founder-autograph-copy p{font-size:13px;line-height:2.2;color:var(--f-muted);margin:0}
.founder-portfolio .founder-autograph-rule{display:block;width:70px;height:1px;margin-top:27px;background:linear-gradient(90deg,transparent,var(--f-gold),transparent)}
.founder-portfolio .founder-autograph-frame{position:relative;isolation:isolate;width:100%;max-width:530px;margin:0 auto;padding:18px 24px 15px;overflow:hidden;border:1px solid #c7ab69;border-radius:12px;background:linear-gradient(135deg,#c9b27d,#fff5d7 20%,#b79b5a 50%,#f4e6c0 80%,#b79855);box-shadow:0 18px 40px #0003,inset 0 0 0 5px #efe1bc,inset 0 0 0 6px #b89a58}
.founder-portfolio .founder-autograph-frame::after{content:'';position:absolute;inset:-40% -70%;pointer-events:none;z-index:2;background:linear-gradient(112deg,transparent 43%,#fff9df00 45%,#fff9df52 49%,#fff9df00 53%,transparent 55%);transform:translateX(-65%);animation:founder-signature-glint 14s ease-in-out infinite}
.founder-portfolio .founder-autograph-paper{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#fffef7,#f6edd8);border:1px solid #ccb780;border-radius:3px;box-shadow:inset 0 1px 12px #80663512}
.founder-portfolio .founder-autograph-paper img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.founder-portfolio .founder-autograph-frame figcaption{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:12px;color:#6d5428;font:600 8px/1.8 'Segoe UI',sans-serif;letter-spacing:.23em}
.founder-portfolio .founder-autograph-frame figcaption span{font-size:7px}
.founder-portfolio .founder-autograph-corner{position:absolute;z-index:3;width:22px;height:22px;border-color:#9a7b3c;pointer-events:none}
.founder-portfolio .founder-autograph-corner.corner-start{top:10px;left:10px;border-top:1px solid #9a7b3c;border-left:1px solid #9a7b3c}
.founder-portfolio .founder-autograph-corner.corner-end{bottom:10px;right:10px;border-bottom:1px solid #9a7b3c;border-right:1px solid #9a7b3c}
html[lang=fa] .founder-portfolio .founder-project-kind{letter-spacing:0;font-size:10px}
html[lang=en] .founder-portfolio .founder-autograph-copy h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.25}
html[data-theme=light] .founder-portfolio .founder-autograph-frame{box-shadow:0 18px 40px #66512818,inset 0 0 0 5px #efe1bc,inset 0 0 0 6px #b89a58}
@keyframes founder-signature-glint{0%,72%{transform:translateX(-65%);opacity:0}74%{opacity:.65}87%{transform:translateX(65%);opacity:.65}89%,100%{transform:translateX(65%);opacity:0}}
html[data-motion=off] .founder-portfolio .founder-autograph-frame::after,.founder-portfolio[data-motion=off] .founder-autograph-frame::after{animation:none;opacity:0}
@media(prefers-reduced-motion:reduce){.founder-portfolio .founder-autograph-frame::after{animation:none;opacity:0}}
@media(max-width:1000px){.founder-portfolio .founder-projects .founder-domain-grid{gap:13px}.founder-portfolio .founder-domain-card{padding:25px 20px}.founder-portfolio .founder-domain-card h3{font-size:15px}.founder-portfolio .founder-autograph{padding:32px;gap:35px}}
@media(max-width:760px){.founder-portfolio .founder-brand-heading>div>span{font-size:10px;letter-spacing:.1em}.founder-portfolio .founder-monogram{font-size:20px}.founder-portfolio .founder-hero{padding-bottom:36px}.founder-portfolio .founder-projects .founder-domain-grid{grid-template-columns:1fr;gap:16px}.founder-portfolio .founder-domain-card{padding:27px 25px}.founder-portfolio .founder-domain-card h3{font-size:18px;line-height:1.75}.founder-portfolio .founder-domain-card p{font-size:12px}.founder-portfolio .founder-autograph{grid-template-columns:1fr;padding:28px 22px 23px;gap:27px;margin-bottom:35px;border-radius:16px}.founder-portfolio .founder-autograph-copy h2{font-size:27px;margin:12px 0}.founder-portfolio .founder-autograph-copy p{font-size:12px}.founder-portfolio .founder-autograph-rule{margin-top:18px}.founder-portfolio .founder-autograph-frame{padding:15px 17px 13px}.founder-portfolio .founder-autograph-frame figcaption{font-size:7px;letter-spacing:.16em;gap:9px}.founder-portfolio .founder-autograph-corner{width:16px;height:16px}}
@media(max-width:360px){.founder-portfolio .founder-brand-heading>div>span{font-size:9px;letter-spacing:.06em}.founder-portfolio .founder-autograph{padding:23px 15px}.founder-portfolio .founder-domain-card{padding:25px 21px}}
@media print{.founder-portfolio .founder-autograph-frame::after{display:none;animation:none}.founder-portfolio .founder-domain-card,.founder-portfolio .founder-autograph{break-inside:avoid}.founder-portfolio .founder-autograph-frame{box-shadow:none}}
