@font-face {
  font-family: Raleway;
  src: url("/assets/raleway-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: Raleway;
  src: url("/assets/raleway-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

.home-mast, .home-hero {
  --mast-height: clamp(22px, 1.42vw, 32px);
  font-family: Raleway, Arial, sans-serif;
}
.home-mast {
  height: var(--mast-height);
  position: relative;
  z-index: 3;
  background: #262626;
}
.home-wordmark {
  position: absolute;
  top: clamp(4px, .2vw, 6px);
  left: 1.05%;
  color: white;
  font-weight: 600;
  font-size: clamp(15px, 1.11vw, 24px);
  line-height: 1.12;
  text-shadow: 0 1px 2px #0004;
}
.home-nav {
  position: absolute;
  top: 1px;
  right: 11.8%;
  display: flex;
  color: #61584f;
  background: rgba(255,255,255,.78);
  font-size: clamp(15px, 1.08vw, 23px);
}
.home-nav > a, .home-more > summary {
  display: block;
  padding: .56em .84em;
  line-height: 1.65;
}
.home-nav a[aria-current], .home-nav a:hover, .home-more > summary:hover,
.home-more[open] > summary { background: rgba(197,188,175,.8); }
.home-more { position: relative; }
.home-more summary { list-style: none; }
.home-more summary::-webkit-details-marker { display: none; }
.home-more > div {
  position: absolute;
  right: 0;
  min-width: 8em;
  background: #fff;
  box-shadow: 0 4px 14px #0002;
}
.home-more a { display: block; padding: .5em .84em; }
.home-hero {
  --logo-size: clamp(100px, min(9.8vw, 23svh), 236px);
  position: relative;
  isolation: isolate;
  height: calc(100vh - var(--mast-height));
  height: calc(100svh - var(--mast-height));
  min-height: 450px;
  background: #b9b2a7;
  color: #fff;
}
.home-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.home-photo img {
  width: 101.65%;
  max-width: none;
  height: 100%;
  margin-left: -1.26%;
  object-fit: cover;
  object-position: center 49%;
}
.home-logo, #home-title, .home-tagline {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.home-logo {
  top: 39.5%;
  width: var(--logo-size);
  aspect-ratio: 1;
}
.home-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 195%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -51%);
}
#home-title, .home-tagline {
  margin: 0;
  width: 96%;
  color: #fff;
  font-family: Raleway, Arial, sans-serif;
  text-wrap: balance;
  text-shadow: -1px -1px 1px rgba(0,0,0,.60), 1px 1px 1px rgba(255,255,255,.6);
}
#home-title {
  top: calc(39.5% + .87 * var(--logo-size));
  font-size: clamp(32px, 3.78vw, 92px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}
#home-title span { white-space: nowrap; }
.home-tagline {
  top: calc(39.5% + 1.56 * var(--logo-size));
  font-size: clamp(21px, 1.83vw, 46px);
  font-weight: 400;
  line-height: 1.22;
}
.home-social {
  position: absolute;
  left: 0;
  bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: clamp(2px, .45vw, 9px);
}
.home-social a {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 30px;
}
.home-social img { width: clamp(16px, 1.05vw, 24px); height: auto; filter: brightness(0) invert(1); }
.home-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid #ffffff45;
}
.home-actions .button { background: white; color: #262626; border-color: white; }
.home-actions .button:hover { background: #dbe7f4; }
.home-actions .textlink { color: white; }

@media (max-width: 760px) {
  .home-mast { height: 52px; }
  .home-wordmark { left: 4%; top: 4px; font-size: 13px; line-height: 1.05; }
  .home-mast .menutoggle { display: block; position: absolute; right: 4%; top: 6px; padding: 5px 12px; }
  .home-nav { display: none; top: 52px; right: 0; left: 0; background: #fff; font-size: 16px; }
  .home-nav.open { display: flex; flex-wrap: wrap; justify-content: center; }
  .home-nav > a, .home-more > summary { padding: .65em .6em; }
  .home-hero { height: calc(100svh - 52px); min-height: 440px; }
  .home-logo { width: clamp(105px, 27vw, 145px); }
  #home-title { top: 59%; width: 94%; font-size: clamp(30px, 6.7vw, 44px); }
  .home-tagline { top: 75%; width: 90%; font-size: clamp(19px, 4vw, 25px); }
  .home-social { flex-direction: row; left: 8px; bottom: 6px; gap: 2px; }
  .home-social a { min-width: 32px; min-height: 36px; }
}
