@font-face {
  font-family: "Montserrat";
  src: url("./resource/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./resource/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #d9d9d9;
  --surface: #ffffff;
  --ink: #000000;
  --logo-ink: #1e1e1e;
  --nav-height: 80px;
  --page-width: 1280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #3c3c3c;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(100%, var(--page-width));
  min-height: 832px;
  margin: 0 auto;
  background: var(--page-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navbar {
  width: 100%;
  height: var(--nav-height);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
}

.logo {
  width: 92px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--logo-ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a,
.language-toggle {
  height: 24px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 32px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
}

.language-toggle {
  margin-left: auto;
  padding: 0;
  gap: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.globe {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.globe svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #1d1b20;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  width: 100%;
  height: 400px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.hero-media {
  width: 240px;
  height: 240px;
  grid-column: 2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 760px) {
  .page-shell {
    min-height: 100vh;
  }

  .navbar {
    min-height: var(--nav-height);
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .logo {
    width: 76px;
    height: 40px;
    font-size: 24px;
    line-height: 20px;
  }

  .nav-links {
    min-width: 0;
    gap: 10px;
  }

  .nav-links a,
  .language-toggle {
    font-size: 18px;
    line-height: 20px;
  }

  .language-toggle {
    margin-left: 0;
    justify-self: end;
  }

  .hero {
    height: auto;
    min-height: 520px;
    padding: 48px 24px;
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
    text-align: center;
  }

  .hero-media {
    grid-column: 1;
  }
}
