/* Wilkes & Liberty Uniforms: design system
   Red, white and navy from the logo. Montserrat for headings (the logo's own geometric
   letterforms), Figtree for reading. Warm, rounded, confident, after Lands' End School. */

:root {
  --ink:        #022549;
  --ink-soft:   #0B3566;
  --ink-mute:   #4F5B70;
  --red:        #C8102E;
  --red-deep:   #A50D26;
  --on-dark-accent: #C9D3E3;
  --ivory:      #F7F5F1;
  --ivory-deep: #EFEBE4;
  --paper:      #FFFFFF;
  --line:       #DDD8CF;
  --line-soft:  #ECE8E1;
  --ok:         #2F6B4F;

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif:   var(--display);

  --gutter: 20px;
  --maxw: 1280px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(2,37,73,.05), 0 10px 30px rgba(2,37,73,.08);
  --shadow-lg: 0 2px 4px rgba(2,37,73,.05), 0 20px 50px rgba(2,37,73,.12);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em; margin: 0 0 .55em; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

.eyebrow {
  font-family: var(--display); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin: 0 0 1rem;
}
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-mute); max-width: 58ch; }
.muted { color: var(--ink-mute); }
.small { font-size: .92rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; min-height: 52px;
  font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: 0;
  border: 2px solid var(--red); border-radius: var(--radius-sm);
  background: var(--red); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn-navy { background: var(--ink); border-color: var(--ink); }
.btn-navy:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-brass { background: var(--red); border-color: var(--red); }
.btn-brass:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; min-height: 58px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.textlink { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(200,16,46,.35); }
.textlink:hover { text-decoration-color: var(--red); }
.arrowlink { font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; }
.arrowlink::after { content: " \2192"; color: var(--red); }
.arrowlink:hover { color: var(--red); }

/* ---------- header ---------- */

.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: .9rem; font-weight: 500; padding: .6rem var(--gutter); margin-bottom: 3px;
}
.announce a { color: #fff; }

.masthead {
  border-top: 3px solid var(--red); border-bottom: 1px solid var(--line-soft);
  background: var(--paper); position: sticky; top: 0; z-index: 40;
}
.masthead-in { display: flex; align-items: center; gap: 1.5rem; height: 88px; }
.logo-link { display: block; flex: 0 0 auto; line-height: 0; }
.logo { height: 60px; width: auto; }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 1rem; font-weight: 600; color: var(--ink);
  padding: .5rem 0; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }

.mast-actions { display: flex; align-items: center; gap: 1.1rem; margin-left: 1.4rem; }
.cart-link { text-decoration: none; font-weight: 700; font-family: var(--display); white-space: nowrap; }
.cart-count {
  display: inline-block; min-width: 1.5em; padding: 0 .4em; margin-left: .35rem;
  background: var(--red); color: #fff; border-radius: 999px;
  font-size: .75rem; line-height: 1.5em; text-align: center; vertical-align: 2px;
}
.cart-count[data-empty="true"] { display: none; }

.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */

.hero { background: var(--ivory); color: var(--ink); padding: clamp(3rem, 6vw, 5rem) 0; }
.hero h1 { color: var(--ink); max-width: 15ch; }
.hero .lede { color: var(--ink-mute); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-dark { background: var(--ink); }
.hero-dark h1, .hero-dark .lede { color: #fff; }
.hero-dark .lede { color: #C9D3E3; }
.hero-dark .eyebrow { color: #fff; opacity: .85; }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage a {
  display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 5; transition: transform .25s ease, box-shadow .25s ease;
}
.collage a:nth-child(2) { transform: translateY(28px); }
.collage a:nth-child(4) { transform: translateY(28px); }
.collage a:hover { box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }

.finder {
  background: var(--paper); color: var(--ink);
  padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.finder h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.finder > p { margin: 0 0 1.4rem; color: var(--ink-mute); }

.field { position: relative; }
.field input, .form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: .9rem 1rem; min-height: 54px;
  font-family: var(--sans); font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.field input:focus, .form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(2,37,73,.12);
}

.finder-or {
  display: flex; align-items: center; gap: 1rem; margin: 1rem 0;
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute);
}
.finder-or::before, .finder-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.finder-miss {
  margin-top: 1.1rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: #FDF1F3; border-left: 4px solid var(--red); font-size: .98rem;
}
.finder-miss p { margin: .4rem 0 0; color: var(--ink-mute); }

/* ---------- audience banner ---------- */

.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 1.6rem 2rem; text-decoration: none; transition: background .2s ease;
}
.banner:hover { background: var(--ink-soft); }
.banner strong { font-family: var(--display); font-size: 1.25rem; font-weight: 800; display: block; }
.banner span { color: #C9D3E3; }
.banner .go {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; font-size: 1.4rem; color: #fff;
}

.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.banner-red { background: var(--red); }
.banner-red:hover { background: var(--red-deep); }
.banner-red span { color: #FBE3E7; }
.banner-red .go { background: #fff; color: var(--red); }

.deco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--ink); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lede, .section-navy p { color: #C9D3E3; }
.section-head { max-width: 64ch; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.section-head.split h2 { margin: 0; }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar {
  background: var(--paper); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow);
}
.section-ivory .pillar { background: var(--paper); }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { margin: 0; color: var(--ink-mute); }
.pillar .num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}

/* ---------- product & catalogue grid ---------- */

.toolbar {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  padding: 1.25rem 0; margin-bottom: 1.75rem;
}
.pill {
  padding: .6rem 1.2rem; min-height: 44px;
  font-family: var(--sans); font-size: .98rem; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  text-decoration: none; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center;
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-end { margin-left: auto; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
.card { text-decoration: none; display: block; }
.card .shot {
  display: block; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5; margin-bottom: 1rem;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .shot { box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover .shot img { transform: scale(1.035); }
.card .name { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.card .meta { display: block; font-size: .92rem; color: var(--ink-mute); margin-top: .2rem; }
.card .price { display: block; font-size: 1rem; font-weight: 600; margin-top: .35rem; }
.card.is-hidden { display: none; }

.dots { display: flex; gap: .35rem; margin-top: .6rem; }
.dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(2,37,73,.25); flex: 0 0 auto; }

.flag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .35rem .75rem;
}
.flag-claret, .flag-program { background: var(--red); }
.flag-brass { background: var(--ink); }

/* ---------- school store ---------- */

.school-head { background: var(--ivory); padding: 3rem 0 2.5rem; }
.school-head-in { display: flex; gap: 1.75rem; align-items: center; }
.school-head .crest {
  width: 104px; height: 104px; flex: 0 0 104px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow);
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--display); font-weight: 800; font-size: 1.8rem;
}
.school-head .crest img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.school-head h1 { margin-bottom: .3rem; font-size: clamp(2rem, 4vw, 3rem); }
.school-head .s-meta { color: var(--ink-mute); font-size: 1.02rem; margin: 0; }
.school-head .lede { margin: 0; }

.school-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; margin-bottom: 1rem; }
.school-panels .note { margin: 0; }

.crumbs { font-size: .92rem; color: var(--ink-mute); padding: 1.1rem var(--gutter); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 .5rem; color: var(--line); }

/* ---------- product page ---------- */

.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); padding-top: 1.5rem; padding-bottom: 4rem; }
.gallery-main {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5; overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs button {
  width: 76px; height: 95px; padding: 0; overflow: hidden; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.thumbs button[aria-pressed="true"] { border-color: var(--ink); border-width: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.pdp-price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin: .2rem 0 1.25rem; }
.pdp-desc { color: var(--ink-mute); }
.pdp-desc p { margin: 0 0 .8rem; }

.optgroup { margin: 1.75rem 0; }
.optgroup .label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--display); font-size: .95rem; font-weight: 700; margin-bottom: .75rem;
}
.optgroup .label .chosen { font-family: var(--sans); font-weight: 500; color: var(--ink-mute); }
.optgroup input[type="text"] { min-height: 52px; border-radius: var(--radius-sm) !important; border-width: 1.5px !important; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch {
  min-width: 3.4rem; min-height: 46px; padding: .6rem .95rem; text-align: center;
  font-family: var(--sans); font-size: .98rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.swatch:hover { border-color: var(--ink); }
.swatch[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.swatch[data-unavailable="true"] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.swatch-colour { display: inline-flex; align-items: center; gap: .55rem; }
.swatch-colour[aria-pressed="true"] .dot { border-color: #fff; box-shadow: 0 0 0 1px #fff; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.qty button { width: 2.8rem; height: 3.1rem; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 3rem; height: 3.1rem; text-align: center; border: 0; font-family: var(--sans); font-size: 1.05rem; background: none; color: var(--ink); }

.note {
  background: var(--ivory); border-radius: var(--radius); border-left: 4px solid var(--red);
  padding: 1.2rem 1.35rem; margin: 1.5rem 0;
}
.note strong { font-family: var(--display); font-weight: 700; }

.accordion { border-top: 1px solid var(--line); margin-top: 2rem; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.02rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); line-height: 1; }
.accordion details[open] summary::after { content: "\2013"; }
.accordion .body { padding: 0 0 1.3rem; color: var(--ink-mute); }

/* ---------- checklist ---------- */

.checklist { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.checklist > summary {
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.checklist > summary::-webkit-details-marker { display: none; }
.checklist > summary::after { content: "+"; color: var(--red); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.checklist[open] > summary::after { content: "\2013"; }
.ck-body { padding: 0 1.25rem 1.25rem; }
.ck-print { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; }
.ck-grid { display: grid; gap: 1.25rem; }
.ck-group h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.ck-group ul { list-style: none; margin: 0; padding: 0; }
.ck-group li { border-bottom: 1px solid var(--line-soft); }
.ck-group li:last-child { border-bottom: 0; }
.ck-group label { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; cursor: pointer; }
.ck-group input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--red); }
.ck-group a { text-decoration: none; font-weight: 600; }
.ck-group a:hover { color: var(--red); }
.ck-price { margin-left: auto; color: var(--ink-mute); }

/* ---------- steps ---------- */

.steps { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.steps-row { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 0; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.steps-row .step {
  flex-direction: column; gap: 1rem; background: var(--paper);
  padding: 1.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.step-n {
  flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-mute); }

/* ---------- tables & sizes ---------- */

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.table th { font-family: var(--display); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.table tbody tr:hover { background: var(--ivory); }
.table-scroll { overflow-x: auto; }

.size-runs { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.size-run { padding: 1.5rem; background: var(--ivory); border-radius: var(--radius); }
.size-run h3 { margin-bottom: .25rem; }
.size-run p { margin: 0; }
.size-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.size-chip {
  padding: .45rem .8rem; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; white-space: nowrap;
}

/* ---------- cart ---------- */

.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 3rem; padding: 1.5rem 0 4rem; align-items: start; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.cart-row .shot { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); aspect-ratio: 4/5; overflow: hidden; }
.cart-row .shot img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .t { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.cart-row .v { font-size: .95rem; color: var(--ink-mute); }
.cart-row .rm { background: none; border: 0; padding: 0; margin-top: .5rem; color: var(--ink-mute); cursor: pointer; text-decoration: underline; font: inherit; font-size: .9rem; }
.cart-row .amt { font-weight: 700; }
.cart-sum { background: var(--ivory); padding: 1.75rem; border-radius: var(--radius-lg); }
.cart-sum .line { display: flex; justify-content: space-between; padding: .45rem 0; }
.cart-sum .line.total { border-top: 1px solid var(--line); margin-top: .7rem; padding-top: 1rem; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.empty { text-align: center; padding: 4rem 0; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-row { display: flex; flex-direction: column; gap: .45rem; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-family: var(--display); font-size: .92rem; font-weight: 700; }

.program-summary { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.program-summary .label-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; margin-bottom: .5rem; }
.program-summary ul { list-style: none; margin: 0; padding: 0; }
.program-summary li { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.program-summary li:last-child { border-bottom: 0; }
.program-summary li .c { color: var(--ink-mute); font-weight: 400; font-size: .92rem; }
.program-summary li button { background: none; border: 0; padding: 0; color: var(--ink-mute); cursor: pointer; font: inherit; font-size: .88rem; text-decoration: underline; }
.program-summary p { margin: 0; }

.program-bar { position: sticky; bottom: 0; z-index: 30; background: var(--ink); color: #fff; border-top: 3px solid var(--red); }
.program-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; font-size: 1.05rem; }
.program-bar strong { font-family: var(--display); font-weight: 800; }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: #C9D3E3; padding: 4rem 0 2rem; margin-top: 0; }
.footer a { color: #C9D3E3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; }
.footer .logo { height: 66px; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; color: #8FA0BA;
}

/* ---------- utility & accessibility ---------- */

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-120%); z-index: 100;
  background: var(--ink); color: #fff; padding: .8rem 1.5rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: transform .15s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .card:hover .shot img { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: 1.3rem; }
  .nav a { font-size: .95rem; }
}
@media (max-width: 1040px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .masthead-in { height: 72px; gap: .75rem; }
  .logo { height: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage a:nth-child(2), .collage a:nth-child(4) { transform: none; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .school-panels { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .burger { display: block; order: 3; margin-left: .25rem; }
  .mast-actions { order: 2; margin-left: auto; }
  .pill-end { margin-left: 0; }
  .section-head.split { display: block; }
  .section-head.split .arrowlink { display: inline-block; margin-top: 1rem; }
  .banner { flex-direction: row; padding: 1.3rem 1.4rem; }
  .banners { grid-template-columns: 1fr; }
  .deco-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .steps-row { grid-template-columns: 1fr; }
  .school-head-in { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row .amt { grid-column: 2; }
  .finder { padding: 1.5rem; }
  .collage { gap: 10px; }
  .banner strong { font-size: 1.1rem; }
  .program-bar-in { font-size: .95rem; }
}
@media (max-width: 400px) {
  .logo { height: 38px; }
}

/* ---------- print: the checklist is the point ---------- */

@media print {
  .announce, .masthead, .footer, .toolbar, .product-grid, .crumbs, .btn, .program-bar { display: none !important; }
  .checklist { border: 0; }
  .checklist > summary { display: none; }
  .ck-body { padding: 0; }
  .ck-body .small { display: none; }
  .ck-grid { grid-template-columns: repeat(2, 1fr); }
  .school-panels { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
  a { text-decoration: none; color: #000; }
}
