@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f2ea;
  --ink: #203e33;
  --accent: #52694b;
  --body: #526058;
  --line: #d7d9cd;
  --focus: #254e3f;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 280px; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 48% 38%, #fdfbf6 0%, transparent 67%),
    var(--paper);
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 4px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  padding-inline: clamp(24px, 5vw, 80px);
}

.site-header {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 35px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -1px;
  text-decoration: none;
}

.wordmark span { font-weight: 700; }

.staff-login {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 12px 20px;
  border: 1px solid #b8c0b3;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.staff-login svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .staff-login:hover {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
  }
}

.mission {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 1150px;
  min-height: 610px;
  margin-inline: auto;
  padding: 90px 0 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mission:focus { outline: none; }

.mission-rule {
  width: 42px;
  height: 2px;
  margin-bottom: 37px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 6.5vw, 99px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.052em;
}

h1 em {
  color: var(--accent);
  font-weight: 400;
}

.mission p {
  max-width: 650px;
  margin: 36px 0 0;
  color: var(--body);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.page-end {
  display: flex;
  width: 100%;
  max-width: 1440px;
  height: 51px;
  margin-inline: auto;
  align-items: flex-start;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.page-end span {
  width: 36px;
  height: 3px;
  margin-top: -2px;
  background: var(--accent);
}

@media (min-width: 1500px) {
  .mission { min-height: 690px; }
}

@media (max-width: 640px) {
  .page-shell { padding-inline: 24px; }
  .site-header { gap: 12px; padding-block: 24px; }
  .wordmark { font-size: 18px; letter-spacing: -.8px; }
  .staff-login { gap: 12px; padding: 11px 13px; font-size: 12px; }
  .staff-login svg { width: 15px; height: 15px; }
  .mission { min-height: 580px; padding-block: 76px 93px; }
  .mission-rule { margin-bottom: 31px; }
  h1 { max-width: 510px; font-size: clamp(44px, 10vw, 63px); line-height: 1.13; }
  .desktop-break { display: none; }
  h1 em { display: block; }
  .mission p { max-width: 440px; margin-top: 29px; font-size: 16px; line-height: 1.85; }
  .page-end { height: 28px; }
}

@media (max-width: 360px) {
  .page-shell { padding-inline: 18px; }
  .site-header { flex-wrap: wrap; }
  .wordmark { font-size: 17px; }
  .staff-login { gap: 8px; padding-inline: 10px; }
  .mission { min-height: auto; padding-block: 64px 80px; }
  h1 { font-size: 43px; }
}

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