:root {
  --bg-main: #040D12;
  --bg-soft: #183D3D;
  --tone-main: #5C8374;
  --tone-soft: #93B1A6;
  --text-light: #eaf4f0;
  --text-muted: #b9cdc5;
  --space-xs: 0.4rem;
  --space-sm: 0.65rem;
  --space-md: 1rem;
  --space-lg: 1.6rem;
  --space-xl: 2.4rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
  --shadow-soft: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);
  --shadow-bold: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.35);
  --line-tight: 1.35;
  --line-relaxed: 1.6;
  --motion-fast: 220ms ease;
  --motion-slow: 520ms ease;
  --max-wrap: 72rem;
  --angle-a: -2.8deg;
  --angle-b: 3.1deg;
}
* { box-sizing: border-box; }
html {
  font-size: clamp(14px, 0.85vw + 11px, 16px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  line-height: var(--line-relaxed);
  background: radial-gradient(circle at 15% 0%, #1e4b4b 0%, var(--bg-main) 38%);
  color: var(--text-light);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
.page-shell {
  width: min(100% - clamp(0.9rem, 2.5vw, 2rem), var(--max-wrap));
  margin: 0 auto;
}
.header-orbit {
  width: min(100% - clamp(0.6rem, 2vw, 1.3rem), 54rem);
  margin: clamp(0.45rem, 1.7vw, 0.8rem) auto;
  background: rgba(4, 13, 18, 0.92);
  border: 0.08rem solid rgba(147, 177, 166, 0.26);
  border-radius: 999rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.32rem, 1.4vw, 0.45rem) clamp(0.45rem, 1.8vw, 0.8rem);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(0.45rem);
  position: relative;
  z-index: 11;
}
.logo-wordmark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(0.84rem, 1.35vw, 1rem);
  letter-spacing: 0.08rem;
  color: var(--tone-soft);
}
.menu-chord {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.menu-chord a {
  font-size: clamp(0.72rem, 0.95vw, 0.8rem);
  padding: clamp(0.24rem, 1vw, 0.3rem) clamp(0.42rem, 1.4vw, 0.6rem);
  border-radius: 99rem;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.menu-chord a:hover,
.menu-chord a:focus-visible { background: var(--tone-main); color: var(--bg-main); }
.burger-wave {
  display: none;
  border: 0.08rem solid rgba(147, 177, 166, 0.36);
  background: var(--bg-soft);
  color: var(--tone-soft);
  border-radius: 0.7rem;
  min-width: 2.6rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  cursor: pointer;
}
.burger-line {
  width: 1.15rem;
  height: 0.12rem;
  border-radius: 99rem;
  background: var(--tone-soft);
  transition: transform var(--motion-fast), opacity var(--motion-fast);
}
.burger-wave.active .burger-line:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}
.burger-wave.active .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-wave.active .burger-line:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}
.hero-morph {
  position: relative;
  min-height: clamp(24rem, 64vh, 40rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 0.08rem solid rgba(147, 177, 166, 0.24);
  background: linear-gradient(130deg, rgba(24, 61, 61, 0.95) 0%, rgba(4, 13, 18, 0.95) 78%);
}
#pulse-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.8rem);
  display: grid;
  gap: var(--space-md);
  max-width: min(34rem, 100%);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: var(--line-tight);
  margin: 0;
}
h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.9vw, 2.1rem); }
h3 { font-size: clamp(1rem, 2vw, 1.1rem); }
p { margin: 15px 0; color: var(--text-muted); }
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.btn-spark {
  font-size: clamp(0.76rem, 1vw, 0.84rem);
  padding: clamp(0.45rem, 1.2vw, 0.55rem) clamp(0.7rem, 1.9vw, 0.95rem);
  border-radius: 99rem;
  border: 0.08rem solid transparent;
  transition: transform var(--motion-fast), border var(--motion-fast), background var(--motion-fast);
  margin: 15px 0;
}
.btn-main { background: var(--tone-soft); color: var(--bg-main); }
.btn-alt { border-color: rgba(147, 177, 166, 0.5); color: var(--tone-soft); }
.btn-spark:hover { transform: translateY(-0.08rem); }
.section-flow {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-xl);
}
.block-glide {
  background: rgba(24, 61, 61, 0.55);
  border: 0.08rem solid rgba(147, 177, 166, 0.24);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  box-shadow: var(--shadow-soft);
}
.photo-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.photo-triad figure,
.drift-layout figure { margin: 0; }
.photo-triad img,
.drift-layout img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  width: 100%;
  height: clamp(9rem, 24vw, 13rem);
}
.stat-wave {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.stat-wave article {
  flex: 1 1 9rem;
  min-width: 0;
  border: 0.08rem solid rgba(147, 177, 166, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}
.drift-layout {
  position: relative;
  display: grid;
  gap: 0;
}
.drift-layout .layer-one {
  width: 72%;
  transform: rotate(var(--angle-a));
  z-index: 3;
}
.drift-layout .layer-two {
  width: 56%;
  margin-left: auto;
  margin-top: -2.6rem;
  transform: rotate(var(--angle-b));
  z-index: 2;
}
.drift-layout .layer-three {
  width: 64%;
  margin-top: -2.1rem;
  transform: translateX(12%) rotate(-1.6deg);
  z-index: 1;
}
.product-ribbon {
  display: grid;
  gap: var(--space-sm);
}
.product-ribbon article {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  align-items: flex-start;
  border: 0.08rem solid rgba(147, 177, 166, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  flex-wrap: wrap;
}
.product-ribbon article strong { white-space: nowrap; }
.contact-crescent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.contact-crescent form {
  display: grid;
  gap: var(--space-sm);
}
label { display: grid; gap: 0.28rem; font-size: 0.8rem; color: var(--tone-soft);text-align: center; }
input, textarea {
  width: 100%;
  border: 0.08rem solid rgba(147, 177, 166, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(4, 13, 18, 0.74);
  color: var(--text-light);
  padding: clamp(0.5rem, 1.1vw, 0.55rem);
  font: inherit;
}
textarea { min-height: 7rem; resize: vertical; }
.map-frame { width: 100%; min-height: clamp(12rem, 34vw, 17rem); border: 0; border-radius: var(--radius-sm); }
.footer-mini {
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.policy-pop {
  position: fixed;
  bottom: 0.8rem;
  right: 0.8rem;
  max-width: 19rem;
  border-radius: var(--radius-sm);
  border: 0.08rem solid rgba(147, 177, 166, 0.35);
  background: rgba(4, 13, 18, 0.96);
  padding: 0.85rem;
  display: none;
  z-index: 22;
}
.policy-pop.show { display: grid; gap: 0.45rem; }
.policy-pop button {
  justify-self: start;
  border: none;
  background: var(--tone-soft);
  color: var(--bg-main);
  border-radius: 99rem;
  padding: 0.4rem 0.75rem;
}
@media (max-width: 58rem) {
  .photo-triad { grid-template-columns: 1fr 1fr; }
  .contact-crescent { grid-template-columns: 1fr; }
  .hero-morph { min-height: 56vh; }
  .section-flow { margin-top: 1.8rem; }
}
@media (max-width: 44rem) {
  .burger-wave { display: inline-flex; position: relative; z-index: 12; }
  .menu-chord {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100vw;
    min-height: 100dvh;
    background: rgba(4, 13, 18, 0.96);
    border: none;
    border-radius: 0;
    padding: 1.2rem;
    z-index: 10;
    gap: 0.9rem;
  }
  .menu-chord a { font-size: 1rem; width: min(22rem, 92vw); text-align: center; }
  .menu-chord.active { display: flex; }
  .photo-triad { grid-template-columns: 1fr; }
  .product-ribbon article { flex-direction: column; }
  .policy-pop {
    left: 0.65rem;
    right: 0.65rem;
    max-width: none;
  }
  .drift-layout .layer-one,
  .drift-layout .layer-two,
  .drift-layout .layer-three {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
    transform: none;
  }
}
@media (max-width: 36rem) {
  .section-flow { gap: 1.3rem; }
  .block-glide { padding: 0.9rem; }
  .stat-wave article { flex-basis: 100%; }
  .footer-mini p { overflow-wrap: anywhere; }
}
@media (max-width: 30rem) {
  .header-orbit { border-radius: 1rem; }
  .hero-morph { min-height: 50vh; }
  .cta-strip a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 24rem) {
  .hero-copy { padding: 0.9rem; }
  .contact-crescent form,
  .contact-crescent div { min-width: 0; }
  .menu-chord a { font-size: 0.95rem; }
}
@media (max-width: 20rem) {
  body { font-size: 0.875rem; }
  .page-shell { width: calc(100% - 0.7rem); }
  .header-orbit { width: calc(100% - 0.5rem); }
  .logo-wordmark { letter-spacing: 0.04rem; }
  .btn-spark { padding-inline: 0.62rem; }
  .menu-chord { padding: 0.9rem; }
  .menu-chord a { width: 100%; font-size: 0.9rem; }
  .map-frame { min-height: 11rem; }
  .policy-pop { left: 0.35rem; right: 0.35rem; bottom: 0.35rem; }
}
@media (min-width: 75rem) {
  .section-flow { gap: 2.8rem; }
  .hero-copy { max-width: 38rem; }
}
@media (min-width: 100rem) {
  html { font-size: 17px; }
  .page-shell { width: min(100% - 4rem, 90rem); }
  .header-orbit { width: min(100% - 4rem, 64rem); }
}
