/*
Theme Name: Haas After Dark
Description: A quiet, image-first portfolio child theme for Twenty Twenty-Five.
Author: Haas Weston
Template: twentytwentyfive
Version: 1.0.3
Requires at least: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: haas-dark
*/

@font-face{font-family:Manrope;src:url('assets/fonts/Manrope-VariableFont_wght.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{--hw-bg:#090c0d;--hw-text:#f0f0ee;--hw-muted:#a9acae;--hw-line:#2c3031;--hw-space:clamp(24px,4.4vw,64px)}
html{scroll-behavior:smooth;color-scheme:dark}body{margin:0;background:var(--hw-bg);color:var(--hw-text);font-family:Manrope,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.7}*{box-sizing:border-box}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{color:inherit;cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #d9c4e4;outline-offset:6px}button:disabled{cursor:default;opacity:.4}img{max-width:100%;height:auto}h1,h2,h3,p,figure{margin-top:0}h1,h2,h3{font-weight:400}p{margin-bottom:1.5em}::selection{background:#d8c2df;color:#111}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.wp-block-template-part{margin:0}.hw-icon{width:24px;height:24px;filter:invert(1);display:inline-block;vertical-align:middle}.hw-header{height:110px;padding:28px var(--hw-space);display:flex;justify-content:space-between;align-items:center;position:relative;z-index:5}.home .hw-header{position:absolute;top:0;left:0;right:0}.admin-bar.home .hw-header{top:32px}.hw-logo{display:inline-flex;align-items:center}.hw-logo img{width:60px;height:60px;object-fit:contain;filter:invert(1);mix-blend-mode:normal}.hw-nav{display:flex;gap:clamp(26px,3.5vw,50px);align-items:center}.hw-nav a{font-size:16px;color:#b9bbbc;line-height:2.4;border-bottom:1px solid transparent;transition:color .2s}.hw-nav a:hover,.hw-nav a[aria-current]{color:#fff}.hw-nav a[aria-current]{border-bottom-color:#e3e5e5}.hw-menu-toggle{display:none;border:0;background:none;align-items:center;gap:9px;padding:10px}.hw-skip{position:fixed;top:10px;left:10px;transform:translateY(-200%);z-index:1000;background:white;color:black;padding:10px 20px}.hw-skip:focus{transform:none}.hw-home{margin:0}.hw-hero{height:53.7vw;max-height:850px;min-height:675px;position:relative;display:grid;grid-template-columns:25% 75%;overflow:hidden}.hw-hero-copy{padding:150px 26px 48px var(--hw-space);z-index:2;align-self:start}.hw-wordmark{font-size:clamp(36px,3.6vw,54px);font-weight:400;letter-spacing:.13em;line-height:1.06;margin:0 0 42px}.hw-wordmark span{display:block}.hw-small-rule{display:block;width:28px;border-top:1px solid #c7c8c6;margin-bottom:32px}.hw-hero-copy h2{font-size:clamp(25px,2.6vw,38px);font-weight:300;line-height:1.26;letter-spacing:-.025em;margin:0 0 24px;max-width:300px}.hw-hero-copy p{color:var(--hw-muted);letter-spacing:.055em;line-height:1.65;max-width:260px;margin-bottom:38px}.hw-text-link{background:none;border:0;padding:6px 0;display:inline-flex;gap:16px;align-items:center;letter-spacing:.045em;font-size:16px;text-underline-offset:11px}.hw-text-link>span:first-child,.hw-text-link:not(:has(span)){text-decoration:underline;text-decoration-color:#9b9e9e;text-decoration-thickness:1px}.hw-text-link:hover{color:#ddd0e3}.hw-feature-stage{position:relative;min-width:0;background:#090c0d}.hw-slide{position:absolute;inset:0;margin:0}.hw-slide[hidden]{display:none}.hw-slide-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;mask-image:linear-gradient(to right,transparent 0%,#000 15%,#000 90%,transparent 100%)}.hw-slide-caption{position:absolute;bottom:27px;left:30px;font-size:16px;line-height:1.5;letter-spacing:.09em}.hw-slide-caption a{display:block}.hw-slide-caption small{display:block;font-family:monospace;color:#b0b3b2;font-size:12px;letter-spacing:.18em;margin-top:4px}.hw-slide-count{position:absolute;left:30px;bottom:111px;font:11px monospace;letter-spacing:.12em;display:flex;gap:24px;align-items:center}.hw-slide-tabs{display:flex;gap:5px}.hw-slide-tabs button{width:26px;height:24px;border:0;border-top:1px solid #777;background:transparent;padding:0;transform:translateY(12px)}.hw-slide-tabs button[aria-pressed=true]{border-color:white;border-width:2px}.hw-slide-actions{position:absolute;right:var(--hw-space);bottom:24px;display:flex;gap:24px}.hw-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:0;background:transparent}.hw-icon-button .hw-icon{width:32px;height:32px}.hw-selected{border-top:1px solid var(--hw-line);display:grid;grid-template-columns:1fr 1fr;padding:28px var(--hw-space);gap:32px}.hw-selected-card{display:grid;grid-template-columns:114px 1fr;gap:26px;align-items:end}.hw-selected-card+.hw-selected-card{border-left:1px solid var(--hw-line);padding-left:32px}.hw-selected-image{order:2;display:block;overflow:hidden}.hw-selected-image img{display:block;aspect-ratio:1.62;object-fit:cover;transition:transform .4s}.hw-selected-image:hover img{transform:scale(1.035)}.hw-selected-copy{order:1;padding-bottom:8px}.hw-index{display:block;font:11px monospace;color:#b4b5b4;letter-spacing:.13em;margin-bottom:14px}.hw-selected-copy .hw-small-rule{margin-bottom:17px}.hw-selected-copy h2{font-size:16px;letter-spacing:.07em;margin:0 0 0}.hw-selected-copy p{font:12px monospace;color:#aaadae;letter-spacing:.12em;margin:3px 0 32px;white-space:nowrap}.hw-selected-copy .hw-text-link{font-size:14px;gap:10px;white-space:nowrap}.hw-selected-copy .hw-icon{width:18px}.hw-footer{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--hw-line);padding:25px var(--hw-space);font:11px/1.7 monospace;color:#a9acad;letter-spacing:.19em}.hw-footer p{margin:0}.hw-page{padding:40px var(--hw-space) 80px;max-width:1600px;margin:0 auto;min-height:75vh}.hw-page h1{font-size:clamp(42px,6vw,84px);letter-spacing:-.035em;line-height:1.12}.hw-eyebrow{font-family:monospace;font-size:12px;letter-spacing:.18em;color:#aeb1b0;margin-bottom:24px}.hw-page-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:50px}.hw-page-intro h1{margin-bottom:0}.hw-page-intro>p{max-width:420px;color:var(--hw-muted);margin-bottom:8px}.hw-filters{display:flex;gap:32px;flex-wrap:wrap;border-bottom:1px solid var(--hw-line);margin-bottom:32px}.hw-filters a{padding:12px 0;display:inline-block;border-bottom:1px solid transparent;color:var(--hw-muted)}.hw-filters a[aria-current],.hw-filters a:hover{color:var(--hw-text);border-bottom-color:var(--hw-text)}.hw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}.hw-grid[data-collection=photography]{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-project-card figure{margin:0 0 16px;overflow:hidden;background:#121617;aspect-ratio:1}.hw-grid[data-collection=photography] .hw-project-card figure{aspect-ratio:1.5}.hw-project-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.hw-project-card:hover img{transform:scale(1.03)}.hw-project-card h2{font-size:18px;margin:0}.hw-project-card p{font:12px/1.6 monospace;color:var(--hw-muted);letter-spacing:.06em;margin:4px 0 0}.hw-empty{padding:50px 0;color:var(--hw-muted)}.hw-project-heading{padding:36px var(--hw-space) 42px;max-width:1600px;margin:auto}.hw-project-heading h1{font-size:clamp(42px,5vw,76px);line-height:1.15;letter-spacing:-.035em;margin:20px 0 10px}.hw-project-heading p{color:var(--hw-muted);margin:0}.hw-project-heading .hw-text-link{font-size:13px}.hw-project-content{max-width:1500px;margin:0 auto;padding:0 var(--hw-space) 60px}.hw-project-content>.wp-block-gallery{margin:0}.hw-project-content .wp-block-gallery{gap:22px!important}.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image{flex-grow:0!important;align-self:start}.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image img{height:auto!important;max-height:none;object-fit:contain}.hw-project-content>.wp-block-image img{max-height:80vh;object-fit:contain;display:block;margin:auto}.hw-project-content>.wp-block-image{text-align:center}.hw-project-content p{max-width:680px;color:#c4c8c7}.hw-project-content figcaption{color:var(--hw-muted);font-size:13px}.hw-project-content video{max-height:80vh}.hw-project-next{display:flex;justify-content:space-between;padding:30px var(--hw-space);border-top:1px solid var(--hw-line);gap:30px}.hw-about{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:start}.hw-about .wp-block-image{margin:0;position:sticky;top:30px}.hw-about img{width:100%;height:auto}.hw-about-copy p{color:#b9bebe;line-height:1.9}.hw-about-copy .hw-about-lead{color:#f0f0ee;font-size:24px;line-height:1.5}.hw-about h1{margin-bottom:30px}.hw-contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:9vw;padding:36px 0}.hw-contact-layout h1{font-size:clamp(44px,4.8vw,72px);margin-bottom:40px}.hw-contact-email{font-size:clamp(18px,2vw,28px);border-bottom:1px solid #717877;padding-bottom:6px}.hw-social{display:flex;gap:30px;color:var(--hw-muted);margin-top:42px}.hw-social a{text-decoration:underline;text-underline-offset:6px}.hw-contact-form label{display:block;margin:0 0 10px;color:#d7d9d8;font-size:14px}.hw-contact-form label span{color:#a1a8a6;font-size:12px}.hw-contact-form input:not([type=hidden]),.hw-contact-form textarea{width:100%;display:block;background:#14191a;border:1px solid #353c3d;color:#f4f5f4;padding:13px 16px;border-radius:0;margin-bottom:26px}.hw-contact-form textarea{resize:vertical;min-height:150px}.hw-contact-form button{margin-top:0}.hw-form-status{border-left:2px solid #c6d3ce;padding:12px 20px;background:#171d1d}.hw-honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.hw-contact-portrait{max-width:600px;margin-top:55px;opacity:.9}.hw-lightbox{border:0;padding:70px 5vw 40px;background:#080b0d;color:white;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh}.hw-lightbox::backdrop{background:#080b0d}.hw-lightbox-image{display:block;height:calc(100dvh - 160px);width:100%;object-fit:contain}.hw-lightbox-close{position:absolute;right:24px;top:18px}.hw-lightbox-caption{text-align:center;color:#c1c5c5;font-size:13px;margin:14px 70px}.hw-lightbox-prev{position:absolute;left:12px;top:48%}.hw-lightbox-next{position:absolute;right:12px;top:48%}.hw-embed{aspect-ratio:16/9;border:1px solid var(--hw-line);display:grid;place-content:center;gap:20px;text-align:center;margin:45px 0;max-width:100%;position:relative}.hw-embed p{margin:0}.hw-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.hw-embed button{background:none;border:1px solid #5e6465;padding:12px 24px}.hw-embed small{color:var(--hw-muted)}.hw-page .wp-block-group,.hw-project-content .wp-block-group{max-width:none}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
/* Contact-only framing keeps the original portrait intact in the Media Library. */
.hw-page .hw-contact-portrait{max-width:440px}
.hw-contact-portrait .wp-block-image{position:relative;width:100%;aspect-ratio:365/421;overflow:hidden;margin:0;background:#000}
.hw-contact-portrait .wp-block-image img{position:absolute;top:0;left:-89%;display:block;width:270%;max-width:none;height:auto;transform:translateY(-62%)}
/* Row-first fallback; the script gives mosaic tiles proportional widths. */
.hw-project-content .wp-block-gallery.has-nested-images{--hw-gallery-gap:22px;--hw-gallery-columns:3;display:grid!important;grid-template-columns:repeat(var(--hw-gallery-columns),minmax(0,1fr));gap:var(--hw-gallery-gap)!important;align-items:start}
.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){display:block;width:100%!important;min-width:0;margin:0}
.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image>a{display:block}
.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;width:100%;height:auto!important;object-fit:contain}
.hw-project-content .wp-block-gallery.has-nested-images>.blocks-gallery-caption{grid-column:1/-1}
.hw-project-content .wp-block-gallery.has-nested-images.hw-mosaic{display:block!important}
.hw-mosaic-row{display:flex;align-items:flex-start;gap:var(--hw-gallery-gap)}
.hw-mosaic-row+.hw-mosaic-row{margin-top:var(--hw-gallery-gap)}
.hw-project-content .wp-block-gallery.has-nested-images .hw-mosaic-row>figure.wp-block-image:not(#individual-image){flex:var(--hw-image-ratio,1) 1 0%!important;width:0!important;margin:0}
.hw-mosaic-spacer{flex:var(--hw-image-ratio,1) 1 0%;min-width:0;align-self:stretch}
@media(max-width:1024px){.hw-project-content .wp-block-gallery.has-nested-images{--hw-gallery-gap:14px;--hw-gallery-columns:2}}
@media(max-width:600px){.hw-project-content .wp-block-gallery.has-nested-images{--hw-gallery-columns:1}}
.hw-wordmark{letter-spacing:.17em}
.hw-hero-copy h2{font-size:clamp(28px,2.7vw,38px);letter-spacing:0;max-width:240px}
.hw-hero-copy p{font-size:17px}
.hw-slide-image{position:absolute;width:auto;max-width:none;height:108%;left:50%;top:20px;transform:translateX(-50%);mask-image:linear-gradient(to right,transparent,#000 17%,#000 84%,transparent)}
.hw-slide-count{bottom:78px}
.hw-selected{gap:0}.hw-selected-card{grid-template-columns:108px 1fr}.hw-selected-card:first-child{padding-right:28px}
.hw-selected-image{position:relative;aspect-ratio:1.62;width:100%}
.hw-selected-image img{height:100%;width:100%;aspect-ratio:auto}
.hw-selected-image .hw-selected-ambience{position:absolute;inset:0;object-fit:cover;filter:blur(28px);transform:scale(1.16);opacity:.8}
.hw-selected-original{position:absolute;top:0;left:50%;height:100%;aspect-ratio:1;transform:translateX(-50%);mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent)}
.hw-selected-image .hw-selected-art{height:100%;width:100%;object-fit:contain}
.hw-selected-image:hover .hw-selected-art{transform:scale(1.035)}
.hw-selected-image:hover .hw-selected-ambience{transform:scale(1.16)}
@media(min-width:1600px){.hw-hero-copy{padding-top:165px}.hw-wordmark{margin-bottom:48px}.hw-hero-copy h2{max-width:360px}.hw-hero-copy p{max-width:300px}.hw-selected-image img{max-height:340px}.hw-selected-card{grid-template-columns:130px 1fr}}
@media(max-width:1100px){.hw-hero{grid-template-columns:29% 71%;min-height:670px}.hw-hero-copy{padding-top:150px}.hw-wordmark{font-size:36px}.hw-hero-copy h2{font-size:28px}.hw-hero-copy p{font-size:14px}.hw-hero-copy .hw-text-link{font-size:13px;gap:10px}.hw-selected-card{grid-template-columns:90px 1fr;gap:18px}.hw-selected{gap:24px}.hw-selected-card+.hw-selected-card{padding-left:24px}.hw-selected-copy p{font-size:10px}.hw-selected-copy .hw-text-link{font-size:12px}.hw-grid{gap:30px 20px}}
@media(max-width:1024px){.hw-header{height:90px;padding-top:18px;padding-bottom:18px}.hw-logo img{width:48px;height:48px}.hw-menu-toggle{display:inline-flex;position:relative;z-index:7}.hw-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#0b0f10;padding:24px var(--hw-space) 36px;gap:14px;border-bottom:1px solid var(--hw-line)}.hw-nav.is-open{display:flex;flex-direction:column;align-items:stretch}.hw-nav a{font-size:22px}.hw-hero{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;overflow:visible}.hw-hero-copy{padding:125px var(--hw-space) 34px;display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.hw-wordmark{font-size:35px;margin:0 0 26px;grid-column:1}.hw-hero-copy .hw-small-rule{display:none}.hw-hero-copy h2{grid-column:2;grid-row:1/3;font-size:26px;line-height:1.3;align-self:center;margin:0}.hw-hero-copy p{grid-column:1/-1;max-width:none;font-size:14px;margin:0 0 22px}.hw-hero-copy .hw-text-link{grid-column:1/-1;font-size:14px;justify-self:start}.hw-feature-stage{height:105vw;min-height:380px;max-height:620px}.hw-slide-image{mask-image:none;object-fit:contain;padding-bottom:76px}.hw-slide-caption{left:var(--hw-space);bottom:20px}.hw-slide-count{left:var(--hw-space);bottom:88px}.hw-slide-actions{right:16px;bottom:16px;gap:14px}.hw-selected{display:block;padding-top:24px;padding-bottom:24px}.hw-selected-card{grid-template-columns:100px 1fr;gap:22px;align-items:end}.hw-selected-card+.hw-selected-card{border-left:0;border-top:1px solid var(--hw-line);padding:24px 0 0;margin-top:24px}.hw-selected-image img{aspect-ratio:1.2}.hw-selected-copy p{margin-bottom:24px}.hw-selected-copy h2{font-size:16px}.hw-selected-copy .hw-text-link{font-size:13px}.hw-footer{font-size:9px;letter-spacing:.12em;align-items:start}.hw-footer p:first-child{max-width:260px}.hw-page{padding-top:30px;padding-bottom:50px}.hw-page-intro{display:block;margin-bottom:25px}.hw-page-intro h1{margin-bottom:24px}.hw-grid,.hw-grid[data-collection=photography]{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.hw-project-card h2{font-size:15px}.hw-project-card p{font-size:10px}.hw-filters{gap:22px;font-size:14px}.hw-about,.hw-contact-layout{grid-template-columns:1fr;gap:40px}.hw-about .wp-block-image{position:static;order:2;max-width:600px}.hw-about-copy .hw-about-lead{font-size:22px}.hw-contact-layout{padding-top:0}.hw-contact-layout h1{font-size:48px}.hw-contact-email{font-size:22px}.hw-contact-portrait{margin-top:20px}.hw-project-heading{padding-top:24px}.hw-project-content .wp-block-gallery{gap:14px!important}.hw-project-content .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(50% - 7px)!important}.hw-project-next{font-size:13px}.hw-lightbox{padding:70px 0 40px}.hw-lightbox-image{height:calc(100dvh - 170px)}.hw-lightbox-prev,.hw-lightbox-next{top:auto;bottom:20px}.hw-lightbox-caption{margin:15px 60px}.hw-embed{padding:25px;aspect-ratio:auto;min-height:260px}}
@media(max-width:1100px){.hw-hero-copy h2{font-size:28px}.hw-hero-copy p{font-size:14px}.hw-selected-card{grid-template-columns:90px 1fr}}
@media(max-width:1024px){.hw-slide-image{width:100%;height:100%;left:0;top:0;transform:none;mask-image:none}.hw-hero-copy h2{font-size:26px;max-width:none}.hw-hero-copy p{font-size:14px}.hw-selected-card{grid-template-columns:100px 1fr}.hw-selected-image{aspect-ratio:1.2}.hw-selected-image img{aspect-ratio:auto}.hw-slide-count{bottom:88px}}
@media(max-width:1024px){.hw-selected-card:first-child{padding-right:0}.hw-project-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){width:100%!important}}
@media(max-width:600px){.hw-hero-copy{grid-template-columns:1fr}.hw-hero-copy h2{grid-column:1;grid-row:auto;max-width:280px;margin-bottom:24px}.hw-grid{grid-template-columns:1fr}.hw-wordmark{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
