:root {
  --veloce-bg: #121519;
  --veloce-bg-deep: #0d1014;
  --veloce-surface: rgba(19, 23, 29, 0.72);
  --veloce-line-soft: rgba(217, 187, 121, 0.28);
  --veloce-text: #f1ece3;
  --veloce-text-strong: #fff8eb;
  --veloce-muted: #c8baa5;
  --veloce-muted-soft: #a99984;
  --veloce-brand: #d9bb79;
  --veloce-brand-strong: #f3dca5;
  --veloce-font-body: "Manrope", "Segoe UI", sans-serif;
  --veloce-font-display: "Oxanium", "Segoe UI", sans-serif;
  --veloce-mobile-nav-width: 275px;
  --veloce-mobile-header-row: 58px;
}

html,
body {
  background: var(--veloce-bg-deep);
  min-height: 100%;
  overflow-x: clip;
}

body,
input,
select,
textarea,
button {
  color: var(--veloce-text);
  font-family: var(--veloce-font-body);
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
}

a {
  color: var(--veloce-brand);
}

a:hover {
  color: var(--veloce-brand-strong) !important;
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--veloce-text-strong);
  font-family: var(--veloce-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

#header h1,
#header nav ul li a,
#header nav ul li span,
.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  font-family: var(--veloce-font-display);
}

#header h1 a,
.brand-lockup span {
  color: var(--veloce-text-strong);
  font-weight: 700;
}

#header nav ul li > a,
#header nav ul li > span {
  color: rgba(241, 236, 227, 0.84);
  font-size: 0.94em;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.brand-lockup img {
  width: 3.1em;
  height: 2.1em;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 10px rgba(217, 187, 121, 0.18));
}

.brand-lockup span {
  font-family: var(--veloce-font-display);
  letter-spacing: 0.03em;
  text-shadow: 0 0 24px rgba(217, 187, 121, 0.08);
}

#header {
  background: rgba(10, 12, 16, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0.35em 0 rgba(0, 0, 0, 0.34);
}

body.landing #header {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.86), rgba(10, 12, 16, 0.14));
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

#header nav ul li.active > a,
#header nav ul li.active > span {
  color: var(--veloce-brand);
}

#header nav ul li a.button,
#header nav ul li span.button,
.button.primary,
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary {
  background-image: linear-gradient(135deg, #f1d28b 0%, #d6b36b 100%);
  color: #17120b !important;
}

#header nav ul li a.button:hover,
#header nav ul li span.button:hover,
.button.primary:hover,
input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover {
  background-image: linear-gradient(135deg, #f5dca1 0%, #dfbf7c 100%);
  color: #17120b !important;
}

.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(217, 187, 121, 0.26),
    0 12px 28px rgba(0, 0, 0, 0.16);
  font-size: 0.95rem;
  font-weight: 700;
  height: auto;
  letter-spacing: 0.01em;
  line-height: 1.1;
  padding: 0.88rem 1.35rem;
  text-transform: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:active,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="button"]:hover,
input[type="button"]:active {
  box-shadow:
    inset 0 0 0 1px rgba(243, 220, 165, 0.48),
    0 16px 34px rgba(0, 0, 0, 0.2);
  color: inherit !important;
  transform: translateY(-1px);
}

.button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
  background-color: rgba(217, 187, 121, 0.14);
  transform: translateY(0);
}

#banner {
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-attachment: scroll !important;
  background-color: #17191e;
  background-image:
    linear-gradient(180deg, rgba(10, 12, 16, 0.62), rgba(10, 12, 16, 0.86)),
    radial-gradient(circle at top right, rgba(156, 201, 216, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(217, 187, 121, 0.18), transparent 26%),
    url("/landed/images/banner.jpg");
}

#banner:before {
  display: none;
}

#banner:after {
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 12, 16, 0.8), rgba(18, 21, 25, 0.84)),
    url("/landed/assets/css/images/overlay.png");
}

#banner:before,
#banner .content {
  position: relative;
  z-index: 2;
}

#banner .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.96fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(1120px, calc(100% - 4.5rem));
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(6.25rem, 10vh, 7.5rem) 0 clamp(4rem, 7vh, 5rem);
  text-align: left;
}

#banner .content header p,
header.major p,
header p,
p {
  color: var(--veloce-muted);
  font-weight: 500;
}

#banner .content header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 40rem;
}

.hero-copy-shell {
  min-height: 0;
}

#hero-kicker,
#hero-title,
#hero-description {
  will-change: opacity, height;
}

#hero-title {
  color: #f0dfb8;
  font-family: var(--veloce-font-display);
  font-size: clamp(2.7rem, 4.1vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.04;
  margin: 0 0 0.35em;
  min-height: 0;
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

#hero-description {
  color: var(--veloce-muted);
  font-size: 1.02rem;
  line-height: 1.62;
  margin: 0;
  min-height: 0;
  max-width: 31rem;
  text-wrap: pretty;
}

#banner .content .image {
  background:
    radial-gradient(circle at center, rgba(255, 246, 214, 0.08), transparent 68%),
    rgba(10, 12, 16, 0.24);
  box-shadow:
    0 0 0 1px rgba(217, 187, 121, 0.18),
    0 0 52px rgba(217, 187, 121, 0.12);
  padding: 1.1em;
}

#banner .content .image img {
  border-radius: 0;
}

#banner .content .image.hero-logo {
  width: 28em;
  height: 18.5em;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  margin-left: 0;
  overflow: visible;
  pointer-events: none;
}

#banner .content .image.hero-logo::before {
  display: none !important;
}

#hero-scatter-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero-scatter-scene canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#hero-logo-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 28em;
  min-height: 18.5em;
  border-radius: 0.85rem;
  background: transparent;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.34));
  isolation: isolate;
  overflow: visible;
}

#hero-logo-scene canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-panel-reveal {
  --panel-opacity: 0;
  --panel-scale: 0.96;
  --panel-glow: 0.24;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  height: min(90%, 18.25rem);
  aspect-ratio: 411 / 480;
  opacity: var(--panel-opacity);
  transform: translate(-50%, -50%) scale(calc(var(--panel-scale) * 1.3));
  pointer-events: none;
}

.hero-panel-reveal::before {
  display: none;
}

.hero-panel-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.95rem;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(217, 187, 121, 0.08);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1.1em;
  color: var(--veloce-brand-strong);
  font-family: var(--veloce-font-display);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(217, 187, 121, 0.14);
}

#banner header,
#banner .actions.stacked,
#banner .hero-logo {
  will-change: transform, opacity;
}

.actions.stacked {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85em;
  justify-content: flex-start;
  margin-top: 1.1em;
}

.actions.stacked li {
  padding: 0 !important;
}

.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#banner .actions.stacked {
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
}

#banner .actions.stacked li {
  width: auto;
}

#header nav ul li {
  margin-left: 0.7em;
}

#header nav ul li a.button,
#header nav ul li span.button {
  background: rgba(217, 187, 121, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(217, 187, 121, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.12);
  color: var(--veloce-brand-strong) !important;
  height: auto;
  line-height: 1.1;
  padding: 0.74rem 1.12rem;
}

#header nav ul li a.button:hover,
#header nav ul li span.button:hover {
  background: rgba(217, 187, 121, 0.13);
  color: var(--veloce-text-strong) !important;
}

#banner .actions.stacked .button.primary {
  min-width: 12.75rem;
  border-radius: 10px;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 980px) {
  .hero-copy-shell,
  #hero-title,
  #hero-description {
    min-height: 0;
  }

  #banner {
    display: block;
  }

  #banner .content {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, calc(100% - 2.5rem));
    padding-top: 5.75rem;
    padding-bottom: 4.5rem;
    text-align: center;
  }

  #banner .content header {
    align-items: center;
    max-width: 42rem;
  }

  #banner .content .image.hero-logo {
    width: 22em;
    height: 14.75em;
    justify-self: center;
  }

  #hero-logo-scene {
    min-width: 22em;
    min-height: 14.75em;
  }

  .hero-panel-reveal {
    height: min(84%, 15rem);
  }
}

@media screen and (max-width: 980px) {
  #banner {
    background-attachment: scroll;
  }

  .actions.stacked {
    justify-content: center;
  }

  #banner .content {
    gap: 2.25em;
  }

  #banner .content .image {
    padding: 1.2em;
  }
}

@media screen and (max-width: 736px) {
  html {
    scroll-padding-top: calc(var(--veloce-mobile-header-row) + env(safe-area-inset-top, 0px) + 0.75rem);
  }

  body {
    overflow-x: clip;
  }

  #page-wrapper {
    min-height: 100vh;
    min-height: 100lvh;
    overflow-x: clip;
    padding-top: 0 !important;
    background: #17191e;
  }

  #titleBar,
  #navPanel {
    display: none !important;
  }

  #page-wrapper,
  #titleBar,
  #navPanel,
  body.navPanel-visible #page-wrapper,
  body.navPanel-visible #titleBar,
  body.navPanel-visible #navPanel {
    -moz-transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
  }

  body.landing #header,
  #header {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: calc(var(--veloce-mobile-header-row) + env(safe-area-inset-top, 0px));
    line-height: normal;
    padding: env(safe-area-inset-top, 0px) 1rem 0;
    position: fixed;
    inset: 0 0 auto 0;
    background: linear-gradient(180deg, rgba(9, 11, 15, 0.94), rgba(9, 11, 15, 0.82));
    backdrop-filter: blur(14px);
    box-shadow:
      0 1px 0 rgba(217, 187, 121, 0.12),
      0 10px 30px rgba(0, 0, 0, 0.24);
    z-index: 1000;
  }

  #header h1,
  #logo {
    position: static;
    left: auto;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--veloce-mobile-header-row);
    line-height: normal;
    margin: 0;
  }

  #header nav {
    display: none !important;
  }

  .brand-lockup {
    justify-content: center;
    gap: 0.6rem;
  }

  .brand-lockup img {
    width: 2.35rem;
    height: 1.5rem;
  }

  .brand-lockup span {
    font-size: 0.94rem;
    letter-spacing: 0.02em;
  }

  #banner .content {
    align-content: center;
    box-sizing: border-box;
    gap: 2rem;
    grid-auto-rows: min-content;
    justify-items: center;
    min-height: 100vh;
    min-height: 100lvh;
    width: min(100%, calc(100% - 1.75rem));
    padding-top: calc(var(--veloce-mobile-header-row) + env(safe-area-inset-top, 0px) + 1rem);
    padding-bottom: max(2.2rem, calc(1.45rem + env(safe-area-inset-bottom, 0px)));
  }

  #banner {
    min-height: 100vh;
    min-height: 100lvh;
    scroll-margin-top: calc(var(--veloce-mobile-header-row) + env(safe-area-inset-top, 0px) + 0.75rem);
  }

  #banner:before {
    height: 100vh;
    height: 100lvh;
  }

  #banner:after {
    inset: 0;
    height: auto;
  }

  #banner .content header {
    display: grid;
    gap: 0.95rem;
    max-width: 100%;
    justify-items: center;
  }

  #banner .content header h2 {
    font-size: 2.15em;
    margin-bottom: 0;
    max-width: 10ch;
  }

  #banner .content header h2 {
    line-height: 1.15;
  }

  #banner .content header p {
    font-size: 0.98em;
    line-height: 1.56;
  }

  #banner .content header p {
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kicker {
    margin-bottom: 0;
    font-size: 0.66em;
    letter-spacing: 0.24em;
  }

  .brand-lockup span {
    font-size: 0.92em;
  }

  .brand-lockup img {
    width: 2.4em;
    height: 1.7em;
  }

  #banner .content .image.hero-logo {
    width: min(100%, 18.75em);
    height: auto;
    aspect-ratio: 28 / 18.5;
    margin-top: 0.15rem;
  }

  #hero-logo-scene {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
  }

  #banner .actions.stacked {
    justify-content: center;
    gap: 0.7em;
    margin-top: 0.1rem;
    width: 100%;
  }

  #banner .actions.stacked li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #banner .actions.stacked li .button {
    width: min(100%, 21rem);
  }
}

@media screen and (max-width: 560px) {
  #banner .actions.stacked {
    flex-direction: column !important;
    width: 100%;
    align-items: stretch;
  }

  #banner .content {
    width: min(100%, calc(100% - 1.5rem));
    gap: 1.3rem;
    padding-top: calc(var(--veloce-mobile-header-row) + env(safe-area-inset-top, 0px) + 0.7rem);
    padding-bottom: max(1.8rem, calc(1.35rem + env(safe-area-inset-bottom, 0px)));
  }

  #banner .content header h2 {
    font-size: 1.82em;
  }

  #banner .content header p {
    font-size: 0.95em;
    line-height: 1.52;
    max-width: 30ch;
  }

  #banner .content .image.hero-logo {
    width: min(100%, 17.35em);
    height: auto;
    aspect-ratio: 17 / 11.5;
  }

  #hero-logo-scene {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
  }

  #banner .actions.stacked li {
    width: 100%;
  }

  #banner .actions.stacked li .button {
    width: 100%;
  }
}
