/* ================= HOME PAGE STYLES ================= */

/* ================= HERO ================= */
.hero {
  padding-top: calc(70px + clamp(14px, 2.2vw, 32px));
  padding-bottom: clamp(28px, 4vw, 52px);
}
.h1 {
  font-size: clamp(2.2rem, 5.8vw, 5.6rem);
  line-height: 0.94;
  margin: clamp(14px, 2vw, 26px) 0;
  overflow-wrap: break-word;
}
.hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-sub p {
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--copy);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* marquee */
.mq {
  overflow: hidden;
  border-block: 1px solid var(--hair);
}
.mq-in {
  display: flex;
  width: max-content;
  animation: mq 32s linear infinite;
}
.mq:hover .mq-in {
  animation-play-state: paused;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.mq-i {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 16px 17px;
  font-family: "Archivo";
  font-weight: 700;
  font-stretch: 118%;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mut);
}
.mq-i svg {
  width: 11px;
  height: 11px;
  color: var(--acc);
}

/* ================= MANIFESTO ================= */
.mani {
  font-family: "Archivo";
  font-weight: 600;
  font-stretch: 108%;
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22em;
}
.mani em {
  font-style: normal;
  color: var(--acc);
}
.mani .dim-t {
  color: var(--dim);
}

/* ================= ACCORDION ================= */
.acc {
  border-bottom: 1px solid var(--hair);
}
.acc-it {
  border-top: 1px solid var(--hair);
}
.acc-h {
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: clamp(22px, 3vw, 34px) 4px;
  transition: padding 0.3s;
}
.acc-h .no {
  font-family: "JetBrains Mono";
  font-size: 11px;
  color: var(--mut);
}
.acc-h .tt {
  font-family: "Archivo";
  font-weight: 800;
  font-stretch: 116%;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4.4vw, 3.4rem);
  line-height: 0.95;
  transition:
    color 0.3s,
    transform 0.4s;
}
.acc-h .ic {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.35s;
}
.acc-h .ic svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s;
}
.acc-it:hover .acc-h .tt {
  color: var(--acc);
  transform: translateX(10px);
}
.acc-it.open .acc-h .tt {
  color: var(--acc);
}
.acc-it.open .acc-h .ic {
  background: var(--acc);
  border-color: var(--acc);
  color: #0c0b09;
}
.acc-it.open .acc-h .ic svg {
  transform: rotate(45deg);
}
.acc-b {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.acc-bin {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding: 0 4px 34px 82px;
}
@media (min-width: 960px) {
  .acc-bin {
    grid-template-columns: 6fr 5fr;
  }
}
.acc-bin p {
  color: var(--copy);
  max-width: 56ch;
}

/* ================= CHECK ROWS ================= */
.pit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 15px 4px;
  border-top: 1px solid var(--hair);
  font-size: clamp(14px, 1.5vw, 17px);
  transition:
    background 0.25s,
    padding-left 0.25s;
}
.pit:hover {
  background: var(--bg2);
  padding-left: 12px;
}
.pit .bx {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 1px solid var(--mut);
  position: relative;
  transition: 0.2s;
}
.pit[aria-pressed="true"] {
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--acc);
  text-decoration-thickness: 1.5px;
}
.pit[aria-pressed="true"] .bx {
  background: var(--acc);
  border-color: var(--acc);
}
.pit[aria-pressed="true"] .bx::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 5px;
  border-left: 2px solid #0c0b09;
  border-bottom: 2px solid #0c0b09;
  transform: rotate(-45deg) translateY(-1px);
}

/* ================= CASE IMAGE TONE (HOMEPAGE) ================= */
.case .im img {
  filter: grayscale(1) contrast(1.12) brightness(0.72);
  transition:
    transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s;
}
.case:hover .im img {
  transform: scale(1.045);
  filter: grayscale(0.6) contrast(1.1) brightness(0.85);
}
