:root {
  color-scheme: light;
  --ink: #222321;
  --muted: #797a76;
  --paper: #f3f2ed;
  --white: #fbfaf7;
  --line: #d4d3ce;
  --dark: #171715;
  --accent: #b96e49;
  --side: clamp(22px, 6.4vw, 112px);
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
b, strong { font-weight: 300; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 17px; font-weight: 300; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
html.menu-open { overflow: hidden; overscroll-behavior: none; }
body.menu-open > main { visibility: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.section-pad { padding-left: var(--side); padding-right: var(--side); }
.eyebrow { margin: 0; font-size: 11px; line-height: 1.3; letter-spacing: .17em; font-weight: 300; }
.eyebrow--dark { color: var(--muted); }
.period { color: var(--accent); }

/* Intro */
.hero { min-height: 710px; height: min(100svh, 1020px); position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #323532; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 47%; }
.hero__shade { background: linear-gradient(90deg, rgb(15 18 17 / 48%), transparent 68%), linear-gradient(0deg, rgb(16 18 16 / 52%), transparent 54%, rgb(16 18 16 / 18%)); }
.site-header { z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.site-header--hero { position: absolute; top: 0; right: 0; left: 0; padding: 27px var(--side); }
.wordmark { display: inline-flex; flex-direction: column; gap: 3px; font-size: 12px; letter-spacing: .13em; font-weight: 300; }
.wordmark__sub { font-size: 9px; letter-spacing: .24em; font-weight: 300; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.logo-link { display: block; width: 46px; height: 46px; }
.logo-link img { width: 100%; height: 100%; object-fit: contain; }
.logo-link--dark img { border-radius: 50%; }
.menu-toggle { width: 48px; height: 46px; padding: 12px 4px; display: grid; align-content: center; gap: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; width: 39px; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hero__copy { position: relative; z-index: 1; padding: 0 var(--side) clamp(76px, 11vh, 130px); max-width: 1080px; }
.hero__copy h1 { margin: 20px 0 30px; font-size: clamp(52px, 8.1vw, 124px); line-height: .88; letter-spacing: -.055em; font-weight: 300; }
.text-link { display: inline-flex; gap: 16px; align-items: center; padding: 0 0 5px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 300; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link--light { color: #fff; }
.hero__index { z-index: 1; position: absolute; right: var(--side); bottom: 39px; margin: 0; text-align: right; font-size: 12px; line-height: 1.5; color: rgb(255 255 255 / 78%); }

/* Full-screen navigation */
.menu-panel { position: fixed; z-index: 8; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--dark); animation: reveal .22s ease-out; }
.menu-panel--dark { color: #fff; }
.menu-close { position: absolute; top: 28px; right: var(--side); display: flex; align-items: center; gap: 15px; color: inherit; background: transparent; border: 0; font-size: 12px; letter-spacing: .12em; cursor: pointer; }
.menu-close span { font-size: 25px; line-height: .7; font-weight: 300; }
.menu-panel__inner { width: min(760px, 76vw); display: flex; flex-direction: column; }
.menu-panel__inner .eyebrow { color: #a7a7a0; margin-bottom: 27px; }
.menu-panel__inner > a { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0 14px; border-bottom: 1px solid rgb(255 255 255 / 20%); font-size: clamp(44px, 7vw, 86px); line-height: .95; letter-spacing: -.04em; }
.menu-panel__inner > a span { font-size: 12px; letter-spacing: .1em; color: #aaa9a2; }
.menu-panel__note { margin: 29px 0 0; font-size: 12px; color: #a7a7a0; letter-spacing: .08em; }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }

/* Selected work */
.work-section { padding-top: clamp(92px, 12vw, 174px); padding-bottom: clamp(100px, 13vw, 190px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 53px; }
.section-heading h2, .index-section h2, .about-section h2, .contact-section h2 { margin: 14px 0 0; font-size: clamp(45px, 6.1vw, 86px); line-height: .9; letter-spacing: -.055em; font-weight: 300; }
.section-heading__aside { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-chip { border: 1px solid var(--line); border-radius: 99px; background: transparent; padding: 8px 15px; font-size: 13px; font-weight: 300; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.filter-chip:hover, .filter-chip.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 24px; align-items: start; }
.project-card { min-width: 0; grid-column: span 6; }
.project-card--1 { grid-column: span 6; margin-top: 82px; }
.project-card--2 { grid-column: span 5; }
.project-card--3 { grid-column: span 7; margin-top: 22px; }
.project-card--4 { grid-column: 2 / span 10; margin-top: 37px; }
.project-card[hidden] { display: none; }
.project-card__media { position: relative; overflow: hidden; background: #d9d7cf; aspect-ratio: 1.46; }
.project-card--0 .project-card__media { aspect-ratio: 1.42; }
.project-card--1 .project-card__media { aspect-ratio: 1.29; }
.project-card--2 .project-card__media { aspect-ratio: 1.37; }
.project-card--3 .project-card__media { aspect-ratio: 1.6; }
.project-card--4 .project-card__media { aspect-ratio: 1.83; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.project-card__hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: #fff; opacity: 0; background: linear-gradient(0deg, rgb(14 16 14 / 58%), transparent 78%); transition: opacity .2s ease; }
.project-card:hover .project-card__hover, .project-card:focus-visible .project-card__hover { opacity: 1; }
.project-card__hover > span:first-child { align-self: flex-end; font-size: 14px; border-bottom: 1px solid rgb(255 255 255 / 68%); }
.project-card__hover > span:last-child { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.project-card__hover i { font-style: normal; font-size: 22px; }
.project-card__caption { display: flex; justify-content: space-between; gap: 15px; margin-top: 11px; font-size: 14px; }
.project-card__caption span:last-child { color: var(--muted); font-size: 12px; }
.project-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; color: rgb(255 255 255 / 77%); background: #777872; font-size: 12px; letter-spacing: .12em; }
.project-card--2 .project-card__placeholder { background: #84766d; }
.placeholder-mark { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; color: rgb(255 255 255 / 77%); font-size: 15px; letter-spacing: -.07em; font-weight: 300; }

/* Project index */
.index-section { display: grid; grid-template-columns: minmax(170px, .8fr) 2fr; gap: clamp(30px, 8vw, 130px); padding-top: 77px; padding-bottom: 124px; color: #f4f2ec; background: #222320; }
.index-section .eyebrow { color: #b2b2ab; }
.index-section h2 { margin-top: 25px; }
.index-section .period { color: #d18a62; }
.index-list { border-top: 1px solid rgb(255 255 255 / 28%); align-self: center; }
.index-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 170px 20px; gap: 13px; align-items: center; min-height: 64px; border-bottom: 1px solid rgb(255 255 255 / 19%); transition: color .15s ease; }
.index-row:hover { color: #d18a62; }
.index-row__number, .index-row__category { color: #a6a7a1; font-size: 12px; }
.index-row__title { font-size: clamp(19px, 2.1vw, 27px); }
.index-row__arrow { font-size: 18px; text-align: right; }

/* About and contact */
.about-section { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 8vw, 130px); padding-top: clamp(90px, 13vw, 180px); padding-bottom: clamp(90px, 13vw, 180px); }
.about-section > .eyebrow { padding-top: 9px; }
.about-section__body { max-width: 800px; }
.about-section__body h2 { margin: 0 0 28px; }
.about-section__body > p { max-width: 510px; margin: 0 0 26px; color: #62635f; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.45; }
.contact-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; padding-top: 82px; padding-bottom: 37px; color: #fff; background: var(--dark); }
.contact-section .eyebrow { color: #aaa9a2; }
.contact-section h2 { margin-bottom: 17px; font-size: clamp(48px, 7.5vw, 102px); }
.contact-section .period { color: #cf8156; }
.contact-section__meta { min-width: 200px; padding-bottom: 6px; }
.contact-section__meta > p { margin: 26px 0 0; color: #aaa9a2; font-size: 12px; }
.contact-section__meta > p.copyright { margin-top: 54px; }

/* Project detail */
.site-header--inside { position: relative; min-height: 96px; padding: 20px var(--side); background: var(--paper); }
.menu-toggle--dark { color: var(--ink); }
.project-intro { padding-top: clamp(48px, 7vw, 95px); padding-bottom: clamp(42px, 6vw, 75px); }
.back-link { display: inline-block; margin-bottom: clamp(65px, 10vw, 125px); color: var(--muted); font-size: 13px; }
.back-link:hover { color: var(--ink); }
.project-intro__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.project-intro h1 { margin: 12px 0 0; font-size: clamp(52px, 9vw, 126px); letter-spacing: -.06em; line-height: .86; font-weight: 300; }
.project-intro__client { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.project-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); padding: 0 var(--side); }
.gallery-image { margin: 0; overflow: hidden; background: #deddd6; }
.gallery-image--wide { grid-column: span 12; }
.gallery-image--half { grid-column: span 6; }
.gallery-image--third { grid-column: span 4; }
.gallery-image img { width: 100%; height: auto; object-fit: cover; }
.project-empty { grid-column: 1 / -1; min-height: min(65vw, 680px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; background: #797a75; color: #f7f5ef; }
.project-empty p { margin: 0; font-size: 13px; letter-spacing: .12em; }
.project-credits { padding-top: 55px; padding-bottom: 87px; }
.project-credits details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-credits summary { display: flex; justify-content: space-between; padding: 18px 0; list-style: none; font-size: 14px; cursor: pointer; }
.project-credits summary::-webkit-details-marker { display: none; }
.project-credits summary span { font-size: 22px; transition: transform .2s ease; }
.project-credits details[open] summary span { transform: rotate(45deg); }
.credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 12px 0 25px; }
.credits-grid p { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.credits-grid p span { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.credits-grid strong { font-size: 14px; font-weight: 300; }
.project-next { padding-top: 39px; padding-bottom: 75px; background: #e8e7e0; }
.project-next a { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.project-next .eyebrow { color: var(--muted); }
.project-next #next-project-title { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.04em; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; color: var(--muted); font-size: 12px; }
.site-footer .text-link { color: var(--ink); font-size: 13px; }

@media (min-width: 1440px) {
  .project-grid { row-gap: 66px; column-gap: 34px; }
}
@media (max-width: 760px) {
  :root { --side: 22px; }
  .hero { min-height: 610px; height: 93svh; max-height: 840px; }
  .hero__image { object-position: 57% center; }
  .hero__copy { padding-bottom: 104px; }
  .hero__copy h1 { font-size: clamp(47px, 12vw, 75px); }
  .hero__index { right: var(--side); bottom: 24px; font-size: 10px; }
  .site-header--hero { padding-top: 18px; }
  .header-actions { gap: 11px; }
  .logo-link { width: 39px; height: 39px; }
  .menu-toggle { width: 39px; }
  .menu-toggle span { width: 31px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 33px; }
  .section-heading h2, .index-section h2, .about-section h2 { font-size: clamp(44px, 11vw, 68px); }
  .section-heading__aside { display: none; }
  .filter-row { gap: 7px; margin-bottom: 23px; }
  .filter-chip { padding: 7px 11px; font-size: 12px; }
  .project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .project-card, .project-card--0, .project-card--1, .project-card--2, .project-card--3, .project-card--4 { grid-column: auto; margin-top: 0; }
  .project-card:nth-child(odd) { margin-top: 22px; }
  .project-card__media, .project-card--0 .project-card__media, .project-card--1 .project-card__media, .project-card--2 .project-card__media, .project-card--3 .project-card__media, .project-card--4 .project-card__media { aspect-ratio: .83; }
  .project-card__media img { object-position: center; }
  .project-card__hover { display: none; }
  .project-card__caption { flex-direction: column; gap: 4px; margin-top: 8px; font-size: 13px; }
  .project-card__caption span:last-child { font-size: 11px; }
  .project-card__placeholder { gap: 9px; font-size: 9px; letter-spacing: .08em; }
  .placeholder-mark { width: 45px; height: 45px; font-size: 12px; }
  .index-section { grid-template-columns: 1fr; gap: 36px; padding-top: 72px; padding-bottom: 86px; }
  .index-section h2 { margin-top: 18px; }
  .index-row { grid-template-columns: 26px minmax(0, 1fr) 92px 15px; gap: 7px; min-height: 59px; }
  .index-row__title { font-size: 18px; }
  .index-row__number, .index-row__category { font-size: 10px; }
  .about-section { grid-template-columns: 1fr; gap: 34px; padding-top: 88px; padding-bottom: 88px; }
  .about-section__body h2 { margin-bottom: 22px; }
  .about-section__body > p { font-size: 18px; }
  .contact-section { align-items: flex-start; flex-direction: column; gap: 38px; padding-top: 65px; }
  .contact-section h2 { font-size: clamp(52px, 13vw, 75px); }
  .contact-section__meta { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
  .contact-section__meta > p, .contact-section__meta > p.copyright { margin: 0; }
  .contact-section__meta > p.copyright { width: 100%; }
  .site-header--inside { min-height: 80px; }
  .project-intro { padding-top: 37px; }
  .back-link { margin-bottom: 68px; }
  .project-intro__bottom { align-items: flex-start; flex-direction: column; gap: 17px; }
  .project-intro h1 { font-size: clamp(48px, 13vw, 82px); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-image--wide { grid-column: span 2; }
  .gallery-image--half { grid-column: span 1; }
  .gallery-image--third { grid-column: span 1; }
  .project-empty { grid-column: span 2; min-height: 105vw; }
  .credits-grid { grid-template-columns: 1fr 1fr; gap: 24px 15px; }
  .project-credits { padding-top: 35px; padding-bottom: 60px; }
  .site-footer { font-size: 10px; }
}
@media (max-width: 390px) {
  .project-grid { grid-template-columns: 1fr; gap: 27px; }
  .project-card:nth-child(odd) { margin-top: 0; }
  .project-card__media, .project-card--0 .project-card__media, .project-card--1 .project-card__media, .project-card--2 .project-card__media, .project-card--3 .project-card__media, .project-card--4 .project-card__media { aspect-ratio: 1.13; }
  .index-row { grid-template-columns: 24px minmax(0, 1fr) 82px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Reduced, image-led portfolio */
:root { --gallery-background: #444444; --gallery-gap: 4px; --homepage-hero-gap: 8px; --homepage-outer-gap: 8px; --homepage-corner-radius: 8px; }
html { scroll-padding-top: 0; }
body.portfolio-home, body.archive-page { color: #fff; background: var(--gallery-background); }
.site-header--fixed { position: fixed; z-index: 20; inset: 0 0 auto; height: 82px; padding: 14px var(--side); align-items: flex-start; pointer-events: none; }
.site-header--fixed > * { pointer-events: auto; }
.site-header--fixed .logo-link { position: relative; isolation: isolate; display: grid; place-items: center; width: 70px; height: 70px; overflow: hidden; border: 0; border-radius: 50%; opacity: 1; background: rgb(255 255 255 / 13%); -webkit-backdrop-filter: blur(12px) saturate(145%); backdrop-filter: blur(12px) saturate(145%); box-shadow: none; }
.site-header--fixed .logo-link img { position: relative; z-index: 1; mix-blend-mode: normal; }
.site-header--fixed .menu-toggle { width: 53px; height: 54px; padding: 10px 1px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; color: #fff; mix-blend-mode: difference; }
.site-header--fixed .menu-toggle { position: relative; z-index: 21; }
.site-header--fixed .menu-toggle span { width: 43px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .15s ease, width .2s ease; }
.site-header--fixed .menu-toggle span:nth-child(2) { width: 36px; }
.site-header--fixed .menu-toggle span:nth-child(3) { width: 40px; }
.site-header--fixed .menu-toggle span:nth-child(4) { width: 31px; }
.site-header--fixed .menu-toggle[aria-expanded="true"] span:first-child,
.site-header--fixed .menu-toggle[aria-expanded="true"] span:last-child { opacity: 0; }
.site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2) { width: 40px; transform: translateY(7px) rotate(45deg); }
.site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 40px; transform: translateY(0) rotate(-45deg); }
.menu-panel { z-index: 19; background: rgb(10 10 10 / 97%); }
.menu-panel__inner { width: min(1000px, 78vw); }
.menu-panel__inner > a { justify-content: flex-start; padding: 8px 0 11px; border: 0; font-size: clamp(38px, 7vw, 88px); font-weight: 300; letter-spacing: -.055em; line-height: 1; transition: opacity .15s ease, transform .15s ease; }
.menu-panel__inner > a:hover { opacity: .65; transform: translateX(8px); }
.hero { width: 100%; min-height: 0; height: 100svh; max-height: none; display: block; overflow: hidden; isolation: isolate; contain: paint; background: #101010; }
.hero__image { object-fit: cover; object-position: center; }
.home-gallery { min-height: 100svh; padding-top: var(--homepage-hero-gap, 8px); background: var(--gallery-background); }
.project-grid--home, .project-grid--archive { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gallery-gap); align-items: start; margin: 0; }
.project-grid--home { background: var(--gallery-background); overflow-anchor: none; }
.project-grid--archive { padding: 0 var(--gallery-gap) var(--gallery-gap); }
.project-card { position: relative; display: block; min-width: 0; overflow: hidden; background: #161616; }
.project-card.tile--12 { grid-column: span 12; }
.project-card.tile--8 { grid-column: span 8; }
.project-card.tile--6 { grid-column: span 6; }
.project-card.tile--4 { grid-column: span 4; }
.project-card__media { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 1.4; background: #222; }
.tile--12 .project-card__media { aspect-ratio: 1.88; }
.tile--8 .project-card__media { aspect-ratio: 1.42; }
.tile--6.tile--square .project-card__media { aspect-ratio: 1.16; }
.tile--6.tile--landscape .project-card__media { aspect-ratio: 1.62; }
.tile--4.tile--portrait .project-card__media { aspect-ratio: .9; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.project-card__info { position: absolute; top: 50%; left: 50%; display: flex; width: clamp(136px, 17vw, 226px); aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; border-radius: 50%; color: #fff; background: rgb(0 0 0 / 86%); text-align: center; opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .18s ease, transform .2s ease; }
.project-card:hover .project-card__info, .project-card:focus-visible .project-card__info { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.project-card__title { font-size: clamp(13px, 1.2vw, 17px); font-weight: 300; letter-spacing: .02em; line-height: 1.1; }
.project-card__category { display: flex; align-items: center; gap: 7px; font-size: 12px; opacity: .82; }
.project-card__empty { position: absolute; inset: 0; background: #262626; }
.project-card:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.archive-content { min-height: 100svh; padding-top: 92px; background: var(--gallery-background); }
.archive-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px var(--side) 22px; }
.archive-filters .filter-chip { border-color: rgb(255 255 255 / 30%); color: #fff; }
.archive-filters .filter-chip:hover, .archive-filters .filter-chip.is-active { border-color: #fff; color: #111; background: #fff; }
.simple-page { min-height: 100svh; color: #fff; background: #111; }
.simple-page__content { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 110px var(--side); }
.simple-page__content h1 { margin: 0; font-size: clamp(56px, 11vw, 150px); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.simple-page__content p { max-width: 620px; margin: 0; color: rgb(255 255 255 / 72%); font-size: clamp(18px, 2.1vw, 25px); line-height: 1.4; }
.simple-page__link { width: fit-content; border-bottom: 1px solid rgb(255 255 255 / 65%); padding-bottom: 5px; font-size: 20px; }
.project-page { background: var(--paper); }
.project-page .site-header--fixed .menu-toggle { color: var(--ink); }
.project-page .project-intro { padding-top: 135px; }
.project-page .project-gallery { padding-bottom: 0; }

@media (hover: none) {
  .project-card__info { opacity: 1; transform: translate(-50%, -50%) scale(.85); }
}
@media (max-width: 760px) {
  .site-header--fixed { height: 70px; padding-top: 11px; }
  .site-header--fixed .logo-link { width: 57px; height: 57px; }
  .site-header--fixed .menu-toggle { width: 43px; height: 44px; }
  .site-header--fixed .menu-toggle span { width: 35px; }
  .site-header--fixed .menu-toggle span:nth-child(2) { width: 29px; }
  .site-header--fixed .menu-toggle span:nth-child(3) { width: 33px; }
  .site-header--fixed .menu-toggle span:nth-child(4) { width: 25px; }
  .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2), .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 34px; }
  .hero { height: 100svh; min-height: 0; }
  .hero__image { object-position: 56% center; }
  .project-grid--home, .project-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gallery-gap); }
  .project-card.tile--12, .project-card.tile--8 { grid-column: span 2; }
  .project-card.tile--6, .project-card.tile--4 { grid-column: span 1; }
  .tile--12 .project-card__media { aspect-ratio: 1.35; }
  .tile--8 .project-card__media { aspect-ratio: 1.35; }
  .tile--6.tile--square .project-card__media { aspect-ratio: .84; }
  .tile--6.tile--landscape .project-card__media { aspect-ratio: .84; }
  .tile--4.tile--portrait .project-card__media { aspect-ratio: .84; }
  .project-card__info { width: clamp(98px, 27vw, 144px); gap: 7px; padding: 12px; }
  .project-card__info { opacity: 1; transform: translate(-50%, -50%) scale(.85); }
  .project-card__title { font-size: 11px; }
  .project-card__category { font-size: 10px; }
  .archive-content { padding-top: 75px; }
  .archive-filters { flex-wrap: nowrap; overflow-x: auto; padding: 11px 22px 17px; scrollbar-width: none; }
  .archive-filters::-webkit-scrollbar { display: none; }
  .archive-filters .filter-chip { flex: 0 0 auto; }
  .project-page .project-intro { padding-top: 107px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card__media img { transition: none; }
  .project-card__info { transition: none; }
}

/* Logo grey surfaces and click-to-open project flow */
:root { --gallery-background: #0f0f0f; }
body.portfolio-home, body.archive-page { background: var(--gallery-background); }
.home-gallery, .project-grid--home, .archive-content { background: var(--gallery-background); }
.project-grid--home { gap: var(--gallery-gap, 4px); padding-right: var(--homepage-outer-gap, 8px); padding-left: var(--homepage-outer-gap, 8px); align-items: stretch; }
.project-card { position: relative; z-index: 0; overflow: visible; background: transparent; }
.project-card.is-info-anchor, .hero__slideshow.is-info-anchor { z-index: 5; }
.project-card__trigger { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: pointer; }
.project-card__trigger img { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--tile-crop-x, 50%) var(--tile-crop-y, 50%); transform: scale(var(--tile-crop-zoom, 1)); transform-origin: var(--tile-crop-x, 50%) var(--tile-crop-y, 50%); }
.project-card__trigger .project-card__blur-image { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: fill; transform: none; opacity: 0; pointer-events: none; transition: opacity 440ms cubic-bezier(.2, .8, .2, 1); }
.project-card__trigger.is-info-open .project-card__blur-image.is-decoded { opacity: 1; }
.project-card__trigger::after { position: absolute; z-index: 2; inset: 0; content: ""; visibility: hidden; opacity: 0; pointer-events: none; background: rgb(30 30 30 / 1%); transition: opacity 440ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 440ms; }
.project-card__trigger.is-info-open::after { visibility: visible; opacity: 1; transition: opacity 440ms cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.project-card__trigger.is-returning-home::after, .hero__slideshow.is-returning-home::after { transition: none !important; }
.archive-page .project-card__trigger img { transition: filter 440ms cubic-bezier(.2, .8, .2, 1); }
.archive-page .project-card__trigger.is-info-open img { filter: blur(var(--project-selection-blur, 10px)); }
.project-grid--home .project-card__trigger img:not(.project-card__blur-image)[data-image-pending], .project-grid--home .project-card__trigger img:not(.project-card__blur-image):not(.is-decoded), .project-grid--home .project-card__trigger img:not(.project-card__blur-image)[data-image-unavailable] { visibility: hidden; }
.tile--12 .project-card__trigger { aspect-ratio: 1.88; }
.tile--8 .project-card__trigger { aspect-ratio: 1.42; }
.tile--6.tile--square .project-card__trigger { aspect-ratio: 1.16; }
.tile--6.tile--landscape .project-card__trigger { aspect-ratio: 1.62; }
.tile--4.tile--portrait .project-card__trigger { aspect-ratio: .71; }
.project-card__trigger:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.project-card__info { display: none !important; }
.project-modal[hidden] { display: none !important; }
.project-modal { position: absolute; inset: 0; z-index: 3; display: none; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; color: #fff; pointer-events: none; }
.project-modal.is-open { display: grid; place-items: center; }
.project-modal__card { position: relative; z-index: 2; box-sizing: border-box; width: min(var(--project-modal-width, 440px), calc(100vw - 24px)); max-width: 100%; min-height: 0; overflow: visible; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 54px; margin: 0; padding: 8px; border: 0; border-radius: 0; background: transparent !important; box-shadow: none !important; text-align: center; text-shadow: 0 2px 12px rgb(0 0 0 / 48%); transform-origin: center; pointer-events: none; }
.project-modal.is-open .project-modal__card { animation: project-modal-card-in 240ms cubic-bezier(.2, .8, .2, 1) both; }
.project-modal.is-closing .project-modal__card { animation: project-modal-card-out var(--project-modal-close-duration, 320ms) cubic-bezier(.65, 0, .35, 1) both; }
@keyframes project-modal-card-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes project-modal-card-out { from { opacity: 1; } to { opacity: 0; } }
.project-modal__card h2 { align-self: center; width: 100%; max-width: 100%; margin: 0; color: #fff; font-size: clamp(24px, 3vw, 42px); font-weight: 300; letter-spacing: .01em; line-height: 1; text-align: center; overflow-wrap: anywhere; }
.project-modal__view { align-self: center; width: min(105px, 100%); min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid rgb(255 255 255 / 92%); border-radius: 99px; color: #191919; background: #f4f3ef; font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; text-shadow: none; transition: background .18s ease; clip-path: inset(0 round 999px); isolation: isolate; pointer-events: auto; }
.project-modal__view:hover { background: #fff; }

body.project-page { min-height: 100svh; overflow: hidden; color: #fff; background: var(--gallery-background); }
.project-viewer { position: fixed; inset: 0 0 auto; display: block; height: 100vh; height: 100lvh; overflow: hidden; background: var(--gallery-background); }
/* Anchor the image at the top of a stable viewport. Safari changes the visible
   height as its bars retract; centering a 100svh frame moved the target mid-morph. */
.viewer-frame { position: relative; z-index: 0; width: 100vw; height: 100vh; height: 100lvh; overflow: hidden; margin: 0; padding: 0; touch-action: none; cursor: grab; isolation: isolate; }
/* Keep the stable photo frame for the cross-page morph. On iPad Safari, align
   controls to the visible viewport when browser bars cover part of that frame. */
@media (min-width: 761px) {
  .project-viewer > .viewer-arrow { top: 50dvh; }
  .project-viewer .viewer-carousel-controls { bottom: calc(24px + env(safe-area-inset-bottom) + 100lvh - 100dvh); }
}
.viewer-frame.is-dragging { cursor: grabbing; }
.viewer-shot { position: absolute; inset: 0; overflow: hidden; transform: translate3d(0, 0, 0); transition: transform .9s cubic-bezier(.72, 0, .28, 1); backface-visibility: hidden; }
.viewer-shot--active { z-index: 1; visibility: visible; }
.viewer-shot--incoming { z-index: 0; visibility: hidden; transform: translate3d(var(--viewer-offscreen-x, 100%), 0, 0); }
.viewer-frame.is-dragging.has-swipe-preview .viewer-shot--active { transform: translate3d(var(--viewer-drag-x, 0px), 0, 0); }
.viewer-frame.is-dragging.has-swipe-preview .viewer-shot--incoming { visibility: visible; transform: translate3d(calc(var(--viewer-offscreen-x, 100%) + var(--viewer-drag-x, 0px)), 0, 0); }
.viewer-frame.is-preloading .viewer-shot--incoming { transition: none !important; }
.viewer-frame.is-sliding-forward .viewer-shot--active { transform: translate3d(-100%, 0, 0); }
.viewer-frame.is-sliding-forward .viewer-shot--incoming { visibility: visible; transform: translate3d(0, 0, 0); }
.viewer-frame.is-sliding-backward .viewer-shot--active { transform: translate3d(100%, 0, 0); }
.viewer-frame.is-sliding-backward .viewer-shot--incoming { visibility: visible; transform: translate3d(0, 0, 0); }
.viewer-frame.is-sliding-forward .viewer-shot, .viewer-frame.is-sliding-backward .viewer-shot { will-change: transform; }
.viewer-frame.is-dragging .viewer-shot { transition: none; }
.viewer-frame.is-resetting .viewer-shot { transition: none !important; }
.viewer-shot img { position: absolute; left: 50%; top: 50%; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; opacity: 0; transform: translate(calc(-50% + var(--viewer-pan-x, 0px)), calc(-50% + var(--viewer-pan-y, 0px))) scale(var(--viewer-zoom, 1)); transform-origin: center; transition: none; user-select: none; -webkit-user-drag: none; touch-action: none; }
.viewer-frame.is-interactive .viewer-shot img { transition: transform 220ms cubic-bezier(.2, .8, .2, 1); }
.viewer-shot img.is-decoded { opacity: 1; }
.viewer-frame.is-dragging img { transition: none; }
.viewer-close, .viewer-arrow { position: absolute; z-index: 4; display: grid; place-items: center; border: 0; color: #fff; background: transparent; cursor: pointer; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .16s ease, transform .16s ease; }
.project-viewer__logo { position: absolute; z-index: 3; top: 14px; left: var(--side); display: grid; width: 70px; height: 70px; place-items: center; overflow: hidden; border: 0; border-radius: 50%; opacity: 1; background: rgb(255 255 255 / 13%); -webkit-backdrop-filter: blur(12px) saturate(145%); backdrop-filter: blur(12px) saturate(145%); box-shadow: none; mix-blend-mode: normal; }
.project-viewer__logo img { width: 100%; height: 100%; object-fit: contain; }
.viewer-close { top: calc(22px + env(safe-area-inset-top)); right: calc(24px + env(safe-area-inset-right)); width: 62px; height: 62px; border-radius: 50%; font-size: 45px; line-height: 1; font-weight: 300; }
.viewer-close { font-size: 0 !important; }
.viewer-close::before, .viewer-close::after {
  position: absolute;
  width: calc(var(--type-viewer_close-size, 38px) * .66);
  height: 2px;
  background: currentColor;
  content: "";
}
.viewer-close::before { transform: rotate(45deg); }
.viewer-close::after { transform: rotate(-45deg); }
.viewer-close:hover, .viewer-arrow:hover { background: transparent; }
.viewer-close:hover { transform: rotate(90deg); }
.viewer-close:focus-visible, .viewer-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.viewer-arrow { top: 50%; width: 54px; height: 66px; padding: 12px; border-radius: 99px; transform: translateY(-50%); }
.viewer-arrow:hover { transform: translateY(-50%) scale(1.05); }
.viewer-arrow--previous { left: calc(22px + env(safe-area-inset-left)); }
.viewer-arrow--next { right: calc(22px + env(safe-area-inset-right)); }
.viewer-arrow svg { width: 24px; height: 36px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.5; }
.viewer-arrow[hidden] { display: none; }
.social-links { position: fixed; z-index: 15; right: 26px; bottom: calc(22px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 21px; color: #fff; mix-blend-mode: difference; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 42%)); }
.social-links__link { display: grid; width: 28px; height: 28px; place-items: center; transition: transform .18s ease, opacity .18s ease; }
.social-links__link svg { display: block; width: 100%; height: 100%; }
.social-links__link:hover { transform: translateY(-2px) scale(1.08); opacity: .8; }
.social-links__link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

@media (max-width: 760px) {
  .tile--12 .project-card__trigger, .tile--8 .project-card__trigger, .tile--6.tile--square .project-card__trigger, .tile--6.tile--landscape .project-card__trigger, .tile--4.tile--portrait .project-card__trigger { aspect-ratio: 1; }
  .project-card.tile--12, .project-card.tile--8 { grid-column: span 1; }
  .project-grid--home > .project-card { margin: 0; }
  .project-modal__card { gap: clamp(18px, 5vw, 28px); padding: 10px 12px; }
  .project-modal__card h2 { font-size: clamp(20px, 6vw, 28px); }
  .project-modal__view { min-height: 52px; font-size: 21px; }
  .viewer-close { top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); width: 58px; height: 58px; font-size: 40px; }
  .project-viewer__logo { top: 11px; left: var(--side); width: 57px; height: 57px; }
  .viewer-pagination { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .hero-scroll-cue { bottom: calc(9px + env(safe-area-inset-bottom)); }
  .viewer-arrow { width: 52px; height: 64px; padding: 12px; }
  .viewer-arrow--previous { left: calc(8px + env(safe-area-inset-left)); }
  .viewer-arrow--next { right: calc(8px + env(safe-area-inset-right)); }
  .social-links { right: 18px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 16px; }
  .social-links__link { width: 24px; height: 24px; }
}

/* iPad and compact desktop: two clear image columns and generous touch controls. */
@media (min-width: 761px) and (max-width: 1024px) {
  .project-grid--home, .project-grid--archive { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .project-card.tile--12, .project-card.tile--8 { grid-column: span 6; }
  .project-card.tile--6, .project-card.tile--4 { grid-column: span 3; }
  .tile--12 .project-card__trigger, .tile--8 .project-card__trigger { aspect-ratio: 1.65; }
  .tile--4.tile--portrait .project-card__trigger { aspect-ratio: .9; }
  .viewer-arrow { width: 64px; height: 76px; }
  .viewer-arrow--previous { left: max(18px, calc(12px + env(safe-area-inset-left))); }
  .viewer-arrow--next { right: max(18px, calc(12px + env(safe-area-inset-right))); }
  .viewer-close { width: 68px; height: 68px; }
}

/* Random, non-repeating header slideshow */
.hero__slideshow { position: absolute; inset: 0; overflow: hidden; background: var(--gallery-background); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.hero__slideshow.is-pointer-active { cursor: grabbing; }
.hero__slideshow:focus-visible { outline: 1px solid rgb(255 255 255 / 60%); outline-offset: -10px; }
.hero__slideshow .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(0); transition: transform .9s cubic-bezier(.72, 0, .28, 1), filter 440ms cubic-bezier(.2, .8, .2, 1); will-change: transform; pointer-events: none; -webkit-user-drag: none; }
.hero__slideshow .hero__image--current { z-index: 1; transform: translateX(0); }
.hero__slideshow::after { position: absolute; z-index: 3; inset: 0; content: ""; visibility: hidden; opacity: 0; pointer-events: none; background: rgb(30 30 30 / 1%); transition: opacity 440ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 440ms; }
.hero__slideshow.is-info-open::after { visibility: visible; opacity: 1; transition: opacity 440ms cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.hero__slideshow .project-modal { z-index: 4; }
.hero__slideshow.is-info-open .hero-carousel-controls,
.hero__slideshow.is-info-open .hero-scroll-cue { visibility: hidden; opacity: 0; }
.hero__slideshow.is-info-open .hero__image { filter: blur(var(--project-selection-blur, 10px)); }
.hero__slideshow .hero__selection-image { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; pointer-events: none; transition: opacity 440ms cubic-bezier(.2, .8, .2, 1); }
.hero__slideshow.is-info-open.has-selection-bitmap .hero__image { filter: none; }
.hero__slideshow.is-info-open.has-selection-bitmap .hero__selection-image.is-decoded { opacity: 1; }
.hero__slideshow .hero__image--next { z-index: 2; transform: translateX(100%); }
.hero__slideshow .hero__image[data-image-unavailable], .hero__slideshow .hero__image[data-image-pending] { visibility: hidden; }
.hero__slideshow.is-sliding .hero__image--current { transform: translateX(-100%); }
.hero__slideshow.is-sliding .hero__image--next { transform: translateX(0); }
.hero__slideshow.is-priming-backward .hero__image--next { transform: translateX(-100%); }
.hero__slideshow.is-sliding-backward .hero__image--current { transform: translateX(100%); }
.hero__slideshow.is-sliding-backward .hero__image--next { transform: translateX(0); }
.hero__slideshow.is-resetting .hero__image { transition: none !important; }
.carousel-controls { position: absolute; z-index: 5; left: 50%; display: flex; align-items: center; justify-content: center; gap: var(--carousel-control-gap, 11px); max-width: calc(100vw - 28px); color: #fff; transform: translateX(-50%); filter: drop-shadow(0 1px 6px rgb(0 0 0 / 35%)); }
.hero-carousel-controls { bottom: calc(68px + env(safe-area-inset-bottom)); }
.viewer-carousel-controls { bottom: calc(24px + env(safe-area-inset-bottom)); }
.carousel-toggle { display: grid; flex: 0 0 var(--carousel-toggle-size, 24px); width: var(--carousel-toggle-size, 24px); height: var(--carousel-toggle-size, 24px); padding: 0; place-items: center; border: 0; color: inherit; background: transparent; opacity: .76; cursor: pointer; transition: opacity .18s ease, transform .18s ease; -webkit-tap-highlight-color: transparent; }
.carousel-toggle:hover { opacity: 1; transform: scale(1.08); }
.carousel-toggle:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.carousel-toggle svg { grid-area: 1 / 1; display: block; width: 100%; height: 100%; }
.carousel-toggle__play { display: none !important; transform: scale(1.21); transform-box: fill-box; transform-origin: center; }
.carousel-toggle[data-paused="true"] .carousel-toggle__play { display: block !important; }
.carousel-toggle[data-paused="true"] .carousel-toggle__pause { display: none !important; }
.carousel-toggle[hidden] { display: none !important; }
.carousel-controls .hero-pagination { position: relative; z-index: auto; left: auto; bottom: auto; max-width: 100%; transform: none; filter: none; }
.hero-pagination { position: absolute; z-index: 5; left: 50%; bottom: calc(68px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: var(--hero-marker-gap, 12px); max-width: calc(100vw - 28px); transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 1px 6px rgb(0 0 0 / 35%)); }
.hero-pagination__marker { position: relative; display: block; flex: 0 0 var(--hero-marker-size, 24px); width: var(--hero-marker-size, 24px); height: var(--hero-marker-size, 24px); overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / 76%); transition: opacity .18s ease; }
.viewer-pagination { pointer-events: auto; }
.hero-carousel-controls .hero-pagination { pointer-events: auto; }
.hero-carousel-controls .hero-pagination__marker { padding: 0; border: 0; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hero-carousel-controls .hero-pagination__marker:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.viewer-pagination .hero-pagination__marker { padding: 0; border: 0; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.viewer-pagination .hero-pagination__marker:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .hero-carousel-controls .hero-pagination__marker:hover,
  .viewer-pagination .hero-pagination__marker:hover { opacity: .72; }
}
.hero-pagination__marker.is-active { flex-basis: var(--hero-active-width, 136px); width: var(--hero-active-width, 136px); background: rgb(255 255 255 / 48%); }
.hero-pagination__fill { position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero-pagination:not(.is-static) .hero-pagination__marker.is-active .hero-pagination__fill { animation: hero-progress-fill var(--hero-hold-duration, 5s) linear forwards; }
.hero-pagination.is-paused .hero-pagination__marker.is-active .hero-pagination__fill { animation-play-state: paused; }
.hero-pagination.is-static .hero-pagination__marker.is-active { flex-basis: var(--hero-marker-size, 24px); width: var(--hero-marker-size, 24px); }
.hero-pagination.is-static .hero-pagination__fill { display: none; }
.hero-scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; width: 42px; height: 42px; padding: 7px; place-items: center; border: 0; color: #fff; background: transparent; transform: translateX(-50%); cursor: pointer; filter: drop-shadow(0 1px 6px rgb(0 0 0 / 38%)); animation: hero-scroll-bounce 1.5s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.hero-scroll-cue svg { width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-scroll-cue:focus-visible { outline: 1px solid rgb(255 255 255 / 85%); outline-offset: 2px; }
@keyframes hero-scroll-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
.viewer-pagination { z-index: 5; bottom: calc(24px + env(safe-area-inset-bottom)); transition: opacity 220ms ease; }
.carousel-controls .viewer-pagination { bottom: auto; }
@keyframes hero-progress-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__slideshow .hero__image, .project-card__trigger img { transition: none !important; }
  .hero-pagination__fill { animation: none !important; }
  .hero-scroll-cue { animation: none; }
  .viewer-shot { transition: none; }
  .viewer-shot img { transition: none; }
  .project-modal.is-open .project-modal__card, .project-modal.is-closing .project-modal__card { animation: none !important; }
}

/* Photo navigation: one shared presentation on every content page. */
html { scrollbar-gutter: stable; }
.menu-panel {
  --menu-footer-bottom: calc(28px + env(safe-area-inset-bottom));
  padding: max(86px, env(safe-area-inset-top)) 24px max(36px, env(safe-area-inset-bottom));
  overflow-y: auto;
  height: 100dvh;
  max-height: 100dvh;
  overscroll-behavior: contain;
  background: linear-gradient(rgb(0 14 30 / 18%), rgb(0 14 30 / 8%) 58%, rgb(0 14 30 / 22%)), url("images/brand/menu-salt-lake.jpg") center / cover no-repeat;
  animation: reveal 280ms ease both;
}
.menu-panel:focus { outline: none; }
.menu-panel__inner { width: 100%; margin: auto; align-items: center; gap: 6px; text-align: center; }
.menu-panel__inner > a {
  display: block; padding: 0; font-size: clamp(58px, min(15vw, 15svh), 164px);
  font-weight: 300; line-height: 1.02; letter-spacing: -.035em;
  text-shadow: 0 2px 18px rgb(0 16 32 / 16%); transition: opacity 180ms ease;
}
.menu-panel__inner > a:hover { transform: none; opacity: .72; }
.menu-panel__inner > a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.menu-panel__footer { position: fixed; z-index: 20; right: calc(26px + env(safe-area-inset-right)); bottom: var(--menu-footer-bottom); left: calc(26px + env(safe-area-inset-left)); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; }
.menu-panel__imprint { grid-column: 3; justify-self: end; padding: 0; color: rgb(255 255 255 / 75%); font-size: 12px; font-weight: 300; letter-spacing: .15em; text-shadow: 0 1px 10px rgb(0 16 32 / 25%); }
.menu-panel__imprint:hover { color: #fff; }
.menu-panel__imprint:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.menu-panel__social { grid-column: 2; display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3.2vw, 48px); margin: 0; }
.menu-panel__social .social-links__link { width: clamp(32px, 3vw, 46px); height: clamp(32px, 3vw, 46px); }
body.menu-open > .social-links { visibility: hidden; }
body.portfolio-home > .social-links.is-away { visibility: hidden; opacity: 0; pointer-events: none; }
body.menu-open .logo-link { position: relative; z-index: 21; mix-blend-mode: normal; }
body.menu-open .menu-toggle { mix-blend-mode: normal; }
@media (max-width: 760px) {
  .menu-panel { --menu-footer-bottom: calc(22px + env(safe-area-inset-bottom)); background-position: center, 74% center; }
  .menu-panel__social .social-links__link { width: 32px; height: 32px; }
  .menu-panel__footer { right: calc(18px + env(safe-area-inset-right)); left: calc(18px + env(safe-area-inset-left)); }
}
@media (max-width: 360px) {
  .menu-panel__social { gap: 10px; }
}
@media (max-height: 650px) {
  .menu-panel { --menu-footer-bottom: calc(18px + env(safe-area-inset-bottom)); padding-top: 72px; padding-bottom: 24px; }
  .menu-panel__inner > a { font-size: clamp(34px, 11svh, 70px); }
  .menu-panel__social .social-links__link { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-panel { animation: none; }
}

/* Designer header lockup and responsive brand mark. */
.site-header--fixed {
  height: 132px;
  z-index: 20;
  padding: clamp(22px, 2vw, 42px) clamp(26px, 4.7vw, 96px) 18px;
  align-items: center;
}
.site-header--fixed .logo-link,
.project-viewer__logo {
  display: block;
  flex: 0 0 auto;
  width: calc(clamp(64px, 7.2vw, 148px) * .8);
  height: auto;
  aspect-ratio: 462.27 / 312.01;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  color: #fff;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}
.site-header--fixed .logo-link img,
.project-viewer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  visibility: visible;
  transition: none;
}
.site-header--fixed .site-header__identity,
.viewer-identity {
  display: flex;
  align-items: baseline;
  gap: clamp(9px, .9vw, 17px);
  color: #fff;
  font-family: var(--type-global-font-family, var(--font));
  font-size: clamp(16.5px, 1.062vw, 21.25px);
  line-height: 1;
  letter-spacing: calc(.08em * var(--type-letter-spacing-scale, 1));
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(0 0 0 / 20%);
}
.site-header--fixed .site-header__identity {
  position: relative;
  z-index: 22;
  margin: 0 0 0 auto;
}
.site-header--fixed a.site-header__identity { cursor: pointer; }
.site-header--fixed a.site-header__identity:hover { opacity: .78; }
.site-header--fixed a.site-header__identity:focus-visible,
.site-header--fixed .logo-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.site-header--fixed { top: 0; }
body.menu-open .site-header--fixed .site-header__identity { color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 24%); }
.site-header__name { font-weight: 500; }
.site-header__role { font-weight: 300; }
.site-header--fixed .menu-toggle {
  width: 42px;
  height: 48px;
  margin: 0 0 0 clamp(18px, 2vw, 34px);
  padding: 8px 2px;
  align-items: center;
  gap: 5px;
  color: #fff;
  mix-blend-mode: normal;
}
.site-header--fixed .menu-toggle span {
  position: relative;
  width: 25px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .15s ease;
}
.site-header--fixed .menu-toggle span:nth-child(2),
.site-header--fixed .menu-toggle span:nth-child(3) { width: 25px; }
.site-header--fixed .menu-toggle[aria-expanded="true"] span:first-child,
.site-header--fixed .menu-toggle[aria-expanded="true"] span:last-child {
  width: 0;
  opacity: 0;
  transform: none;
}
.site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 25px;
  transform: rotate(45deg);
}
.site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(3) {
  width: 25px;
  opacity: 0;
  transform: none;
}
.site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2)::after {
  position: absolute;
  inset: 0;
  content: "";
  background: currentColor;
  transform: rotate(90deg);
}
.project-viewer__logo { z-index: 20; top: clamp(22px, 2vw, 42px); left: clamp(26px, 4.7vw, 96px); }
.viewer-identity {
  position: absolute;
  z-index: 4;
  top: calc(clamp(24px, 1.8vw, 37px) + env(safe-area-inset-top));
  right: calc(104px + env(safe-area-inset-right));
  align-items: center;
  min-height: 48px;
}
.viewer-close { top: calc(22px + env(safe-area-inset-top)); }
.hero-pagination__marker { flex-basis: var(--hero-marker-size, 19px); width: var(--hero-marker-size, 19px); height: var(--hero-marker-size, 19px); }
.hero-pagination__marker.is-active { flex-basis: var(--hero-active-width, 106px); width: var(--hero-active-width, 106px); }
.hero-pagination.is-static .hero-pagination__marker.is-active { flex-basis: var(--hero-marker-size, 19px); width: var(--hero-marker-size, 19px); }
.hero-scroll-cue svg { stroke-width: 2.6; }
@media (min-width: 761px) and (max-width: 1024px) {
  .site-header--fixed .logo-link,
  .project-viewer__logo { width: calc(clamp(64px, 7.2vw, 84px) * .8); }
}
@media (max-width: 760px) {
  .site-header--fixed {
    height: 88px;
    padding: calc(10px + env(safe-area-inset-top)) clamp(24px, 8.2vw, 72px) 10px;
    align-items: flex-start;
  }
  .site-header--fixed .logo-link,
  .project-viewer__logo { width: calc(clamp(50px, 8vw, 92px) * .8); height: auto; }
  .site-header--fixed .site-header__identity,
  .viewer-identity {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: clamp(14.16px, 3.186vw, 17.7px);
    letter-spacing: calc(.095em * var(--type-letter-spacing-scale, 1));
  }
  .site-header--fixed .site-header__identity { margin-top: calc((clamp(50px, 8vw, 92px) * .54 - clamp(14.16px, 3.186vw, 17.7px)) * .5); }
  .site-header__role { font-size: .88em; }
  .site-header--fixed .menu-toggle {
    width: 34px;
    height: 40px;
    margin: calc((clamp(50px, 8vw, 92px) * .54 - 40px) * .5) 0 0 clamp(11px, 3vw, 20px);
    padding: 5px 0;
    gap: 4px;
  }
  .site-header--fixed .menu-toggle span,
  .site-header--fixed .menu-toggle span:nth-child(2),
  .site-header--fixed .menu-toggle span:nth-child(3) { width: 22px; }
  .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2),
  .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 22px; }
  .hero-pagination__marker { flex-basis: var(--hero-marker-size, 14px); width: var(--hero-marker-size, 14px); height: var(--hero-marker-size, 14px); }
  .hero-pagination__marker.is-active { flex-basis: var(--hero-active-width, 75px); width: var(--hero-active-width, 75px); }
  .carousel-controls { gap: var(--carousel-control-gap, 8px); }
  .carousel-toggle { flex-basis: var(--carousel-toggle-size, 14px); width: var(--carousel-toggle-size, 14px); height: var(--carousel-toggle-size, 14px); }
  .hero-pagination.is-static .hero-pagination__marker.is-active { flex-basis: var(--hero-marker-size, 14px); width: var(--hero-marker-size, 14px); }
  .project-viewer__logo { top: calc(10px + env(safe-area-inset-top)); left: clamp(24px, 8.2vw, 72px); }
  .viewer-identity {
    top: calc(12px + env(safe-area-inset-top));
    right: calc(78px + env(safe-area-inset-right));
    min-height: 40px;
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  .site-header--fixed { height: 62px; padding-top: calc(8px + env(safe-area-inset-top)); }
  .site-header--fixed .logo-link,
  .project-viewer__logo { width: calc(clamp(46px, 8vh, 68px) * .8); height: auto; }
  .site-header--fixed .site-header__identity,
  .viewer-identity { flex-direction: row; align-items: baseline; gap: 8px; font-size: clamp(14.16px, 1.77vw, 18.88px); }
  .site-header--fixed .site-header__identity { margin-top: calc((clamp(46px, 8vh, 68px) * .54 - clamp(14.16px, 1.77vw, 18.88px)) * .5); }
  .site-header--fixed .menu-toggle { margin-top: calc((clamp(46px, 8vh, 68px) * .54 - 40px) * .5); }
  .site-header__role { font-size: 1em; }
  .project-viewer__logo { top: calc(8px + env(safe-area-inset-top)); }
  .viewer-identity { top: calc(10px + env(safe-area-inset-top)); min-height: 34px; }
}
.social-links { color: #fff; mix-blend-mode: normal; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 34%)); }

/* About page */
body.about-page { min-height: 100svh; color: #f4f3ef; background-color: #444444; }
.about-content { overflow: hidden; }
.about-hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .8fr); align-items: center; gap: clamp(42px, 8vw, 132px); padding: clamp(132px, 15vh, 190px) var(--side) clamp(72px, 9vh, 120px); }
.about-hero__copy { max-width: 900px; }
.about-hero__copy > .eyebrow { margin-bottom: clamp(24px, 4vw, 54px); color: rgb(255 255 255 / 72%); }
.about-hero__copy > .eyebrow span { padding: 0 5px; color: #b9b9b4; }
.about-hero h1 { max-width: 9.4ch; margin: 0 0 clamp(26px, 4vw, 48px); font-size: clamp(58px, 8.3vw, 132px); font-weight: 300; letter-spacing: -.065em; line-height: .87; }
.about-hero__lead { max-width: 620px; margin: 0; color: rgb(255 255 255 / 76%); font-size: clamp(19px, 2vw, 25px); line-height: 1.45; }
.about-hero__portrait { width: min(100%, 580px); justify-self: end; margin: 0; }
.about-hero__portrait img { width: 100%; max-height: 78svh; aspect-ratio: .687; object-fit: cover; object-position: center 34%; background: #292929; }
.about-hero__portrait figcaption { margin-top: 11px; color: rgb(255 255 255 / 72%); font-size: 11px; letter-spacing: .08em; }
.about-page .about-hero__portrait img,
.about-page .about-personal__image img { filter: grayscale(1); }
.about-page .about-section { grid-template-columns: minmax(170px, .8fr) 2fr; gap: clamp(30px, 8vw, 130px); padding: clamp(76px, 9vw, 130px) var(--side); border-top: 1px solid rgb(255 255 255 / 15%); color: #f4f3ef; }
.about-page .about-section > .eyebrow { padding-top: 9px; color: rgb(255 255 255 / 68%); }
.about-page .about-section__body { max-width: 900px; }
.about-page .about-section__body h2 { max-width: 13ch; margin: 0 0 clamp(24px, 4vw, 42px); font-size: clamp(42px, 6vw, 78px); font-weight: 300; letter-spacing: -.055em; line-height: .92; }
.about-page .about-section__body > p { max-width: 730px; margin: 0 0 20px; color: rgb(255 255 255 / 72%); font-size: clamp(18px, 1.75vw, 22px); line-height: 1.5; }
.about-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(22px, 5vw, 70px); border-top: 1px solid rgb(255 255 255 / 24%); }
.about-fields article { padding: 23px 0 25px; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.about-fields h3 { margin: 0 0 8px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 300; letter-spacing: -.02em; }
.about-fields p { max-width: 330px; margin: 0; color: rgb(255 255 255 / 64%); font-size: 16px; line-height: 1.4; }
.about-page .about-personal__layout { max-width: none; display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.about-personal__layout > div > p { max-width: 560px; margin: 0; color: rgb(255 255 255 / 72%); font-size: clamp(18px, 1.75vw, 22px); line-height: 1.5; }
.about-personal__image { min-width: 0; margin: 0; overflow: hidden; }
.about-personal__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 34% center; background: #252525; }
.about-personal__image figcaption { margin-top: 11px; color: rgb(255 255 255 / 72%); font-size: 11px; letter-spacing: .08em; }
.about-contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: clamp(48px, 7vw, 96px) var(--side) clamp(56px, 8vw, 110px); border-top: 1px solid rgb(255 255 255 / 15%); }
.about-contact .eyebrow { color: rgb(255 255 255 / 68%); }
.about-contact > a { font-size: clamp(48px, 8vw, 112px); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.about-contact > a svg { display: inline-block; width: .58em; height: .58em; margin-left: .08em; vertical-align: .12em; transition: transform .2s ease; }
.about-contact > a:hover svg { transform: translate(5px, -5px); }
@media (max-width: 760px) {
  .about-hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 112px var(--side) 62px; }
  .about-hero__copy > .eyebrow { margin-bottom: 24px; }
  .about-hero h1 { max-width: 8.7ch; margin-bottom: 24px; font-size: clamp(54px, 13vw, 88px); }
  .about-hero__lead { font-size: 19px; }
  .about-hero__portrait { width: min(100%, 510px); justify-self: center; }
  .about-hero__portrait img { max-height: 72svh; object-position: center 30%; }
  .about-page .about-section { grid-template-columns: 1fr; gap: 27px; padding: 62px var(--side); }
  .about-page .about-section__body h2 { margin-bottom: 22px; font-size: clamp(42px, 11vw, 64px); }
  .about-page .about-section__body > p { font-size: 18px; }
  .about-fields { grid-template-columns: 1fr; }
  .about-fields article { padding: 19px 0 21px; }
  .about-page .about-personal__layout { grid-template-columns: 1fr; gap: 25px; }
  .about-personal__layout > div > p { font-size: 18px; }
  .about-contact { align-items: flex-start; flex-direction: column; gap: 28px; padding: 50px var(--side) 64px; }
  .about-contact > a { font-size: clamp(52px, 13vw, 80px); }
}

/* Homepage rows rebalance widths and share a computed height so reordering
   featured images never leaves exposed grey gaps between columns. */
.project-grid--home { display: flex; flex-direction: column; gap: var(--gallery-gap, 0px); }
.project-grid--home .project-grid__row {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--gallery-gap, 0px);
  width: 100%;
  height: var(--grid-row-height, 48vw);
  margin: 0;
  overflow: hidden;
}
.project-grid--home .project-grid__row > .project-card {
  grid-column: span var(--home-span, 6);
  min-width: 0;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: var(--homepage-corner-radius, 8px);
  overflow: hidden;
  isolation: isolate;
}
.project-grid--home .project-card--spacer { background: var(--gallery-background); }
.project-card__spacer-label {
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3vw, 48px);
  place-items: center;
  color: #f4f3ef;
  font-size: clamp(14px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.project-grid--home .project-grid__row .project-card__trigger {
  height: 100%;
  aspect-ratio: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: var(--homepage-corner-radius, 8px);
}
.project-grid--home .project-grid__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gallery-gap, 0px); width: 100%; }
.project-grid--home .project-grid__split-column { display: flex; flex-direction: column; align-items: stretch; gap: var(--gallery-gap, 0px); min-width: 0; }
.project-grid--home .project-grid__split .project-card { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: var(--split-aspect, 1.42); margin: 0; border-radius: var(--homepage-corner-radius, 8px); overflow: hidden; isolation: isolate; }
.project-grid--home .project-grid__split-column > .project-card:last-child { flex-grow: 1; }
.project-grid--home .project-grid__split .project-card__trigger { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: var(--homepage-corner-radius, 8px); }
.project-grid--home .project-grid__free { display: grid; grid-template-columns: repeat(var(--free-columns, 12), minmax(0, 1fr)); grid-auto-rows: var(--free-unit, 12px); gap: var(--gallery-gap, 0px); width: 100%; }
.project-grid--home .project-grid__free > .project-card { min-width: 0; min-height: 0; margin: 0; border-radius: var(--homepage-corner-radius, 8px); overflow: hidden; isolation: isolate; }
.project-grid--home .project-grid__free .project-card__trigger { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: var(--homepage-corner-radius, 8px); }
html body.about-page { background-color: var(--gallery-background, #444444); }

/* Contact and legal pages */
body.contact-page, body.legal-page { min-height: 100svh; color: #f4f3ef; background: var(--gallery-background, #444444); }
.contact-content, .legal-content { width: min(100%, 1700px); margin: 0 auto; padding: clamp(142px, 18vh, 210px) var(--side) clamp(76px, 10vh, 140px); }
.contact-intro, .legal-intro { max-width: 1120px; margin-bottom: clamp(72px, 12vh, 150px); }
.contact-intro .eyebrow, .legal-intro .eyebrow { margin-bottom: clamp(25px, 4vw, 52px); color: rgb(255 255 255 / 58%); }
.contact-intro h1, .legal-intro h1 { margin: 0; font-size: clamp(66px, 12.5vw, 190px); font-weight: 300; letter-spacing: -.075em; line-height: .82; }
.contact-intro h1 span, .legal-intro h1 span { color: rgb(255 255 255 / 55%); }
.contact-intro__note { margin: clamp(26px, 4vw, 48px) 0 0; color: rgb(255 255 255 / 70%); font-size: clamp(16px, 1.7vw, 22px); }
.contact-details { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(38px, 9vw, 140px); padding-top: 26px; border-top: 1px solid rgb(255 255 255 / 28%); }
.contact-details address { display: grid; align-content: start; gap: 6px; color: rgb(255 255 255 / 70%); font-size: clamp(16px, 1.5vw, 19px); font-style: normal; line-height: 1.45; }
.contact-details address strong { margin-bottom: 10px; color: #f4f3ef; font-weight: 300; }
.contact-details__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.contact-details__links a { display: grid; align-content: start; gap: 8px; min-width: 0; }
.contact-details__links a span { color: rgb(255 255 255 / 52%); font-size: 12px; letter-spacing: .08em; }
.contact-details__links a strong { overflow-wrap: anywhere; font-size: clamp(17px, 1.7vw, 23px); font-weight: 300; }
.contact-details a:hover { color: #bdbdb7; }
.legal-content { max-width: 1400px; }
.legal-intro { margin-bottom: clamp(80px, 14vh, 170px); }
.legal-intro h1 { font-size: clamp(60px, 10vw, 150px); }
.legal-section { display: grid; grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr); gap: clamp(32px, 8vw, 120px); padding: clamp(36px, 6vw, 82px) 0; border-top: 1px solid rgb(255 255 255 / 24%); }
.legal-section > .eyebrow { padding-top: 8px; color: rgb(255 255 255 / 55%); }
.legal-copy { max-width: 850px; min-width: 0; }
.legal-copy h2 { margin: 0 0 30px; font-size: clamp(32px, 4.2vw, 52px); font-weight: 300; letter-spacing: -.045em; line-height: .98; }
.legal-copy h3 { margin: 42px 0 12px; font-size: 17px; font-weight: 300; letter-spacing: -.01em; }
.legal-copy p, .legal-copy address { margin: 0 0 18px; color: rgb(255 255 255 / 70%); font-size: clamp(15px, 1.28vw, 17px); font-style: normal; line-height: 1.65; }
.legal-copy a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 38%); text-underline-offset: 3px; }
.legal-copy a:hover { color: #fff; text-decoration-color: currentColor; }
.legal-draft-note { margin-bottom: 42px; padding: 20px 22px; border: 1px solid rgb(255 255 255 / 28%); background: rgb(255 255 255 / 5%); }
.legal-draft-note strong { font-size: 14px; font-weight: 300; }
.legal-copy .legal-draft-note p { margin: 8px 0 0; font-size: 14px; }
.legal-copy__updated { padding-top: 14px; color: rgb(255 255 255 / 48%) !important; font-size: 12px !important; }
@media (max-width: 760px) {
  .contact-content, .legal-content { padding-top: 112px; padding-bottom: 72px; }
  .contact-intro, .legal-intro { margin-bottom: 70px; }
  .contact-intro h1 { font-size: clamp(58px, 14vw, 96px); }
  .legal-intro h1 { font-size: clamp(54px, 12vw, 94px); }
  .contact-details, .legal-section { grid-template-columns: 1fr; gap: 28px; }
  .contact-details__links { grid-template-columns: 1fr; gap: 22px; }
  .legal-section { padding: 34px 0 48px; }
  .legal-copy h3 { margin-top: 34px; }
}

/* CMS typography controls: values are supplied by the portfolio API. */
body { font-family: var(--type-global-font-family, var(--font)); font-size: calc(var(--type-body-size, 17px) * var(--type-size-scale, 1)); font-weight: var(--type-body-weight, 300); line-height: calc(var(--type-body-line-height, 1.35) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-body-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.eyebrow { font-family: var(--type-global-font-family, var(--font)); font-size: calc(var(--type-eyebrow-size, 11px) * var(--type-size-scale, 1)); font-weight: var(--type-eyebrow-weight, 300); line-height: calc(var(--type-eyebrow-line-height, 1.3) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-eyebrow-letter-spacing, .17em) * var(--type-letter-spacing-scale, 1)); }
.menu-panel { font-family: var(--type-homepage-font-family, var(--type-global-font-family, var(--font))); }
.menu-panel__inner > a { font-size: calc(var(--type-menu-size, clamp(58px, min(15vw, 15svh), 164px)) * var(--type-menu-size-scale, 1)); font-weight: var(--type-menu-weight, 300); line-height: calc(var(--type-menu-line-height, 1.02) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-menu-letter-spacing, -.035em) * var(--type-letter-spacing-scale, 1)); }
.menu-panel__imprint { font-size: calc(var(--type-menu_imprint-size, 12px) * var(--type-menu-size-scale, 1)); font-weight: var(--type-menu_imprint-weight, 300); line-height: 1; letter-spacing: calc(var(--type-menu_imprint-letter-spacing, .15em) * var(--type-letter-spacing-scale, 1)); }
.project-card__title { font-size: calc(var(--type-grid_title-size, clamp(11px, 1.2vw, 17px)) * var(--type-size-scale, 1)); font-weight: var(--type-grid_title-weight, 300); line-height: calc(var(--type-grid_title-line-height, 1.1) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-grid_title-letter-spacing, .02em) * var(--type-letter-spacing-scale, 1)); }
.project-card__category { font-size: calc(var(--type-grid_category-size, 12px) * var(--type-size-scale, 1)); font-weight: var(--type-grid_category-weight, 300); line-height: calc(var(--type-grid_category-line-height, 1.2) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-grid_category-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.project-card__spacer-label { font-size: calc(var(--type-tile_label-size, clamp(14px, 1.6vw, 26px)) * var(--type-size-scale, 1)); font-weight: var(--type-tile_label-weight, 300); line-height: calc(var(--type-tile_label-line-height, 1.25) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-tile_label-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.project-modal__card { font-family: var(--type-homepage-font-family, var(--type-global-font-family, var(--font))); }
.project-modal__card h2 { font-size: calc(var(--type-overlay_title-size, clamp(20px, 3vw, 42px)) * var(--type-size-scale, 1)); font-weight: var(--type-overlay_title-weight, 300); line-height: calc(var(--type-overlay_title-line-height, 1) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-overlay_title-letter-spacing, .01em) * var(--type-letter-spacing-scale, 1)); }
.project-modal__view { font-size: calc(var(--type-overlay_view-size, clamp(21px, 2.4vw, 26px)) * var(--type-size-scale, 1)); font-weight: var(--type-overlay_view-weight, 300); line-height: calc(var(--type-overlay_view-line-height, 1) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-overlay_view-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.about-page { font-family: var(--type-about-font-family, var(--type-global-font-family, var(--font))); }
.about-hero h1 { font-size: calc(var(--type-about_h1-size, clamp(54px, 8.3vw, 132px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_h1-weight, 300); line-height: calc(var(--type-about_h1-line-height, .87) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_h1-letter-spacing, -.065em) * var(--type-letter-spacing-scale, 1)); }
.about-hero__lead { font-size: calc(var(--type-about_lead-size, clamp(19px, 2vw, 25px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_lead-weight, 300); line-height: calc(var(--type-about_lead-line-height, 1.45) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_lead-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.about-page .about-section__body h2 { font-size: calc(var(--type-about_h2-size, clamp(42px, 6vw, 78px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_h2-weight, 300); line-height: calc(var(--type-about_h2-line-height, .92) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_h2-letter-spacing, -.055em) * var(--type-letter-spacing-scale, 1)); }
.about-page .about-section__body > p, .about-personal__layout > div > p { font-size: calc(var(--type-about_body-size, clamp(18px, 1.75vw, 22px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_body-weight, 300); line-height: calc(var(--type-about_body-line-height, 1.5) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_body-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.about-fields h3 { font-size: calc(var(--type-about_h3-size, clamp(20px, 2.1vw, 27px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_h3-weight, 300); line-height: calc(var(--type-about_h3-line-height, 1.15) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_h3-letter-spacing, -.02em) * var(--type-letter-spacing-scale, 1)); }
.about-fields p { font-size: calc(var(--type-about_fields_body-size, 16px) * var(--type-size-scale, 1)); font-weight: var(--type-about_fields_body-weight, 300); line-height: calc(var(--type-about_fields_body-line-height, 1.4) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_fields_body-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.about-hero__portrait figcaption, .about-personal__image figcaption { font-size: calc(var(--type-about_caption-size, 11px) * var(--type-size-scale, 1)); font-weight: var(--type-about_caption-weight, 300); line-height: calc(var(--type-about_caption-line-height, 1.2) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_caption-letter-spacing, .08em) * var(--type-letter-spacing-scale, 1)); }
.about-contact > a { font-size: calc(var(--type-about_contact-size, clamp(52px, 8vw, 112px)) * var(--type-size-scale, 1)); font-weight: var(--type-about_contact-weight, 300); line-height: calc(var(--type-about_contact-line-height, .9) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-about_contact-letter-spacing, -.06em) * var(--type-letter-spacing-scale, 1)); }
.contact-page { font-family: var(--type-contact-font-family, var(--type-global-font-family, var(--font))); }
.contact-intro h1 { font-size: calc(var(--type-contact_h1-size, clamp(58px, 12.5vw, 180px)) * var(--type-size-scale, 1)); font-weight: var(--type-contact_h1-weight, 300); line-height: calc(var(--type-contact_h1-line-height, .82) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-contact_h1-letter-spacing, -.075em) * var(--type-letter-spacing-scale, 1)); }
.contact-intro__note { font-size: calc(var(--type-contact_note-size, clamp(16px, 1.7vw, 22px)) * var(--type-size-scale, 1)); font-weight: var(--type-contact_note-weight, 300); line-height: calc(var(--type-contact_note-line-height, 1.4) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-contact_note-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.contact-details address { font-size: calc(var(--type-contact_address-size, clamp(16px, 1.5vw, 19px)) * var(--type-size-scale, 1)); font-weight: var(--type-contact_address-weight, 300); line-height: calc(var(--type-contact_address-line-height, 1.45) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-contact_address-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.contact-details__links a span { font-size: calc(var(--type-contact_label-size, 12px) * var(--type-size-scale, 1)); font-weight: var(--type-contact_label-weight, 300); line-height: calc(var(--type-contact_label-line-height, 1.2) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-contact_label-letter-spacing, .08em) * var(--type-letter-spacing-scale, 1)); }
.contact-details__links a strong { font-size: calc(var(--type-contact_value-size, clamp(17px, 1.7vw, 23px)) * var(--type-size-scale, 1)); font-weight: var(--type-contact_value-weight, 300); line-height: calc(var(--type-contact_value-line-height, 1.3) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-contact_value-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.legal-page { font-family: var(--type-imprint-font-family, var(--type-global-font-family, var(--font))); }
.legal-intro h1 { font-size: calc(var(--type-imprint_h1-size, clamp(54px, 10vw, 144px)) * var(--type-size-scale, 1)); font-weight: var(--type-imprint_h1-weight, 300); line-height: calc(var(--type-imprint_h1-line-height, .82) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-imprint_h1-letter-spacing, -.075em) * var(--type-letter-spacing-scale, 1)); }
.legal-copy h2 { font-size: calc(var(--type-imprint_h2-size, clamp(32px, 4.2vw, 52px)) * var(--type-size-scale, 1)); font-weight: var(--type-imprint_h2-weight, 300); line-height: calc(var(--type-imprint_h2-line-height, .98) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-imprint_h2-letter-spacing, -.045em) * var(--type-letter-spacing-scale, 1)); }
.legal-copy h3 { font-size: calc(var(--type-imprint_h3-size, 17px) * var(--type-size-scale, 1)); font-weight: var(--type-imprint_h3-weight, 300); line-height: calc(var(--type-imprint_h3-line-height, 1.2) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-imprint_h3-letter-spacing, -.01em) * var(--type-letter-spacing-scale, 1)); }
.legal-copy p, .legal-copy address { font-size: calc(var(--type-imprint_body-size, clamp(15px, 1.28vw, 17px)) * var(--type-size-scale, 1)); font-weight: var(--type-imprint_body-weight, 300); line-height: calc(var(--type-imprint_body-line-height, 1.65) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-imprint_body-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.legal-draft-note strong, .legal-copy .legal-draft-note p { font-size: calc(var(--type-imprint_note-size, 14px) * var(--type-size-scale, 1)); font-weight: var(--type-imprint_note-weight, 300); line-height: calc(var(--type-imprint_note-line-height, 1.4) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-imprint_note-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.legal-copy__updated { font-size: calc(var(--type-imprint_updated-size, 12px) * var(--type-size-scale, 1)) !important; font-weight: var(--type-imprint_updated-weight, 300) !important; line-height: calc(var(--type-imprint_updated-line-height, 1.4) * var(--type-line-height-scale, 1)) !important; letter-spacing: calc(var(--type-imprint_updated-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)) !important; }

/* Content pages share one fluid left/right rail with their fixed header. */
body:is(.about-page, .contact-page, .legal-page) {
  --page-rail: clamp(26px, 4.7vw, 96px);
  --side: var(--page-rail);
  --brand-side-desktop: var(--page-rail);
  --brand-side-mobile: var(--page-rail);
}
body:is(.about-page, .contact-page, .legal-page) .site-header--fixed { padding-inline: var(--page-rail); }
body:is(.about-page, .contact-page, .legal-page) .site-header--fixed .logo-link { transform-origin: left center; }
body:is(.contact-page, .legal-page) :is(.contact-content, .legal-content) {
  width: 100%;
  max-width: none;
  padding-inline: var(--page-rail);
}
@media (max-width: 760px) {
  body:is(.about-page, .contact-page, .legal-page) {
    --page-rail: clamp(24px, 8.2vw, 72px);
  }
  .about-page .about-hero__portrait { width: 100%; justify-self: stretch; }
}
.project-page { font-family: var(--type-viewer-font-family, var(--type-global-font-family, var(--font))); }
.viewer-close { font-size: calc(calc(var(--type-viewer_close-size, 38px) + 16.41px) * var(--type-size-scale, 1)); font-weight: var(--type-viewer_close-weight, 300); line-height: calc(var(--type-viewer_close-line-height, 1) * var(--type-line-height-scale, 1)); letter-spacing: calc(var(--type-viewer_close-letter-spacing, 0em) * var(--type-letter-spacing-scale, 1)); }
.site-header__name, .viewer-identity .site-header__name { font-size: calc(var(--type-brand_name-size, 1em) * var(--type-brand-size-scale, 1)); line-height: calc(var(--type-brand_name-line-height, 1) * var(--type-line-height-scale, 1)); letter-spacing: var(--type-brand_name-letter-spacing, inherit); }
.site-header__role, .viewer-identity .site-header__role { font-size: calc(var(--type-brand_name-size, 1em) * var(--type-brand-size-scale, 1)); line-height: calc(var(--type-brand_role-line-height, 1) * var(--type-line-height-scale, 1)); letter-spacing: var(--type-brand_role-letter-spacing, inherit); }

/* A block-level family overrides its page family only when selected in CMS. */
body.portfolio-home, body.archive-page { font-family: var(--type-body-font-family, var(--type-homepage-font-family, var(--type-global-font-family, var(--font)))); }
body.about-page { font-family: var(--type-body-font-family, var(--type-about-font-family, var(--type-global-font-family, var(--font)))); }
body.contact-page { font-family: var(--type-body-font-family, var(--type-contact-font-family, var(--type-global-font-family, var(--font)))); }
body.legal-page { font-family: var(--type-body-font-family, var(--type-imprint-font-family, var(--type-global-font-family, var(--font)))); }
body.project-page { font-family: var(--type-body-font-family, var(--type-viewer-font-family, var(--type-global-font-family, var(--font)))); }
.eyebrow { font-family: var(--type-eyebrow-font-family, inherit); }
.site-header__name, .viewer-identity .site-header__name { font-family: var(--type-brand_name-font-family, inherit); }
.site-header__role, .viewer-identity .site-header__role { font-family: var(--type-brand_role-font-family, inherit); }
.project-card__title { font-family: var(--type-grid_title-font-family, inherit); }
.project-card__category { font-family: var(--type-grid_category-font-family, inherit); }
.project-card__spacer-label { font-family: var(--type-tile_label-font-family, inherit); }
.project-modal__card h2 { font-family: var(--type-overlay_title-font-family, inherit); }
.project-modal__view { font-family: var(--type-overlay_view-font-family, inherit); }
.menu-panel__inner > a { font-family: var(--type-menu-font-family, inherit); }
.menu-panel__imprint { font-family: var(--type-menu_imprint-font-family, inherit); }
.viewer-close { font-family: var(--type-viewer_close-font-family, inherit); }
.about-hero h1 { font-family: var(--type-about_h1-font-family, inherit); }
.about-hero__lead { font-family: var(--type-about_lead-font-family, inherit); }
.about-page .about-section__body h2 { font-family: var(--type-about_h2-font-family, inherit); }
.about-page .about-section__body > p, .about-personal__layout > div > p { font-family: var(--type-about_body-font-family, inherit); }
.about-fields h3 { font-family: var(--type-about_h3-font-family, inherit); }
.about-fields p { font-family: var(--type-about_fields_body-font-family, inherit); }
.about-hero__portrait figcaption, .about-personal__image figcaption { font-family: var(--type-about_caption-font-family, inherit); }
.about-contact > a { font-family: var(--type-about_contact-font-family, inherit); }
.contact-intro h1 { font-family: var(--type-contact_h1-font-family, inherit); }
.contact-intro__note { font-family: var(--type-contact_note-font-family, inherit); }
.contact-details address { font-family: var(--type-contact_address-font-family, inherit); }
.contact-details__links a span { font-family: var(--type-contact_label-font-family, inherit); }
.contact-details__links a strong { font-family: var(--type-contact_value-font-family, inherit); }
.legal-intro h1 { font-family: var(--type-imprint_h1-font-family, inherit); }
.legal-copy h2 { font-family: var(--type-imprint_h2-font-family, inherit); }
.legal-copy h3 { font-family: var(--type-imprint_h3-font-family, inherit); }
.legal-copy p, .legal-copy address { font-family: var(--type-imprint_body-font-family, inherit); }
.legal-draft-note strong, .legal-copy .legal-draft-note p { font-family: var(--type-imprint_note-font-family, inherit); }
.legal-copy__updated { font-family: var(--type-imprint_updated-font-family, inherit) !important; }

/* Keep the brand lockup anchored at the same screen coordinates across routes. */
:root {
  --brand-side-desktop: clamp(26px, 4.7vw, 96px);
  --brand-mark-center-y: calc(57px + clamp(22px, 2vw, 42px) * .5);
}
.site-header--fixed .site-header__identity {
  position: absolute;
  top: var(--brand-mark-center-y);
  right: calc(var(--brand-side-desktop) + 42px + clamp(18px, 2vw, 34px));
  transform: translateY(-50%);
  margin: 0;
}
.project-viewer__logo {
  top: calc(var(--brand-mark-center-y) - clamp(64px, 7.2vw, 148px) * .27);
  left: var(--brand-side-desktop);
}
.viewer-identity {
  top: var(--brand-mark-center-y);
  right: calc(var(--brand-side-desktop) + 42px + clamp(18px, 2vw, 34px));
  min-height: 0;
  transform: translateY(-50%);
}
.viewer-close {
  top: var(--brand-mark-center-y);
  right: calc(var(--brand-side-desktop) - 10px);
  transform: translateY(-50%);
}
.viewer-close:hover { transform: translateY(-50%) rotate(90deg); }
.project-viewer__logo, .viewer-identity, .viewer-close { position: fixed; translate: 0 var(--visual-viewport-top, 0px); }
@media (min-width: 761px) and (max-width: 1024px) {
  .project-viewer__logo { top: calc(var(--brand-mark-center-y) - clamp(64px, 7.2vw, 84px) * .27); }
  .viewer-close { right: calc(var(--brand-side-desktop) - 13px); }
}
@media (max-width: 760px) {
  :root { --brand-mark-center-y: calc(10px + env(safe-area-inset-top) + clamp(50px, 8vw, 92px) * .27); --brand-side-mobile: clamp(24px, 8.2vw, 72px); }
  .site-header--fixed .site-header__identity {
    top: calc(var(--brand-mark-center-y) - clamp(14.16px, 3.186vw, 17.7px) * .5);
    right: calc(var(--brand-side-mobile) + 34px + clamp(11px, 3vw, 20px));
    transform: none;
  }
  .project-viewer__logo { top: calc(10px + env(safe-area-inset-top)); left: clamp(24px, 8.2vw, 72px); }
  .viewer-identity {
    top: calc(var(--brand-mark-center-y) - clamp(14.16px, 3.186vw, 17.7px) * .5);
    right: calc(clamp(24px, 8.2vw, 72px) + 34px + clamp(11px, 3vw, 20px));
    transform: none;
  }
  .viewer-close { top: var(--brand-mark-center-y); right: calc(var(--brand-side-mobile, 24px) - 12px); }
}
@media (max-width: 760px) and (orientation: landscape) {
  :root { --brand-mark-center-y: calc(8px + env(safe-area-inset-top) + clamp(46px, 8vh, 68px) * .27); }
  .site-header--fixed .site-header__identity,
  .viewer-identity { top: calc(var(--brand-mark-center-y) - clamp(14.16px, 1.77vw, 18.88px) * .5); }
  .project-viewer__logo { top: calc(8px + env(safe-area-inset-top)); }
}

/* iPad portrait keeps the first line on the mark's center; the role sits below it. */
@media (min-width: 761px) and (max-width: 1100px) {
  :root { --brand-portrait-name-size: 16px; --brand-portrait-name-offset: 18px; }
  .site-header--fixed .site-header__identity,
  .viewer-identity {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: var(--brand-portrait-name-size);
  }
  .site-header--fixed .site-header__identity {
    top: calc(var(--brand-mark-center-y) - var(--brand-portrait-name-offset));
    transform: none;
  }
  .viewer-identity {
    top: calc(var(--brand-mark-center-y) - var(--brand-portrait-name-offset));
    transform: none;
  }
  .site-header__role { font-size: .88em; }
}
@media (max-width: 760px) and (orientation: portrait) {
  /* Safari can change safe-area-inset-top when its toolbar collapses. The
     viewport already excludes that area, so keep this header rail fixed. */
  :root { --brand-mark-center-y: calc(22px + clamp(50px, 8vw, 92px) * .27); }
  .site-header--fixed { height: 100px; padding-top: 22px; }
  .project-viewer__logo { top: 22px; }
  .site-header--fixed .logo-link, .project-viewer__logo { transform: scale(1.38); }
  .site-header--fixed .site-header__identity,
  .viewer-identity { top: var(--brand-mark-center-y); transform: translateY(-50%); }
  .site-header--fixed .site-header__name, .viewer-identity .site-header__name,
  .site-header--fixed .site-header__role, .viewer-identity .site-header__role { font-size: calc(calc(var(--type-brand_name-size, 1em) * .9) * var(--type-brand-size-scale, 1)); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header--fixed .site-header__role, .viewer-identity .site-header__role { font-size: calc(var(--type-brand_name-size, 1em) * var(--type-brand-size-scale, 1)); }
}

/* The active page weight applies to its text; menu text has an independent setting. */
.eyebrow { --type-current-block-weight: var(--type-eyebrow-weight, var(--type-page-font-weight, 300)); }
.project-card__title { --type-current-block-weight: var(--type-grid_title-weight, var(--type-page-font-weight, 300)); }
.project-card__category { --type-current-block-weight: var(--type-grid_category-weight, var(--type-page-font-weight, 300)); }
.project-card__spacer-label { --type-current-block-weight: var(--type-tile_label-weight, var(--type-page-font-weight, 300)); }
.project-modal__card h2 { --type-current-block-weight: var(--type-overlay_title-weight, var(--type-page-font-weight, 300)); }
.project-modal__view { --type-current-block-weight: var(--type-overlay_view-weight, var(--type-page-font-weight, 300)); }
.about-hero h1 { --type-current-block-weight: var(--type-about_h1-weight, var(--type-page-font-weight, 300)); }
.about-hero__lead { --type-current-block-weight: var(--type-about_lead-weight, var(--type-page-font-weight, 300)); }
.about-page .about-section__body h2 { --type-current-block-weight: var(--type-about_h2-weight, var(--type-page-font-weight, 300)); }
.about-page .about-section__body > p, .about-personal__layout > div > p { --type-current-block-weight: var(--type-about_body-weight, var(--type-page-font-weight, 300)); }
.about-fields h3 { --type-current-block-weight: var(--type-about_h3-weight, var(--type-page-font-weight, 300)); }
.about-fields p { --type-current-block-weight: var(--type-about_fields_body-weight, var(--type-page-font-weight, 300)); }
.about-hero__portrait figcaption, .about-personal__image figcaption { --type-current-block-weight: var(--type-about_caption-weight, var(--type-page-font-weight, 300)); }
.about-contact > a { --type-current-block-weight: var(--type-about_contact-weight, var(--type-page-font-weight, 300)); }
.contact-intro h1 { --type-current-block-weight: var(--type-contact_h1-weight, var(--type-page-font-weight, 300)); }
.contact-intro__note { --type-current-block-weight: var(--type-contact_note-weight, var(--type-page-font-weight, 300)); }
.contact-details address { --type-current-block-weight: var(--type-contact_address-weight, var(--type-page-font-weight, 300)); }
.contact-details__links a span { --type-current-block-weight: var(--type-contact_label-weight, var(--type-page-font-weight, 300)); }
.contact-details__links a strong { --type-current-block-weight: var(--type-contact_value-weight, var(--type-page-font-weight, 300)); }
.legal-intro h1 { --type-current-block-weight: var(--type-imprint_h1-weight, var(--type-page-font-weight, 300)); }
.legal-copy h2 { --type-current-block-weight: var(--type-imprint_h2-weight, var(--type-page-font-weight, 300)); }
.legal-copy h3 { --type-current-block-weight: var(--type-imprint_h3-weight, var(--type-page-font-weight, 300)); }
.legal-copy p, .legal-copy address { --type-current-block-weight: var(--type-imprint_body-weight, var(--type-page-font-weight, 300)); }
.legal-draft-note strong, .legal-copy .legal-draft-note p { --type-current-block-weight: var(--type-imprint_note-weight, var(--type-page-font-weight, 300)); }
.legal-copy__updated { --type-current-block-weight: var(--type-imprint_updated-weight, var(--type-page-font-weight, 300)); }
.viewer-close { --type-current-block-weight: var(--type-viewer_close-weight, var(--type-page-font-weight, 300)); }
body.portfolio-home :is(h1, h2, h3, h4, p, a, button, span, li, dt, dd, address, strong, small, label, figcaption, summary, time),
body.about-page :is(h1, h2, h3, h4, p, a, button, span, li, dt, dd, address, strong, small, label, figcaption, summary, time),
body.contact-page :is(h1, h2, h3, h4, p, a, button, span, li, dt, dd, address, strong, small, label, figcaption, summary, time),
body.legal-page :is(h1, h2, h3, h4, p, a, button, span, li, dt, dd, address, strong, small, label, figcaption, summary, time),
body.project-page :is(h1, h2, h3, h4, p, a, button, span, li, dt, dd, address, strong, small, label, figcaption, summary, time) {
  font-weight: var(--type-current-block-weight, var(--type-page-font-weight, 300)) !important;
}
body.menu-open .menu-panel__inner > a { font-weight: var(--type-menu-weight, 300) !important; }
body.menu-open .menu-panel__imprint { font-weight: var(--type-menu_imprint-weight, 300) !important; }
body:is(.portfolio-home, .about-page, .contact-page, .legal-page, .project-page) .site-header__identity .site-header__name,
body:is(.portfolio-home, .about-page, .contact-page, .legal-page, .project-page) .viewer-identity .site-header__name { font-weight: var(--type-brand_name-weight, 500) !important; }
body:is(.portfolio-home, .about-page, .contact-page, .legal-page, .project-page) .site-header__identity .site-header__role,
body:is(.portfolio-home, .about-page, .contact-page, .legal-page, .project-page) .viewer-identity .site-header__role { font-weight: var(--type-brand_role-weight, 300) !important; }

/* The viewer uses the same header box as the other routes. */
.project-page__header { top: var(--project-header-viewport-top, 0px); }
.project-page__header .project-viewer__logo {
  position: relative;
  top: auto;
  left: auto;
  translate: none;
}
.project-page__header .viewer-close {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 42px;
  width: 42px;
  height: 48px;
  margin: 0;
  translate: none;
  transform: none;
}
.project-page__header .viewer-close:hover { transform: rotate(90deg); }
@media (max-width: 760px) {
  .project-page__header .viewer-close {
    flex-basis: 34px;
    width: 34px;
    height: 40px;
    margin: calc((clamp(50px, 8vw, 92px) * .54 - 40px) * .5) 0 0 clamp(11px, 3vw, 20px);
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  .project-page__header .viewer-close { margin-top: calc((clamp(46px, 8vh, 68px) * .54 - 40px) * .5); }
}

/* A narrow visual viewport (for example Safari beside the Duo side rail)
   must fit the entire brand and control inside the visible web area. */
:root.compact-visual-viewport .site-header--fixed {
  right: auto;
  width: min(100%, var(--portfolio-visible-width));
  padding-inline: 18px;
}
:root.compact-visual-viewport .site-header--fixed .logo-link { width: 40px; }
:root.compact-visual-viewport .site-header--fixed .site-header__identity {
  right: 56px;
  gap: 2px;
  font-size: 10px;
  letter-spacing: calc(.055em * var(--type-letter-spacing-scale, 1));
}
:root.compact-visual-viewport .site-header--fixed .site-header__name,
:root.compact-visual-viewport .site-header--fixed .site-header__role {
  font-size: calc(1em * var(--type-brand-size-scale, 1));
  letter-spacing: inherit;
}
:root.compact-visual-viewport .site-header--fixed .menu-toggle,
:root.compact-visual-viewport .project-page__header .viewer-close {
  flex-basis: 30px;
  width: 30px;
  margin-left: 8px;
}
:root.compact-visual-viewport .site-header--fixed .menu-toggle span { width: 21px; }
:root.compact-visual-viewport .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(2),
:root.compact-visual-viewport .site-header--fixed .menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 21px; }
@media (max-width: 760px) and (orientation: portrait) {
  :root.compact-visual-viewport { --brand-mark-center-y: calc(22px + 13.5px); }
  :root.compact-visual-viewport .site-header--fixed .site-header__identity { top: var(--brand-mark-center-y); }
}
