
@font-face { font-family: Onest; src: url('/assets/fonts/Onest-Variable.ttf') format('truetype'); font-display: swap; font-weight: 100 900; }
@font-face { font-family: Baskervville; src: url('/assets/fonts/Baskervville-Latin.woff2') format('woff2'); font-display: swap; font-weight: 400; }
:root { color-scheme: light; --paper: #fbfaf8; --ink: #24221f; --muted: #605b55; --line: #c5bfb5; --serif: 'Times New Roman', serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.6 Onest, Arial, sans-serif; }
::selection { background: #e2d8c7; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 80px, 1060px); margin-inline: auto; }
.site-header { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; }
.wordmark { flex-shrink: 0; text-decoration: none; display: inline-grid; line-height: .85; }
.logo-monogram { font: 400 37px/.85 var(--serif); letter-spacing: -.08em; }
.wordmark small { font-size: 11px; margin-top: 6px; letter-spacing: .08em; }
.site-nav { display: flex; gap: clamp(14px, 3.4vw, 54px); flex-wrap: wrap; justify-content: end; align-items: center; }
.site-nav a { font-size: 13px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.languages { display: inline-flex; align-items: center; gap: 10px; }
.languages .language { font-size: 11px; }
.languages .language[aria-current='page'] { color: var(--ink); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8%; align-items: center; padding: 42px 0 35px; }
.hero h1 { font-family: Baskervville, var(--serif); font-size: clamp(38px, 5.37vw, 65px); letter-spacing: -.015em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero-copy p { margin: 24px 0 31px; color: var(--muted); max-width: 30ch; }
.button { min-height: 46px; padding: 10px 21px; border: 1px solid #827c73; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; }
.button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button .brand-icon { width: 16px; height: 16px; }
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before { content: ''; position: absolute; inset: -9px -9px 9px 9px; border: 1px solid #77716a; z-index: -1; }
.hero-photo .photo-frame { aspect-ratio: 4 / 5; }
.hero-photo img { object-position: 50% 38%; }
.opening-surface {
  --paper: #171717;
  --ink: #f5f1eb;
  --muted: #cbc4bb;
  color-scheme: dark;
  background: var(--paper);
  color: var(--ink);
}
.opening-surface .photo-frame::before { border-color: #8e857a; }
.opening-surface .button:not(:hover) { border-color: #9f9589; }
.opening-surface ::selection { color: #24221f; }
figcaption { margin-top: 9px; font-size: 12px; color: var(--muted); }
.wordband { margin-block: 51px 76px; padding-block: 10px; overflow: hidden; color: #bdb6ad; text-align: center; white-space: nowrap; font: 400 clamp(29px, 5.3vw, 76px)/1 var(--serif); }
.wordband span { display: block; width: max-content; position: relative; left: 50%; transform: translateX(-50%); word-spacing: .25em; }
section[id] { scroll-margin-top: 24px; }
h2 { text-transform: uppercase; font-size: clamp(32px, 4.5vw, 58px); letter-spacing: -.025em; margin-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.22fr; align-items: end; gap: 12%; padding-left: 8px; }
.about-image .photo-frame { aspect-ratio: 4 / 5; }
.about-image .photo-frame::before { inset: -9px 9px 9px -9px; }
.about-copy p { margin-bottom: 14px; max-width: 55ch; }
.detail-image { max-width: 390px; margin: 26px 0 0 auto; }
.detail-image .photo-frame { aspect-ratio: 2 / 1; }
.detail-image img { object-position: 50% 55%; }
.portfolio { padding-top: 93px; }
.portfolio h2 { margin-bottom: 23px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 2px clamp(12px, 4vw, 47px); margin-bottom: 16px; }
.filter { appearance: none; background: transparent; color: var(--muted); border: 0; font: inherit; font-size: 14px; min-height: 44px; padding: 5px 0; cursor: pointer; }
.filter:hover, .filter[aria-pressed='true'] { color: var(--ink); text-decoration: underline; text-underline-offset: .4em; }
.works-grid { display: grid; grid-template-columns: 1.06fr 1fr 1fr; grid-auto-rows: clamp(98px, 19vw, 244px); gap: 12px; }
.work-card { display: block; overflow: hidden; background: #e8e5df; }
.works-grid[data-gallery-view='selected'] .work-card:first-child,
.works-grid[data-gallery-view='portrait'] .work-card:first-child { grid-row: span 2; }
.works-grid img { object-position: center; }
.works-grid[data-gallery-view='selected'] .work-card:nth-child(2) img { object-position: center 43%; }
.works-grid[data-gallery-view='selected'] .work-card:nth-child(3) img { object-position: center 42%; }
.works-grid[data-gallery-view='selected'] .work-card:nth-child(5) img { object-position: center 28%; }
.works-grid[data-gallery-view='portrait'] .work-card:last-child { grid-column: span 2; }
.works-grid[data-gallery-view]:not([data-gallery-view='selected'], [data-gallery-view='portrait']) { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 42vw, 420px); }
.works-grid[data-gallery-view]:not([data-gallery-view='selected'], [data-gallery-view='portrait']) img { object-fit: contain; }
.portfolio-book { text-align: center; margin-top: 33px; }
.services { padding-top: 100px; }
.services h2 { margin-bottom: 25px; }
.package { display: grid; grid-template-columns: 1.15fr 1.3fr auto; gap: 10px 32px; padding: 23px 0; border-top: 1px solid var(--line); }
.package h3 { font-size: 27px; }
.package p { color: var(--muted); }
.package strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.footer { margin-top: 45px; padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { color: var(--muted); font-size: 13px; }
@media (max-width: 730px) {
  .wrap { width: calc(100% - 42px); }
  .site-header { min-height: 68px; }
  .site-nav { gap: 3px 13px; justify-content: end; }
  .site-nav a { font-size: 12px; padding-block: 5px; }
  .hero { padding-top: 22px; column-gap: 5%; }
  .about-grid { gap: 7%; }
  .package { column-gap: 16px; }
  .package h3 { font-size: 23px; }
}
@media (max-width: 480px) {
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 29px; }
  .hero-copy p { margin: 14px 0 18px; }
  .hero-photo { width: min(100% - 8px, 340px); margin-inline: auto; }
  .wordband { margin-block: 30px 42px; }
  h2 { margin-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; padding-left: 0; }
  .about-image { width: 69%; margin-left: 8px; }
  .about-copy p { margin-bottom: 11px; }
  .detail-image { width: 75%; margin: 21px 9px 0 auto; }
  .portfolio, .services { padding-top: 57px; }
  .works-grid { gap: 6px; }
  .package { grid-template-columns: 1fr auto; row-gap: 7px; }
  .package p { grid-area: 2 / 1 / auto / -1; }
  .package strong { font-size: 13px; }
  .footer { flex-wrap: wrap; }
  .footer-privacy { order: 1; width: 100%; }
}

html { scrollbar-color: #827c73 var(--paper); }
.language, .footer-privacy { color: var(--muted); }
.footer-privacy { font-size: 13px; text-decoration: none; }
.footer-privacy:hover { text-decoration: underline; }
.about-detail { display: block; text-decoration: none; }
.button .brand-icon { fill: currentColor; flex: none; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; white-space: nowrap; clip-path: inset(50%);
}
.skip-link:focus { position: fixed; z-index: 2; top: 12px; left: 16px; background: var(--ink); color: var(--paper); padding: 10px 16px; }

.story-heading, .privacy-page { padding-top: 40px; padding-bottom: 35px; }
.story-heading h1, .privacy-page h1 { margin: 25px 0 15px; font-size: clamp(39px, 5.5vw, 76px); text-transform: none; }
.story-heading p, .privacy-page p, .next-story-label { color: var(--muted); }
.privacy-page { min-height: 55vh; }
.privacy-page p { max-width: 70ch; }
.back-link { display: inline-block; padding: 10px 0; text-decoration: none; font-size: 13px; }
.back-link:hover { text-decoration: underline; }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story-photo { display: block; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; }
.story-photo.wide { grid-column: 1 / -1; width: min(100%, 600px); justify-self: center; }
.story-photo img { width: 100%; height: auto; }
.story-photo > span { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--paper); }
.story-photo svg { width: 20px; height: 20px; }
.story-source { margin: 30px auto 60px; text-align: center; }
.next-story { margin: 0 auto; padding: 28px 0; border-top: 1px solid var(--line); text-align: center; }
.next-story > a { display: flex; align-items: center; justify-content: center; gap: 14px; font: 400 clamp(25px, 4vw, 42px)/1.2 var(--serif); margin-top: 8px; text-decoration: none; }
.next-story > a:hover { text-decoration: underline; }
.next-story svg { width: 24px; height: 24px; flex: none; }

body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; margin: 0; padding: 70px 58px 45px; background: #171715; color: var(--paper); overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: #171715; }
.lightbox figure { max-width: 100%; max-height: 100%; }
.lightbox figure img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 155px); margin: auto; object-fit: contain; }
.lightbox figcaption { color: var(--paper); text-align: center; }
.lightbox-bar { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; }
.lightbox-counter { font-size: 12px; font-variant-numeric: tabular-nums; }
.lightbox button { min-width: 44px; min-height: 44px; padding: 8px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.lightbox button:focus-visible { outline-color: var(--paper); outline-offset: 0; }
.lightbox button svg { width: 21px; height: 21px; }
.lightbox-close { display: flex; gap: 8px; align-items: center; }
.lightbox-close svg { transform: rotate(45deg); }
.lightbox-prev, .lightbox-next { position: absolute; top: 48%; }
.lightbox-prev { left: 5px; }
.lightbox-next { right: 5px; }
@media (max-width: 480px) {
  .story-gallery { grid-template-columns: 1fr; }
  .lightbox { padding-inline: 44px; }
}
