a {
  color: #0094C9;
  text-decoration: none;
}
a:hover {
  color: #2FB4E0;
}

.background {
  perspective: 1150px;
}

.tilt-card {
  position: relative;
  width: min(760px, 88vw);
  height: min(452px, 64vh);
  transition: transform 0.12s ease-out;
  transform-style: preserve-3d;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  overflow: hidden;
}

.tilt-card__glass {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 64, 82, 0.30), rgba(9, 20, 27, 0.26));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(150, 205, 225, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateZ(0);
}

.tilt-card__glow {
  position: absolute;
  top: -520px;
  right: -440px;
  width: 1440px;
  height: 1440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 148, 201, 0.26), transparent 60%);
  opacity: 0.34;
  transition: transform 0.14s ease-out, opacity 0.14s ease-out;
  pointer-events: none;
}

.tilt-card__content {
  position: relative;
  height: 100%;
  padding: clamp(32px, 5vw, 52px) clamp(34px, 5vw, 56px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.tilt-card__layer {
  transition: transform 0.12s ease-out;
}
.tilt-card__layer--top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.tilt-card__layer--bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.logo {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7C929E;
  letter-spacing: 0.08em;
  text-align: right;
  min-width: 0;
}
.meta-line {
  display: inline;
}
.meta-sep {
  display: inline;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
h1 .dot {
  color: var(--color-accent);
}

.tagline {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.55;
  color: #B4C4CE;
  max-width: 440px;
  text-wrap: pretty;
}

.contact-email {
  font-size: clamp(15px, 2vw, 18px);
  color: #fff;
  font-weight: 700;
}
.contact-email:hover {
  color: var(--color-accent);
}

.contact-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8B99A2;
  text-align: right;
  line-height: 1.7;
}
.contact-meta a {
  color: #7C929E;
}
.contact-meta a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .tilt-card__layer--bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-meta {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .meta-sep {
    display: none;
  }
}

/* Small landscape screens: the fixed 64vh cap combined with width-based
   padding left too little room, so rows touched. Let the card size to its
   content (with a guaranteed minimum gap) instead of a hard vh cap. */
@media (max-height: 520px) and (orientation: landscape) {
  .tilt-card {
    height: auto;
    max-height: 94vh;
  }

  .tilt-card__content {
    height: auto;
    max-height: 100%;
    padding-top: clamp(14px, 5vh, 28px);
    padding-bottom: clamp(14px, 5vh, 28px);
    gap: 16px;
    overflow-y: auto;
  }

  .logo {
    height: 38px;
  }

  h1 {
    font-size: clamp(22px, 4.5vh, 34px);
    margin-bottom: 8px;
  }

  .tagline {
    font-size: 13px;
    line-height: 1.4;
  }

  .contact-email {
    font-size: 14px;
  }

  .contact-meta {
    font-size: 11px;
  }
}
