* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  background-color: var(--bg, #051129);
}

/* Subtle cabinet-panel lines. Masked so the centre (behind the logo) stays
   exactly the flat background colour and the logo edges disappear. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 88px);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 35%, #000 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 35%, #000 100%);
}

.card {
  position: relative;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 28px;
}

.blurb {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: .9;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: block;
  padding: 14px 18px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: .03em;
  transition: background .15s, border-color .15s;
}

.button:hover,
.button:focus-visible {
  background: var(--accent, #fd0002);
  border-color: var(--accent, #fd0002);
}

.icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  transition: background .15s, border-color .15s;
}

.icon:hover,
.icon:focus-visible {
  background: var(--accent, #fd0002);
  border-color: var(--accent, #fd0002);
}

/* Keep the complete contact card visible on short and landscape screens. */
@media (max-height: 500px) {
  body { padding: 8px 16px; }
  .logo {
    width: auto;
    max-width: 100%;
    max-height: 25vh;
    max-height: 25dvh;
    margin-bottom: 10px;
  }
  .buttons { gap: 8px; }
  .button { padding: 8px 18px; }
  .icons { margin-top: 10px; }
  .icon { width: 40px; height: 40px; }
}
