.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  vertical-align: -0.16em;
  display: inline-block;
}
.icon--sm { width: 0.9em; height: 0.9em; }
.icon--lg { width: 1.5em; height: 1.5em; }

.utility {
  background: var(--frost);
  border-bottom: var(--hair);
  font-family: var(--zoti-d12);
  font-size: var(--fs-meta);
  letter-spacing: 0.04em;
  color: var(--graphite);
  position: relative;
  z-index: calc(var(--z-header) + 1);
}
.utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s-4);
  min-height: 40px;
}
.utility__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-3);
  min-width: 0;
}
.utility__item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.utility__item .icon { color: var(--accent); width: 14px; height: 14px; }
.utility__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 4px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.utility__link:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.utility__link:active { background: var(--frost-deep); color: var(--accent-deep); }
.utility__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.utility__note { text-transform: uppercase; letter-spacing: 0.1em; color: var(--graphite); }
@media (max-width: 719px) {
  .utility__item--place, .utility__note { display: none; }
  .utility__inner { justify-content: center; }
}
@media (max-width: 379px) {
  .utility__link span { font-size: 0.72rem; }
  .utility__list { gap: 0 var(--s-2); }
}

.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: var(--hair);
  transition: box-shadow var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out);
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--rule);
  opacity: 0.6;
  pointer-events: none;
}
.masthead.is-condensed { box-shadow: 0 14px 30px -24px rgba(20, 32, 31, 0.45); background: var(--paper); }
.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 76px;
  transition: min-height var(--dur-3) var(--ease-out);
}
.masthead.is-condensed .masthead__inner { min-height: 60px; }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 0;
  flex: 0 1 auto;
  padding: 4px 0;
  text-decoration: none;
  transition: opacity var(--dur-2) var(--ease-out);
}
.brand img { height: clamp(1.25rem, 5.2vw, 2.1rem); width: auto; max-width: none; transition: height var(--dur-3) var(--ease-out); }
.masthead.is-condensed .brand img { height: clamp(1.2rem, 4.4vw, 1.8rem); }
.brand:hover { opacity: 0.78; }
.brand:active { opacity: 0.6; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.nav { flex: 1 1 auto; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: static; min-width: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  font-family: var(--zoti-ae8);
  font-weight: 600;
  font-size: 1.14rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.nav__link .icon { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease-out); }
.nav__link:hover { color: var(--accent); background: var(--frost); border-color: var(--rule); text-decoration: none; }
.nav__link:active { background: var(--accent-thin); color: var(--accent-deep); border-color: var(--accent); }
.nav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nav__link[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav__trigger[aria-expanded="true"] { background: var(--frost); border-color: var(--rule); color: var(--accent); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__cta-item { display: none; }

.masthead__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; flex: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--zoti-ae8);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-press);
}
.nav-toggle .icon { width: 18px; height: 18px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-block; }
.nav-toggle:hover { background: var(--frost); box-shadow: 2px 2px 0 var(--ink); }
.nav-toggle:active { background: var(--accent-thin); box-shadow: none; transform: translate(1px, 1px); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--z-mega);
  background: var(--frost);
  background-image: var(--ledger-lines);
  border-top: var(--hair);
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 28px 48px -30px rgba(20, 32, 31, 0.45);
  display: none;
}
.nav__trigger[aria-expanded="true"] + .mega { display: block; }
html:not(.js) .nav__item--mega:hover .mega,
html:not(.js) .nav__item--mega:focus-within .mega { display: block; }
.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: var(--s-5);
  padding-block: var(--s-5) var(--s-5);
}
.mega__inner > * { min-width: 0; }
.mega__index { border-right: var(--hair); padding-right: var(--s-4); }
.mega__heading { margin-bottom: var(--s-2); }
.mega__links { display: grid; gap: 0; }
.mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: var(--line);
  padding: 8px 6px;
  border-bottom: var(--hair);
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.mega__link .icon { width: 14px; height: 14px; color: var(--accent); flex: none; }
.mega__link:hover { color: var(--accent); background: var(--sheet); padding-left: 12px; text-decoration: none; }
.mega__link:active { background: var(--accent-thin); }
.mega__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mega__link--all { font-family: var(--zoti-d12); font-size: var(--fs-meta); letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 0; margin-top: var(--s-1); }

.mega__tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: var(--hair);
  border-top: var(--hair);
}
.mega__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: var(--s-2) var(--s-2) var(--s-3);
  border-right: var(--hair);
  border-bottom: var(--hair);
  background: var(--sheet);
  background-image: var(--ledger-lines);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.mega__std { font-family: var(--zoti-d12); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--graphite); text-transform: uppercase; }
.mega__num {
  font-family: var(--zoti-ae8);
  font-weight: 800;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  transition: color var(--dur-2) var(--ease-out);
}
.mega__desc { font-size: 0.98rem; line-height: 1.4; color: var(--graphite); }
.mega__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--zoti-d12); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: var(--s-1); }
.mega__go .icon { width: 13px; height: 13px; }
.mega__tile:hover { background-color: var(--paper); box-shadow: inset 0 3px 0 var(--accent); text-decoration: none; }
.mega__tile:hover .mega__num { color: var(--accent); }
.mega__tile:active { background-color: var(--accent-thin); }
.mega__tile:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }
  .masthead__cta { display: none; }
  html.js .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: var(--z-drawer);
    background: var(--paper);
    background-image: var(--ledger-lines);
    border-top: var(--hair);
    border-bottom: 1px solid var(--rule-strong);
    box-shadow: 0 30px 50px -30px rgba(20, 32, 31, 0.5);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
  }
  html.js .nav.is-open { display: block; }
  html:not(.js) .masthead__inner { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; flex-basis: 100%; }
  html:not(.js) .nav-toggle { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); }
  .nav__item { border-bottom: var(--hair); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 52px; padding: 10px 6px; font-size: 1.3rem; }
  .nav__cta-item { display: block; border-bottom: 0; padding-top: var(--s-3); }
  .nav__cta-item .btn { width: 100%; }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; }
  .mega__inner { grid-template-columns: 1fr; gap: var(--s-3); padding: 0 0 var(--s-3); }
  .mega__inner.shell { padding-inline: 0; }
  .mega__index { border-right: 0; padding-right: 0; }
  .mega__tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
  .mega__num { font-size: 2.2rem; }
}
@media (max-width: 479px) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 8px 11px; }
  .masthead__inner { gap: var(--s-2); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 22px 10px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--zoti-ae8);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow: 0 0 0 0 var(--accent);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-press);
}
.btn .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover { background: var(--ink-3); color: var(--sheet); box-shadow: 3px 3px 0 var(--accent); transform: translate(-1px, -1px); text-decoration: none; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 0 var(--accent); background: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--sheet); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--sheet); box-shadow: 3px 3px 0 var(--ink); }
.btn--accent:active { background: var(--accent-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--sheet); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn--ghost:active { background: var(--accent-thin); }

.btn--on-ink { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--on-ink:hover { background: var(--sheet); color: var(--ink); box-shadow: 3px 3px 0 var(--accent-bright); }
.btn--on-ink:active { background: var(--accent-thin); }
.btn--ghost-ink { background: transparent; color: var(--on-ink); border-color: rgba(238, 244, 242, 0.55); }
.btn--ghost-ink:hover { background: rgba(238, 244, 242, 0.08); color: var(--sheet); border-color: var(--on-ink); box-shadow: 3px 3px 0 var(--accent-bright); }
.btn--ghost-ink:active { background: rgba(238, 244, 242, 0.16); }

.btn--sm { min-height: 44px; padding: 8px 16px 7px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 2px;
  font-family: var(--zoti-d12);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), gap var(--dur-2) var(--ease-out);
}
.link-arrow .icon { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--accent-deep); border-bottom-color: currentColor; gap: 12px; text-decoration: none; }
.link-arrow:active { color: var(--ink); }
.link-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  font-family: var(--zoti-d12);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tag--accent { border-color: var(--accent); color: var(--accent-deep); background: color-mix(in srgb, var(--accent-thin) 40%, var(--sheet)); }

.crumbs { font-family: var(--zoti-d12); font-size: var(--fs-meta); letter-spacing: 0.05em; color: var(--graphite); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); }
.crumbs a { color: var(--graphite); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; transition: color var(--dur-2) var(--ease-out); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs a:active { color: var(--ink); }
.crumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: var(--hair);
}
.stat {
  min-width: 0;
  padding: var(--s-3) var(--s-3) var(--s-3) 0;
  display: grid;
  gap: 6px;
  align-content: start;
}
.stat + .stat { padding-left: var(--s-3); border-left: var(--hair); }
.stat__num { font-family: var(--zoti-ae8); font-weight: 800; font-size: var(--fs-numeral); line-height: 0.88; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: 1rem; line-height: 1.35; color: var(--ink); }
.stat__source { font-family: var(--zoti-d12); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--graphite); text-transform: uppercase; }
@media (max-width: 767px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--hair); }
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee--frost { background: var(--frost); }
.marquee--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.masthead { background: var(--paper); }
.btn--accent { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: var(--sheet); }
.marquee__group { display: flex; align-items: center; flex: none; gap: 0; padding-right: 0; list-style: none; margin: 0; padding-left: 0; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding-inline: var(--s-3);
  font-family: var(--zoti-3d5);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1.2;
}
.marquee__item b, .marquee__num { font-family: var(--zoti-d12); font-variant-caps: normal; font-size: 0.62em; font-weight: 500; color: var(--accent); letter-spacing: 0; }
.marquee--ink .marquee__num { color: var(--accent-bright); }
.marquee__dot { width: 7px; height: 7px; background: var(--rule-strong); transform: rotate(45deg); flex: none; }
.marquee__item:first-child .marquee__dot { background: var(--accent); }
.marquee.is-looping .marquee__track { animation: marquee-run var(--marquee-dur) linear infinite; }
.marquee--reverse.is-looping .marquee__track { animation-direction: reverse; }
.marquee.is-looping:hover .marquee__track,
.marquee.is-looping:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@media (hover: none) { .marquee.is-looping .marquee__track { animation-duration: var(--marquee-dur-slow); } }
@keyframes marquee-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee.is-looping .marquee__track { animation: none; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; }
  .marquee__item { white-space: normal; }
}

.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: auto;
  border-top: 1px solid var(--ink);
  border-left: var(--hair);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: var(--hair);
  border-bottom: var(--hair);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.tile--tall { grid-row: span 2; }
.tile__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--frost); border-bottom: var(--hair); }
.tile--tall .tile__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86); transition: transform var(--dur-4) var(--ease-out), filter var(--dur-3) var(--ease-out); }
.tile__body { display: grid; gap: var(--s-1); padding: var(--s-3) var(--s-3) var(--s-3); align-content: start; background-image: var(--ledger-lines); }
.tile__num { font-family: var(--zoti-d12); font-size: var(--fs-meta); letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.tile__title { font-family: var(--zoti-ae8); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--ink); }
.tile--tall .tile__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.tile__text { font-size: 1.02rem; line-height: 1.5; color: var(--graphite); }
.tile__basis { font-family: var(--zoti-d12); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--graphite); border-top: var(--hair); padding-top: var(--s-1); margin-top: var(--s-1); }
.tile__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--zoti-d12); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tile__go .icon { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease-out); }
a.tile:hover { background: var(--sheet); box-shadow: inset 0 3px 0 var(--accent); text-decoration: none; }
a.tile:hover .tile__media img { transform: scale(1.03); filter: saturate(1); }
a.tile:hover .tile__go .icon { transform: translateX(4px); }
a.tile:active { background: var(--frost); }
a.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 1023px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tall { grid-column: 1 / -1; grid-row: auto; }
  .tile--tall .tile__media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 599px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

.frame { position: relative; margin: 0; min-width: 0; }
.frame__img {
  position: relative;
  background: var(--frost);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 -1px var(--paper), 10px 10px 0 0 var(--rule-strong);
  overflow: hidden;
}
.frame__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.02); }
.frame__caption {
  display: flex;
  gap: var(--s-2);
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: var(--s-3);
  padding-top: 6px;
  border-top: var(--hair);
  font-family: var(--zoti-d12);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--graphite);
}
.frame__caption > * { min-width: 0; }

.ledger-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--sheet); }
.ledger-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.ledger-table caption { caption-side: top; text-align: left; padding: var(--s-2) var(--s-2) var(--s-1); font-family: var(--zoti-d12); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.ledger-table th, .ledger-table td { padding: 12px var(--s-2); text-align: left; vertical-align: top; border-bottom: var(--hair); }
.ledger-table thead th { font-family: var(--zoti-d12); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); background: var(--frost); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.ledger-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--frost) 55%, var(--sheet)); }
.ledger-table tbody tr:last-child td, .ledger-table tbody tr:last-child th { border-bottom: 0; }
.ledger-table .is-clause, .ledger-table td:first-child { font-family: var(--zoti-d12); font-size: 0.86rem; color: var(--accent); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.ledger-table .is-mono { font-family: var(--zoti-d12); font-size: 0.84rem; font-variant-numeric: tabular-nums lining-nums; }
.ledger-table tbody th { font-weight: 600; }

.spec { display: grid; border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--s-3); padding: 12px 0; border-bottom: var(--hair); }
.spec__row > * { min-width: 0; }
.spec dt { font-family: var(--zoti-d12); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); padding-top: 4px; }
.spec dd { margin: 0; }
@media (max-width: 559px) { .spec__row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.note {
  position: relative;
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  background: var(--sheet);
  border: var(--hair);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sheet);
  font-size: 1.02rem;
}
.note__title { font-family: var(--zoti-d12); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

.checklist { list-style: none; padding: 0; margin: 0; border-top: var(--hair); }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-2); padding: 10px 0; border-bottom: var(--hair); align-items: start; }
.checklist .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 4px; }

.form { display: grid; gap: var(--s-4); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
.form__grid > * { min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 639px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field__label { font-family: var(--zoti-3d5); font-weight: 600; font-size: 1.04rem; font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--ink); line-height: 1.25; }
.field__label .req { color: var(--accent); margin-left: 2px; }
.field__hint { font-size: 0.94rem; color: var(--graphite); line-height: 1.4; }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--ink);
  border-radius: var(--radius-input);
  font-family: var(--zoti-3d5);
  font-size: 1.08rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.field textarea { min-height: calc(var(--line) * 5); resize: vertical; background-image: var(--ledger-lines); background-attachment: local; line-height: var(--line); padding-top: 10px; }
.field select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.input:hover, .field input:not([type="checkbox"]):not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); background-color: color-mix(in srgb, var(--frost) 30%, var(--sheet)); }
.input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-thin); background-color: var(--sheet); }
.input:active, .field select:active { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--graphite-soft); opacity: 1; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea,
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-thin); }
.field__error { display: none; align-items: flex-start; gap: 6px; font-size: 0.96rem; line-height: 1.35; color: var(--error); }
.field__error::before { content: "\00D7"; font-family: var(--zoti-d12); font-weight: 500; }
.field.is-invalid .field__error, .field__error:not(:empty) { display: flex; }
.field__error:empty { display: none; }

.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--s-2); align-items: start; cursor: pointer; font-size: 1rem; line-height: 1.45; min-height: 44px; padding-top: 4px; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-input);
  background: var(--sheet);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--sheet); border-bottom: 2px solid var(--sheet); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { opacity: 1; }
.check input:hover { box-shadow: 0 0 0 3px var(--accent-thin); }
.check input:active { background: var(--accent-thin); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.field.is-invalid .check input { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-thin); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; isolation: isolate; display: inline-flex; min-width: 0; max-width: 100%; }
.chip input { position: absolute; z-index: -1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  font-family: var(--zoti-d12);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.chip:hover span { border-color: var(--ink); box-shadow: 2px 2px 0 var(--rule-strong); }
.chip:active span { background: var(--frost); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:checked + span { background: var(--accent-thin); border-color: var(--accent); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.form__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.form__fine { font-size: 0.94rem; color: var(--graphite); line-height: 1.45; }
.form__status { font-family: var(--zoti-d12); font-size: 0.82rem; letter-spacing: 0.02em; min-height: 1.4em; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--accent); }
.section--ink .field__label { color: var(--on-ink); }
.section--ink .field__hint, .section--ink .form__fine { color: var(--on-ink-muted); }
.section--ink .check { color: var(--on-ink); }
.section--ink .check input { border-color: var(--on-ink-muted); }
.section--ink .field__error { color: #F2A89F; }
.section--ink .field__error::before { color: #F2A89F; }

.footer {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-top: var(--s-7);
  padding-bottom: calc(var(--s-5) + 72px);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--line) - 1px), rgba(233, 241, 239, 0.05) calc(var(--line) - 1px), rgba(233, 241, 239, 0.05) var(--line));
}
.footer a { color: var(--on-ink); text-decoration: none; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid var(--rule-on-ink); }
.footer__top > * { min-width: 0; }
.footer__brand img { height: clamp(1.5rem, 5.6vw, 2.5rem); width: auto; max-width: none; }
.footer__brand { display: inline-flex; min-height: 44px; align-items: center; transition: opacity var(--dur-2) var(--ease-out); }
.footer__brand:hover { opacity: 0.8; }
.footer__brand:active { opacity: 0.6; }
.footer__brand:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
.footer__line { margin-top: var(--s-3); font-size: 1.08rem; line-height: 1.5; color: var(--on-ink-muted); max-width: 34ch; font-style: italic; }
.footer__heading { font-family: var(--zoti-d12); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--rule-on-ink); }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.footer__link .icon { width: 15px; height: 15px; color: var(--accent-bright); }
.footer__link:hover { color: var(--sheet); border-bottom-color: var(--accent-bright); padding-left: 4px; }
.footer__link:active { color: var(--accent-bright); }
.footer__link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.footer__address { font-style: normal; font-size: 1.06rem; line-height: 1.55; color: var(--on-ink); padding-top: 10px; }
.footer__address span { display: block; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  padding-top: var(--s-4);
  font-family: var(--zoti-d12);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-muted);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); list-style: none; padding: 0; margin: 0; }
.footer__legal-links a, .footer__consent {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--on-ink-muted);
  font-family: var(--zoti-d12);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(169, 188, 184, 0.35);
  text-underline-offset: 0.3em;
  transition: color var(--dur-2) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.footer__legal-links a:hover, .footer__consent:hover { color: var(--sheet); text-decoration-color: var(--accent-bright); }
.footer__legal-links a:active, .footer__consent:active { color: var(--accent-bright); background: rgba(238, 244, 242, 0.06); }
.footer__legal-links a:focus-visible, .footer__consent:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.footer__fact { display: block; }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-consent);
  background: var(--sheet);
  border-top: 1px solid var(--ink);
  box-shadow: 0 -16px 36px -28px rgba(20, 32, 31, 0.5);
}
.consent::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--rule); }
.consent__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px var(--s-4); padding-block: 12px; }
.consent__text { flex: 1 1 26rem; min-width: 0; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.consent__text a { white-space: nowrap; }
.consent__actions { display: flex; gap: 8px; flex: 0 1 auto; flex-wrap: nowrap; }
.consent__actions .btn { min-height: 44px; padding: 8px 18px 7px; font-size: 1rem; }
@media (max-width: 599px) {
  .consent__inner { padding-block: 10px; gap: 8px; }
  .consent__text { font-size: 0.92rem; line-height: 1.35; flex-basis: 100%; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
}

.chat[hidden] { display: none !important; }
.chat-launcher {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--consent-h));
  z-index: var(--z-chat);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--accent), 0 18px 30px -18px rgba(20, 32, 31, 0.6);
  font-family: var(--zoti-ae8);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), bottom var(--dur-3) var(--ease-out);
}
.chat-launcher .icon { width: 20px; height: 20px; color: var(--accent-bright); }
.chat-launcher:hover { background: var(--ink-3); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent), 0 22px 34px -18px rgba(20, 32, 31, 0.6); }
.chat-launcher:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--accent), 0 10px 20px -16px rgba(20, 32, 31, 0.6); background: var(--ink); }
.chat-launcher:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.chat-launcher[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); }
.chat-launcher[aria-expanded="true"] .icon { color: var(--sheet); }
.chat-launcher__badge {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 24px;
  min-height: 24px;
  padding: 2px 6px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--sheet);
  border: 2px solid var(--paper);
  font-family: var(--zoti-d12);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.chat-launcher__badge:empty { display: none; }
@media (max-width: 479px) {
  .chat-launcher { min-height: 48px; padding: 8px 14px; font-size: 1rem; }
}

.chat-panel {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--consent-h) + 66px);
  z-index: var(--z-chat);
  width: min(390px, calc(100vw - 2 * var(--gutter)));
  max-height: min(600px, calc(100vh - var(--consent-h) - 120px));
  max-height: min(600px, calc(100dvh - var(--consent-h) - 120px));
  display: flex;
  flex-direction: column;
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 -1px var(--paper), 8px 8px 0 0 var(--rule-strong), 0 30px 60px -30px rgba(20, 32, 31, 0.55);
}
.chat-panel[hidden] { display: none; }
.chat-panel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 10px 10px 10px var(--s-3); background: var(--ink); color: var(--on-ink); }
.chat-panel__title { font-family: var(--zoti-ae8); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; color: var(--on-ink); }
.chat-panel__sub { font-family: var(--zoti-d12); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--on-ink-muted); text-transform: uppercase; }
.chat-panel__close {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--on-ink);
  border: 1px solid transparent;
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.chat-panel__close .icon { width: 18px; height: 18px; }
.chat-panel__close:hover { background: rgba(238, 244, 242, 0.1); border-color: var(--rule-on-ink); }
.chat-panel__close:active { background: rgba(238, 244, 242, 0.2); color: var(--accent-bright); }
.chat-panel__close:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -3px; }
.chat-log {
  flex: 1 1 auto;
  min-height: 160px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  background-image: var(--ledger-lines);
}
.chat-msg { max-width: 86%; padding: 9px 13px; font-size: 1rem; line-height: 1.4; border: var(--hair); background: var(--sheet); overflow-wrap: anywhere; align-self: flex-start; }
.chat-msg--me { align-self: flex-end; background: var(--frost); border-color: var(--rule-strong); border-right: 2px solid var(--accent); }
.chat-msg--staff, .chat-msg--system { border-left: 2px solid var(--ink); }
.chat-msg--system { font-style: italic; color: var(--graphite); }
.chat-msg--pending { opacity: 0.6; }
.chat-msg--failed { border-color: var(--error); background: var(--error-thin); }
.chat-msg__meta { display: block; margin-top: 3px; font-family: var(--zoti-d12); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--graphite); }
.chat-msg__retry { font-family: var(--zoti-d12); font-size: 0.7rem; color: var(--error); text-decoration: underline; min-height: 32px; padding: 0 2px; transition: color var(--dur-2) var(--ease-out); }
.chat-msg__retry:hover { color: var(--ink); }
.chat-msg__retry:active { color: var(--accent); }
.chat-msg__retry:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat-intro { display: grid; gap: 10px; padding: var(--s-2) var(--s-3) var(--s-3); border-top: var(--hair); }
.chat-intro .field input { min-height: 44px; padding: 8px 12px; font-size: 1rem; }
.chat-intro .check { font-size: 0.9rem; }
.chat-compose { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--ink); background: var(--sheet); }
.chat-compose__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  max-height: 140px;
  padding: 10px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-input);
  background: var(--sheet);
  font-family: var(--zoti-3d5);
  font-size: 1rem;
  line-height: 1.35;
  resize: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.chat-compose__input:hover { border-color: var(--graphite); }
.chat-compose__input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-thin); }
.chat-compose__send {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--sheet);
  border: 1px solid var(--accent);
  font-family: var(--zoti-ae8);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-press);
}
.chat-compose__send .icon { width: 16px; height: 16px; }
.chat-compose__send:hover { background: var(--accent-deep); box-shadow: 2px 2px 0 var(--ink); }
.chat-compose__send:active { transform: translate(1px, 1px); box-shadow: none; }
.chat-compose__send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chat-compose__send[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
.chat-status { padding: 0 var(--s-3) 8px; font-family: var(--zoti-d12); font-size: 0.7rem; color: var(--graphite); background: var(--sheet); }
.chat-status:empty { display: none; }
@media (max-width: 479px) {
  .chat-panel { left: 8px; right: 8px; width: auto; bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--consent-h) + 62px); }
}
