/* ---------- Fonts ---------- */
@font-face {
  font-family: "BDO Grotesk";
  src: url("fonts/BDOGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shadows Into Light Two";
  src: url("fonts/ShadowsIntoLightTwo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --ink: #0a0a0a;
  --muted: #b3b3b3;
  --bg: #ffffff;
  --edge: clamp(1.75rem, 4vw, 3.75rem);
}

html,
body {
  height: 100%;
}

body {
  font-family: "BDO Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Page shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--edge);
  display: flex;
  flex-direction: column;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-block;
  width: clamp(67px, 6.4vw, 98px);
  height: auto;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo path {
  fill: var(--ink);
}

/* ---------- Main content ---------- */
.content {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2.5rem, 13vh, 9rem);
  max-width: 1450px;
}

.headline {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.13;
  font-size: clamp(1.49rem, 3.6vw, 2.75rem);
  max-width: 22em;
}

.signature {
  font-family: "Shadows Into Light Two", "Comic Sans MS", cursive;
  color: var(--muted);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.footer {
  margin-top: auto;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.5;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
}

/* ---------- Imprint page ---------- */
.imprint {
  max-width: 720px;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.imprint .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  margin-bottom: 0.9rem;
}

.imprint h1 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.1;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.imprint h2 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.imprint-block {
  margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem);
}

.imprint-block p,
.imprint-block address {
  font-style: normal;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}

.imprint-block a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  transition: border-color 0.2s ease;
}

.imprint-block a:hover,
.imprint-block a:focus-visible {
  border-color: var(--ink);
}

.back-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  transition: color 0.2s ease;
}

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

/* ---------- Responsive footer ---------- */
@media (max-width: 560px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
