:root {
  /* ── Page ──────────────────────────── */
  --page-bg: #1c1c1c;

  /* ── Card greens ───────────────────── */
  --card-top: #0a0a0a;
  --card-mid: #074a2f;
  --card-bottom: #053a27;

  /* ── Separators ────────────────────── */
  --line: rgba(180, 210, 196, 0.18);

  /* ── Typography ────────────────────── */
  --text: #ffffff;

  /* ── Buttons ───────────────────────── */
  --btn-bg: #ffffff;
  --btn-text: #0b6b46;

  /* ── Shadows ───────────────────────── */
  --card-shadow: rgba(0, 0, 0, 0.6);
}

/* ── Reset ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Century Gothic", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Shell ──────────────────────────────── */
.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* ── Card ───────────────────────────────── */
.contact-card {
  position: relative;
  width: 440px;
  border-radius: 18px;
  background:
    linear-gradient(180deg,
      var(--card-top) 0%,
      var(--card-mid) 40%,
      var(--card-bottom) 100%);
  box-shadow:
    0 16px 40px var(--card-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* ── Hero Image ────────────────────────── */
.hero {
  padding: 14px 14px 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* ── Identity (Name + Title) ───────────── */
.identity {
  padding: 16px 20px 10px;
  text-align: center;
}

.identity h1 {
  margin: 0;
  font-family: "Century Gothic", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.identity p {
  margin: 2px 0 0;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ── Contact List ──────────────────────── */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Contact Row ───────────────────────── */
.contact-row {
  display: grid;
  grid-template-columns: 50px 12px 1fr;
  align-items: center;
  min-height: 72px;
  padding: 4px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
}

/* ── Icon (3D Metallic Silver) ─────────── */
.contact-row__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  position: relative;
}

.contact-row__icon::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 6px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-row__icon img {
  width: 30px !important;
  height: 26px !important;
  position: relative;
  z-index: 1;
}

/* ── Vertical Divider ──────────────────── */
.contact-row__divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  justify-self: center;
}

/* ── Contact Text ──────────────────────── */
.contact-row a {
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  word-break: break-word;
}

/* ── Address Row ───────────────────────── */
.contact-row--address {
  align-items: start;
  padding-top: 10px;
  padding-bottom: 12px;
}

.contact-row--address .contact-row__icon,
.contact-row--address .contact-row__divider {
  margin-top: 2px;
}

.contact-row__address {
  max-width: 100%;
}

/* ── Share Strip ───────────────────────── */
.share-strip {
  position: relative;
  width: 70%;
  overflow: hidden;
  margin: auto;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: none;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(120, 155, 140, .45) 50%,
      rgba(120, 155, 140, .45) 68%,
      transparent 100%);
  transition: .3s ease;
  cursor: pointer;
}

.share-strip span {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  letter-spacing: .5px;
}

.share-strip:hover {
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, .24) 25%,
      rgba(255, 255, 255, .24) 75%,
      transparent 100%);
  transform: translateY(-2px);
}

.share-strip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ── Action Buttons ────────────────────── */
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 16px 12px 20px;
}

.btn {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 12px;
  border: 2px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  outline: none;
}

/* ── Focus Ring ────────────────────────── */
.contact-row a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── Responsive: Tablet ────────────────── */
@media (max-width: 1024px) {
  .contact-card {
    width: min(96vw, 420px);
  }
}

/* ── Responsive: Mobile ────────────────── */
@media (max-width: 768px) {
  .page-shell {
    padding: 10px;
    align-items: flex-start;
  }

  .contact-card {
    width: min(96vw, 480px);
    min-width: 0;
  }

  .hero {
    padding: 12px 12px 0;
  }
}

/* ── Responsive: Small Mobile ──────────── */
@media (max-width: 480px) {
  .page-shell {
    padding: 6px;
  }

  .contact-card {
    width: 100%;
  }

  .hero__image {
    border-radius: 12px;
  }

  .identity h1 {
    font-size: 1.75rem;
  }

  .identity p {
    font-size: 1rem;
  }

  .contact-row a {
    font-size: 16px;
  }

  .share-strip {
    height: 50px;
    margin: auto;
  }
}

/* ── Reduced Motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}