/* Tokens carried over from the Classical design system */
:root {
  --color-ink: #14120f;
  --color-accent: #b68235;
  --color-accent-200: #ffe3bf;
  --color-accent-300: #facb8d;
  --color-neutral-100: #f8f4f4;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow-x: hidden;
  background: var(--color-ink);
  color: var(--color-neutral-100);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

::selection { background: color-mix(in srgb, var(--color-accent) 35%, transparent); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Background plate */
.backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(20, 18, 15, 0.62),
    rgba(20, 18, 15, 0.74) 55%,
    rgba(20, 18, 15, 0.58)
  );
}

/* Card */
.card {
  width: 100%;
  max-width: 560px;
  padding: clamp(28px, 5vw, 48px);
  background: rgba(20, 18, 15, 0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.name {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(248, 244, 244, 0.82);
  text-wrap: pretty;
}

.rule {
  height: 1px;
  border: 0;
  margin: 30px 0 4px;
  background: rgba(243, 242, 242, 0.2);
}

/* Links */
.links { display: grid; }

.links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(243, 242, 242, 0.14);
  text-decoration: none;
  color: var(--color-neutral-100);
  transition: background-color 160ms ease;
}

.links a:hover { background: rgba(243, 242, 242, 0.07); }

.link-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.link-label {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.link-note {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(248, 244, 244, 0.62);
}

.link-host {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-feature-settings: "tnum";
  color: var(--color-accent-300);
  white-space: nowrap;
}

.links a:hover .link-host { color: var(--color-accent-200); }

.footer {
  margin: 26px 0 0;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 244, 244, 0.5);
}

@media (max-width: 420px) {
  body { padding: 32px 16px; }
  .links a { flex-wrap: wrap; gap: 6px; }
  .link-host { width: 100%; }
}
