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

:root {
  --ink: #16201f;
  --soft-ink: #66716e;

  --dark: #0d1718;
  --green: #174f48;
  --mint: #9bcabe;

  --paper: #f1f0ec;
  --white: #fff;

  --line: #d8d8d2;
}

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

body {
  font-family: "Manrope", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  width: 100%;
  min-height: 100vh;

  display: grid;

  grid-template-columns:
    minmax(0, 1.75fr)
    minmax(390px, .62fr);
}



/* ===========================
   LEFT SIDE
=========================== */

.visual {
  min-height: 100vh;

  position: relative;

  overflow: hidden;

  background: #111d1e;
}

.slides,
.slide,
.shade {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.045);

  transition:
    opacity 1.1s ease,
    transform 7s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}


.shade {
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(6,15,17,.76) 0%,
      rgba(6,15,17,.42) 38%,
      rgba(6,15,17,.07) 72%
    ),

    linear-gradient(
      0deg,
      rgba(6,15,17,.72) 0%,
      transparent 40%
    );
}



/* ===========================
   HEADER
=========================== */

.visual-header {
  position: absolute;

  z-index: 5;

  top: 0;
  left: 0;
  right: 0;

  padding: 35px 42px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;

  gap: 13px;

  text-decoration: none;

  color: white;
}

.brand-symbol {
  width: 36px;
  height: 36px;

  position: relative;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,.94);

  border-radius: 50%;
}

.symbol-v,
.symbol-h {
  position: absolute;

  background: #174f48;

  border-radius: 999px;
}

.symbol-v {
  width: 3px;
  height: 16px;
}

.symbol-h {
  width: 16px;
  height: 3px;
}

.brand-copy strong {
  display: block;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 2.6px;
}

.brand-copy span {
  display: block;

  margin-top: 4px;

  font-size: 8px;

  letter-spacing: .4px;

  color: rgba(255,255,255,.56);
}

.location {
  display: flex;
  align-items: center;

  gap: 9px;

  color: rgba(255,255,255,.66);

  font-size: 9px;
}

.location-dot {
  width: 5px;
  height: 5px;

  background: #a5dacd;

  border-radius: 50%;

  box-shadow:
    0 0 0 5px
    rgba(165,218,205,.1);
}



/* ===========================
   EDITORIAL
=========================== */

.editorial {
  position: absolute;

  z-index: 5;

  left: 43px;
  bottom: 180px;

  width: min(580px, 65%);
}

.editorial-line {
  width: 36px;
  height: 1px;

  background: rgba(255,255,255,.55);

  margin-bottom: 21px;
}

.kicker {
  display: block;

  margin-bottom: 16px;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 2.8px;

  color: rgba(255,255,255,.72);
}

.editorial h1 {
  font-family: "Playfair Display", serif;

  max-width: 540px;

  font-size: clamp(51px, 5.3vw, 84px);

  line-height: .91;

  font-weight: 500;

  letter-spacing: -3px;

  color: white;

  text-shadow:
    0 12px 40px
    rgba(0,0,0,.22);
}

.editorial h1 em {
  color: #b6ddd3;
  font-weight: 500;
}

.editorial > p {
  width: 405px;
  max-width: 100%;

  margin-top: 27px;

  color: rgba(255,255,255,.67);

  font-size: 11px;
  line-height: 1.8;
}


.case-info {
  margin-top: 31px;

  display: flex;

  gap: 48px;
}

.case-info small {
  display: block;

  margin-bottom: 5px;

  font-size: 7px;

  letter-spacing: 1.5px;

  color: rgba(255,255,255,.4);

  text-transform: uppercase;
}

.case-info strong {
  display: block;

  font-size: 9px;

  color: rgba(255,255,255,.84);

  font-weight: 500;
}



/* ===========================
   SPECIALTY NAV
=========================== */

.specialty-nav {
  position: absolute;

  z-index: 6;

  bottom: 0;
  left: 0;
  right: 0;

  height: 125px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  background:
    rgba(7,17,19,.70);

  backdrop-filter:
    blur(15px);

  border-top:
    1px solid rgba(255,255,255,.09);
}

.specialty-item {
  border: 0;
  border-right:
    1px solid rgba(255,255,255,.075);

  background: transparent;

  text-align: left;

  color: white;

  padding: 25px 22px;

  display: flex;

  gap: 15px;

  align-items: flex-start;

  position: relative;

  transition:
    background .3s ease;
}

.specialty-item::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  height: 2px;
  width: 0;

  background: #b5ddd3;

  transition: width .4s ease;
}

.specialty-item.active::before {
  width: 100%;
}

.specialty-item.active {
  background:
    rgba(255,255,255,.06);
}

.specialty-item:hover {
  background:
    rgba(255,255,255,.055);
}

.specialty-num {
  font-family:
    "Playfair Display",
    serif;

  font-size: 10px;

  color: rgba(255,255,255,.36);
}

.specialty-copy strong {
  display: block;

  font-size: 10px;
  font-weight: 600;

  margin-bottom: 7px;
}

.specialty-copy small {
  display: block;

  font-size: 7.5px;

  color:
    rgba(255,255,255,.42);
}



/* ===========================
   LOGIN SIDE
=========================== */

.access {
  min-height: 100vh;

  background: #f2f1ed;

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

  padding: 45px 52px;

  position: relative;
}

.access-inner {
  width: 100%;

  max-width: 355px;
}


.mobile-brand {
  display: none;
}


.access-status {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 30px;

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 1.7px;

  color: #53635f;

  text-transform: uppercase;
}

.access-status span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #2d8c76;

  box-shadow:
    0 0 0 5px
    rgba(45,140,118,.09);
}


.access-head h2 {
  font-family:
    "Playfair Display",
    serif;

  font-size: 46px;
  line-height: .93;

  font-weight: 500;

  letter-spacing: -1.7px;

  color: #13201e;
}


.access-head p {
  margin-top: 21px;

  max-width: 310px;

  font-size: 10px;
  line-height: 1.8;

  color: #79817f;
}



/* ===========================
   FORM
=========================== */

form {
  margin-top: 43px;
}

.field {
  margin-bottom: 21px;
}

.field label,
.field-head label {
  display: block;

  margin-bottom: 9px;

  color: #35433f;

  font-size: 9px;

  font-weight: 600;
}

.field input {
  width: 100%;
  height: 51px;

  border:
    1px solid #d3d3cd;

  background:
    rgba(255,255,255,.57);

  outline: none;

  border-radius: 0;

  padding:
    0 14px;

  color: #17221f;

  font-size: 11px;

  transition:
    border .2s,
    background .2s,
    box-shadow .2s;
}

.field input:focus {
  background: white;

  border-color:
    #61837a;

  box-shadow:
    0 0 0 3px
    rgba(55,101,90,.05);
}

.field input::placeholder {
  color: #a1a5a2;
}


.field-head {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;
}

.forgot {
  border: 0;

  background: transparent;

  color: #55766d;

  font-size: 8px;
}


.password-box {
  position: relative;
}

.password-box input {
  padding-right: 61px;
}

.show {
  position: absolute;

  top: 50%;
  right: 13px;

  transform:
    translateY(-50%);

  border: 0;

  background: transparent;

  color: #61726d;

  font-size: 8px;
}


.remember {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  position: relative;

  margin-top: 1px;
  margin-bottom: 27px;

  color: #737b78;

  font-size: 8.5px;

  cursor: pointer;
}

.remember input {
  position: absolute;
  opacity: 0;
}

.check {
  width: 15px;
  height: 15px;

  border:
    1px solid #c8cac5;

  background:
    rgba(255,255,255,.7);

  position: relative;
}

.remember input:checked + .check {
  border-color:
    #225e52;

  background:
    #225e52;
}

.remember input:checked + .check::after {
  content: "";

  position: absolute;

  left: 4px;
  top: 1px;

  width: 4px;
  height: 8px;

  border:
    solid white;

  border-width:
    0 1.5px 1.5px 0;

  transform:
    rotate(45deg);
}


.signin {
  width: 100%;

  height: 53px;

  border: 0;

  background: #122f2b;

  color: white;

  display: flex;

  justify-content:
    space-between;

  align-items: center;

  padding: 0 8px 0 18px;

  font-size: 10px;

  font-weight: 600;

  transition:
    background .2s,
    transform .2s;
}

.signin:hover {
  background: #0b2522;

  transform:
    translateY(-1px);
}

.signin-arrow {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  background:
    rgba(255,255,255,.08);

  font-size: 14px;
}



/* ===========================
   SECURITY
=========================== */

.access-footer {
  margin-top: 42px;

  padding-top: 23px;

  border-top:
    1px solid #dadad4;

  display: flex;

  gap: 12px;

  align-items: center;
}

.shield {
  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  border:
    1px solid #d0d3cd;

  border-radius: 50%;

  color: #55736b;
}

.shield svg {
  width: 14px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-footer strong {
  display: block;

  margin-bottom: 4px;

  font-size: 8px;

  color: #59615f;
}

.access-footer span {
  display: block;

  font-size: 7px;

  color: #989d99;
}


.version {
  margin-top: 45px;

  font-size: 6.5px;

  letter-spacing: 1.7px;

  color: #a4a6a1;
}



/* ===========================
   LOAD ANIMATION
=========================== */

.editorial {
  animation:
    editorialIn
    .9s .15s ease both;
}

.access-inner {
  animation:
    accessIn
    .7s .08s ease both;
}

@keyframes editorialIn {

  from {
    opacity: 0;

    transform:
      translateY(18px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

@keyframes accessIn {

  from {
    opacity: 0;

    transform:
      translateX(12px);
  }

  to {
    opacity: 1;

    transform:
      translateX(0);
  }

}



/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1050px) {

  .page {
    grid-template-columns:
      1fr 390px;
  }

  .editorial {
    bottom: 165px;
  }

  .specialty-nav {
    height: 112px;
  }

}


@media(max-width:820px) {

  .page {
    display: block;
  }

  .visual {
    min-height: 390px;
  }

  .editorial {
    left: 25px;
    bottom: 120px;

    width: 80%;
  }

  .editorial h1 {
    font-size: 48px;
  }

  .editorial > p,
  .case-info {
    display: none;
  }

  .visual-header {
    padding:
      24px 25px;
  }

  .location {
    display: none;
  }

  .specialty-nav {
    height: 90px;
  }

  .specialty-item {
    padding:
      18px 12px;
  }

  .specialty-num,
  .specialty-copy small {
    display: none;
  }

  .access {
    min-height: auto;

    padding:
      55px 25px 70px;
  }

  .access-inner {
    max-width: 430px;
  }

}


@media(max-width:520px) {

  .visual {
    min-height: 320px;
  }

  .visual-header {
    padding:
      21px 20px;
  }

  .brand-copy span {
    display: none;
  }

  .editorial {
    left: 20px;

    bottom: 92px;
  }

  .editorial h1 {
    font-size: 41px;
  }

  .kicker {
    font-size: 7px;
  }

  .specialty-nav {
    height: 70px;
  }

  .specialty-item {
    justify-content: center;

    align-items: center;

    padding: 10px 5px;
  }

  .specialty-copy strong {
    font-size: 8px;

    margin: 0;

    text-align: center;
  }

  .access {
    padding:
      45px 22px
      60px;
  }

}
