:root {
  --ink: #11130e;
  --ink-soft: #1b1e16;
  --paper: #f3f0e8;
  --paper-bright: #fbfaf6;
  --trail: #b7e045;
  --trail-dark: #8cad34;
  --white: #fff;
  --display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", "Helvetica Neue", sans-serif;
}

body.legacy-content {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: #36382f;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

.legacy-content a {
  color: var(--trail-dark);
  text-decoration: none;
}

.legacy-content a:hover,
.legacy-content a:focus {
  color: #66831f;
}

.legacy-content .navbar.navbar-default {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  min-height: 82px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  border-radius: 0;
  background: rgb(17 19 14 / 94%);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.legacy-content .navbar > .container {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding: 0;
}

.legacy-content .navbar-header {
  float: none;
}

.legacy-content .navbar-brand {
  display: inline-flex;
  height: auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
}

.legacy-content .navbar-brand:hover,
.legacy-content .navbar-brand:focus {
  color: var(--white);
}

.legacy-content .navbar-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.legacy-content .navbar#navbar {
  width: auto;
  min-height: 0;
  margin: 0;
  border: 0;
}

.legacy-content .navbar-nav {
  display: flex;
  float: none !important;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.legacy-content .navbar-nav > li {
  float: none;
}

.legacy-content .navbar-default .navbar-nav > li > a {
  padding: 11px 14px;
  border-radius: 0;
  color: rgb(255 255 255 / 68%);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legacy-content .navbar-default .navbar-nav > li > a:hover,
.legacy-content .navbar-default .navbar-nav > li > a:focus {
  color: var(--white);
  background: rgb(255 255 255 / 7%);
}

.legacy-content .navbar-default .navbar-nav > .active > a,
.legacy-content .navbar-default .navbar-nav > .active > a:hover,
.legacy-content .navbar-default .navbar-nav > .active > a:focus {
  background: var(--trail);
  color: var(--ink);
}

.legacy-content .hidden {
  display: none !important;
}

.legacy-content #portfolio {
  position: relative;
  min-height: 700px;
  padding: 146px 0 104px;
  overflow: hidden;
  background: var(--paper);
}

.legacy-content #portfolio::before {
  position: absolute;
  inset: 0 0 auto;
  height: 390px;
  background:
    linear-gradient(90deg, rgb(12 14 9 / 95%) 0%, rgb(12 14 9 / 73%) 55%, rgb(12 14 9 / 46%) 100%),
    url("../img/header-bg.jpg") 56% 58% / cover no-repeat;
  content: "";
}

.legacy-content #portfolio::after {
  position: absolute;
  top: 381px;
  right: 0;
  width: 33%;
  height: 9px;
  background: var(--trail);
  content: "";
}

.legacy-content #portfolio > .container {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
  padding: 0;
}

.legacy-content #portfolio > .container > .row {
  margin-inline: 0;
}

.legacy-content #portfolio > .container > .row:first-child br {
  display: none;
}

.legacy-content #portfolio > .container > .row:first-child img {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 30%);
  object-fit: cover;
}

.legacy-content #portfolio > .container > .row:nth-child(2) {
  min-height: 136px;
  color: var(--white);
}

.legacy-content .section-heading {
  margin: 0;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}

.legacy-content #portfolio .section-heading br {
  display: none;
}

.legacy-content .section-subheading {
  margin: 15px 0 0;
  color: var(--trail);
  font-family: var(--body);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.legacy-content #portfolio > .container > .row:nth-child(3) {
  margin-top: 34px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #dbd5c8;
  background: var(--paper-bright);
  box-shadow: 0 26px 80px rgb(53 48 38 / 9%);
}

.legacy-content #portfolio > .container > .row:nth-child(3) > .container,
.legacy-content #portfolio > .container > .row:nth-child(3) .container {
  width: 100%;
  padding: 0;
}

.legacy-content #portfolio .row,
.legacy-content #contact .row,
.legacy-content footer .row {
  margin-right: 0;
  margin-left: 0;
}

.legacy-content #portfolio [class*="col-"],
.legacy-content #contact [class*="col-"],
.legacy-content footer [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.legacy-content #portfolio p {
  margin: 0 0 19px;
}

.legacy-content #portfolio p:last-child {
  margin-bottom: 0;
}

.legacy-content #portfolio ul,
.legacy-content #portfolio ol {
  padding-left: 24px;
  margin-block: 18px 26px;
}

.legacy-content #portfolio li {
  padding-left: 5px;
  margin-bottom: 8px;
}

.legacy-content #portfolio strong,
.legacy-content #portfolio b {
  color: var(--ink);
  font-weight: 750;
}

.legacy-content #portfolio .p2 {
  min-height: 8px;
  margin: 0;
}

.legacy-content #portfolio .updates-list > .update-toggle {
  margin: 0;
}

.legacy-content #portfolio .updates-list > .collapse {
  margin-bottom: 12px;
}

.legacy-content #portfolio .updates-list .card-body > :last-child {
  margin-bottom: 0;
}

.legacy-content #portfolio .btn.btn-primary {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 52px 15px 19px;
  border: 1px solid #d4cebf;
  border-radius: 0;
  background: #eeeadf;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.legacy-content #portfolio .btn.btn-primary::after {
  position: absolute;
  right: 19px;
  color: var(--trail-dark);
  content: "+";
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.legacy-content #portfolio .btn.btn-primary[aria-expanded="true"] {
  border-color: var(--trail-dark);
  background: var(--trail);
}

.legacy-content #portfolio .btn.btn-primary[aria-expanded="true"]::after {
  color: var(--ink);
  content: "−";
}

.legacy-content #portfolio .collapse {
  margin-top: -1px;
}

.legacy-content #portfolio .card-body {
  padding: 24px;
  border: 1px solid #d4cebf;
  background: var(--white);
  color: #4f5148;
}

.legacy-content #contact {
  position: relative;
  padding: 82px 24px;
  background:
    linear-gradient(90deg, rgb(17 19 14 / 97%), rgb(17 19 14 / 83%)),
    url("../img/portfolio/or2.jpg") center / cover no-repeat;
  color: var(--white);
}

.legacy-content #contact .container {
  width: min(760px, 100%);
}

.legacy-content #contact .section-heading {
  font-size: clamp(48px, 6vw, 72px);
}

.legacy-content #contact .section-subheading {
  display: none;
}

.legacy-content #contact .btn.btn-xl {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 27px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--trail);
  color: var(--ink);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legacy-content #contact .btn.btn-xl:hover,
.legacy-content #contact .btn.btn-xl:focus {
  background: var(--white);
  color: var(--ink);
}

.legacy-content footer {
  padding: 38px 24px;
  background: #090a07;
  color: rgb(255 255 255 / 48%);
  font-family: var(--body);
  font-size: 11px;
  text-align: center;
}

.legacy-content footer .container {
  width: min(960px, 100%);
}

.legacy-content footer .col-md-4:first-child {
  width: 100%;
}

.legacy-content footer .copyright {
  line-height: 1.6;
}

@media (max-width: 700px) {
  .legacy-content .navbar.navbar-default,
  .legacy-content .navbar > .container {
    min-height: 70px;
  }

  .legacy-content .navbar > .container {
    width: calc(100% - 30px);
  }

  .legacy-content .navbar-brand {
    gap: 8px;
    font-size: 16px;
  }

  .legacy-content .navbar-brand img {
    width: 40px;
    height: 40px;
  }

  .legacy-content .navbar-default .navbar-nav > li > a {
    padding: 10px;
    font-size: 9px;
  }

  .legacy-content #portfolio {
    padding: 116px 0 74px;
  }

  .legacy-content #portfolio::before {
    height: 348px;
  }

  .legacy-content #portfolio::after {
    top: 339px;
  }

  .legacy-content #portfolio > .container {
    width: calc(100% - 30px);
  }

  .legacy-content #portfolio > .container > .row:first-child img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .legacy-content #portfolio > .container > .row:nth-child(2) {
    min-height: 139px;
  }

  .legacy-content .section-heading {
    font-size: 48px;
  }

  .legacy-content #portfolio > .container > .row:nth-child(3) {
    padding: 24px 20px;
  }

  .legacy-content #portfolio {
    font-size: 15px;
    line-height: 1.72;
  }

  .legacy-content #portfolio .card-body {
    padding: 19px;
  }

  .legacy-content #contact {
    padding-block: 66px;
  }
}

body.redirect-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  margin: 0;
  padding: 24px;
  background:
    linear-gradient(90deg, rgb(12 14 9 / 94%), rgb(12 14 9 / 64%)),
    url("../img/header-bg.jpg") 58% center / cover no-repeat;
  color: var(--white);
  font-family: var(--body);
  text-align: center;
}

.redirect-card {
  width: min(520px, 100%);
  padding: 48px 38px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(17 19 14 / 82%);
  backdrop-filter: blur(15px);
}

.redirect-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 25px;
  object-fit: contain;
}

.redirect-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .95;
  text-transform: uppercase;
}

.redirect-card p {
  margin: 22px 0 0;
  color: rgb(255 255 255 / 62%);
}

.redirect-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.redirect-actions a {
  padding: 13px 17px;
  background: var(--trail);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.redirect-actions a:hover {
  background: var(--white);
  color: var(--ink);
}
