:root {
  --paper: #f9f8f4;
  --ink: #11142d;
  --page-bottom-padding: 64px;
  --motion-ease-out: cubic-bezier(.16, 1, .3, 1);
  --motion-fluid: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

.brief-section {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  background: var(--paper);
}

.brief-sticky {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  padding: 24px 64px;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand {
  display: block;
  width: 128px;
  pointer-events: auto;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand:focus-visible {
  border-radius: 4px;
  outline: 3px solid #fb317b;
  outline-offset: 5px;
}

.arc-carousel {
  position: absolute;
  z-index: 1;
  top: clamp(205px, 24dvh, 245px);
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.arc-card {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 250.8px;
  height: 216.522px;
  aspect-ratio: 2343 / 2023;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  opacity: 1;
  transform-origin: center;
  will-change: transform, opacity;
}

.arc-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arc-card:nth-child(1) { transform: translate3d(calc(-50% - 1109px), calc(-50% + 897px), 0) rotate(-77.92deg); }
.arc-card:nth-child(2) { transform: translate3d(calc(-50% - 1017px), calc(-50% + 632px), 0) rotate(-63.75deg); }
.arc-card:nth-child(3) { transform: translate3d(calc(-50% - 863px), calc(-50% + 399px), 0) rotate(-49.58deg); }
.arc-card:nth-child(4) { transform: translate3d(calc(-50% - 657px), calc(-50% + 210px), 0) rotate(-35.42deg); }
.arc-card:nth-child(5) { transform: translate3d(calc(-50% - 411px), calc(-50% + 77px), 0) rotate(-21.25deg); }
.arc-card:nth-child(6) { transform: translate3d(calc(-50% - 140px), calc(-50% + 9px), 0) rotate(-7.08deg); }
.arc-card:nth-child(7) { transform: translate3d(calc(-50% + 140px), calc(-50% + 9px), 0) rotate(7.08deg); }
.arc-card:nth-child(8) { transform: translate3d(calc(-50% + 411px), calc(-50% + 77px), 0) rotate(21.25deg); }
.arc-card:nth-child(9) { transform: translate3d(calc(-50% + 657px), calc(-50% + 210px), 0) rotate(35.42deg); }
.arc-card:nth-child(10) { transform: translate3d(calc(-50% + 863px), calc(-50% + 399px), 0) rotate(49.58deg); }
.arc-card:nth-child(11) { transform: translate3d(calc(-50% + 1017px), calc(-50% + 632px), 0) rotate(63.75deg); }
.arc-card:nth-child(12) { transform: translate3d(calc(-50% + 1109px), calc(-50% + 897px), 0) rotate(77.92deg); }

.brief-frame {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(1280px, calc(100% - 144px));
  height: 100%;
  margin: 0 auto;
  place-items: center;
  pointer-events: none;
}

.brief-copy {
  position: absolute;
  bottom: calc(var(--page-bottom-padding) - 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  width: min(660px, 100%);
  max-width: 660px;
  margin: 0;
  padding: 32px;
  border-radius: 24px;
  background: rgba(249, 248, 244, .94);
  color: var(--ink);
  text-align: center;
  opacity: 1;
  visibility: visible;
  transform: none;
  backdrop-filter: blur(14px);
}

.brief-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 4.3vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -2.2px;
}

.brief-copy p {
  margin: 0;
  color: rgba(17, 20, 45, .8);
  max-width: 610px;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -.23px;
}

.contact-cta {
  position: relative;
  display: inline-flex;
  width: max-content;
  min-width: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  pointer-events: auto;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--motion-ease-out);
}

.button-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 20px 40px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(248, 246, 241, .76);
  color: var(--ink);
  transform: translateZ(0);
  transition:
    padding 420ms var(--motion-fluid),
    color 320ms var(--motion-fluid),
    background-color 320ms var(--motion-fluid);
}

.button-orb {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.1);
  transform-origin: center;
  pointer-events: none;
  transition:
    opacity 260ms var(--motion-fluid),
    transform 420ms var(--motion-fluid);
}

.button-orb::after {
  width: 16px;
  height: 16px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.0647 8H14.9355M8.38541 14.5501L14.9355 8L8.38541 1.44992' stroke='%23F9F8F4' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  opacity: 0;
  transform: translateX(-5px);
  transition:
    opacity 260ms var(--motion-fluid) 80ms,
    transform 380ms var(--motion-fluid) 60ms;
}

.contact-cta:hover .button-label,
.contact-cta:focus-visible .button-label {
  padding-inline: 28px;
  background: var(--ink);
  color: var(--paper);
}

.header-cta {
  font-size: 13px;
}

.header-cta .button-label {
  padding: 12px 18px;
  border-width: 1px;
}

.header-cta:hover .button-label,
.header-cta:focus-visible .button-label {
  padding-inline: 14px;
}

.contact-cta:hover .button-orb,
.contact-cta:focus-visible .button-orb {
  opacity: 1;
  transform: translate3d(calc(100% + 4px), 0, 0) scale(1);
}

.contact-cta:hover .button-orb::after,
.contact-cta:focus-visible .button-orb::after {
  opacity: 1;
  transform: translateX(0);
}

.contact-cta:active .button-label { transform: scale(.98); }

.contact-cta:focus-visible {
  outline: none;
}

.contact-cta:focus-visible .button-label {
  outline: 3px solid #fb317b;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header { padding: 18px 20px; }

  .brand { width: 108px; }

  .header-cta { max-width: calc(100% - 163px); }

  .header-cta .button-label {
    max-width: none;
    padding: 10px 14px;
  }

  .header-cta:hover .button-label,
  .header-cta:focus-visible .button-label {
    padding-inline: 11px;
  }

  .arc-carousel { top: clamp(132px, 19dvh, 166px); }

  .arc-card {
    width: 153.12px;
    height: 132.209px;
    border-radius: 14px;
  }

  .brief-frame { width: calc(100% - 40px); }

  .brief-copy {
    bottom: calc(var(--page-bottom-padding) - 24px);
    gap: 18px;
    width: 100%;
    padding: 24px;
  }

  .brief-copy h1 {
    font-size: clamp(36px, 10.4vw, 44px);
    line-height: 1.04;
    letter-spacing: -1.5px;
  }

  .brief-copy p {
    font-size: 17px;
    line-height: 25px;
  }

  .contact-cta {
    max-width: calc(100% - 55px);
  }

  .button-label {
    max-width: calc(100vw - 96px);
    padding: 18px 24px;
  }

  .contact-cta:hover .button-label,
  .contact-cta:focus-visible .button-label {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-cta,
  .button-label,
  .button-orb,
  .button-orb::after { transition-duration: .01ms !important; }
}
