/* EXTRACTED from design/homepage.html - the comp is the pixel spec.
   Edit the comp first, then re-extract. Never diverge the two by hand. */

/* ============================================================
   purduestudent.com — homepage comp v1
   Family palette: Boilermaker gold #C9A24B + near-black on ivory
   #FAF6ED, shared with purdueglobaltutors / purdueglobalpreceptor
   / purdueassignments.

   THIRD ARCHITECTURE IN THE NETWORK. Capella is an instrument
   panel (white cards, centred column, all-sans). Walden is an
   annotated document (serif quotes, hanging margin, ruled).
   This is A SCHEDULE — full-bleed horizontal bands divided by
   heavy black rules, wide gold numerals, nothing carded, and a
   fit audit shown all at once rather than as a stepper.
   ============================================================ */

:root {
  --ivory:  #FAF6ED;
  --paper:  #FFFFFF;
  --tray:   #F2EBDB;
  --sand:   #E9E0C9;

  --black:  #0F0D08;
  --ink:    #17140D;
  --body:   #3B362A;
  --quiet:  #6B6350;
  --pale:   #948B75;

  --line:   #E2DAC4;
  --line-2: #CFC4A5;

  --gold:      #C9A24B;
  --gold-deep: #A87F2A;
  --gold-ink:  #79581A;
  --gold-lite: #E6CF93;
  --gold-soft: #F4E9CE;

  --stop:      #9E3B1F;
  --stop-soft: #F6E3DC;

  --disp: "Chivo", "Segoe UI", Arial, sans-serif;
  --text: "Public Sans", "Segoe UI", Arial, sans-serif;

  --pad: clamp(1.15rem, 4.5vw, 4rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3 { font-family: var(--disp); margin: 0; line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.gutter { max-width: 1260px; margin: 0 auto; padding-inline: var(--pad); }

/* every band is separated by a heavy rule — the schedule grammar */
.deck { border-top: 3px solid var(--black); }
.deck > .gutter { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.deck-tray { background: var(--tray); }
.deck-dark { background: var(--black); color: var(--ivory); }

.lede-2 { font-size: clamp(1.02rem, 1.8vw, 1.14rem); color: var(--quiet); max-width: 62ch; }

.go {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  padding: 1rem 1.7rem; min-height: 52px;
  background: var(--black); color: var(--ivory); border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  box-shadow: 5px 5px 0 var(--gold);
  transition: transform .14s ease, box-shadow .14s ease;
}
.go:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--gold); }
.go-lite { background: var(--gold); color: var(--black); box-shadow: 5px 5px 0 var(--black); }
.go-lite:hover { box-shadow: 3px 3px 0 var(--black); }
.go-thin { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); min-height: 46px; padding: .7rem 1.2rem; font-size: .93rem; }
.go-thin:hover { transform: none; box-shadow: inset 0 0 0 2px var(--ink); }

/* ============================================================
   MASTHEAD
   ============================================================ */

.top { background: var(--ivory); border-bottom: 3px solid var(--black); }
.top .gutter { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }

.emblem { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.emblem svg { width: 34px; height: 26px; flex: none; display: block; }
.emblem .b1, .emblem .b2, .emblem .b3 { transition: transform .3s cubic-bezier(.22,1,.36,1); transform-origin: bottom; }
.emblem:hover .b1 { transform: scaleY(1.18); }
.emblem:hover .b2 { transform: scaleY(1.12); }
.emblem:hover .b3 { transform: scaleY(1.06); }
.emblem b { font-family: var(--disp); font-weight: 900; font-size: 1.14rem; letter-spacing: -.045em; text-transform: none; }

.jump { display: flex; gap: 1.7rem; }
.jump a { font-size: .93rem; font-weight: 500; color: var(--body); text-decoration: none; }
.jump a:hover { color: var(--gold-deep); }
@media (max-width: 1060px) { .jump { display: none; } }

/* ============================================================
   OPENING
   ============================================================ */

.open .gutter { padding-block: clamp(2.5rem, 5.5vw, 4.25rem) clamp(2rem, 4vw, 3rem); }
.open-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.75rem, 4.5vw, 4rem); align-items: end; }
@media (max-width: 940px) { .open-grid { grid-template-columns: 1fr; align-items: start; } }

.open h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 900; letter-spacing: -.045em; }
.open h1 u { text-decoration: none; color: var(--gold-deep); }
.open-note { font-size: 1.06rem; color: var(--body); max-width: 44ch; }
.open-note strong { color: var(--ink); font-weight: 700; }

.standing { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
@media (max-width: 760px) { .standing { grid-template-columns: 1fr; } }
.standing div { padding: 1.2rem 1.5rem 1.2rem 0; border-right: 1px solid var(--line-2); }
.standing div:last-child { border-right: 0; }
@media (max-width: 760px) { .standing div { border-right: 0; border-bottom: 1px solid var(--line-2); padding-right: 0; } .standing div:last-child { border-bottom: 0; } }
.standing b { display: block; font-family: var(--disp); font-weight: 900; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.04em; }
.standing span { font-size: .9rem; color: var(--quiet); }

/* ============================================================
   THE CLIFF — the trial, drawn, with an eligibility switch
   ============================================================ */

.trial h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.042em; max-width: 20ch; }
.trial > .gutter > p { margin-top: 1.1rem; }

.switchbar { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--black); width: fit-content; max-width: 100%; }
.switchbar button {
  font-family: var(--disp); font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  background: var(--ivory); color: var(--body); border: 0; padding: .85rem 1.4rem; min-height: 50px; cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.switchbar button + button { border-left: 2px solid var(--black); }
.switchbar button[aria-pressed="true"] { background: var(--black); color: var(--ivory); }
.switchbar button:hover:not([aria-pressed="true"]) { background: var(--gold-soft); }

.scale { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.weeks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.weeks button {
  position: relative; border: 0; padding: 0; cursor: pointer; background: none;
  display: flex; flex-direction: column; justify-content: flex-end; height: clamp(96px, 15vw, 150px);
}
.weeks i {
  display: block; width: 100%; background: var(--sand);
  transition: height .3s cubic-bezier(.22,1,.36,1), background .2s ease;
}
.weeks button[data-free="1"] i { background: var(--gold-lite); }
.weeks button[data-owed="1"] i { background: var(--gold); }
.weeks button[aria-pressed="true"] i { background: var(--black); }
.weeks button:hover i { filter: brightness(.94); }
.weeks em { font-style: normal; display: block; margin-top: .5rem; font-size: .8rem; color: var(--pale); text-align: center; }
.weeks button[aria-pressed="true"] em { color: var(--ink); font-weight: 700; }

.verdict-line {
  margin-top: 1.75rem; padding-top: 1.5rem; border-top: 3px solid var(--black);
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: baseline;
}
@media (max-width: 820px) { .verdict-line { grid-template-columns: 1fr; } }
.owed { font-family: var(--disp); font-weight: 900; font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: -.055em; line-height: .9; }
.owed.free { color: var(--gold-deep); }
.owed.due { color: var(--stop); }
.owed small { display: block; font-family: var(--text); font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--quiet); margin-top: .5rem; }
.said { font-size: 1.05rem; color: var(--body); max-width: 52ch; }
.said b { color: var(--ink); font-weight: 700; }

.smallnote { margin-top: 1.5rem; font-size: .85rem; color: var(--pale); line-height: 1.55; max-width: 74ch; }

/* ============================================================
   THE NAME — a plain two-column reckoning
   ============================================================ */

.namecheck h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.042em; max-width: 22ch; }
.namecheck > .gutter > p { margin-top: 1.1rem; }

.reckon { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .reckon { grid-template-columns: 1fr; } }
.reckon > div { padding: 1.75rem 1.9rem 1.9rem; }
.reckon > div:first-child { background: var(--gold-soft); border-top: 3px solid var(--gold-deep); }
.reckon > div:last-child { background: var(--paper); border-top: 3px solid var(--black); }
.reckon h3 { font-size: 1.3rem; font-weight: 800; }
.reckon ul { margin: 1.15rem 0 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.reckon li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .7rem; font-size: .97rem; color: var(--body); line-height: 1.55; }
.reckon li::before { content: "—"; color: var(--gold-deep); font-weight: 700; }
.reckon > div:last-child li::before { color: var(--quiet); }

/* ============================================================
   PRICE MODELS — a wide ruled comparison
   ============================================================ */

.models h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.042em; }
.models > .gutter > p { margin-top: 1.1rem; }
.grid-scroll { margin-top: clamp(2rem, 4vw, 3rem); overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 44rem; }
caption { text-align: left; padding-bottom: .9rem; font-size: .9rem; color: var(--quiet); }
th, td { text-align: left; padding: 1.15rem 1.5rem 1.15rem 0; border-bottom: 1px solid var(--line-2); vertical-align: top; font-size: .96rem; }
thead th { border-bottom: 3px solid var(--black); font-family: var(--disp); font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; }
tbody th { font-weight: 600; color: var(--ink); width: 24%; }
tbody td { color: var(--body); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 3px solid var(--black); }
td strong { font-family: var(--disp); font-weight: 800; font-size: 1.1rem; letter-spacing: -.025em; }

/* ============================================================
   THE AUDIT — all five questions at once, verdict builds live
   ============================================================ */

.audit h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.042em; max-width: 18ch; color: var(--ivory); }
.audit > .gutter > p { margin-top: 1.1rem; color: rgba(250,246,237,.78); max-width: 58ch; font-size: 1.05rem; }

.sheet { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 0; }
.qrow { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; padding-block: 1.4rem; border-top: 1px solid rgba(250,246,237,.22); }
.qrow:last-of-type { border-bottom: 1px solid rgba(250,246,237,.22); }
@media (max-width: 860px) { .qrow { grid-template-columns: 1fr; gap: .85rem; } }
.qrow h3 { font-family: var(--disp); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; color: var(--ivory); }
.picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.picks button {
  font-family: var(--text); font-size: .93rem; font-weight: 500; color: rgba(250,246,237,.86);
  background: transparent; border: 1.5px solid rgba(250,246,237,.3); padding: .6rem 1rem; min-height: 46px; cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.picks button:hover { border-color: var(--gold); color: var(--gold-lite); }
.picks button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 700; }

.summation { margin-top: clamp(2rem, 4vw, 2.75rem); border-top: 3px solid var(--gold); padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.summation-tag { font-family: var(--disp); font-weight: 800; font-size: 1rem; color: var(--gold); }
.summation h3 { font-size: clamp(1.4rem, 3vw, 2.05rem); font-weight: 900; letter-spacing: -.038em; color: var(--ivory); margin-top: .8rem; max-width: 26ch; }
.summation p { margin-top: 1rem; font-size: 1.04rem; color: rgba(250,246,237,.8); max-width: 56ch; line-height: 1.6; }
.addenda { margin: 1.6rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; max-width: 60rem; }
.addenda li { border-left: 3px solid var(--gold-deep); padding-left: 1.1rem; }
.addenda b { display: block; font-family: var(--disp); font-weight: 700; font-size: 1rem; color: var(--ivory); letter-spacing: -.02em; }
.addenda span { display: block; margin-top: .25rem; font-size: .96rem; color: rgba(250,246,237,.72); line-height: 1.55; }
.summation-act { margin-top: 1.9rem; }

/* ============================================================
   HEAD TO HEAD
   ============================================================ */

.against h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.042em; }
.against > .gutter > p { margin-top: 1.1rem; }
.pairs { margin-top: clamp(2rem, 4vw, 3rem); border-top: 3px solid var(--black); }
.pairs a { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline; padding-block: 1.35rem; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: background .14s ease, padding-left .14s ease; }
.pairs a:hover { background: var(--gold-soft); padding-left: .7rem; }
.pairs strong { font-family: var(--disp); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.pairs span { font-size: .98rem; color: var(--body); }
.pairs i { font-style: normal; color: var(--gold-deep); font-size: 1.25rem; font-weight: 700; }
@media (max-width: 820px) { .pairs a { grid-template-columns: minmax(0, 1fr) auto; row-gap: .5rem; } .pairs span { grid-column: 1 / -1; } }

/* ============================================================
   CLOSE
   ============================================================ */

.close .gutter { padding-block: clamp(3rem, 6vw, 4.5rem); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 920px) { .close-grid { grid-template-columns: 1fr; } }
.close h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; letter-spacing: -.045em; max-width: 17ch; }
.close-sub { margin-top: 1.15rem; font-size: 1.08rem; color: var(--body); max-width: 42ch; }
.close dl { margin: 2rem 0 0; display: grid; gap: 1.05rem; max-width: 46ch; }
.close dt { font-family: var(--disp); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }
.close dd { margin: .2rem 0 0; font-size: .96rem; color: var(--quiet); line-height: 1.55; }

.slip { background: var(--paper); border: 3px solid var(--black); padding: clamp(1.5rem, 3.5vw, 2rem); display: grid; gap: .9rem; }
.slip h3 { font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; }
.cell { display: grid; gap: .3rem; }
.cell label { font-size: .9rem; font-weight: 600; color: var(--body); }
.cell input, .cell select { font-family: var(--text); font-size: 16px; color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line-2); border-radius: 0; padding: .8rem .9rem; width: 100%; }
.cell input::placeholder { color: var(--pale); }
.slip small { font-size: .82rem; color: var(--quiet); line-height: 1.5; }
.tucked { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   ENDMATTER
   ============================================================ */

.endmatter { border-top: 3px solid var(--black); background: var(--tray); }
.endmatter .gutter { padding-block: clamp(2.5rem, 5vw, 3.25rem) clamp(2rem, 4vw, 2.75rem); display: grid; gap: 1.7rem; }
.end-top { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; }
.end-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.end-nav a { font-size: .93rem; color: var(--body); text-decoration: none; }
.end-nav a:hover { color: var(--gold-deep); }
.service { font-family: var(--disp); font-weight: 800; font-size: clamp(1.15rem, 2.3vw, 1.55rem); letter-spacing: -.032em; max-width: 34ch; line-height: 1.25; }
.service b { color: var(--gold-deep); font-weight: 900; }
.fineprint { font-size: .84rem; color: var(--quiet); line-height: 1.6; max-width: 78ch; }
.fineprint b { color: var(--body); font-weight: 700; }
.stamp { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid var(--line-2); font-size: .84rem; color: var(--pale); }

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