/* Minimal breathing room for the large multi-line hero heading. */
.arcane-hero__copy h1 {
  line-height: 1.03;
}

/* The hero behaves like a living engraving: one reveal, then quiet motion. */
.arcane-stage__frame--wizard img {
  animation:
    hero-engraving-reveal 1.2s ease-out 0.35s both,
    hero-wizard-breathe 9s ease-in-out 1.55s infinite alternate;
}

.arcane-stage__frame--berries img {
  animation:
    hero-engraving-reveal 1.3s ease-out 0.65s both,
    hero-berries-sway 7s ease-in-out 1.95s infinite alternate;
  transform-origin: 55% 80%;
}

.arcane-stage .orbit--one {
  animation:
    hero-decoration-reveal 0.9s ease-out 0.65s both,
    hero-orbit-breathe 12s ease-in-out 1.55s infinite alternate;
}

.arcane-stage .orbit--two {
  animation:
    hero-decoration-reveal 0.9s ease-out 0.8s both,
    hero-orbit-sway 18s ease-in-out 1.7s infinite alternate;
}

.arcane-stage .orbit-star--one,
.arcane-stage .orbit-star--two {
  animation:
    hero-decoration-reveal 0.8s ease-out 1s both,
    hero-star-glimmer 4s ease-in-out 1.8s infinite alternate;
}

.arcane-stage .orbit-star--two {
  animation-delay: 1.15s, 1.95s;
  animation-duration: 0.8s, 5.2s;
}

.arcane-stage .studio-seal {
  animation:
    hero-decoration-reveal 0.9s ease-out 1.2s both,
    hero-seal-sway 8s ease-in-out 2.1s infinite alternate;
}

@keyframes hero-engraving-reveal {
  from { opacity: 0.2; filter: blur(5px); clip-path: inset(8% 0 8% 0); }
  to { opacity: 1; filter: blur(0); clip-path: inset(0); }
}

@keyframes hero-decoration-reveal {
  from { opacity: 0.2; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes hero-wizard-breathe {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -5px, 0); }
}

@keyframes hero-berries-sway {
  from { transform: translate3d(0, 0, 0) rotate(0); }
  to { transform: translate3d(5px, -6px, 0) rotate(0.7deg); }
}

@keyframes hero-orbit-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@keyframes hero-orbit-sway {
  from { transform: rotate(-12deg); }
  to { transform: rotate(-7deg); }
}

@keyframes hero-star-glimmer {
  from { transform: scale(1) rotate(0); }
  to { transform: scale(1.15) rotate(12deg); }
}

@keyframes hero-seal-sway {
  from { transform: translate(-50%, -50%) rotate(-5deg); }
  to { transform: translate(-50%, -50%) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .arcane-stage__frame img,
  .arcane-stage .orbit,
  .arcane-stage .orbit-star,
  .arcane-stage .studio-seal {
    animation: none;
  }
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form [aria-invalid="true"] {
  border-color: var(--berry);
  box-shadow: 0 0 0 1px var(--berry);
}

.contact-form .field-error {
  color: var(--berry-dark);
  display: block;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
  margin-top: 8px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* Collaboration, hand-off and FAQ sections from the cooperation brief. */
.collaboration-process {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 72px 0 48px;
  position: relative;
}

.collaboration-process::after {
  color: rgba(251, 245, 232, 0.035);
  content: "✦";
  font-family: var(--serif);
  font-size: clamp(340px, 48vw, 720px);
  line-height: 0.7;
  pointer-events: none;
  position: absolute;
  right: -8vw;
  top: 23%;
}

.collaboration-process__top,
.collaboration-process__end,
.collaboration-steps {
  position: relative;
  z-index: 1;
}

.collaboration-process__top {
  align-items: end;
  display: grid;
  gap: clamp(44px, 9vw, 150px);
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.collaboration-process__title,
.project-delivery__intro h2,
.project-faq__intro h2 {
  font-family: var(--serif);
  font-size: clamp(58px, 7.4vw, 116px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.78;
  margin: 42px 0 0;
}

.collaboration-process__title span,
.collaboration-process__title em,
.project-delivery__intro h2 span,
.project-delivery__intro h2 em,
.project-faq__intro h2 span,
.project-faq__intro h2 em {
  display: block;
}

.collaboration-process__title em,
.project-delivery__intro h2 em,
.project-faq__intro h2 em {
  color: var(--berry);
  font-weight: 400;
}

.collaboration-process__top > p {
  border-left: 1px solid rgba(251, 245, 232, 0.25);
  color: rgba(251, 245, 232, 0.72);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 2px;
  padding-left: 28px;
}

.collaboration-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 88px;
}

.collaboration-step {
  border-top: 1px solid rgba(251, 245, 232, 0.3);
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 26px clamp(18px, 2.2vw, 36px) 0 0;
}

.collaboration-step + .collaboration-step {
  border-left: 1px solid rgba(251, 245, 232, 0.16);
  padding-left: clamp(18px, 2.2vw, 36px);
}

.collaboration-step__number {
  color: var(--berry);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.collaboration-step h3 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 400;
  margin: 38px 0 18px;
}

.collaboration-step p {
  color: rgba(251, 245, 232, 0.68);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.collaboration-step strong {
  border-top: 1px solid rgba(251, 245, 232, 0.2);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  margin-top: auto;
  padding-top: 18px;
  text-transform: uppercase;
}

.collaboration-process__end {
  align-items: center;
  border-top: 1px solid rgba(251, 245, 232, 0.3);
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 26px;
}

.collaboration-process__end p {
  color: rgba(251, 245, 232, 0.72);
  margin: 0;
}

.collaboration-process__end p b {
  color: var(--cream);
}

.collaboration-process__end a,
.project-faq__intro > a {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 14px;
  letter-spacing: 0.08em;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.project-delivery {
  display: grid;
  column-gap: clamp(60px, 8vw, 120px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  padding-bottom: 0;
  padding-top: clamp(72px, 7vw, 112px);
  row-gap: clamp(36px, 5vw, 72px);
}

.project-delivery + .principle-section {
  padding-top: clamp(72px, 7vw, 112px);
}

.project-delivery__intro h2,
.project-faq__intro h2 {
  color: var(--ink);
  font-size: clamp(55px, 6.7vw, 103px);
  margin-top: 38px;
}

.project-delivery__intro > p,
.project-faq__intro > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 42px 0 0;
  max-width: 490px;
}

.project-delivery__intro > small {
  border-left: 2px solid var(--berry);
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.5;
  margin-top: 38px;
  padding-left: 14px;
  text-transform: uppercase;
}

.project-deliverables {
  border-top: 1px solid var(--line);
}

.project-deliverables article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 38px 1fr;
  padding: 30px 0;
}

.project-deliverables article > span {
  align-items: center;
  border: 1px solid var(--berry);
  border-radius: 50%;
  color: var(--berry);
  display: flex;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.project-deliverables h3,
.project-scope h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  margin: 1px 0 10px;
}

.project-deliverables p,
.project-scope p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.project-scope {
  background: var(--leaf);
  color: var(--cream);
  display: grid;
  gap: clamp(30px, 5vw, 80px);
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  padding: clamp(28px, 3.2vw, 45px);
}

.project-scope h3 {
  font-size: 25px;
}

.project-scope p {
  color: rgba(251, 245, 232, 0.58);
}

.project-scope ul {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-scope li {
  border-left: 1px solid rgba(251, 245, 232, 0.22);
  padding: 4px 0 4px 16px;
}

.project-scope li span,
.project-scope li small {
  display: block;
}

.project-scope li span {
  font-family: var(--serif);
  font-size: 20px;
}

.project-scope li small {
  color: rgba(251, 245, 232, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.project-faq {
  display: grid;
  gap: clamp(60px, 8vw, 120px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-bottom: clamp(100px, 12vw, 170px);
  padding-top: clamp(100px, 12vw, 170px);
}

.project-faq__intro > a {
  color: var(--ink);
  margin-top: 38px;
}

.project-faq__list {
  border-top: 1px solid var(--ink);
}

.project-faq__list details {
  border-bottom: 1px solid var(--line);
}

.project-faq__list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 500;
  gap: 24px;
  justify-content: space-between;
  line-height: 1.15;
  list-style: none;
  padding: 29px 0;
}

.project-faq__list summary::-webkit-details-marker {
  display: none;
}

.project-faq__list summary i {
  flex: 0 0 22px;
  height: 22px;
  position: relative;
  transition: transform 180ms ease;
}

.project-faq__list summary i::before,
.project-faq__list summary i::after {
  background: var(--berry);
  content: "";
  height: 1px;
  left: 2px;
  position: absolute;
  top: 10px;
  width: 18px;
}

.project-faq__list summary i::after {
  transform: rotate(90deg);
}

.project-faq__list details[open] summary i {
  transform: rotate(45deg);
}

.project-faq__list summary:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 7px;
}

.project-faq__list details > div {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 650px;
  padding: 0 54px 28px 0;
}

.project-faq__list details > div p {
  margin: 0 0 14px;
}

.project-faq__list details > div p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) and (min-width: 821px) {
  .site-header .brand__logo {
    width: 138px;
  }

  .site-header .desktop-nav {
    font-size: 11px;
    gap: 18px;
  }

  .site-header .nav-cta {
    font-size: 11px;
    padding-inline: 12px;
  }
}

@media (max-width: 1000px) {
  .collaboration-process__top,
  .project-delivery,
  .project-faq {
    gap: 58px;
  }

  .collaboration-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collaboration-step {
    min-height: 330px;
  }

  .collaboration-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .collaboration-step:nth-child(n + 3) {
    margin-top: 42px;
  }

  .project-delivery,
  .project-faq {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .project-scope {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .collaboration-process {
    padding: 58px 0 40px;
  }

  .collaboration-process__top,
  .project-delivery,
  .project-faq {
    grid-template-columns: 1fr;
  }

  .collaboration-process__title,
  .project-delivery__intro h2,
  .project-faq__intro h2 {
    font-size: clamp(52px, 15vw, 76px);
    line-height: 0.82;
    margin-top: 30px;
  }

  .collaboration-process__top > p {
    margin-top: 0;
  }

  .collaboration-steps {
    margin-top: 62px;
  }

  .collaboration-process__end {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .project-delivery,
  .project-faq {
    gap: 62px;
    padding-bottom: 100px;
    padding-top: 100px;
  }

  .project-delivery {
    gap: 38px;
    padding-bottom: 0;
    padding-top: 68px;
  }

  .project-delivery + .principle-section {
    padding-top: 76px;
  }

  .project-scope {
    grid-template-columns: 1fr;
  }

  .project-scope ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-scope li {
    border-left: 0;
    border-top: 1px solid rgba(251, 245, 232, 0.22);
    padding: 13px 0;
  }
}

@media (max-width: 430px) {
  .collaboration-steps {
    grid-template-columns: 1fr;
  }

  .collaboration-step,
  .collaboration-step + .collaboration-step,
  .collaboration-step:nth-child(3) {
    border-left: 0;
    min-height: 300px;
    padding-left: 0;
    padding-right: 0;
  }

  .collaboration-step:nth-child(n + 2) {
    margin-top: 38px;
  }

  .project-deliverables article {
    gap: 14px;
    grid-template-columns: 34px 1fr;
  }

  .project-faq__list details > div {
    padding-right: 0;
  }
}
