@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root{
  --charcoal: #1a1d1f;
  --steel: #26292c;
  --steel-light: #33373a;
  --hazard: #a69cfd;
  --off-white: #ece8e0;
  --off-white-dim: #b7b2a7;
  --line: #454a4d;
}

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
}

body{
  background: var(--charcoal);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* subtle brushed-metal texture */
.texture{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(
      rgba(255,255,255,0.04),
      transparent 20%
    );
  z-index: 0;
}

/* ---------- MAIN LAYOUT ---------- */

.hero{
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 48px;
  z-index: 1;
}

/*
  The details panel is pulled into the desktop layout
  with the hero using a CSS grid wrapper below.
*/

.wrap{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HERO CIRCLE ---------- */

.circle{
  width: min(600px, 80vw);
  aspect-ratio: 1 / 1;

  background:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(
      rgba(255,255,255,0.04),
      transparent 20%
    );

  background-color: var(--steel);
  border-radius: 50%;

  position: absolute;
  z-index: -1;
}

/* ---------- HERO CONTENT ---------- */

.eyebrow{
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--hazard);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.15s;
}

img.logo{
  width: auto;
  max-width: 70%;
  height: auto;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.15s;
}

h1.title{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--off-white-dim);
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.15s;
}

@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(10px);
  }

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

/* ---------- DETAILS PLATE ---------- */

@keyframes plateFadeUp{
  from{
    opacity: 0;
    transform: translateY(calc(-50% + 20px));
  }

  to{
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (min-width: 900px){

  .plate-section{
    position: absolute;
    top: 50%;
    right: 0;

    width: 42%;
    max-width: 680px;

    padding: 24px 5vw 24px 24px;

    opacity: 0;
    animation: plateFadeUp 0.7s ease forwards 0.25s;
  }

}

.plate{
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

.plate-row{
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.plate-row:last-child{
  border-bottom: none;
}

.plate-label{
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--hazard);
  text-transform: uppercase;
  padding-top: 3px;
  margin-right: 10%;
}

.plate-value{
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--off-white);
}

.plate-value a{
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.plate-value p{
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid transparent; 
  margin-top: 0;
}

.plate-value a:hover{
  color: var(--hazard);
  border-color: var(--hazard);
}

/* ---------- FOOTER ---------- */

.foot{
  text-align: center;
  padding: 0 24px 56px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--off-white-dim);
}

.foot a{
  color: var(--off-white-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}

.foot a:hover{
  color: var(--hazard);
  border-color: var(--hazard);
}

a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--hazard);
  outline-offset: 3px;
}


/* ---------- DESKTOP* ---------- */

@media (min-width: 900px){

  body{
    min-height: 100svh;
  }

  .hero{
    min-height: 100svh;
    width: 58%;
    padding: 48px 40px;
    bottom: auto;
  }

  .circle{
    width: min(600px, 46vw);
  }

  .plate-section{
    position: absolute;

    top: 50%;
    right: 0;

    width: 42%;
    max-width: 680px;

    padding: 24px 5vw 24px 24px;

    transform: translateY(-50%);
  }

  .wrap{
    max-width: none;
    padding: 0;
  }

  .plate{
    width: 100%;
  }

  .foot{
    position: fixed;
    left: 0;
    bottom: 0;

    width: 58%;

    padding-bottom: 24px;
  }
}


/* ---------- MOBILE ---------- */

@media (max-width: 899px){

  .hero{
    min-height: auto;
    height: auto;

    /*Enough vertical space for the entire circle.*/
    padding: 48px 16px 64px;

    bottom: auto;
  }

  .circle{
    width: 80vw;
    height: 80vw;

    max-width: 420px;
    max-height: 420px;
  }

  img.logo{
    max-width: 72%;
  }

  h1.title{
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }

  .plate-section{
    padding: 0 16px 70px;
  }

  .wrap{
    padding: 0;
  }

  .plate-row{
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .plate-label{
    font-size: 0.75rem;
  }

  .plate-value{
    font-size: 1rem;
  }

  .foot{
    padding: 0 24px 32px;
  }
}


/* ---------- SMALL PHONES ----------*/

@media (max-width: 480px){

  .hero{
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .eyebrow{
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
  }

  img.logo{
    max-width: 68%;
  }

  h1.title{
    font-size: 1.1rem;
  }

  .plate-row{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px;
  }

  .plate-label{
    padding-top: 0;
  }
}