:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #716b61;
  --paper: #f4f0e8;
  --paper-soft: #fbf9f5;
  --ember: #ff5b28;
  --ember-deep: #e73e13;
  --line: rgba(23, 21, 18, 0.12);
  --shadow: 0 18px 50px rgba(45, 34, 22, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.72), transparent 36rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 5;
  inset: 0;
  border: 1px solid rgba(23, 21, 18, 0.05);
  pointer-events: none;
  content: "";
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: min(56vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.page-glow--top {
  top: -34rem;
  right: -18rem;
  background: radial-gradient(circle, rgba(255, 91, 40, 0.2), rgba(255, 91, 40, 0) 68%);
}

.page-glow--bottom {
  bottom: -30rem;
  left: -19rem;
  background: radial-gradient(circle, rgba(255, 166, 89, 0.15), rgba(255, 166, 89, 0) 70%);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: clamp(1rem, 3vw, 2rem);
  left: 50%;
  width: min(calc(100% - 2rem), 72rem);
  transform: translateX(-50%);
}

.floating-menu {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.35rem;
  background: rgba(251, 249, 245, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 0.55rem;
  color: inherit;
}

.brand:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 0.35rem;
}

.brand__crop {
  position: relative;
  display: block;
  width: 8.9rem;
  aspect-ratio: 428 / 134;
  overflow: hidden;
}

.brand__crop img {
  position: absolute;
  top: -142.54%;
  left: -10.28%;
  display: block;
  width: 119.63%;
  max-width: none;
  height: auto;
}

.menu-status {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.62rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.menu-status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 91, 40, 0.5);
  animation: status-pulse 2.4s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 10rem 1.5rem 8rem;
  text-align: center;
}

.hero__content {
  width: min(100%, 70rem);
  animation: content-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1.55rem;
  color: var(--muted);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: var(--ember);
}

h1 {
  max-width: 13ch;
  margin: 0 auto;
  font-size: clamp(3.6rem, 10vw, 8.7rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-wrap: balance;
}

h1 em {
  position: relative;
  color: var(--ember-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.08em;
}

h1 > span {
  white-space: nowrap;
}

h1 em::after {
  position: absolute;
  right: 0.02em;
  bottom: -0.05em;
  left: 0.1em;
  height: 0.045em;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.8;
  transform: rotate(-1.5deg);
  content: "";
}

.intro {
  margin: clamp(2rem, 4vw, 3.2rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  letter-spacing: -0.015em;
  line-height: 1.65;
}

.signal {
  position: absolute;
  bottom: clamp(5.3rem, 9vh, 7rem);
  left: 50%;
  display: flex;
  gap: 0.32rem;
  align-items: flex-end;
  height: 1.2rem;
  transform: translateX(-50%);
}

.signal span {
  display: block;
  width: 0.22rem;
  border-radius: 99px;
  background: var(--ink);
  opacity: 0.2;
  animation: signal 1.4s ease-in-out infinite alternate;
}

.signal span:nth-child(1) {
  height: 0.45rem;
}

.signal span:nth-child(2) {
  height: 1.05rem;
  animation-delay: 180ms;
}

.signal span:nth-child(3) {
  height: 0.7rem;
  animation-delay: 360ms;
}

.site-footer {
  position: fixed;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.15rem, 3vw, 2rem);
  left: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }

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

@keyframes status-pulse {
  70%,
  100% {
    box-shadow: 0 0 0 0.55rem rgba(255, 91, 40, 0);
  }
}

@keyframes signal {
  from {
    transform: scaleY(0.62);
  }

  to {
    transform: scaleY(1);
  }
}

@media (max-width: 40rem) {
  .site-header {
    width: calc(100% - 1.25rem);
  }

  .floating-menu {
    min-height: 4.15rem;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    border-radius: 1.1rem;
  }

  .brand__crop {
    width: 7.35rem;
  }

  .menu-status {
    padding: 0.55rem 0.65rem;
    font-size: 0.64rem;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14.8vw, 5.2rem);
  }

  .desktop-break {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer p:last-child {
    max-width: 10rem;
    text-align: right;
  }
}

@media (max-height: 42rem) and (orientation: landscape) {
  .site-header {
    top: 0.75rem;
  }

  .floating-menu {
    min-height: 3.65rem;
  }

  .brand__crop {
    width: 7.2rem;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .eyebrow {
    margin-bottom: 0.85rem;
  }

  h1 {
    font-size: clamp(3rem, 13vh, 5.4rem);
  }

  .intro {
    margin-top: 1.25rem;
  }

  .signal {
    display: none;
  }
}

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