/* Monochrome palette taken from the logo: white strokes on pure black. */
:root {
  color-scheme: dark;
  --background: #000;
  --white: #fff;
  --muted: #a3a3a3;
  --line: #2b2b2b;
  --stroke: 2px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: var(--stroke) solid var(--white); outline-offset: 6px; }
p, h1, h2, h3 { margin: 0; }
img { display: block; }
.wrap { width: calc(100% - 96px); max-width: 1060px; margin-inline: auto; }

.site-header {
  min-height: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 52px; height: auto; }
.wordmark { font-size: 15px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; }

/* Shows the flag of the language the button switches to. */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: border-color .15s;
}
.lang-toggle:hover { border-color: var(--white); }
.lang-toggle:focus-visible { outline: var(--stroke) solid var(--white); outline-offset: 4px; }
.flag { width: 26px; height: 16px; display: block; outline: 1px solid #fff3; }
html[lang="fi"] .flag-fi, html[lang="en"] .flag-en { display: none; }

main { flex: 1; display: grid; align-content: center; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 72px;
}
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -2px; margin-bottom: 22px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.contact { margin-top: 40px; }
.contact .eyebrow { margin-bottom: 12px; }
.phone {
  display: inline-block;
  padding: 14px 22px;
  border: var(--stroke) solid var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background .15s, color .15s;
}
.phone:hover { background: var(--white); color: var(--background); }
.hero-bird { width: 100%; max-width: 480px; height: auto; justify-self: end; animation: glide 7s ease-in-out infinite; }
@keyframes glide {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(6px, -12px) rotate(-1.5deg); }
}

.site-footer { text-align: center; flex-shrink: 0; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: 1px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 68px; }
  .logo img { width: 42px; }
  .wordmark { font-size: 13px; letter-spacing: 4px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 44px; }
  .hero-bird { order: -1; max-width: 260px; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bird { animation: none; }
}
