@font-face {
  font-family: Roboto;
  src: url("roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102c3d;
  --blue: #004a78;
  --navy: #081f30;
  --gold: #fbb829;
  --cream: #f7f6f1;
  --light-blue: #d5e6ef;
  --muted: #425966;
  --line: #cfd8d7;
  --page: 77rem;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--blue);
  text-underline-offset: 0.21em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid #b96405;
  outline-offset: 4px;
}
button,
textarea,
select,
input {
  font: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
h1,
h2,
h3,
summary {
  text-wrap: balance;
}
h1,
h2,
h3 {
  line-height: 1.07;
}
h1,
h2 {
  font-weight: 560;
  letter-spacing: -0.05em;
}
h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.3rem);
}
h2 {
  font-size: clamp(1.85rem, 3.35vw, 3.2rem);
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.027em;
  font-weight: 600;
}
.wrap {
  width: min(calc(100% - clamp(2.25rem, 9vw, 8rem)), var(--page));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 9;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.65rem 1rem;
  background: white;
  transform: translateY(-220%);
}
.skip:focus {
  transform: none;
}
header.site-head {
  background: #fff;
  border-bottom: 1px solid #e2e9e9;
  position: relative;
  z-index: 3;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
}
.brand img {
  width: 8.9rem;
}
nav.primary,
.menu-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.05vw, 2.15rem);
}
.primary a,
.mobile-menu a {
  font-weight: 535;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
}
.primary a:hover,
.primary a[aria-current],
.mobile-menu a[aria-current] {
  text-decoration: underline;
  text-decoration-color: #c98108;
  text-underline-offset: 0.55rem;
}
.btn,
.primary a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 2.85rem;
  padding: 0.68rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  background: var(--blue);
  color: white;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.primary a.btn:hover {
  background: #073855;
  color: white;
  text-decoration: none;
}
.btn.gold {
  background: var(--gold);
  color: #172a35;
}
.btn.gold:hover {
  background: #ffcc5c;
  color: #102333;
}
.arrow {
  font-size: 1.12em;
  font-weight: 500;
}
.mobile-menu {
  display: none;
}
.mobile-menu summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary::after {
  content: "≡";
  padding-left: 0.65rem;
}
.mobile-menu[open] summary::after {
  content: "×";
}
.hero {
  background: radial-gradient(ellipse at 38% 105%, #104866, transparent 63%), var(--navy);
  color: #fff;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(30rem, 39vw, 39rem);
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 49%;
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
.hero h1 {
  font-size: clamp(2.65rem, 5.1vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}
.hero h1 span {
  display: block;
}
.hero h1 span:last-child {
  color: var(--gold);
}
.hero-copy p {
  margin-top: 1.4rem;
  max-width: 32rem;
  color: var(--light-blue);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.53;
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  mask-image: linear-gradient(to right, transparent, #000 19%);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.45rem;
  margin-top: 1.65rem;
}
.text-link {
  font-weight: 620;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.hero .text-link,
.dark .text-link,
.dark :is(.prose, .actions) a:not(.btn) {
  color: white;
}
.project-strip {
  background: #eff3f3;
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem 1.3rem;
  padding-block: 1.05rem;
}
.strip-inner p {
  font-size: 0.86rem;
  font-weight: 620;
  color: var(--muted);
}
.strip-inner a {
  font-weight: 610;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: #344f5f;
}
.strip-inner a:hover {
  text-decoration: underline;
}
.section {
  padding-block: clamp(3rem, 6.3vw, 6rem);
}
.tint {
  background: linear-gradient(140deg, #f5f9fb, #eaf3f5);
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.8rem 2rem;
  margin-bottom: 2rem;
}
.section-heading h2 {
  max-width: 44rem;
}
.section-heading > p {
  max-width: 29rem;
  color: var(--muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card,
.guide-card {
  --card-padding: clamp(1.15rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: var(--card-padding);
}
.card-media {
  overflow: hidden;
  box-shadow: 0 0.6rem 1.4rem #11354b0c;
}
.card-image {
  align-self: stretch;
  width: calc(100% + 2 * var(--card-padding));
  max-width: none;
  margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 1.25rem;
  aspect-ratio: 1.95;
  object-fit: cover;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.card h3 a,
.guide-card h3 a,
.project-card h3 a {
  text-decoration: none;
  color: var(--ink);
}
.card h3 a:hover,
.guide-card h3 a:hover,
.project-card h3 a:hover {
  text-decoration: underline;
}
.card p,
.guide-card p {
  color: var(--muted);
  margin: 0.75rem 0 1.2rem;
}
.card .text-link,
.guide-card .text-link {
  margin-top: auto;
}
.project-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.project-card {
  min-width: 0;
}
.project-thumb {
  display: block;
  padding: clamp(1rem, 2.5vw, 2.5rem) 1rem 0;
  background: #e3ebef;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  overflow: hidden;
  aspect-ratio: 1.65;
}
.project-card:nth-child(3n + 2) .project-thumb {
  background: #f4e9d3;
}
.project-card:nth-child(3n) .project-thumb {
  background: #dde9e6;
}
.project-thumb img {
  width: 100%;
  border: 1px solid #b7c4c9;
  border-radius: 0.18rem 0.18rem 0 0;
}
.project-card h3 {
  margin-top: 0.8rem;
}
.project-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
.project-card .text-link {
  display: inline-block;
  margin-top: 0.4rem;
}
.dark {
  background: radial-gradient(ellipse at 95% 100%, #13516b, transparent 75%),
    linear-gradient(126deg, #081f30, #102f46);
  color: #fff;
}
.mast :focus-visible,
.hero :focus-visible,
.dark :focus-visible {
  outline-color: var(--gold);
}
.dark .form-box {
  color: var(--ink);
  box-shadow: 0 0.8rem 2rem #04152355;
}
.dark .form-box :focus-visible,
.dark .guide-card :focus-visible {
  outline-color: #b96405;
}
.dark .section-heading > p,
.dark .project-card p {
  color: var(--light-blue);
}
.dark .project-card h3 a {
  color: #fff;
}
.dark .project-thumb {
  border-color: #80b3cb66;
  background: linear-gradient(145deg, #274e65, #133348);
}
.dark .project-card:nth-child(3n + 2) .project-thumb {
  background: linear-gradient(145deg, #3a4b58, #142e40);
}
.dark .project-card:nth-child(3n) .project-thumb {
  background: linear-gradient(145deg, #275462, #153144);
}
.dark .guide-card {
  color: var(--ink);
}
.dark .guide-card .text-link {
  color: var(--blue);
}
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.callout p {
  color: #cfdde5;
  max-width: 39rem;
  margin-top: 0.6rem;
}
.footer {
  padding-block: 2.7rem 1.3rem;
  background: #eef2f2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid img {
  width: 8.1rem;
}
.footer-grid p {
  max-width: 30rem;
  color: var(--muted);
  margin-top: 0.7rem;
}
.footer-grid h2 {
  font:
    680 1rem/1.3 Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}
.footer-grid a:not(.brand),
.footer-bottom a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.bread {
  padding-top: 1.35rem;
}
.bread ol {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.25rem 0.7rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.bread li + li::before {
  content: "/";
  color: #7b9198;
  margin-right: 0.7rem;
}
.bread a {
  color: var(--muted);
}
.mast {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(22rem, 29vw, 30rem);
  padding-block: clamp(3rem, 5.4vw, 5.25rem);
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 43% 115%, #124762, transparent 67%), #081f30;
  border-bottom: 1px solid #2a5267;
}
.mast-compact {
  min-height: clamp(18rem, 23vw, 23rem);
  padding-block: clamp(2.7rem, 4.2vw, 4.25rem);
}
.mast .wrap > :is(.bread, h1, .lead) {
  max-width: min(60%, 44rem);
}
.mast .bread {
  padding-top: 0;
  margin-bottom: 1.6rem;
}
.mast .bread ol,
.mast .bread a {
  color: var(--light-blue);
}
.mast .bread li + li::before {
  color: var(--gold);
}
.mast h1 {
  font-size: clamp(2.5rem, 4.65vw, 4.45rem);
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.mast .lead {
  margin-top: 1.2rem;
  font-size: clamp(1.05rem, 1.35vw, 1.23rem);
  color: var(--light-blue);
}
.mast-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  mask-image: linear-gradient(to right, transparent 7%, #000 50%);
  opacity: 0.86;
}
.mast-gallery {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(4.5vw, calc((100vw - var(--page)) / 2));
  width: min(45%, 37rem);
  height: 84%;
  max-height: 24rem;
  transform: translateY(-50%);
}
.mast-gallery img {
  position: absolute;
  width: 79%;
  height: 63%;
  object-fit: cover;
  object-position: top;
  border: 1px solid #adc9d794;
  border-radius: 0.6rem;
  box-shadow: 0 0.75rem 2.5rem #00132188;
}
.mast-gallery img:first-child {
  top: 2%;
  left: 0;
  transform: rotate(-6deg);
}
.mast-gallery img:last-child {
  bottom: 2%;
  right: 0;
  transform: rotate(4deg);
}
.mast-portfolio .wrap > :is(.bread, h1, .lead) {
  max-width: 48%;
}
.read-layout {
  display: grid;
  grid-template-columns: minmax(0, 45rem) minmax(15rem, 21rem);
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.prose {
  overflow-wrap: break-word;
  min-width: 0;
}
.prose > * + *,
.prose details > * + * {
  margin-top: 1.1rem;
}
.prose h2,
.prose details h2 {
  margin-top: 2.65rem;
  font-size: clamp(1.5rem, 2.45vw, 2.2rem);
  line-height: 1.18;
}
.prose h3 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose li,
.prose td {
  line-height: 1.72;
}
.prose li + li {
  margin-top: 0.4rem;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
}
.prose li::marker {
  color: #956000;
}
.prose p a,
.prose li a {
  font-weight: 520;
}
.prose details,
.choice {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 1rem 1.15rem;
}
.prose summary {
  font-weight: 630;
  cursor: pointer;
  color: var(--blue);
}
.prose details[open] summary {
  margin-bottom: 0.6rem;
}
.prose figure img {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}
figcaption,
caption {
  color: var(--muted);
  font-size: 0.9rem;
}
figcaption {
  margin-top: 0.5rem;
}
.aside {
  padding: 1.55rem;
  border-top: 0.22rem solid var(--gold);
  border-radius: 0.3rem;
  background: var(--cream);
}
.aside h2 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}
.aside ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.aside li + li {
  margin-top: 0.65rem;
}
.aside li a {
  color: var(--blue);
}
.aside .btn {
  margin-top: 0.45rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
caption {
  text-align: left;
  padding: 0.25rem 0 0.65rem;
  font-weight: 550;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.72rem;
  border-bottom: 1px solid var(--line);
}
thead {
  background: #e9f0f1;
  color: var(--blue);
}
.form-box {
  max-width: 45rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 0.6rem;
}
.form-box h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}
.form-box p {
  color: var(--muted);
  margin: 0.6rem 0 1rem;
}
.form-box label {
  display: block;
  font-weight: 620;
  margin-top: 0.9rem;
}
.form-box textarea,
.form-box select {
  margin-top: 0.25rem;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #88999d;
  border-radius: 0.3rem;
  padding: 0.65rem 0.75rem;
}
.form-box textarea {
  resize: vertical;
  min-height: 7rem;
}
.form-box button {
  margin-top: 0.8rem;
}
.contacts {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contacts .prose p {
  max-width: 37rem;
}
.contact-line {
  display: block;
  font-size: 1.2rem;
  margin-block: 0.6rem;
}
.guide-card .topic {
  color: #5e4c23;
  font-size: 0.83rem;
  font-weight: 650;
  margin: 0 0 0.8rem;
}
.table-box {
  overflow-x: auto;
}
.flow,
.prose .flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.7vw, 2.55rem);
  padding: 0;
  list-style: none;
}
.flow > li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: clamp(0.95rem, 2vw, 1.55rem);
  box-shadow: 0 0.55rem 1.4rem #11354b0c;
}
.prose .flow > li {
  margin-top: 0;
}
.flow strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.11rem;
  line-height: 1.35;
}
.flow span:not(.flow-number) {
  display: block;
  color: var(--muted);
}
.flow .flow-number {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: var(--navy);
  background: #ffe5a7;
  font-size: 0.82rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: clamp(1.25rem, 2.7vw, 2.55rem);
  height: 2px;
  background: #bc872b;
}
@media (max-width: 63rem) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bar {
    gap: 1rem;
  }
  .brand img {
    width: 7.5rem;
  }
  .hero-copy {
    max-width: 53%;
  }
}
@media (max-width: 50rem) {
  .primary {
    display: none !important;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    padding: 0.7rem max(1.125rem, 4.5vw) 1rem;
    border-bottom: 2px solid var(--blue);
    box-shadow: 0 0.5rem 1rem #18394215;
  }
  .mobile-menu a {
    display: block;
    padding: 0.67rem 0;
  }
  .bar {
    min-height: 4.1rem;
  }
  .read-layout,
  .contacts {
    grid-template-columns: 1fr;
  }
  .guide-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 44rem) {
  .mast,
  .mast-compact {
    min-height: 0;
    padding: 0;
  }
  .mast .wrap {
    padding-block: 2.35rem 1rem;
  }
  .mast .wrap > :is(.bread, h1, .lead) {
    max-width: 100%;
  }
  .mast .bread {
    margin-bottom: 1.15rem;
  }
  .mast h1 {
    font-size: clamp(2.15rem, 8.5vw, 3.65rem);
  }
  .mast-art {
    position: relative;
    width: 100%;
    height: clamp(10rem, 40vw, 15rem);
    object-position: center 56%;
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
  }
  .mast-compact .mast-art {
    height: clamp(7rem, 29vw, 11rem);
  }
  .mast-gallery {
    position: relative;
    inset: auto;
    width: min(84%, 25rem);
    height: clamp(10rem, 42vw, 14rem);
    margin: 0.5rem auto 1.6rem;
    transform: none;
  }
}
@media (max-width: 40rem) {
  .hero-inner {
    min-height: auto;
  }
  .hero-copy {
    max-width: none;
    padding: 2.9rem 0 0;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 10.6vw, 4rem);
  }
  .hero-copy p {
    font-size: 1.05rem;
    max-width: 31rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-art {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 17rem;
    object-fit: contain;
    mask-image: linear-gradient(to bottom, transparent, #000 4%);
  }
  .hero .actions {
    gap: 0.75rem 1rem;
  }
  .strip-inner {
    justify-content: flex-start;
    gap: 0.35rem 1.1rem;
  }
  .strip-inner p {
    flex-basis: 100%;
  }
  .card-grid,
  .guide-grid,
  .project-grid,
  .flow,
  .prose .flow {
    grid-template-columns: 1fr;
  }
  .flow > li:not(:last-child)::after {
    top: 100%;
    left: 2.15rem;
    width: 2px;
    height: 1.25rem;
  }
  .callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-heading {
    margin-bottom: 1.3rem;
  }
  .footer-grid {
    gap: 1.2rem;
  }
  th,
  td {
    padding: 0.46rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .primary a,
  .text-link {
    transition:
      background-color 0.15s,
      color 0.15s;
  }
}
@media print {
  .site-head,
  .site-foot,
  .aside,
  .mobile-menu,
  .form-box,
  .skip,
  .actions,
  .mast-art,
  .mast-gallery,
  .card-image {
    display: none;
  }
  .read-layout,
  .wrap {
    display: block;
    width: auto;
    margin: 0;
  }
  .section,
  .mast {
    padding: 1rem 0;
  }
  .mast,
  .dark {
    display: block;
    min-height: 0;
    background: #fff;
    color: var(--ink);
  }
  .mast .wrap > :is(.bread, h1, .lead) {
    max-width: none;
  }
  .mast .lead,
  .mast .bread ol,
  .mast .bread a,
  .dark .text-link,
  .dark :is(.prose, .actions) a:not(.btn),
  .dark .project-card :is(h3 a, p),
  .callout p {
    color: var(--ink);
  }
  .prose {
    max-width: 100%;
  }
}
