
:root{--ink:#111;--paper:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Courier New',Courier,monospace;font-size:11px;line-height:1.1;text-transform:uppercase}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}.page{min-height:100svh;display:flex;flex-direction:column;overflow:hidden}.top{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.25fr 1.1fr 1fr;gap:16px;padding:17px 29px 0;align-items:start}.top a,.top span{display:block}.top .name{font-weight:400}.gallery-wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:80px 0}.gallery{width:100%;display:flex;justify-content:space-between;align-items:center;gap:2.7vw;padding-left:5.1vw;padding-right:4vw}.photo{width:9.15vw;max-width:190px;aspect-ratio:151/203;object-fit:cover;display:block;flex-shrink:0;transition:transform .25s ease}.photo:hover{transform:translateY(-5px)}.more{font-size:22px;font-weight:400;border:0;background:transparent;cursor:pointer;padding:0 0 0 3px}.bottom{display:grid;grid-template-columns:1.1fr 1fr 3.5fr 1fr;gap:16px;align-items:end;padding:0 29px 12px}.bottom span:last-child{text-align:right}.detail{display:none;padding:70px 6vw 100px;max-width:980px;line-height:1.6;text-transform:none;font-family:Arial,sans-serif;font-size:16px}.detail:target{display:block}.detail h2{text-transform:uppercase;font:16px 'Courier New',monospace}.detail p{max-width:650px}.close{display:inline-block;margin-top:20px;font:12px 'Courier New',monospace;text-transform:uppercase}@media(max-width:850px){.top{grid-template-columns:repeat(3,1fr);gap:18px;padding:18px}.gallery-wrap{padding:110px 0}.gallery{overflow-x:auto;justify-content:flex-start;gap:18px;padding:0 18px;scroll-snap-type:x mandatory}.photo{width:33vw;min-width:130px;max-width:none;scroll-snap-align:center}.more{min-width:28px}.bottom{grid-template-columns:1fr 1fr;gap:12px;padding:15px 18px}.bottom span:last-child{text-align:left}}@media(max-width:480px){.top{grid-template-columns:repeat(2,1fr);font-size:10px}.photo{width:54vw}.gallery-wrap{padding:95px 0}.bottom{font-size:10px}}

/* Uniform project tiles and hover details */
.gallery{gap:clamp(12px,2.1vw,38px);padding-left:4.2vw;padding-right:4.2vw;align-items:center}
.project{position:relative;flex:1 1 0;min-width:0;display:block;cursor:pointer;outline-offset:5px;z-index:0}
.project:hover,.project:focus-visible{z-index:3}
.project .photo{width:100%;max-width:none;height:auto;aspect-ratio:3/4;object-fit:cover;transition:transform .3s ease;transform-origin:center center}
.project:hover .photo,.project:focus-visible .photo{transform:scale(1.12)}
.project-info{position:absolute;left:0;top:calc(100% + 13px);width:150%;max-width:260px;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .2s ease,transform .2s ease,visibility .2s;pointer-events:none;font-size:11px;line-height:1.2;text-transform:uppercase}
.project:hover .project-info,.project:focus-visible .project-info{opacity:1;visibility:visible;transform:translateY(0)}
.project-number{display:block;margin-bottom:5px}
.project-description{display:block}
.gallery .more{flex:0 0 16px}
@media(max-width:850px){.gallery{gap:20px;padding:20px 18px 55px;align-items:center}.project{flex:0 0 29vw;min-width:140px;scroll-snap-align:center}.project-info{position:static;visibility:visible;opacity:1;transform:none;width:100%;max-width:none;margin-top:10px;font-size:10px}.project:hover .photo,.project:focus-visible .photo{transform:scale(1.05)}}
@media(max-width:480px){.project{flex-basis:53vw}}
@media(prefers-reduced-motion:reduce){.project .photo,.project-info{transition:none}}


/* Six larger projects, with the gallery occupying the available screen height */
.page {min-height:100svh;overflow:visible}
.gallery-wrap {flex:1; min-height:0; padding:24px 0 40px; display:flex; align-items:stretch; justify-content:center}
.gallery {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:center; width:100%; gap:clamp(12px,1.45vw,28px); padding:0 clamp(18px,2.1vw,40px); overflow:visible}
.project {width:100%;min-width:0;align-self:center;position:relative}
.project .photo {width:100%;height:min(67svh,760px);min-height:360px;max-height:calc(100svh - 125px);aspect-ratio:auto;object-fit:cover;display:block;transition:transform .3s ease}
.project:hover .photo,.project:focus-visible .photo{transform:scale(1.055)}
.project-info {top:calc(100% + 10px);width:100%;max-width:none;line-height:1.2}
.bottom {position:relative;z-index:0}
@media(max-width:950px){.gallery-wrap{padding:20px 0 45px}.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 18px}.project .photo{height:39svh;min-height:220px;max-height:420px}.project-info{position:static;opacity:1;visibility:visible;transform:none;margin-top:9px}.top{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.project .photo{height:34svh;min-height:185px}.gallery-wrap{padding-top:22px}.top{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.project .photo{transition:none}}

/* Shared project template */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:#111;font:12px/1.12 "Courier New",monospace}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}.top{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.25fr 1.1fr 1fr;gap:16px;padding:5px 1.65% 0;text-transform:uppercase}.top a,.top span{display:block}.intro{margin:0;padding:clamp(120px,24vh,270px) 1.65% 33px;max-width:540px}.intro h1{font-size:12px;font-weight:bold;margin:0 0 11px}.intro p{margin:0 0 12px}.intro .category{margin-top:16px}.photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3%;padding:0 1.65% 90px;align-items:start}.photos img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block}.photos .wide{grid-column:1/-1;aspect-ratio:16/7;object-fit:cover}.bottom{display:grid;grid-template-columns:1fr 1fr 2fr 1fr;gap:12px;padding:12px 1.65%;text-transform:uppercase}.bottom span:last-child{text-align:right}.project-nav{display:flex;justify-content:space-between;padding:0 1.65% 35px;text-transform:uppercase}@media(max-width:800px){.top{grid-template-columns:repeat(3,1fr);gap:18px;padding:14px}.intro{padding:140px 14px 25px}.photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px 55px}.photos .wide{aspect-ratio:4/3}.bottom{padding:14px;grid-template-columns:1fr 1fr}}@media(max-width:480px){.top{grid-template-columns:repeat(2,1fr);font-size:10px}.photos{grid-template-columns:1fr}.photos .wide{grid-column:auto;aspect-ratio:4/5}.bottom{font-size:10px}.intro{padding-top:110px}}
/* Shared header positioning: identical to About page */
.top{padding:17px 29px 0;align-items:start}
@media(max-width:850px){.top{padding:18px}}

/* Home: shorter campaign thumbnails */
@media(min-width:951px){.project .photo{height:clamp(260px,48svh,530px);min-height:0;max-height:none}}
@media(min-width:561px) and (max-width:950px){.project .photo{height:clamp(210px,31svh,350px);min-height:0}}
@media(max-width:560px){.project .photo{height:clamp(170px,29svh,290px);min-height:0}}
/* Footer: copyright / year / rotating personal note */
.bottom{grid-template-columns:1fr 1fr 2fr;align-items:end}
.bottom .footer-message{text-align:right;justify-self:end;transition:opacity .2s ease}
@media(max-width:800px){.bottom{grid-template-columns:1fr 1fr}.bottom .footer-message{grid-column:1/-1;text-align:left;justify-self:start}}

/* Project card layout: number above, caption below, no overlap during hover */
.gallery{align-items:center}
.project{display:flex;flex-direction:column;min-width:0;isolation:isolate}
.project-number{display:block;position:relative;margin:0 0 13px;font-size:clamp(11px,1vw,16px);line-height:1.15;z-index:2}
.project .photo{position:relative;z-index:1;transform-origin:center center}
.project-info{position:relative;top:auto;left:auto;display:block;width:100%;max-width:100%;min-height:4.5em;margin-top:15px;opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .22s ease,transform .22s ease,visibility .22s;overflow-wrap:anywhere;pointer-events:none;font-size:clamp(10px,.82vw,13px);line-height:1.2}
.project:hover .project-info,.project:focus-visible .project-info{opacity:1;visibility:visible;transform:translateY(0)}
.project:hover .photo,.project:focus-visible .photo{transform:scale(1.045)}
.gallery-wrap{padding-bottom:25px}
.bottom{grid-template-columns:1fr 2fr}
@media(max-width:950px){.project-info{min-height:3.6em;opacity:1;visibility:visible;transform:none}.project-number{margin-bottom:10px}.bottom{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.project-info{font-size:10px;min-height:4em}}

/* Global Klein blue typography */
:root{--ink:#002FA7}
body,body *{color:#002FA7}

/* November update: hover numbers and image frames */
.project-number{opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .22s ease,transform .22s ease,visibility .22s}
.project:hover .project-number,.project:focus-visible .project-number{opacity:1;visibility:visible;transform:translateY(0)}
.project .photo-frame{display:block;width:100%;overflow:hidden;position:relative;isolation:isolate}
.project .photo-frame .photo{width:100%;display:block;transition:transform .3s ease;transform-origin:center center}
.project:hover .photo-frame .photo,.project:focus-visible .photo-frame .photo{transform:scale(1.055)}
.project:hover .photo,.project:focus-visible .photo{transform:none}
.project-info{position:relative;z-index:1}
.photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3%;align-items:stretch}
.photos img,.photos .photo-placeholder{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;min-width:0}
.photo-placeholder{border:1px solid rgba(0,47,167,.28);display:flex!important;align-items:center;justify-content:center;text-align:center;padding:16px;color:#002FA7;font-size:11px;letter-spacing:.02em}
@media(max-width:800px){.photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(max-width:560px){.photos{grid-template-columns:1fr;gap:14px}.photos img,.photos .photo-placeholder{aspect-ratio:1/1}}

/* New Edge 666 Rounded — font files supplied separately by the portfolio owner */
@font-face{font-family:"New Edge 666";src:url("fonts/NewEdge666Test-LightRounded.otf") format("opentype");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"New Edge 666";src:url("fonts/NewEdge666Test-RegularRounded.otf") format("opentype");font-style:normal;font-weight:400 900;font-display:swap}
body{font-family:"New Edge 666",Arial,sans-serif;font-weight:300}
.top,.bottom,.project-number,.intro h1,.project-nav{font-weight:400}
.project-info,.intro p{font-weight:300}

/* Consistent New Edge typography across all components */
html,body,button,input,textarea,select,.detail,.detail h2,.close,.more,.top,.bottom,.intro,.intro h1,.intro p,.project-info,.project-number,.project-nav,.photo-placeholder{font-family:"New Edge 666",Arial,sans-serif!important}
body,.detail,.intro p,.project-info{font-weight:300}
.top,.bottom,.intro h1,.detail h2,.project-number,.project-nav,.more{font-weight:400}

/* Light secondary header details and footer */
.top > div:first-child span,.top > div:nth-child(4) a:nth-child(2),.top > div:nth-child(5) a,.bottom,.footer-message{font-weight:300!important}

/* Compact, almost-square home gallery; larger hover within each photo frame. */
@media (min-width:951px){
 .gallery{gap:clamp(12px,1.7vw,28px);padding-left:3vw;padding-right:3vw;align-items:center}
 .project{flex:1 1 0;min-width:0}
 .project .photo{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1.12;object-fit:cover}
}
@media (min-width:561px) and (max-width:950px){.project .photo{height:auto!important;aspect-ratio:1/1.12}}
@media (max-width:560px){.project .photo{height:auto!important;aspect-ratio:1/1.12}}
.project .photo-frame{aspect-ratio:1/1.12;overflow:hidden}
.project .photo-frame .photo{width:100%;height:100%!important;aspect-ratio:auto;object-fit:cover;transition:transform .38s cubic-bezier(.2,.7,.2,1)}
.project:hover .photo-frame .photo,.project:focus-visible .photo-frame .photo{transform:scale(1.24)!important}
.project:hover .photo,.project:focus-visible .photo{transform:none}
/* Project 04: original portrait, crop only the upper face rather than zooming. */
.project:has([href]){}
.project:nth-child(4) .photo-frame .photo{object-position:50% 84%}
@media (prefers-reduced-motion:reduce){.project .photo-frame .photo{transition:none}}

/* Unified five-column header with role beneath name */
.top{grid-template-columns:1.35fr .75fr .75fr 1.35fr 1fr}
.top .header-role{display:block;font-weight:300;max-width:260px}
@media(max-width:850px){.top{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.top{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Revision: shared gutters, calmer header, expanding image FRAME */
:root{--site-gutter:3vw}
.top{padding:23px var(--site-gutter) 0!important;grid-template-columns:1.35fr .85fr 1.3fr 1.3fr!important}
.bottom{padding-left:var(--site-gutter)!important;padding-right:var(--site-gutter)!important}
.gallery{padding-left:var(--site-gutter)!important;padding-right:var(--site-gutter)!important}
.project .photo-frame{transform:scale(1);transform-origin:center center;transition:transform .3s cubic-bezier(.2,.7,.2,1),margin-bottom .3s cubic-bezier(.2,.7,.2,1);margin-bottom:0;overflow:hidden}
.project .photo-frame .photo,.project:hover .photo-frame .photo,.project:focus-visible .photo-frame .photo{transform:none!important;transition:none!important}
.project:hover .photo-frame,.project:focus-visible .photo-frame{transform:scale(1.16);margin-bottom:clamp(12px,2vw,32px);z-index:4}
.project .project-info{z-index:5}
@media(max-width:850px){:root{--site-gutter:18px}.top{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-top:24px!important}.project:hover .photo-frame,.project:focus-visible .photo-frame{transform:scale(1.09);margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.project .photo-frame{transition:none}}

/* Header refinements */
.top{grid-template-columns:1.3fr .6fr 1.3fr 1.05fr .85fr!important}
.top .header-email,.top .header-linkedin,.top .header-instagram{font-weight:300!important}
.top .header-location{font-weight:400!important;text-align:right;white-space:nowrap}
@media(max-width:850px){.top{grid-template-columns:repeat(2,minmax(0,1fr))!important}.top .header-location{text-align:left}}

/* Keep the project number above the enlarged image frame. */
.project{isolation:isolate}
.project:hover,.project:focus-visible{z-index:20}
.project .project-number{position:relative;z-index:30;pointer-events:none}
.project .photo-frame{z-index:1}
.project:hover .photo-frame,.project:focus-visible .photo-frame{z-index:2}


/* Latest revision: six evenly distributed header sections. */
.top{display:flex!important;justify-content:space-between;align-items:flex-start;gap:clamp(12px,1.8vw,28px);width:100%}
.top > *{min-width:0;flex:0 1 auto}
.top > div:first-child{flex:0 0 auto}
.top > div:first-child a,.top .header-role,.top .header-location{font-weight:400!important}
.top > a[href="about.html"],.top .header-email,.top .header-linkedin,.top .header-instagram{font-weight:300!important}
.top .header-location{margin-left:auto;text-align:right}
/* 175 x 202 aspect ratio for every cover, keeping frame-resize hover. */
.project .photo-frame{aspect-ratio:175 / 202!important}
.project .photo-frame .photo{width:100%;height:100%!important;object-fit:cover}
@media(max-width:850px){.top{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 18px}.top .header-location{margin-left:0;text-align:left}}
@media(max-width:560px){.top{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Header layout matched to the supplied six-position reference. */
@media (min-width:851px){
 .top{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;column-gap:0!important;align-items:start!important;justify-content:initial!important}
 .top > *{width:auto;min-width:0;max-width:100%;margin:0!important;flex:initial!important}
 .top > :last-child{text-align:right!important;justify-self:end}
}
@media (max-width:850px){
 .top{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 .top > :last-child{text-align:left!important;justify-self:start}
}
@media (max-width:560px){.top{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Align home project captions exactly with the image left edge. */
.project .project-info,.project .project-description{display:block;text-align:left!important;margin-left:0!important;padding-left:0!important;text-indent:0!important;align-self:stretch}

/* Final header: Instagram stacked under LinkedIn, five evenly spaced columns */
.top{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;column-gap:clamp(12px,1.5vw,28px)!important;align-items:start!important}.top>div:nth-of-type(3) a{display:block}.top .header-instagram{margin-top:2px;font-weight:300!important}.top .header-location{justify-self:end!important;text-align:right!important;margin:0!important}.project-info,.project-description{text-align:left!important;align-self:flex-start!important}.project-info{left:0!important;margin-left:0!important;padding-left:0!important;width:100%!important}.project{ text-align:left!important }
@media(max-width:850px){.top{grid-template-columns:repeat(3,minmax(0,1fr))!important}.top .header-location{justify-self:start!important;text-align:left!important}}@media(max-width:560px){.top{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Nov 23: image crops matching supplied six-up mock; Barcelona label Light. */
.top .header-location{font-family:"New Edge 666",Arial,sans-serif!important;font-weight:300!important;text-align:right!important;justify-self:end!important}
@media(min-width:851px){.top{grid-template-columns:repeat(5,minmax(0,1fr))!important}.top .header-location{grid-column:5;justify-self:end!important;text-align:right!important}}
@media(max-width:850px){.top .header-location{justify-self:end!important;text-align:right!important}}
.project .photo-frame .photo{object-position:center center!important}
