/* Isolated creative direction. Applied only to creative-study.html. */
.creative-study .direction-chapter { scroll-margin-top: 8rem; }
.creative-study .study-note { position: relative; }
.creative-study .study-note-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.creative-study .study-note-art { display: block; width: 100%; height: auto; }
.creative-study .contact-write-on { display: block; }
.creative-study .attention-chapter { padding-block: clamp(4.5rem, 7vw, 8rem) clamp(5rem, 8vw, 9rem); }
.creative-study .attention-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "headline" "body";
  column-gap: clamp(2rem, 4vw, 5rem);
  max-width: 82rem;
}
.creative-study .attention-chapter h2 {
  grid-area: headline;
  max-width: 24ch;
  font-size: clamp(2.6rem, 4.9vw, 5.9rem);
  line-height: 1.13;
  text-wrap: initial;
}
.creative-study .attention-chapter h2 > span { margin-top: .38em; }
.creative-study .study-breakout {
  position: relative;
  display: inline-block;
  font-style: normal;
  transform: translate(.03em, -.03em) rotate(-6deg);
  transform-origin: 20% 80%;
  white-space: nowrap;
}
.creative-study .study-underline { position: relative; display: inline-block; white-space: nowrap; }
.creative-study .study-underline::after {
  content: "";
  position: absolute;
  inset: auto 2% -.025em -2%;
  height: .055em;
  background: var(--direction-pink);
  border-radius: 65% 30% 50% 40%;
  transform: rotate(-2deg);
}
.creative-study .attention-body { grid-area: body; margin-top: clamp(3rem, 5vw, 5rem); gap: clamp(2rem, 6vw, 7rem); }
.creative-study .study-breakout.study-arrived { animation: study-type-step 1s cubic-bezier(.2,.8,.25,1) both; }
@keyframes study-type-step {
  from { transform: translate(0, 0) rotate(0); }
  70% { transform: translate(.055em, -.04em) rotate(-8deg); }
  to { transform: translate(.03em, -.03em) rotate(-6deg); }
}
.creative-study .bold-ideas-panel { padding-block: clamp(4rem, 6vw, 6rem); }
.creative-study .bold-ideas-copy { justify-content: flex-start; gap: clamp(1.75rem, 2.5vw, 2.5rem); }
.creative-study .bold-ideas-panel h2 > .bold-ideas-accent { display: block; margin-top: .22em; font-size: 1.4em; line-height: 1.02; letter-spacing: -.05em; }
.creative-study .study-word { display: inline-block; transform-origin: left center; }
.creative-study .sequence-ready > .study-word { opacity: 0; }
/* This heading explicitly opts into motion over the base editorial animation reset. */
.creative-study .sequence-ready.study-arrived > .study-word { animation: study-word-settle .56s cubic-bezier(.16,.8,.25,1) both !important; }
.creative-study .sequence-ready.study-arrived > .study-word:nth-child(1) { animation-delay: .3s !important; }
.creative-study .sequence-ready.study-arrived > .study-word:nth-child(2) { animation-delay: .92s !important; }
.creative-study .sequence-ready.study-arrived > .study-word:nth-child(3) { animation-delay: 1.54s !important; }
@keyframes study-word-settle {
  0% { opacity: 0; transform: scale(1.28); }
  18% { opacity: 1; transform: scale(1.18); }
  72% { opacity: 1; transform: scale(.97); }
  100% { opacity: 1; transform: scale(1); }
}
.creative-study .study-photo { grid-area: portrait; min-width: 0; align-self: start; position: relative; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.creative-study .study-photo .herd-portrait img { transform: scale(-1.02, 1.02); }
.creative-study .photo-note { position: absolute; z-index: 1; right: .75rem; bottom: 0; width: min(75%, 22rem); margin: 0; transform: translateY(50%) rotate(-10deg); }
/* Keep the artwork visible while waiting for visibility/loading. Only the
   running write-on animation may clip it; an interrupted animation fails open. */
@media (min-width: 1001px) {
  /* Reserve caption space outside the row, so copy aligns with the photo itself. */
  .creative-study .bold-ideas-layout { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
  .creative-study .study-photo { margin-bottom: 0; }
  .creative-study .bold-ideas-copy { justify-content: space-between; }
}
.creative-study .question-chapter { padding-block: clamp(4rem, 7vw, 7rem); }
.creative-study .question-heading { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.creative-study .leap-chapter { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 6vw, 6rem); }
.creative-study .leap-copy { position: relative; z-index: 1; }
.creative-study .study-giant-g {
  position: absolute;
  pointer-events: none;
  right: -.12em;
  bottom: -.32em;
  color: #ff246a;
  opacity: .12;
  font: 800 clamp(25rem, 65vw, 70rem)/1 var(--display);
  transform: rotate(-22deg);
}
.creative-study .direction-fees {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(5rem, 7vw, 8rem);
  align-items: center;
}
.creative-study .study-fees-copy { min-width: 0; }
.creative-study .study-fees-copy h2 { max-width: 14ch; font-size: clamp(2.6rem, 4.5vw, 5.5rem); line-height: 1.09; margin-bottom: 2.25rem; text-wrap: initial; }
.creative-study .study-fees-copy .direction-body { font-size: clamp(1.0625rem, 1.35vw, 1.3rem); }
.creative-study .study-book-stage { min-width: 0; padding: 2rem 1rem; text-align: center; }
.creative-study .study-book {
  display: block;
  position: relative;
  width: min(100%, 23rem);
  aspect-ratio: .72;
  margin: 0 auto;
  text-align: left;
  transform: rotate(-6deg);
  color: #fff;
  perspective: 1300px;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  -webkit-tap-highlight-color: transparent;
}
.creative-study .study-book-pages {
  position: absolute;
  inset: 5px -6px -9px 8px;
  border-radius: 2px 8px 7px 2px;
  background: repeating-linear-gradient(0deg, #c9c5bb 0 1px, #fcf9f1 1px 4px);
  box-shadow: 4px 4px 0 #0c1231, 10px 22px 22px #0c12312b;
}
.creative-study .study-book-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 9% 9% 8% 14%;
  border-radius: 2px 6px 6px 2px;
  border: 1px solid #303753;
  background: linear-gradient(90deg, #03081c, #0c1231 10%, #151c40 96%, #070c22);
  box-shadow: inset 8px 0 12px #0008, inset -2px 0 1px #ffffff24;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.creative-study .study-book-badge { display: block; align-self: start; padding: .45em .55em; background: #ff246a; color: #0c1231; font: 800 clamp(1rem, 1.7vw, 1.65rem)/1.12 var(--display); letter-spacing: -.04em; transform: rotate(-3deg); box-shadow: 3px 4px 0 #0004; }
.creative-study .study-book-title { display: block; margin-block: auto; color: #fff; font: 800 clamp(3.25rem, 5.8vw, 5.75rem)/.93 var(--display); letter-spacing: -.07em; }
.creative-study .study-book-brand { display: block; margin-bottom: .6em; font-size: .32em; line-height: 1.2; letter-spacing: -.04em; }
.creative-study .study-book-pink { display: block; position: relative; width: fit-content; color: #ff246a; }
.creative-study .study-book-pink svg { position: absolute; left: 0; bottom: -.2em; width: 100%; height: .2em; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; }
.creative-study .study-book-bottom { padding-right: 3rem; color: #e3e3e9; font-size: clamp(.8rem, 1vw, .9rem); line-height: 1.5; }
.creative-study .study-book-fold { position: absolute; right: -1px; bottom: -1px; width: 29%; aspect-ratio: 1; background: linear-gradient(135deg, transparent 48%, #ff82ae 50%, #ff246a 66%); filter: drop-shadow(-2px -2px 2px #0003); }
.creative-study .study-book-fold > span { position: absolute; right: 8%; bottom: 9%; text-align: center; font: 800 clamp(.8rem, 1.1vw, 1rem)/1.15 var(--display); color: #0c1231; }
.creative-study .study-book-rings { position: absolute; top: 13%; bottom: 12%; left: -4%; width: 11%; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.creative-study .study-book-rings i { height: 14px; border: 3px solid #969aa4; border-top-color: #fafcff; border-bottom-color: #555b6b; border-radius: 50%; box-shadow: 0 3px 3px #0005, inset 0 2px 2px #0005; }
.creative-study .study-book:focus-visible { outline: 3px solid #a8093f; outline-offset: 16px; }
@media (hover: hover) and (pointer: fine) {
  .creative-study .study-book:hover { transform: translateY(-5px) rotate(-3deg); }
  .creative-study .study-book:hover .study-book-cover { transform: rotateY(-9deg); }
}
.creative-study .study-book:focus-visible .study-book-cover { transform: rotateY(-9deg); }
.creative-study .study-review { position: fixed; left: 1rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 85; display: flex; align-items: center; gap: .85rem; max-width: calc(100vw - 2rem); border: 1px solid #fff5; padding: .4rem .85rem; border-radius: 10px; color: #fff; background: #0c1231f5; box-shadow: 0 3px 12px #0003; font: 500 .75rem/1.2 var(--display); }
.creative-study .study-review a { display: inline-flex; align-items: center; min-height: 36px; padding: .25rem; color: #ffc2d6; text-decoration: underline; text-underline-offset: 3px; }
.creative-study .study-review a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 1000px) {
  .creative-study .direction-fees { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 2.5rem; }
  .creative-study .study-fees-copy h2 { font-size: clamp(2.6rem, 4.5vw, 4rem); }
  .creative-study .study-book-stage { padding-inline: .5rem; }
  .creative-study .study-book-cover { gap: 1rem; }
  .creative-study .study-book-title { font-size: clamp(3rem, 6vw, 4.75rem); }
  .creative-study .study-photo { width: 100%; }
}
@media (max-width: 760px) {
  .creative-study .attention-chapter { padding-block: 3.5rem 4rem; }
  .creative-study .attention-copy { display: flex; flex-direction: column; }
  .creative-study .attention-chapter h2 { max-width: 22ch; font-size: clamp(2rem, 8.5vw, 3.6rem); line-height: 1.14; }
  .creative-study .attention-body { margin-top: 1.75rem; gap: 1.5rem; }
  .creative-study .bold-ideas-panel { padding-block: 3rem; }
  /* Mobile portrait crop: enlarge both flocks without cutting off the pink sheep. */
  .creative-study .study-photo {
    width: calc(100% + var(--pad) + var(--pad));
    margin-inline: calc(-1 * var(--pad));
  }
  .creative-study .study-photo .herd-portrait { aspect-ratio: 18 / 25; }
  .creative-study .study-photo .herd-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .creative-study .photo-note { width: min(68%, 15rem); }
  .creative-study .question-chapter { padding-block: 3.5rem; }
  .creative-study .leap-chapter { padding-block: 3.5rem; }
  .creative-study .study-giant-g { right: -.15em; bottom: -.15em; font-size: 32rem; opacity: .08; }
  .creative-study .direction-fees { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3.5rem 4rem; }
  .creative-study .study-fees-copy h2 { font-size: clamp(2.25rem, 8.5vw, 3.75rem); max-width: 16ch; }
  .creative-study .study-book-stage { padding: .5rem 1.5rem 0; }
  .creative-study .study-book { width: min(80%, 14rem); }
  .creative-study .study-book-cover { gap: .7rem; }
  .creative-study .study-book-title { font-size: clamp(2.5rem, 10vw, 3.65rem); }
  .creative-study .study-book-badge { font-size: clamp(.8rem, 3.2vw, 1rem); }
  .creative-study .study-book-bottom { font-size: .7rem; padding-right: 1.5rem; }
  .creative-study .study-book-fold > span { font-size: .7rem; }
  .creative-study .study-book-rings i { height: 10px; border-width: 2px; }
  .creative-study .study-review { gap: .6rem; left: .5rem; max-width: calc(100vw - 1rem); padding: .25rem .6rem; font-size: .625rem; }
  .creative-study .study-review a { min-height: 40px; }
}
@media (max-width: 360px) {
  .creative-study .study-book-stage { padding-inline: 1rem; }
  .creative-study .study-book-badge { font-size: .8rem; }
  .creative-study .study-book-title { font-size: 2.5rem; }
  .creative-study .study-book-bottom { font-size: .65rem; }
  .creative-study .study-book-fold > span { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .creative-study .study-arrived { animation: none !important; }
  .creative-study [data-study-sequence].sequence-ready > .study-word { animation: none !important; opacity: 1; transform: none; }
  .creative-study .handwriting-ready > .study-note-art { clip-path: none !important; }
  .creative-study .study-book, .creative-study .study-book-cover { transition: none; }
}
html[data-motion="off"] .creative-study .study-arrived { animation: none !important; }
html[data-motion="off"] .creative-study [data-study-sequence].sequence-ready > .study-word { animation: none !important; opacity: 1; transform: none; }
html[data-motion="off"] .creative-study .handwriting-ready > .study-note-art { clip-path: none !important; }
@media print {
  .creative-study .study-review { display: none; }
  .creative-study [data-study-sequence].sequence-ready > .study-word { animation: none !important; opacity: 1; transform: none; }
  .creative-study .handwriting-ready > .study-note-art { clip-path: none !important; }
}
