:root {
  --bg: #D9D5C8;
  --text: #1e1e1e;
  --muted: #6B776B;
  --square: #3C453C;
  --accent: #E8B84B;
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

section {
  min-height: 100vh;
  width: 100%;
  background: var(--bg);
  position: relative;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font-weight: 700;
}

.placeholder h2 {
  font-size: 28px;
  color: var(--text);
}

.placeholder p {
  font-size: 18px;
  color: var(--muted);
}

.trust-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.trust-layout {
  width: 100%;
  position: relative;
}

.label {
  position: absolute;
  left: 3.5vw;
  top: 39%;
  font-size: clamp(18px, 1.82vw, 35px);
  line-height: 1;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.square {
  position: absolute;
  width: clamp(220px, 20.78vw, 399px);
  height: clamp(210px, 19.84vw, 381px);
  left: 40.4%;
  top: 21.8vh;
  background: var(--square);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(50px, 4.94vw, 95px) clamp(32px, 3.17vw, 61px);
}

.square-item {
  position: absolute;
  color: var(--accent);
  font-size: clamp(22px, 2.08vw, 40px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.05em;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.square-item.active {
  opacity: 1;
  color: var(--accent);
}

.text-stack {
  margin-left: 55%;
  transform: translateX(-6%);
  font-size: clamp(30px, 3.02vw, 58px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.05em;
  white-space: nowrap;
  padding-top: 38.5vh;
  padding-bottom: 20vh;
}

.muted {
  color: var(--muted);
  opacity: 0.55;
  margin-bottom: 28px;
}

.animate-text {
  margin-bottom: 48px;
  position: relative;
  --clip-value: 100%;
}

.text-bg {
  display: block;
  color: var(--muted);
  opacity: 50%;
  white-space: nowrap;
}

.text-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 0.2em;
  color: var(--text);
  clip-path: inset(0 0 var(--clip-value) 0);
  will-change: clip-path;
  white-space: inherit;
}

@media (max-width: 900px) {
  .label {
    left: 24px;
    top: 18%;
    font-size: 18px;
  }

  .square {
    width: 190px;
    height: 190px;
    left: 50%;
    top: 32%;
    transform: translateX(-50%);
    padding: 44px 30px;
  }

  .square h3 {
    font-size: 20px;
  }

  .text-stack {
    left: 24px;
    top: 62%;
    transform: none;
    font-size: 24px;
  }
}
