/* =========================================================
   GIN TATTOOS
   HOME / HERO
   ========================================================= */


/* =========================================================
   HOME VARIABLES
   ========================================================= */

.home {
  --home-red: #d9000a;
  --home-red-dark: #b80008;
  --home-black: #111111;
  --home-grey: #707070;
  --home-light: #f5f5f5;

  position: relative;

  width: 100%;
  min-height: 100svh;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 85%,
      rgba(217, 0, 10, 0.055),
      transparent 28%
    ),
    #ffffff;

  display: flex;
  align-items: center;

  padding:
    118px 0
    65px;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.home-container {
  width: min(1280px, calc(100% - 80px));

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(470px, 0.92fr);

  gap: 70px;

  align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.home-content {
  position: relative;

  z-index: 3;

  max-width: 650px;
}


/* =========================================================
   LOCATION
   ========================================================= */

.home-location {
  width: fit-content;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 9px 17px;

  margin-bottom: 23px;

  border: 1px solid rgba(217, 0, 10, 0.28);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.8);

  color: var(--home-red);

  font-family: "Roboto", sans-serif;

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.19em;

  box-shadow:
    0 8px 25px rgba(217, 0, 10, 0.05);

  animation:
    homeFadeUp 0.75s 0.15s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


.location-icon {
  display: inline-flex;

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

  width: 15px;
  height: 15px;

  font-size: 1rem;

  line-height: 1;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.home-title {
  margin: 0;

  color: var(--home-black);

  font-family: "Anton", sans-serif;

  font-size: clamp(
    4.2rem,
    6.2vw,
    6.8rem
  );

  font-weight: 400;

  line-height: 0.87;

  letter-spacing: -0.025em;

  text-transform: uppercase;

  animation:
    homeTitleIn 1s 0.25s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


.home-title span {
  color: var(--home-red);

  position: relative;

  display: inline-block;
}


/* subtle red underline */

.home-title span::after {
  content: "";

  position: absolute;

  left: 5%;

  bottom: -7px;

  width: 90%;

  height: 5px;

  border-radius: 999px;

  background: var(--home-red);

  transform:
    scaleX(0);

  transform-origin: left;

  animation:
    titleUnderline 0.7s
    1.15s
    cubic-bezier(.16, 1, .3, 1)
    forwards;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.home-description {
  max-width: 590px;

  margin:
    28px 0
    0;

  color: #6d6d6d;

  font-family: "Roboto", sans-serif;

  font-size: clamp(
    1rem,
    1.2vw,
    1.15rem
  );

  font-weight: 400;

  line-height: 1.7;

  animation:
    homeFadeUp 0.75s 0.45s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.home-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 31px;

  animation:
    homeFadeUp 0.75s 0.55s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


.home-btn {
  min-height: 53px;

  display: inline-flex;

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

  gap: 18px;

  padding:
    0 28px;

  border-radius: 999px;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}


.home-btn-arrow {
  font-size: 1rem;

  transition:
    transform 0.3s ease;
}


.home-btn:hover .home-btn-arrow {
  transform:
    translate(3px, -3px);
}


/* PRIMARY */

.home-btn-primary {
  color: #ffffff;

  background: var(--home-red);

  box-shadow:
    0 12px 28px rgba(217, 0, 10, 0.19);
}


.home-btn-primary:hover {
  background: var(--home-red-dark);

  transform:
    translateY(-3px);

  box-shadow:
    0 16px 35px rgba(217, 0, 10, 0.27);
}


/* SECONDARY */

.home-btn-secondary {
  color: var(--home-black);

  background: #ffffff;

  border: 1px solid #d9d9d9;
}


.home-btn-secondary:hover {
  color: var(--home-red);

  border-color:
    rgba(217, 0, 10, 0.35);

  transform:
    translateY(-3px);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   STATS
   ========================================================= */

.home-stats {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 0;

  max-width: 620px;

  margin-top: 48px;

  padding-top: 28px;

  border-top:
    1px solid #e4e4e4;

  animation:
    homeFadeUp 0.75s 0.7s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


.home-stat {
  min-width: 0;

  padding-right: 25px;

  position: relative;
}


.home-stat:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 15px;

  top: 3px;

  width: 1px;

  height: 40px;

  background: #e5e5e5;
}


.home-stat-value {
  display: flex;

  align-items: center;

  gap: 5px;

  color: var(--home-black);

  font-family: "Anton", sans-serif;

  font-size: 1.55rem;

  line-height: 1;
}


.rating-star {
  color: var(--home-red);

  font-family: "Roboto", sans-serif;

  font-size: 0.9rem;
}


.home-stat-label {
  margin-top: 9px;

  color: #858585;

  font-family: "Roboto", sans-serif;

  font-size: 0.56rem;

  font-weight: 600;

  letter-spacing: 0.16em;

  line-height: 1.4;
}


/* =========================================================
   RIGHT IMAGE
   ========================================================= */

.home-visual {
  position: relative;

  min-width: 0;

  height: min(
    690px,
    calc(100svh - 150px)
  );

  animation:
    homeImageIn 1.1s 0.2s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


.home-image-wrapper {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: visible;
}


/* =========================================================
   IMAGE
   ========================================================= */

.home-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  border-radius:
    0
    0
    34px
    34px;

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.16);

  filter:
    saturate(0.92)
    contrast(1.02);

  transition:
    transform 0.8s
    cubic-bezier(.16, 1, .3, 1),
    filter 0.5s ease;
}


.home-image-wrapper:hover .home-image {
  transform:
    scale(1.012);

  filter:
    saturate(1)
    contrast(1.03);
}


/* =========================================================
   IMAGE RED GLOW
   ========================================================= */

.home-image-wrapper::before {
  content: "";

  position: absolute;

  z-index: -1;

  top: 35px;
  right: -28px;

  width: 160px;
  height: 160px;

  border-radius: 50%;

  background:
    rgba(217, 0, 10, 0.09);

  filter:
    blur(45px);

  pointer-events: none;
}


/* =========================================================
   ADDRESS CARD
   ========================================================= */

.home-address-card {
  position: absolute;

  left: 16px;
  right: 16px;

  bottom: 18px;

  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    14px
    20px;

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.84);

  border:
    1px solid rgba(255, 255, 255, 0.75);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.14);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}


.home-image-wrapper:hover .home-address-card {
  transform:
    translateY(-4px);

  background:
    rgba(255, 255, 255, 0.92);
}


.address-card-content {
  display: flex;

  flex-direction: column;

  gap: 7px;

  min-width: 0;
}


.address-card-content strong {
  color: var(--home-black);

  font-family: "Roboto", sans-serif;

  font-size: 0.74rem;

  font-weight: 900;

  letter-spacing: 0.15em;

  white-space: nowrap;
}


.address-card-content span {
  color: #7b7b7b;

  font-family: "Roboto", sans-serif;

  font-size: 0.7rem;

  font-weight: 400;
}


.address-arrow {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--home-red);

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 1rem;

  transition:
    transform 0.3s ease;
}


.home-address-card:hover .address-arrow {
  transform:
    rotate(45deg);
}


/* =========================================================
   SINCE DAY ONE
   ========================================================= */

.home-since {
  position: absolute;

  right: -15px;

  bottom: -20px;

  display: flex;

  align-items: center;

  gap: 9px;

  padding:
    12px
    18px;

  border-radius:
    999px;

  background:
    #151515;

  color:
    #ffffff;

  font-family:
    "Roboto", sans-serif;

  font-size:
    0.58rem;

  font-weight:
    800;

  letter-spacing:
    0.17em;

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.2);

  transform:
    rotate(-3deg);

  transition:
    transform 0.3s ease;
}


.home-since:hover {
  transform:
    rotate(0deg)
    translateY(-3px);
}


.since-line {
  width: 17px;

  height: 2px;

  background:
    var(--home-red);

  border-radius:
    10px;
}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.home-scroll {
  position: absolute;

  left: 50%;

  bottom: 18px;

  transform:
    translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  text-decoration: none;

  z-index: 5;
}


.home-scroll-text {
  color: #999999;

  font-family: "Roboto", sans-serif;

  font-size: 0.5rem;

  font-weight: 700;

  letter-spacing: 0.22em;
}


.home-scroll-line {
  width: 1px;

  height: 34px;

  background:
    linear-gradient(
      to bottom,
      var(--home-red),
      transparent
    );

  animation:
    scrollLine 1.7s
    ease-in-out
    infinite;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes homeFadeUp {

  from {
    opacity: 0;

    transform:
      translateY(24px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}


@keyframes homeTitleIn {

  from {
    opacity: 0;

    transform:
      translateY(45px)
      scale(0.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


@keyframes homeImageIn {

  from {
    opacity: 0;

    transform:
      translateX(45px)
      scale(0.97);
  }

  to {
    opacity: 1;

    transform:
      translateX(0)
      scale(1);
  }

}


@keyframes titleUnderline {

  from {
    transform:
      scaleX(0);
  }

  to {
    transform:
      scaleX(1);
  }

}


@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.35;

    transform:
      scaleY(0.65);

    transform-origin: top;
  }

  50% {
    opacity: 1;

    transform:
      scaleY(1);

    transform-origin: top;
  }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1500px) {

  .home-container {
    width: min(
      1400px,
      calc(100% - 100px)
    );

    gap: 90px;
  }

  .home-title {
    font-size: 7rem;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .home {
    padding-top: 110px;
  }

  .home-container {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(390px, 0.85fr);

    gap: 45px;
  }

  .home-title {
    font-size: clamp(
      4rem,
      6vw,
      5.5rem
    );
  }

  .home-visual {
    height: 580px;
  }

  .home-address-card {
    left: 12px;
    right: 12px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .home {
    min-height: auto;

    padding:
      105px
      0
      75px;
  }


  .home-container {
    width: calc(100% - 32px);

    display: flex;

    flex-direction: column;

    gap: 42px;

    align-items: stretch;
  }


  .home-content {
    max-width: none;
  }


  .home-location {
    margin-bottom: 18px;
  }


  .home-title {
    font-size: clamp(
      3.7rem,
      15vw,
      5.7rem
    );

    line-height: 0.88;
  }


  .home-description {
    max-width: 500px;

    margin-top: 24px;

    font-size: 0.96rem;

    line-height: 1.6;
  }


  .home-actions {
    margin-top: 27px;

    width: 100%;

    flex-direction: column;

    align-items: stretch;
  }


  .home-btn {
    width: 100%;

    min-height: 54px;
  }


  .home-stats {
    max-width: none;

    margin-top: 37px;

    padding-top: 24px;
  }


  .home-stat {
    padding-right: 10px;
  }


  .home-stat:not(:last-child)::after {
    right: 5px;

    height: 35px;
  }


  .home-stat-value {
    font-size: 1.3rem;
  }


  .home-stat-label {
    font-size: 0.47rem;

    letter-spacing: 0.1em;
  }


  .home-visual {
    width: 100%;

    height: 500px;
  }


  .home-image {
    border-radius:
      0
      0
      28px
      28px;
  }


  .home-address-card {
    left: 12px;
    right: 12px;

    bottom: 14px;

    padding:
      13px
      15px;

    min-height: 65px;

    border-radius: 18px;
  }


  .address-card-content strong {
    font-size: 0.64rem;

    letter-spacing: 0.1em;
  }


  .address-card-content span {
    font-size: 0.62rem;
  }


  .address-arrow {
    width: 36px;
    height: 36px;
  }


  .home-since {
    right: -5px;

    bottom: -17px;

    font-size: 0.5rem;

    padding:
      10px
      14px;
  }


  .home-scroll {
    display: none;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .home {
    padding:
      98px
      0
      65px;
  }


  .home-container {
    width: calc(100% - 24px);

    gap: 36px;
  }


  .home-location {
    padding:
      8px
      13px;

    font-size: 0.57rem;

    letter-spacing: 0.14em;
  }


  .home-title {
    font-size: clamp(
      3.2rem,
      16vw,
      4.6rem
    );
  }


  .home-description {
    font-size: 0.9rem;
  }


  .home-stats {
    gap: 0;
  }


  .home-stat-value {
    font-size: 1.15rem;
  }


  .home-stat-label {
    margin-top: 7px;

    font-size: 0.42rem;

    line-height: 1.35;
  }


  .home-visual {
    height: 420px;
  }


  .home-address-card {
    left: 8px;
    right: 8px;
  }


  .address-card-content strong {
    font-size: 0.57rem;
  }


  .address-card-content span {
    font-size: 0.55rem;
  }


  .address-arrow {
    width: 33px;
    height: 33px;
  }


  .home-since {
    right: -2px;
  }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

  .home-title {
    font-size: 3rem;
  }


  .home-stats {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .home-stat-value {
    font-size: 1rem;
  }


  .home-stat-label {
    font-size: 0.37rem;
  }


  .home-visual {
    height: 380px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .home *,
  .home *::before,
  .home *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}