:root {
  --hb-dark: #01221a;
  --hb-green: #03bf93;
  --hb-yellow: #ffc641;
  --hb-pale: #ffffad;
  --hb-white: #f5f5f5;
  --hb-black: #070707;
  --hb-divider: #1a3831;
  --hb-grey: #aaaaaa;
  --hb-font-heading: "Domine", Georgia, serif;
  --hb-font-body: "Inter", Arial, sans-serif;
  --hb-container: 1328px;
  --hb-container-narrow: 1104px;
  --hb-side: 56px;
  --hb-section: 104px;
  --hb-header-height: 104px;
  --hb-nav-arrow: url("../images/nav-arrow.svg");
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domine";
  src: url("../fonts/domine-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domine";
  src: url("../fonts/domine-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hb-dark);
  color: var(--hb-white);
  font-family: var(--hb-font-body);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--hb-yellow);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--hb-yellow);
  outline-offset: 4px;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: var(--hb-yellow);
  color: var(--hb-black);
}

.hb-container {
  width: min(100% - (var(--hb-side) * 2), var(--hb-container));
  margin-inline: auto;
}

.hb-container--narrow {
  max-width: var(--hb-container-narrow);
}

.hb-section {
  padding-block: var(--hb-section);
}

.hb-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--hb-dark);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.hb-site-header.is-scrolled {
  background: var(--hb-dark);
  box-shadow: inset 0 -1px 0 var(--hb-divider);
}

body.hb-has-hero .hb-site-header {
  background: transparent;
}

body.hb-has-hero .hb-site-header.is-scrolled,
body.hb-has-hero.is-menu-open .hb-site-header {
  background: var(--hb-dark);
}

body.hb-has-hero .hb-site-main {
  margin-top: calc(var(--hb-header-height) * -1);
}

body.hb-coming-page .hb-primary-nav,
body.hb-coming-page .hb-header-action,
body.hb-coming-page .hb-nav-toggle,
body.hb-coming-page .hb-site-footer {
  display: none;
}

body.hb-coming-page .hb-header-inner {
  justify-content: center;
}

body.hb-coming-page .hb-header-brand {
  flex: 0 0 auto;
}

.hb-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 104px;
  padding: 16px 56px;
}

.hb-header-brand,
.hb-header-action {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.hb-header-action {
  justify-content: flex-end;
}

.hb-logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 122px;
  min-height: 72px;
  color: var(--hb-white);
}

.hb-logo__image {
  width: 122px;
  height: 72px;
  object-fit: contain;
}

.hb-logo--text span {
  font-family: var(--hb-font-heading);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.hb-logo--text small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hb-primary-nav {
  flex: 0 1 auto;
}

.hb-menu,
.hb-sub-menu,
.hb-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hb-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hb-menu-item {
  position: relative;
}

.hb-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 8px;
  color: var(--hb-white);
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.hb-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 28px;
  margin-left: -7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hb-white);
  cursor: pointer;
}

.hb-submenu-toggle::before {
  width: 9px;
  height: 6px;
  content: "";
  background: var(--hb-nav-arrow) center / contain no-repeat;
}

.hb-menu-item.is-open > .hb-submenu-toggle::before {
  transform: rotate(180deg);
}

.hb-sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--hb-dark);
  border: 1px solid var(--hb-divider);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.hb-menu-item:hover > .hb-sub-menu,
.hb-menu-item:focus-within > .hb-sub-menu,
.hb-menu-item.is-open > .hb-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 1025px) {
  .hb-sub-menu {
    display: grid;
    gap: 16px;
    width: max-content;
    min-width: 128px;
    padding: 16px;
    background: var(--hb-white);
    border: 0;
  }

  .hb-sub-menu .hb-menu-link {
    justify-content: flex-start;
    min-height: 16px;
    padding: 0;
    color: var(--hb-black);
  }

  .hb-sub-menu > .hb-menu-item {
    display: flex;
  }
}

.hb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 8px;
  border: 0;
  background: var(--hb-yellow);
  color: var(--hb-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
}

.hb-button:hover {
  color: var(--hb-black);
  background: var(--hb-pale);
}

.hb-nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hb-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.hb-site-main {
  min-height: 50vh;
}

.hb-page-header {
  background: var(--hb-dark);
}

.hb-page-header h1,
.hb-single-header h1,
.hb-archive-header h1 {
  margin: 0;
  font-family: var(--hb-font-heading);
  font-size: clamp(44px, 7vw, 101px);
  line-height: 1.05;
  font-weight: 700;
}

.hb-page-header p,
.hb-error-page.hb-section p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(245, 245, 245, 0.78);
  font-size: 20px;
  line-height: 1.4;
}

.hb-entry-content {
  overflow-wrap: anywhere;
}

.hb-entry-content > * {
  margin-block-start: 0;
}

.hb-entry-content > *:last-child {
  margin-block-end: 0;
}

.hb-entry-content > p,
.hb-entry-content > ul li,
.hb-entry-content > ol li {
  line-height: 1.55;
}

body.hb-legal-page .hb-entry-content > :not(.hb-block) {
  width: min(100% - 32px, 656px);
  margin-inline: auto;
}

body.hb-legal-page .hb-entry-content > .wp-block-heading {
  margin-top: 112px;
  margin-bottom: 12px;
  font-family: var(--hb-font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

body.hb-legal-page .hb-entry-content > .hb-block + .wp-block-heading {
  margin-top: 56px;
}

body.hb-legal-page .hb-entry-content > p {
  margin-top: 0;
  margin-bottom: 56px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

body.hb-legal-page .hb-entry-content > p:last-child {
  margin-bottom: 56px;
}

.hb-single-header time,
.hb-post-card time,
.hb-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--hb-green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.hb-single-image {
  margin: 48px 0;
}

.hb-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.hb-post-card {
  border-top: 1px solid var(--hb-divider);
}

.hb-post-card__link {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.hb-post-card__body h2 {
  margin: 0 0 12px;
  font-family: var(--hb-font-heading);
  font-size: 28px;
  line-height: 1.15;
}

.hb-post-card__body p {
  margin: 0;
  color: rgba(245, 245, 245, 0.72);
}

.hb-search-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin-top: 32px;
}

.hb-search-form label {
  flex: 1 1 auto;
}

.hb-search-form__field,
.hb-field,
.hb-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hb-divider);
  background: rgba(245, 245, 245, 0.06);
  color: var(--hb-white);
}

.hb-textarea {
  min-height: 140px;
  resize: vertical;
}

.hb-form-status {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid currentColor;
}

.hb-form-status--success {
  color: var(--hb-green);
}

.hb-form-status--error {
  color: var(--hb-yellow);
}

.hb-site-footer {
  padding: 60px 80px 40px;
  background: var(--hb-dark);
  border-top: 0;
}

.hb-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-height: 180px;
  overflow: hidden;
}

.hb-footer-brand {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
  min-width: 122px;
}

.hb-footer-copyright {
  max-width: 320px;
  margin: 0;
  color: var(--hb-grey);
  font-size: 12px;
  line-height: normal;
  white-space: nowrap;
}

.hb-footer-description {
  max-width: 320px;
  margin: 12px 0 0;
  color: rgba(245, 245, 245, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.hb-footer-menus {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  overflow: hidden;
}

.hb-footer-menu h2 {
  margin: 0 0 10px;
  color: var(--hb-green);
  font-family: var(--hb-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hb-footer-links {
  display: grid;
  gap: 10px;
}

.hb-footer-links li {
  font-size: 14px;
  line-height: 16px;
}

.hb-footer-links a {
  color: var(--hb-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
}

.hb-footer-bottom {
  display: none;
}

.hb-footer-menu--footer-legal {
  margin-left: 80px;
}

.hb-footer-menu--footer-legal .hb-footer-links {
  display: flex;
  gap: 28px;
}

.hb-error-page.hb-section h1 {
  margin: 0;
  font-family: var(--hb-font-heading);
  font-size: clamp(44px, 7vw, 101px);
  line-height: 1.05;
  font-weight: 700;
}

.hb-utility-hero {
  min-height: 768px;
  background: var(--hb-dark);
  color: var(--hb-white);
  overflow: hidden;
  position: relative;
}

.hb-utility-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hb-utility-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(1, 34, 26, 0.18) 0%, rgba(1, 34, 26, 0.06) 48%, rgba(1, 34, 26, 0.2) 100%),
    linear-gradient(90deg, rgba(1, 34, 26, 0.32), rgba(1, 34, 26, 0.08));
}

.hb-utility-hero__image,
.hb-utility-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-utility-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 768px;
}

.hb-utility-hero--not-found .hb-utility-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 392px);
  align-content: start;
  justify-content: center;
  padding-top: 165px;
  padding-bottom: 56px;
}

.hb-utility-hero--not-found .hb-utility-hero__copy {
  display: grid;
  gap: 56px;
  align-items: start;
}

.hb-utility-hero__heading {
  margin: 0;
  font-family: var(--hb-font-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}

.hb-utility-hero--not-found .hb-utility-hero__heading br {
  display: none;
}

.hb-utility-hero--coming .hb-utility-hero__heading {
  font-family: var(--hb-font-body);
  font-size: 80px;
  font-weight: 700;
  line-height: 96px;
}

.hb-utility-hero__description {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.hb-utility-hero__description a {
  color: var(--hb-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hb-utility-hero--not-found .hb-button {
  justify-self: start;
  margin-top: -36px;
}

.hb-utility-hero__code {
  justify-self: center;
  width: max-content;
  margin-top: 53px;
  color: rgba(245, 245, 245, 0.09);
  font-family: var(--hb-font-heading);
  font-size: clamp(260px, 29vw, 380px);
  font-weight: 700;
  line-height: 0.75;
  text-align: center;
  white-space: nowrap;
}

.hb-utility-hero--coming .hb-utility-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 148px;
  padding-bottom: 32px;
  text-align: center;
}

.hb-utility-hero--coming .hb-utility-hero__copy {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 560px;
}

.hb-utility-hero--coming .hb-utility-hero__description {
  max-width: 520px;
}

.hb-utility-hero__wordmark {
  width: min(100%, 968px);
  margin-top: 64px;
}

.hb-utility-hero__wordmark-image {
  display: block;
  width: 100%;
  height: auto;
}

.hb-utility-hero__legal {
  margin-top: auto;
}

.hb-utility-hero__legal-links {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-utility-hero__legal-links a {
  color: var(--hb-white);
  font-size: 12px;
  line-height: 16px;
}

.pagination {
  margin-top: 48px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --hb-side: 24px;
    --hb-section: 72px;
  }

  .hb-header-inner {
    justify-content: space-between;
    min-height: 80px;
    padding: 8px 24px;
  }

  :root {
    --hb-header-height: 80px;
  }

  .hb-header-brand,
  .hb-header-action {
    flex: 0 0 auto;
  }

  .hb-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 55px;
    height: 28px;
    padding: 6px 8px;
  }

  .hb-header-action {
    display: none;
  }

  .hb-primary-nav {
    position: fixed;
    inset: 80px 0 auto;
    max-height: calc(100vh - 80px);
    padding: 24px;
    overflow: auto;
    background: var(--hb-dark);
    border-top: 1px solid var(--hb-divider);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.is-menu-open .hb-primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hb-menu {
    display: grid;
    gap: 4px;
  }

  .hb-menu-link {
    justify-content: flex-start;
    width: calc(100% - 36px);
    min-height: 44px;
    padding: 12px 0;
    font-size: 20px;
    line-height: 1.2;
  }

  .hb-submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    width: 36px;
    height: 36px;
  }

  .hb-sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px 16px;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hb-menu-item.is-open > .hb-sub-menu {
    display: grid;
  }

  .hb-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hb-footer-menus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 49px 17px;
  }

  .hb-footer-menu--footer-legal {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .hb-footer-menu--footer-legal .hb-footer-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .hb-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-utility-hero,
  .hb-utility-hero__inner {
    min-height: 667px;
  }

  .hb-utility-hero--not-found .hb-utility-hero__inner {
    display: flex;
    flex-direction: column;
    width: min(100% - 32px, var(--hb-container));
    padding-top: 162px;
    padding-bottom: 64px;
  }

  .hb-utility-hero__heading {
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .hb-utility-hero--not-found .hb-utility-hero__copy {
    gap: 28px;
  }

  .hb-utility-hero__code {
    margin-top: 58px;
    font-size: clamp(156px, 51vw, 192px);
    line-height: 0.8;
  }

  .hb-utility-hero--coming .hb-utility-hero__inner {
    width: min(100% - 32px, var(--hb-container));
    padding-top: 120px;
    padding-bottom: 28px;
  }

  .hb-utility-hero--coming .hb-utility-hero__heading {
    font-size: 44px;
    line-height: 52px;
    text-align: center;
  }

  .hb-utility-hero__wordmark {
    width: min(100%, 343px);
    margin-top: 56px;
  }

  .hb-utility-hero__legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --hb-side: 16px;
    --hb-section: 56px;
    --hb-header-height: 90.7535px;
  }

  .hb-header-inner {
    min-height: 90.7535px;
    padding: 16px;
  }

  .hb-site-header .hb-logo {
    width: 100px;
    min-height: 58.7535px;
  }

  .hb-site-header .hb-logo__image {
    width: 100px;
    height: 58.7535px;
  }

  .hb-primary-nav {
    inset: 90.7535px 0 auto;
    max-height: calc(100vh - 90.7535px);
  }

  .hb-page-header h1,
  .hb-error-page.hb-section h1,
  .hb-single-header h1,
  .hb-archive-header h1 {
    font-size: 44px;
    line-height: 1.05;
  }

  .hb-page-header p,
  .hb-error-page.hb-section p {
    font-size: 18px;
  }

  .hb-post-grid,
  .hb-search-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hb-site-footer {
    position: relative;
    height: 591px;
    padding: 60px 16px 36px;
  }

  .hb-site-footer .hb-logo {
    width: 122px;
    min-height: 72px;
  }

  .hb-site-footer .hb-logo__image {
    width: 122px;
    height: 72px;
  }

  .hb-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .hb-footer-brand {
    display: contents;
  }

  .hb-footer-brand .hb-logo {
    order: 0;
  }

  .hb-footer-menus {
    order: 1;
  }

  .hb-footer-description {
    order: 2;
  }

  .hb-footer-copyright {
    order: 3;
    position: absolute;
    right: 16px;
    bottom: 36px;
    left: 16px;
  }

  .hb-footer-menu--footer-legal {
    margin-top: 11px;
  }

  body.hb-legal-page .hb-entry-content > .wp-block-heading {
    margin-top: 72px;
    margin-bottom: 12px;
  }

  body.hb-legal-page .hb-entry-content > .hb-block + .wp-block-heading {
    margin-top: 40px;
  }

  body.hb-legal-page .hb-entry-content > p,
  body.hb-legal-page .hb-entry-content > p:last-child {
    margin-bottom: 40px;
  }

  .hb-utility-hero__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .hb-utility-hero,
  .hb-utility-hero__inner {
    min-height: 665.7535px;
  }

  .hb-utility-hero--not-found .hb-utility-hero__inner {
    padding-top: 154.7535px;
    padding-bottom: 56.9845px;
  }

  .hb-utility-hero--not-found .hb-utility-hero__copy {
    gap: 32px;
  }

  .hb-utility-hero--not-found .hb-utility-hero__description + .hb-button {
    margin-top: -8px;
  }

  .hb-utility-hero__code {
    margin-top: 64px;
    font-size: 180.75885px;
    line-height: 146.01559px;
  }

  .hb-utility-hero--not-found .hb-button {
    justify-self: start;
  }
}
