:root {
  --bronze-deep: #1e0903;
  --bronze: #6f260d;
  --bronze-light: #9a431b;
  --gold-pale: #ffe0a2;
  --gold: #dba544;
  --gold-deep: #8e5a18;
  --cream: #f5dec2;
}

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

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

body {
  margin: 0;
  background: var(--bronze-deep);
  color: var(--cream);
  font-family: "Manrope", sans-serif;
}

.coming-soon {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background-color: #57200c;
  background-image: url("assets/bronze-coming-soon-reference.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 5, 1, .34), transparent 28%, transparent 72%, rgba(17, 4, 1, .55)),
    radial-gradient(ellipse at center, transparent 38%, rgba(17, 4, 1, .38) 100%);
}

.ambient-light {
  position: absolute;
  z-index: -1;
  top: -18%;
  left: 50%;
  width: min(760px, 85vw);
  height: 52vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(238, 137, 59, .18), transparent 68%);
  pointer-events: none;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(22px, 4vh, 42px) 24px 0;
}

.brand-mark {
  display: block;
  width: clamp(78px, 7.5vw, 112px);
  height: clamp(78px, 7.5vw, 112px);
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  perspective: 700px;
  filter: drop-shadow(0 8px 10px rgba(12, 2, 0, .6));
  transition: transform .35s ease, filter .35s ease;
}

.brand-mark:hover {
  transform: translateY(-2px) scale(1.025);
  filter: drop-shadow(0 12px 20px rgba(12, 2, 0, .62));
}

.brand-mark:focus-visible {
  outline: 1px solid var(--gold-pale);
  outline-offset: 8px;
  border-radius: 50%;
}

.brand-mark__flipper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .72s cubic-bezier(.2, .75, .25, 1);
}

.brand-mark:not(.has-interacted):not(.is-flipped) .brand-mark__flipper {
  animation: logo-invitation 1.65s cubic-bezier(.22, .72, .3, 1) 1s 1 both;
}

@keyframes logo-invitation {
  0%, 100% { transform: rotateY(0deg); }
  38% { transform: rotateY(78deg) scale(.94); }
  62% { transform: rotateY(-16deg) scale(1.02); }
  80% { transform: rotateY(7deg); }
}

.brand-mark.is-flipped .brand-mark__flipper {
  transform: rotateY(180deg);
}

.brand-mark__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.brand-mark__face--back {
  transform: rotateY(180deg);
}

.hero {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}

.title-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.title-lockup h1,
.gold-line {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.eyebrow {
  margin: clamp(185px, 24vh, 250px) 0 0;
  color: rgba(255, 224, 177, .72);
  font-size: clamp(10px, .8vw, 12px);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(35, 7, 0, .65);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 76px) clamp(24px, 4vh, 42px);
  color: rgba(245, 222, 194, .58);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-pale);
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}

.site-footer a:hover {
  color: #fff1c8;
  gap: 13px;
}

.site-footer svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

@media (max-width: 700px) {
  .coming-soon {
    background-image: url("assets/bronze-coming-soon-mobile.png");
    background-position: center;
    background-size: cover;
  }

  .coming-soon::after {
    content: none;
  }

  .site-header {
    padding-top: max(22px, env(safe-area-inset-top));
  }

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

  .title-lockup {
    display: none;
  }

  .title-lockup h1,
  .gold-line {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .title-lockup h1 {
    flex: 0 0 auto;
    margin: 0;
    color: transparent;
    background: linear-gradient(180deg, #fff0b5 0%, #e4af4d 48%, #a3651d 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: "Italianno", cursive;
    font-size: clamp(66px, 22vw, 102px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: .86;
    text-transform: lowercase;
    filter: drop-shadow(0 3px 2px rgba(35, 8, 0, .8));
  }

  .title-lockup h1::first-letter {
    text-transform: uppercase;
  }

  .gold-line {
    flex: 1 1 auto;
    min-width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #efc468 35%, #aa6e27 100%);
    box-shadow: 0 1px 2px rgba(31, 7, 0, .7);
  }

  .gold-line--right {
    background: linear-gradient(90deg, #aa6e27, #efc468 65%, transparent);
  }

  .eyebrow {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    gap: 14px;
    padding: 0 20px max(24px, env(safe-area-inset-bottom));
    text-align: center;
    font-size: 9px;
    letter-spacing: .12em;
  }
}

@media (max-height: 650px) and (min-width: 701px) {
  .brand-mark {
    width: 68px;
    height: 68px;
  }

  .eyebrow {
    margin-top: 155px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .brand-mark__flipper {
    animation: none !important;
  }
}
