@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: 64px;
  --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;
}

body.is-drawer-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

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

.logo {
  width: 69px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--logo-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
  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: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-toggle {
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1b20;
  cursor: pointer;
}

.menu-toggle svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.language-toggle {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 0;
  gap: 4px;
  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;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgb(0 0 0 / 34%);
}

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: min(84vw, 360px);
  min-width: 280px;
  height: 100vh;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: 16px 0 28px rgb(0 0 0 / 18%);
  transform: translateX(-100%);
  visibility: hidden;
  transition:
    transform 180ms ease,
    visibility 180ms ease;
}

body.is-drawer-open .drawer-backdrop {
  display: block;
}

body.is-drawer-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.drawer-title {
  color: var(--logo-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.drawer-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1b20;
  cursor: pointer;
}

.drawer-close svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.drawer-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d9d9d9;
}

.drawer-links a {
  min-height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d9d9d9;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0;
}

.hero {
  width: 100%;
  height: 400px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.hero-copy {
  flex: 0 0 auto;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: 40px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-media {
  width: 240px;
  height: 240px;
  flex: 0 0 240px;
}

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

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

  .navbar {
    height: var(--nav-height);
    padding: 10px 12px;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .logo {
    width: 69px;
    height: 36px;
    font-size: 24px;
    line-height: 18px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    order: 2;
    display: inline-flex;
  }

  .language-toggle {
    order: 3;
    font-size: 24px;
    line-height: 24px;
  }

  .language-toggle {
    margin-left: auto;
    z-index: 1;
  }

  .hero {
    height: 400px;
    min-height: 0;
    padding: 26px 10px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.95vw, 40px);
    line-height: 24px;
    white-space: nowrap;
  }

  .hero-media {
    width: 240px;
    height: 240px;
    flex-basis: 240px;
  }
}

@media (max-width: 360px) {
  .navbar {
    gap: 18px;
  }

  .logo {
    width: 69px;
  }
}
