:root {
  --canvas: #14161a;
  --surface: #1c1f24;
  --ink: #f7f7f5;
  --soft: #b7b8bc;
  --line: rgba(247, 247, 245, .14);
  --display: 'Bricolage Grotesque', Arial, sans-serif;
  --body: 'Montserrat', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scrollbar-color: #3a3f47 var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 14px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
button, a, video { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--canvas); }
.wrap { width: min(100% - 112px, 1440px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; left: 20px; top: -80px; padding: 12px 18px; color: var(--canvas); background: var(--ink); border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 120px; height: auto; filter: invert(1); }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); text-decoration: none; font-size: 12px; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.back-link span { font-size: 20px; }
.intro { padding-block: 60px 35px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--soft); }
.title-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
h1 { margin: 0; max-width: 100%; font: 700 clamp(38px, 5.6vw, 80px)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.gallery-count { flex: none; margin: 0 0 3px; color: var(--soft); font-size: 12px; white-space: nowrap; }
.intro-copy { max-width: 86ch; margin: 22px 0 0; color: var(--soft); font-size: 14px; line-height: 1.85; }
.instagram-link { display: inline-flex; align-items: center; gap: 20px; max-width: 100%; margin-top: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font-size: 13px; text-decoration: none; }
.instagram-link strong { display: inline-block; margin-left: 4px; }
.instagram-link:hover { border-color: var(--soft); }
.portfolio-topics { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.portfolio-topics h2 { margin: 0 0 22px; font: 600 clamp(22px, 3vw, 30px)/1.2 var(--display); letter-spacing: -.025em; }
.keyword-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.keyword-chips li { max-width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--soft); font-size: 12px; line-height: 1.6; }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 32px; }
.category-nav a { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); text-decoration: none; font-size: 12px; font-weight: 500; transition: color .15s, background .15s; }
.category-nav a:hover { color: var(--ink); background: rgba(247, 247, 245, .05); }
.category-nav a[aria-current="page"] { color: var(--canvas); background: var(--ink); border-color: var(--ink); }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.gallery-hint { margin: 0; color: var(--soft); font-size: 11px; }
.video-toggle { display: inline-flex; align-items: center; gap: 8px; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--ink); background: transparent; font-size: 11px; font-weight: 600; }
.video-toggle:hover { background: var(--surface); }
.video-toggle svg { width: 13px; height: 13px; fill: currentColor; }
.gallery { columns: 3; column-gap: 18px; }
.gallery-item { position: relative; break-inside: avoid; margin: 0 0 18px; overflow: hidden; border-radius: 10px; background: var(--surface); }
.photo-link { display: block; position: relative; text-decoration: none; }
.gallery-item img, .gallery-item video { display: block; width: 100%; height: auto; }
.photo-link img { transition: filter .2s; }
.photo-link:hover img { filter: brightness(1.06); }
.photo-link:focus-visible { outline-offset: -5px; border-radius: 10px; }
.photo-expand { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(20,22,26,.5); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.photo-expand svg { width: 14px; height: 14px; }
.photo-link:hover .photo-expand, .photo-link:focus-visible .photo-expand { opacity: 1; }
.video-status { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: rgba(20,22,26,.64); font-size: 9px; font-weight: 600; letter-spacing: .04em; pointer-events: none; }
.video-status svg { width: 11px; height: 11px; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(20,22,26,.75); color: #fff; backdrop-filter: blur(8px); }
.video-play svg { width: 21px; height: 21px; margin-left: 3px; fill: currentColor; }
.video-fallback { display: block; padding: 12px; font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 42px; padding-block: 32px; border-top: 1px solid var(--line); color: var(--soft); font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,11,13,.97); color: var(--ink); }
.lightbox::backdrop { background: #0a0b0d; }
.lightbox-panel { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; padding: 20px 28px; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; }
.lightbox-title { font-size: 12px; color: var(--soft); }
.lightbox-close { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); padding: 8px 15px; font-size: 12px; }
.lightbox-close span { font-size: 25px; line-height: 1; }
.lightbox-stage { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-bottom { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 16px; }
.lightbox-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.lightbox-arrow:hover, .lightbox-close:hover { background: var(--surface); }
.lightbox-arrow svg { width: 18px; height: 18px; }
.lightbox-position { min-width: 64px; text-align: center; font-size: 12px; color: var(--soft); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .gallery { columns: 2; }
  .title-row { align-items: start; flex-direction: column; gap: 16px; }
  .gallery-count { margin: 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 100px; }
  .back-link { font-size: 11px; gap: 6px; }
  .intro { padding-block: 40px 27px; }
  h1 { font-size: clamp(36px, 10vw, 54px); }
  .eyebrow { margin-bottom: 16px; }
  .intro-copy { font-size: 13px; margin-top: 18px; }
  .instagram-link { font-size: 12px; padding: 12px 14px; gap: 12px; }
  .keyword-chips li { padding: 9px 12px; }
  .category-nav { gap: 8px; padding-bottom: 26px; }
  .category-nav a { font-size: 10px; padding: 9px 12px; }
  .gallery { columns: 1; }
  .gallery-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .gallery-item { margin-bottom: 14px; border-radius: 8px; }
  .photo-expand { opacity: 1; }
  .site-footer { margin-top: 24px; padding-block: 24px; align-items: start; flex-direction: column; gap: 10px; }
  .lightbox-panel { padding: 14px 12px; }
  .lightbox-title { font-size: 10px; }
  .lightbox-close { padding: 7px 11px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
