/* Gallery-led refinement: original proportions, quieter captions, clear navigation. */
:root{--paper:#f6f4ee;--ink:#252a27;--gold:#8b713f}
header{padding:20px 5%;gap:24px}header nav{gap:22px}header nav a{font-size:12px}.menu-toggle{display:none}
.section{padding-top:72px;padding-bottom:72px}.section-heading{margin-bottom:32px}.page-intro{padding-top:46px;padding-bottom:26px}.page-intro .intro{max-width:640px;font-size:16px}.page-intro h1{font-size:clamp(44px,5.4vw,76px)}
.photo-first{padding:12px 4% 54px;gap:32px}.photo-first .hero-image{height:auto;aspect-ratio:16/9;max-height:680px}.photo-first .hero-image img{display:block;object-position:center}.photo-first .hero-copy{padding:0 1%;grid-template-columns:1.2fr 1fr}.photo-first h1{font-size:clamp(42px,4.5vw,66px)}.photo-first .intro{max-width:380px;font-size:16px}.hero-actions{margin-top:24px}.service-line{font-size:10px;padding:18px 5%}
.home-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}.home-photo-grid img{height:auto;aspect-ratio:4/3;object-fit:cover}.home-photo-grid p{display:none}.home-photo-grid span{font-size:25px}.home-ideas{background:#eae7de}.idea-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px}.idea-preview-grid img{width:100%;height:auto;display:block}.idea-preview-grid span{display:block;margin-top:14px;font:27px Georgia,serif}.home-paths .path-grid{margin-top:28px}.about-nunez{display:grid;grid-template-columns:1fr 1fr;column-gap:60px}.about-nunez .eyebrow,.about-nunez h2{grid-column:1}.about-nunez p:not(.eyebrow),.about-nunez .text-link{grid-column:2}.about-nunez h2{font-size:44px}.about-nunez .text-link{width:max-content}
.project-card img,.project-wide img,.portfolio-grid .project-wide img,.feature-photo-grid .tall-card img,.stone-hero .project-card img,.edge-photo-grid .project-card img{height:auto;aspect-ratio:auto;max-height:none;width:100%}.project-card>a:hover img{transform:none}.project-card figcaption{padding-top:18px}.project-card .eyebrow{font-size:9px;margin-bottom:7px}.project-card p:not(.eyebrow){margin:10px 0 0;line-height:1.6}.project-card h2,.project-card h3{font-size:27px}.feature-photo-grid,.portfolio-grid{gap:42px 32px;align-items:start}.project-card a:focus-visible{outline-offset:4px}.material-jumps{gap:8px!important;margin-top:24px}.material-jumps a{font-size:12px;padding:8px 12px;border-radius:0}.material-jumps a:hover{background:var(--ink);color:var(--paper)}#outdoors>.project-card{max-width:960px;margin:45px auto 0}.bookmatch-steps img{height:auto}
@media(max-width:800px){header{display:flex;flex-wrap:wrap;align-items:center;padding:16px 6%;gap:0}.brand img{width:40px;height:46px}.menu-toggle{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-left:auto;border:1px solid var(--line);background:transparent;padding:10px 14px;font-size:12px;min-height:44px}.js header nav{display:none}.js header nav.is-open{display:grid}header nav{display:grid;width:100%;max-width:none;grid-template-columns:1fr 1fr;gap:0;margin:16px 0 0;padding:10px 0 0}header nav a{padding:12px 0;font-size:14px}.nav-contact{border-bottom:0}.section{padding:48px 6%}.page-intro{padding-top:30px;padding-bottom:18px}.page-intro h1{font-size:44px}.photo-first{padding:8px 4% 38px;gap:25px}.photo-first .hero-image{height:auto;aspect-ratio:4/3}.photo-first .hero-copy{padding:0 2%;display:block}.photo-first h1{font-size:46px}.photo-first .intro{margin-top:18px;max-width:100%}.hero-actions{gap:15px}.hero-image figcaption{font-size:8px;padding:12px}.service-line{font-size:8px;line-height:1.4}.section-heading{margin-bottom:25px}.section-heading .text-link{margin-top:14px}.material-jumps{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:10px;scrollbar-width:thin}.material-jumps a{flex-shrink:0;white-space:nowrap;min-height:42px}.feature-photo-grid,.portfolio-grid{gap:34px}.home-photo-grid,.idea-preview-grid{gap:30px 18px}.idea-preview-grid span{font-size:23px}.about-nunez{display:block}.about-nunez h2{font-size:38px}.project-card h2,.project-card h3{font-size:26px}.project-video-grid video{max-height:580px}.mini-contact h2{font-size:40px}}
@media(max-width:550px){.home-photo-grid,.idea-preview-grid{grid-template-columns:1fr}.photo-first h1{font-size:40px}.home-photo-grid img{height:auto;aspect-ratio:auto}.path-grid{gap:32px}.page-intro h1{font-size:40px}}
#statement-stone{padding-top:24px}#statement-stone>.section-heading h2{font-size:32px;letter-spacing:-.8px}.page-intro .eyebrow{margin-bottom:16px}@media(max-width:800px){#statement-stone>.section-heading h2{font-size:28px}.page-intro .intro{margin:18px 0}.material-jumps{margin-top:18px!important}}

/* Actual-project portfolio, October 2026. */
.portfolio-grid,.home-photo-grid.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 24px;align-items:start}
.portfolio-grid .project-card>a{display:block;aspect-ratio:1;overflow:hidden}
.portfolio-grid .project-card img,.home-photo-grid .project-card img{width:100%;height:100%;aspect-ratio:1;max-height:none;object-fit:cover;object-position:center}
.project-card:nth-child(3) img{object-position:center}
.project-card h2,.project-card h3{font:25px/1.2 Georgia,serif;letter-spacing:-.5px;margin:0}
.project-card p:not(.eyebrow),.home-photo-grid .project-card p{display:block;font-size:14px;line-height:1.6;margin:10px 0 0;color:var(--muted)}
.project-card figcaption{padding-top:16px}.material-card{display:block;max-width:920px;margin:auto}.material-info{max-width:100%}
#photo-viewer{position:fixed;inset:0;margin:0;border:0;padding:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;background:#171a18;color:#fff;overflow:hidden}
#photo-viewer[open]{display:grid;grid-template-rows:64px minmax(0,1fr) 80px}
.viewer-toolbar{display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid #ffffff24}.viewer-toolbar>span{margin-right:auto;font-size:13px;color:#d7d8d2}
#photo-viewer button{position:static;flex-shrink:0;border:1px solid #ffffff60;background:#252a27;color:#fff;padding:8px 16px;min-height:44px;cursor:pointer;font-size:13px;border-radius:3px}
.viewer-stage{min-width:0;min-height:0;overflow:auto;display:flex;padding:12px;align-items:center;justify-content:center;overscroll-behavior:contain}
#photo-viewer .viewer-stage img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;cursor:zoom-in;flex-shrink:0}
#photo-viewer.is-zoomed .viewer-stage{display:block}
#photo-viewer.is-zoomed .viewer-stage img{width:var(--zoom-width,200%);height:auto;max-width:none;max-height:none;cursor:zoom-out}
.viewer-bottom{display:flex;align-items:center;gap:20px;padding:8px 20px;border-top:1px solid #ffffff24}
#photo-viewer .viewer-bottom p{font-size:14px;line-height:1.4;white-space:normal;text-align:center;margin:0;flex:1;max-width:none;color:#fff}
#photo-viewer .viewer-bottom button{font-size:22px;line-height:1;padding:8px 14px}
@media(max-width:1000px){.portfolio-grid,.home-photo-grid.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.portfolio-grid,.home-photo-grid.portfolio-grid{grid-template-columns:1fr;gap:32px}.viewer-toolbar{padding:8px 12px;gap:8px}#photo-viewer[open]{grid-template-rows:62px minmax(0,1fr) 88px}.viewer-stage{padding:4px}.viewer-bottom{padding:8px 12px;gap:10px}.project-card h2{font-size:25px}#photo-viewer .viewer-bottom p{font-size:13px}}

.section.portfolio{padding-top:24px}.page-intro{padding-bottom:12px}.page-intro h1{font-size:clamp(40px,5vw,64px)}

/* Open every image at least 20% larger than its cropped thumbnail scale. */
#photo-viewer .viewer-stage{display:flex;align-items:flex-start;justify-content:flex-start;touch-action:pan-x pan-y pinch-zoom}
#photo-viewer .viewer-stage img{max-width:none;max-height:none;margin:auto;object-fit:contain;flex-shrink:0;cursor:zoom-in}
@media(max-width:550px){.viewer-toolbar>span{font-size:11px;max-width:145px;line-height:1.3}#photo-viewer .viewer-toolbar button{padding:8px 12px}}

.edge-catalog{padding-top:24px}.edge-photo-grid .project-card[hidden]{display:none}
.material-sample details{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.material-sample summary{cursor:pointer;font-size:14px}.material-sample .sample-name{font-size:12px;color:var(--muted)}
.material-sample .material-info h3{font:15px/1.4 Arial,sans-serif;letter-spacing:0;margin:18px 0 6px}.material-sample .pros-cons{display:block}.material-gallery .guide-note{margin-top:36px}

.project-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-video-grid video{width:100%;aspect-ratio:9/16;object-fit:contain;background:#20231f}@media(max-width:1000px){.project-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.project-video-grid{grid-template-columns:1fr}}

.process-card-grid .project-card>a{aspect-ratio:4/3;background:#ece9e2}.process-card-grid .project-card img{aspect-ratio:auto}.process-card-grid .drawing-card img,.process-card-grid .whole-photo img{object-fit:contain}.process-card-grid .drawing-card>a{background:#fff}.process-pairs,.project-video-grid.process-videos{grid-template-columns:repeat(2,minmax(0,1fr))}.process-videos video{max-height:600px}.process-gallery .fine,.process-pairs+.fine{margin-top:28px;max-width:850px}@media(max-width:550px){.process-pairs,.project-video-grid.process-videos{grid-template-columns:1fr}}
.project-video-grid.process-videos video{aspect-ratio:4/3;max-height:none;object-fit:contain}
.project-video-grid.process-videos video{height:auto}

/* Keep the two remaining homepage pathways balanced. */
.home-paths .path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.home-paths .path-grid{grid-template-columns:1fr}}

/* A restrained film collection, displayed below the source resolution. */
.quality-films{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:0 auto;gap:36px}.quality-films figure{margin:0}.quality-films video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;border-radius:3px}.quality-films figcaption{padding-top:18px}.quality-films h3{font:25px/1.2 Georgia,serif;margin:0}.quality-films p{font-size:14px;line-height:1.6;color:var(--muted);margin:10px 0 0}@media(max-width:600px){.quality-films{grid-template-columns:1fr;max-width:360px}}
.quality-films video{height:auto;max-height:none}

@media(max-width:550px){
  #photo-viewer[open]{padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
  #photo-viewer .viewer-bottom button{min-width:44px}
}

.hero-image>a{display:block;width:100%;height:100%;cursor:zoom-in}.hero-image figcaption{pointer-events:none}
.photo-first .hero-image>a::after{content:none}
.photo-first .hero-image{background:var(--paper)}
.photo-first .hero-image img{filter:none;opacity:1;-webkit-mask-image:linear-gradient(to right,transparent,#000 28px,#000 calc(100% - 28px),transparent),linear-gradient(to bottom,transparent,#000 28px,#000 calc(100% - 28px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 28px,#000 calc(100% - 28px),transparent),linear-gradient(to bottom,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-composite:intersect}
.photo-first .hero-image figcaption{z-index:2}
.portfolio-grid .table-photo-original{position:relative;aspect-ratio:3/4!important;overflow:hidden}
.portfolio-grid .table-photo-original>img{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:3/4}
.portfolio-grid .table-photo-original>.stone-light{position:absolute;inset:0;pointer-events:none;filter:brightness(1.24) contrast(1.06);clip-path:polygon(0 60.5%,55% 42%,74.5% 42%,90% 75%,66% 78%,66% 100%,17% 100%,17% 74%,0 72%)}
.portfolio-grid .table-photo-original>.person-cleanup{position:absolute;inset:0;pointer-events:none;clip-path:polygon(44% 45.5%,44% 38%,45.5% 35.5%,48.5% 34%,49% 32%,52.5% 32%,53.5% 34.5%,52.5% 35.5%,54.5% 38%,55.5% 42.5%,54% 43%,52% 40%,52% 44%)}

.breadcrumbs{max-width:1440px;margin:0 auto;padding:16px clamp(20px,4vw,64px);font-size:13px;line-height:1.6}.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
footer a{display:inline-block;min-height:44px;padding-top:10px;padding-bottom:10px;vertical-align:middle}
@media(max-width:800px){.breadcrumbs{display:block;width:auto;border:0;margin:0;max-width:100%;padding:16px 6%}.breadcrumbs a{display:inline}}
