:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-deep: #f1f2f1;
  --ink: #252622;
  --muted: #77786f;
  --line: #d9dcda;
  --green: #3d4e42;
  --rust: #ad5e42;
  --serif: "Century Gothic", CenturyGothic, Jost, Arial, sans-serif;
  --sans: "Century Gothic", CenturyGothic, Jost, Arial, sans-serif;
  --content: min(1320px, calc(100% - 96px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html:has(.project-dialog[open], .image-lightbox[open]),
body:has(.project-dialog[open], .image-lightbox[open]) { overflow: hidden; overscroll-behavior: none; }
.project-dialog, .image-lightbox { overscroll-behavior: contain; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: absolute; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px max(48px, calc((100% - 1320px) / 2)); background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(37, 38, 34, .08); backdrop-filter: blur(12px); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.wordmark img { flex: none; width: 48px; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 12px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .contact-links a:hover { color: var(--rust); }
.site-nav a span { color: var(--muted); font-size: 9px; margin-left: 4px; }
.nav-projects { position: relative; }
.nav-project-menu { position: absolute; z-index: 20; top: 100%; left: -16px; display: grid; width: 230px; padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 32px rgba(37,38,34,.12); opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.nav-projects.is-expanded .nav-project-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-project-menu a { padding: 10px 0; border-top: 1px solid var(--line); font-size: 10px; }
.nav-project-menu a:first-child { border-top: 0; }
.nav-arrow { font-size: 14px !important; }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); }
.hero { position: relative; display: grid; grid-template-columns: 45% 55%; align-items: stretch; width: var(--content); min-height: min(730px, calc(100vh - 76px)); margin: auto; padding: 62px 0 68px; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: auto; padding: 16px 5vw 14px 8px; background: none; backdrop-filter: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
h1, h2, p { margin-top: 0; }
.hero h1 { max-width: 760px; margin: 0 0 36px; font-family: var(--serif); font-size: clamp(48px, 7.3vw, 108px); font-weight: 400; letter-spacing: 0; line-height: .98; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: 690px; }
.hero-intro { max-width: 400px; margin: 0; color: #5f6058; font-size: 15px; line-height: 1.8; }
.text-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 11px; }
.text-link span { font-size: 17px; }
.hero-image { position: relative; align-self: stretch; min-height: 470px; margin: 0; overflow: hidden; }
.hero-image img { position: absolute; inset: 0; object-position: 51% 43%; cursor: pointer; transition: opacity .2s ease; }
.hero-image img[data-project] { object-fit: cover; object-position: center; transform: none; background: var(--paper-deep); }
.hero-image img[data-project="reframing"],
.hero-image img[data-project="peakscape"],
.hero-image img[data-project="sanctuary"] { object-fit: cover; object-position: center; transform: none; }
.hero-image img[data-project="gateway"] { object-fit: cover; object-position: 76% center; transform: scale(1.025); transform-origin: center; }
.hero-image img[data-project="nexus"] { object-position: center bottom; }
.hero-image img[data-project="board"] { object-position: center 60%; }
.hero-image img[data-project="sanctuary"] { object-fit: cover; object-position: center; transform: none; }
.hero-image img[data-project="stickbuilt"] { object-fit: cover; object-position: 64% center; }
.hero-image img[data-project="peakscape"] { object-position: 56% center; }
.hero-image img[data-project="reframing"] { object-position: center; }
.hero-image img[data-project="shelf"] { object-fit: cover; object-position: center; transform: none; }
.hero-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(37,38,34,.52); color: #fff; cursor: pointer; backdrop-filter: blur(5px); transition: background .2s ease, transform .2s ease; }
.hero-arrow:hover { transform: translateY(-50%) scale(1.06); background: rgba(37,38,34,.78); }
.hero-arrow span { font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.hero-image figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 13px 15px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.48)); font-size: 10px; letter-spacing: .03em; }
.section-wrap { width: var(--content); margin-inline: auto; }
.work-section { position: relative; padding-top: 122px; padding-bottom: 138px; }
.work-section::before { position: absolute; top: 0; left: 50%; width: 100vw; border-top: 1px solid var(--line); content: ""; transform: translateX(-50%); }
.section-heading { display: block; margin-bottom: 47px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.work-category-links a { color: inherit; transition: color .2s ease; }
.work-category-links a:hover, .work-category-links a:focus-visible { color: var(--rust); }
.section-heading h2, .contact-section h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 74px); font-weight: 400; letter-spacing: 0; line-height: 1; }
.heading-period { color: var(--rust); }
.section-note { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 62px 28px; }
.project-card { display: flex; flex-direction: column; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.project-card-wide { grid-column: span 2; }
.project-image { display: block; overflow: hidden; width: 100%; height: clamp(250px, 37vw, 500px); background: #fff; }
.project-card:not(.project-card-wide) .project-image { height: clamp(250px, 36vw, 430px); }
.project-image img { transition: transform .65s cubic-bezier(.2,.65,.2,1); }
.project-image:hover img, .project-card:focus-visible .project-image img { transform: scale(1.025); }
.project-image-lamp img { object-position: 48% 48%; }
.architecture-grid .project-card[data-project="gateway"] .project-image { height: auto; max-height: none; aspect-ratio: auto; }
.project-card[data-project="gateway"] .project-image img { width: 100%; height: auto; object-fit: contain; transform: none; }
.project-card[data-project="nexus"] .project-image img { object-fit: cover; object-position: center bottom; transform-origin: center bottom; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.project-title { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-family: var(--serif); font-size: clamp(27px, 3vw, 38px); letter-spacing: 0; line-height: 1.15; }
.project-title span { color: var(--rust); font-family: var(--sans); font-size: 17px; transition: transform .2s ease; }
.project-card:hover .project-title span { transform: translate(3px, -3px); }
.project-deck { max-width: 560px; margin-top: 8px; color: #686961; font-size: 12px; }
.about-section { padding: 110px 0 122px; background: var(--paper-deep); }
.about-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 11vw; align-items: start; }
.about-heading h2 { margin: 0 0 36px; font-family: var(--serif); font-size: clamp(38px, 5vw, 65px); font-weight: 400; letter-spacing: 0; line-height: 1.04; }
.about-photo { width: min(100%, 440px); height: 245px; overflow: hidden; }
.about-photo img { object-position: 50% 50%; }
#about .about-photo { width: min(100%, 320px); height: auto; aspect-ratio: 665 / 978; }
#about .about-photo img { width: 100%; height: 100%; object-fit: contain; }
.about-copy { max-width: 510px; padding-top: 38px; color: #66675f; font-size: 13px; line-height: 1.85; }
.about-copy p { margin-bottom: 19px; }
.about-copy .about-lede { color: var(--ink); font-family: var(--serif); font-size: 23px; line-height: 1.45; }
.skills-block { margin-top: 39px; padding-top: 22px; border-top: 1px solid #c9c5bb; }
.skills-block .eyebrow { margin-bottom: 14px; }
.skills-block ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 12px; }
.skills-block li::before { content: "—"; margin-right: 8px; color: var(--rust); }
.about-copy .interests { margin-top: 32px; color: var(--ink); font-size: 11px; }
.interests span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.field-notes { padding: 106px 0 112px; background: var(--paper-deep); }
.field-notes-heading { display: block; margin-bottom: 48px; }
.field-notes-heading .eyebrow { margin-bottom: 17px; }
.field-notes-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 74px); font-weight: 400; letter-spacing: 0; line-height: 1; }
.field-notes-heading .section-note { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.field-notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.field-note-card { min-height: 215px; padding: 17px 0 0; border-top: 1px solid #c9c5bb; }
.field-note-category-heading { min-height: 168px; }
.field-note-category-heading h3 { max-width: 330px; margin: 20px 0 10px; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; line-height: 1.13; }
.field-note-category-heading p { max-width: 340px; margin: 0; color: #66675f; font-size: 12px; line-height: 1.75; }
.field-note-items { display: grid; gap: 18px; margin-top: 20px; }
.field-note-item { display: grid; grid-template-columns: minmax(82px, 112px) minmax(0, 1fr); align-items: start; gap: 14px; padding-top: 14px; border-top: 1px solid #c9c5bb; }
.field-note-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f1f2f1; cursor: zoom-in; }
.field-note-item.ai-study { display: block; }
.field-note-item.ai-topic-card { display: block; }
.ai-topic-open { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; font-size: 18px; cursor: pointer; }
.ai-topic-open:hover { color: var(--rust); }
.ai-topic-open:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.ai-topic-content .ai-study { border: 0; padding-top: 16px; }
.ai-topic-content .ai-study > p { max-width: 650px; font-size: 14px; }
.ai-topic-content .ai-comparison { padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); }
.ai-topic-content .ai-comparison h5 { font-size: 18px; }
.ai-topic-content .ai-study figure img { height: clamp(220px, 38vw, 420px); }
.ai-topic-content .ai-study-gallery figure img { height: auto; max-height: 65vh; }
.ai-topic-content .ai-study figcaption { font-size: 12px; }
.ai-topic-content .event-study > p { margin: 0 0 18px; max-width: 760px; }
.event-gallery { margin-top: 28px; row-gap: 24px; }
@media (max-width: 620px) { .event-gallery { grid-template-columns: 1fr; } }
.ai-study-gallery, .ai-comparison { margin-top: 16px; }
.ai-comparison h5 { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.ai-comparison-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ai-study figure { min-width: 0; margin: 0; }
.ai-study figure img { width: 100%; height: 145px; object-fit: contain; background: #fff; cursor: zoom-in; }
.ai-study-gallery figure img { height: auto; }
.ai-study figcaption { padding-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.field-note-item h4 { margin: 0 0 6px; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.2; }
.field-note-item p { margin: 0; color: #66675f; font-size: 11px; line-height: 1.6; }
.field-note-card h3 { margin: 26px 0 12px; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; line-height: 1.13; }
.field-note-card p { max-width: 340px; margin: 0; color: #66675f; font-size: 12px; line-height: 1.75; }
.resume-section { padding: 108px 0 116px; background: var(--paper-deep); }
.resume-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.resume-heading .eyebrow { margin-bottom: 17px; }
.resume-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 74px); font-weight: 400; letter-spacing: 0; line-height: 1; }
.resume-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; }
.resume-block + .resume-block { margin-top: 38px; padding-top: 24px; border-top: 1px solid #c9c5bb; }
.resume-block > h3 { margin: 0 0 20px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.resume-entry + .resume-entry { margin-top: 26px; padding-top: 22px; border-top: 1px solid #c9c5bb; }
.resume-entry-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.resume-entry-heading h4 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.resume-entry-heading > span { flex: 0 0 auto; color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.resume-entry p, .resume-side-column .resume-block > p { max-width: 620px; margin: 8px 0 0; color: #66675f; font-size: 12px; line-height: 1.75; }
.resume-entry .resume-entry-place { margin-top: 3px; color: var(--rust); font-size: 11px; }
.resume-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 12px; }
.resume-skills li::before { content: "—"; margin-right: 8px; color: var(--rust); }
.contact-section { padding-top: 126px; padding-bottom: 120px; }
.contact-section .eyebrow { margin-bottom: 26px; }
.contact-section h2 { font-size: clamp(50px, 8vw, 100px); line-height: .97; }
.contact-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.contact-links a { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; transition: color .2s ease; }
.contact-links a:hover { color: var(--rust); }
.contact-label { color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.contact-value { display: inline-flex; align-items: center; gap: 12px; }
.contact-value span { color: var(--rust); }
.site-footer { display: flex; align-items: end; justify-content: space-between; padding: 26px max(48px, calc((100% - 1320px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer .wordmark { color: var(--ink); }
.site-footer > a:last-child { color: var(--ink); }
.project-dialog { position: fixed; inset: 0; width: min(980px, calc(100% - 36px)); max-width: none; max-height: min(90vh, 1100px); overflow-y: auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px rgba(0,0,0,.25); }
.project-dialog::backdrop { background: rgba(30, 31, 28, .68); backdrop-filter: blur(5px); }
.project-dialog form { position: sticky; z-index: 2; top: 0; display: flex; justify-content: end; margin: 0; padding: 12px 16px; background: rgba(255,255,255,.94); }
.dialog-close { border: 0; background: none; color: var(--ink); font-size: 11px; cursor: pointer; }
.dialog-close span { margin-left: 10px; color: var(--rust); font-size: 20px; vertical-align: -2px; }
.dialog-content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; align-content: start; align-items: start; column-gap: 34px; padding: 8px clamp(20px, 5vw, 56px) 48px; }
.dialog-heading { grid-column: 1; grid-row: 1; min-width: 0; }
.dialog-content .dialog-carousel { grid-column: 2; grid-row: 1 / 3; align-self: center; height: min(76vh, 700px); margin-top: 0; }
.dialog-content .dialog-copy { display: block; grid-column: 1; grid-row: 2; margin-top: 22px; }
.dialog-content .dialog-copy h3 { margin-bottom: 14px; }
.dialog-content.is-horizontal-project { display: block; }
.dialog-content.is-horizontal-project .dialog-carousel { width: 100%; height: min(56vh, 480px); margin-top: 22px; }
.dialog-content.is-horizontal-project .dialog-copy { display: grid; grid-template-columns: .7fr 1fr; gap: 32px; margin-top: 27px; }
.dialog-content.is-horizontal-project .dialog-copy h3 { margin-bottom: 0; }
.dialog-eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.dialog-content h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 7vw, 68px); font-weight: 400; letter-spacing: 0; line-height: 1; }
.dialog-subtitle { margin: 12px 0 26px; color: var(--muted); font-size: 12px; }
.dialog-carousel { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; height: min(55vh, 430px); min-height: 0; margin-top: 22px; overflow: hidden; }
.dialog-slide { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: #fff; }
.dialog-slide-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; background: #fff; }
.dialog-content.is-gateway-project .dialog-slide { display: block; }
.dialog-content.is-gateway-project .dialog-slide-image { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; transform: none; }
.dialog-slide-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 8px; color: var(--ink); background: rgba(255,255,255,.9); font-size: 10px; letter-spacing: .08em; }
.dialog-zoom { position: absolute; left: 12px; bottom: 12px; padding: 5px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink); font-size: 9px; cursor: pointer; }
.dialog-zoom:hover { border-color: var(--green); color: var(--rust); }
.dialog-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.dialog-arrow:hover { border-color: var(--green); background: var(--green); color: white; }
.dialog-arrow span { font-size: 19px; line-height: 1; }
.dialog-copy { display: grid; grid-template-columns: .7fr 1fr; gap: 32px; margin-top: 27px; }
.dialog-copy h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.dialog-copy p { margin: 0; color: #65665e; font-size: 13px; line-height: 1.8; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
@media (min-width: 1500px) { .hero h1 { font-size: 108px; } }
@media (max-width: 850px) {
  .field-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-note-category:last-child { grid-column: 1 / -1; }
  .field-note-category:last-child .field-note-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --content: min(100% - 48px, 720px); }
  .site-header { padding: 17px 24px; }
  .hero { grid-template-columns: 50% 50%; min-height: 610px; padding: 52px 0; }
  .hero-copy { width: auto; }
  .hero h1 { font-size: clamp(46px, 8vw, 70px); }
  .hero-bottom { align-items: start; flex-direction: column; gap: 20px; }
  .hero-image { min-height: 400px; }
  .section-wrap { width: var(--content); }
  .about-inner { gap: 7vw; }
  .site-footer { padding: 24px; }
}
@media (max-width: 620px) {
  :root { --content: calc(100% - 40px); }
  html { scroll-padding-top: 70px; }
  .site-header { padding: 15px 20px; }
  .menu-toggle { display: block; padding: 7px 0 7px 12px; font-size: 12px; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-projects { display: block; }
  .nav-project-menu { position: static; display: grid; width: auto; padding: 0 0 6px 13px; border: 0; border-left: 1px solid var(--line); background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-project-menu a { padding: 8px 0 8px 12px; border: 0; font-size: 10px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 32px; min-height: auto; padding: 58px 0 38px; }
  .hero-copy { position: relative; inset: auto; width: 100%; min-height: 0; padding: 0; background: none; backdrop-filter: none; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(50px, 14vw, 76px); }
  .hero-intro { max-width: 450px; font-size: 14px; }
  .hero-image { position: relative; inset: auto; min-height: min(112vw, 480px); }
  .hero-arrow-prev { left: 16px; }
  .hero-image figcaption { left: 0; }
  .work-section { padding-top: 78px; padding-bottom: 84px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 52px; }
  .project-grid { grid-template-columns: 1fr; gap: 42px; }
  .project-card-wide { grid-column: auto; }
  .project-image, .project-card:not(.project-card-wide) .project-image { height: 75vw; max-height: 430px; }
  .project-card-wide .project-image { height: 64vw; }
  .project-meta { flex-direction: column; gap: 4px; margin-top: 13px; }
  .project-title { font-size: 32px; }
  .about-section { padding: 78px 0 84px; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-heading h2 { font-size: 47px; }
  .about-photo { width: 100%; height: 210px; }
  .about-copy { padding-top: 5px; }
  .field-notes { padding: 78px 0 84px; }
  .field-notes-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .field-notes-heading h2 { font-size: 47px; }
  .field-notes-grid { grid-template-columns: 1fr; gap: 26px; }
  .field-note-category:last-child .field-note-items { grid-template-columns: 1fr; }
  .field-note-card { min-height: auto; padding-top: 14px; }
  .field-note-category-heading { min-height: auto; }
  .field-note-item { grid-template-columns: 100px minmax(0, 1fr); }
  .field-note-card h3 { margin-top: 16px; font-size: 29px; }
  .resume-section { padding: 78px 0 84px; }
  .resume-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .resume-heading h2 { font-size: 47px; }
  .resume-grid { grid-template-columns: 1fr; gap: 0; }
  .resume-block + .resume-block { margin-top: 30px; padding-top: 22px; }
  .resume-entry-heading { align-items: start; flex-direction: column; gap: 4px; }
  .resume-skills { font-size: 11px; }
  .contact-section { padding-top: 82px; padding-bottom: 84px; }
  .contact-section h2 { font-size: 59px; }
  .contact-links { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .site-footer { flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px; }
  .site-footer > span { order: 3; width: 100%; }
  .dialog-content { display: block; }
  .dialog-carousel, .dialog-content .dialog-carousel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 7px; height: min(42vh, 280px); margin-top: 22px; }
  .dialog-copy, .dialog-content .dialog-copy { display: block; margin-top: 22px; }
  .dialog-content.is-horizontal-project .dialog-carousel { height: min(42vh, 280px); margin-top: 22px; }
  .dialog-content.is-horizontal-project .dialog-copy { display: block; margin-top: 22px; }
  .dialog-content.is-horizontal-project .dialog-copy h3 { margin-bottom: 12px; }
  .dialog-arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

img { cursor: zoom-in; }
.image-lightbox { position: fixed; inset: 0; width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: #1d1e1b; color: white; box-shadow: 0 18px 90px rgba(0,0,0,.45); }
.image-lightbox::backdrop { background: rgba(20, 21, 19, .88); backdrop-filter: blur(6px); }
.image-lightbox form { position: absolute; z-index: 1; top: 8px; right: 10px; margin: 0; }
.lightbox-close { padding: 8px 12px; border: 0; background: rgba(29,30,27,.72); color: white; font-size: 11px; cursor: pointer; }
.lightbox-close span { margin-left: 8px; color: #e5a687; font-size: 20px; vertical-align: -2px; }
.image-lightbox figure { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; margin: 0; padding: 38px 64px 18px; }
.image-lightbox .lightbox-image { width: 100%; height: 100%; max-height: calc(94vh - 82px); object-fit: contain; cursor: default; }
.lightbox-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 46px; height: 46px; place-items: center; padding: 0; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(29,30,27,.72); color: #fff; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.lightbox-arrow:hover { border-color: #fff; background: rgba(29,30,27,.95); }
.lightbox-arrow span { font-family: Arial, sans-serif; font-size: 25px; line-height: 1; }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-caption { max-width: 90%; color: rgba(255,255,255,.75); font-size: 11px; text-align: center; }
@media (max-width: 850px) {
  .field-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-note-category:last-child { grid-column: 1 / -1; }
  .field-note-category:last-child .field-note-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
}
@media (max-width: 620px) {
  
  
  
  
  
  
  
  
  .image-lightbox { width: calc(100% - 20px); max-height: 92vh; }
  .image-lightbox .lightbox-image { max-height: calc(92vh - 80px); }
  .image-lightbox figure { padding: 38px 48px 18px; }
  .lightbox-arrow { width: 34px; height: 34px; }
  .lightbox-arrow span { font-size: 19px; }
  .lightbox-prev { left: 7px; }
  .lightbox-next { right: 7px; }
}

.category-index { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; margin: 0 0 66px; }
.category-index a { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; color: var(--muted); font-size: 10px; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; transition: color .2s ease; }
.category-index a:hover { color: var(--rust); }
.category-index a span { color: var(--rust); font-size: 10px; letter-spacing: .04em; }
.work-category { margin-top: 54px; }
.category-heading { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.category-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(27px, 3.5vw, 39px); font-weight: 700; letter-spacing: 0; }
.category-heading .category-count { margin-left: auto; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.category-grid { margin-top: 24px; }
.craft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 20px; }
.craft-grid .project-image { height: clamp(240px, 29vw, 390px); }
.build-grid .project-card { grid-column: 1 / -1; }
.build-grid .project-image { height: clamp(290px, 42vw, 510px); }
@media (max-width: 850px) {
  .field-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-note-category:last-child { grid-column: 1 / -1; }
  .field-note-category:last-child .field-note-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .category-index { gap: 7px; margin-bottom: 48px; }
  .category-index a { gap: 10px; padding: 0; font-size: 9px; }
  .work-category { margin-top: 42px; }
  .category-heading { gap: 10px; }
  .category-heading h3 { font-size: 27px; }
  .category-heading .category-count { font-size: 8px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-grid .project-image { height: 75vw; max-height: 430px; }
  .build-grid .project-card { grid-column: auto; }
}










.architecture-grid .project-card-wide .project-image-landscape { height: auto; aspect-ratio: 16 / 9; }
.architecture-grid .project-card[data-project="reframing"] .project-image { position: relative; height: auto; max-height: none; aspect-ratio: 3 / 1; }
.project-card[data-project="reframing"] .project-image img { position: absolute; top: -34%; left: 0; width: 100%; height: 168%; object-fit: fill; transform: none; }
.architecture-grid .project-card .project-image-square { height: clamp(250px, 36vw, 430px); aspect-ratio: auto; }
@media (max-width: 620px) {
  .architecture-grid .project-card .project-image-square { height: 75vw; max-height: 430px; aspect-ratio: auto; }
}

/* Reframing the Edge: supporting process material below the original project view. */
.project-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.dialog-content > .reframing-process { grid-column: 1 / -1; }
.project-process-grid .reframing-process-image img { height: clamp(180px, 25vw, 300px); }
@media (max-width: 620px) {
  .project-process-grid { grid-template-columns: 1fr; }
}
.reframing-process {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reframing-process-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.reframing-process-heading .eyebrow {
  margin: 0;
}

.reframing-process-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
}

.reframing-process-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
}

.reframing-process-group {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.reframing-process-group:last-child {
  grid-column: 1 / -1;
}

.reframing-process-group h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.reframing-process-group > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.reframing-process-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reframing-process-image {
  min-width: 0;
  margin: 0;
}

.reframing-process-image img {
  display: block;
  width: 100%;
  height: 180px;
  background: #fff;
  cursor: zoom-in;
  object-fit: contain;
}

.reframing-process-image figcaption {
  padding-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.reframing-process-image img:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .reframing-process { margin-top: 36px; }
  .reframing-process-heading { display: block; }
  .reframing-process-heading h3 { margin-top: 8px; }
  .reframing-process-groups { grid-template-columns: 1fr; }
  .reframing-process-group:last-child { grid-column: auto; }
  .reframing-process-image img { height: 138px; }
}

/* Local project-card framing refinements. */
.project-card[data-project="shelf"] .project-image img { object-fit: cover; object-position: center; transform: none; }
.project-card[data-project="board"] .project-image img { object-position: center 60%; }
.build-grid .project-card[data-project="stickbuilt"] .project-image { height: auto; max-height: none; aspect-ratio: auto; }
.project-card[data-project="stickbuilt"] .project-image img { height: auto; object-fit: contain; transform: none; }

.dialog-image-caption { margin: 10px 54px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 600px) { .dialog-image-caption { margin-inline: 41px; font-size: 11px; } }
/* Match the desktop hero's landscape framing on phones. */
@media (max-width: 620px) {
  .hero-image { min-height: 0; height: auto; aspect-ratio: 121 / 100; }
}
/* Keep the opening phone view compact enough for the intro and full image. */
@media (max-width: 620px) {
  .hero { gap: 20px; padding: 24px 0 20px; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 9px; }
  .hero h1 { margin-bottom: 16px; font-size: clamp(34px, 10.5vw, 48px); line-height: 1.02; }
  .hero-intro { font-size: 13px; line-height: 1.65; }
}
@media (max-width: 620px) and (max-height: 700px) {
  .hero { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 40px); margin-bottom: 12px; }
  .hero-intro { font-size: 12px; line-height: 1.55; }
}
/* Extend the phone hero photo to the bottom of the opening screen. */
@media (max-width: 620px) {
  .hero { min-height: calc(100svh - 62px); padding-bottom: 0; }
  .hero-image { flex: 1 0 auto; min-height: calc((100vw - 40px) / 1.21); aspect-ratio: auto; }
}
/* Preserve desktop image proportions while aligning the photo with the screen bottom. */
@media (max-width: 620px) {
  .hero-image { flex: 0 0 auto; min-height: 0; height: auto; aspect-ratio: 121 / 100; margin-top: auto; }
}
/* Balance the phone introduction with a little breathing room below the photo. */
@media (max-width: 620px) {
  .hero { padding-bottom: 18px; }
  .hero h1 { font-size: clamp(38px, 12vw, 56px); line-height: 1.02; margin-bottom: 20px; }
  .hero-intro { font-size: 14px; line-height: 1.7; }
}
@media (max-width: 620px) and (max-height: 700px) {
  .hero h1 { font-size: clamp(34px, 10.5vw, 46px); margin-bottom: 14px; }
  .hero-intro { font-size: 13px; line-height: 1.6; }
}
/* Refine the phone hero against the marked preview. */
@media (max-width: 620px) {
  .hero { padding-bottom: 32px; }
  .hero h1 { font-size: clamp(42px, 13.5vw, 60px); }
}
@media (max-width: 620px) and (max-height: 700px) {
  .hero h1 { font-size: clamp(36px, 11.5vw, 50px); }
}
/* Keep wrapped phone skill text aligned after its dash. */
@media (max-width: 620px) {
  .skills-block li { position: relative; padding-left: 20px; min-width: 0; }
  .skills-block li::before { position: absolute; top: 0; left: 0; margin-right: 0; }
}
/* Show complete project-gallery images on phones, with controls below the photo. */
@media (max-width: 620px) {
  .dialog-content .dialog-slide { display: block; padding-bottom: 40px; }
  .dialog-content .dialog-slide-image,
  .dialog-content.is-gateway-project .dialog-slide-image {
    width: 100%; height: 100%; min-width: 0; min-height: 0;
    max-width: 100%; max-height: 100%; object-fit: contain;
    object-position: center; transform: none;
  }
  .dialog-content .dialog-slide-count { bottom: 3px; right: 0; }
  .dialog-content .dialog-zoom { bottom: 3px; left: 0; }
}

.dialog-slide-image { cursor: zoom-in; }
.dialog-slide-image:focus-visible { outline: 2px solid var(--rust); outline-offset: -2px; }
/* Give phone project galleries the same visual width as the project cards. */
@media (max-width: 620px) {
  .project-dialog { width: calc(100% - 16px); }
  .dialog-content { padding-left: 12px; padding-right: 12px; }
  .dialog-content .dialog-carousel,
  .dialog-content.is-horizontal-project .dialog-carousel {
    position: relative; display: block; width: 100%; height: auto;
    margin-top: 24px; overflow: visible;
  }
  .dialog-content .dialog-slide { height: auto; overflow: visible; }
  .dialog-content .dialog-slide-image,
  .dialog-content.is-gateway-project .dialog-slide-image {
    width: 100%; height: auto; max-height: none; object-fit: contain;
  }
  .dialog-carousel > .dialog-arrow {
    position: absolute; z-index: 1; top: calc(50% - 36px);
    background: rgba(255,255,255,.9);
  }
  .dialog-carousel > .dialog-arrow[data-slide-step="-1"] { left: 6px; }
  .dialog-carousel > .dialog-arrow[data-slide-step="1"] { right: 6px; }
  .dialog-image-caption { margin-left: 0; margin-right: 0; }
}

/* Keep full Sanctuary source renders inside the project image frame. */
.dialog-content.is-sanctuary-project .dialog-slide-image {
  width: 100%; height: 100%; min-width: 0; min-height: 0;
  max-width: 100%; max-height: 100%; object-fit: contain;
  object-position: center; transform: none;
}
@media (max-width: 620px) {
  .dialog-content.is-sanctuary-project .dialog-slide-image {
    height: auto; max-height: none;
  }
}
.project-process-intro { max-width: 760px; margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Project briefs consistently introduce the challenge before the response. */
.dialog-copy.project-brief .brief-label { margin: 0 0 12px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dialog-copy.project-brief h3 { margin-bottom: 16px; }
.dialog-copy.project-brief .dialog-subtitle { margin-top: 18px; }
@media (max-width: 620px) { .project-brief > div + div { margin-top: 26px; } }

.process-video-grid { margin-top: 24px; }
.process-video { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #fff; }

/* Independent process image stacks and side-by-side model/output studies. */
.process-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 28px 0; }
.process-comparison > .reframing-process-group:last-child { grid-column: auto; }
.process-stack { margin: 24px 0 32px; min-width: 0; }
.process-stack > img { display: block; width: 100%; height: clamp(230px, 34vw, 420px); object-fit: contain; background: #fff; cursor: zoom-in; }
.process-stack-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.process-stack-controls button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.process-stack-controls button:hover { background: #eee; }
.process-stack-count, .process-stack figcaption { font-size: 12px; line-height: 1.6; }
.process-stack figcaption { color: var(--muted); }
@media(max-width: 620px) { .process-comparison { grid-template-columns: 1fr; } }

/* Gateway: full-width context research, followed by compact study pairs. */
.gateway-context-studies { margin-bottom: 28px; }
.gateway-context-studies .project-process-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.gateway-context-studies .reframing-process-image img { height: auto; }
.gateway-process-studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gateway-process-studies > .reframing-process-group:last-child { grid-column: 2; grid-row: 2; }
.gateway-process-studies > .process-comparison { grid-column: 1 / -1; margin: 0; align-items: start; }
.gateway-process-studies .process-stack { margin: 18px 0 0; }
.gateway-process-studies .process-stack > img { height: clamp(180px, 23vw, 280px); }
.gateway-process-studies .reframing-process-group > .project-process-grid:not(.process-video-grid) { grid-template-columns: 1fr; margin-top: 18px; }
.gateway-process-studies .project-process-grid .reframing-process-image img { height: clamp(180px, 23vw, 280px); }
.gateway-process-studies .process-video-grid { gap: 12px; margin-top: 18px; }
@media (max-width: 620px) {
  .gateway-process-studies { grid-template-columns: 1fr; gap: 24px; }
  .gateway-process-studies > .reframing-process-group:last-child { grid-column: auto; grid-row: auto; }
  .gateway-process-studies > .process-comparison { grid-column: auto; gap: 24px; }
}

/* Preserve the complete portrait of the visitor looking up at Timeless. */
.dialog-content .dialog-slide-image[src="assets/timeless-048.jpg"] {
  width: 100%; height: 100%; max-width: 100%; max-height: min(56vh, 480px);
  object-fit: contain; object-position: center; transform: none;
}

/* Fit complete gallery photographs inside the existing bounded frame. */
@media (min-width: 621px) {
  .dialog-content.is-horizontal-project .dialog-slide-image {
    width: 100%; height: 100%; min-width: 0; min-height: 0;
    max-width: 100%; max-height: 100%; object-fit: contain;
    object-position: center; transform: none;
  }
}
/* Keep the entire shelf visible at every card size and during hover. */
.project-card[data-project="shelf"] .project-image { background: #fff; }
.project-card[data-project="shelf"] .project-image img,
.project-card[data-project="shelf"] .project-image:hover img,
.project-card[data-project="shelf"]:focus-visible .project-image img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transform: none;
}
/* Compact motion studies; expand only when viewing the videos. */
.process-motion-studies { margin-top: 12px; font-size: 12px; }
.process-motion-studies > summary { cursor: pointer; padding: 8px 0; }
.gateway-process-studies .process-comparison .process-stack > img {
  height: auto; aspect-ratio: auto; object-fit: contain;
}

/* Show the complete Sanctuary cover at its natural proportions. */
.build-grid .project-card[data-project="sanctuary"] .project-image {
  height: auto; max-height: none; aspect-ratio: auto;
}
.project-card[data-project="sanctuary"] .project-image img,
.project-card[data-project="sanctuary"] .project-image:hover img,
.project-card[data-project="sanctuary"]:focus-visible .project-image img {
  display: block; width: 100%; height: auto; max-height: none;
  object-fit: contain; object-position: center; transform: none;
}

/* Clear gallery invitations, with complete images at their natural proportions. */
.project-card .project-image { position: relative; }
.project-dialog { width: min(1360px, calc(100% - 48px)); max-height: 94vh; scroll-behavior: auto; }
.dialog-content { padding-inline: clamp(24px, 4vw, 60px); }
.dialog-content.is-horizontal-project .dialog-carousel { height: auto; overflow: visible; }
.dialog-content.is-horizontal-project .dialog-slide { display: flex; align-items: center; justify-content: center; height: auto; padding-bottom: 44px; background: transparent; }
.dialog-content.is-horizontal-project .dialog-slide-image,
.dialog-content.is-horizontal-project .dialog-slide-image[src="assets/timeless-048.jpg"] { width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 68vh; object-fit: contain; object-position: center; background: transparent; transform: none; }
.dialog-content.is-horizontal-project .dialog-slide-count { bottom: 0; right: 0; }
.dialog-content.is-horizontal-project .dialog-zoom { bottom: 0; left: 0; }
.dialog-image-caption { margin-top: 12px; }
.dialog-content:not(.is-horizontal-project) > .dialog-image-caption { grid-column: 2; grid-row: 3; }
.has-enlarge-cue { position: relative; }
.image-enlarge-cue { position: absolute; top: 8px; right: 8px; padding: 5px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--ink); font: inherit; font-size: 10px; line-height: 1.5; cursor: zoom-in; }
.image-enlarge-cue:hover, .image-enlarge-cue:focus-visible { border-color: var(--rust); color: var(--rust); }
.is-reframing-project .reframing-process-groups { grid-template-columns: 1fr; }
.is-reframing-project .reframing-process-images { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.is-reframing-project .reframing-process-group:nth-child(-n+2) .reframing-process-images { grid-template-columns: repeat(3,minmax(0,1fr)); }
.is-reframing-project .reframing-process-image img { height: auto; max-height: 400px; object-fit: contain; }
.lightbox-image[src*="sanctuary"][src*="plan"], .reframing-process-image img[src*="sanctuary"][src*="plan"] { background: #fff; }
.about-resume-details { padding-top: 64px; margin-top: 64px; border-top: 1px solid var(--line); }
.practice-groups { margin: 0; display: grid; gap: 18px; }
.practice-groups dt { margin-bottom: 4px; color: var(--ink); font-size: 12px; font-weight: 600; }
.practice-groups dd { margin: 0; color: #66675f; font-size: 12px; line-height: 1.75; }
.resume-actions { display: grid; gap: 16px; justify-items: start; }
.resume-download { display: inline-flex; align-items: center; gap: 16px; padding: 12px 18px; border: 1px solid var(--green); background: var(--green); color: #fff; font-size: 12px; }
.resume-download:hover, .resume-download:focus-visible { background: var(--ink); border-color: var(--ink); }
@media (max-width: 620px) {
  .project-dialog { width: calc(100% - 16px); }
  .dialog-content { padding-inline: 12px; }
  .dialog-content .dialog-slide { height: auto; background: transparent; }
  .dialog-content.is-horizontal-project .dialog-slide-image { max-height: none; width: 100%; height: auto; }
  .dialog-content.is-horizontal-project .dialog-carousel > .dialog-arrow { top: calc(50% - 42px); }
  .is-reframing-project .reframing-process-images,
  .is-reframing-project .reframing-process-group:nth-child(-n+2) .reframing-process-images { grid-template-columns: 1fr; }
  .about-resume-details { padding-top: 36px; margin-top: 36px; }
  .resume-side-column { margin-top: 32px; }
  .image-enlarge-cue { top: 6px; right: 6px; font-size: 9px; }
}

.dialog-content.is-horizontal-project .dialog-slide-image[src*="gateway-park-perspective"], .lightbox-image[src*="gateway-park-perspective"] { width: auto; height: auto; max-width: min(100%, 585px); }

/* Keep enlargement cues beside captions so diagrams stay unobscured. */
.image-enlarge-cue { position: static; display: block; margin: 8px 0 0 auto; }
.practice-standalone { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 12px; }

/* The full-viewport divider should not add a horizontal scrollbar. */
body { overflow-x: clip; }

/* Supporting drawings and photographs also retain their complete proportions. */
.is-peakscape-project .project-process-grid .reframing-process-image img,
.is-stickbuilt-project .project-process-grid .reframing-process-image img { width: 100%; height: auto; max-height: none; background: transparent; }

/* Fit the actual enlarged media bounds: render/photo edges never get a white frame. */
.image-lightbox .lightbox-image { display: block; flex: 0 1 auto; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 100px); object-fit: contain; background: transparent; }
.image-lightbox .lightbox-video { display: block; flex: 0 1 auto; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 100px); background: transparent; }
.image-lightbox [hidden] { display: none !important; }
.image-lightbox .lightbox-image[src*="sanctuary"][src*="plan"] { background: #fff; }
.video-enlarge-cue { display: block; margin: 8px 0 0 auto; padding: 5px 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 10px; cursor: pointer; }
@media(max-width:620px) {
  .image-lightbox .lightbox-image, .image-lightbox .lightbox-video { max-height: calc(92vh - 100px); }
}

/* Transparent line drawings need white paper behind their full original bounds. */
.image-lightbox .lightbox-image[src*="sanctuary-dimensioned-"] { background: #fff; }

/* Drawing rows and independent stacks share the existing gallery interactions. */
.drawing-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 28px; }
.drawing-group { min-width: 0; }
.drawing-group > h4 { margin: 0 0 18px; font-size: 14px; font-weight: 600; }
.drawing-group[data-layout="row"], .drawing-group[data-layout="full"], .drawing-group[data-layout="triptych"] { grid-column: 1 / -1; }
.drawing-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.drawing-group[data-layout="full"] .drawing-images, .drawing-group[data-layout="single"] .drawing-images { grid-template-columns: 1fr; }
.drawing-group[data-layout="triptych"] .drawing-images { grid-template-columns: repeat(3,minmax(0,1fr)); }
.drawing-images .reframing-process-image img { width: 100%; height: auto; max-height: none; object-fit: contain; background: #fff; }
.drawing-group .process-stack { margin: 0; }
.drawing-group .process-stack > img { height: clamp(260px,34vw,440px); }
.peakscape-study-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.peakscape-study-pair .process-stack { margin: 0; }
.peakscape-study-pair .reframing-process-image > img, .peakscape-study-pair .process-stack > img { width: 100%; height: clamp(320px,46vw,620px); max-height: none; object-fit: contain; background: #fff; }
.sanctuary-dimensions .drawing-images img { height: clamp(240px,29vw,390px); padding: 18px; background: #fff; object-fit: contain; }
.sanctuary-dimensions .drawing-images img[src*="dimensioned-plan"] { padding: 18px; }
.image-lightbox .lightbox-image[src*="sanctuary-dimensioned-plan"] { padding: clamp(22px,4vw,44px); background: #fff; }
.dialog-content.is-board-project .dialog-carousel { height: min(70vh,640px); overflow: visible; }
.dialog-content.is-board-project .dialog-slide { display: flex; align-items: center; justify-content: center; min-height: 0; padding-bottom: 36px; background: transparent; }
.dialog-content.is-board-project .dialog-slide-image { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; background: transparent; transform: none; }
.is-board-project .project-process-grid .reframing-process-image img { height: auto; background: transparent; }
.project-card[data-project="board"] .project-image { height: auto; max-height: none; aspect-ratio: auto; }
.project-card[data-project="board"] .project-image img, .project-card[data-project="board"]:hover .project-image img { height: auto; object-fit: contain; transform: none; }
.lamp-comparisons .drawing-images img { height: clamp(260px,37vw,480px); object-fit: contain; background: transparent; }
.resume-actions { margin-left: auto; justify-items: end; text-align: right; }
@media (max-width:620px) {
  .drawing-groups, .drawing-images, .drawing-group[data-layout="triptych"] .drawing-images, .peakscape-study-pair { grid-template-columns: 1fr; gap: 24px; }
  .drawing-group[data-layout="row"], .drawing-group[data-layout="full"], .drawing-group[data-layout="triptych"] { grid-column: auto; }
  .peakscape-study-pair .reframing-process-image > img, .peakscape-study-pair .process-stack > img { height: 360px; }
  .dialog-content.is-board-project .dialog-carousel { height: auto; }
  .dialog-content.is-board-project .dialog-slide-image { width: 100%; height: auto; max-height: none; }
  .resume-actions { align-self: stretch; width: 100%; }
}

/* Match the actual sheet heights by balancing column widths to their source proportions. */
.peakscape-study-pair { grid-template-columns: minmax(0,var(--section-weight,.577fr)) minmax(0,var(--stack-weight,1.777fr)); }
.peakscape-study-pair .reframing-process-image > img, .peakscape-study-pair .process-stack > img { height: auto; }
@media(max-width:620px) { .peakscape-study-pair { grid-template-columns: 1fr; } }

/* Matched media bottoms and controls for the paired Rhino/Midjourney stacks. */
.process-comparison { grid-template-rows: auto auto auto; row-gap: 0; align-items: stretch; }
.process-comparison > .reframing-process-group { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.process-comparison .process-stack { display: grid; grid-template-rows: auto auto 1fr; margin-bottom: 0; }
.gateway-process-studies .process-comparison .process-stack > img { width: 100%; height: clamp(260px,34vw,460px); object-fit: contain; object-position: center bottom; background: transparent; }
.gateway-context-studies .process-stack > img { width: 100%; height: auto; }
/* Shared rows keep sheet bottoms and captions aligned without cropping their contents. */
.drawing-images, .is-reframing-project .reframing-process-images { grid-template-rows: auto auto; row-gap: 0; }
.drawing-images > .reframing-process-image, .is-reframing-project .reframing-process-images > .reframing-process-image { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-items: end; }
.drawing-images > .reframing-process-image > img, .is-reframing-project .reframing-process-images > .reframing-process-image > img { align-self: end; }
.drawing-images > .reframing-process-image > figcaption, .is-reframing-project .reframing-process-images > .reframing-process-image > figcaption { align-self: start; }
.is-reframing-project .reframing-process-group:nth-child(-n+2) .reframing-process-images { grid-template-columns: repeat(3,minmax(0,1fr)); }
/* Keep all three craft thumbnails equal while fitting the complete chessboard photograph. */
.craft-grid .project-card:not(.project-card-wide) .project-image { height: clamp(240px,29vw,390px); max-height: none; aspect-ratio: auto; }
.craft-grid .project-card[data-project="board"] .project-image img { width: 100%; height: 100%; object-fit: contain; transform: none; }
@media(max-width:620px) {
  .process-comparison { grid-template-rows: none; row-gap: 24px; }
  .process-comparison > .reframing-process-group { display: block; grid-row: auto; }
  .process-comparison .process-stack { display: block; }
  .gateway-process-studies .process-comparison .process-stack > img { height: auto; object-position: center; }
  .is-reframing-project .reframing-process-group:nth-child(-n+2) .reframing-process-images { grid-template-columns: 1fr; }
  .craft-grid .project-card:not(.project-card-wide) .project-image { height: 75vw; max-height: 430px; }
}

/* Align the other two paired study rows by sharing their heading, text, and media tracks. */
.gateway-process-studies { row-gap: 0; align-items: stretch; }
.gateway-process-studies > .reframing-process-group { display: grid; grid-template-rows: subgrid; row-gap: 0; }
.gateway-process-studies > .reframing-process-group:nth-child(1) { grid-column: 1; grid-row: 1 / span 4; }
.gateway-process-studies > .reframing-process-group:nth-child(2) { grid-column: 2; grid-row: 1 / span 4; }
.gateway-process-studies > .reframing-process-group:nth-child(3) { grid-column: 1; grid-row: 5 / span 3; margin-top: 28px; }
.gateway-process-studies > .reframing-process-group:last-child { grid-column: 2; grid-row: 5 / span 3; margin-top: 28px; }
.gateway-process-studies > .process-comparison { grid-row: 8; margin-top: 28px; align-items: stretch; }
.gateway-process-studies > .reframing-process-group .process-stack > img { object-position: center bottom; background: transparent; }
@media(max-width:620px) {
  .gateway-process-studies { row-gap: 24px; }
  .gateway-process-studies > .reframing-process-group { display: block; }
  .gateway-process-studies > .reframing-process-group:nth-child(1),
  .gateway-process-studies > .reframing-process-group:nth-child(2),
  .gateway-process-studies > .reframing-process-group:nth-child(3),
  .gateway-process-studies > .reframing-process-group:last-child,
  .gateway-process-studies > .process-comparison { grid-column: auto; grid-row: auto; margin-top: 0; }
}

/* Let each context sheet use its natural height without an empty fixed-height frame. */
.gateway-context-studies .process-stack > img { width:100%; height:auto; object-fit:contain; object-position:center; background:#fff; }

/* Phone refinements preserve the existing typography, colors, and project order. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a { -webkit-tap-highlight-color: rgba(61,78,66,.14); }
@media(max-width:620px) {
  .menu-toggle, .dialog-close, .lightbox-close, .hero-arrow,
  .dialog-arrow, .process-stack-controls button, .lightbox-arrow,
  .resume-download { min-width: 44px; min-height: 44px; touch-action: manipulation; }
  .hero-arrow, .dialog-arrow, .process-stack-controls button, .lightbox-arrow { width: 44px; height: 44px; }
  .menu-toggle { padding: 8px 0 8px 12px; }
  .site-nav { max-height: calc(100dvh - 74px); overflow-y: auto; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
  .work-category-links { flex-wrap: wrap; gap: 8px; }
  .category-heading { flex-wrap: wrap; row-gap: 6px; }
  .category-heading h3 { flex: 1 1 170px; min-width: 0; font-size: clamp(22px,6.4vw,27px); }
  .field-note-card h3 { font-size: clamp(23px,6.8vw,29px); overflow-wrap: anywhere; }
  .project-dialog { max-height: calc(100dvh - 16px); }
  .project-dialog > form { padding-block: 4px; }
  .dialog-content { padding-bottom: 32px; }
  .dialog-image-caption, .reframing-process-image figcaption,
  .process-stack figcaption, .process-stack-count,
  .field-note-item p, .lightbox-caption { font-size: 12px; line-height: 1.6; }
  .image-lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .image-lightbox figure { padding: 56px 12px 68px; }
  .image-lightbox .lightbox-image, .image-lightbox .lightbox-video { min-width: 0; min-height: 0; max-height: calc(100dvh - 200px); }
  .image-lightbox .lightbox-arrow { top: auto; bottom: 12px; transform: none; }
  .image-lightbox .lightbox-prev { left: 12px; }
  .image-lightbox .lightbox-next { right: 12px; }
  .lightbox-caption { max-width: 100%; overflow-wrap: anywhere; }
  .lightbox-close { padding: 8px 10px; }
}

@media(max-width:620px) { .hero { min-height: calc(100svh - 75px); } }

/* Tablet touch controls use the same targets without changing desktop mouse layouts. */
@media(pointer:coarse) {
 .menu-toggle, .dialog-close, .lightbox-close, .hero-arrow, .dialog-arrow, .process-stack-controls button, .lightbox-arrow, .resume-download { min-width: 44px; min-height: 44px; touch-action: manipulation; }
 .hero-arrow, .dialog-arrow, .process-stack-controls button, .lightbox-arrow { width: 44px; height: 44px; }
 .site-nav > a, .nav-projects > a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* On phones, craft photographs fill the content width at their complete natural proportions. */
@media(max-width:620px) {
 .craft-grid .project-card:not(.project-card-wide) .project-image { width: 100%; height: auto; max-height: none; aspect-ratio: auto; }
 .craft-grid .project-card:not(.project-card-wide) .project-image img,
 .craft-grid .project-card:not(.project-card-wide):hover .project-image img,
 .craft-grid .project-card:not(.project-card-wide):focus-visible .project-image img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; transform: none; }
}

/* Only project stacks use colored, tightly grouped navigation controls. */
.dialog-content .process-stack-controls { display: grid; grid-template-columns: 44px minmax(68px,auto) 44px; justify-content: center; gap: 16px; }
.dialog-content .process-stack-controls button { width: 44px; height: 44px; border-color: #829087; background: #829087; color: #fff; }
.dialog-content .process-stack-controls button:hover, .dialog-content .process-stack-controls button:focus-visible { border-color: #697e70; background: #697e70; }
.dialog-content .process-stack-count { text-align: center; font-variant-numeric: tabular-nums; }
.sanctuary-sketch-comparison .process-stack > img, .sanctuary-sketch-comparison .project-process-grid .reframing-process-image > img { height: clamp(260px,34vw,440px); object-fit: contain; object-position: center bottom; background: #fff; }
.sanctuary-sketch-comparison .project-process-grid { grid-template-columns: 1fr; margin-top: 24px; }
.field-category-toggle { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.field-category-toggle::after { content: '+'; flex: 0 0 auto; color: var(--green); font-size: 24px; font-weight: 400; }
.field-category-toggle[aria-expanded="true"]::after { content: '−'; }
.field-category-toggle:hover { color: var(--rust); }
.field-note-items[hidden] { display: none !important; }
.is-category-toggle { cursor: pointer; }
.modus-visit + .modus-visit { padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.modus-visit h5 { font-size: 18px; margin: 0 0 18px; }
.modus-visit p { margin: 0 0 18px; }
.hero-image img[data-project="board"] { object-fit: cover; object-position: center 60%; transform: none; }
@media(min-width:621px) {
 .craft-grid .project-card:not(.project-card-wide) .project-image img,
 .craft-grid .project-card:not(.project-card-wide):hover .project-image img,
 .craft-grid .project-card:not(.project-card-wide):focus-visible .project-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }
}
@media(max-width:620px) {
 .field-notes-grid { grid-template-columns: 1fr; }
 .field-note-category:last-child { grid-column: auto; }
 .field-note-category:last-child .field-note-items { grid-template-columns: 1fr; }
 .sanctuary-sketch-comparison .process-stack > img, .sanctuary-sketch-comparison .project-process-grid .reframing-process-image > img { height: auto; }
 .sanctuary-sketch-comparison .project-process-grid { margin-top: 18px; }
 .lightbox-caption { color: #fff; font-size: 12px; line-height: 1.6; }
}

/* Long project and study titles wrap within narrow phone dialogs. */
@media(max-width:620px) {
 .dialog-content h2 { overflow-wrap: anywhere; }
}

/* Match all three desktop craft thumbnails in equal square frames. */
@media(min-width:621px) {
 .craft-grid .project-card:not(.project-card-wide) .project-image { width:100%; height:auto; max-height:none; aspect-ratio:1 / 1; }
 .craft-grid .project-card:not(.project-card-wide) .project-image img,
 .craft-grid .project-card:not(.project-card-wide):hover .project-image img,
 .craft-grid .project-card:not(.project-card-wide):focus-visible .project-image img { width:100%; height:100%; object-fit:cover; object-position:center; transform:none; }
 .craft-grid .project-card[data-project="board"] .project-image img,
 .craft-grid .project-card[data-project="board"]:hover .project-image img,
 .craft-grid .project-card[data-project="board"]:focus-visible .project-image img { object-position:center 60%; }
}

/* One horizontal model-photo stack spans the project panel. */
.gateway-model-photos { grid-column:1 / -1; width:100%; min-width:0; }
.gateway-model-photos .process-stack { width:100%; margin:24px 0 0; }
.gateway-model-photos .process-stack > img { display:block; width:100%; height:auto; aspect-ratio:16 / 9; object-fit:contain; object-position:center; background:#fff; }

/* Match the motion-study disclosure to the muted green stack controls. */
.dialog-content .process-motion-studies > summary { width:fit-content; max-width:100%; padding:10px 16px; border:1px solid #829087; border-radius:6px; background:#829087; color:#fff; cursor:pointer; }
.dialog-content .process-motion-studies > summary:hover,
.dialog-content .process-motion-studies > summary:focus-visible { border-color:#697e70; background:#697e70; }

/* Shelf project photos always show their complete framing. */
.dialog-content.is-shelf-project .dialog-carousel { height:min(68vh,640px); overflow:visible; }
.dialog-content.is-shelf-project .dialog-slide { display:flex; align-items:center; justify-content:center; height:100%; min-height:0; padding-bottom:36px; background:transparent; }
.dialog-content.is-shelf-project .dialog-slide-image { width:100%; height:100%; min-width:0; min-height:0; max-width:100%; max-height:100%; object-fit:contain; object-position:center; transform:none; background:transparent; }
@media(max-width:620px) {
 .dialog-content.is-shelf-project .dialog-carousel { height:auto; }
 .dialog-content.is-shelf-project .dialog-slide { height:auto; }
 .dialog-content.is-shelf-project .dialog-slide-image { width:100%; height:auto; max-height:none; }
}

/* Give the mobile viewer a stable image area even before the photo loads. */
@media (max-width: 620px) {
  .project-dialog::backdrop, .image-lightbox::backdrop { backdrop-filter: none; }
  .image-lightbox {
    width: calc(100% - 16px);
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
  }
  .image-lightbox figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
  }
  .image-lightbox .lightbox-image, .image-lightbox .lightbox-video {
    grid-row: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .image-lightbox .lightbox-caption { grid-row: 2; }
}

/* Avoid spacing for intentionally omitted study captions. */
.reframing-process-image > figcaption:empty { display: none; }

.process-stack > figcaption:empty { display: none; }

/* Focus the mobile chessboard previews on the board. */
@media (max-width: 620px) {
  .hero-image:has(img[data-project="board"]:not([hidden])),
  .craft-grid .project-card[data-project="board"] .project-image {
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .craft-grid .project-card[data-project="board"] .project-image img,
  .craft-grid .project-card[data-project="board"]:hover .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
  }
}

.wordmark-copy { display: grid; gap: 3px; }
.wordmark-tagline { color: #686961; font-size: 10px; font-weight: 400; letter-spacing: .55px; }

/* Match the height of the ecology sheet across its context stack. */
.gateway-context-studies .process-stack > img { aspect-ratio: 4500 / 1456; object-fit: contain; }

.project-reference { text-decoration: underline; text-underline-offset: .2em; }

/* Share the same image row despite the single caption above the sketches. */
@media (min-width: 621px) {
  .sanctuary-sketch-comparison .process-stack,
  .sanctuary-sketch-comparison .project-process-grid {
    grid-row: 3;
    margin-top: 24px;
    align-self: start;
  }
}
.timeless-team-photo .project-process-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Match the architecture briefs without changing the shelf gallery. */
.dialog-content.is-shelf-project .project-brief .brief-label { margin-bottom: 6px; }
.dialog-content.is-shelf-project .project-brief {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 27px;
}
@media (max-width: 620px) {
  .dialog-content.is-shelf-project .project-brief {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 22px;
  }
  .dialog-content.is-shelf-project .project-brief > div + div { margin-top: 0; }
}
/* Self-hosted, OFL-licensed fallback with real regular, bold, and italic styles. */
@font-face { font-family: Jost; src: url("assets/fonts/Jost-Variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Jost; src: url("assets/fonts/Jost-Italic-Variable.ttf") format("truetype"); font-style: italic; font-weight: 100 900; font-display: swap; }
html { scroll-padding-top: calc(var(--header-height, 90px) + 20px); font-synthesis: none; font-kerning: normal; }
body { font-size: 1.0625rem; line-height: 1.7; }
.hero-intro, .project-deck, .section-note, .field-notes-heading .section-note,
.dialog-copy p, .project-process-intro, .reframing-process-group > p,
.field-note-item p, .field-note-category-heading p, .ai-topic-content .ai-study > p,
.resume-entry p, .resume-entry-place, .about-copy p, .practice-groups dd { font-size: 1.0625rem; line-height: 1.7; }
.dialog-image-caption, .reframing-process-image figcaption, .process-stack figcaption,
.ai-study figcaption { font-size: .9375rem; line-height: 1.6; }
.site-nav { font-size: 1rem; gap: 24px; }
.site-nav > a, .nav-projects > a, .nav-project-menu a { font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
.nav-projects { display: flex; align-items: center; }
.projects-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.projects-toggle svg { width: 18px; height: 18px; }
.nav-project-menu { top: 100%; transform: none; width: 250px; }
.nav-project-menu a { padding: 10px 0; }
.nav-projects.is-expanded .nav-project-menu { opacity: 1; visibility: visible; transform: none; }
.wordmark { font-kerning: normal; letter-spacing: 0; }
.wordmark-tagline { letter-spacing: .025em; }
.field-note-category-heading { min-height: 0; }
.field-note-category-heading h3 { margin-top: 0; }
.hero-arrow, .dialog-arrow, .lightbox-arrow, .process-stack-controls button {
  display: grid; place-items: center; padding: 0; line-height: 1;
  min-width: 44px; min-height: 44px; flex-shrink: 0;
}
.hero-arrow svg, .dialog-arrow svg, .lightbox-arrow svg, .process-stack-controls button svg {
  display: block; width: 24px; height: 24px; margin: 0; transform: none;
}
@media (max-width: 1000px) {
  .site-header { padding: 15px 20px; }
  .menu-toggle { display: block; min-height: 44px; padding: 8px 0 8px 12px; font-size: 1rem; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - var(--header-height, 80px)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-projects { display: grid; grid-template-columns: 1fr 44px; }
  .nav-project-menu { grid-column: 1 / -1; position: static; display: none; width: auto; padding: 0 0 6px 13px; border: 0; border-left: 1px solid var(--line); background: transparent; box-shadow: none; opacity: 0; visibility: hidden; }
  .nav-projects.is-expanded .nav-project-menu { display: grid; }
  .nav-project-menu a { padding: 10px 12px; border: 0; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Allow enlarged text to reflow without squeezing the navigation control. */
.site-header { flex-wrap: wrap; gap: 12px; }
.menu-toggle { flex-shrink: 0; }
.section-heading > div, .category-heading h3 { min-width: 0; }
main { overflow-wrap: anywhere; }