@font-face { font-family: Instrument; src: url('assets/fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Instrument; src: url('assets/fonts/InstrumentSerif-Italic.ttf') format('truetype'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('assets/fonts/Manrope.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { --paper: #fcf9f4; --pink: #f5e5e8; --ink: #542433; --muted: #785d64; --line: #dbc9cc; --gutter: clamp(22px,4vw,64px); --display: Instrument, Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 13px/1.65 Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 400; }
h1,h2 { font-family: var(--display); }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.page-width { width: min(1600px,100%); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; top: -90px; left: 20px; padding: 14px; background: var(--ink); color: var(--paper); z-index: 100; }
.skip-link:focus { top: 12px; }
.topbar { display: flex; align-items: center; gap: 35px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 17px; margin-right: auto; }
.monogram { font: italic 49px/.8 var(--display); letter-spacing: -.07em; }
.brand > span:last-child { font-size: 11px; line-height: 1.5; }
.brand small { display: block; color: var(--muted); font-size: 9px; }
.navigation { display: flex; gap: 40px; margin-right: 65px; }
.navigation a { display: flex; gap: 10px; min-height: 44px; align-items: center; font-size: 11px; }
.navigation sup { color: var(--muted); font-size: 8px; align-self: start; padding-top: 8px; }
.navigation a:hover { text-decoration: underline; text-underline-offset: 6px; }
.language-switch { display: flex; align-items: center; gap: 3px; font-size: 10px; }
.language-switch > span { opacity: .4; }
.language-switch button { min-width: 28px; min-height: 44px; padding: 0; color: var(--muted); }
.language-switch button[aria-pressed=true] { color: var(--ink); font-weight: 800; }
.portfolio { padding-bottom: 75px; }
.masthead { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 45px; padding-block: 20px 27px; }
.masthead-title { display: flex; align-items: start; gap: 30px; }
h1 { font-size: clamp(120px,15vw,230px); line-height: .85; font-style: italic; letter-spacing: -.065em; }
h1 > span { color: #aa536d; }
.edition { font-size: 8px; line-height: 1.7; padding-top: 18px; letter-spacing: .08em; }
.masthead-note { width: 205px; font-size: 10px; margin-bottom: 7px; line-height: 1.75; }
.masthead-note > span { display: block; }
.masthead-note > span:first-child { margin-bottom: 8px; font-weight: 700; }
.masthead-note > span:last-child { color: var(--muted); }
.catalogue-bar { border-block: 1px solid var(--line); display: flex; align-items: center; gap: 30px; padding-block: 10px; margin-bottom: 22px; }
.section-label { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.catalogue-bar > .section-label { width: 213px; flex-shrink: 0; }
.filters { display: flex; gap: 23px; flex-wrap: wrap; }
.filters button { min-height: 35px; padding: 0; color: var(--muted); font-size: 10px; border-bottom: 1px solid transparent; }
.filters button[aria-pressed=true] { border-color: var(--ink); color: var(--ink); }
.filters button:hover { color: var(--ink); }
.project-count { margin-left: auto; white-space: nowrap; font-size: 9px; color: var(--muted); }
.folio-layout { display: grid; grid-template-columns: 213px minmax(0,1fr); gap: 30px; }
.contents { padding-right: 24px; border-right: 1px solid var(--line); }
.contents-heading { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); margin: 0 0 12px 10px; }
.project-index { display: flex; flex-direction: column; gap: 3px; }
.index-button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 9px 11px; text-align: left; font-size: 11px; min-height: 35px; border-radius: 2px; }
.index-button > span { font-size: 8px; color: var(--muted); width: 15px; flex-shrink: 0; }
.index-button > i { font-style: normal; margin-left: auto; font-size: 13px; opacity: 0; }
.index-button[aria-pressed=true] { background: var(--pink); }
.index-button[aria-pressed=true] > i { opacity: 1; }
.index-button:hover { background: #f7efed; }
.index-button[aria-pressed=true]:hover { background: var(--pink); }
.featured-project { display: flex; flex-direction: column; position: relative; width: 100%; padding: 0; text-align: left; background: var(--project-color,#eee3df); overflow: hidden; }
.spread-label { display: flex; justify-content: space-between; width: 100%; padding: 17px 23px; font-size: 9px; letter-spacing: .04em; z-index: 1; }
.featured-media { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.85; overflow: hidden; padding: 0 6% 5%; }
.featured-media > img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.featured-project[data-project='06'] .featured-media,
.featured-project[data-project='07'] .featured-media { padding: 0; }
.featured-project[data-project='06'] .featured-media > img,
.featured-project[data-project='07'] .featured-media > img { object-fit: cover; }
.featured-project[data-project='06'] .spread-label,
.featured-project[data-project='07'] .spread-label { background: var(--paper); padding: 0 0 14px; }
.open-project-label { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 30px; background: var(--paper); font-size: 10px; padding: 11px 16px; box-shadow: 0 2px 9px #28131d08; }
.open-project-label > span:last-child { font-size: 20px; line-height: 1; }
.featured-project:hover .featured-media > img { transform: scale(1.015); }
.featured-project:hover .open-project-label { background: var(--ink); color: var(--paper); }
.spread-bottom { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-top: 19px; }
.small-label { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.featured-title h2 { font: italic clamp(40px,4.7vw,72px)/1 var(--display); letter-spacing: -.03em; margin-top: 5px; }
.spread-navigation { display: flex; gap: 9px; align-items: center; }
.spread-navigation > span { font-size: 9px; color: var(--muted); margin-right: 18px; min-width: 38px; font-variant-numeric: tabular-nums; }
.spread-navigation button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; transition: color .2s,background .2s; }
.spread-navigation button:hover { background: var(--ink); color: var(--paper); }
.spread-navigation button:disabled { opacity: .3; cursor: default; }
.video-cover { width: 100%; height: 100%; background: #284c3b; color: #ddebcc; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.video-cover small { font-size: 10px; letter-spacing: .1em; }
.video-cover strong { font: italic clamp(30px,5vw,80px) var(--display); }
.video-cover .play-icon { font-size: 25px; }
.about-section { background: var(--pink); }
.about-inner { padding-block: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.about-heading h2 { font-size: clamp(65px,7vw,110px); line-height: .85; letter-spacing: -.045em; margin-block: 31px; }
.about-heading h2 em { font-weight: 400; padding-left: .4em; }
.text-link { display: inline-flex; align-items: center; gap: 25px; font-size: 11px; border-bottom: 1px solid currentColor; padding: 7px 0; }
.text-link:hover { opacity: .7; }
.about-copy { padding-top: 40px; max-width: 480px; }
.about-lead { font-size: 19px; line-height: 1.7; }
.about-text { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 23px; }
.expertise { border-block: 1px solid #54243333; margin-top: 25px; padding-block: 13px; display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 10px; }
.tools { font-size: 9px; line-height: 1.9; color: var(--muted); margin-top: 17px; }
.contact-section { padding-block: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-heading h2 { font-size: clamp(65px,7vw,110px); font-style: italic; line-height: .95; letter-spacing: -.035em; margin-top: 30px; max-width: 580px; }
.contact-links { padding-top: 45px; }
.contact-links > p { font-size: 12px; color: var(--muted); max-width: 250px; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: fit-content; font-size: clamp(16px,1.8vw,26px); letter-spacing: -.04em; border-bottom: 1px solid var(--line); padding-block: 12px; margin-block: 14px 25px; }
.email-link:hover { border-color: var(--ink); }
.email-link > span { font-size: 26px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 9px; padding-block: 20px; color: var(--muted); border-top: 1px solid var(--line); }
.footer a { min-height: 44px; display: flex; align-items: center; }
.footer a:hover { color: var(--ink); }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
/* Native dialogs provide keyboard focus trapping, Escape and an inert page. */
dialog { border: 0; color: var(--ink); padding: 0; background: var(--paper); max-height: 92dvh; overscroll-behavior: contain; }
dialog::backdrop { background: #31101fcc; backdrop-filter: blur(7px); }
.project-dialog { width: min(1100px,94vw); max-width: 94vw; border-radius: 3px; }
.dialog-toolbar { position: sticky; top: 0; z-index: 3; background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 32px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; }
.close-button { min-height: 44px; display: flex; gap: 14px; align-items: center; font-size: 12px; }
.close-button > span:last-child { font-size: 28px; line-height: 1; }
.project-intro { padding: 50px 8% 40px; }
.project-intro h2 { font-size: clamp(40px,5vw,68px); line-height: 1.05; letter-spacing: -.025em; max-width: 800px; margin: 16px 0 25px; }
.project-intro > p { max-width: 700px; color: var(--muted); line-height: 1.8; }
.project-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.project-facts span { font-size: 10px; border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; }
.project-intro > a { margin-top: 20px; }
.project-gallery { padding: 0 4% 30px; display: grid; gap: 24px; }
.gallery-image { display: block; padding: 0; background: #eee9e3; width: 100%; cursor: zoom-in; }
.gallery-image img { width: 100%; height: auto; }
.project-gallery video { width: 100%; max-height: 70vh; background: #161616; }
.gallery-caption { font-size: 10px; color: var(--muted); display: flex; justify-content: space-between; margin-top: 8px; gap: 20px; }
.dialog-bottom { padding: 25px 8% 40px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 12px; }
.image-dialog { background: #28131d; width: 98vw; max-width: 98vw; height: 96dvh; max-height: 96dvh; padding: 64px 16px 16px; }
.image-dialog > .close-button { position: absolute; top: 10px; right: 24px; color: white; }
.image-dialog > img { width: 100%; height: 100%; object-fit: contain; }
.image-dialog::backdrop { background: #24121bf0; }
@media (min-width: 1700px) { .masthead { padding-block: 35px 40px; } }
@media (max-width: 1100px) {
  .navigation { gap: 28px; margin-right: 25px; }
  .folio-layout { grid-template-columns: 175px minmax(0,1fr); gap: 23px; }
  .catalogue-bar > .section-label { width: 175px; }
  .catalogue-bar { gap: 23px; }
  .filters { gap: 17px; }
  .contents { padding-right: 15px; }
  .index-button { padding-inline: 8px; font-size: 10px; gap: 9px; }
  .featured-media { aspect-ratio: 1.45; }
  .about-inner,.contact-section { gap: 50px; }
  .masthead-note { width: 175px; }
}
@media (max-width: 800px) {
  .navigation { gap: 21px; margin-right: 8px; }
  .brand { gap: 11px; }
  .masthead-title { gap: 20px; }
  .masthead-note { max-width: 165px; font-size: 9px; }
  .catalogue-bar { flex-wrap: wrap; gap: 7px 20px; }
  .catalogue-bar > .section-label { width: auto; margin-right: auto; }
  .filters { order: 3; width: 100%; gap: 20px; }
  .folio-layout { grid-template-columns: 150px minmax(0,1fr); gap: 18px; }
  .contents { padding-right: 12px; }
  .index-button { font-size: 9px; gap: 7px; }
  .index-button > span { font-size: 7px; width: 12px; }
  .featured-media { aspect-ratio: 1; }
  .spread-label { padding: 13px 15px; font-size: 8px; }
  .spread-bottom { align-items: start; flex-direction: column; gap: 20px; }
  .featured-title h2 { font-size: 49px; }
  .spread-navigation { width: 100%; }
  .spread-navigation > span { margin-right: auto; }
  .about-inner,.contact-section { gap: 35px; padding-block: 50px; }
  .about-heading h2 { font-size: 73px; }
  .about-lead { font-size: 15px; }
  .about-text { font-size: 11px; }
  .about-copy { padding-top: 25px; }
  .contact-heading h2 { font-size: 76px; }
  .contact-links { padding-top: 25px; }
  .email-link { font-size: 17px; gap: 12px; }
}
@media (max-width: 580px) {
  .topbar { flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 12px; }
  .brand > span:last-child { font-size: 10px; }
  .brand small { font-size: 8px; }
  .monogram { font-size: 43px; }
  .navigation { order: 3; width: 100%; margin: 0; justify-content: space-between; padding-top: 5px; }
  .navigation a { min-height: 35px; font-size: 10px; }
  .navigation sup { padding-top: 5px; }
  .masthead { display: block; padding-top: 20px; padding-bottom: 20px; }
  .masthead-title { justify-content: space-between; gap: 15px; }
  h1 { font-size: clamp(100px,28.4vw,160px); }
  .edition { font-size: 7px; padding-top: 6px; }
  .masthead-note { display: flex; max-width: none; width: 100%; align-items: start; gap: 24px; margin-top: 21px; font-size: 9px; }
  .masthead-note > span:first-child { max-width: 85px; flex-shrink: 0; margin: 0; }
  .masthead-note > span:last-child { max-width: 210px; }
  .catalogue-bar { gap: 3px 15px; padding-top: 10px; padding-bottom: 6px; margin-bottom: 15px; }
  .section-label { font-size: 8px; }
  .filters { gap: 4px 17px; }
  .filters button { font-size: 9px; min-height: 32px; }
  .project-count { font-size: 8px; }
  .folio-layout { display: flex; flex-direction: column; gap: 16px; }
  .contents { border: 0; padding: 0; }
  .contents-heading { margin: 0 0 9px; font-size: 8px; }
  .contents-heading > span:last-child { transform: rotate(-90deg); }
  .project-index { flex-direction: row; gap: 5px; overflow-x: auto; padding: 3px 2px 8px; scrollbar-width: thin; scrollbar-color: #cbb0b8 transparent; scroll-snap-type: x proximity; }
  .index-button { width: auto; flex-shrink: 0; padding: 9px 12px; min-height: 36px; font-size: 10px; border: 1px solid var(--line); scroll-snap-align: start; }
  .index-button > i { display: none; }
  .index-button[aria-pressed=true] { border-color: var(--ink); }
  .featured-media { aspect-ratio: 1.05; padding: 0 5% 5%; }
  .spread-label { font-size: 8px; padding: 12px 15px; }
  .open-project-label { right: 12px; bottom: 12px; padding: 10px 13px; gap: 22px; font-size: 9px; }
  .open-project-label > span:last-child { font-size: 18px; }
  .spread-bottom { flex-direction: row; align-items: end; gap: 10px; padding-top: 15px; }
  .featured-title h2 { font-size: 42px; }
  .spread-navigation { flex-wrap: wrap; justify-content: end; gap: 6px; width: 80px; flex-shrink: 0; }
  .spread-navigation > span { width: 100%; text-align: right; font-size: 8px; margin: 0 2px 3px 0; }
  .spread-navigation button { width: 35px; height: 35px; font-size: 17px; }
  .small-label { font-size: 7px; }
  .portfolio { padding-bottom: 40px; }
  .about-inner,.contact-section { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .about-heading h2 { font-size: 83px; margin-block: 23px; }
  .about-copy,.contact-links { padding-top: 0; }
  .about-lead { font-size: 15px; }
  .about-text { font-size: 12px; margin-top: 17px; }
  .expertise { gap: 20px; font-size: 9px; margin-top: 20px; }
  .contact-heading h2 { font-size: 79px; margin-top: 23px; }
  .contact-links > p { font-size: 11px; }
  .email-link { font-size: clamp(15px,4.4vw,22px); width: 100%; margin-bottom: 15px; }
  .footer { flex-wrap: wrap; gap: 4px 20px; padding-block: 13px; font-size: 8px; }
  .dialog-toolbar { padding: 10px 18px; }
  .project-intro { padding: 25px 6%; }
  .project-intro h2 { font-size: 39px; }
  .project-intro > p { font-size: 12px; }
  .project-gallery { gap: 20px; }
  .dialog-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 6% 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Keep the colophon intact and controls readable on narrow screens. */
.edition { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 580px) {
  h1 { font-size: clamp(80px,27vw,160px); }
  .masthead-note { font-size: 11px; gap: 23px; }
  .masthead-note > span:first-child { max-width: 100px; }
  .navigation a { font-size: 11px; }
  .filters button { font-size: 10px; }
  .index-button { font-size: 11px; }
  .featured-title h2 { font-size: clamp(34px,10.5vw,48px); }
}
