@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-roman-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #1a1b1e;
  --text: #4b5055;
  --muted: #6e747b;
  --accent: #4a4fe0;
  --accent-hover: #383dc9;
  --rule: #dcd8cb;
  font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--text);
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 5.3vw, 64px) 24px 36px;
  text-align: center;
}

.content {
  display: flex;
  width: min(100%, 760px);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5.3vh, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.brand-mark {
  width: 76px;
  height: 78px;
  flex: 0 0 auto;
  color: var(--accent);
}

.brand-rule {
  width: 1px;
  height: 72px;
  margin: 0 26px;
  background: var(--rule);
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-align: left;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  font-weight: 500;
  letter-spacing: 0.002em;
  line-height: 1.15;
  text-wrap: balance;
}

.expertise {
  display: flex;
  width: 100%;
  max-width: 700px;
  flex-direction: column;
  gap: 32px;
}

.expertise section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h2 {
  margin: 0;
  color: var(--accent);
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.9;
  list-style: none;
}

.list li:not(:last-child)::after {
  padding: 0 7px;
  color: var(--muted);
  content: "·";
}

footer {
  flex: 0 0 auto;
  padding-top: 24px;
}

.contact {
  display: inline-block;
  padding: 8px 4px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}

.contact:hover {
  color: var(--accent);
}

@media (max-width: 560px) {
  .page {
    padding: 32px 20px 24px;
  }

  .content {
    justify-content: flex-start;
    gap: 34px;
    padding-top: 4px;
  }

  .brand-mark {
    width: 60px;
    height: 62px;
  }

  .brand-rule {
    height: 58px;
    margin: 0 18px;
  }

  .brand-name {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(1.875rem, 9vw, 2.25rem);
  }

  .expertise {
    gap: 28px;
  }

  .list {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}

@media (forced-colors: active) {
  .brand-rule {
    background: CanvasText;
  }
}
