:root {
  --bg: #0f1317;
  --surface: rgba(20, 26, 33, 0.88);
  --text: #f4efe7;
  --muted: rgba(244, 239, 231, 0.72);
  --border: rgba(244, 239, 231, 0.16);
  --accent: #d08a57;
  --accent-2: #74a18d;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Familjen Grotesk", system-ui, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(130deg, rgba(15, 19, 23, 0.76), rgba(15, 19, 23, 0.92)),
    url("./background.jpeg") center / cover fixed;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 18, 0.72);
}

.header-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(170px, 34vw, 320px);
  height: auto;
  object-fit: contain;
}

.back-link {
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
}

main {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.eyebrow {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-2);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.05;
}

.subheading {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 3vw, 1.35rem);
  line-height: 1.18;
}

.updated {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

section {
  margin-top: 1.4rem;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
}

p,
li {
  color: var(--muted);
}

ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 15, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-shell {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  padding-block: 1rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.footer-shell p {
  margin: 0;
  color: rgba(244, 239, 231, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.footer-contact-line {
  color: rgba(244, 239, 231, 0.74);
}

.footer-contact-line a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(116, 161, 141, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(244, 239, 231, 0.66);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 760px) {
  .footer-shell {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
