body {
  margin: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url(background.svg) repeat #5b9bd5;
  color: #0b2a5b;
  font-family: 'Lexend', Arial, Helvetica, sans-serif;
}

a {
  color: #0b4fbf;
}

.page {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 10px 40px;
}

.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.corner-logo {
  flex-shrink: 0;
  margin-top: 7px;
}

.corner-logo img {
  display: block;
  width: 118px;
  height: 108px;
}

.title-block {
  flex: 1;
  text-align: center;
}

.title-block h1 {
  margin: 8px 0 6px;
  font-size: 64px;
  font-weight: normal;
  line-height: 1.1;
}

.title-block h1 a {
  color: #0b2a5b;
}

.tagline {
  display: inline-block;
  margin: 0;
  padding: 0 10px;
  background: #cfe3f7;
  color: #0b2a5b;
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 26px;
}

.menu {
  width: 140px;
  padding-top: 50px;
  flex-shrink: 0;
}

.menu ul {
  list-style: square;
  margin: 0;
  padding-left: 26px;
}

.menu li {
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.menu a {
  color: #0b2a5b;
}

.menu li ul {
  display: none;
  margin-top: 10px;
  padding-left: 18px;
}

.menu li ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.menu li ul a {
  text-decoration: none;
}

.menu li.has-sub:hover > ul,
.menu li.has-sub:focus-within > ul {
  display: block;
}

.poster-box {
  width: 365px;
  padding: 12px 10px 18px;
  background: #e6e4df;
  flex-shrink: 0;
}

.poster-box img {
  display: block;
  width: 100%;
}

.content-box {
  flex: 1;
  min-width: 0;
  padding: 18px 12px;
  background: #e6e4df;
  color: #000;
  font-size: 20px;
  line-height: 1.25;
}

.content-box h2 {
  margin: 12px 0 22px;
  font-size: 22px;
  text-align: center;
  text-decoration: underline;
}

.content-box h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  text-decoration: underline;
}

.content-box p {
  margin: 0 0 20px;
}

.content-box .indent {
  text-indent: 1.2em;
}

.content-box .sign {
  font-weight: bold;
}

.contact-table {
  border-collapse: collapse;
  width: 100%;
}

.contact-table th,
.contact-table td {
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #9dbfe3;
}

.contact-table th {
  width: 30%;
}

.project-list {
  padding-left: 26px;
}

.project-list li {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .menu {
    width: auto;
    padding-top: 0;
  }

  .menu li {
    margin-bottom: 14px;
  }

  .poster-box {
    width: auto;
  }

  .poster-box img {
    max-width: 320px;
    margin: 0 auto;
  }

  .title-block h1 {
    font-size: 40px;
  }

  .corner-logo img {
    width: 70px;
    height: 64px;
  }
}

.layout.wide .poster-box {
  display: none;
}

.layout.wide .content-box {
  padding: 24px 40px 32px;
  font-size: 18px;
  line-height: 1.55;
}

.layout.wide .content-box h2 {
  margin-bottom: 26px;
}

.essay p {
  text-indent: 1.5em;
  margin-bottom: 1.2em;
}

.menu .menu-label {
  color: #0b2a5b;
  text-decoration: underline;
  cursor: default;
}

.facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.facts li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #c9c6bf;
}

.facts li:last-child {
  border-bottom: 1px solid #c9c6bf;
}

.facts strong {
  flex: 0 0 80px;
  color: #0b2a5b;
}

.content-box .note {
  font-size: 15px;
  font-style: italic;
  color: #55585f;
  margin-bottom: 0;
}

.layout:not(.wide) .content-box {
  min-height: 400px;
}

.newspaper {
  font-family: 'Old Standard TT', Georgia, 'Times New Roman', serif;
  color: #1b1b1b;
}

.np-masthead {
  text-align: center;
  border-top: 3px double #1b1b1b;
  border-bottom: 3px double #1b1b1b;
  padding: 10px 0 8px;
  margin-bottom: 18px;
}

.newspaper .np-masthead h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 52px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  margin: 15px 0 8px;
  line-height: 1.05;
}

.np-dateline {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #1b1b1b;
  padding-top: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.newspaper .np-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  margin: 0 0 6px;
}

.newspaper .np-byline {
  text-align: center;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1b1b1b;
}

.np-columns {
  column-count: 2;
  column-gap: 30px;
  column-rule: 1px solid #8f8d86;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
}

.np-columns p {
  margin: 0 0 14px;
  text-indent: 1.4em;
}

.np-columns > p:first-of-type {
  text-indent: 0;
}

.np-columns .dropcap {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 54px;
  line-height: 0.78;
  float: left;
  padding: 3px 8px 0 0;
}

.np-figure {
  break-inside: avoid;
  margin: 4px 0 16px;
  border-top: 1px solid #1b1b1b;
  border-bottom: 1px solid #1b1b1b;
  padding: 8px 0;
}

.np-figure img {
  display: block;
  width: 100%;
  filter: grayscale(100%) contrast(1.05);
}

.np-figure figcaption {
  font-size: 13px;
  font-style: italic;
  margin-top: 6px;
  text-align: left;
}

@media (max-width: 700px) {
  .np-columns {
    column-count: 1;
  }

  .newspaper .np-masthead h2 {
    font-size: 36px;
  }

  .np-dateline {
    flex-direction: column;
    gap: 2px;
    align-items: center;
  }
}

.np-body {
  max-height: 560px;
  overflow-y: auto;
  padding-right: 14px;
  border-bottom: 3px double #1b1b1b;
  scrollbar-width: thin;
  scrollbar-color: #1b1b1b #cfccc4;
}

.plane-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

body.home .plane-canvas {
  display: block;
}

.page {
  position: relative;
  z-index: 1;
}

.poster-box .poster-flag {
  display: none;
}

body.contact .poster-box .poster-flag {
  display: block;
}

body.contact .poster-box .poster-photo {
  display: none;
}
