/* ---- Self-hosted Jost (SIL OFL 1.1, see static/fonts/OFL.txt) ---- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/fonts/jost-200.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/jost-300.woff2") format("woff2");
}

/* ---- Design tokens ---- */
:root {
  --background: #fef9f3;
  --ketman-teal: #104659;
  --ketman-red: #902029;
  --ketman-ochre: #ca8b07;

  --ink: var(--ketman-teal);
  --focus-ring: var(--ketman-teal);

  --font-jost: "Jost", system-ui, sans-serif;
}

/* ---- Reset-ish basics ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-jost);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Accessible focus ---- */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Identity composition ---- */
main {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.identity {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 8vh, 6rem) clamp(1.5rem, 9vw, 8rem);
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}

.identity__logo {
  flex: none;
  width: clamp(4.75rem, 10vw, 9rem);
  height: auto;
}

.identity__wordmark {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.8vw, 1.1rem);
}

.identity__title {
  margin: 0;
  font-family: var(--font-jost);
  font-weight: 200;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.identity__subtitle {
  margin: 0;
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.34em;
  color: var(--ink);
}

@media (max-width: 40rem) {
  .identity {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: clamp(1.5rem, 6vw, 2.5rem);
  }

  .identity__wordmark {
    align-items: center;
  }
}
