/* =====================================================================
   MI 598 · Beyond the Hype
   Swiss / academic brutalism.
   White on black, hard rules, dense grid, system Helvetica + JetBrains Mono.
   No warm tones. No drop caps. No § marks. Decoration earns its place
   only by being functional.
   ===================================================================== */

:root {
  --bg:        #ffffff;
  --ink:       #000000;
  --ink-2:     #1a1a1a;
  --ink-3:     #555555;
  --ink-4:     #8a8a8a;
  --rule:      #000000;
  --rule-2:    #c8c8c8;
  --rule-3:    #e6e6e6;
  --link:      #1029e0;     /* cobalt — one accent, links only */
  --link-vis:  #6a23c4;
  --hi:        #ffe900;     /* highlighter, used sparingly */

  --sans: "Helvetica Neue", "Helvetica", "Inter", "Arial", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 24px;
  --maxw:   1320px;
  --rule-w: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum" 0;
  letter-spacing: -0.005em;
}

::selection { background: var(--ink); color: var(--bg); }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover { background: var(--link); color: var(--bg); text-decoration: none; }
a:visited { color: var(--link-vis); }
a:visited:hover { background: var(--link-vis); color: var(--bg); }

img { max-width: 100%; display: block; }

/* small + utility */
.lbl {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.num { font-variant-numeric: tabular-nums; }
.sep { color: var(--ink-4); padding: 0 6px; }

kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  background: var(--bg);
  text-transform: uppercase;
}

/* =====================================================================
   Masthead
   ===================================================================== */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--rule-w) solid var(--ink);
}
.masthead__row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.masthead__id {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.masthead__id:hover { background: var(--ink); color: var(--bg); }

.masthead__inst {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  justify-self: end;
  align-items: baseline;
}
.masthead__inst a { color: var(--ink); text-decoration: none; }
.masthead__inst a:hover { background: var(--ink); color: var(--bg); }
.masthead__inst .lbl { color: var(--ink-4); }

.masthead__nav {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  margin: 12px calc(var(--gutter) * -1) -12px;
  padding: 0;
}
.masthead__nav a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px var(--gutter);
  border-right: 1px solid var(--rule-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.masthead__nav a:last-child { border-right: none; }
.masthead__nav a:hover { background: var(--ink); color: var(--bg); }
.masthead__nav a .n {
  font-weight: 500;
  color: var(--ink-4);
}
.masthead__nav a:hover .n { color: var(--bg); }

@media (max-width: 880px) {
  .masthead__row { grid-template-columns: 1fr auto; }
  .masthead__nav { grid-template-columns: repeat(3, 1fr); }
  .masthead__nav a:nth-child(3) { border-right: none; }
  .masthead__nav a:nth-child(-n+3) { border-bottom: 1px solid var(--rule-3); }
}

/* =====================================================================
   Hero
   ===================================================================== */

.hero {
  border-bottom: var(--rule-w) solid var(--ink);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--gutter) 48px;
}
.hero__line {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 10px;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: 4px 0 28px;
}
.hero__title-row { display: block; }

.hero__sub {
  max-width: 60ch;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 40px;
}
.hero__sub em { font-style: italic; }

/* colophon */
.colophon {
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.colophon dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-3);
}
.colophon dt:last-of-type { border-bottom: none; }
.colophon dd {
  margin: 0;
  padding: 11px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--rule-3);
}
.colophon dd:last-of-type { border-bottom: none; }
.colophon a { color: var(--link); }

/* ledger of large numerals */
.ledger {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ledger__cell {
  padding: 16px 18px 14px;
  border-right: 1px solid var(--rule-3);
  display: flex; flex-direction: column; gap: 4px;
}
.ledger__cell:last-child { border-right: none; }
.ledger__n {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ledger__n small {
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 2px;
}
.ledger__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 880px) {
  .hero__inner { padding: 36px var(--gutter) 32px; }
  .colophon { grid-template-columns: 110px 1fr; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger__cell { border-bottom: 1px solid var(--rule-3); }
  .ledger__cell:nth-child(odd) { border-right: 1px solid var(--rule-3); }
  .ledger__cell:nth-child(even) { border-right: none; }
  .ledger__cell:nth-last-child(-n+1) { border-bottom: none; }
}

/* =====================================================================
   Section primitive
   ===================================================================== */

.sec {
  border-bottom: var(--rule-w) solid var(--ink);
}
.sec__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--ink);
}
.sec__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.sec__cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sec__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
}
.sec__intro {
  grid-column: 3;
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--ink-2);
}

.sec__body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--gutter);
}

/* =====================================================================
   Grid
   ===================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.col { min-width: 0; }
.col--4 { grid-column: span 4; }
.col--5 { grid-column: span 5; }
.col--7 { grid-column: span 7; }
.col--8 { grid-column: span 8; }

@media (max-width: 880px) {
  .col--4, .col--5, .col--7, .col--8 { grid-column: 1 / -1; }
  .sec__head { grid-template-columns: 60px 1fr; padding: 22px var(--gutter); }
  .sec__cap { grid-column: 2; }
  .sec__title { grid-column: 1 / -1; margin-top: 12px; }
  .sec__intro { grid-column: 1 / -1; }
}

/* lede + body text */
.lede {
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
}
.sec__body p { margin: 0 0 1em; font-size: 16px; line-height: 1.55; }
.sec__body p:last-child { margin-bottom: 0; }
.sec__body em { font-style: italic; }
.sec__body strong { font-weight: 600; }
.sec__body u { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* sidebar */
.sidebar {
  border-left: 1px solid var(--ink);
  padding-left: var(--gutter);
}
.sidebar__row { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--rule-3); }
.sidebar__row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar__row p { font-size: 14px; line-height: 1.5; margin: 8px 0 0; color: var(--ink-2); }
.sidebar__row em { font-style: italic; }

@media (max-width: 880px) {
  .sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 28px; margin-top: 12px; }
}

/* =====================================================================
   Objectives
   ===================================================================== */

.obj {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter) 40px;
}
.obj__head {
  border-top: 1px solid var(--ink);
  padding: 14px 0 0;
}
.obj__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.obj__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--rule-3);
  border-right: 1px solid var(--rule-3);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.008em;
}
.obj__list li:nth-child(2n) { border-right: none; padding-right: 0; padding-left: 18px; }
.obj__n {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  padding-top: 1px;
}

@media (max-width: 880px) {
  .obj__list { grid-template-columns: 1fr; }
  .obj__list li, .obj__list li:nth-child(2n) {
    border-right: none; padding-left: 0; padding-right: 0;
  }
}

/* =====================================================================
   Schedule (table-like)
   ===================================================================== */

.sec--schedule { background: var(--bg); }
.weeks-table {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
}
.weeks-table__head {
  display: grid;
  grid-template-columns: 80px 200px 1fr 280px 44px;
  gap: var(--gutter);
  padding: 14px 0 10px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 20px;
}

.weeks { list-style: none; margin: 0; padding: 0; }
.week {
  border-bottom: 1px solid var(--rule-3);
  transition: background .12s ease;
}
.week:hover { background: #fafafa; }
.week.open { background: #f5f5f5; }
.week__btn {
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  display: grid;
  grid-template-columns: 80px 200px 1fr 280px 44px;
  gap: var(--gutter);
  align-items: baseline;
  padding: 18px 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.week__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.week__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.week__h {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 56ch;
}
.week__marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.week__marker span + span::before {
  content: " · ";
  color: var(--ink-4);
}
.week__toggle {
  font-family: var(--mono);
  font-size: 14px;
  width: 28px; height: 28px;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  align-self: center;
  transition: transform .25s ease, background .15s ease, color .15s ease;
  font-weight: 500;
}
.week.open .week__toggle { background: var(--ink); color: var(--bg); transform: rotate(45deg); }

.week__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.7,.1,1);
}
.week.open .week__panel { max-height: 800px; }
.week__panel-inner {
  display: grid;
  grid-template-columns: 80px 200px 1fr 280px 44px;
  gap: var(--gutter);
  padding: 0 0 24px;
}
.week__body {
  grid-column: 3 / 5;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.week__body p { margin: 0 0 .8em; }
.week__body em { font-style: italic; color: var(--ink); }
.week__body strong { font-weight: 600; color: var(--ink); }

@media (max-width: 880px) {
  .weeks-table__head { display: none; }
  .week__btn, .week__panel-inner {
    grid-template-columns: 40px 1fr 32px;
    padding: 14px 0;
  }
  .week__tag, .week__marker { grid-column: 1 / -1; }
  .week__tag { color: var(--ink); }
  .week__h { grid-column: 1 / 3; }
  .week__toggle { grid-column: 3; }
  .week__panel-inner { padding: 0 0 18px; }
  .week__body, .week__panel-inner > .week__marker { grid-column: 1 / -1; }
}

/* =====================================================================
   Works (assignments)
   ===================================================================== */

.works {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  list-style: none;
}
.work {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: var(--gutter);
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-3);
}
.work:first-child { border-top: 1px solid var(--ink); }
.work__num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.work__meta { display: flex; flex-direction: column; gap: 6px; }
.work__weight {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.work__due {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  max-width: 30ch;
}
.work__body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 64ch;
}
.work__body p:last-child { margin-bottom: 0; }
.work__body em { font-style: italic; color: var(--ink); }
.work__body strong { font-weight: 600; color: var(--ink); }

.rubric { list-style: none; margin: 6px 0 0; padding: 0; }
.rubric li {
  padding: 8px 0;
  border-top: 1px solid var(--rule-3);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.rubric li > .lbl {
  flex: 0 0 32px;
  color: var(--ink-3);
}
.rubric li > .lbl + * { flex: 1; min-width: 0; }

.work--final { background: var(--ink); color: var(--bg); margin: 0 calc(var(--gutter) * -1); padding: 28px var(--gutter); border-bottom: none; }
.work--final .work__due, .work--final .lbl { color: var(--ink-4); }
.work--final .work__body p { color: #d0d0d0; }
.work--final em, .work--final strong { color: var(--bg); }
.work--final a { color: var(--bg); }
.work--final a:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 880px) {
  .work, .work--final { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .work__num { font-size: 36px; }
  .work__meta { flex-direction: row; gap: 16px; align-items: baseline; flex-wrap: wrap; }
}

/* =====================================================================
   Instructor
   ===================================================================== */

.inst { padding: 36px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.portrait {
  margin: 0;
}
.portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}
.portrait__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
.portrait__initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--bg);
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,0.04) 14px 15px),
    var(--ink);
}
.portrait__initials span:nth-child(2) {
  color: var(--ink);
  -webkit-text-stroke: 2px var(--bg);
  margin-left: -0.04em;
}
.portrait figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}

.inst__bio .lede { max-width: 56ch; }
.inst__bio p { font-size: 16px; line-height: 1.55; margin: 0 0 14px; }

.contact {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--ink);
}
.contact dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-3);
}
.contact dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-3);
  font-size: 15px;
}

@media (max-width: 880px) {
  .contact { grid-template-columns: 110px 1fr; }
}

/* =====================================================================
   Readings
   ===================================================================== */

.reads { padding: 36px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.reads .lbl { display: block; padding: 0 0 10px; border-bottom: 1px solid var(--ink); margin-bottom: 12px; }
.reads__list, .reads__numbered { list-style: none; margin: 0; padding: 0; }
.reads__list li, .reads__numbered li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-3);
  font-size: 15px;
  line-height: 1.45;
}
.reads__numbered { counter-reset: r; }
.reads__numbered li { counter-increment: r; padding-left: 36px; position: relative; }
.reads__numbered li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute; left: 0; top: 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.reads em { font-style: italic; }

/* =====================================================================
   Policies
   ===================================================================== */

.pol {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 0;
}
.pol__item {
  grid-column: span 4;
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--rule-3);
  border-bottom: 1px solid var(--rule-3);
}
.pol__item:nth-child(3n),
.pol__item:last-child { border-right: none; padding-right: 0; }
.pol__item:nth-child(3n+1) { padding-left: 0; }
.pol__item:nth-child(3n+2) { padding-left: 22px; padding-right: 22px; }
.pol__item:nth-child(3n) { padding-left: 22px; }

.pol__item--res { grid-column: 1 / -1; padding: 26px 0; border-right: none; border-bottom: none; }

.pol__item h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.pol__item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pol__item p:last-child { margin-bottom: 0; }
.pol__item strong { font-weight: 600; color: var(--ink); }
.pol__item em { font-style: italic; }

.grades {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}
.grades th {
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 10px 6px 0;
  border-bottom: 1px solid var(--ink);
}
.grades td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--rule-3);
  vertical-align: top;
}
.grades td:first-child { font-weight: 600; color: var(--ink); font-size: 13px; }
.grades td:nth-child(2) { color: var(--ink-3); }

.pol__res {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-3);
}
.pol__res li {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--rule-3);
  border-right: 1px solid var(--rule-3);
  font-size: 13px;
  line-height: 1.35;
}
.pol__res li:nth-child(4n) { border-right: none; padding-right: 0; }
.pol__res li:nth-child(4n+2),
.pol__res li:nth-child(4n+3) { padding-left: 14px; }
.pol__res li:nth-child(4n) { padding-left: 14px; }

@media (max-width: 980px) {
  .pol { grid-template-columns: repeat(6, 1fr); }
  .pol__item { grid-column: span 3; padding: 22px 16px !important; border-right: 1px solid var(--rule-3) !important; }
  .pol__item:nth-child(2n) { border-right: none !important; padding-right: 0 !important; }
  .pol__res { grid-template-columns: repeat(2, 1fr); }
  .pol__res li, .pol__res li:nth-child(n) {
    padding: 12px 12px 12px 0 !important;
    border-right: 1px solid var(--rule-3);
  }
  .pol__res li:nth-child(2n) { border-right: none; padding-right: 0 !important; }
}
@media (max-width: 600px) {
  .pol__item { grid-column: 1 / -1; border-right: none !important; padding: 22px 0 !important; }
  .pol__res { grid-template-columns: 1fr; }
}

/* =====================================================================
   Footer
   ===================================================================== */

.foot {
  background: var(--ink);
  color: var(--bg);
}
.foot__row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot__row a { color: var(--bg); text-decoration: underline; }
.foot__row a:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 880px) {
  .foot__row { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
