:root {
  --navy: #1b2559;
  --navy-2: #252f6b;
  --teal: #13a5a1;
  --teal-dark: #0d8481;
  --teal-soft: #e7f6f5;
  --ink: #141b3a;
  --muted: #5d6585;
  --line: #e4e7f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --error: #b42318;
  --ok: #067647;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 27, 58, .06), 0 8px 24px rgba(20, 27, 58, .06);
  --shadow-lg: 0 2px 4px rgba(20, 27, 58, .06), 0 18px 40px rgba(20, 27, 58, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 8px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }

/* Top bar */
.topbar { background: var(--navy); color: #dfe3f5; font-size: 13.5px; font-weight: 500; }
.topbar .wrap { display: flex; gap: 28px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar .usp { display: inline-flex; gap: 8px; align-items: center; }
.topbar .usp .ic { color: var(--teal); }
.topbar .tb-phone { margin-left: auto; color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.notice { background: #fff6dc; color: #5c4400; font-size: 14.5px; font-weight: 600; text-align: center; border-bottom: 1px solid #f3e2a9; }
.notice .wrap { padding-top: 9px; padding-bottom: 9px; }

/* Header */
header.site { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { width: 250px; display: block; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a, nav.mobile a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; transition: background .15s, color .15s; }
nav.main a:hover { background: var(--bg-soft); }
nav.main a[aria-current], nav.mobile a[aria-current] { background: var(--teal-soft); color: var(--teal-dark); }
nav.mobile { display: none; }
.basket-link { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .15s; }
.basket-link:hover { background: var(--navy-2); }
.basket-link .count { background: var(--teal); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--teal); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 6px 16px rgba(19, 165, 161, .28); }
.btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn.lg { padding: 15px 28px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); background: #fff; }
.btn.light { background: #fff; color: var(--navy); box-shadow: none; }
.btn.light:hover { background: var(--teal-soft); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Sections */
main { min-height: 50vh; }
.section { padding: 64px 0; }
.section.tight { padding: 32px 0 64px; }
.section.alt { background: var(--bg-soft); }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.kicker { display: inline-block; color: var(--teal-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.kicker.light { color: #8ee3df; }
.more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.more:hover .ic, .tile:hover .go .ic { transform: translateX(3px); }
.more .ic, .go .ic { transition: transform .15s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #d9f3f1 0%, rgba(217, 243, 241, 0) 60%), linear-gradient(180deg, #f4f6fc 0%, #fff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 13.5px; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.eyebrow .ic { color: #e2557a; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; margin: 22px 0 18px; letter-spacing: -.035em; }
.hero h1 span { color: var(--teal); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--navy); font-weight: 600; font-size: 14.5px; }
.trust li { display: inline-flex; gap: 8px; align-items: center; }
.trust .ic { color: var(--teal); }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; max-width: 460px; margin-left: auto; }
.collage::before { content: ""; position: absolute; inset: 10%; background: var(--teal); opacity: .14; border-radius: 50%; filter: blur(40px); }
.collage .c { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; }
.collage img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.collage .c1 { transform: rotate(-3deg) translateY(10px); }
.collage .c2 { transform: rotate(2deg) translateY(-14px); }
.collage .c3 { transform: rotate(2deg) translateY(4px); }
.collage .c4 { transform: rotate(-2deg) translateY(-20px); }

/* School tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s, transform .2s; }
.tile:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.tile .ph { aspect-ratio: 4 / 3; position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.tile .ph img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform .3s; }
.tile:not(.has-logo) .ph { background: var(--bg-soft); }
.tile:not(.has-logo) .ph img { mix-blend-mode: multiply; }
.tile:hover .ph img { transform: scale(1.05); }
.tile .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.tile .name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.tile .meta { color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.tile .go { color: var(--teal-dark); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tile.general { background: var(--navy); border-color: var(--navy); }
.tile.general .name { color: #fff; }
.tile.general .meta { color: #c4c9e6; }
.tile.general .go { color: #8ee3df; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps .n { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 18px; }
.steps .n .ic { width: 26px; height: 26px; }
.steps p { color: var(--muted); margin: 0; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card .ph { background: var(--bg-soft); aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.card .ph img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .ph img { transform: scale(1.04); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.card .price { margin-top: auto; color: var(--navy); font-weight: 800; font-size: 17px; }
.card .price small, .price small { font-weight: 500; color: var(--muted); font-size: 13px; }
h2.group { font-size: 22px; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
h2.group:first-child { margin-top: 0; }

/* Visit block */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: var(--navy); color: #dfe3f5; box-shadow: var(--shadow-lg); }
.vcopy { padding: 48px; background: radial-gradient(600px 300px at 0% 100%, rgba(19, 165, 161, .35), transparent 70%); }
.vcopy h2 { color: #fff; }
.vcopy p { max-width: 460px; }
.vlist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.vlist li { display: flex; gap: 10px; align-items: flex-start; }
.vlist .ic { color: var(--teal); margin-top: 3px; }
.vlist a { color: #fff; font-weight: 700; text-decoration: none; }
.vside { background: #fff; color: var(--ink); padding: 40px; margin: 12px; border-radius: 18px; }
.vside ul { list-style: none; padding: 0; margin: 14px 0 18px; }
.vside li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.vside li strong { color: var(--teal-dark); }
.vside a { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* Page head */
.pagehead { background: linear-gradient(180deg, #f4f6fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.pagehead .wrap { padding-top: 40px; padding-bottom: 32px; }
.pagehead h1 { margin: 0; }
.pagehead .with-logo { display: flex; align-items: center; gap: 24px; }
.school-logo { width: 104px; height: 104px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); flex: none; }
@media (max-width: 600px) { .school-logo { width: 72px; height: 72px; border-radius: 14px; } .pagehead .with-logo { gap: 14px; } }
.pagehead .sub { color: var(--muted); margin: 8px 0 0; font-size: 17px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-dark); }
.empty { color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 12px; }
.gallery { background: var(--bg-soft); border-radius: 24px; aspect-ratio: 1 / 1; position: sticky; top: 100px; overflow: hidden; }
.gallery img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.buy h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; }
.buy .price { font-size: 30px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.buy .code { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.buy .desc { color: #3a4266; }
form.add { margin-top: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
form.add label, #checkout label:not(.radio) { display: block; font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.selectwrap { position: relative; margin-bottom: 18px; }
.selectwrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type=number], input#postcode { font: inherit; font-size: 16px; padding: 13px 16px; border: 1.5px solid #cfd4e3; border-radius: 12px; width: 100%; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
select:focus, input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19, 165, 161, .15); }
form.add .row { display: flex; gap: 12px; align-items: flex-end; }
.qtybox { width: 92px; flex: none; }
form.add .row .btn { flex: 1; }
.added { color: var(--ok); font-weight: 600; margin: 14px 0 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.added[hidden] { display: none; }
.perks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #3a4266; }
.perks .ic { color: var(--teal-dark); width: 20px; height: 20px; }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.error { color: var(--error); font-weight: 600; }

/* Basket */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.basket-layout #basket:only-child, .basket-layout #checkout[hidden] ~ * { grid-column: 1 / -1; }
.summary { position: sticky; top: 100px; }
.summary h2 { font-size: 19px; margin-bottom: 14px; }
table.basket { width: 100%; border-collapse: collapse; }
table.basket th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
table.basket td, table.basket th { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.basket img { width: 64px; height: 64px; object-fit: contain; background: var(--bg-soft); border-radius: 10px; padding: 4px; mix-blend-mode: multiply; }
table.basket .qty { width: 76px; padding: 9px 10px; }
table.basket button { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; font-size: 14px; }
table.basket button:hover { color: var(--error); }
#basket > p { margin: 16px 0 0; text-align: right; font-size: 16px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; margin: 0 0 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio.on { border-color: var(--teal); background: var(--teal-soft); }
.radio input { accent-color: var(--teal); margin-top: 4px; width: 18px; height: 18px; }
.radio span { display: flex; flex-direction: column; }
.radio small { color: var(--muted); font-size: 13.5px; }
#postcode-row { margin-top: 16px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin: 22px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.total strong { font-size: 26px; color: var(--navy); }
.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 32px; }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: inline-grid; place-items: center; margin-bottom: 16px; }
.thanks .tick .ic { width: 32px; height: 32px; }

/* Info pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 21px; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3a4266; }
table.rates { border-collapse: collapse; width: 100%; max-width: 520px; margin-bottom: 12px; }
table.rates td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
table.rates td:last-child { text-align: right; font-weight: 700; color: var(--teal-dark); }

/* Footer */
footer.site { background: #11173d; color: #b9bfdc; font-size: 15px; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
footer h3 { color: #fff; font-size: 15px; margin: 0 0 14px; }
footer p { margin: 0 0 10px; }
footer a { color: #b9bfdc; text-decoration: none; }
footer a:hover { color: #fff; }
footer .ic { color: var(--teal); margin-right: 4px; }
.flogo { width: 220px; background: #fff; padding: 10px 14px; border-radius: 10px; box-sizing: content-box; margin-bottom: 14px; }
footer .legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; font-size: 13.5px; color: #8d93b5; }

/* Responsive */
@media (max-width: 1060px) {
  nav.main { display: none; }
  nav.mobile { display: block; border-top: 1px solid var(--line); }
  nav.mobile .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
  nav.mobile a { white-space: nowrap; font-size: 14px; padding: 7px 13px; }
  header.site .bar { justify-content: space-between; height: 68px; }
  .hide-md { display: none !important; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 48px; gap: 24px; }
  .collage { max-width: 420px; margin: 0 auto; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .vcopy { padding: 32px 24px; }
  .vside { padding: 28px 24px; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: relative; top: 0; }
  .basket-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar .wrap { gap: 16px; justify-content: space-between; }
  .logo img { width: 180px; }
  .basket-link .lbl { display: none; }
  .basket-link { padding: 9px 12px; }
  .section { padding: 44px 0; }
  .section.tight { padding: 24px 0 44px; }
  .sechead { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .ph { padding: 10px; }
  .card .body { padding: 10px 12px 12px; }
  .card .name { font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile .body { padding: 10px 12px 12px; }
  .tile .name { font-size: 14.5px; }
  .tile .go { display: none; }
  .panel { padding: 18px; }
  form.add { padding: 18px; }
  footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .lead { font-size: 17px; }
  .ctas .btn { flex: 1 1 100%; }
}
