/* The BarqCargo vault perspective is shared by the two galleries. */
.arc-section {
  --arc-paper: #ecf2f6;
  --arc-ink: #112943;
  --arc-rule: #afbfcf;
  --arc-action: #154da6;
  --arc-width: clamp(292px, 31vw, 460px);
  --arc-height: clamp(300px, 46svh, 487px);
  background: var(--arc-paper);
  color: var(--arc-ink);
  position: relative;
  isolation: isolate;
  width: 100%;
}
.arc-section.arc-work {
  --arc-paper: #081c32;
  --arc-ink: #f4f9ff;
  --arc-rule: #42607b;
  --arc-action: #a5e3fa;
}
.arc-sticky { box-sizing: border-box; padding: clamp(58px,8vw,110px) 0 34px; background: var(--arc-paper); }
.arc-top,.arc-toolbar { width: min(89%, 1390px); margin-inline: auto; }
.arc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.arc-top h2 { margin: 0; color: inherit; max-width: 19ch; font-family: inherit; font-weight: 500; font-size: clamp(2.35rem,5.1vw,5rem); line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
.arc-index { display: inline-flex; flex: none; align-items: center; gap: .45rem; padding: .75rem 0; color: var(--arc-action); font: 550 1rem/1.1 inherit; text-decoration: none; }
.arc-index:hover,.arc-index:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.arc-index svg { width: 16px; height: 16px; }
.arc-track { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(235px,100%),1fr)); margin: 24px auto; width: min(89%,1390px); gap: 18px; }
.arc-card { box-sizing: border-box; width: 100%; height: var(--arc-height); margin: 0; padding: 0; }
.arc-link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; border-radius: clamp(17px,2vw,28px); border: 1px solid rgba(122,160,190,.66); background: #142c46; box-shadow: 0 16px 38px -19px #001328b0, inset 0 1px #ffffff55; color: white; text-decoration: none; isolation: isolate; -webkit-user-drag: none; }
.arc-art { display: block; position: absolute; z-index: -2; inset: 0; background: #19324f; }
.arc-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; pointer-events: none; }
.arc-card-text { display: flex; flex-direction: column; gap: .55rem; padding: 25% clamp(17px,1.8vw,28px) clamp(18px,2vw,30px); background: linear-gradient(0deg,#07182afc 4%,#081b30f2 41%,#081a2cd6 64%,#081b3010 97%,transparent); color: #fff; }
.arc-card h3 { color: #fff; font-family: inherit; font-size: clamp(1.48rem,2.4vw,2.34rem); font-weight: 550; line-height: 1.04; letter-spacing: -.045em; margin: 0; max-width: 17ch; }
.arc-summary { font-size: clamp(.90rem,1.04vw,1.04rem); line-height: 1.42; font-weight: 450; color: #e7f1fa; }
.arc-open { position: absolute; top: 14px; right: 14px; display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; border: 1px solid #c9e8f299; background: #05233b96; color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.arc-toolbar[hidden] { display: none; }
.arc-toolbar { display: flex; align-items: center; gap: 22px; position: relative; z-index: 3; }
.arc-controls { display: flex; gap: 9px; }
.arc-controls button { display: grid; place-items: center; padding: 0; min-width: 46px; min-height: 46px; width: 46px; height: 46px; cursor: pointer; border: 1px solid var(--arc-rule); border-radius: 50%; color: var(--arc-ink); background: transparent; }
.arc-controls button[aria-disabled=true] { opacity: .45; cursor: default; }
.arc-controls button:hover:not([aria-disabled=true]) { background: var(--arc-ink); color: var(--arc-paper); }
.arc-index:focus-visible,.arc-link:focus-visible,.arc-controls button:focus-visible { outline: 3px solid #238cfa; outline-offset: 3px; }
.arc-count { font: 550 .94rem/1.1 ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.arc-divider { color: var(--arc-rule); margin: 0 .45em; }
.arc-meter { height: 1px; flex: 1; background: var(--arc-rule); }
.arc-meter i { display: block; width: 100%; height: 2px; position: relative; top: -1px; background: var(--arc-action); transform: scaleX(var(--arc-progress, .1)); transform-origin: left; }
.arc-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.arc-enhanced .arc-sticky { display: grid; grid-template-rows: auto 1fr auto; align-content: center; overflow: clip; }
.arc-enhanced .arc-track { position: relative; width: 100%; margin: 0; display: block; perspective: 1600px; transform-style: preserve-3d; min-height: calc(var(--arc-height) + 74px); touch-action: pan-y pinch-zoom; }
.arc-enhanced .arc-card { position: absolute; left: 50%; top: 49%; width: var(--arc-width); margin-left: calc(var(--arc-width)*-.5); margin-top: calc(var(--arc-height)*-.5); transform-origin: center 130%; }
.arc-enhanced .arc-card[hidden] { display: none; }
.arc-enhanced .arc-card.is-selected .arc-link { border-color: #c6e8ff; }
.arc-enhanced .arc-card:not(.is-selected) .arc-summary { visibility: hidden; }
.arc-pinned { height: calc(100svh + var(--arc-steps, 5)*clamp(150px,31svh,340px)); }
.arc-pinned .arc-sticky { position: sticky; top: 0; height: 100svh; padding-top: clamp(88px,12.7svh,128px); padding-bottom: max(25px,4svh); }
.arc-compact .arc-sticky { padding-top: clamp(46px,7vw,82px); }
.arc-compact .arc-card { top: 50%; }
@media (min-width: 1600px) { .arc-section { --arc-width: 470px; } }
@media (max-width: 680px) {
  .arc-section { --arc-width: min(70vw,340px); --arc-height: clamp(290px,43svh,400px); }
  .arc-top,.arc-toolbar { width: 89%; }
  .arc-top { align-items: flex-start; flex-wrap: wrap; gap: 5px 12px; }
  .arc-top h2 { font-size: clamp(2.18rem,8vw,3.1rem); max-width: 14ch; }
  .arc-index { font-size: .94rem; padding: .45rem 0; }
  .arc-open { width: 32px; height: 32px; top: 11px; right: 11px; }
  .arc-card-text { padding: 25% 16px 18px; }
  .arc-card h3 { font-size: clamp(1.39rem,5.2vw,1.75rem); }
  .arc-summary { font-size: .90rem; line-height: 1.4; }
}
@media (max-height: 650px) and (min-width: 681px) {
  .arc-section { --arc-height: 280px; --arc-width: min(34vw,380px); }
  .arc-top h2 { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .arc-enhanced .arc-card { transform: none !important; }
  .arc-enhanced .arc-card:not(.is-selected) { display: none; }
  .arc-section { --arc-width: min(86%,470px); }
}
