:root {
  --color-bg: #0c1020;
  --color-surface: #151b30;
  --color-surface-alt: #1d2743;
  --color-border: #313c60;
  --color-text: #edf1ff;
  --color-text-muted: #b5c0e0;
  --color-accent: #8fd3ff;
  --color-accent-strong: #4fbcff;
  --shell-width: 52rem;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(5, 9, 20, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #0a0f1e 0%, #12182d 100%);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

.shell {
  width: min(100% - 2rem, var(--shell-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: rgba(7, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.name {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Main */
#main-content {
  flex: 1;
  padding: 3rem 0 4rem;
}

.profile-image {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  float: right;
  margin-top: 1rem;
  margin-left: 1.5rem;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Link cards */
.link-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.link-card:hover {
  border-color: var(--color-accent);
}

.link-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.link-card__title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.link-card__title a {
  color: var(--color-accent-strong);
}

.link-card__title a:hover {
  color: var(--color-text);
}

.link-card__description {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.link-card__title--plain {
  color: var(--color-text);
}

.link-card__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-card__list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.link-card__list-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: rgba(7, 10, 20, 0.55);
  padding: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  z-index: 100;
  font-size: 0.875rem;
}

.cookie-banner__text {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--color-text-muted);
}

.cookie-banner__text a {
  color: var(--color-accent);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

.btn {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
}

.btn--accent {
  background: var(--color-accent-strong);
  color: #0a0f1e;
  border-color: var(--color-accent-strong);
}

.btn--accent:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}
