:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 7vh, 88px) 24px;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 11.4vw, 152px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: -.065em;
  text-align: center;
}

h1 span { display: block; }
h1 span + span { margin-top: .045em; }

.socials {
  display: grid;
  grid-template-columns: repeat(3, 222px);
  gap: 24px;
  margin-top: clamp(32px, 5vw, 64px);
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  padding-bottom: 12px;
  -webkit-tap-highlight-color: #ffffff20;
}

.logo-space {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 222px;
  height: 190px;
}

.logo-space img { display: block; object-fit: contain; }
.instagram { width: 100px; height: 100px; }
.threads { width: auto; height: 100px; }
/* The official PNG includes clear space. Its visible icon remains over 100px high. */
.youtube { width: auto; height: 190px; }

.social-name {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-underline-offset: 6px;
}

.social:hover .social-name { text-decoration: underline; }
.social:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

@media (max-width: 759px) {
  main { padding: 56px 20px 40px; }
  .socials {
    grid-template-columns: repeat(2, 144px);
    gap: 4px 12px;
    margin-top: 32px;
  }
  .logo-space { width: 144px; height: 166px; }
  .social-youtube { grid-column: 1 / -1; justify-self: center; width: 222px; }
  .social-youtube .logo-space { width: 222px; height: 190px; }
}

@media (max-width: 359px) {
  main { padding-inline: 12px; }
  h1 { font-size: 44px; }
}
