/* ============================================================
   Knowledge Studio — single-screen landing
   Warm charcoal on cream, orange as quiet identity accent.
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: #f5f4f2;
}

body {
  background: #f5f4f2;
  color: #1c1b18;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* ---------- Layout ---------- */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 56px 72px 44px;
  animation: fade-in 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page__header {
  flex-shrink: 0;
}

.page__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 1320px;
  padding: 80px 0 24px;
}

.page__footer {
  flex-shrink: 0;
  margin-top: 40px;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.brand__logo rect {
  fill: #e0872e;
}

.brand__logo path {
  fill: #f5f4f2;
}

.brand__mark {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1;
  color: #1c1b18;
}

/* ---------- Typography ---------- */

.positioning {
  font-size: clamp(58px, 7vw, 86px);
  line-height: 1.22;
  font-weight: 300;
  letter-spacing: -0.022em;
  max-width: 19em;
  text-wrap: balance;
  margin-bottom: 64px;
  color: #1c1b18;
}

.prose {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: -0.002em;
  color: #2a2825;
  max-width: 40em;
}

.contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__name,
.contact__email {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.002em;
}

.contact__name {
  color: #1c1b18;
}

.contact__email a {
  color: #1c1b18;
  text-decoration: none;
  border-bottom: 1px solid #e0872e;
  padding-bottom: 3px;
  transition: color 240ms ease, border-color 240ms ease;
}

.contact__email a:hover {
  color: #e0872e;
}

.page__footer p {
  font-size: 13px;
  line-height: 1;
  color: #8a8680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .page {
    padding: 28px 24px 28px;
  }

  .page__main {
    padding: 56px 0 20px;
    max-width: none;
  }

  .positioning {
    font-size: 53px;
    line-height: 1.25;
    letter-spacing: -0.018em;
    max-width: none;
    margin-bottom: 48px;
  }

  .prose {
    font-size: 19px;
    line-height: 1.7;
  }

  .contact {
    margin-top: auto;
  }

  .contact__name,
  .contact__email {
    font-size: 19px;
  }

  .page__footer {
    margin-top: 32px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .page {
    animation: none;
  }

  .contact__email a {
    transition: none;
  }
}
