:root {
  --cream: #fff8f4;
  --cream-deep: #f6ebe5;
  --paper: #fffdfb;
  --navy: #20283a;
  --navy-soft: #4e5667;
  --coral: #d4775e;
  --coral-deep: #a84e39;
  --line: rgba(32, 40, 58, 0.13);
  --shadow: 0 2.2rem 5rem rgba(85, 54, 45, 0.12);
}

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

html {
  min-width: 20rem;
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 84% 16%, rgba(212, 119, 94, 0.13), transparent 26rem),
    radial-gradient(circle at 4% 84%, rgba(212, 119, 94, 0.08), transparent 22rem),
    var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(32, 40, 58, 0.08) 0.6px, transparent 0.6px);
  background-size: 1.15rem 1.15rem;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border: 2px solid var(--navy);
  border-radius: 0.65rem;
  background: var(--paper);
  font-weight: 650;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 96rem);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.75rem) clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
}

.brand:focus-visible,
.home-link:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 5px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  border: 1px solid rgba(212, 119, 94, 0.2);
  border-radius: 0.85rem;
  background: var(--paper);
}

.brand-mark img {
  position: absolute;
  top: 48.5%;
  left: 50%;
  width: 232%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.brand-name {
  font-size: 1.26rem;
  font-weight: 560;
  letter-spacing: 0.13em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(168, 78, 57, 0.24);
  border-radius: 999px;
  color: #833f2f;
  background: rgba(255, 253, 251, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(0.35rem);
}

.status span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--coral-deep);
  box-shadow: 0 0 0 0.25rem rgba(212, 119, 94, 0.15);
}

main {
  display: grid;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(21rem, 0.94fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  padding: clamp(4.5rem, 10vh, 8.5rem) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  color: var(--navy-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.25rem;
  height: 2px;
  background: var(--coral);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 6.6vw, 7rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 span {
  display: block;
  color: var(--coral-deep);
}

.intro {
  max-width: 38rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  color: var(--navy-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.7;
}

.tagline {
  max-width: 38rem;
  margin: clamp(2.15rem, 4vw, 3.1rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: clamp(0.09em, 0.45vw, 0.18em);
  line-height: 1.6;
  text-transform: uppercase;
}

.brand-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 39rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 253, 251, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(0.6rem);
}

.brand-stage::before,
.brand-stage::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(212, 119, 94, 0.25);
  border-radius: 50%;
  content: "";
}

.brand-stage::before {
  top: -22%;
  right: -20%;
  width: 64%;
  aspect-ratio: 1;
}

.brand-stage::after {
  bottom: -30%;
  left: -20%;
  width: 72%;
  aspect-ratio: 1;
}

.brand-lockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1.34;
  overflow: hidden;
  border-radius: clamp(1.25rem, 3vw, 2.35rem);
  background: var(--cream);
}

.brand-lockup img {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 168%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.not-found {
  display: grid;
  place-items: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
  text-align: center;
}

.not-found-card {
  width: min(100%, 42rem);
}

.not-found-mark {
  position: relative;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 1px solid rgba(212, 119, 94, 0.22);
  border-radius: 1.8rem;
  background: var(--paper);
  box-shadow: 0 1.5rem 3.5rem rgba(85, 54, 45, 0.11);
}

.not-found-mark img {
  position: absolute;
  top: 48.5%;
  left: 50%;
  width: 232%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.error-code {
  margin: 0 0 0.6rem;
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.not-found h1 {
  max-width: none;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.not-found-copy {
  max-width: 34rem;
  margin: 1.5rem auto 2.25rem;
  color: var(--navy-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.home-link:hover {
  background: transparent;
  color: var(--navy);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .brand-stage,
  .not-found-card > * {
    animation: arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy > :nth-child(2),
  .not-found-card > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > :nth-child(3),
  .not-found-card > :nth-child(3) {
    animation-delay: 170ms;
  }

  .hero-copy > :nth-child(4),
  .not-found-card > :nth-child(4) {
    animation-delay: 240ms;
  }

  .brand-stage {
    animation-delay: 140ms;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

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

@media (max-width: 58rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 4.5rem 0 5.5rem;
  }

  .hero-copy {
    max-width: 47rem;
  }

  .brand-stage {
    width: min(100%, 38rem);
  }
}

@media (max-width: 36rem) {
  .page-shell {
    padding-inline: 1.05rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .status {
    padding: 0.5rem 0.68rem;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  h1 {
    font-size: clamp(2.95rem, 16vw, 4.5rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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