/*
Theme Name: Hein Light Portfolio
Author: Hein Lagerweij Portfolio Project
Description: Minimal, light, responsive portfolio theme for the Hein Portfolio CMS plugin.
Version: 1.2.11
Requires PHP: 8.0
*/
:root{--ink:#171717;--paper:#faf9f6;--muted:#777;--line:#e6e4df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto} .wrap{width:min(1420px,calc(100% - 72px));margin:auto}.site-header{padding:34px 0;border-bottom:1px solid var(--line)}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font-weight:800;letter-spacing:-.045em;font-size:23px}.nav{display:flex;gap:32px;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.hero{padding:105px 0 68px}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}h1{font-size:clamp(55px,9vw,145px);line-height:.95;letter-spacing:-.075em;font-weight:700;margin:20px 0 34px}h2,.page-content > h1{font-size:clamp(30px,4vw,62px);letter-spacing:-.055em;line-height:1.05}.intro{max-width:720px;font-size:clamp(19px,2.2vw,30px);line-height:1.4}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:80px;padding-top:22px}.section-heading h2{margin:0 0 30px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:60px 24px}.card-image{aspect-ratio:16/10;overflow:hidden;background:#eceae6;display:block}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.card:hover img{transform:scale(1.035)}.card h3{font-size:clamp(20px,2.4vw,30px);letter-spacing:-.04em;margin:17px 0 6px}.meta{color:var(--muted);font-size:13px}.hl-video{aspect-ratio:16/9;position:relative;background:#151515}.hl-video iframe{position:absolute;width:100%;height:100%;border:0;inset:0}.project{padding:75px 0 120px}.project h1{font-size:clamp(38px,5.8vw,88px)}.project-body{max-width:820px;font-size:18px;line-height:1.7;padding-top:40px}.project-body a{text-decoration:underline}.project-body p{margin:0 0 20px}.project-cover{width:100%;max-height:800px;object-fit:cover}.site-footer{margin-top:110px;padding:40px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:13px}.notice{padding:22px;background:#f0eee8;color:#555}.showreel{margin-top:30px}.page-content{max-width:900px;padding:60px 0 100px;line-height:1.7}@media(max-width:700px){.wrap{width:calc(100% - 36px)}.site-header{padding:22px 0}.brand{font-size:18px}.nav{gap:14px;font-size:11px}.hero{padding:70px 0 35px}.grid{grid-template-columns:1fr;gap:35px}.section-heading{margin-top:60px}.site-footer{flex-direction:column;margin-top:70px}.project{padding:40px 0 70px}}

/* Full-width layout safeguards */
body{width:100%;max-width:none;background:#fff} .wrap{width:calc(100% - 80px);max-width:1420px} .grid{width:100%} @media(max-width:700px){.wrap{width:calc(100% - 36px)}}

/* Version 1.1: compact introduction, showreel-first homepage */
.hero-compact{padding:64px 0 30px}
.hero-compact h1{font-size:clamp(42px,5.8vw,86px);letter-spacing:-.065em;line-height:1.05;margin:16px 0 10px}
.hero-subtitle{display:block;font-size:clamp(18px,2vw,27px);font-weight:400;letter-spacing:-.025em;line-height:1.5;margin-top:8px}
.hero-tagline{font-size:16px;color:var(--muted);margin:0}
.showreel-featured{margin:24px 0 0}
.showreel-heading{margin-top:0;padding-top:18px}
.showreel-heading h2{font-size:clamp(23px,2.7vw,36px);margin-bottom:20px}
.showreel-featured .hl-video{width:100%;aspect-ratio:16/9;overflow:hidden}
.work-section .section-heading{margin-top:82px}
@media(max-width:700px){.hero-compact{padding:40px 0 22px}.hero-compact h1{font-size:clamp(38px,9vw,60px)}.showreel-featured{margin-top:18px}.work-section .section-heading{margin-top:55px}}
@media(prefers-reduced-motion:reduce){.card-image img{transition:none}.card:hover img{transform:none}}

/* Version 1.2: project description, credits and navigation */
.project-body{max-width:none;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:clamp(32px,6vw,100px);padding-top:52px}
.project-description{max-width:820px;min-width:0;overflow-wrap:anywhere}
.project-body h2{font-size:clamp(24px,2.3vw,34px);letter-spacing:-.035em;margin:0 0 24px}
.project-details{border-top:1px solid var(--line);padding-top:22px;min-width:0;overflow-wrap:anywhere}
.project-details dl{margin:0}.project-details dt{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 8px}.project-details dd{margin:0 0 24px;font-size:16px;line-height:1.6}
.project-cover{display:block;height:auto;max-height:none;object-fit:contain}
.project-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;align-items:start;border-top:1px solid var(--line);margin-top:72px;padding-top:28px;font-size:14px}
.project-navigation a{min-width:0;overflow-wrap:anywhere}.project-navigation span{display:block;color:var(--muted);margin-bottom:10px}.project-navigation strong{display:block;font-size:clamp(18px,2vw,26px);font-weight:400;line-height:1.25}
.project-previous{grid-column:1}.project-all{grid-column:2;grid-row:1}.project-next{grid-column:3;text-align:right;grid-row:1}
a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:700px){.project-body{grid-template-columns:1fr;gap:30px;padding-top:32px}.project-navigation{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 20px;margin-top:45px}.project-all{grid-column:1 / -1;grid-row:2;text-align:center}.project-next{grid-column:2}.project-navigation strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.project-details:only-child{grid-column:1 / -1;max-width:820px;width:100%}

/* Version 1.2.4: linked logo-only header and homepage introduction. */
.site-header{padding:18px 0}
.brand{display:block;flex-shrink:0;line-height:0}
.brand-logo{display:block;width:56px;height:auto}
.hero-compact .home-title{font-size:14px;font-weight:400;line-height:1.5;letter-spacing:.02em;margin:0;color:var(--muted)}
.hero-compact{padding:40px 0 24px}
@media(max-width:700px){.site-header{padding:14px 0}.brand-logo{width:48px}.hero-compact{padding:30px 0 16px}}
/* Version 1.2.5: simple email contact page. */
.contact-content{padding:90px 0 110px;min-height:40vh}
.contact-email{font-size:14px;line-height:1.5;letter-spacing:-.025em;text-decoration:underline;text-underline-offset:.18em;overflow-wrap:anywhere}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.contact-content{padding:60px 0 80px}}
.hein-video-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.hein-video-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hein-video-play {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid white;
    border-radius: 50%;
    background: rgba(0, 0, 0, .76);
}
.hein-video-play::after {
    content: "";
    margin-left: 4px;
    border: 10px solid transparent;
    border-left: 16px solid white;
    border-right: 0;
}
.hein-video-cover:hover .hein-video-play,
.hein-video-cover:focus-visible .hein-video-play {
    background: #000;
    outline: 2px solid white;
    outline-offset: 3px;
}
.project-header h1{margin-top:0}
