:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1c1c1c;
  --content: 1010px;
  --pad-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout shell -------------------------------------------------- */
.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.header,
.footer,
.main {
  width: 100%;
  max-width: calc(var(--content) + 3rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header -------------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: var(--pad-block);
  border-bottom: 1px solid #ececec;
}

.logo {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.nav__link {
  font-size: 1.0625rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.55;
}

.nav__cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Main / WIP ---------------------------------------------------- */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wip {
  margin: 0;
  font-weight: 800;
  font-size: clamp(6rem, 26vw, 20rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
}

/* Footer -------------------------------------------------------- */
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: var(--pad-block);
}

.footer__name,
.footer__role {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer__links,
.footer__details {
  margin: 0;
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.footer__contact {
  text-align: right;
}

.footer__role {
  text-align: right;
}

.footer__links a,
.footer__details a {
  transition: opacity 0.2s ease;
}

.footer__links a:hover,
.footer__details a:hover {
  opacity: 0.55;
}

/* Responsive ---------------------------------------------------- */
@media (max-width: 640px) {
  .header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer__contact,
  .footer__role {
    text-align: left;
  }
}
