@font-face {
  font-family: Dottie;
  src: url("assets/Dottie_VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #19182b;
  --accent: #d63c30;
  --line: #e3dfdd;
  font-family: "apparat", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #faf8f7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; }
.brand img { display: block; width: 112px; height: auto; }
.school-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.school-link:hover { color: var(--accent); }
.arrow { width: 17px; height: 17px; }
main { padding-block: clamp(62px, 10vh, 112px); }
h1 { font-family: Dottie, "apparat", "Segoe UI", Arial, sans-serif; font-size: clamp(42px, 5vw, 66px); font-weight: 400; letter-spacing: normal; line-height: 1.15; margin: 0 0 42px; }
.period { color: var(--accent); }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; transition: transform .22s, box-shadow .22s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 12px 28px #19182b14; }
.service__art { position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(180px, 18vw, 228px); overflow: hidden; color: #fff; }
.service__art::before, .service__art::after { content: ""; position: absolute; display: block; pointer-events: none; }
.service__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 96px; height: 96px; transition: transform .25s; }
.service__icon svg { width: 100%; height: 100%; }
.service:hover .service__icon { transform: scale(1.09) rotate(-5deg); }
.service__body { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; }
.service__title { font-size: clamp(21px, 2vw, 27px); font-weight: 400; letter-spacing: normal; line-height: 1.2; overflow-wrap: anywhere; }
.service__arrow { width: 21px; height: 21px; flex: none; color: var(--accent); transition: transform .22s; }
.service:hover .service__arrow { transform: translateX(4px); }
/* Four little posters: each service gets its own composition and one of the school's field colours. */
.service--mail .service__art { background: #19182b; }
.service--mail .service__art::before { width: 235px; height: 235px; border: 28px solid #d63c30; border-radius: 50%; top: -120px; right: -86px; }
.service--mail .service__art::after { width: 220px; height: 55px; background: #ffffff22; left: -90px; bottom: 18px; transform: rotate(-29deg); }
.service--reports .service__art { background: #d85144; }
.service--reports .service__art::before { width: 155px; height: 190px; border: 2px solid #ffffff82; top: 50%; left: 50%; transform: translate(-50%, -47%) rotate(-13deg); }
.service--reports .service__art::after { width: 155px; height: 190px; border: 2px solid #ffffff4d; top: 50%; left: 50%; transform: translate(-35%, -55%) rotate(9deg); }
.service--loan .service__art { background: #796cb7; }
.service--loan .service__art::before { width: 205px; height: 205px; border: 2px solid #ffffff85; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.service--loan .service__art::after { width: 300px; height: 300px; border: 2px solid #ffffff4a; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.service--it .service__art { background: #4b807e; background-image: linear-gradient(#ffffff23 1px, transparent 1px), linear-gradient(90deg, #ffffff23 1px, transparent 1px); background-size: 29px 29px; }
.service--it .service__art::before { width: 180px; height: 180px; background: #4b807e; border: 2px solid #ffffff80; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.service--it .service__art::after { width: 110px; height: 110px; border: 2px solid #ffffff54; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.skip-link { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 950px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service__art { height: 200px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header__inner { min-height: 80px; }
  .brand img { width: 96px; }
  main { padding-block: 46px 56px; }
  h1 { font-size: clamp(37px, 9.5vw, 50px); margin-bottom: 28px; }
  .services { gap: 12px; }
  .service__art { height: clamp(110px, 29vw, 155px); }
  .service__icon { width: 58px; height: 58px; }
  .service__body { min-height: 75px; padding: 13px 12px; }
  .service__title { font-size: clamp(15px, 4.2vw, 21px); }
  .service__arrow { width: 17px; height: 17px; }
  .service--mail .service__art::before { top: -170px; right: -125px; }
  .service--mail .service__art::after { bottom: -14px; }
}
@media (max-width: 355px) {
  .services { grid-template-columns: 1fr; }
  .service { display: flex; }
  .service__art { width: 35%; height: 95px; flex: none; }
  .service__body { width: 65%; }
}
@media (prefers-reduced-motion: reduce) {
  .service, .service__icon, .service__arrow { transition: none; }
  .service:hover, .service:hover .service__icon, .service:hover .service__arrow { transform: none; }
}
