* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #090d11;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.46) 0%,
      rgba(0,0,0,.06) 30%,
      rgba(0,0,0,.02) 72%,
      rgba(0,0,0,.26) 100%
    );
}

.hero__header {
  position: absolute;
  top: 5%;
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0,0,0,.8);
}

.brand {
  font-size: clamp(2rem, 4.8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}

.brand .small {
  font-size: .42em;
  font-weight: 300;
  letter-spacing: .02em;
  vertical-align: .16em;
}

.subtitle {
  margin-top: 12px;
  font-size: clamp(.7rem, 1vw, 1rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}


/* MAILMENY */

.mailmenu {
  position: absolute;
  z-index: 10;
  top: 21%;
  right: 5%;
}

.mailtoggle {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 9px 15px;

  color: white;
  background: rgba(5,10,14,.36);

  border: 1px solid rgba(255,255,255,.68);
  border-radius: 10px;

  font-size: .9rem;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 4px 18px rgba(0,0,0,.25);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mailtoggle svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.mailtoggle:hover {
  background: rgba(255,255,255,.14);
}

.dropdown {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;

  width: 190px;

  padding: 5px;

  background: rgba(8,13,18,.92);

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;

  box-shadow: 0 10px 28px rgba(0,0,0,.4);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dropdown[hidden] {
  display: none;
}

.recipient {
  display: block;
  width: 100%;

  padding: 10px 12px;

  border: 0;
  border-radius: 7px;

  background: transparent;
  color: white;

  text-align: left;
  font-size: .86rem;

  cursor: pointer;
}

.recipient:hover {
  background: rgba(255,255,255,.12);
}

footer {
  position: absolute;
  right: 18px;
  bottom: 12px;

  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: rgba(255,255,255,.55);
  text-shadow: 0 1px 8px #000;
}


/* MOBIL */

@media (max-width: 700px) {

  .hero__photo {
    object-position: 52% center;
  }

  .hero__header {
    top: 4%;
    padding: 0 7px;
  }

  .brand {
    font-size: clamp(1.8rem, 10vw, 3rem);
    letter-spacing: .055em;
  }

  .subtitle {
    margin-top: 10px;
    font-size: .62rem;
    letter-spacing: .14em;
  }

  .mailmenu {
    top: 23%;
    right: 14px;
  }

  .mailtoggle {
    padding: 8px 12px;
    font-size: .8rem;
  }

  .mailtoggle svg {
    width: 19px;
    height: 19px;
  }

  .dropdown {
    width: 175px;
  }

  .recipient {
    padding: 11px;
    font-size: .83rem;
  }

  footer {
    right: 9px;
    bottom: 8px;
    font-size: .54rem;
  }
}

/* ===== MAILKUVERT VID VINGSAND-RUBRIKEN ===== */

.brandline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.mailmenu {
  position: relative;
  top: auto;
  right: auto;
  z-index: 20;
}

.mailtoggle {
  width: 54px;
  height: 44px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d5ad70;

  background:
    rgba(20,16,10,.28);

  border:
    1px solid rgba(213,173,112,.88);

  border-radius: 10px;

  box-shadow:
    0 3px 14px rgba(0,0,0,.35);

  cursor: pointer;
}

.mailtoggle svg {
  width: 30px;
  height: 30px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.mailtoggle:hover {
  color: #f0cf98;

  background:
    rgba(213,173,112,.14);

  border-color: #f0cf98;
}

.dropdown {
  top: calc(100% + 10px);
  right: 0;
}


/* MOBIL */

@media (max-width: 700px) {

  .brandline {
    gap: 9px;
  }

  .mailmenu {
    position: relative;
    top: auto;
    right: auto;
  }

  .mailtoggle {
    width: 42px;
    height: 36px;
    border-radius: 8px;
  }

  .mailtoggle svg {
    width: 24px;
    height: 24px;
  }

  .dropdown {
    right: 0;
    width: 170px;
  }
}

