:root { color-scheme: light; --paper: #f5f3ef; --ink: #24272d; --black: #050505; --orange: #ff5a1f; --muted: #62656a; --line: #ded9cf; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 Outfit, system-ui, sans-serif; }
body.viewer-open { overflow: hidden; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; width: 20px; height: 20px; }
[hidden] { display: none !important; }
.frame { width: min(100% - 80px, 1480px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: white; }
.skip-link:focus { top: 10px; }
.site-header { background: var(--black); color: white; border-bottom: 1px solid #ffffff20; }
.site-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: grid; gap: 7px; flex-shrink: 0; text-transform: uppercase; }
.brand-main { color: var(--orange); font-size: 28px; line-height: 1; font-weight: 800; }
.brand-sub { color: #ffffffad; font-size: 12px; font-weight: 600; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.button) { color: #ffffffb8; }
.nav-links > a:hover, .nav-links > a[aria-current] { color: white; }
.nav-links > a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 8px; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; line-height: 1.2; }
.book-button { background: var(--orange); color: white; }
.book-button:hover { background: #c63e12; }
.portfolio-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 48px 36px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
h1 { font-size: 88px; line-height: .95; font-weight: 800; }
h1 span { color: var(--orange); }
.intro-note { padding-bottom: 4px; }
.intro-note p { font-size: 24px; font-weight: 500; }
.intro-note span { display: block; color: var(--muted); font-size: 14px; margin-top: 10px; }
.collection-toolbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; border-top: 1px solid var(--line); margin-bottom: 18px; background: rgb(245 243 239 / .97); }
.filters { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: thin; }
.filter { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 16px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 16px; font-weight: 500; }
.filter span { font-size: 12px; font-weight: 400; color: var(--muted); }
.filter[aria-pressed="true"] { border-bottom-color: var(--orange); color: var(--ink); font-weight: 700; }
.filter:hover { color: var(--ink); }
.collection-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; outline: none; }
.portfolio-item { min-width: 0; display: flex; flex-direction: column; }
.portfolio-grid.compact-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-item.is-lead { grid-column: span 2; grid-row: span 2; }
.photo-link { position: relative; display: block; overflow: hidden; background: #ddd9d2; aspect-ratio: 3 / 2; }
.is-lead .photo-link { flex: 1; aspect-ratio: auto; min-height: 0; }
.photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.is-lead .photo-link img { position: absolute; inset: 0; }
.photo-link:hover img { transform: scale(1.025); }
.photo-expand { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; background: rgb(5 5 5 / .75); color: white; border: 1px solid #ffffff40; opacity: 0; transition: opacity 160ms ease; }
.photo-link:hover .photo-expand, .photo-link:focus-visible .photo-expand { opacity: 1; }
figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 16px; line-height: 1.35; }
.photo-category { color: var(--muted); font-size: 14px; white-space: nowrap; }
.portfolio-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 80px; margin-top: 56px; border-top: 1px solid var(--line); }
.portfolio-contact h2 { font-size: 44px; font-weight: 800; line-height: 1.1; max-width: 610px; }
.contact-actions { display: grid; justify-items: start; gap: 20px; flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; }
.text-link svg { color: var(--orange); }
.site-footer { background: var(--black); color: #ffffffa8; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 28px; font-size: 14px; }
.footer-brand { font-weight: 700; color: white; }
.photo-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0c; color: white; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.photo-viewer::backdrop { background: #050505; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: max(20px, env(safe-area-inset-top)) 32px 20px; }
.viewer-category { color: var(--orange); font-size: 12px; text-transform: uppercase; }
.viewer-header h2 { font-size: 22px; font-weight: 500; line-height: 1.3; margin-top: 3px; }
.viewer-header-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
#viewer-count { font-size: 14px; color: #ffffffa8; }
.icon-button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff38; border-radius: 8px; background: #1c1d20; color: white; }
.icon-button:hover { background: #36383e; }
.viewer-stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: 92px; touch-action: pan-y pinch-zoom; }
#viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.viewer-prev { left: 24px; }
.viewer-next { right: 24px; }
.viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #ffffffa8; font-size: 14px; padding: 22px 32px max(22px, env(safe-area-inset-bottom)); }
.viewer-footer p { max-width: 820px; }
.viewer-footer > span { white-space: nowrap; }
.viewer-error { position: absolute; padding: 20px; background: #111214; max-width: calc(100% - 120px); text-align: center; }
.viewer-error a { text-decoration: underline; color: #ff7438; }
@media (min-width: 1800px) { .portfolio-intro { padding-top: 64px; } }
@media (max-width: 1100px) {
  .frame { width: calc(100% - 48px); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-item.is-lead { grid-column: span 2; grid-row: auto; }
  .is-lead .photo-link { flex: none; aspect-ratio: 16 / 9; }
  .nav-links { gap: 20px; }
  .nav-links .secondary-nav { display: none; }
  h1 { font-size: 72px; }
  .portfolio-contact h2 { font-size: 36px; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 32px); }
  .site-nav { min-height: 74px; gap: 16px; }
  .brand-main { font-size: 21px; }
  .brand-sub { font-size: 12px; }
  .nav-links { gap: 16px; }
  .nav-links .book-button { display: none; }
  .portfolio-intro { display: block; padding-block: 30px 20px; }
  .eyebrow { font-size: 12px; margin-bottom: 14px; }
  h1 { font-size: 60px; }
  .intro-note { padding: 0; margin-top: 20px; }
  .intro-note p { font-size: 18px; }
  .intro-note span { font-size: 14px; margin-top: 5px; }
  .collection-toolbar { min-height: 64px; margin-bottom: 12px; }
  .collection-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .filters { width: 100%; gap: 22px; }
  .filter { font-size: 14px; gap: 6px; }
  .portfolio-grid { gap: 24px 12px; }
  figcaption { flex-wrap: wrap; gap: 4px 10px; font-size: 14px; padding-top: 10px; }
  .photo-category { font-size: 12px; }
  .photo-expand { opacity: 1; width: 32px; height: 32px; bottom: 10px; right: 10px; }
  .photo-expand svg { width: 16px; height: 16px; }
  .portfolio-contact { display: block; padding-block: 48px; margin-top: 40px; }
  .portfolio-contact h2 { font-size: 32px; }
  .contact-actions { margin-top: 28px; }
  .viewer-header { padding: max(16px, env(safe-area-inset-top)) 16px 16px; gap: 12px; }
  .viewer-header h2 { font-size: 18px; }
  .viewer-header-actions { gap: 10px; }
  .viewer-stage { padding-inline: 0; }
  .viewer-prev, .viewer-next { top: auto; bottom: 12px; transform: none; background: #111214e8; }
  .viewer-prev { left: 16px; }
  .viewer-next { right: 16px; }
  .viewer-footer { padding: 16px 16px max(16px, env(safe-area-inset-bottom)); font-size: 14px; }
  .viewer-footer > span { display: none; }
}
@media (max-width: 480px) {
  .portfolio-grid, .portfolio-grid.compact-collection { grid-template-columns: minmax(0, 1fr); }
  .portfolio-item.is-lead { grid-column: auto; }
  .is-lead .photo-link { aspect-ratio: 3 / 2; }
  .brand-main { font-size: 19px; }
  .brand-sub { font-size: 12px; }
  .nav-links { gap: 14px; font-size: 14px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .viewer-header { padding-block: 8px; }
  .viewer-category, .viewer-footer { display: none; }
  .viewer-stage { padding: 0 72px 10px; }
  .viewer-prev, .viewer-next { top: 50%; bottom: auto; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
