:root {
  --tone-base: #222831;
  --tone-mid: #393e46;
  --tone-accent: #ffd369;
  --tone-light: #eeeeee;
  --tone-glass: rgba(34, 40, 49, 0.74);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Manrope", sans-serif;
  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-md: 1rem;
  --size-lg: 1.25rem;
  --size-xl: 1.75rem;
  --size-xxl: 2.5rem;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.4rem;
  --space-xl: 2rem;
  --space-xxl: 3.5rem;
  --curve-sm: 0.6rem;
  --curve-md: 1rem;
  --curve-lg: 1.4rem;
  --shadow-soft: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.2);
  --shadow-hard: 0 0.8rem 2rem rgba(0, 0, 0, 0.3);
  --move-fast: 220ms ease;
  --move-med: 380ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--tone-light);
  background: radial-gradient(circle at 10% 0%, #4f5a67 0%, var(--tone-base) 40%) fixed;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  line-height: 1.45;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--curve-md);
}

a {
  color: inherit;
  text-decoration: none;
}

.nova-shell {
  width: min(92%, 74rem);
  margin: 0 auto;
}

.nova-head {
  border-bottom: 0.06rem solid rgba(255, 255, 255, 0.16);
  background: rgba(34, 40, 49, 0.9);
}

.nova-head-wrap {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nova-head-logo {
  font-family: var(--font-display);
  font-size: var(--size-lg);
  color: var(--tone-accent);
}

.nova-head-menu {
  display: none;
  background: transparent;
  border: 0.08rem solid rgba(238, 238, 238, 0.6);
  color: var(--tone-light);
  border-radius: var(--curve-sm);
  padding: 0.38rem 0.7rem;
  font-size: var(--size-md);
  cursor: pointer;
}

.nova-top {
  margin: var(--space-md) auto 0;
  width: min(96%, 78rem);
  backdrop-filter: blur(0.4rem);
  border: 0.06rem solid rgba(255, 255, 255, 0.16);
  background: var(--tone-glass);
  border-radius: 2rem;
  padding: var(--space-sm) var(--space-md);
  position: relative;
  z-index: 9;
}

.nova-ridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nova-mark {
  font-family: var(--font-display);
  font-size: var(--size-lg);
  color: var(--tone-accent);
}

.nova-menu-btn {
  background: transparent;
  border: 0.08rem solid rgba(238, 238, 238, 0.6);
  color: var(--tone-light);
  border-radius: 999rem;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--size-xs);
  cursor: pointer;
  transition: transform var(--move-fast), border-color var(--move-fast);
}

.nova-menu-btn:hover {
  border-color: var(--tone-accent);
  transform: translateY(-0.08rem);
}

.nova-nav {
  margin-top: 0;
  margin-left: auto;
}

.nova-nav[data-open="true"] {
  margin-top: 0;
}

.nova-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: flex-end;
}

.nova-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--curve-sm);
  background: rgba(255, 255, 255, 0.06);
}

.nova-list a:hover {
  background: rgba(255, 211, 105, 0.18);
}

main {
  padding-bottom: var(--space-xxl);
}

section {
  margin-top: var(--space-xl);
}

.nova-hero {
  position: relative;
  min-height: 28rem;
  border-radius: var(--curve-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(34, 40, 49, 0.94), rgba(57, 62, 70, 0.86));
  box-shadow: var(--shadow-hard);
}

.nova-canvas {
  width: 100%;
  height: 100%;
  min-height: 28rem;
}

.nova-hero-copy {
  position: absolute;
  inset: auto auto 8% 5%;
  width: min(90%, 32rem);
  background: rgba(34, 40, 49, 0.72);
  border: 0.06rem solid rgba(255, 255, 255, 0.2);
  border-radius: var(--curve-md);
  padding: var(--space-md);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin: 0 0 var(--space-sm);
}

.nova-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--tone-accent);
  color: var(--tone-base);
  border: none;
  border-radius: 999rem;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: var(--size-xs);
  cursor: pointer;
}

.nova-patch {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.nova-card {
  flex: 1 1 15rem;
  background: rgba(57, 62, 70, 0.75);
  border: 0.06rem solid rgba(255, 255, 255, 0.1);
  border-radius: var(--curve-md);
  padding: var(--space-md);
  transform: translateY(0);
  transition: transform var(--move-fast), box-shadow var(--move-fast);
  min-width: 0;
}

.nova-card:hover {
  transform: translateY(-0.3rem);
  box-shadow: var(--shadow-soft);
}

.nova-tilt {
  transform: rotate(-1.1deg);
}

.nova-tilt-alt {
  transform: rotate(1.4deg);
}

.nova-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-md);
  align-items: center;
}

.nova-photo {
  border-radius: var(--curve-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.nova-flow {
  display: grid;
  gap: var(--space-md);
}

.nova-asym {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: start;
}

.nova-angled {
  padding: var(--space-lg);
  clip-path: polygon(0 8%, 100% 0, 96% 100%, 4% 92%);
  background: rgba(255, 211, 105, 0.12);
  border: 0.06rem solid rgba(255, 211, 105, 0.4);
}

.nova-map {
  width: 100%;
  height: 17rem;
  border: 0;
  border-radius: var(--curve-md);
}

.nova-form {
  display: grid;
  gap: var(--space-sm);
  background: rgba(34, 40, 49, 0.7);
  border-radius: var(--curve-md);
  padding: var(--space-md);
  border: 0.06rem solid rgba(255, 255, 255, 0.15);
}

.nova-form input,
.nova-form textarea {
  width: 100%;
  background: rgba(238, 238, 238, 0.95);
  border: 0.06rem solid rgba(57, 62, 70, 0.4);
  border-radius: var(--curve-sm);
  padding: var(--space-xs);
  font: inherit;
  color: var(--tone-base);
  min-width: 0;
}

.nova-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.nova-policy {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nova-foot {
  width: min(92%, 74rem);
  margin: var(--space-xl) auto var(--space-md);
  padding: var(--space-sm);
  border-top: 0.06rem solid rgba(238, 238, 238, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--size-xs);
}

.nova-pop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(92%, 22rem);
  background: rgba(34, 40, 49, 0.96);
  border: 0.06rem solid rgba(255, 211, 105, 0.5);
  border-radius: var(--curve-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-hard);
  z-index: 20;
}

.nova-hide {
  display: none;
}

.nova-mini {
  font-size: var(--size-xs);
}

.nova-thanks,
.nova-lost {
  min-height: 64vh;
  display: grid;
  place-items: center;
}

@media (max-width: 75rem) {
  .nova-shell {
    width: min(94%, 70rem);
  }
  .nova-hero {
    min-height: 24rem;
  }
  .nova-canvas {
    min-height: 24rem;
  }
}

@media (max-width: 62rem) {
  .nova-top {
    width: min(95%, 64rem);
  }
  .nova-head-wrap {
    gap: var(--space-sm);
  }
  .nova-head-logo {
    font-size: var(--size-md);
  }
  .nova-hero-copy {
    width: min(88%, 28rem);
  }
}

@media (max-width: 56rem) {
  .nova-head-wrap {
    min-height: 3.5rem;
  }
  .nova-head-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 35;
  }
  .nova-nav {
    display: none;
    margin-top: 0;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(34, 40, 49, 0.97);
    z-index: 30;
    padding: 5rem 1rem 1.2rem;
    overflow: auto;
  }
  .nova-nav[data-open="true"] {
    display: block;
  }
  .nova-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .nova-list li {
    width: 100%;
  }
  .nova-list a {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: var(--size-md);
  }
  .nova-menu-btn {
    position: relative;
    z-index: 35;
  }
  .nova-split,
  .nova-asym {
    grid-template-columns: 1fr;
  }
  .nova-tilt,
  .nova-tilt-alt {
    transform: rotate(0deg);
  }
  .nova-hero {
    min-height: 22rem;
  }
  .nova-canvas {
    min-height: 22rem;
  }
  .nova-pop {
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

@media (max-width: 48rem) {
  .nova-ridge {
    gap: var(--space-sm);
  }
  .nova-mark {
    font-size: var(--size-md);
  }
  .nova-menu-btn {
    padding: 0.45rem 0.85rem;
  }
  .nova-card {
    flex-basis: 100%;
  }
  .nova-map {
    height: 14rem;
  }
  .nova-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 36rem) {
  :root {
    --space-lg: 1.1rem;
    --space-xl: 1.5rem;
    --space-xxl: 2.4rem;
  }
  .nova-top {
    border-radius: 1.3rem;
    padding: var(--space-xs) var(--space-sm);
  }
  .nova-head-wrap {
    min-height: 3.25rem;
  }
  .nova-head-menu {
    padding: 0.32rem 0.6rem;
  }
  .nova-hero-copy {
    left: 4%;
    right: 4%;
    width: auto;
    bottom: 6%;
    padding: var(--space-sm);
  }
  .nova-hero {
    min-height: 20rem;
  }
  .nova-canvas {
    min-height: 20rem;
  }
  .nova-angled {
    clip-path: none;
    border-radius: var(--curve-md);
  }
  .nova-map {
    height: 12.5rem;
  }
}

@media (max-width: 30rem) {
  :root {
    --size-xs: 0.72rem;
    --size-sm: 0.8rem;
    --size-md: 0.92rem;
  }
  .nova-shell {
    width: 95%;
  }
  .nova-top {
    width: 95%;
    margin-top: 0.7rem;
  }
  .nova-head-logo {
    font-size: 0.98rem;
  }
  .nova-button {
    width: 100%;
    justify-content: center;
  }
  .nova-policy {
    align-items: flex-start;
  }
  .nova-pop {
    width: calc(100% - 1rem);
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

@media (max-width: 32rem) {
  :root {
    --size-xs: 0.7rem;
    --size-sm: 0.82rem;
  }
}

@media (max-width: 25rem) {
  .nova-head-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
  }
  .nova-head-logo,
  .nova-head-menu {
    width: 100%;
    text-align: center;
  }
  .nova-ridge {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nova-mark,
  .nova-menu-btn {
    width: 100%;
    text-align: center;
  }
  .nova-menu-btn {
    border-radius: var(--curve-sm);
  }
  .nova-nav[data-open="true"] {
    max-height: 24rem;
  }
  .nova-form {
    padding: var(--space-sm);
  }
}

@media (max-width: 20rem) {
  :root {
    --size-xs: 0.68rem;
    --size-sm: 0.76rem;
    --space-xs: 0.3rem;
    --space-sm: 0.5rem;
  }
  .nova-shell,
  .nova-top,
  .nova-foot {
    width: 96%;
  }
  .nova-head-logo {
    font-size: 0.9rem;
  }
  .nova-head-menu {
    font-size: 0.82rem;
  }
  .nova-hero {
    min-height: 18rem;
  }
  .nova-canvas {
    min-height: 18rem;
  }
  .nova-map {
    height: 10.5rem;
  }
}
