.agency-page {
  --agency-gutter: clamp(22px, 4vw, 64px);
  background: var(--black);
}

#agency-position,
#work,
#scope,
#contact {
  scroll-margin-top: 86px;
}

.agency-page .site-header {
  border-bottom-color: rgba(215, 211, 200, .14);
  background: rgba(8, 8, 8, .86);
  backdrop-filter: blur(14px);
}

.agency-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 130px var(--agency-gutter) 46px;
  color: #fff;
}

.agency-hero-media,
.agency-hero-shade {
  position: absolute;
  inset: 0;
}

.agency-hero-media {
  background: #080808 url("/assets/migrated/website-assets-10-c00939d8.webp") center / cover no-repeat;
}

.agency-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(1.04);
}

.agency-hero-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 35%, transparent 56%, rgba(0, 0, 0, .78));
  pointer-events: none;
}

.agency-hero-kicker {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 18px;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, .72);
  font-family: var(--meta);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.agency-hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.agency-hero-bottom .eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .68);
}

.agency-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.8vw, 62px);
  font-stretch: 86%;
  font-weight: 580;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.agency-hero-bottom div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--meta);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.agency-handoff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #060606;
}

.agency-handoff p {
  margin: 0;
  padding: 20px var(--agency-gutter);
  color: var(--muted);
  font-family: var(--meta);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.agency-handoff p + p { border-left: 1px solid var(--line); }
.agency-handoff span { display: inline-block; min-width: 128px; margin-right: 20px; color: var(--bone); }

.agency-position { border-bottom: 1px solid var(--line); }

.agency-position-panel {
  padding: clamp(64px, 6vw, 96px) var(--agency-gutter);
}

.agency-position-panel > .eyebrow {
  margin: 0 0 clamp(42px, 5vw, 72px);
}

.agency-position-panel > div {
  max-width: 1120px;
}

.agency-position h2 {
  margin: 0;
  font-size: clamp(58px, 7.2vw, 116px);
  font-stretch: 80%;
  font-weight: 630;
  line-height: .82;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.agency-position-panel div > p {
  max-width: 680px;
  margin: clamp(32px, 3vw, 46px) 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}

.agency-work {
  border-bottom: 1px solid var(--line);
}

.agency-work-reel {
  position: relative;
  height: clamp(380px, 48vw, 640px);
  overflow: hidden;
  background: #080808 url("/assets/migrated/sequence-06-00-00-01-12-still002-f066adef.webp") center / cover no-repeat;
}

.agency-work-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08) brightness(.7);
}

.agency-work-reel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 44%, rgba(0, 0, 0, .12) 75%), linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 52%);
  pointer-events: none;
}

.agency-work-reel-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 4vw, 64px) var(--agency-gutter) clamp(42px, 5vw, 80px);
}

.agency-work-reel-copy h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 118px);
  font-stretch: 80%;
  font-weight: 630;
  line-height: .82;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.agency-work-body {
  padding: 0 var(--agency-gutter) clamp(96px, 9vw, 150px);
}

.agency-proof-group + .agency-proof-group { margin-top: clamp(72px, 8vw, 124px); }

.agency-proof-label {
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.agency-proof-label .eyebrow { margin: 0 0 16px; }

.agency-proof-label h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 64px);
  font-stretch: 84%;
  font-weight: 550;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.agency-project { min-width: 0; display: block; }

.agency-project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.agency-project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .13);
  pointer-events: none;
  transition: background .4s;
}

.agency-project-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(1.03);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .5s;
}

.agency-project:hover .agency-project-image > img {
  transform: scale(1.018);
  filter: saturate(.95) contrast(1.03) brightness(.88);
}

.agency-project:hover .agency-project-image::after { background: rgba(0, 0, 0, .22); }
.agency-project--wide .agency-project-image { aspect-ratio: 16 / 8.4; }

.agency-project-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.agency-project-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, .48));
}

.agency-project-mark--tennr { width: clamp(94px, 12vw, 180px); }
.agency-project-mark--sisu { width: clamp(82px, 9vw, 140px); }

.agency-project-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  font-family: var(--meta);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.agency-project-meta span:first-child { color: var(--bone); }
.agency-project-meta span:last-child { color: var(--muted); text-align: right; }

.agency-project-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 2.2vw, 44px);
}

.agency-sisu-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(28px, 2.2vw, 44px);
  align-items: stretch;
}

.agency-project--sisu-lead { display: grid; grid-template-rows: 1fr auto; }
.agency-project--sisu-lead .agency-project-image { height: 100%; min-height: 620px; aspect-ratio: auto; }
.agency-sisu-stack { display: grid; gap: clamp(42px, 4vw, 68px); }

.agency-scope {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.agency-scope-visual { position: relative; min-height: 560px; overflow: hidden; }
.agency-scope-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .05), rgba(5, 5, 5, .42)), linear-gradient(0deg, rgba(5, 5, 5, .48), transparent 60%); }
.agency-scope-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: grayscale(1) contrast(1.12) brightness(.6); }
.agency-scope-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(58px, 6vw, 92px) var(--agency-gutter); }

.agency-scope-copy h2 {
  margin: clamp(24px, 3vw, 42px) 0 clamp(40px, 4vw, 64px);
  font-size: clamp(52px, 6vw, 96px);
  font-stretch: 80%;
  font-weight: 630;
  line-height: .82;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

.agency-scope-list { border-top: 1px solid var(--line); }
.agency-scope-list article { display: grid; grid-template-columns: minmax(130px, .32fr) 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agency-scope-list h3 { margin: 0; font-family: var(--meta); font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.agency-scope-list p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.45; text-wrap: pretty; }

.agency-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  padding: clamp(100px, 12vw, 190px) var(--agency-gutter);
  background: var(--paper);
  color: var(--ink);
}

.agency-quote blockquote { max-width: 1200px; margin: 0; font-family: var(--display); font-size: clamp(38px, 5.3vw, 82px); font-stretch: 88%; font-weight: 470; line-height: .98; letter-spacing: -.04em; }
.agency-quote p { margin: 0 0 8px; font-family: var(--meta); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.agency-contact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(440px, .72fr);
  gap: clamp(70px, 10vw, 180px);
  padding: clamp(96px, 10vw, 160px) var(--agency-gutter);
}

.agency-contact-heading h2 { margin: clamp(40px, 5vw, 74px) 0 0; font-size: clamp(60px, 7.6vw, 122px); font-stretch: 80%; font-weight: 630; line-height: .82; letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; }
.agency-contact-heading > p:not(.eyebrow) { max-width: 540px; margin: 42px 0 0; color: var(--muted); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.45; text-wrap: pretty; }
.agency-contact-heading > a { width: max-content; display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-family: var(--meta); font-size: 10px; letter-spacing: .06em; }
.agency-form { align-self: start; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.agency-form label { min-width: 0; display: grid; gap: 12px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.agency-form label:nth-of-type(odd):not(.agency-form-wide) { padding-right: 18px; }
.agency-form label:nth-of-type(even):not(.agency-form-wide) { padding-left: 18px; border-left: 1px solid var(--line); }
.agency-form-wide { grid-column: 1 / -1; }
.agency-form label span { color: var(--muted); font-family: var(--meta); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.agency-form input,
.agency-form textarea { width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: none; color: var(--bone); background: transparent; font: 400 clamp(18px, 1.35vw, 22px) / 1.35 var(--body); resize: vertical; }
.agency-form input:focus-visible,
.agency-form textarea:focus-visible { outline: 1px solid rgba(215, 211, 200, .72); outline-offset: 6px; }
.agency-form input::placeholder { color: #575550; }
.agency-form label:focus-within { border-bottom-color: var(--bone); }
.agency-form button { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; min-height: 72px; margin-top: 28px; padding: 0 20px; border: 1px solid var(--bone); background: transparent; font-family: var(--meta); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.agency-form button:hover { color: var(--black); background: var(--bone); }

@media (max-width: 1080px) {
  .agency-scope { grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr); }
  .agency-contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .agency-page .site-header { height: 92px; }
  #agency-position,
  #work,
  #scope,
  #contact { scroll-margin-top: 100px; }
  .agency-hero { min-height: 100svh; padding-top: 110px; padding-bottom: 28px; }
  .agency-hero-media video { object-position: 50% 50%; }
  .agency-hero-kicker { left: 9px; }
  .agency-hero-bottom { gap: 20px; }
  .agency-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .agency-hero-bottom .circle-link { width: 64px; height: 64px; }
  .agency-handoff { grid-template-columns: 1fr; }
  .agency-handoff p + p { border-top: 1px solid var(--line); border-left: 0; }
  .agency-handoff span { display: block; margin: 0 0 6px; }
  .agency-position-panel { padding-top: 72px; padding-bottom: 84px; }
  .agency-position-panel > .eyebrow { margin-bottom: 34px; }
  .agency-position h2,
  .agency-work-reel-copy h2,
  .agency-scope-copy h2,
  .agency-contact-heading h2 { font-size: clamp(52px, 15vw, 72px); }
  .agency-work-reel { height: clamp(370px, 52svh, 500px); }
  .agency-work-reel video { object-position: 50% 50%; }
  .agency-work-reel-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 76%); }
  .agency-work-reel-copy { padding: 28px var(--agency-gutter) 36px; }
  .agency-work-body { padding-top: 0; padding-bottom: 96px; }
  .agency-proof-label { margin-bottom: 20px; }
  .agency-proof-label h3 { font-size: clamp(32px, 10vw, 44px); }
  .agency-proof-group + .agency-proof-group { margin-top: 76px; }
  .agency-project--wide .agency-project-image,
  .agency-project-image { aspect-ratio: 4 / 3; }
  .agency-project-grid--two,
  .agency-sisu-grid { grid-template-columns: 1fr; gap: 68px; }
  .agency-project--sisu-lead .agency-project-image { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .agency-sisu-stack { gap: 68px; }
  .agency-project-meta { display: grid; gap: 5px; }
  .agency-project-meta span:last-child { text-align: left; }
  .agency-scope { grid-template-columns: 1fr; }
  .agency-scope-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .agency-scope-visual img { object-position: 50% 50%; }
  .agency-scope-copy { padding-top: 58px; padding-bottom: 68px; }
  .agency-scope-list article { grid-template-columns: 1fr; gap: 12px; }
  .agency-quote { grid-template-columns: 1fr; }
  .agency-quote blockquote { font-size: clamp(34px, 10vw, 48px); }
  .agency-contact { padding-top: 86px; padding-bottom: 110px; }
  .agency-contact-heading > a { max-width: 100%; overflow-wrap: anywhere; }
  .agency-form { grid-template-columns: 1fr; }
  .agency-form label,
  .agency-form label:nth-of-type(odd):not(.agency-form-wide),
  .agency-form label:nth-of-type(even):not(.agency-form-wide) { grid-column: 1; padding-left: 0; padding-right: 0; border-left: 0; }
}

@media (max-width: 360px) {
  .agency-hero-kicker { display: none; }
  .agency-position h2,
  .agency-work-reel-copy h2,
  .agency-scope-copy h2,
  .agency-contact-heading h2 { font-size: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .agency-project-image > img { transition: none; }
}
