:root {
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.74);
  --dark: #071017;
  --panel: rgba(8, 17, 24, 0.62);
  --panel-strong: rgba(7, 14, 19, 0.82);
  --line: rgba(255, 255, 255, 0.18);
  --blue: #2d8cff;
  --cyan: #48d7ff;
  --gold: #e9b66c;
  --earth: #9f7146;
  --green: #7fb67b;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 60;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  box-shadow: 0 0 20px rgba(72, 215, 255, 0.6);
}

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 11, 16, 0.66);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-header > * {
  min-width: 0;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  color: #041016;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(72, 215, 255, 0.18);
}

.brand-mark img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 8px 12px;
  border-radius: 7px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 128px clamp(18px, 5vw, 72px) 72px;
  perspective: 1300px;
  scroll-snap-align: start;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 110%, rgba(72, 215, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 12, 0.86), transparent 28%, transparent 66%, rgba(3, 8, 12, 0.88));
  opacity: 0.82;
  transform: translateY(0);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.scene.is-active::after {
  opacity: 0.38;
  transform: translateY(8%);
}

.scene.is-past::after {
  opacity: 0.68;
  transform: translateY(-8%);
}

.hero {
  min-height: 100svh;
}

.scene-bg {
  position: absolute;
  inset: -3%;
  z-index: -4;
  width: 106%;
  height: 106%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.88);
  opacity: 0.78;
  transform: translate3d(var(--bg-x, 0), var(--bg-y, 0), 0) scale(var(--scene-scale, 1.1));
  transition:
    filter 1000ms ease,
    opacity 1000ms ease,
    transform 1000ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.scene.is-active .scene-bg {
  --scene-scale: 1.02;
  filter: saturate(1.04) contrast(1.02) brightness(1);
  opacity: 1;
}

.scene.is-past .scene-bg {
  --scene-scale: 1.06;
  opacity: 0.74;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 34%, rgba(72, 215, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(3, 8, 12, 0.88), rgba(3, 8, 12, 0.38) 48%, rgba(3, 8, 12, 0.64)),
    linear-gradient(0deg, rgba(3, 8, 12, 0.82), transparent 40%, rgba(3, 8, 12, 0.35));
}

.scene-shade.light {
  background:
    linear-gradient(90deg, rgba(20, 14, 8, 0.70), rgba(20, 14, 8, 0.20) 58%, rgba(20, 14, 8, 0.42)),
    linear-gradient(0deg, rgba(20, 14, 8, 0.62), transparent 50%);
}

.scene-warm .scene-shade {
  background:
    radial-gradient(circle at 18% 24%, rgba(233, 182, 108, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(14, 10, 7, 0.80), rgba(14, 10, 7, 0.34) 55%, rgba(14, 10, 7, 0.55)),
    linear-gradient(0deg, rgba(14, 10, 7, 0.78), transparent 48%);
}

.scene-earth .scene-shade {
  background:
    radial-gradient(circle at 16% 30%, rgba(233, 182, 108, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(19, 12, 6, 0.78), rgba(19, 12, 6, 0.30) 54%, rgba(19, 12, 6, 0.62)),
    linear-gradient(0deg, rgba(19, 12, 6, 0.72), transparent 45%);
}

.scene-city .scene-shade {
  background:
    radial-gradient(circle at 30% 18%, rgba(233, 182, 108, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(4, 9, 13, 0.82), rgba(4, 9, 13, 0.28) 54%, rgba(4, 9, 13, 0.60)),
    linear-gradient(0deg, rgba(4, 9, 13, 0.76), transparent 48%);
}

.hero-content,
.scene-copy,
.section-heading,
.contact-copy {
  max-width: 660px;
}

.hero-content {
  transform-style: preserve-3d;
}

.hero-content > *,
.scene-copy > *,
.scene-panel span,
.ops-stack span,
.floating-board span,
.hobby-cards span,
.trail-tags span,
.route-line span,
.food-wheel span {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.scene.is-active .hero-content > *,
.scene.is-active .scene-copy > *,
.scene.is-active .scene-panel span,
.scene.is-active .ops-stack span,
.scene.is-active .floating-board span,
.scene.is-active .hobby-cards span,
.scene.is-active .trail-tags span,
.scene.is-active .route-line span,
.scene.is-active .food-wheel span {
  opacity: 1;
  transform: translateY(0);
}

.scene.is-active .hero-content > :nth-child(2),
.scene.is-active .scene-copy > :nth-child(2),
.scene.is-active .scene-panel span:nth-child(2),
.scene.is-active .ops-stack span:nth-child(2),
.scene.is-active .floating-board span:nth-child(2),
.scene.is-active .hobby-cards span:nth-child(2),
.scene.is-active .trail-tags span:nth-child(2),
.scene.is-active .route-line span:nth-child(2),
.scene.is-active .food-wheel span:nth-child(2) {
  transition-delay: 90ms;
}

.scene.is-active .hero-content > :nth-child(3),
.scene.is-active .scene-copy > :nth-child(3),
.scene.is-active .scene-panel span:nth-child(3),
.scene.is-active .ops-stack span:nth-child(3),
.scene.is-active .floating-board span:nth-child(3),
.scene.is-active .hobby-cards span:nth-child(3),
.scene.is-active .trail-tags span:nth-child(3),
.scene.is-active .route-line span:nth-child(3),
.scene.is-active .food-wheel span:nth-child(3) {
  transition-delay: 180ms;
}

.scene.is-active .hero-content > :nth-child(4),
.scene.is-active .scene-copy > :nth-child(4),
.scene.is-active .scene-panel span:nth-child(4),
.scene.is-active .ops-stack span:nth-child(4),
.scene.is-active .floating-board span:nth-child(4),
.scene.is-active .hobby-cards span:nth-child(4),
.scene.is-active .trail-tags span:nth-child(4),
.scene.is-active .route-line span:nth-child(4),
.scene.is-active .food-wheel span:nth-child(4) {
  transition-delay: 270ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-content p,
.scene-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), #ffffff);
  box-shadow: 0 14px 34px rgba(72, 215, 255, 0.24);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(18px);
}

.glass.warm {
  background: rgba(21, 14, 9, 0.62);
}

.scene-panel {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: clamp(24px, 7vw, 100px);
  display: grid;
  width: min(440px, calc(100% - 36px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  transform: rotateY(-10deg) rotateX(5deg);
}

.scene-panel span,
.ops-stack span,
.floating-board span,
.hobby-cards span,
.trail-tags span,
.route-line span,
.food-wheel span,
.contact-meta span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 800;
}

.scene-panel span {
  padding: 12px 14px;
}

.orb {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.6;
}

.orb-one {
  right: 18%;
  top: 20%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(72, 215, 255, 0.46);
  box-shadow: inset 0 0 60px rgba(72, 215, 255, 0.16), 0 0 80px rgba(72, 215, 255, 0.14);
}

.orb-two {
  left: 8%;
  bottom: 14%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(233, 182, 108, 0.38);
  box-shadow: inset 0 0 40px rgba(233, 182, 108, 0.18);
}

.split {
  grid-template-columns: minmax(0, var(--max));
}

.scene-copy {
  padding: clamp(22px, 3vw, 34px);
}

.ops-stack,
.floating-board,
.hobby-cards,
.trail-tags,
.route-line,
.food-wheel {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  transform-style: preserve-3d;
}

.ops-stack {
  right: clamp(18px, 6vw, 90px);
  bottom: 10vh;
  width: min(380px, calc(100% - 36px));
}

.ops-stack span,
.floating-board span,
.hobby-cards span,
.trail-tags span,
.route-line span,
.food-wheel span {
  padding: 10px 13px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.floating-board {
  right: clamp(18px, 7vw, 110px);
  top: 22vh;
  width: min(360px, calc(100% - 36px));
  transform: rotateY(-14deg);
}

.hobby-cards {
  right: clamp(18px, 7vw, 110px);
  bottom: 12vh;
  width: min(420px, calc(100% - 36px));
}

.trail-tags {
  right: clamp(18px, 6vw, 90px);
  bottom: 12vh;
  width: min(390px, calc(100% - 36px));
}

.route-line {
  right: clamp(18px, 6vw, 90px);
  top: 18vh;
  width: min(420px, calc(100% - 36px));
}

.food-wheel {
  right: clamp(18px, 6vw, 90px);
  bottom: 10vh;
  width: min(470px, calc(100% - 36px));
}

.services,
.contact {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 14% 20%, rgba(72, 215, 255, 0.12), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(233, 182, 108, 0.10), transparent 32%),
    #081018;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.service-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  transform: translateY(28px);
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease, border-color 200ms ease;
}

.service-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(72, 215, 255, 0.52);
  transform: translateY(-4px) rotateX(2deg);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--cyan);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.contact-copy {
  justify-self: end;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.contact-meta span {
  padding: 9px 11px;
}

.social-block {
  margin-top: 34px;
}

.social-block h3 {
  margin-bottom: 14px;
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(72, 215, 255, 0.58);
  background: rgba(72, 215, 255, 0.12);
  color: #ffffff;
}

.social-links span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--cyan), #ffffff);
  color: #041016;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 720px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(248, 251, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: 0;
  padding: 12px 13px;
}

select option {
  color: #071017;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(72, 215, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(72, 215, 255, 0.14);
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.88rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050a0f;
  color: rgba(248, 251, 255, 0.72);
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

@media (max-width: 900px) {
  .site-header {
    inset: 10px 10px auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  nav {
    order: 2;
    width: 100%;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  nav::-webkit-scrollbar {
    height: 0;
  }

  nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .scene {
    min-height: 100svh;
    align-content: end;
    align-items: end;
    gap: 16px;
    padding: 124px 18px 42px;
  }

  .scene-bg {
    object-position: 58% center;
  }

  .hero-content,
  .scene-copy {
    max-width: 100%;
  }

  .scene-panel,
  .ops-stack,
  .floating-board,
  .hobby-cards,
  .trail-tags,
  .route-line,
  .food-wheel {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
    transform: none;
    z-index: 1;
  }

  .scene-panel {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 12px;
  }

  .contact-copy {
    justify-self: start;
  }

  .contact-form {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: stretch;
    padding: 9px;
  }

  .brand {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 2.55rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.15rem);
    line-height: 1.04;
  }

  .scene {
    min-height: 100svh;
    padding: 142px 16px 36px;
  }

  .scene-bg {
    inset: -1%;
    width: 102%;
    height: 102%;
    object-position: 62% center;
    transform: none;
  }

  .hero-content p,
  .scene-copy p,
  .section-heading p,
  .contact-copy p {
    font-size: 1rem;
  }

  .scene-copy {
    padding: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .scene-panel {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .services,
  .contact {
    padding: 58px 16px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 28px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  nav {
    gap: 2px;
  }

  nav a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .scene {
    padding-inline: 14px;
  }

  .scene-panel,
  .ops-stack,
  .floating-board,
  .hobby-cards,
  .trail-tags,
  .route-line,
  .food-wheel,
  .contact-meta,
  .social-links {
    gap: 8px;
  }

  .scene-panel span,
  .ops-stack span,
  .floating-board span,
  .hobby-cards span,
  .trail-tags span,
  .route-line span,
  .food-wheel span,
  .contact-meta span {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .scene-bg {
    transform: none !important;
  }

  .scene::after,
  .scene.is-active::after,
  .scene.is-past::after {
    opacity: 0.42;
    transform: none;
  }

  .hero-content > *,
  .scene-copy > *,
  .scene-panel span,
  .ops-stack span,
  .floating-board span,
  .hobby-cards span,
  .trail-tags span,
  .route-line span,
  .food-wheel span {
    opacity: 1;
    transform: none;
  }
}
