:root {
  --navy: #020a76;        /* site primary: nav links, bands, buttons */
  --navy-deep: #1c2654;   /* site heading colour */
  --gold: #e3ad02;        /* accent taken from the logo mark */
  --text: #6f6f6f;        /* site body text */
  --line: #e2e3e6;
  --footer: #222222;      /* site footer */
  --white: #ffffff;
  --gutter: clamp(20px, 5vw, 48px);
  --measure: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--text);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header: white bar with the logo, as on the live site */
.site-header {
  background: var(--white);
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header img {
  display: block;
  width: 239px;
  max-width: 70vw;
  height: auto;
}

/* Notice band */
.notice {
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.notice h1 {
  margin: 0;
  max-width: 16em;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.notice h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 28px;
  background: var(--gold);
}
.notice p {
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

main { flex: 1; }

/* Contacts */
.contacts {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.contacts dl { margin: 0; }
.contacts dl + dl { margin-top: clamp(24px, 4vw, 40px); }

/* Wide screens: people on the left, phone numbers on the right */
@media (min-width: 900px) {
  .contacts .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: start;
  }
  .contacts dl + dl { margin-top: 0; }
  .contacts dl + dl .row { grid-template-columns: 6rem minmax(0, 1fr); }
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  column-gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.row:first-child { border-top: 1px solid var(--line); }

.row dt {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-deep);
}
.row dd {
  margin: 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(2, 10, 118, 0.3);
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--gold); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
    padding: 14px 0;
  }
  .row dt { font-size: 17px; }
  .row dd { font-size: 16px; }
}
