:root {
  color-scheme: light;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #102f62;
  background: #eaf1fc;
  --ink: #102f62;
  --muted: #506d93;
  --blue: #134bd0;
  --art: url("/static/polbin-control-art.png?v=three-sections");
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #1f63e5;
  outline-offset: 4px;
}

.entry-shell {
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  background: radial-gradient(ellipse at 55% 64%, #f6f8fd, #eaf1fc 58%, #dce8fc);
}

.school-panel {
  min-width: 0;
  position: relative;
  z-index: 1;
  color: #f8faff;
  padding: max(120px, 23.3vh) 0 84px 2.92vw;
}

.school-panel-art {
  position: absolute;
  z-index: -1;
  inset: 0 -9.6% 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 94% 98%, #2159ae, transparent 62%),
    linear-gradient(123deg, #132f57, #173b76 70%, #173467);
  mask-image: radial-gradient(ellipse 55.2% 90.5% at 146% 50%, transparent 99.85%, #000 100.15%);
}

.school-panel-art::before, .school-panel-art::after {
  content: "";
  position: absolute;
  left: -18%;
  height: 29%;
  width: 125%;
  transform-origin: left center;
  border-radius: 49% 75% 0 0 / 62% 96% 0 0;
}

.school-panel-art::before {
  bottom: 2.4%;
  transform: rotate(19deg);
  background: linear-gradient(100deg, #17447e 13%, #397fd7 64%, #2151a1);
}

.school-panel-art::after {
  bottom: -12.4%;
  transform: rotate(8deg);
  background: linear-gradient(104deg, #102e5a, #225ab1 81%);
}

.school-brand {
  display: grid;
  grid-template-columns: clamp(74px, 7.66vw, 160px) minmax(0, 1fr);
  align-items: start;
  gap: .85vw;
  text-decoration: none;
  margin-right: .55vw;
}

.school-brand:focus-visible { outline-color: #a2c8ff; }

.school-logo {
  display: block;
  margin-top: .47vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--art) 3.1736% 27.7983% / 1306.25% 735.156% no-repeat;
}

.school-logo-custom {
  width: 100%;
  object-fit: contain;
  background: none;
}

.school-title {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 43px);
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -.023em;
}

.school-title span { display: block; }

.school-description {
  margin: 4.2vh 1.1vw 0 .55vw;
  max-width: 37rem;
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.43;
  letter-spacing: -.018em;
  white-space: pre-line;
}

.entry-main { min-width: 0; position: relative; }

.entry-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 -5%;
  background: radial-gradient(ellipse 72% 122% at 124% 100%, #d5e4fa 99.8%, transparent 100.2%);
  opacity: .49;
  pointer-events: none;
}

.school-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 69.3%;
  max-width: 860px;
  aspect-ratio: 707 / 301;
  background: var(--art) right bottom / 236.4922% 312.6246% no-repeat;
  clip-path: polygon(0 20%, 67% 20%, 72% 14%, 100% 0, 100% 100%, 0 100%);
  mask-image: linear-gradient(to right, transparent, #000 12%), linear-gradient(to bottom, transparent, #000 30%);
  mask-composite: intersect;
  pointer-events: none;
}

.entry-choices, .entry-form { position: relative; }

.entry-choices {
  padding: max(76px, 21.3vh) 2.55vw max(140px, 13vh);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, .97fr) repeat(2, minmax(0, 1fr));
  gap: .88vw;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.27vw;
  min-height: clamp(238px, 21.3vw, 455px);
  padding: 2.45vw 2.2vw 3.2vw;
  overflow: hidden;
  border-radius: clamp(16px, 1.7vw, 34px);
  background: linear-gradient(117deg, #f8f9fc, #eff4fd);
  box-shadow: 0 12px 22px #3763ae24;
  text-decoration: none;
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -7% -8% 21%;
  height: 17%;
  border-radius: 88% 65% 0 0;
  background: linear-gradient(90deg, #d9e6fb, #e4edfc);
  transform: rotate(-12deg);
}

.service-card:hover { box-shadow: 0 12px 26px #3763ae45; }

.service-icon {
  margin-left: 1.14vw;
  width: clamp(74px, 8.55vw, 166px);
  aspect-ratio: 143 / 130;
  border-radius: 23%;
  background: var(--art) var(--icon-x) 29.7164% / 1169.2308% 723.8462% no-repeat;
}

.service-icon-food { --icon-x: 49.1171%; }
.service-icon-grounds { --icon-x: 69.3918%; }
.service-icon-clean { --icon-x: 69.3918%; }
.service-icon-admin { --icon-x: 90.2551%; }

.service-name {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.75vw, 36px);
  line-height: 1.17;
  font-weight: 780;
  letter-spacing: -.02em;
}

.service-card:last-child .service-name { font-size: clamp(16px, 1.32vw, 27px); }

.service-arrow {
  position: absolute;
  right: 1.4vw;
  bottom: 3.12vw;
  display: grid;
  place-items: center;
  width: clamp(30px, 2.68vw, 55px);
  aspect-ratio: 1.24;
  border-radius: 13px;
  background: #dfeafa;
  color: #0a44cf;
  font-size: clamp(15px, 1.3vw, 29px);
  line-height: 1;
}

.arrow-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1em;
  height: .75em;
}

.arrow-icon::before, .arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
}

.arrow-icon::before {
  inset-inline: 0 2px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow-icon::after {
  right: 2px;
  width: .43em;
  height: .43em;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(-50%) rotate(45deg);
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2.18vw;
  margin: 3.68vw 0 0 .28vw;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25vw;
  min-height: clamp(48px, 4.59vw, 90px);
  padding: .6em 1.82em;
  border: 2px solid #1546d6;
  border-radius: clamp(12px, 1.2vw, 22px);
  font-size: clamp(16px, 1.26vw, 25px);
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.action-primary { color: white; background: #1348ca; }
.action-primary:hover { background: #0e3caa; }
.action-secondary { color: #0842cf; background: #f3f7fd; }
.action-secondary:hover { background: #e7effd; }

.play-icon, .profile-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.62em;
  height: 1.62em;
}

.play-icon { display: grid; place-items: center; border: 2px solid; border-radius: 50%; }
.play-icon::before {
  content: "";
  margin-left: .14em;
  border-top: .37em solid transparent;
  border-bottom: .37em solid transparent;
  border-left: .58em solid currentColor;
}

.profile-icon::before, .profile-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid;
  transform: translateX(-50%);
}

.profile-icon::before { top: 0; width: .73em; height: .73em; border-radius: 50%; }
.profile-icon::after { bottom: 0; width: 1.38em; height: .64em; border-radius: .8em .8em 0 0; }

.entry-form {
  width: 69%;
  margin-left: 13.4%;
  padding: max(92px, 13.2vh) 0 max(125px, 12vh);
}

.entry-section {
  position: absolute;
  top: calc(max(92px, 13.2vh) - 2em);
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.02vw, 19px);
  font-weight: 650;
}

.entry-form h2 {
  margin: 0;
  font-size: clamp(29px, 2.63vw, 54px);
  line-height: 1.15;
  letter-spacing: -.022em;
}

.entry-help {
  margin: .8em 0 0;
  font-size: clamp(15px, 1.2vw, 24px);
  color: var(--muted);
  line-height: 1.45;
}

.entry-form form { display: grid; margin-top: 3.9vh; }

.demo-resume { width: 100%; margin-top: 3.9vh; }

.entry-form label {
  margin: 0 0 .32em;
  font-size: clamp(16px, 1.28vw, 26px);
  font-weight: 720;
}

.entry-form input:not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  height: clamp(54px, 5.67vw, 110px);
  margin-bottom: .8em;
  padding-inline: 1.25em;
  border: 2px solid #d1e0f2;
  border-radius: clamp(12px, 1.04vw, 21px);
  background: #fff;
  color: var(--ink);
  font-size: clamp(17px, 1.29vw, 26px);
}

.entry-form input::placeholder { color: var(--muted); opacity: 1; }
.entry-form input:focus { border-color: #1b48e6; outline: none; }

.entry-submit {
  justify-content: space-between;
  min-height: clamp(52px, 4.22vw, 85px);
  margin-top: .55em;
  padding-inline: 1.2em;
  font-size: clamp(17px, 1.41vw, 28px);
}

.entry-submit .arrow-icon { font-size: 1.18em; }

.entry-note {
  margin: 1.75em 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.02vw, 20px);
  line-height: 1.5;
  text-align: center;
}

.form-error { margin: 0 0 1em; color: #a22b38; }

@media (min-width: 1151px) {
  .school-title span { white-space: nowrap; }
  .school-title span:last-child { font-size: .927em; }
  .entry-actions .action { padding-inline: 1.33em; }
  .entry-actions .action-primary { min-width: 17.5vw; }
  .entry-actions .action-secondary { min-width: 24.2vw; }
}

@media (max-width: 1150px) {
  .service-card { padding-inline: 1.45vw; }
  .service-arrow { right: .9vw; bottom: 1.55vw; }
}

@media (max-width: 900px) {
  .entry-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .school-panel { padding: 32px 5vw 39px; }
  .school-panel-art { inset: 0; mask-image: none; }
  .school-panel-art::before { width: 142%; bottom: 18%; opacity: .55; }
  .school-panel-art::after { width: 142%; bottom: -2%; }
  .school-brand { grid-template-columns: 75px minmax(0, 1fr); align-items: center; gap: 14px; }
  .school-logo { margin-top: 0; }
  .school-title { font-size: clamp(21px, 3.7vw, 32px); }
  .school-description { margin: 20px 0 0; max-width: 40rem; letter-spacing: normal; }
  .entry-choices { padding: 30px 5vw 130px; }
  .service-grid { gap: 12px; }
  .service-card { gap: 15px; min-height: 228px; padding: 21px 14px 44px; }
  .service-icon { margin-left: 0; }
  .service-arrow { bottom: 14px; right: 16px; }
  .entry-actions { margin-top: 25px; }
  .entry-form { width: min(90%, 624px); margin-inline: auto; padding-top: 62px; }
  .entry-section { top: 36px; }
  .entry-form form { margin-top: 24px; }
  .school-art { width: min(90%, 660px); }
}

@media (max-width: 530px) {
  .school-panel { padding-block: 24px 28px; }
  .school-brand { grid-template-columns: 57px minmax(0, 1fr); gap: 10px; }
  .school-title { font-size: clamp(17px, 4.6vw, 23px); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 94px;
    padding: 12px 15px;
  }
  .service-name { width: auto; }
  .service-card:last-child .service-name { font-size: clamp(16px, 4.35vw, 21px); }
  .service-icon { width: 67px; }
  .service-arrow { position: static; }
  .entry-actions { flex-direction: column; margin-left: 0; gap: 10px; }
  .entry-actions .action { gap: 12px; }
  .entry-submit { margin-top: .15em; }
}

@media (max-width: 360px) {
  .service-card { gap: 9px; }
  .service-icon { width: 51px; }
}
