:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  --ink: #1c2226;
  --muted: #54595c;
  --edge: #474c4f;
  min-height: 100svh;
  background: #faf9f5;
  color: var(--ink);
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
}

.atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
}

.brand {
  justify-self: center;
  margin-top: clamp(2rem, 4.6vw, 3rem);
  font-size: clamp(1.06rem, 1.55vw, 1.46rem);
  font-weight: 440;
  letter-spacing: -0.025em;
  line-height: 1;
}

.hero {
  align-self: start;
  justify-self: center;
  width: min(92vw, 66rem);
  margin-top: clamp(7.6rem, 13.2vh, 9.4rem);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 5.55vw, 5rem);
  font-weight: 250;
  letter-spacing: -0.02em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.message {
  margin: clamp(1.1rem, 2.2vh, 1.45rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 2.15vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem clamp(2rem, 3.5vw, 3.25rem) clamp(1.75rem, 3vw, 2.7rem);
  background: linear-gradient(to bottom, rgb(250 249 245 / 0%), rgb(250 249 245 / 72%));
  color: var(--edge);
  font-size: clamp(0.875rem, 1.15vw, 1rem);
  font-weight: 470;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ctbre .brand {
  display: grid;
  justify-items: center;
  gap: 0.78rem;
  font-size: clamp(1.08rem, 1.55vw, 1.44rem);
  font-weight: 510;
  letter-spacing: 0.29em;
  text-indent: 0.29em;
}

.ctbre .brand small {
  font-size: clamp(0.69rem, 0.92vw, 0.87rem);
  font-weight: 450;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.ctbre .hero {
  margin-top: clamp(6.6rem, 11vh, 8.1rem);
}

.ctbre .footer {
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .brand {
    margin-top: 2.65rem;
  }

  .hero {
    width: min(88vw, 44rem);
    margin-top: clamp(9.2rem, 16vh, 11.7rem);
  }

  h1 {
    font-size: clamp(3.45rem, 8.6vw, 4.45rem);
  }

  .message {
    font-size: clamp(1.4rem, 3.5vw, 1.82rem);
  }

  .ctbre .hero {
    margin-top: clamp(7.7rem, 13vh, 9.7rem);
  }
}

@media (max-width: 520px) {
  .atmosphere {
    object-position: center bottom;
  }

  .brand {
    margin-top: 1.85rem;
    font-size: 1rem;
  }

  .hero {
    width: calc(100vw - 2.5rem);
    margin-top: clamp(5.8rem, 12.5vh, 7rem);
  }

  h1 {
    font-size: clamp(2.7rem, 12.5vw, 3.1rem);
    line-height: 1.02;
  }

  .message {
    max-width: 19rem;
    margin: 1rem auto 0;
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .footer {
    padding: 2.5rem 1.25rem 1.2rem;
    font-size: 0.875rem;
  }

  .ctbre .atmosphere {
    object-position: 64% bottom;
  }

  .ctbre .brand {
    gap: 0.58rem;
    font-size: 1rem;
  }

  .ctbre .brand small {
    font-size: 0.75rem;
  }

  .ctbre .hero {
    margin-top: clamp(4.9rem, 10.5vh, 5.9rem);
  }

  .ctbre h1 {
    max-width: 19rem;
    margin-inline: auto;
    font-size: clamp(2.55rem, 11.8vw, 2.9rem);
    line-height: 1.05;
  }
}

@media (forced-colors: active) {
  .atmosphere {
    opacity: 0;
  }
}
