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

html {
  font-size: clamp(10px, 1.5vw, 11px);
  line-height: 1.5;
  scroll-behavior: smooth;
}

:root {
  --color-bg: #000;
  --color-text: #fff;
  --border-radius: 0.4rem;
  --transition: all 0.3s ease;
  --grid-template: repeat(auto-fit, minmax(min(25ch, 100%), 1fr));
  --section-padding: clamp(2rem, 6vw, 10rem);
  --content-gap: clamp(1rem, 4vw, 4rem);
  --menu-min-width: 300px;
  --menu-gap: clamp(1rem, 3vw, 2rem);
  --menu-padding-y: 0.3rem;
  --menu-padding-x: 2.4rem;
  --link-font-size: clamp(1.3rem, 3vw, 1.4rem);
  --link-padding-y: 0.6rem;
  --link-padding-x: 1.2rem;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  min-height: 100vh;
}

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

img, video {
  display: block;
  max-width: 100%;
  height: auto
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 0;
  z-index: 1000;
}

.header__wrapper {
  display: grid;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--menu-gap);
  background: var(--color-bg);
  border-radius: 3rem;
  padding: var(--menu-padding-y) var(--menu-padding-x);
  width: fit-content;
  min-width: 320px;
  margin: 0 auto;
}

.header__logo a {
  font-weight: bold;
  font-size: clamp(1.3rem, 2vw, 1.4rem);
}

.header__list {
  display: flex;
  gap: var(--menu-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__item {
  display: flex;
  align-items: center;
}

.header__item a {
  display: inline-block;
  font-size: var(--link-font-size);
  transition: opacity 0.3s ease;
}

.header__item a:hover,
.header__item a:focus {
  opacity: 0.6;
}

/* hero section */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0.2rem;
}

.hero__subtitle {
  font-size: clamp(1.3rem, 1.5vw, 2rem);
  font-weight: 200;
  text-transform: uppercase;
  max-width: 60ch;
  line-height: 1.6;
  padding: 0 2rem;
}

/* about */
.about {
  padding: var(--section-padding);
  margin-bottom: 25px;
}

.about__content {
  display: grid;
  grid-template-columns: var(--grid-template);
  gap: var(--content-gap);
}

.about__text--highlight {
  font-size: 2.5rem;
  font-weight: 200;
}

.about__text--sec {
  font-size: 1.6rem;
  font-weight: 100;
  line-height: 3.4rem;
}

/* contact form */
.contact {
  padding-left: var(--section-padding);
  padding-right: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.contact__content {
  display: flex;
  flex-direction: column;
}

.contact__header {
  display: grid;
  grid-template-columns: var(--grid-template);
  gap: var(--content-gap);
  margin-bottom: 25px;
}

.contact__title {
  font-size: 3rem;
  font-weight: 400;
}

.contact__description {
  font-size: 2.3rem;
  font-weight: 100;
  line-height: 3.4rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form-head {
  margin-bottom: clamp(1rem, 1vw, 1rem);
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1.2rem);
  font-size: clamp(1.4rem, 1.2vw, 1.4rem);
  background-color: var(--color-bg);
  border: 1px solid var(--color-text);
  color: var(--color-text);
  box-sizing: border-box;
}

.contact__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-text);
}

.contact__checkbox-input {
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--color-text);
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact__checkbox-input:checked {
  background-color: var(--color-text);
  border-color: var(--color-text);
}

.contact__checkbox-input:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact__button {
  display: inline-block;
  align-self: flex-start;
  padding: 1rem 2.4rem;
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact__button:hover,
.contact__button:focus {
  background: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-2px);
}
.contact__button:active {
  transform: translateY(0);
}

.contact__button:focus-visible {
  outline-offset: 4px;
}

.contact__message {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #0f0;
  text-align: center;
}

.form-status {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 300;
}

/* footer */
.footer {
  padding: var(--section-padding);
  text-align: left;
  font-size: 1.2rem;
  opacity: 0.7;
}