/* ── Design tokens ── */
:root {
  --bg: #0a0e17;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #e8eaef;
  --text-muted: #8b93a7;
  --text-subtle: #5c6478;
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.15);
  --violet: #6366f1;
  --violet-glow: rgba(99, 102, 241, 0.12);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --transition: 200ms ease;
}

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Background effects ── */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: var(--violet-glow);
}

.bg-glow--bottom {
  bottom: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(201, 169, 98, 0.06);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2.5rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  gap: 2.5rem;
}

/* ── Brand ── */
.brand {
  animation: fadeUp 0.8s ease both;
}

.brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.brand__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.brand__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  background: linear-gradient(135deg, #f0f2f7 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Card ── */
.card {
  width: 100%;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.8s 0.15s ease both;
}

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 999px;
}

.card__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card__text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ── Progress ── */
.progress {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 0.625rem;
}

.progress__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--accent));
  animation: shimmer 2.5s ease infinite;
}

.progress__label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

/* ── Contact ── */
.contact {
  width: 100%;
  animation: fadeUp 0.8s 0.3s ease both;
}

.contact__intro {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.contact__item:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.contact__item:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
}

.contact__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.contact__value {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
}

/* ── Footer ── */
.footer {
  animation: fadeUp 0.8s 0.45s ease both;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Responsive ── */
@media (min-width: 480px) {
  .page {
    padding: 3rem 2rem;
  }

  .card {
    padding: 2.5rem 2rem;
  }
}
