body {
  background: var(--canvas);
}
.shell {
  background: var(--canvas);
  position: relative;
  isolation: isolate;
}
.shell:before {
  content: "";
  position: absolute;
  inset: 0 0 0 245px;
  z-index: -1;
  background-image: url("assets/theme-background.svg?v=45192cee419c-1791551123826397421");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
main {
  position: relative;
  z-index: 1;
}
.sidebar {
  background: #242628;
  color: #eee8df;
  border-color: #3b3c3d;
  z-index: 2;
}
nav button {
  color: #e1dcd5;
}
nav button span {
  color: #a49c94;
}
nav button:hover,
nav button[aria-selected="true"]:hover {
  background: #a94b22;
  color: white;
}
nav button[aria-selected="true"] {
  background: #343332;
  border-left: 3px solid #ff681f;
  padding-left: 9px;
}
.nav-label {
  color: #aba39a;
}
.side-note {
  color: #ede6de;
}
.side-note small {
  color: #b5aaa0;
}
header,
footer {
  background: #242628;
  border-color: #393a3b;
  color: #e5dbd1;
}
.location {
  color: #c5bab0;
}
.footer-name,
footer button {
  color: #eee4d8;
}
.brand {
  background: #fff8ef;
  padding: 6px 12px;
  border-radius: 5px;
}
.page-toolbar > span {
  color: var(--muted);
}
.hero-card {
  box-shadow: 0 12px 35px #17191b18;
}
@media (max-width: 760px) {
  .shell:before {
    inset: 0;
  }
  .sidebar {
    background: #242628;
  }
  nav button[aria-selected="true"] {
    border-left: 0;
    border-bottom: 3px solid #ff681f;
    padding-left: 12px;
    padding-bottom: 7px;
  }
  .brand img {
    width: 245px;
  }
}
:root {
  --canvas: #e8e2d9;
  --ink: #202329;
  --muted: #655d55;
  --line: #cfc6ba;
}
.services article,
.project-card,
.demo-card {
  background: #fff8eeed;
}
.feature-tags span,
.demo-tags span {
  background: #fff0df;
}
.home-bottom {
  border-color: #bfb3a5;
}
.secondary {
  background: #fff4e5b8;
}
.home-grid > div:first-child {
  background: #ffe1c3d9;
  padding: 26px;
  border-radius: 3px;
}

.shell {
  min-height: calc(100dvh - 161px);
  align-items: stretch;
}
.sidebar {
  position: static;
  align-self: stretch;
  min-height: 0;
  height: auto;
  margin: 0;
  border-bottom: 0;
}
.home-grid {
  grid-template-columns: 1fr;
  min-height: 430px;
  align-items: center;
}
.home-grid > div:first-child {
  background: none;
  padding: 0;
  max-width: 650px;
}
.home-bottom {
  max-width: 850px;
  background: #e8e2d9a6;
  padding: 18px 12px;
  margin-top: 20px;
}
nav button {
  gap: 0;
}
nav button b {
  margin-left: auto;
}
.services {
  gap: 0 32px;
}
.services article {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 20px 0;
  border-top: 1px solid #a4958480;
}
.services h3 {
  margin-top: 0;
}
.services article p {
  color: #51483f;
}
.steps article {
  border-top: 1px solid #a4958480;
  padding-top: 14px;
}
.steps h3 {
  margin-left: 0;
}
.demo-card {
  background: none;
  border: 0;
  border-radius: 0;
  border-top: 1px solid #a4958480;
  padding: 26px 0;
}
.project-card {
  background: #292b2d;
  color: #fff3e6;
  border-color: #44403a;
}
.project-card p {
  color: #d3c5b7;
}
.project-card small {
  color: #ffb07a;
}
.project-card-copy {
  position: static;
  padding: 18px 20px;
}
.project-cover {
  height: 220px;
}
.project-cover img {
  object-fit: contain;
  background: #343432;
}
.gallery-main {
  background: #343432;
  border-color: #73695e;
  display: flex;
  flex-direction: column;
}
.gallery-main img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #343432;
}
.enlarge {
  position: static;
  display: block;
  align-self: flex-end;
  margin: 10px;
  background: #27292b;
}
.gallery-nav {
  position: static;
  display: flex;
  gap: 8px;
  padding: 12px 0;
  margin: 0;
  clear: both;
}
.gallery-nav button {
  background: #35312d;
  color: #f5e6d6;
  border-color: #685d52;
}
.gallery-nav button[aria-pressed="true"] {
  background: #9c4723;
  color: white;
  border-color: #bb602f;
}
.feature-tags span,
.demo-tags span {
  background: #b99b7a38;
  color: #4d4034;
  border: 1px solid #b59c8370;
}
select,
textarea {
  background: #34312e;
  color: #fff0df;
  border: 1px solid #706255;
  color-scheme: dark;
}
select option {
  background: #34312e;
  color: #fff0df;
}
textarea::placeholder {
  color: #c5b4a2;
}
.primary {
  color: #fff;
}
.secondary {
  background: #cdb89f3b;
  border-color: #a99784;
}
.brand {
  background: none;
  padding: 0;
}
.brand img {
  filter: none;
}
header {
  background: #e8e2d9;
}
.location {
  color: #655d55;
}
@media (max-width: 760px) {
  .home-grid {
    min-height: 0;
  }
  .home-grid > div:first-child {
    padding: 0;
  }
  .home-bottom {
    padding: 15px 8px;
  }
  .services {
    gap: 0;
  }
  .sidebar {
    height: auto;
  }
  .steps h3 {
    margin-left: 0;
  }
  .project-cover {
    height: 190px;
  }
  .gallery-main img {
    max-height: 360px;
  }
}

main:has(#projects:not([hidden])) {
  max-width: 1900px;
}
.project-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.project-picker button {
  background: #302c28;
  color: #f7e8d9;
  border: 1px solid #7c6d5e;
  border-radius: 5px;
  padding: 12px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.project-picker button span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #d7bda4;
  margin-top: 3px;
}
.project-picker button:hover,
.project-picker button[aria-pressed="true"] {
  background: #99441f;
  border-color: #c56a39;
}
.project-intro-image {
  display: block;
  width: 100%;
  padding: 0;
  background: #302c28;
  border: 1px solid #86725e;
  border-radius: 6px;
  overflow: hidden;
}
.project-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65dvh;
  object-fit: contain;
}
.project-intro-image > span {
  display: block;
  padding: 10px 15px;
  color: #edd7c3;
  text-align: right;
  font-size: 12px;
}
.detail-head {
  align-items: center;
}
.detail-head .page-title {
  font-size: 29px;
  margin: 0;
}
.detail-head .secondary {
  padding: 8px 12px;
  font-size: 11px;
}
.detail-summary {
  max-width: 1050px;
  font-size: 13px;
  margin: 10px 0 18px;
}
.gallery-main {
  position: relative;
  padding: 0;
  border-radius: 6px;
}
.gallery-main img {
  width: 100%;
  height: auto;
  max-height: 68dvh;
  object-fit: contain;
  background: #302c28;
}
.enlarge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin: 0;
  padding: 8px 12px;
  background: #242628e6;
  color: #fff1e2;
  border-radius: 4px;
}
.gallery-nav {
  padding: 12px 0 4px;
  gap: 8px;
}
.gallery-nav button {
  padding: 8px 12px;
  font-size: 12px;
}
.privacy {
  margin: 6px 0;
}
@media (max-width: 760px) {
  .project-picker {
    gap: 7px;
  }
  .project-picker button {
    padding: 10px 12px;
    font-size: 12px;
  }
  .detail-head {
    display: flex;
    gap: 10px;
  }
  .detail-head .page-title {
    font-size: 22px;
  }
  .gallery-main img,
  .project-intro-image img {
    max-height: none;
  }
  .detail-summary {
    font-size: 12px;
  }
  .gallery-nav button {
    font-size: 11px;
    padding: 8px;
  }
  .enlarge {
    font-size: 10px;
    padding: 6px 9px;
  }
}

main:has(#projects:not([hidden])) {
  max-width: 1500px;
}
.portfolio-list {
  max-width: 1050px;
  margin-top: 35px;
  display: grid;
  gap: 0;
}
.portfolio-list > button {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 26px;
  text-align: left;
  background: transparent;
  padding: 24px 0;
  border-top: 1px solid #a9957c75;
  color: #202329;
}
.portfolio-list > button:last-child {
  border-bottom: 1px solid #a9957c75;
}
.portfolio-list > button:hover {
  background: #d7b38e20;
}
.portfolio-list img {
  width: 170px;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  border: 1px solid #9b8c7a;
}
.portfolio-list small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #a64f26;
}
.portfolio-list h3 {
  font-size: 23px;
  margin: 6px 0;
}
.portfolio-list p {
  font-size: 13px;
  color: #63574c;
  margin: 0;
}
.portfolio-list b {
  font-size: 12px;
  color: #8f4525;
  padding: 10px;
}
.portfolio-return {
  background: none;
  color: #66594b;
  padding: 0;
  margin: 0 0 28px;
  font-size: 12px;
}
.portfolio-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}
.portfolio-info {
  padding: 0;
}
.portfolio-info .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.portfolio-info h2 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.portfolio-info > p:not(.eyebrow) {
  font-size: 13px;
  color: #625548;
  line-height: 1.7;
}
.portfolio-info ul {
  list-style: none;
  padding: 15px 0;
  margin: 20px 0;
  border-top: 1px solid #a9957c75;
}
.portfolio-info li {
  font-size: 12px;
  padding: 5px 0;
}
.portfolio-info li:before {
  content: "—";
  color: #bd5c2c;
  margin-right: 8px;
}
.portfolio-info > small {
  font-size: 10px;
  color: #786858;
  line-height: 1.6;
  display: block;
}
.portfolio-image {
  background: #272a2b;
  border: 1px solid #8c7b68;
  border-radius: 5px;
  padding: 12px;
  overflow: hidden;
}
.portfolio-image button {
  padding: 0;
  background: transparent;
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.portfolio-image img {
  width: 100%;
  height: auto;
  max-height: 53dvh;
  object-fit: contain;
  display: block;
  margin: auto;
}
.portfolio-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.portfolio-caption strong {
  font-size: 13px;
  font-weight: 500;
}
.portfolio-caption span {
  font-size: 10px;
  color: #73604c;
}
.portfolio-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.portfolio-thumbnails button {
  padding: 0;
  background: transparent;
  text-align: left;
  opacity: 0.65;
  color: #4f453a;
  border-radius: 3px;
}
.portfolio-thumbnails button:hover,
.portfolio-thumbnails button[aria-pressed="true"] {
  opacity: 1;
}
.portfolio-thumbnails img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 2px solid transparent;
  border-radius: 3px;
}
.portfolio-thumbnails button[aria-pressed="true"] img {
  border-color: #df6b32;
}
.portfolio-thumbnails span {
  display: block;
  font-size: 9px;
  line-height: 1.3;
  margin-top: 6px;
}
@media (max-width: 1000px) {
  .portfolio-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
  }
  .portfolio-info h2 {
    font-size: 24px;
  }
  .portfolio-list > button {
    grid-template-columns: 130px 1fr;
    gap: 18px;
  }
  .portfolio-list img {
    width: 130px;
    height: 90px;
  }
  .portfolio-list b {
    display: none;
  }
  .portfolio-thumbnails img {
    height: 45px;
  }
}
@media (max-width: 760px) {
  .portfolio-layout {
    grid-template-columns: 1fr;
  }
  .portfolio-info ul,
  .portfolio-info > small {
    display: none;
  }
  .portfolio-info > p:not(.eyebrow) {
    margin-bottom: 0;
  }
  .portfolio-return {
    margin-bottom: 20px;
  }
  .portfolio-list > button {
    grid-template-columns: 95px 1fr;
    gap: 15px;
  }
  .portfolio-list img {
    width: 95px;
    height: 80px;
  }
  .portfolio-list h3 {
    font-size: 18px;
  }
  .portfolio-list small {
    font-size: 8px;
  }
  .portfolio-list p {
    font-size: 11px;
  }
  .portfolio-image {
    padding: 6px;
  }
  .portfolio-image img {
    max-height: none;
  }
  .portfolio-caption {
    align-items: start;
  }
  .portfolio-caption span {
    max-width: 115px;
    text-align: right;
  }
  .portfolio-thumbnails {
    gap: 6px;
  }
  .portfolio-thumbnails img {
    height: 45px;
  }
  .portfolio-thumbnails span {
    font-size: 8px;
  }
}

.portfolio-thumbnails button {
  overflow: visible;
  min-width: 0;
}
.portfolio-thumbnails img {
  height: 85px;
  object-fit: contain;
  object-position: center;
  background: #302e2b;
  padding: 4px;
}
.portfolio-thumbnails span {
  min-height: 26px;
  white-space: normal;
  overflow: visible;
}
@media (max-width: 1000px) {
  .portfolio-thumbnails img {
    height: 70px;
  }
}
@media (max-width: 760px) {
  .portfolio-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-thumbnails img {
    height: 75px;
  }
  .portfolio-thumbnails span {
    font-size: 10px;
    min-height: 26px;
  }
}

.viewer-stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: auto;
}
.viewer-stage .image-viewport {
  max-height: 76dvh;
  background: transparent;
  overflow: auto;
}
.viewer-stage #full-image {
  max-height: 76dvh;
  max-width: 100%;
  cursor: default;
}
.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 40px;
  border-radius: 5px;
  background: #202329b8;
  color: #fff !important;
  font-size: 29px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff30;
  box-shadow: 0 2px 8px #0002;
}
.viewer-arrow:hover {
  background: #a94b22;
}
.viewer-prev {
  left: 9px;
}
.viewer-next {
  right: 9px;
}
.viewer-counter {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 8px;
}
.portfolio-caption span {
  font-size: 0;
}
.portfolio-caption span:after {
  content: "Click image to enlarge ↗";
  font-size: 10px;
}
@media (max-width: 760px) {
  .viewer-arrow {
    width: 29px;
    height: 36px;
  }
  .viewer-prev {
    left: 5px;
  }
  .viewer-next {
    right: 5px;
  }
}

#image-dialog {
  box-sizing: border-box;
  width: min(1200px, 94vw);
  max-width: 94vw;
  max-height: 94dvh;
  overflow: hidden;
  padding: 16px;
}
#image-dialog .dialog-top {
  min-width: 0;
  gap: 12px;
  margin-bottom: 8px;
}
#image-dialog .dialog-top h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 14px;
}
#image-dialog .dialog-top button {
  flex-shrink: 0;
}
#image-dialog .viewer-stage {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}
#image-dialog .image-viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: min(74dvh, 850px);
  max-height: calc(94dvh - 110px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#image-dialog #full-image {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  margin: 0;
}
#image-dialog .viewer-counter {
  height: 24px;
  padding-top: 6px;
}
@media (max-width: 760px) {
  #image-dialog {
    padding: 10px;
    width: 96vw;
    max-width: 96vw;
  }
  #image-dialog .image-viewport {
    height: 70dvh;
    max-height: calc(94dvh - 100px);
  }
}

header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e8e2d9;
  padding: 16px 4%;
  gap: 24px;
}
header:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -70px;
  top: -135px;
  width: 590px;
  height: 300px;
  background: #f2c9a9;
  border-radius: 44% 56% 65% 35%;
  transform: rotate(-8deg);
  box-shadow: 18px 15px 0 #eed4be;
}
.brand img {
  width: 350px;
  max-width: 100%;
}
.brand {
  flex-shrink: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-cta {
  padding: 12px 18px;
  background: #292b2d;
  color: #f9eadc;
  border: 1px solid #53483e;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.header-cta span {
  color: #f9a36d;
  margin-left: 12px;
}
.header-cta:hover {
  background: #a94b22;
}
.home-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  background: none;
  padding: 8px 0;
  margin-top: 20px;
}
.home-bottom span {
  padding: 11px 18px;
  border: 1px solid #75665570;
  border-radius: 999px;
  background: #efd5be99;
  box-shadow: 0 3px 8px #4733200a;
  font-size: 11px;
  letter-spacing: 1.3px;
  color: #473b30;
}
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.services article,
.steps article {
  padding: 22px;
  background: #edcfb399;
  border: 1px solid #957b6060;
  border-radius: 15px;
  box-shadow: 0 7px 18px #50351e0c;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.services article:hover {
  background: #edc5a5c7;
  border-color: #b36336;
  transform: translateY(-2px);
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 1px solid #b1734b55;
  border-radius: 10px;
  background: #e8b78e66;
  color: #a94b22;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 14px;
}
.services h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.services article p,
.steps article p {
  margin: 0;
  color: #594b40;
  font-size: 14px;
  line-height: 1.6;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps article {
  background: #ddcbb899;
}
.steps .service-icon {
  border-radius: 50%;
}
.steps h3 {
  margin-left: 0;
}
@media (max-width: 900px) {
  .header-actions {
    gap: 12px;
  }
  .header-actions .location {
    display: none;
  }
  .brand img {
    width: 300px;
  }
}
@media (max-width: 760px) {
  header {
    height: auto;
    min-height: 95px;
    padding: 18px 20px;
    gap: 15px;
  }
  .brand {
    min-width: 0;
    flex-shrink: 1;
  }
  .brand img {
    width: 245px;
  }
  .header-cta {
    font-size: 11px;
    padding: 10px;
  }
  .header-cta span {
    margin-left: 4px;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 15px;
    padding: 18px;
  }
  .steps .service-icon {
    grid-row: 1 / 3;
    margin: 0;
  }
  .steps h3 {
    font-size: 18px;
  }
  .home-bottom {
    gap: 8px;
  }
  .home-bottom span {
    padding: 9px 13px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services article {
    transition: none;
  }
  .services article:hover {
    transform: none;
  }
}

#contact-form {
  max-width: 700px;
}
#contact-form input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #706255;
  border-radius: 7px;
  background: #34312e;
  color: #fff0df;
  font: inherit;
  margin-top: 7px;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#contact-status {
  font-size: 14px;
  max-width: 600px;
}
#send-enquiry:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 760px) {
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

header {
  border-bottom: 0;
  --ribbon-edge: 74%;
  overflow: hidden;
}
header:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(var(--ribbon-edge) - 45px);
  right: 0;
  background: #333537;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    45px 100%,
    27px 76%,
    40px 57%,
    15px 34%,
    25px 18%
  );
  pointer-events: none;
}
.header-actions {
  position: relative;
  z-index: 1;
}
.header-actions .location {
  color: #eee0d2;
}
.header-cta {
  background: #f4cfad;
  color: #292b2d;
  border: 1px solid #e7b88f;
  box-shadow: 0 4px 12px #15171925;
}
.header-cta span {
  color: #a94b22;
}
.header-cta:hover {
  background: #b5572a;
  color: #fff2e5;
  border-color: #c26a3e;
}
.header-cta:hover span {
  color: #fff2e5;
}
@media (max-width: 760px) {
  header:after {
    left: auto;
    width: 145px;
    clip-path: polygon(
      18px 0,
      100% 0,
      100% 100%,
      32px 100%,
      14px 73%,
      25px 48%,
      0 27%
    );
  }
  .header-cta {
    max-width: 130px;
    white-space: normal;
    line-height: 1.4;
  }
}

.site-stage {
  position: relative;
  isolation: isolate;
  background: var(--canvas);
}
.site-stage:before {
  content: "";
  position: absolute;
  inset: 0 0 0 245px;
  z-index: -1;
  background-image: url("assets/theme-background.svg?v=45192cee419c-1791551123826397421");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.site-stage .shell {
  background: transparent;
  isolation: auto;
}
.site-stage .shell:before {
  display: none;
}
.site-stage header {
  background: transparent;
}
.site-stage header:after {
  display: none;
}
.header-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.header-actions .location {
  order: 2;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #f2e5d8;
  text-shadow: 0 1px 3px #333537;
}
.header-cta {
  position: relative;
}
@media (max-width: 1000px) {
  .site-stage:before {
    left: 205px;
  }
}
@media (max-width: 760px) {
  .site-stage:before {
    left: 0;
  }
  .site-stage header {
    background: #e8e2d9;
  }
  .site-stage header:after {
    display: block;
    left: auto;
    width: 145px;
  }
  .header-actions {
    gap: 0;
  }
}

.site-stage header .header-actions {
  align-items: center !important;
}
.site-stage header .header-actions .location {
  align-self: center !important;
  text-align: center !important;
  margin: 0 !important;
}

.sidebar {
  position: relative;
  border-right: 0;
  overflow: visible;
}
.sidebar:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 1px);
  width: 21px;
  background: #242628;
  clip-path: polygon(
    0 0,
    76% 0,
    48% 4%,
    96% 8%,
    44% 13%,
    83% 18%,
    39% 23%,
    100% 29%,
    51% 34%,
    87% 39%,
    34% 45%,
    93% 51%,
    46% 56%,
    100% 62%,
    38% 68%,
    81% 74%,
    47% 80%,
    95% 86%,
    41% 92%,
    78% 97%,
    63% 100%,
    0 100%
  );
  pointer-events: none;
}
.sidebar:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 24px;
  background: linear-gradient(90deg, #24262820, transparent);
  pointer-events: none;
}
@media (max-width: 760px) {
  .sidebar {
    border-bottom: 0;
    padding-bottom: 19px;
  }
  .sidebar:before {
    display: none;
  }
  .sidebar:after {
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    bottom: auto;
    width: 100%;
    height: 10px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 55%,
      94% 90%,
      88% 45%,
      81% 100%,
      75% 42%,
      69% 85%,
      63% 45%,
      57% 95%,
      51% 40%,
      45% 90%,
      39% 45%,
      33% 100%,
      27% 40%,
      21% 85%,
      15% 45%,
      9% 95%,
      3% 45%,
      0 70%
    );
  }
}
footer {
  position: relative;
  border-top: 0;
  margin-top: 0;
}
footer:before {
  content: "";
  position: absolute;
  left: 245px;
  right: 0;
  bottom: calc(100% - 1px);
  height: 12px;
  background: #242628;
  clip-path: polygon(
    0 65%,
    3% 35%,
    7% 70%,
    11% 25%,
    15% 60%,
    19% 15%,
    23% 55%,
    27% 30%,
    31% 70%,
    35% 20%,
    39% 55%,
    43% 10%,
    47% 60%,
    51% 30%,
    55% 70%,
    59% 20%,
    63% 55%,
    67% 15%,
    71% 60%,
    75% 25%,
    79% 70%,
    83% 20%,
    87% 55%,
    91% 10%,
    95% 65%,
    100% 30%,
    100% 100%,
    0 100%
  );
  pointer-events: none;
}
@media (max-width: 1000px) {
  footer:before {
    left: 205px;
  }
}
@media (max-width: 760px) {
  footer:before {
    left: 0;
    height: 9px;
  }
}
.sidebar {
  --torn-side: polygon(
    0 0,
    58% 0,
    53% 8%,
    79% 10%,
    46% 14%,
    52% 31%,
    95% 35%,
    39% 39%,
    64% 43%,
    57% 58%,
    82% 61%,
    47% 63%,
    45% 77%,
    100% 81%,
    62% 86%,
    70% 93%,
    54% 100%,
    0 100%
  );
}
.sidebar:after {
  left: calc(100% - 1px);
  width: 27px;
  clip-path: var(--torn-side);
  background: linear-gradient(
    90deg,
    #242628 0%,
    #242628 55%,
    #303234 80%,
    #3b3c3d 100%
  );
  filter: none;
}
.sidebar:before {
  left: calc(100% + 4px);
  width: 29px;
  clip-path: var(--torn-side);
  background: #151719;
  opacity: 0.23;
  filter: blur(3px);
  transform: translateY(5px);
}
footer {
  --torn-top: polygon(
    0 69%,
    14% 68%,
    17% 52%,
    23% 67%,
    39% 64%,
    42% 75%,
    60% 70%,
    67% 57%,
    73% 66%,
    79% 13%,
    82% 27%,
    85% 9%,
    88% 48%,
    93% 59%,
    100% 56%,
    100% 100%,
    0 100%
  );
  z-index: 2;
}
footer:before {
  height: 19px;
  clip-path: var(--torn-top);
  background: linear-gradient(180deg, #444547 0%, #303234 34%, #242628 76%);
}
footer:after {
  content: "";
  position: absolute;
  left: 249px;
  right: 0;
  bottom: calc(100% + 2px);
  height: 19px;
  background: #151719;
  clip-path: var(--torn-top);
  opacity: 0.2;
  filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 1000px) {
  footer:after {
    left: 209px;
  }
}
@media (max-width: 760px) {
  .sidebar:before {
    display: none;
  }
  .sidebar:after {
    left: 0;
    top: calc(100% - 1px);
    width: 100%;
    height: 12px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 45%,
      89% 51%,
      82% 86%,
      78% 62%,
      70% 72%,
      51% 46%,
      44% 80%,
      39% 60%,
      24% 65%,
      18% 95%,
      14% 46%,
      0 58%
    );
    background: linear-gradient(180deg, #242628 35%, #343638 100%);
  }
  footer:before,
  footer:after {
    left: 0;
    height: 15px;
  }
  footer:after {
    left: 3px;
  }
}
