/* ===================================================
   No Signal — Design Tokens
=================================================== */
:root {
  --color-black: #0c0e0c;
  --color-forest: #1a2e22;
  --color-forest-light: #2f5240;
  --color-white: #f7f6f2;
  --color-white-muted: rgba(247, 246, 242, 0.68);
  --color-white-faint: rgba(247, 246, 242, 0.38);

  --font-display: "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;

  --nav-height: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s var(--ease-out);
}

/* ===================================================
   Reset
=================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* ===================================================
   Navbar
=================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: transparent;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.navbar.is-scrolled {
  background: rgba(10, 12, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(247, 246, 242, 0.08);
}

.navbar__inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-white);
  z-index: 101;
}

.navbar__links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.navbar__links a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white-muted);
  padding-bottom: 6px;
  transition: color var(--transition-base);
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width var(--transition-base);
}

.navbar__links a:hover,
.navbar__links a:focus-visible {
  color: var(--color-white);
}

.navbar__links a:hover::after,
.navbar__links a:focus-visible::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 101;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ===================================================
   Hero
=================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-black);
}

.hero__media {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.04) contrast(1.02) saturate(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(5, 6, 5, 0.05) 0%, rgba(5, 6, 5, 0.38) 55%, rgba(5, 6, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.55) 0%, rgba(5, 6, 5, 0.08) 28%, rgba(5, 6, 5, 0.22) 60%, rgba(5, 6, 5, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 6, 5, 0.5) 0%, rgba(5, 6, 5, 0) 45%, rgba(5, 6, 5, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 100%;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(3.5rem, 9vh, 6.5rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 1.1s var(--ease-out) 0.3s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__tagline {
  font-family: "Goudy Old Style", "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.02em;
  color: var(--color-white-muted);
  margin-bottom: 1.25rem;
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero__subheading {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-white-muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

/* ===================================================
   Buttons
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 2.25rem;
  border-radius: 999px;
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  transform: scale(1.045);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-forest-light);
  color: var(--color-white);
}

.btn--secondary {
  color: var(--color-white);
  border: 1px solid rgba(247, 246, 242, 0.35);
  background: rgba(247, 246, 242, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--color-white);
  background: rgba(247, 246, 242, 0.12);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: currentColor;
  color: var(--color-white);
}

.btn__icon svg {
  color: var(--color-black);
  transform: translateX(1px);
}

/* ===================================================
   Scroll cue
=================================================== */
.hero__scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--ease-out) 0.9s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: rgba(247, 246, 242, 0.28);
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 2.4s ease-in-out infinite;
}

.hero__scroll-dash {
  width: 14px;
  height: 1px;
  background: rgba(247, 246, 242, 0.5);
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ===================================================
   Placeholder section (demonstrates scroll + parallax)
=================================================== */
.section-placeholder {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: var(--color-black);
  border-top: 1px solid rgba(247, 246, 242, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 4rem 1.5rem;
}

.section-placeholder h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-placeholder p {
  color: var(--color-white-muted);
  font-weight: 300;
}

/* ===================================================
   Responsive — Navbar collapse
=================================================== */
@media (max-width: 860px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    background: rgba(10, 12, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    pointer-events: none;
  }

  .navbar__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar__links a {
    font-size: 1rem;
  }

  .navbar__toggle.is-active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .navbar__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .navbar__toggle.is-active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
