/* ==========================================================================
   Welcome / philosophy
   ========================================================================== */

.welcome {
  position: relative;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
}

.welcome__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.welcome__copy {
  position: relative;
  z-index: 2;
}

.welcome__title {
  margin-top: 1.1rem;
  font-size: var(--fs-h2);
  max-width: 12ch;
}

.welcome__title .accent {
  color: var(--peach-deep);
}

.welcome__paras {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  max-width: 52ch;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.welcome__paras p:first-child {
  font-size: clamp(1.05rem, 0.4vw + 0.98rem, 1.2rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

.welcome__pillars {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.welcome__pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.welcome__pillar-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--peach-soft);
  color: #b65842;
}

.welcome__pillar:nth-child(2) .welcome__pillar-icon {
  background: var(--sky-soft);
  color: #3f7894;
}

.welcome__pillar:nth-child(3) .welcome__pillar-icon {
  background: var(--mint-soft);
  color: #4f7a44;
}

.welcome__pillar-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.welcome__pillar h3 {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.welcome__pillar p {
  margin-top: 0.18rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.welcome__cta {
  margin-top: 1.8rem;
}

/* Visual */
.welcome__visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.welcome__arc {
  position: absolute;
  top: -4%;
  right: -2%;
  width: 86%;
  aspect-ratio: 1;
  border: 1.5px dashed rgba(52, 59, 69, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.welcome__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  min-height: 540px;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #d9eefa 0%, #eff9fc 52%, #f8fbf1 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lg), inset 0 0 0 8px rgba(255, 255, 255, 0.26);
}

.welcome__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -70px 80px -50px rgba(52, 59, 69, 0.25);
  pointer-events: none;
}

.welcome__scene {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 92%;
  object-fit: cover;
  object-position: bottom center;
}

.welcome__float {
  position: absolute;
  z-index: 3;
}

.welcome__float--tag {
  top: 8%;
  left: -4%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  backdrop-filter: blur(8px);
  transform: rotate(-3deg);
}

.welcome__float--tag svg {
  width: 1rem;
  height: 1rem;
  color: var(--sun-deep);
}

.welcome__float--note {
  right: -4%;
  bottom: 9%;
  width: min(240px, 62%);
  padding: 1.05rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  transform: rotate(2.5deg);
}

.welcome__float--note .note-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.welcome__float--note .note-label svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--peach-deep);
}

.welcome__float--note p {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.welcome__float--badge {
  left: -6%;
  bottom: 22%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 20px 40px -22px rgba(227, 185, 63, 0.8);
  transform: rotate(-9deg);
}

.welcome__float--badge svg {
  width: 62%;
  height: 62%;
  color: var(--ink);
}

.welcome__blocks {
  position: absolute;
  z-index: 4;
  right: 2%;
  top: 18%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.welcome-block {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 10px 0 #d9b146, 0 24px 30px -16px rgba(52, 59, 69, 0.5);
  transform: rotate(-7deg);
}

.welcome-block:nth-child(2) {
  background: var(--peach);
  box-shadow: 0 10px 0 #d47d6b, 0 24px 30px -16px rgba(52, 59, 69, 0.5);
  transform: rotate(5deg) translateX(16px);
}

.welcome-block:nth-child(3) {
  background: var(--sky);
  box-shadow: 0 10px 0 #6fa9c6, 0 24px 30px -16px rgba(52, 59, 69, 0.5);
  transform: rotate(-3deg) translateX(-4px);
}

@media (max-width: 980px) {
  .welcome__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .welcome__copy {
    max-width: 680px;
  }

  .welcome__visual {
    min-height: 0;
    justify-content: flex-start;
    padding-inline: 4%;
  }

  .welcome__frame {
    width: min(100%, 560px);
    min-height: 460px;
    border-radius: 200px 200px var(--r-lg) var(--r-lg);
  }

  .welcome__float--tag {
    left: 0;
  }

  .welcome__float--badge {
    left: 0;
    bottom: 18%;
  }

  .welcome__float--note {
    right: 0;
  }

  .welcome__blocks {
    right: 4%;
  }
}

@media (max-width: 560px) {
  .welcome__visual {
    padding-inline: 0;
  }

  .welcome__frame {
    min-height: 390px;
    border-radius: 160px 160px 28px 28px;
    width: 100%;
  }

  .welcome__float--tag {
    top: 4%;
    left: -2%;
    font-size: 0.62rem;
    padding: 0.55rem 0.8rem;
  }

  .welcome__float--note {
    right: -2%;
    bottom: 4%;
    width: 62%;
    padding: 0.85rem 0.9rem;
  }

  .welcome__float--note p {
    font-size: 0.86rem;
  }

  .welcome__float--badge {
    width: 66px;
    height: 66px;
    left: -3%;
    bottom: 17%;
  }

  .welcome__blocks {
    top: 12%;
    right: 1%;
  }

  .welcome-block {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
    box-shadow: 0 7px 0 #d9b146, 0 18px 24px -14px rgba(52, 59, 69, 0.45);
  }

  .welcome-block:nth-child(2) {
    box-shadow: 0 7px 0 #d47d6b, 0 18px 24px -14px rgba(52, 59, 69, 0.45);
  }

  .welcome-block:nth-child(3) {
    box-shadow: 0 7px 0 #6fa9c6, 0 18px 24px -14px rgba(52, 59, 69, 0.45);
  }

  .welcome__arc {
    display: none;
  }
}
