@font-face{font-family:Manrope;src:url('/fonts/manrope-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}

/* Shared scale: wide layout without unbounded type or controls. */
:root{--bg:#10110f;--ink:#f2f1e9;--muted:#a5a79e;--accent:#cfef01;--line:#34362e;--gutter:clamp(20px,2.5vw,48px);--header:64px;--title:clamp(36px,4.7vw,72px);--body:clamp(16px,1.1vw,18px);--section-space:clamp(56px,7vw,100px);color-scheme:dark;font-family:Manrope,Arial,sans-serif;font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:84px}
:root[data-theme=light]{--bg:#f4f4ee;--ink:#181a15;--muted:#62675b;--accent:#587000;--line:#ced1c4;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-size:var(--body);-webkit-font-smoothing:antialiased}
::selection{background:var(--accent);color:var(--bg)}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
img{display:block;max-width:100%;height:auto}
svg{display:block;width:1.15em;height:1.15em;flex-shrink:0}
p,h1,h2,h3,figure{margin:0}
[hidden]{display:none!important}
.wrap{padding-inline:var(--gutter)}
.eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.skip-link{position:fixed;left:20px;top:10px;z-index:100;transform:translateY(-160%);padding:12px 20px;background:var(--accent);color:var(--bg)}
.skip-link:focus{transform:none}

/* Header and theme control. */
.site-header{position:fixed;inset:0 0 auto;z-index:20;background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(18px)}
.header-inner{height:var(--header);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.theme-toggle{display:grid;place-items:center;width:40px;height:44px;padding:6px;background:none;justify-self:start}
.brand-mark,.sun-mark{width:26px;height:26px;transition:transform .3s}
.theme-toggle:hover svg{transform:rotate(-18deg)}
.sun-mark{display:none}
[data-theme=light] .brand-mark{display:none}
[data-theme=light] .sun-mark{display:block}
.desktop-nav{display:flex;gap:22px;font-size:13px;line-height:1.4}
.desktop-nav a{padding-block:12px;transition:color .2s}
.desktop-nav a:hover,.desktop-nav a[aria-current]{color:var(--accent)}
.header-contact{display:flex;align-items:center;justify-self:end;gap:12px;font-size:14px;line-height:1.4;text-decoration:underline;text-underline-offset:5px}
.header-contact svg{color:var(--accent);width:15px;height:15px}
.header-contact:hover{color:var(--accent)}
.menu-toggle{display:none;background:none;min-width:44px;min-height:44px;padding:10px}
.menu-icon{display:block;width:23px;height:13px;border-top:1px solid;border-bottom:1px solid;position:relative;transition:transform .2s}
.menu-toggle[aria-expanded=true] .menu-icon{border-bottom:0;transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon:after{content:'';position:absolute;top:-1px;left:0;width:23px;border-top:1px solid;transform:rotate(90deg)}
.mobile-menu{position:absolute;top:100%;left:0;right:0;padding:16px var(--gutter) 24px;background:var(--bg);border-bottom:1px solid var(--line)}
.mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:14px 0;font-size:22px;border-bottom:1px solid var(--line)}
.mobile-menu a:last-child{color:var(--accent)}


/* Keep the green text selection on copy, never on photos or viewer controls. */
.photo,.photo *,.hero-media,.hero-media *,.photo-viewer,.photo-viewer *{-webkit-user-select:none;user-select:none}
.photo,.photo img,.hero-media img,.photo-viewer img{-webkit-user-drag:none}
.photo::selection,.photo *::selection,.hero-media::selection,.hero-media *::selection,.photo-viewer::selection,.photo-viewer *::selection{background:transparent;color:inherit}

/* Original first-screen composition. */
.hero{position:relative;width:100%;height:100vh;height:100svh;isolation:isolate;background:#10110f;color:#fff}
.hero-media{position:absolute;inset:0;z-index:-2}
.hero-media img{width:100%;height:100%;object-fit:var(--hero-fit,cover)}
.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0000 0%,#0001 30%,#000a 100%);pointer-events:none}
.hero-content{height:100%;display:flex;align-items:center;padding-top:var(--header)}
.hero h1{font-weight:400;width:100%}
.hero-name{display:block;font-size:clamp(48px,8.7vw,128px);letter-spacing:-.045em;line-height:1.04}
.hero-subtitle{display:block;font-size:clamp(20px,1.8vw,30px);letter-spacing:-.02em;line-height:1.4;margin-top:20px;font-weight:400}
.hero-scroll{position:absolute;bottom:28px;left:var(--gutter);font-size:26px;animation:down 2.5s ease-in-out infinite;color:#fff}
@keyframes down{50%{transform:translateY(6px)}}
.section{padding-top:var(--section-space)}
.section-heading,.page-title{font-size:var(--title);font-weight:400;line-height:1.08;letter-spacing:-.045em;color:var(--accent)}

/* About: heading, then photograph and a readable text column. */
.about>.eyebrow{margin-bottom:18px}
.about-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:36px}
.about-heading .section-heading{color:var(--accent)}

.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,96px);align-items:start}
.about-photo{min-width:0;justify-self:start}
.about-photo img{width:100%;height:auto}
.about-photo figcaption{font-size:12px;line-height:1.5;color:var(--muted);margin-top:12px}
.about-copy{max-width:64ch}
.about-copy p{font-size:var(--body);line-height:1.65;color:var(--muted);margin-bottom:18px;text-wrap:pretty}
.about-copy p:first-child{font-size:clamp(23px,2vw,30px);line-height:1.35;letter-spacing:-.025em;color:var(--ink);margin-bottom:24px}
.about-copy .about-outro{color:var(--ink);font-size:var(--body);line-height:1.65;margin-bottom:22px}
.about-copy .text-link{font-size:14px;color:var(--ink)}
.about-copy p:last-child{margin-bottom:0}

/* Full-screen home portfolio: three rows share only the remaining height. */
.home-portfolio{height:100vh;height:100svh;display:flex;flex-direction:column;padding-top:calc(var(--header) + clamp(12px,2.8svh,28px));padding-bottom:clamp(16px,2.8svh,28px)}
.portfolio-heading{display:flex;align-items:center;gap:20px;margin-bottom:24px;flex:none}
.home-portfolio .section-heading{font-size:clamp(32px,min(5.2vw,11svh),80px)}
.portfolio-arrow{display:block;color:var(--muted);transition:color .2s,transform .2s}
.portfolio-arrow svg{width:clamp(32px,4vw,52px);height:clamp(32px,4vw,52px)}
.portfolio-arrow:hover{color:var(--accent);transform:translate(3px,-3px)}
.preview-strips{flex:1;min-height:0;display:grid;grid-template-rows:repeat(var(--preview-rows,3),minmax(0,1fr));gap:8px;overflow:hidden}
.photo-strip{height:100%;min-height:0;overflow:hidden}
.strip-track{display:flex;height:100%;width:max-content;gap:8px;animation:marquee var(--marquee-duration,85s) linear infinite;will-change:transform}
.photo-strip:nth-child(2) .strip-track{animation-direction:reverse}
.strip-group{display:flex;height:100%;gap:8px;flex-shrink:0}
.strip-group .photo{height:100%;width:auto;aspect-ratio:var(--photo-ratio);flex:none}
.strip-group .photo img{width:100%;height:100%;max-width:none;object-fit:contain}
.photo-strip:hover .strip-track,.photo-strip:focus-within .strip-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(calc(-50% - 4px))}}
.photo{display:block;position:relative;min-width:0;background:#1b1e18}
.photo img{width:100%;height:auto}
.photo:after{content:'↗';position:absolute;right:10px;top:10px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--bg);color:var(--ink);font-size:15px;opacity:0;transition:opacity .2s;pointer-events:none}
.photo:hover:after,.photo:focus-visible:after{opacity:1}
.photo-index{position:absolute;bottom:10px;left:10px;color:var(--ink);background:var(--bg);font-size:10px;padding:4px 6px;opacity:0}
.photo:hover .photo-index,.photo:focus-visible .photo-index{opacity:1}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative}
.gallery[data-ready=true]{display:block}
.gallery[data-ready=true]>.photo{position:absolute}
.portfolio-bottom{display:flex;justify-content:flex-end;align-items:center;margin-top:22px;font-size:14px;color:var(--muted);flex:none}
.text-link{display:inline-flex;align-items:center;gap:14px;padding-block:8px;border-bottom:1px solid currentColor;line-height:1.5;transition:color .2s}
.text-link:hover{color:var(--accent)}
.text-link svg{color:var(--accent)}



.portfolio-page{padding-top:var(--header)}
.page-head{padding-top:36px;padding-bottom:36px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.view-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:100px;flex-shrink:0}
.view-switch button{display:flex;align-items:center;gap:7px;padding:10px 15px;background:transparent;color:var(--muted);border-radius:100px;font-size:12px;min-height:42px}
.view-switch button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.view-switch svg{width:14px;height:14px}














/* Soft light shafts from below; the text always paints above the effect. */
.site-footer{margin-top:var(--section-space);padding-top:36px;padding-bottom:24px;position:relative;isolation:isolate;overflow:hidden;min-height:clamp(350px,48svh,620px);display:flex;flex-direction:column}
.site-footer:before{content:'';position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 55% 125%,color-mix(in srgb,var(--accent) 30%,transparent),transparent 72%);pointer-events:none}
.footer-rays{position:absolute;inset:0 -15% -25%;z-index:-1;pointer-events:none;overflow:hidden;mask-image:linear-gradient(transparent,rgba(0,0,0,.45) 35%,#000 85%)}
.footer-rays:before,.footer-rays:after{content:'';position:absolute;inset:-25% -20% -35%;transform-origin:50% 100%;background:repeating-conic-gradient(from -46deg at 50% 115%,transparent 0deg 10deg,color-mix(in srgb,var(--accent) 23%,transparent) 12deg 16deg,transparent 19deg 30deg);filter:blur(12px);animation:light-rays 18s ease-in-out infinite alternate;animation-play-state:paused}
.footer-rays:after{background:repeating-conic-gradient(from -16deg at 67% 115%,transparent 0deg 16deg,color-mix(in srgb,var(--accent) 17%,transparent) 18deg 21deg,transparent 24deg 38deg);filter:blur(7px);animation-duration:24s;animation-direction:alternate-reverse}
.footer-rays.is-active:before,.footer-rays.is-active:after{animation-play-state:running}
@keyframes light-rays{from{transform:translateX(-3%) rotate(-7deg) scale(1.06);opacity:.55}to{transform:translateX(3%) rotate(7deg) scale(1.12);opacity:1}}
[data-theme=light] .footer-rays{opacity:.4;mix-blend-mode:multiply}
.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:32px}
.footer-cta h2{font-weight:400;min-width:0;max-width:1100px}
.footer-cta h2{font-size:clamp(34px,4.5vw,80px);line-height:1.12;letter-spacing:-.04em;color:var(--accent)}
.footer-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:start;gap:clamp(24px,4vw,72px);color:var(--muted);font-size:14px;padding-bottom:36px}
.footer-message{max-width:40ch;font-size:14px;line-height:1.65;text-wrap:pretty}
.footer-contacts{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.footer-contacts .footer-primary{font-size:16px;color:var(--accent)}
.footer-phone{font-size:16px;line-height:1.5;color:var(--ink)}
.footer-phone:hover,.footer-socials a:hover{color:var(--accent)}
.footer-socials{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;line-height:1.5}
.footer-back{display:flex;align-items:center;gap:10px;font-size:13px;white-space:nowrap;padding-block:8px}
.footer-back svg{transform:rotate(-45deg)}
.footer-meta{display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--muted);font-size:11px;line-height:1.5;margin-top:auto}
.footer-meta a{text-decoration:underline;text-underline-offset:3px}

/* Native dialog and cursor overlay share the same top layer. */
.viewer-open{overflow:hidden}
.photo-viewer{border:0;padding:0;max-width:none;max-height:none;width:100%;height:100dvh;inset:0;margin:0;background:#0b0c0bf5;color:#f2f1e9;overflow:hidden}
.photo-viewer::backdrop{background:#0b0c0b}
.viewer-bar{position:absolute;top:0;left:0;right:0;height:76px;padding:15px max(20px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;z-index:2}
.viewer-counter{font-size:12px;letter-spacing:.1em;color:#adadad}
.viewer-close{width:44px;height:44px;border:1px solid #34362e;background:#10110f;border-radius:50%;display:grid;place-items:center;font-size:26px}
.viewer-close:hover,.viewer-arrow:hover{color:#cfef01;border-color:#cfef01}
.viewer-stage{height:100%;display:flex;align-items:center;justify-content:center;padding:86px 86px 72px}
.viewer-stage img{width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain}
.viewer-arrow{position:absolute;top:50%;width:44px;height:44px;border:1px solid #34362e;border-radius:50%;background:#10110f;display:grid;place-items:center;z-index:2}
.viewer-prev{left:20px}.viewer-next{right:20px}.viewer-prev svg{transform:rotate(180deg)}
.viewer-original{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);font-size:12px;border-bottom:1px solid #adadad;padding:8px;white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.not-found{min-height:70vh;display:flex;flex-direction:column;align-items:start;justify-content:center;gap:28px;padding-top:var(--header)}

/* Keyframes replay even when the observer fires before the first paint. */
.reveal-word{display:inline-block;white-space:nowrap}
[data-char]{display:inline-block;white-space:pre}
.motion-ready [data-reveal-ready]:not(.visible) [data-char]{opacity:0;filter:blur(8px);transform:translateY(.18em)}
.motion-ready [data-reveal-ready].visible [data-char]{animation:text-letter-in .8s cubic-bezier(.2,.65,.25,1) both;animation-delay:calc(var(--char-index)*28ms)}
.motion-ready [data-text-reveal][data-reveal-ready]:not(.visible){opacity:0;filter:blur(5px);transform:translateY(12px)}
.motion-ready [data-text-reveal][data-reveal-ready].visible{animation:text-block-in .8s cubic-bezier(.2,.65,.25,1) both}
@keyframes text-letter-in{from{opacity:0;filter:blur(8px);transform:translateY(.18em)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes text-block-in{from{opacity:0;filter:blur(5px);transform:translateY(12px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
.cursor-layer{position:fixed;inset:0;pointer-events:none;z-index:1000;mix-blend-mode:difference}
.custom-cursor{position:absolute;left:0;top:0;width:13px;height:13px;background:#fff;border-radius:50%;pointer-events:none;opacity:0;transform:translate(-50%,-50%);transition:width .15s,height .15s,opacity .15s}
.custom-cursor.visible{opacity:1}.custom-cursor.interactive{width:28px;height:28px}
.cursor-spark{position:absolute;left:0;top:0;color:#fff;font-size:12px;line-height:1;pointer-events:none;transform:translate(-50%,-50%);animation:cursor-trail-fade .65s ease-out both}
@keyframes cursor-trail-fade{from{opacity:.65;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.35)}}
@media(hover:hover) and (pointer:fine){.custom-cursor-enabled,.custom-cursor-enabled *,.custom-cursor-enabled .photo-viewer::backdrop{cursor:none!important}}
.page-is-hidden .strip-track,.page-is-hidden .hero-scroll,.page-is-hidden .footer-rays:before,.page-is-hidden .footer-rays:after{animation-play-state:paused}

@media(min-width:1800px){.about-photo{width:100%;max-width:760px;justify-self:start}.about-copy{align-self:center}}
@media(max-width:900px){.about-grid{gap:28px}.about-copy p{font-size:16px;line-height:1.6}.about-copy p:first-child{font-size:24px}.desktop-nav{gap:16px}}
@media(max-width:760px){:root{--gutter:20px;--title:clamp(34px,8.7vw,52px);--section-space:56px}.header-inner{display:flex;gap:10px}.theme-toggle{margin-right:auto;flex-shrink:0}.desktop-nav{display:none}.header-contact{font-size:12px;gap:9px}.menu-toggle{display:grid;place-items:center}.hero-name{font-size:clamp(46px,12vw,80px);line-height:1.06;overflow-wrap:normal}.hero-subtitle{font-size:21px;margin-top:18px}.hero-scroll{font-size:24px;bottom:24px}.about>.eyebrow{margin-bottom:14px}.about-heading{margin-bottom:28px}.about-grid{grid-template-columns:1fr;gap:28px}.about-copy{max-width:64ch}.about-copy p{font-size:16px;line-height:1.65;margin-bottom:18px}.about-copy p:first-child{font-size:24px;margin-bottom:22px}.about-copy .about-outro{font-size:16px}.home-portfolio .section-heading{font-size:clamp(32px,min(10vw,11svh),52px)}.portfolio-heading{margin-bottom:20px;gap:16px}.portfolio-arrow svg{width:36px;height:36px}.portfolio-bottom{font-size:12px;margin-top:18px}.page-head{padding-top:28px;padding-bottom:28px;flex-wrap:wrap;gap:20px}.page-head .view-switch{margin-left:auto}.view-switch button{font-size:11px;padding:9px 13px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.site-footer{padding-top:28px;min-height:360px}.footer-cta{gap:18px;margin-bottom:28px;align-items:flex-end}.footer-cta h2{font-size:clamp(32px,8.2vw,48px)}.footer-details{grid-template-columns:1fr;gap:24px;font-size:13px;padding-bottom:30px}.footer-message{font-size:13px}.footer-back{justify-self:start}.footer-back{font-size:12px}.footer-meta{font-size:10px;flex-wrap:wrap;gap:12px 20px}.footer-meta>a{width:100%}.viewer-stage{padding:76px 14px 94px}.viewer-bar{height:68px}.viewer-arrow{top:auto;bottom:24px}.viewer-prev{left:20px}.viewer-next{right:20px}.viewer-original{bottom:31px;font-size:10px}.viewer-close{width:42px;height:42px}.viewer-counter{font-size:11px}.footer-rays:before{filter:blur(9px)}.footer-rays:after{filter:blur(5px)}}
@media(max-width:359px){:root{--gutter:16px}.header-contact{font-size:11px}.hero-name{font-size:14vw}.hero-subtitle{font-size:20px}}
@media(max-height:500px){.home-portfolio{padding-top:calc(var(--header) + 10px);padding-bottom:12px}.home-portfolio .section-heading{font-size:clamp(24px,9svh,40px)}.home-portfolio .portfolio-heading{margin-bottom:12px}.home-portfolio .portfolio-arrow svg{width:28px;height:28px}.home-portfolio .portfolio-bottom{margin-top:10px}.preview-strips{gap:6px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready [data-char],.motion-ready [data-text-reveal]{opacity:1!important;filter:none!important;transform:none!important}.cursor-layer{display:none!important}}
