/* Trade Dome, the public week page (25 Oct 2026). Rides on style.css: ivory canvas, navy ink, gold light, Archivo.
   The week is five pillars side by side on a wide screen and a column of days on a phone; today wears the keystone. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.week { padding-block: 32px 88px; }
.week-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); font-size: 13px; text-decoration: none; }
.week-back:hover { color: var(--ink); }
.week-back__arrow { width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--glyph) center/contain no-repeat; mask: var(--glyph) center/contain no-repeat;
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 8H3M7 4L3 8l4 4'/%3E%3C/svg%3E"); }

.week-head { max-width: 760px; padding-block: 20px 40px; }
.week-head h1 { font-size: clamp(44px, 6vw, 84px); }
.week-dates { margin-top: 18px; font-size: 15px; font-weight: 600; font-stretch: 112%; letter-spacing: .02em; color: var(--accent); }
.week-lead { margin-top: 18px; font-size: 17px; line-height: 1.65; max-width: 62ch; }
.week-desk { margin-top: 18px; padding: 14px 18px; border-left: 2px solid var(--gold); background: var(--paper); font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 62ch; }

.week-board { position: relative; }
.week-state { padding: 22px 24px; border: 1px dashed #c9bc9f; border-radius: 14px; background: var(--paper); color: var(--muted); font-size: 15px; }
.week-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden; box-shadow: 0 24px 48px -36px #12295155; }
.week-day { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border-left: 1px solid var(--line); }
.week-day:first-child { border-left: 0; }
.week-day::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; background: linear-gradient(90deg, transparent, #c9a65a 20%, #c9a65a 80%, transparent); opacity: .55; }
.week-day__head { display: grid; gap: 2px; margin: 0; padding: 22px 18px 16px; border-bottom: 1px solid var(--line); font-weight: 400; }
.week-day__name { font-size: 18px; font-weight: 600; font-stretch: 112%; letter-spacing: -.01em; }
.week-day__date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.week-day__today { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 4px 12px 5px; font-size: 12px; font-weight: 650; letter-spacing: .02em; color: var(--ink); background: var(--gold); clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.week-day.is-today { background: linear-gradient(180deg, #fbf3df, var(--paper) 140px); }
.week-day.is-today::before { opacity: 1; background: var(--gold); left: 0; right: 0; }
.week-day.is-past .week-day__head, .week-day.is-past .week-day__list { opacity: .55; }
.week-day__list { list-style: none; margin: 0; padding: 8px 0 14px; display: grid; align-content: start; }
.week-release, .week-holiday, .week-quiet { padding: 12px 18px; }
.week-release { display: grid; gap: 4px; }
.week-release + .week-release, .week-holiday + .week-release { border-top: 1px solid #efe8d8; }
.week-release.is-done { opacity: .55; }
.week-time { white-space: nowrap; font-size: 22px; font-weight: 600; font-stretch: 116%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.week-release__body { display: grid; gap: 3px; min-width: 0; }
.week-release__title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.week-release__lead { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.week-release__more { font-size: 12.5px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.week-code { flex: 0 0 auto; display: inline-block; padding: 1px 7px; border: 1px solid #12295140; border-radius: 5px; font-size: 11px; font-weight: 650; letter-spacing: .06em; color: var(--ink); background: #fff; }
.week-holiday { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.week-quiet { font-size: 14px; color: var(--muted); }

.week-door { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px; margin-top: 48px; padding: 32px; border-radius: 18px; background: var(--ink-deep); color: var(--paper); box-shadow: 0 30px 60px -40px #0d1f40; }
.week-door h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.week-door p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--dark-muted); max-width: 60ch; }
.week-door .button-primary { background: var(--gold); color: var(--ink); box-shadow: none; }
.week-door .button-primary:hover { background: #e6c26c; box-shadow: none; }
.week-door :focus-visible { outline-color: var(--gold); }
.week-door__arch { position: relative; width: 64px; height: 80px; border: 2px solid #ddb24e99; border-bottom: 0; border-radius: 32px 32px 0 0; }
.week-door__arch span { position: absolute; top: -2px; left: 50%; width: 16px; height: 12px; transform: translateX(-50%); background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.week-fine { margin-top: 32px; max-width: 80ch; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

@media (max-width: 1039px) {
  .week-days { grid-template-columns: 1fr; }
  .week-day { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); grid-template-rows: auto; border-left: 0; border-top: 1px solid var(--line); }
  .week-day:first-child { border-top: 0; }
  .week-day::before { display: none; }
  .week-day__head { border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 18px; align-content: start; }
  .week-day__today { position: static; transform: none; justify-self: start; margin-top: 6px; }
  .week-day.is-today { background: linear-gradient(90deg, #fbf3df, var(--paper) 70%); box-shadow: inset 3px 0 0 var(--gold); }
  .week-day__list { padding: 6px 0; }
  .week-release { grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .week-time { font-size: 17px; }
}
@media (max-width: 599px) {
  .week-head { padding-block: 8px 28px; }
  .week-lead { font-size: 16px; }
  .week-day { grid-template-columns: 1fr; }
  .week-day__head { grid-template-columns: auto auto 1fr; align-items: baseline; gap: 10px; border-right: 0; border-bottom: 1px solid #efe8d8; padding: 16px; }
  .week-day__today { margin: 0; justify-self: end; }
  .week-release, .week-holiday, .week-quiet { padding: 12px 16px; }
  .week-release { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .week-time { font-size: 16px; }
  .week-door { grid-template-columns: 1fr; padding: 26px 20px; }
  .week-door__arch { display: none; }
  .week-door .button { width: 100%; }
}
