/* User mockup correction: original editorial header and three-column work. */
.portfolio-home .hero{min-height:560px!important;padding:146px clamp(20px,4.8vw,88px) 58px!important;align-items:center!important}
.portfolio-home .hero-content{display:block;max-width:1600px!important;width:100%;margin:auto}
.portfolio-home .hero-greeting{font:italic 400 clamp(20px,2vw,28px)/1.3 'Fraunces',Georgia,serif!important;letter-spacing:-.015em;margin:0 0 26px!important;color:#e0e0e3}
.portfolio-home .hero-headline{font-family:'Fraunces',Georgia,serif!important;font-size:clamp(48px,5.2vw,82px)!important;font-weight:350!important;line-height:1.08!important;letter-spacing:-.035em;max-width:900px}
.portfolio-home .hero-headline>.header-emphasis{font-style:italic;font-weight:350;color:#eee9f3}
.portfolio-home .hero-bottom{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:22px;margin-top:30px;max-width:480px}
.portfolio-home .hero-sub{max-width:480px!important;font-size:17px!important;line-height:1.5}
.portfolio-home .hero-work-link{font-size:15px;gap:20px}
.portfolio-home .projects-section{padding:24px clamp(20px,3vw,56px) 84px!important}
.portfolio-home .projects-section-head{padding:0!important;max-width:1600px;margin-bottom:34px!important}
.portfolio-home .projects-section-head h2{font:400 17px/1.4 var(--sans);letter-spacing:0}
.portfolio-home .projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px;max-width:1600px}
.portfolio-home .project-card{display:block;min-width:0;grid-column:auto!important}
.portfolio-home .project-card-media{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important;border-radius:5px!important;background:#171717!important}
.portfolio-home .project-card-media img,.portfolio-home .project-card-media video{width:100%;height:100%;max-height:none;object-fit:contain!important;background:#171717}
.portfolio-home .project-card-meta{padding-left:0;justify-content:space-between;gap:16px;margin-top:16px;align-items:baseline}
.portfolio-home .project-card-meta>div{display:block;min-width:0}
.portfolio-home .project-card-meta h3{font-size:18px;line-height:1.3;letter-spacing:-.01em}
.portfolio-home .project-card-meta p{font-size:14px;line-height:1.4;margin-top:4px;color:#a8a9ac}
.portfolio-home .project-card-meta .num{display:block;font:italic 400 14px 'Fraunces',Georgia,serif;color:#aaa}
.portfolio-home .project-card-action{margin:6px 0 0;font-size:14px;min-height:44px;gap:12px}
.portfolio-home .app-tile{background:#171717!important;color:#f6f6f6}
.portfolio-home .app-tile-inner{width:88%;padding:24px;color:#f6f6f6}
.portfolio-home .app-name{font-size:clamp(40px,4.3vw,72px);color:#fff}
.portfolio-home .app-sub{font-size:clamp(17px,1.45vw,22px);color:#eee;margin-top:18px}
.portfolio-home .app-context{font-size:14px;color:#b9b9b9;margin-top:12px}
.portfolio-home .tag-live{background:#c1f6db!important;color:#173927!important;border-radius:999px!important;padding:5px 10px!important;top:14px!important;left:14px!important;font-size:11px!important}
/* Keep the revived serif language on page headers, too. */
.project-hero-title,.about-hero h1{font-family:'Fraunces',Georgia,serif!important;font-weight:350!important;letter-spacing:-.035em}
.project-hero-title .sub{font-family:'Fraunces',Georgia,serif!important;font-style:italic}
@media(min-width:761px) and (max-width:1120px){.portfolio-home .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 26px}.portfolio-home .hero{min-height:520px!important}.portfolio-home .app-name{font-size:58px}}
@media(max-width:760px){.portfolio-home .hero{padding:116px 20px 42px!important;min-height:0!important}.portfolio-home .hero-greeting{font-size:22px!important;margin-bottom:20px!important}.portfolio-home .hero-headline{font-size:clamp(40px,9.5vw,66px)!important;line-height:1.1!important;letter-spacing:-.03em}.portfolio-home .hero-bottom{margin-top:24px;gap:18px}.portfolio-home .hero-sub{font-size:16px!important}.portfolio-home .projects-section{padding:30px 20px 64px!important}.portfolio-home .projects-section-head{padding:0!important;margin-bottom:24px!important}.portfolio-home .projects-grid{grid-template-columns:1fr!important;gap:38px!important}.portfolio-home .project-card:not(.is-app) .project-card-media{aspect-ratio:auto!important;height:auto!important}.portfolio-home .project-card-media img,.portfolio-home .project-card-media video{height:auto!important;width:100%!important;object-fit:contain!important}.portfolio-home .project-card-action{font-size:16px;min-height:48px;margin-top:8px}.portfolio-home .project-card-meta h3{font-size:20px}.portfolio-home .app-tile{aspect-ratio:auto!important;min-height:320px!important}.portfolio-home .app-tile-inner{padding:44px 20px}.portfolio-home .app-name{font-size:64px}.portfolio-home .app-sub{font-size:21px}}
