@font-face {
  font-family: Academy;
  src: url("fonts/academy-engraved-let.ttf");
  font-weight: 400;
}

@font-face {
  font-family: Kumbh;
  src: url("fonts/kumbh-sans-variable.woff2");
  font-weight: 100 900;
}

@font-face {
  font-family: Ancizar;
  src: url("fonts/ancizar-serif-variable.woff2");
  font-weight: 100 900;
}

@font-face {
  font-family: Afacad;
  src: url("fonts/afacad-variable.woff2");
  font-weight: 400 700;
}

@font-face {
  font-family: Dot;
  src: url("fonts/42dot-sans.woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f0ede7;
  color: #640f10;
  font-family: Kumbh, sans-serif;
  font-variation-settings: "wght" 400;
}

a {
  color: #640f10;
  text-decoration: none;
}

img {
  display: block;
}

html {
  scroll-behavior: smooth;
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition:
    transform 2s ease,
    opacity 2s ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* NAVIGATION */

.a {
  padding: 60px 9%;
}

.b {
  width: 1040px;
  height: 120px;
  margin: auto;
  padding: 0 45px;
  border: 3px double #640f10;
  border-radius: 25px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 2fr 1fr 1px 1fr;
  align-items: center;
  text-align: center;
  font-family: Dot, sans-serif;
}

.text1 {
  font-size: 12px;
  transition: letter-spacing 0.3s;
}

.text1:hover {
  letter-spacing: 0.05em;
}

.b > span {
  width: 1px;
  height: 22px;
  background-color: #640f10;
}

.c > a {
  font-family: Academy, serif;
  font-size: 38px;
  font-weight: 400;
}

.c > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.c i {
  width: 55px;
  border-top: 1px solid #640f10;
}

.c small {
  font-family: Ancizar, serif;
  font-size: 11px;
}

.c b {
  display: inline-block;
  font-size: 7px;
  line-height: 1;
  font-weight: normal;
}


.d {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
}

.d .e {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.d .e.on {
  opacity: 0.7;
}

.f {
  width: 1150px;
  margin: auto;
  padding: 100px 0 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.g {
  width: 650px;
}

.h {
  margin: 0 0 20px;
  font-family: Afacad, sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
}

.g h1 {
  margin: 0;
  font-family: Academy, serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
}

.g hr {
  width: 100px;
  margin: 25px 0 32px;
  border: 0;
  border-top: 3px solid #640f10;
}

.g p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 19px;
}

.i {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 55px;
}

.i span {
  min-width: 120px;
  padding: 8px 18px;
  border-radius: 20px;
  background-color: #640f10;
  color: #f0ede7;
  text-align: center;
}

.j {
  width: 430px;
  height: 470px;
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.k {
  width: 180px;
  height: 310px;
  margin-top: 30px;
  object-fit: cover;
}

.l {
  width: 185px;
  height: 300px;
  margin-top: 150px;
  object-fit: cover;
}

.m {
  width: 1080px;
  margin: auto;
  padding: 80px 30px 140px;
  position: relative;
}

.n {
  margin-bottom: 90px;
  text-align: center;
}

.n::before {
  content: "";
  width: 220px;
  height: 65px;
  margin: 0 auto 18px;

  display: block;

  background-image: url("images/ornament.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
}

.n h2 {
  margin: 0 0 30px;

  color: #640f10;
  font-family: Ancizar, serif;
  font-size: 42px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 7px;
}

.n i {
  width: 140px;
  height: 1px;
  margin: auto;

  display: block;
  background-color: #640f10;
  border: 0;
}

/* DESIGN STYLE CIRCLES */

.o {
  margin-bottom: 170px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: center;
  font-family: Ancizar, serif;
}

.p {
  width: 116px;
  height: 116px;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
}

.o p {
  margin: 15px 0 0;
  font-size: 12px;
}

.q {
  width: 100%;
  min-height: 320px;
  margin-bottom: 120px;

  display: grid;
  grid-template-columns: repeat(11, 1fr);
  column-gap: 20px;
  align-items: end;

  position: relative;
  z-index: 1;
}

.q > .r {
  grid-column: 1 / 7;
  align-self: end;
}

.q > div {
  grid-column: 7 / 12;
  align-self: end;
}

.q.s > div {
  grid-column: 1 / 6;
  align-self: end;
}

.q.s > .r {
  grid-column: 6 / 12;
  align-self: end;
}

.r {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.q h3 {
  margin: 0 0 15px;

  font-family: Ancizar, serif;
  font-size: 31px;
  font-weight: 550;
  line-height: 36px;
}

.q p {
  margin: 0;

  font-size: 13px;
  line-height: 17px;
}

.t {
  width: 400px;
  position: absolute;
  top: 850px;
  left: 350px;
  opacity: 0.08;
}

.u {
  min-height: 1250px;
  padding: 120px 30px 150px;
  position: relative;
  overflow: hidden;
}

.ag {
  width: 850px;
  height: 460px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.ag .v {
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.ah {
  opacity: 1;
}

.ai {
  opacity: 0;
}

.ag:hover .ah {
  opacity: 0;
}

.ag:hover .ai {
  opacity: 1;
}

.v {
  width: 680px;
  height: 390px;
  margin: auto;
  object-fit: contain;
}

.u > h2 {
  margin: 55px 0 20px;
  text-align: center;
  font-family: Ancizar, serif;
  font-size: 28px;
  font-weight: 460;
  letter-spacing: 7px;
}

.u > p {
  width: 640px;
  margin: auto;
  font-size: 12px;
  line-height: 17px;
}

.w {
  width: 75px;
  margin: 55px auto;
  border-top: 1px solid #640f10;
  display: block;
}

.x {
  width: 640px;
  margin: auto;
  font-size: 13px;
  line-height: 18px;
}

.y {
  width: 520px;
  position: absolute;
  right: -70px;
  bottom: 50px;
  opacity: 0.08;
}

.z {
  min-height: 1050px;
  padding: 110px 0 180px;
  position: relative;
  overflow: hidden;
}

.aj {
  width: 100%;
  padding: 65px 0;
  overflow: hidden;
}

.aa {
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 45px;
  will-change: transform;
}

.ab {
  width: 270px;
  height: 370px;
  padding: 28px;
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  background-color: #640f10;
  color: #f0ede7;
  cursor: pointer;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.ab:hover {
  z-index: 10;
  transform: scale(1.12);
}

.ac {
  width: 214px;
  height: 255px;
  margin-bottom: 17px;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ab:hover .ac {
  transform: scale(1.03);
}

.ab h3 {
  max-width: 165px;
  margin: 0 0 3px;
  overflow: hidden;
  font-family: Ancizar, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 23px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ab small {
  font-family: Afacad, sans-serif;
  font-size: 12px;
}

.ab button {
  padding: 7px 20px;
  border: 0;
  border-radius: 20px;
  position: absolute;
  right: 20px;
  bottom: 14px;
  display: none;
  background-color: #f0ede7;
  color: #640f10;
  font-family: Afacad, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.ab:hover button {
  display: block;
}

.ae {
  width: 120px;
  position: absolute;
  right: 7%;
  bottom: 75px;
  display: block;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.ae img {
  width: 100%;
  display: block;
}

.ae:hover,
.ae:focus,
.ae:active {
  opacity: 1;
}

.ak {
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(20, 8, 8, 0.78);
}

.ak.on {
  display: flex;
}

.al {
  width: 760px;
  min-height: 500px;
  padding: 45px;
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: center;
  background-color: #640f10;
  color: #f0ede7;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
}

.an {
  width: 340px;
  height: 400px;
  display: block;
  object-fit: cover;
}

.ao small {
  font-family: Afacad, sans-serif;
}

.ao h2 {
  margin: 10px 0 25px;
  font-family: Ancizar, serif;
  font-size: 34px;
  font-weight: normal;
}

.ao p {
  font-family: Afacad, sans-serif;
  font-size: 16px;
  line-height: 23px;
}

.am {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #f0ede7;
  color: #640f10;
  font-size: 25px;
  cursor: pointer;
}

body.popup-open {
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .a {
    padding: 30px 20px;
  }

  .b {
    width: 100%;
    height: auto;
    padding: 25px 15px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .b > span {
    display: none;
  }

  .c {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .d,
  .e {
    height: 420px;
  }

  .f {
    width: 90%;
    min-height: auto;
    padding: 80px 0;
    display: block;
  }

  .g {
    width: 100%;
  }

  .g h1 {
    font-size: 52px;
  }

  .i {
    gap: 10px;
    justify-content: space-between;
  }

  .i span {
    min-width: 0;
    padding: 8px 14px;
  }

  .j {
    width: 350px;
    height: 470px;
    margin: 60px auto 0;
    gap: 20px;
  }

  .k {
    width: 165px;
    height: 285px;
    margin-top: 20px;
  }

  .l {
    width: 165px;
    height: 270px;
    margin-top: 140px;
  }

  .m {
    width: 100%;
    padding: 80px 25px 120px;
  }

  .o {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
    margin-bottom: 100px;
  }

  .q,
  .q.s {
    width: 100%;
    min-height: 0;
    margin-bottom: 90px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .q > .r,
  .q > div,
  .q.s > div,
  .q.s > .r {
    grid-column: 1;
  }

  .q.s > .r {
    grid-row: 1;
  }

  .r {
    width: 100%;
    height: auto;
  }

  .t {
    display: none;
  }

  .u > p,
  .x {
    width: 90%;
  }

  .v {
    width: 90%;
    height: auto;
  }

  .aa {
    width: 100%;
    flex-wrap: wrap;
  }

  .al {
    width: 90%;
    min-height: 0;
    padding: 35px;
    grid-template-columns: 1fr;
  }

  .an {
    width: 100%;
    height: 280px;
  }
}
