/* PhotoX base — reset, element defaults, typography, layout primitives, utilities. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--t-15); line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--pocbar-h) + var(--s-6));
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 var(--s-3); text-wrap: pretty; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display); font-weight: var(--wt-head);
  letter-spacing: var(--tracking-heading); line-height: var(--lh-snug);
  text-transform: var(--case-head); text-wrap: balance;
}
h4 { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; }
h1 { font-size: var(--t-28); }
h2 { font-size: var(--t-22); }
h3 { font-size: var(--t-18); }
h4 { font-size: var(--t-16); }
.display { font-size: var(--fs-display); letter-spacing: var(--tracking-display); line-height: var(--lh-tight); }
.h-mk1 { font-size: var(--fs-h1); letter-spacing: var(--tracking-display); line-height: var(--lh-tight); }
.h-mk2 { font-size: var(--fs-h2); }
.h-mk3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: var(--lh-body); max-width: var(--measure); }
small, .small { font-size: var(--t-13); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.num { font-feature-settings: "tnum"; }
hr { border: 0; border-top: var(--rule); margin: var(--s-5) 0; }
ul, ol { margin: 0 0 var(--s-3); padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
code, kbd { font-family: var(--font-mono); font-size: 0.92em; }
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--primary-soft-2); }

/* Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-2); }
.stack-lg > * + * { margin-top: var(--s-6); }
.row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.grid { display: grid; gap: var(--gap-grid); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--section-tight); }
.page { padding-block: var(--s-6) var(--s-8); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-bottom: var(--s-4); margin-bottom: var(--s-5); border-bottom: var(--rule); }
.page-head h1 { font-size: var(--t-28); }
.page-head { border-bottom: 0; padding-bottom: 0; }
.page-head .sub { color: var(--muted); margin-top: var(--s-1); }
.spacer { flex: 1; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }
.ico { width: 20px; height: 20px; flex: none; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
@media (min-width: 721px) { .only-sm { display: none !important; } }
@media print { body { padding-bottom: 0; } }
