/* ============================================================
   herzingstudent.com — homepage comp v1
   Family palette: Herzing navy #0A2C4D + green #34B988 on cool
   mist, shared with herzingtutors / herzingassignments /
   herzingpreceptor. Palette carries the family.

   ARCHITECTURE, deliberately unlike both siblings:
     capellastudent = instrument panel, cards on a centred column
     waldenstudent  = annotated document, serif + hanging margin
     herzingstudent = A STATEMENT OF ACCOUNT. Ruled ledger rows,
                      right-aligned tabular figures, credits and
                      debits, a balance line. Because Herzing's
                      whole argument is a money-back guarantee.
   ============================================================ */

:root {
  --field:     #F7F9FB;
  --leaf:      #FFFFFF;
  --shade:     #ECF1F5;

  --navy:      #0A2C4D;
  --navy-deep: #06203A;
  --navy-mid:  #0E3A66;

  --green:      #157049;
  --green-fill: #34B988;
  --green-wash: #E4F6EE;

  --amber:      #8A5A00;
  --amber-fill: #FFC629;
  --amber-wash: #FFF4D9;

  --ink:    #14222F;
  --text:   #33475C;
  --muted:  #5B6E82;
  --faint:  #5E6E80;

  --line:   #DCE4EC;
  --line-2: #C2CEDA;

  --disp: "Epilogue", "Segoe UI", Arial, sans-serif;
  --text-f: "Manrope", "Segoe UI", Arial, sans-serif;

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

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

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

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

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

.go {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem; min-height: 50px;
  background: var(--navy); color: #fff; border: 0; border-radius: 6px;
  cursor: pointer; text-decoration: none; transition: background .16s ease;
}
.go:hover { background: var(--navy-deep); }
.go-mini { min-height: 42px; padding: .55rem 1.05rem; font-size: .9rem; }
.go-hollow { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.go-hollow:hover { background: var(--shade); }

/* ============================================================
   LETTERHEAD
   ============================================================ */

.letterhead { background: var(--navy); color: #fff; }
.letterhead .frame { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-block: .95rem; }

.crest { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.crest svg { width: 30px; height: 30px; flex: none; display: block; }
.crest .fill-bar { transition: transform .45s cubic-bezier(.22,1,.36,1); transform-origin: 5px 27px; }
.crest:hover .fill-bar { transform: scaleY(1.18); }
.crest b { font-family: var(--disp); font-weight: 800; font-size: 1.1rem; letter-spacing: -.035em; }
.crest span { font-size: .88rem; color: rgba(255,255,255,.62); }

.jump { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.jump a { font-size: .92rem; color: rgba(255,255,255,.78); text-decoration: none; }
.jump a:hover { color: #fff; }
@media (max-width: 1040px) { .jump { display: none; } }

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

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

.standing { font-size: 1rem; color: var(--muted); max-width: 50ch; }
.standing b { color: var(--ink); font-weight: 700; }

.frontsheet h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 1.2rem; max-width: 17ch; }
.frontsheet h1 u { text-decoration: none; color: var(--green); }
.frontsheet .after { margin-top: 1.35rem; font-size: 1.08rem; color: var(--text); max-width: 46ch; }

/* the headline figure, set as a statement line */
.headline-sum { border-top: 3px solid var(--navy); }
.sum-row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: baseline; padding-block: .95rem; border-bottom: 1px solid var(--line); }
.sum-row dt { font-size: .96rem; color: var(--muted); }
.sum-row dd { margin: 0; font-family: var(--disp); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; text-align: right; }
.sum-row.total { border-bottom: 3px double var(--navy); }
.sum-row.total dt { color: var(--ink); font-weight: 600; }
.sum-row.total dd { font-size: clamp(2rem, 4vw, 2.75rem); }
.sum-foot { margin-top: .9rem; font-size: .84rem; color: var(--faint); line-height: 1.55; }

/* ============================================================
   COVERAGE CHECKER — the signature instrument
   ============================================================ */

.coverage { background: var(--leaf); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.coverage h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); max-width: 20ch; }
.coverage > .frame > p { margin-top: 1.1rem; font-size: 1.05rem; color: var(--muted); max-width: 58ch; }

.check-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } }

.roster { border-top: 2px solid var(--navy); }
.roster button {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; width: 100%; text-align: left;
  font-family: var(--text-f); font-size: 1rem; color: var(--ink);
  background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: .95rem .3rem; min-height: 52px; cursor: pointer;
  transition: background .14s ease, padding-left .14s ease;
}
.roster button:hover { background: var(--shade); padding-left: .7rem; }
.roster button[aria-pressed="true"] { background: var(--shade); font-weight: 600; }
.roster button i { font-style: normal; font-size: .82rem; color: var(--faint); }
.roster button[aria-pressed="true"] i { color: var(--navy-mid); }

.ruling { background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.ruling-stamp { display: inline-block; font-family: var(--disp); font-weight: 800; font-size: .95rem; letter-spacing: .02em; padding-bottom: .45rem; border-bottom: 3px solid currentColor; }
.ruling-stamp.on { color: var(--green); }
.ruling-stamp.off { color: var(--amber); }
.ruling h3 { font-size: clamp(1.3rem, 2.7vw, 1.7rem); margin-top: 1.1rem; max-width: 22ch; }
.ruling p { margin-top: .85rem; font-size: 1rem; color: var(--text); line-height: 1.6; max-width: 46ch; }
.ruling .then { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.ruling .then b { color: var(--ink); font-weight: 700; }

/* ============================================================
   THE RECKONING — credits and debits
   ============================================================ */

.reckoning .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.reckoning h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); max-width: 22ch; }
.reckoning > .frame > p { margin-top: 1.1rem; font-size: 1.05rem; color: var(--muted); max-width: 60ch; }

.books { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .books { grid-template-columns: 1fr; gap: 2.25rem; } }

.book-head { font-family: var(--disp); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; padding-bottom: .7rem; border-bottom: 2px solid currentColor; }
.book-head.credit { color: var(--green); }
.book-head.debit { color: var(--amber); }

.book-list { margin: 0; padding: 0; list-style: none; }
.book-list li { border-bottom: 1px solid var(--line); padding-block: 1.05rem; }
.book-list strong { display: block; font-family: var(--disp); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.book-list span { display: block; margin-top: .3rem; font-size: .94rem; color: var(--muted); line-height: 1.55; }

.bottom-line { margin-top: clamp(2rem, 4vw, 2.75rem); border-top: 3px double var(--navy); padding-top: 1.5rem; }
.bottom-line p { font-family: var(--disp); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.65rem); letter-spacing: -.028em; line-height: 1.3; max-width: 40ch; }
.bottom-line p em { font-style: normal; color: var(--green); }
.bottom-line small { display: block; margin-top: .9rem; font-family: var(--text-f); font-weight: 400; font-size: .95rem; color: var(--muted); max-width: 56ch; line-height: 1.6; }

/* ============================================================
   THE FULL STATEMENT
   ============================================================ */

.statement { background: var(--navy); color: #fff; }
.statement .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.statement h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); color: #fff; }
.statement > .frame > p { margin-top: 1.1rem; font-size: 1.05rem; color: rgba(255,255,255,.72); max-width: 58ch; }

.lines { margin-top: clamp(2rem, 4vw, 3rem); border-top: 2px solid rgba(255,255,255,.35); }
.line-item { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) minmax(0, auto); gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline; padding-block: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.16); }
@media (max-width: 800px) { .line-item { grid-template-columns: 1fr; gap: .4rem; } }
.line-item dt { font-family: var(--disp); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.line-item dd { margin: 0; font-size: .97rem; color: rgba(255,255,255,.74); line-height: 1.55; }
.line-item .mark-fig { font-family: var(--disp); font-weight: 800; font-size: 1.05rem; color: var(--amber-fill); white-space: nowrap; }
@media (min-width: 801px) { .line-item .mark-fig { text-align: right; } }
.lines-foot { margin-top: 1.5rem; font-size: .86rem; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 74ch; }

/* ============================================================
   AGAINST
   ============================================================ */

.against .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.against h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
.against > .frame > p { margin-top: 1.1rem; font-size: 1.05rem; color: var(--muted); max-width: 58ch; }
.tally-set { margin-top: clamp(2rem, 4vw, 3rem); border-top: 2px solid var(--navy); }
.tally-set a { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline; padding-block: 1.3rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .15s ease; }
.tally-set a:hover { padding-left: .6rem; }
.tally-set strong { font-family: var(--disp); font-weight: 700; font-size: 1.16rem; letter-spacing: -.028em; }
.tally-set span { font-size: 1rem; color: var(--text); }
.tally-set i { font-style: normal; color: var(--green); font-size: 1.2rem; transition: transform .15s ease; }
.tally-set a:hover i { transform: translateX(4px); }
@media (max-width: 800px) { .tally-set a { grid-template-columns: 1fr auto; } .tally-set span { grid-column: 1 / -1; } }

/* ============================================================
   CLOSE-OUT
   ============================================================ */

.closeout { background: var(--green-wash); border-top: 1px solid var(--line); }
.closeout .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.closeout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .closeout-grid { grid-template-columns: 1fr; } }
.closeout h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); max-width: 18ch; }
.closeout .lead { margin-top: 1.2rem; font-size: 1.08rem; color: var(--text); max-width: 42ch; }
.closeout dl { margin: 2rem 0 0; display: grid; gap: 1.05rem; max-width: 46ch; }
.closeout dt { font-family: var(--disp); font-weight: 700; font-size: 1rem; color: var(--green); }
.closeout dd { margin: .2rem 0 0; font-size: .96rem; color: var(--text); line-height: 1.55; }

.request { background: var(--leaf); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 3.5vw, 2rem); display: grid; gap: .9rem; }
.request h3 { font-size: 1.32rem; }
.slot { display: grid; gap: .3rem; }
.slot label { font-size: .9rem; font-weight: 500; color: var(--text); }
.slot input, .slot select { font-family: var(--text-f); font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--line-2); border-radius: 5px; padding: .8rem .9rem; width: 100%; }
.slot input::placeholder { color: var(--faint); }
.request small { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.tucked { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ============================================================
   HERO ENQUIRY  +  RELOCATED STATEMENT  +  DARK SITEMAP FOOTER
   ============================================================ */

.hero-enquiry {
  background: var(--leaf); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(1.5rem, 3.5vw, 2rem); display: grid; gap: .85rem;
  box-shadow: 0 1px 2px rgba(20,34,47,.05), 0 22px 44px -28px rgba(20,34,47,.30);
}
.hero-enquiry h2 { font-size: 1.3rem; letter-spacing: -.03em; }
.hero-enquiry .sub { font-size: .95rem; color: var(--muted); }
.hero-enquiry .pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 520px) { .hero-enquiry .pair { grid-template-columns: 1fr; } }
.hero-enquiry small { font-size: .82rem; color: var(--faint); line-height: 1.5; }

/* the tuition statement, now its own section with copy either side */
.statement-band { background: var(--leaf); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-band .frame { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.flank { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (max-width: 1000px) { .flank { grid-template-columns: 1fr; } .flank .aside-l, .flank .aside-r { max-width: 60ch; } }
.flank h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.flank p { margin-top: .9rem; font-size: 1rem; color: var(--text); line-height: 1.65; }
.flank p + p { margin-top: .8rem; }
.flank .aside-r p:first-child { margin-top: 0; }
.flank strong { color: var(--ink); font-weight: 700; }

/* dark footer */
.footplate { background: #06203A; color: rgba(255,255,255,.72); }
.footplate .frame { padding-block: clamp(2.75rem, 5.5vw, 3.75rem) clamp(2rem, 4vw, 2.5rem); display: grid; gap: 2.25rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-blurb { font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.62); max-width: 34ch; }
.foot-col { display: grid; gap: .5rem; align-content: start; }
.foot-col h2 { font-family: var(--disp); font-weight: 700; font-size: .96rem; letter-spacing: -.01em; color: #fff; margin-bottom: .25rem; }
.foot-col a { font-size: .92rem; color: rgba(255,255,255,.66); text-decoration: none; }
.foot-col a:hover { color: var(--green-fill); }
.foot-col a[aria-current="page"] { color: var(--green-fill); }
.go-light { background: var(--green-fill); color: #06203A; justify-self: start; }
.go-light:hover { background: #5ED0A4; }
.record-line { font-family: var(--disp); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.4rem); letter-spacing: -.026em; color: #fff; max-width: 36ch; line-height: 1.28; }
.record-line b { color: var(--green-fill); }
.fineprint { font-size: .84rem; line-height: 1.6; max-width: 82ch; color: rgba(255,255,255,.55); }
.fineprint b { color: rgba(255,255,255,.82); font-weight: 600; }
.stamp-row { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: rgba(255,255,255,.5); }
.stamp-row a { color: rgba(255,255,255,.72); text-decoration: none; }
.stamp-row a:hover { color: var(--green-fill); }

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