@font-face {
  font-family: "Nantes";
  src: url("fonts/Nantes-Light.woff2") format("woff2"),
       url("fonts/Nantes-Light.woff") format("woff"),
       url("fonts/Nantes-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("fonts/Nantes-Regular.woff2") format("woff2"),
       url("fonts/Nantes-Regular.woff") format("woff"),
       url("fonts/Nantes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("fonts/Nantes-RegularItalic.woff2") format("woff2"),
       url("fonts/Nantes-RegularItalic.woff") format("woff"),
       url("fonts/Nantes-RegularItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nantes";
  src: url("fonts/Nantes-Bold.woff2") format("woff2"),
       url("fonts/Nantes-Bold.woff") format("woff"),
       url("fonts/Nantes-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffc844;
  --ink: #111111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: var(--app-height, 100svh);
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Nantes", Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding: 3rem 3.5rem 2.5rem;
  overflow-x: hidden;
}

/* Top row: @handle | domain | illustration + Coming Soon */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 1.5rem;
  font-size: 1.15rem;
}

.social {
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}

.social:hover {
  text-decoration: underline;
}

.domain {
  justify-self: center;
}

/* Centre stage: fills the space between header and footer */
.stage {
  flex: 1;
}

/* illustration <-> Coming Soon, 2s each — pinned to the exact centre of the screen */
.brandmark {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 110px;
}

.mark {
  height: 110px;
  width: auto;
  display: block;
  animation: swapLogo 4s infinite;
}

.soon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-style: italic;
  font-size: 1.15rem;
  animation: swapText 4s infinite;
}

@keyframes swapLogo {
  0%, 46%   { opacity: 1; }
  54%, 96%  { opacity: 0; }
  100%      { opacity: 1; }
}

@keyframes swapText {
  0%, 46%   { opacity: 0; }
  54%, 96%  { opacity: 1; }
  100%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mark, .soon { animation: none; }
  .soon { opacity: 0; }
}

/* Giant wordmark at the bottom, full width */
.wordmark-wrap {
  display: flex;
  justify-content: center;
}

.wordmark {
  width: 100%;
  max-width: 1600px;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  body {
    padding: 1.75rem 1.25rem 1.75rem;
  }

  /* top row: @handle (left) | domain (right) */
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    column-gap: 0.6rem;
  }

  .brandmark {
    height: 84px;
  }

  .mark {
    height: 84px;
  }

  .soon {
    font-size: 0.95rem;
  }
}
