* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  background: #080808;
  color: #f2f2f0;
  font: 16px/1.55 system-ui, sans-serif;
  --copper: #cf885a;
  --line: #3c3028;
  --muted: #bdb2aa;
}

body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
h1, h2, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: 1.125rem; line-height: 1.3; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-bar { border-bottom: 1px solid var(--line); }
.bar-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand img { display: block; height: auto; }
.button { display: inline-flex; align-items: center; min-height: 43px; padding: 8px 15px; border-radius: 4px; border: 1px solid #805438; font-size: .9rem; font-weight: 650; text-decoration: none; }
.outline { color: #edc5ad; }
.outline:hover { background: #2c1c13; }
.page { padding-block: clamp(30px, 6vw, 74px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-bottom: clamp(22px, 5vw, 55px); color: var(--muted); font-size: .875rem; }
.breadcrumb > :not(:first-child)::before { content: '/'; margin-right: 13px; color: var(--copper); }
.intro { max-width: 55ch; margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.category { color: var(--copper); font-size: .86rem; }
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: clamp(15px, 3vw, 32px); margin-top: clamp(26px, 6vw, 56px); }
.work-card { display: grid; align-content: start; gap: 7px; padding-bottom: 15px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.work-card img { display: block; width: 100%; height: auto; aspect-ratio: 326 / 306; object-fit: cover; margin-bottom: 4px; background: #15100e; }
.work-description { color: var(--muted); font-size: .95rem; }
.works-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: .875rem; }
.works-footer { padding-block: 25px; border-top: 1px solid var(--line); font-size: .875rem; }
