:root {
  --studio-blue: #e6ebe4;
  --studio-cobalt: #80464e;
  --studio-cream: #f7ecec;
  --studio-pink: #edcdd1;
}

.studio-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.studio-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.editorial-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-text-link span {
  transition: transform 220ms ease;
}

.editorial-text-link:hover span,
.editorial-text-link:focus-visible span {
  transform: translateX(5px);
}

.home-studio-notes {
  position: relative;
  padding: 0 0 clamp(100px, 12vw, 180px);
  overflow: hidden;
  color: var(--ink);
  background: var(--studio-blue);
  border-bottom: 1px solid var(--line-dark);
}

.home-studio-notes h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.home-studio-notes em {
  color: var(--rose);
  font-weight: 400;
}

.home-notes-marquee {
  width: max-content;
  padding: 20px 0;
  color: var(--paper-soft);
  background: var(--studio-cobalt);
  border-block: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-style: italic;
  white-space: nowrap;
  animation: homeNotesMarquee 22s linear infinite;
}

@keyframes homeNotesMarquee {
  to { transform: translateX(-33.333%); }
}

.home-studio-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(60px, 9vw, 140px);
  padding-top: clamp(90px, 11vw, 155px);
}

.home-studio-notes h2 {
  margin: 0;
  font-size: clamp(3.7rem, 6.2vw, 7rem);
  letter-spacing: -0.052em;
  line-height: 0.9;
}

.home-studio-notes header > p:not(.studio-eyebrow) {
  max-width: 620px;
  margin: 30px 0;
  line-height: 1.75;
}

.home-note-stack {
  position: relative;
  display: grid;
  gap: 30px;
}

.home-guide-note {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(32px, 5vw, 56px);
  color: var(--ink);
  background: var(--studio-cream);
  border: 1px solid var(--line-dark);
  box-shadow: 12px 14px 0 rgba(40, 35, 36, 0.12);
  transform: rotate(-1.4deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.home-guide-note::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 42%;
  width: 100px;
  height: 25px;
  background: rgba(255, 250, 247, 0.72);
  transform: rotate(3deg);
}

.home-guide-note--check {
  background: var(--studio-pink);
  transform: rotate(1.2deg) translateX(-26px);
}

.home-guide-note:hover,
.home-guide-note:focus-visible {
  z-index: 2;
  transform: rotate(0) translateY(-8px);
  box-shadow: 18px 20px 0 rgba(40, 35, 36, 0.12);
}

.home-guide-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-guide-note strong {
  max-width: 600px;
  margin: auto 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.home-guide-note small {
  max-width: 600px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-guide-note i {
  margin-top: 26px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-ready .home-studio-notes [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 850ms cubic-bezier(.2,.72,.2,1);
}

.motion-ready .home-studio-notes [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-studio-notes-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

@media (max-width: 680px) {
  .home-studio-notes {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-notes-marquee {
    margin-right: -22px;
    margin-left: -22px;
  }

  .home-studio-notes h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .home-guide-note,
  .home-guide-note--check {
    min-height: 360px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-notes-marquee {
    animation: none !important;
  }

  .motion-ready .home-studio-notes [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
